2025-06-17 18:27.46: New job: test ocaml-ppx/ppxlib https://github.com/ocaml-ppx/ppxlib.git#refs/pull/576/head (acf0813a64b7809aff7df7168615c02147ba681d) (linux-x86_64:debian-12-5.0_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.0@sha256:7422b64d0e71b67c0189b9053cca174a613e40bb3682dea2d278323ce1582c26
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-ppx/ppxlib.git" && cd "ppxlib" && git fetch origin "refs/pull/576/head" && git reset --hard acf0813a
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.0@sha256:7422b64d0e71b67c0189b9053cca174a613e40bb3682dea2d278323ce1582c26
# debian-12-5.0_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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam ./
RUN opam pin add -yn ppxlib.dev './' && \
opam pin add -yn ppxlib-tools.dev './' && \
opam pin add -yn ppxlib-bench.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base.v0.16.4 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.12.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y ppxlib.dev ppxlib-tools.dev ppxlib-bench.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-06-17 18:27.46: Using cache hint "ocaml-ppx/ppxlib-ocaml/opam:debian-12-ocaml-5.0@sha256:7422b64d0e71b67c0189b9053cca174a613e40bb3682dea2d278323ce1582c26-debian-12-5.0_opam-2.3-827e2967f1d912945c254d28ca1d6b67"
2025-06-17 18:27.46: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.0@sha256:7422b64d0e71b67c0189b9053cca174a613e40bb3682dea2d278323ce1582c26)
(comment debian-12-5.0_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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn ppxlib.dev './' && \
\nopam pin add -yn ppxlib-tools.dev './' && \
\nopam pin add -yn ppxlib-bench.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base.v0.16.4 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.12.0 seq.base sexplib0.v0.16.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.3 --depext-only -y ppxlib.dev ppxlib-tools.dev ppxlib-bench.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-06-17 18:27.46: Waiting for resource in pool OCluster
2025-06-17 19:47.11: Waiting for worker…
2025-06-17 19:49.54: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
HEAD is now at acf0813a Add module bindings and module declarations to [@@deriving]
(from ocaml/opam:debian-12-ocaml-5.0@sha256:7422b64d0e71b67c0189b9053cca174a613e40bb3682dea2d278323ce1582c26)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.0@sha256:7422b64d0e71b67c0189b9053cca174a613e40bb3682dea2d278323ce1582c26' locally
docker.io/ocaml/opam@sha256:7422b64d0e71b67c0189b9053cca174a613e40bb3682dea2d278323ce1582c26: Pulling from ocaml/opam
60e8d85fc071: Pulling fs layer
60e8d85fc071: Verifying Checksum
60e8d85fc071: Download complete
60e8d85fc071: Pull complete
Digest: sha256:7422b64d0e71b67c0189b9053cca174a613e40bb3682dea2d278323ce1582c26
Status: Downloaded newer image for ocaml/opam@sha256:7422b64d0e71b67c0189b9053cca174a613e40bb3682dea2d278323ce1582c26
2025-06-17 19:49.55 ---> using "0574be2b5f3d411c6dde4c3fe7fb3c60cbbbbd8366295956282a1f5ac27d3bc7" from cache
/: (comment debian-12-5.0_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-06-17 19:49.55 ---> using "4dcb262a111627bac8cff9bbf15f1d8de07f56526f6c1222bf2c37c9a5dff858" 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-06-17 19:49.55 ---> using "c2e8505994c1fabcb658c4393226b2d1b0d43368764ffe36f30fc278c6b176c6" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-141-generic
The OCaml toplevel, version 5.0.0
2.3.0
2025-06-17 19:49.55 ---> using "1344f4e6f61116b54b32a2f97c7eabee4769136dbd20a4b2cdf8089569a13672" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-06-17 19:49.55 ---> using "9be69f54a21488b739345d3816777248269fd66f8e06d9c9ad04f19dfa23e448" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
a28eb8a148 Merge pull request #28017 from maiste/release-dune-3.19.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-06-17 19:49.55 ---> using "af3f25f38ec1bd506a6274abb6cd079971f75af1bdc3bbe892881b03d5e1eb6b" from cache
/src: (copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./))
2025-06-17 19:49.55 ---> using "8d5bc929916d43db661a222e32af020e4d61401f0873b00aee296b66daf86268" from cache
/src: (run (network host)
(shell "opam pin add -yn ppxlib.dev './' && \
\nopam pin add -yn ppxlib-tools.dev './' && \
\nopam pin add -yn ppxlib-bench.dev './'"))
[ppxlib.dev] synchronised (file:///src)
ppxlib is now pinned to file:///src (version dev)
[ppxlib-tools.dev] synchronised (file:///src)
ppxlib-tools is now pinned to file:///src (version dev)
Package ppxlib-bench does not exist, create as a NEW package? [y/n] y
[ppxlib-bench.dev] synchronised (file:///src)
ppxlib-bench is now pinned to file:///src (version dev)
2025-06-17 19:49.57 ---> saved as "4fc6201c2c84bf697b76396f42b43df1d79d7e34e21100720f6cac2a372c6c34"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-17 19:49.57 ---> saved as "3af80b703003cebfcb9df0b7ed9f44aabff24230e98f9a68247954e7352f66ca"
/src: (env DEPS "base.v0.16.4 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.12.0 seq.base sexplib0.v0.16.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.3 --depext-only -y ppxlib.dev ppxlib-tools.dev ppxlib-bench.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- 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-security bookworm-security/main amd64 Packages [263 kB]
- Fetched 366 kB in 1s (446 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppxlib.dev] synchronised (file:///src)
[ppxlib-bench.dev] synchronised (file:///src)
[ppxlib-tools.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-base-compiler is already installed (current version is 5.0.0).
[NOTE] Package ocaml is already installed (current version is 5.0.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-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2025-06-17 19:50.25 ---> saved as "da6684f2e65f665bd4a2b7a231da507d7404e7f700000b997ac239c6d8331bde"
/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-base-compiler is already installed (current version is 5.0.0).
[NOTE] Package ocaml is already installed (current version is 5.0.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-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 14 packages
- install base v0.16.4
- install cinaps v0.15.1
- install cmdliner 1.3.0
- install csexp 1.5.2
- install dune 3.19.1
- install dune-configurator 3.19.1
- install ocaml-compiler-libs v0.12.4
- install ocamlfind 1.9.8
- install ppx_derivers 1.2.1
- install re 1.12.0
- install seq base
- install sexplib0 v0.16.0
- install stdlib-shims 0.3.0
- install yojson 3.0.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cinaps.v0.15.1 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved base.v0.16.4 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved re.1.12.0 (cached)
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved yojson.3.0.0 (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> installed dune.3.19.1
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed re.1.12.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed yojson.3.0.0
-> installed cinaps.v0.15.1
-> installed dune-configurator.3.19.1
-> installed base.v0.16.4
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-17 19:52.22 ---> saved as "c688490213b6b18233167c55f4727cc8fb8d2490ef2bf9940fde9bdb30088f40"
/src: (copy (src .) (dst /src))
2025-06-17 19:52.23 ---> saved as "745196e79208ed700de8852813f48bab2736b622b6de75d51dac449d4b312e68"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-06-17 19:53.42 ---> saved as "2919dd76e4f027c20c3ac43989fd88ab5ad62e1a3b80a199837f0f8bdc7e4156"
Job succeeded
2025-06-17 19:53.42: Job succeeded