2025-07-31 07:30.33: New job: test ocaml-ppx/ppxlib https://github.com/ocaml-ppx/ppxlib.git#refs/pull/545/head (c215825d5e9b03585da77025cb61a298df0a59f1) (linux-x86_64:debian-12-5.1_opam-2.4)
Base: ocaml/opam:debian-12-ocaml-5.1@sha256:bf9bb33d6e0514f0b9ee55b4b6cad3fc2b2def658779c2216d8cf1fd122bf115
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-ppx/ppxlib.git" && cd "ppxlib" && git fetch origin "refs/pull/545/head" && git reset --hard c215825d
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.1@sha256:bf9bb33d6e0514f0b9ee55b4b6cad3fc2b2def658779c2216d8cf1fd122bf115
# debian-12-5.1_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 b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && 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.17.3 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.1.1 ocaml-base-compiler.5.1.1 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.13.2 seq.base sexplib0.v0.17.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 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-07-31 07:30.33: Using cache hint "ocaml-ppx/ppxlib-ocaml/opam:debian-12-ocaml-5.1@sha256:bf9bb33d6e0514f0b9ee55b4b6cad3fc2b2def658779c2216d8cf1fd122bf115-debian-12-5.1_opam-2.4-e225b72e8d62f03affad72091703a3d2"
2025-07-31 07:30.33: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.1@sha256:bf9bb33d6e0514f0b9ee55b4b6cad3fc2b2def658779c2216d8cf1fd122bf115)
(comment debian-12-5.1_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 b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && 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.17.3 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.1.1 ocaml-base-compiler.5.1.1 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.13.2 seq.base sexplib0.v0.17.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 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-07-31 07:30.33: Waiting for resource in pool OCluster
2025-07-31 09:50.15: Waiting for worker…
2025-07-31 09:51.47: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at c215825d Improve Makefile
(from ocaml/opam:debian-12-ocaml-5.1@sha256:bf9bb33d6e0514f0b9ee55b4b6cad3fc2b2def658779c2216d8cf1fd122bf115)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.1@sha256:bf9bb33d6e0514f0b9ee55b4b6cad3fc2b2def658779c2216d8cf1fd122bf115' locally
docker.io/ocaml/opam@sha256:bf9bb33d6e0514f0b9ee55b4b6cad3fc2b2def658779c2216d8cf1fd122bf115: Pulling from ocaml/opam
2b437dab448b: Already exists
7e9c3e95a184: Pulling fs layer
33de4ad046b3: Pulling fs layer
406ff7521bc5: Pulling fs layer
98112571507b: Pulling fs layer
7e9c3e95a184: Waiting
b50523cb2016: Pulling fs layer
a53dd5271301: Pulling fs layer
f904ed3eaf0a: Pulling fs layer
b50523cb2016: Waiting
f904ed3eaf0a: Waiting
98112571507b: Waiting
a53dd5271301: Waiting
7e9c3e95a184: Verifying Checksum
7e9c3e95a184: Download complete
7e9c3e95a184: Pull complete
33de4ad046b3: Download complete
33de4ad046b3: Pull complete
406ff7521bc5: Verifying Checksum
406ff7521bc5: Download complete
406ff7521bc5: Pull complete
b50523cb2016: Download complete
a53dd5271301: Verifying Checksum
a53dd5271301: Download complete
f904ed3eaf0a: Download complete
98112571507b: Verifying Checksum
98112571507b: Download complete
98112571507b: Pull complete
b50523cb2016: Pull complete
a53dd5271301: Pull complete
f904ed3eaf0a: Pull complete
Digest: sha256:bf9bb33d6e0514f0b9ee55b4b6cad3fc2b2def658779c2216d8cf1fd122bf115
Status: Downloaded newer image for ocaml/opam@sha256:bf9bb33d6e0514f0b9ee55b4b6cad3fc2b2def658779c2216d8cf1fd122bf115
2025-07-31 09:51.47 ---> using "5172e32f007b6eff3d1286c667ba7d5aff8ab7541b0fa952e454eaf1fee11de9" from cache
/: (comment debian-12-5.1_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-07-31 09:51.47 ---> using "3674f9db97abd361472de433d9e7103b61a5dba1288829d6a284898d479ac8cd" 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
[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=71 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-07-31 09:51.47 ---> using "91970d6b17854cd69ee2d5a095efcb53ea94d966e740be39abc22b1a96b00aa3" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 5.1.1
2.4.1
2025-07-31 09:51.47 ---> using "a11116c0ec36f7653d059dff60d0157d38bd3f1952c03a3a0a298ab98e029a77" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-07-31 09:51.47 ---> using "8bade567593609e06313ee2d26fc2150743ec1c2cb7b9bfc8f674d52c726f49c" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && git log --no-decorate -n1 --oneline && opam update -u"))
b8021439f8 Merge pull request #28261 from kit-ty-kate/deploy-fix-25819
<><> 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-07-31 09:51.47 ---> using "3fc0495ef858b15bfb9886267d1b0dee44cdf51a3599caad9bcd7202fbd1d55b" from cache
/src: (copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./))
2025-07-31 09:51.47 ---> using "390daddd9680e45c1833bb7a4fc2d3c5c824e35fbcdfd73433ee39d690e05fbe" 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)
[NOTE] Package ppxlib-bench does not exist in opam repositories registered in the current switch.
[ppxlib-bench.dev] synchronised (file:///src)
ppxlib-bench is now pinned to file:///src (version dev)
2025-07-31 09:51.48 ---> saved as "a158a16b2483d0fc3a1e9aa77470d46a71adbc777cf4794c8f58dc9ecfaa567a"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-31 09:51.49 ---> saved as "27fd00e554bba0ce1e92da88c422c44fd9e3a2676d459accab17195b099cf851"
/src: (env DEPS "base.v0.17.3 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.1.1 ocaml-base-compiler.5.1.1 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.13.2 seq.base sexplib0.v0.17.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 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 bookworm-updates/main amd64 Packages.diff/Index [19.6 kB]
- Ign:4 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [6916 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [272 kB]
- Fetched 402 kB in 0s (985 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.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.1).
[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-07-31 09:51.56 ---> saved as "9c421e3ca03909895ffe4796340d349b9b1299259bc801945e01d3510a76d2ef"
/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.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.1).
[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 15 packages
- install base v0.17.3
- 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 ocaml_intrinsics_kernel v0.17.1
- install ocamlfind 1.9.8
- install ppx_derivers 1.2.1
- install re 1.13.2
- install seq base
- install sexplib0 v0.17.0
- install stdlib-shims 0.3.0
- install yojson 3.0.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.17.3 (cached)
-> retrieved cinaps.v0.15.1 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved re.1.13.2 (cached)
-> retrieved sexplib0.v0.17.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 ocaml-compiler-libs.v0.12.4
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed re.1.13.2
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed yojson.3.0.0
-> installed cinaps.v0.15.1
-> installed dune-configurator.3.19.1
-> installed base.v0.17.3
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-31 09:52.34 ---> saved as "c69b4dda47c9ffc8bf107eed35d09a7c0671972dd9a4608e5408874755b225d4"
/src: (copy (src .) (dst /src))
2025-07-31 09:52.35 ---> saved as "da2c71ea3bddd0e9b4000838c091b35d5d4cbd27b3f761578bd713c95f75604e"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-07-31 09:52.54 ---> saved as "566816b77820ed84d0932138d3dff92766c5ce12431fa435659b1c9c3b2b758f"
Job succeeded
2025-07-31 09:52.54: Job succeeded