2025-05-05 17:39.04: New job: test ocaml-ppx/ppxlib https://github.com/ocaml-ppx/ppxlib.git#refs/heads/main (e0c0244283f717d7ca50df973d07f4b8dfb44071) (linux-x86_64:debian-12-4.09_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.09@sha256:bbe73e5f35f65a16a4784c99cf52527bcff1c7a148c4b94bb6a9aed4a86397a4
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-ppx/ppxlib.git" -b "main" && cd "ppxlib" && git reset --hard e0c02442
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.09@sha256:bbe73e5f35f65a16a4784c99cf52527bcff1c7a148c4b94bb6a9aed4a86397a4
# debian-12-4.09_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 35eb2f107a989a2d623b0bbe170696398fcb9b1e || git fetch origin master) && git reset -q --hard 35eb2f107a989a2d623b0bbe170696398fcb9b1e && 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-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 dune.3.18.2 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.11.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y ppxlib.dev ppxlib-tools.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build --only-packages=ppxlib,ppxlib-tools @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2025-05-05 17:39.04: Using cache hint "ocaml-ppx/ppxlib-ocaml/opam:debian-12-ocaml-4.09@sha256:bbe73e5f35f65a16a4784c99cf52527bcff1c7a148c4b94bb6a9aed4a86397a4-debian-12-4.09_opam-2.3-9052d8fbfdb9e4e37b9b8ee817c2b83e"
2025-05-05 17:39.04: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.09@sha256:bbe73e5f35f65a16a4784c99cf52527bcff1c7a148c4b94bb6a9aed4a86397a4)
(comment debian-12-4.09_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 35eb2f107a989a2d623b0bbe170696398fcb9b1e || git fetch origin master) && git reset -q --hard 35eb2f107a989a2d623b0bbe170696398fcb9b1e && 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-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 dune.3.18.2 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.11.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.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 $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 --only-packages=ppxlib,ppxlib-tools @install @check @runtest && rm -rf _build"))
)
2025-05-05 17:39.04: Waiting for resource in pool OCluster
2025-05-05 17:39.04: Waiting for worker…
2025-05-05 17:39.04: Got resource from pool OCluster
Building on x86-bm-c3.sw.ocaml.org
All commits already cached
HEAD is now at e0c02442 Merge pull request #575 from patricoferris/remove-legacy-asts
(from ocaml/opam:debian-12-ocaml-4.09@sha256:bbe73e5f35f65a16a4784c99cf52527bcff1c7a148c4b94bb6a9aed4a86397a4)
2025-05-05 17:39.46 ---> saved as "98de31f3051ed091238b712d17eca9b914a940edaa5363288f031792135740da"
/: (comment debian-12-4.09_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-05-05 17:39.46 ---> saved as "0774a91b72b73d4fbbb381c5226ccef8ae5a39678c1e44ada0066b596e230259"
/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-05-05 17:40.17 ---> saved as "b0d34e5267654682cf05a2fb7c70ffd2979f084f452a95d2361c2802d2df6256"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.09.1
2.3.0
2025-05-05 17:40.17 ---> saved as "e3c7f5feca7841d935cbb41a681f746c5f3895f51adb241a7ec541b8d0edb5e0"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-05-05 17:40.17 ---> saved as "8cac81d277a16965d7be07376f8fe7083a256f18eb4d92fec7703c162ce2496c"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 35eb2f107a989a2d623b0bbe170696398fcb9b1e || git fetch origin master) && git reset -q --hard 35eb2f107a989a2d623b0bbe170696398fcb9b1e && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
34a3fc46c3..e28c86445c master -> origin/master
35eb2f107a Merge pull request #27838 from maiste/release-dune-3.18.2
<><> 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-05-05 17:40.43 ---> saved as "29c2c1bdca8c60d53a2b9bb16fcdcf42d0748ea688efd4230078afa966501e52"
/src: (copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./))
2025-05-05 17:40.43 ---> saved as "f849a5b8e38673c6d2811be09200a857308e28c12c00afd410740f44f945b5ba"
/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-05-05 17:40.49 ---> saved as "e2b3ad17e04daa851b196f0409a31128a331299166a01751c0706bd8945b732e"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-05-05 17:40.49 ---> saved as "408a517ce9cc52cab3a6567a9a06d652b683a901bae5160e4847110f57438e80"
/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 dune.3.18.2 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.11.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.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 $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 [258 kB]
- Fetched 361 kB in 0s (1156 kB/s)
- Reading package lists...
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppxlib.dev] synchronised (file:///src)
[ppxlib-tools.dev] synchronised (file:///src)
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.09.1).
[NOTE] Package ocaml is already installed (current version is 4.09.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-bigarray is already installed (current version is base).
2025-05-05 17:41.00 ---> saved as "dcd811fc16b3fc18ca81f906496eebb4e4f760ceb88a8fee3683538997cc246a"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.09.1).
[NOTE] Package ocaml is already installed (current version is 4.09.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-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 10 packages
- install cinaps v0.15.1
- install cmdliner 1.3.0
- install dune 3.18.2
- install ocaml-compiler-libs v0.12.4
- install ocamlfind 1.9.8
- install ppx_derivers 1.2.1
- install re 1.11.0
- install seq base
- install sexplib0 v0.16.0
- install stdlib-shims 0.3.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cinaps.v0.15.1 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved re.1.11.0 (cached)
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved dune.3.18.2 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> installed dune.3.18.2
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.16.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed re.1.11.0
-> installed cinaps.v0.15.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-05-05 17:41.37 ---> saved as "54396dfc5c3df440f79cea6a58ee17a3fa2ccd96c48cd2c5ba4072e2dbb4a3d4"
/src: (copy (src .) (dst /src))
2025-05-05 17:41.37 ---> saved as "8c00739f0adaf0e9a7b2e4093d937c55340fa48e674cd42a810f45904b310ccb"
/src: (run (shell "opam exec -- dune build --only-packages=ppxlib,ppxlib-tools @install @check @runtest && rm -rf _build"))
2025-05-05 17:41.58 ---> saved as "79e2eb9160f9192b3e936b0c7aa99dcba954f4cc431503004ab0abedfb335fca"
Job succeeded
2025-05-05 17:41.58: Job succeeded