2025-09-16 20:40.32: New job: test jmid/mutaml https://github.com/jmid/mutaml.git#refs/heads/main (cf593f1577bfe06b0872d09d7f42242e4394e578) (linux-x86_64:debian-12-5.3_opam-2.4)
Base: ocaml/opam:debian-12-ocaml-5.3@sha256:ce109ed7a40b6b1bb0ad44021720e8dfea08fdd83f1f42dd0dbcf019bc7bf746
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/jmid/mutaml.git" -b "main" && cd "mutaml" && git reset --hard cf593f15
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:ce109ed7a40b6b1bb0ad44021720e8dfea08fdd83f1f42dd0dbcf019bc7bf746
# debian-12-5.3_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 mutaml.opam ./
RUN opam pin add -yn mutaml.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base.v0.17.3 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-diffutils.2 conf-timeout.1 cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlfind.1.9.8 octavius.1.2.2 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_js_style.v0.17.0 ppx_yojson_conv.v0.17.0 ppx_yojson_conv_lib.v0.17.0 ppxlib.0.35.0 seq.base sexplib0.v0.17.0 stdlib-random.1.2.0 stdlib-shims.0.3.0 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y mutaml.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 20:40.32: Using cache hint "jmid/mutaml-ocaml/opam:debian-12-ocaml-5.3@sha256:ce109ed7a40b6b1bb0ad44021720e8dfea08fdd83f1f42dd0dbcf019bc7bf746-debian-12-5.3_opam-2.4-c62e0468f9a0b35c40b70c2711a613c5"
2025-09-16 20:40.32: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:ce109ed7a40b6b1bb0ad44021720e8dfea08fdd83f1f42dd0dbcf019bc7bf746)
(comment debian-12-5.3_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 mutaml.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn mutaml.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base.v0.17.3 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-diffutils.2 conf-timeout.1 cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlfind.1.9.8 octavius.1.2.2 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_js_style.v0.17.0 ppx_yojson_conv.v0.17.0 ppx_yojson_conv_lib.v0.17.0 ppxlib.0.35.0 seq.base sexplib0.v0.17.0 stdlib-random.1.2.0 stdlib-shims.0.3.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 mutaml.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 20:40.32: Waiting for resource in pool OCluster
2025-09-16 20:40.32: Waiting for worker…
2025-09-16 20:40.32: Got resource from pool OCluster
Building on eumache
All commits already cached
HEAD is now at cf593f1 Merge pull request #45 from jmid/use-dunes-maintenance-intent
(from ocaml/opam:debian-12-ocaml-5.3@sha256:ce109ed7a40b6b1bb0ad44021720e8dfea08fdd83f1f42dd0dbcf019bc7bf746)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:ce109ed7a40b6b1bb0ad44021720e8dfea08fdd83f1f42dd0dbcf019bc7bf746' locally
docker.io/ocaml/opam@sha256:ce109ed7a40b6b1bb0ad44021720e8dfea08fdd83f1f42dd0dbcf019bc7bf746: Pulling from ocaml/opam
bbd0d7f7db1c: Already exists
ee9c97cdac1d: Already exists
d7590f38624d: Already exists
8909a03b3fd2: Already exists
ec7935b352d1: Already exists
36bacfd14caa: Already exists
cfd1d0bc0a25: Already exists
4b31c958145a: Already exists
Digest: sha256:ce109ed7a40b6b1bb0ad44021720e8dfea08fdd83f1f42dd0dbcf019bc7bf746
Status: Downloaded newer image for ocaml/opam@sha256:ce109ed7a40b6b1bb0ad44021720e8dfea08fdd83f1f42dd0dbcf019bc7bf746
2025-09-16 20:40.33 ---> using "15aa1cf9b6eab837810155e26b0481282547cd1c9774850777b777a01817a556" from cache
/: (comment debian-12-5.3_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 20:40.33 ---> using "d98c74e8a1b39caaed0c5dd448b9f70838344d1f552593d4680215ce63cfc1d5" 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 20:40.33 ---> using "b985350161f8be0ac630962e60a51ca6dc32fd113681d699788b80061b4b8711" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-131-generic
The OCaml toplevel, version 5.3.0
2.4.1
2025-09-16 20:40.33 ---> using "e53dab84980c00a88614037e0f89115393a34d2a108068ce3ab080387dff902a" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-09-16 20:40.33 ---> using "60ea2c52b2d08e1017910ce0e425fe6ad51f3a4d2a4f0f47c60b4d14327f0467" 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
Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-09-16 20:40.33 ---> using "9bdf72f1f2006c0317a015c3a12bb0b92ce09dd6ad8f0575766d9cb938a547e2" from cache
/src: (copy (src mutaml.opam) (dst ./))
2025-09-16 20:40.33 ---> saved as "196c6b266eae4bfa2939f130ed4b672c6646bffc21fbe69b280f272f9474100d"
/src: (run (network host)
(shell "opam pin add -yn mutaml.dev './'"))
[mutaml.dev] synchronised (file:///src)
mutaml is now pinned to file:///src (version dev)
2025-09-16 20:40.35 ---> saved as "29b524e621c5e4fa5219164b6efb6ae46ca29b8d409db76cdf23f005ecd75dee"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-16 20:40.35 ---> saved as "62bcc2849e52b5da125824dbdef26b3b744b9a562f19e848ce0cc413549b3207"
/src: (env DEPS "base.v0.17.3 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-diffutils.2 conf-timeout.1 cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlfind.1.9.8 octavius.1.2.2 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_js_style.v0.17.0 ppx_yojson_conv.v0.17.0 ppx_yojson_conv_lib.v0.17.0 ppxlib.0.35.0 seq.base sexplib0.v0.17.0 stdlib-random.1.2.0 stdlib-shims.0.3.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 mutaml.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8791 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [278 kB]
- Fetched 9324 kB in 2s (5478 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mutaml.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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2025-09-16 20:40.47 ---> saved as "06f455e1578fd9185fab432a7b16cecfd1703136c4cc2e4d1cead8b64f6dfa90"
/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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains 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 23 packages
- install base v0.17.3
- install conf-diffutils 2
- install conf-timeout 1
- install cppo 1.8.0
- install csexp 1.5.2
- install dune 3.20.2
- install dune-configurator 3.20.2
- install ocaml-compiler-libs v0.17.0
- install ocaml_intrinsics_kernel v0.17.1
- install ocamlfind 1.9.8
- install octavius 1.2.2
- install ounit2 2.2.7
- install ppx_derivers 1.2.1
- install ppx_deriving 6.0.3
- install ppx_js_style v0.17.0
- install ppx_yojson_conv v0.17.0
- install ppx_yojson_conv_lib v0.17.0
- install ppxlib 0.35.0
- install seq base
- install sexplib0 v0.17.0
- install stdlib-random 1.2.0
- install stdlib-shims 0.3.0
- install yojson 3.0.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.17.3 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> installed conf-diffutils.2
-> installed conf-timeout.1
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1 (cached)
-> retrieved octavius.1.2.2 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ounit2.2.2.7 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_js_style.v0.17.0 (cached)
-> retrieved ppx_yojson_conv.v0.17.0 (cached)
-> retrieved ppx_deriving.6.0.3 (cached)
-> retrieved ppx_yojson_conv_lib.v0.17.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-random.1.2.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved yojson.3.0.0 (cached)
-> retrieved ppxlib.0.35.0 (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2 (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.20.2
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed cppo.1.8.0
-> installed octavius.1.2.2
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed yojson.3.0.0
-> installed stdlib-random.1.2.0
-> installed ppx_yojson_conv_lib.v0.17.0
-> installed ounit2.2.2.7
-> installed dune-configurator.3.20.2
-> installed base.v0.17.3
-> installed ppxlib.0.35.0
-> installed ppx_js_style.v0.17.0
-> installed ppx_deriving.6.0.3
-> installed ppx_yojson_conv.v0.17.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-16 20:41.57 ---> saved as "aa1497106df3ce5bb480b7e7e5566e852f2a265d1caa7512ce5119f8f2a80cc7"
/src: (copy (src .) (dst /src))
2025-09-16 20:41.57 ---> saved as "dc353200427f75e60154c4e8e58817406a2167510fb6006b3d3c42ed7b20e04e"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/examples/testproj-1-module && ./ounittest.exe)
....
Ran: 4 tests in: 0.10 seconds.
OK
(cd _build/default/examples/testproj-2-modules/test && ./ounittest.exe)
..
Ran: 2 tests in: 0.10 seconds.
OK
2025-09-16 20:42.38 ---> saved as "271c9e8e7f0ddcc250dee1aca08218122511d1f34104eabbff85f65d89641e37"
Job succeeded
2025-09-16 20:42.38: Job succeeded