2025-09-16 10:10.40: New job: test joelburget/monaco-ocaml https://github.com/joelburget/monaco-ocaml.git#refs/heads/main (b30eb6ff95294a8886dc9eda78ae4f8aa19b9e2d) (linux-x86_64:ubuntu-22.04-4.14_opam-2.4)
Base: ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:5eaf5a903aaa2a66335cabea8fb368b38b20a9302f80e8ed72d5711e05f927f0
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:ubuntu-22.04-ocaml-4.14@sha256:5eaf5a903aaa2a66335cabea8fb368b38b20a9302f80e8ed72d5711e05f927f0
# ubuntu-22.04-4.14_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && 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.8 cmdliner.1.3.0 dune.3.20.2 either.1.0.0 gen.1.1 js_of_ocaml-compiler.6.2.0 js_of_ocaml-toplevel.6.2.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 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.1.0 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --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-09-16 10:10.40: Using cache hint "joelburget/monaco-ocaml-ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:5eaf5a903aaa2a66335cabea8fb368b38b20a9302f80e8ed72d5711e05f927f0-ubuntu-22.04-4.14_opam-2.4-9b1775d24c8f671cdb03efd67f208146"
2025-09-16 10:10.40: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:5eaf5a903aaa2a66335cabea8fb368b38b20a9302f80e8ed72d5711e05f927f0)
(comment ubuntu-22.04-4.14_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.4 /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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && 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.8 cmdliner.1.3.0 dune.3.20.2 either.1.0.0 gen.1.1 js_of_ocaml-compiler.6.2.0 js_of_ocaml-toplevel.6.2.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 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.1.0 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.4 --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-09-16 10:10.40: Waiting for resource in pool OCluster
2025-09-16 10:15.12: Waiting for worker…
2025-09-16 10:15.46: 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:ubuntu-22.04-ocaml-4.14@sha256:5eaf5a903aaa2a66335cabea8fb368b38b20a9302f80e8ed72d5711e05f927f0)
2025-09-16 10:15.48 ---> using "9788e33ef607d2b7d16da1da8c9768e17c160a2726ede1f146b519665e9cf0d1" from cache
/: (comment ubuntu-22.04-4.14_opam-2.4)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-09-16 10:15.48 ---> using "36309014802b5585a47bd941a41e09e7bccd90cf2b9c5e55446ac06000110e29" 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 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-09-16 10:15.48 ---> using "367fe7bbb11f9e19633334a09f69b69b2e93cd97a20ba7b1a5418f08fd1b587c" 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.4.1
2025-09-16 10:15.48 ---> using "a63d95c5e399e3449ec90f817a72a36dd76b8b3aacf2c62fbcb73512facb171a" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-09-16 10:15.48 ---> using "e52c3de1fb615b52180169c08dfe256d7833f99199c243c0acfbb71c9b3b81c4" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
ee24528071..7949ff40d8 master -> origin/master
6ef6813522 Merge pull request #28449 from dra27/ocaml-compiler-msvc
<><> 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 at these versions (e.g. "opam upgrade ocaml.5.3.0"), 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-09-16 10:15.48 ---> using "35cfd2a516f805b236bc932204acfb3f1e62c8559e62b9d18784a097eb8d85db" from cache
/src: (copy (src require.opam monarch.opam monaco.opam) (dst ./))
2025-09-16 10:15.48 ---> saved as "fa8a1bda788cf7713cfa428a34fc5c70a6aa048b56230de9eeca9ea6bfab7081"
/src: (run (network host)
(shell "opam pin add -yn require.dev './' && \
\nopam pin add -yn monarch.dev './' && \
\nopam pin add -yn monaco.dev './'"))
[NOTE] Package require does not exist in opam repositories registered in the current switch.
[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)
[NOTE] Package monarch does not exist in opam repositories registered in the current switch.
[monarch.dev] synchronised (file:///src)
monarch is now pinned to file:///src (version dev)
[WARNING] Failed checks on monarch package definition from source at file:///src:
warning 35: Missing field 'homepage'
warning 36: Missing field 'bug-reports'
[NOTE] Package monaco does not exist in opam repositories registered in the current switch.
[monaco.dev] synchronised (file:///src)
monaco is now pinned to file:///src (version dev)
[WARNING] Failed checks on monaco package definition from source at file:///src:
warning 35: Missing field 'homepage'
warning 36: Missing field 'bug-reports'
2025-09-16 10:15.59 ---> saved as "8b7ecbe94e072694d7e538f5cc751fa7a18dae002d01687d8703461d731f14c9"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-16 10:16.00 ---> saved as "cd266bc32243db498a3d48ca4b78e871c8c6842a68e24b5ba81e8490d66c4837"
/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base brr.0.0.8 cmdliner.1.3.0 dune.3.20.2 either.1.0.0 gen.1.1 js_of_ocaml-compiler.6.2.0 js_of_ocaml-toplevel.6.2.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 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.1.0 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.4 --depext-only -y require.dev monarch.dev monaco.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:5 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3311 kB]
- Get:6 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [5441 kB]
- Get:7 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [80.3 kB]
- Get:8 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1274 kB]
- Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3624 kB]
- Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1581 kB]
- Get:11 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [5627 kB]
- Get:12 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [88.8 kB]
- Fetched 21.4 MB in 2s (12.4 MB/s)
- Reading package lists...
-
<><> 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-09-16 10:16.18 ---> saved as "fb04df94bed69e2ef15a87ea9813018440a222cac01ce188002c201892e614cf"
/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.8
- install cmdliner 1.3.0
- install dune 3.20.2
- install either 1.0.0
- install gen 1.1
- install js_of_ocaml-compiler 6.2.0
- install js_of_ocaml-toplevel 6.2.0
- install menhir 20250912
- install menhirCST 20250912
- install menhirLib 20250912
- install menhirSdk 20250912
- 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.1.0
- install yojson 3.0.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved brr.0.0.8 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved either.1.0.0 (cached)
-> retrieved gen.1.1 (cached)
-> retrieved menhir.20250912, menhirCST.20250912, menhirLib.20250912, menhirSdk.20250912 (cached)
-> retrieved dune.3.20.2 (cached)
-> retrieved js_of_ocaml-compiler.6.2.0, js_of_ocaml-toplevel.6.2.0 (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 sedlex.3.6 (cached)
-> installed cmdliner.1.3.0
-> installed seq.base
-> retrieved ppxlib.0.36.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved yojson.3.0.0 (cached)
-> retrieved topkg.1.1.0 (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.0
-> installed dune.3.20.2
-> installed either.1.0.0
-> installed menhirCST.20250912
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed gen.1.1
-> installed menhirSdk.20250912
-> installed sexplib0.v0.17.0
-> installed menhirLib.20250912
-> installed ocaml-compiler-libs.v0.12.4
-> installed yojson.3.0.0
-> installed ppxlib.0.36.0
-> installed menhir.20250912
-> installed sedlex.3.6
-> installed js_of_ocaml-compiler.6.2.0
-> installed js_of_ocaml-toplevel.6.2.0
-> installed brr.0.0.8
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-16 10:18.23 ---> saved as "40505d8233412f3a065d9bc7690d4593a75c08ec47e2433dc3e68e3b8719f7e2"
/src: (copy (src .) (dst /src))
2025-09-16 10:18.31 ---> saved as "8e2861d84299ec1aa37483a6265a9866196703ecdce314d8e80ff279551c2e77"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-09-16 10:18.32 ---> saved as "8e19ccb01e8be2bfb5ec4dd78b4c2972b9b166467ddfae4b80379c30960299a0"
Job succeeded
2025-09-16 10:18.41: Job succeeded