Organisationsjoelburgetmonaco-ocamlb30eb6 (main)alpine-3.21-4.14_opam-2.3

alpine-3.21-4.14_opam-2.3

Link Copied
Code Copied

Logs

2025-07-10 14:47.13: New job: test joelburget/monaco-ocaml https://github.com/joelburget/monaco-ocaml.git#refs/heads/main (b30eb6ff95294a8886dc9eda78ae4f8aa19b9e2d) (linux-x86_64:alpine-3.21-4.14_opam-2.3)
Base: ocaml/opam:alpine-3.21-ocaml-4.14@sha256:ce7c521de2e50e6ba02ecb769afb8f518fd84aef8447affa8b443c3175d9dc33
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/joelburget/monaco-ocaml.git" -b "main" && cd "monaco-ocaml" && git reset --hard b30eb6ff
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-4.14@sha256:ce7c521de2e50e6ba02ecb769afb8f518fd84aef8447affa8b443c3175d9dc33
# alpine-3.21-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e cd1d2da68c683279e78955ec39c84fe1e9771480 || git fetch origin master) && git reset -q --hard cd1d2da68c683279e78955ec39c84fe1e9771480 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 require.opam monarch.opam monaco.opam ./
RUN opam pin add -yn require.dev './' && \
opam pin add -yn monarch.dev './' && \
opam pin add -yn monaco.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base brr.0.0.7 cmdliner.1.3.0 dune.3.19.1 either.1.0.0 gen.1.1 js_of_ocaml-compiler.6.1.1 js_of_ocaml-toplevel.6.1.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppxlib.0.36.0 sedlex.3.6 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.8 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y require.dev monarch.dev monaco.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2025-07-10 14:47.13: Using cache hint "joelburget/monaco-ocaml-ocaml/opam:alpine-3.21-ocaml-4.14@sha256:ce7c521de2e50e6ba02ecb769afb8f518fd84aef8447affa8b443c3175d9dc33-alpine-3.21-4.14_opam-2.3-ab6d7c662aa2a5323c988cd67aece162"
2025-07-10 14:47.13: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:ce7c521de2e50e6ba02ecb769afb8f518fd84aef8447affa8b443c3175d9dc33)
(comment alpine-3.21-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e cd1d2da68c683279e78955ec39c84fe1e9771480 || git fetch origin master) && git reset -q --hard cd1d2da68c683279e78955ec39c84fe1e9771480 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src require.opam monarch.opam monaco.opam) (dst ./))
(run (network host)
(shell  "opam pin add -yn require.dev './' && \
\nopam pin add -yn monarch.dev './' && \
\nopam pin add -yn monaco.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base brr.0.0.7 cmdliner.1.3.0 dune.3.19.1 either.1.0.0 gen.1.1 js_of_ocaml-compiler.6.1.1 js_of_ocaml-toplevel.6.1.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppxlib.0.36.0 sedlex.3.6 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.8 yojson.3.0.0")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y require.dev monarch.dev monaco.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2025-07-10 14:47.13: Waiting for resource in pool OCluster
2025-07-10 17:44.39: Waiting for worker…
2025-07-10 17:47.10: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at b30eb6f Add ISC license.


(from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:ce7c521de2e50e6ba02ecb769afb8f518fd84aef8447affa8b443c3175d9dc33)
2025-07-10 17:47.11 ---> using "55d202f7fecfb1870e4e5ff40a2bf370c1ccb0b90b65ea9e954fa8fcf7fc2c95" from cache


/: (comment alpine-3.21-4.14_opam-2.3)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-07-10 17:47.11 ---> using "57b9ec26c9d793b9841d4b9b0806229705a50fa368e146f4bfa780c65be697a9" from cache


/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from built-in defaults.
Checking for available remotes: rsync and local, git.
- you won't be able to use mercurial repositories unless you install the hg command on your system.
- you won't be able to use darcs repositories unless you install the darcs command on your system.


This development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.


Continue? [y/n] y
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-07-10 17:47.11 ---> using "c5fb68b3751ecc9278ff2d149fb1343dcef6f7d8470fcb0193da697334885f4e" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-07-10 17:47.11 ---> using "c71ebc92fba988860b9c156257f28c79e1408d4794c998911176c5ddf483c859" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-07-10 17:47.11 ---> using "0de77c75cb625e4c58667571d1f22ce917bcfd7afcc95609af2c00442f4db95b" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e cd1d2da68c683279e78955ec39c84fe1e9771480 || git fetch origin master) && git reset -q --hard cd1d2da68c683279e78955ec39c84fe1e9771480 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
6dea2f9390..0094db1438  master     -> origin/master
cd1d2da68c Merge pull request #28144 from hhugo/release-js_of_ocaml-6.1.1


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository


Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-07-10 17:47.32 ---> saved as "bd18e9c0322cf8898b3b59ac3b40b993d0bcae587800b0ad50d89e0165c80cee"


/src: (copy (src require.opam monarch.opam monaco.opam) (dst ./))
2025-07-10 17:47.32 ---> saved as "cab2ca4556571cbb41356289ec3e94ac564c4852c9483aaea451714d0c61e3fa"


/src: (run (network host)
(shell  "opam pin add -yn require.dev './' && \
\nopam pin add -yn monarch.dev './' && \
\nopam pin add -yn monaco.dev './'"))
Package require does not exist, create as a NEW package? [y/n] y
[require.dev] synchronised (file:///src)
[WARNING] Failed checks on require package definition from source at file:///src:
warning 35: Missing field 'homepage'
warning 36: Missing field 'bug-reports'
require is now pinned to file:///src (version dev)
Package monarch does not exist, create as a NEW package? [y/n] y
[monarch.dev] synchronised (file:///src)
[WARNING] Failed checks on monarch package definition from source at file:///src:
warning 35: Missing field 'homepage'
warning 36: Missing field 'bug-reports'
monarch is now pinned to file:///src (version dev)
Package monaco does not exist, create as a NEW package? [y/n] y
[monaco.dev] synchronised (file:///src)
[WARNING] Failed checks on monaco package definition from source at file:///src:
warning 35: Missing field 'homepage'
warning 36: Missing field 'bug-reports'
monaco is now pinned to file:///src (version dev)
2025-07-10 17:47.38 ---> saved as "ee0d2b5c5abd474454295f8837a926b710807012ea3df8d96d85859646d5c882"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-10 17:47.38 ---> saved as "aa36af5ce7dc87bd10f6286577bf6274e64503769750566e8d1d2d4b52554af8"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base brr.0.0.7 cmdliner.1.3.0 dune.3.19.1 either.1.0.0 gen.1.1 js_of_ocaml-compiler.6.1.1 js_of_ocaml-toplevel.6.1.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppxlib.0.36.0 sedlex.3.6 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.8 yojson.3.0.0")


/src: (env CI true)


/src: (env OCAMLCI true)


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y require.dev monarch.dev monaco.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.21.3-638-g1544fc8aa59 [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.3-634-g4638c219547 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v3.23.0_alpha20250612-1992-g6b9789fe4fd [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.23.0_alpha20250612-1992-g6b9789fe4fd [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.23.0_alpha20250612-1987-g1fccc9a6b71 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 59033 distinct packages available


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[monaco.dev] synchronised (file:///src)
[monarch.dev] synchronised (file:///src)
[require.dev] synchronised (file:///src)


[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2025-07-10 17:47.48 ---> saved as "115ddd0c2fc9d8908bf2c0fe7f5d1501a482f12ac24f8a20ef96d2f9c2a9eb86"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 22 packages
- install brr                  0.0.7
- install cmdliner             1.3.0
- install dune                 3.19.1
- install either               1.0.0
- install gen                  1.1
- install js_of_ocaml-compiler 6.1.1
- install js_of_ocaml-toplevel 6.1.1
- install menhir               20240715
- install menhirCST            20240715
- install menhirLib            20240715
- install menhirSdk            20240715
- install ocaml-compiler-libs  v0.12.4
- install ocamlbuild           0.16.1
- install ocamlfind            1.9.8
- install ppx_derivers         1.2.1
- install ppxlib               0.36.0
- install sedlex               3.6
- install seq                  base
- install sexplib0             v0.17.0
- install stdlib-shims         0.3.0
- install topkg                1.0.8
- install yojson               3.0.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved either.1.0.0  (cached)
-> retrieved gen.1.1  (cached)
-> retrieved brr.0.0.7  (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
-> retrieved dune.3.19.1  (cached)
-> retrieved js_of_ocaml-compiler.6.1.1, js_of_ocaml-toplevel.6.1.1  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved seq.base  (cached)
-> retrieved ppxlib.0.36.0  (cached)
-> installed cmdliner.1.3.0
-> installed seq.base
-> retrieved sedlex.3.6  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved yojson.3.0.0  (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.0.8
-> installed dune.3.19.1
-> installed either.1.0.0
-> installed ppx_derivers.1.2.1
-> installed menhirCST.20240715
-> installed stdlib-shims.0.3.0
-> installed menhirSdk.20240715
-> installed gen.1.1
-> installed sexplib0.v0.17.0
-> installed menhirLib.20240715
-> installed ocaml-compiler-libs.v0.12.4
-> installed yojson.3.0.0
-> installed menhir.20240715
-> installed ppxlib.0.36.0
-> installed sedlex.3.6
-> installed js_of_ocaml-compiler.6.1.1
-> installed js_of_ocaml-toplevel.6.1.1
-> installed brr.0.0.7
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-10 17:49.05 ---> saved as "72f1d5ee7d4dc46f9067e623b66ce5de57c7a400a57ff904427b27cc1c323af5"


/src: (copy (src .) (dst /src))
2025-07-10 17:49.07 ---> saved as "ae8338f57b876b5969f2232b47cbd235c373456bf125ef9052fa6a687ad14fe5"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-07-10 17:49.08 ---> saved as "cf14fe7276667c9db5668b185ecc21ccd671b636702914374c97a6c97529c183"
Job succeeded
2025-07-10 17:49.09: Job succeeded