Organisationsocaml-ppxppxlib1c0a6f ()debian-12-4.09_opam-2.3

debian-12-4.09_opam-2.3

Link Copied
Code Copied

Logs

2025-05-12 08:46.35: New job: test ocaml-ppx/ppxlib https://github.com/ocaml-ppx/ppxlib.git#refs/heads/0.37 (1c0a6f2592c4f2babec25c46e708b10d32c8a04c) (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 "0.37" && cd "ppxlib" && git reset --hard 1c0a6f25
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-12 08:46.35: 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-12 08:46.35: 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-12 08:46.35: Waiting for resource in pool OCluster
2025-05-12 08:46.35: Waiting for worker…
2025-05-12 08:46.35: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at 1c0a6f25 Merge pull request #579 from NathanReb/backport-changelog-actions


(from ocaml/opam:debian-12-ocaml-4.09@sha256:bbe73e5f35f65a16a4784c99cf52527bcff1c7a148c4b94bb6a9aed4a86397a4)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.09@sha256:bbe73e5f35f65a16a4784c99cf52527bcff1c7a148c4b94bb6a9aed4a86397a4' locally
docker.io/ocaml/opam@sha256:bbe73e5f35f65a16a4784c99cf52527bcff1c7a148c4b94bb6a9aed4a86397a4: Pulling from ocaml/opam
e7a40ed06517: Pulling fs layer
e7a40ed06517: Verifying Checksum
e7a40ed06517: Download complete
e7a40ed06517: Pull complete
Digest: sha256:bbe73e5f35f65a16a4784c99cf52527bcff1c7a148c4b94bb6a9aed4a86397a4
Status: Downloaded newer image for ocaml/opam@sha256:bbe73e5f35f65a16a4784c99cf52527bcff1c7a148c4b94bb6a9aed4a86397a4
2025-05-12 08:47.50 ---> 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-12 08:47.50 Waiting for previous build to finish cancelling
2025-05-12 08:47.50 ---> 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
[NOTE] The 'jobs' option was reset, its value was 39 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=39 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-05-12 08:48.18 ---> saved as "b0d34e5267654682cf05a2fb7c70ffd2979f084f452a95d2361c2802d2df6256"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-55-generic
The OCaml toplevel, version 4.09.1
2.3.0
2025-05-12 08:48.18 ---> saved as "e3c7f5feca7841d935cbb41a681f746c5f3895f51adb241a7ec541b8d0edb5e0"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-05-12 08:48.18 ---> 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..0d013e603b  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-12 08:48.43 ---> saved as "29c2c1bdca8c60d53a2b9bb16fcdcf42d0748ea688efd4230078afa966501e52"


/src: (copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./))
2025-05-12 08:48.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-12 08:48.48 ---> saved as "e2b3ad17e04daa851b196f0409a31128a331299166a01751c0706bd8945b732e"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-05-12 08:48.48 ---> 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 1s (710 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-12 08:49.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-12 08:49.35 ---> saved as "54396dfc5c3df440f79cea6a58ee17a3fa2ccd96c48cd2c5ba4072e2dbb4a3d4"


/src: (copy (src .) (dst /src))
2025-05-12 08:49.35 ---> saved as "1a24e5184ad1e5af0812cc9f32697018c055d019bc3f3a8b3c6cb186822adfe6"


/src: (run (shell "opam exec -- dune build --only-packages=ppxlib,ppxlib-tools @install @check @runtest && rm -rf _build"))
2025-05-12 08:49.51 ---> saved as "b8c50bb5af5a8cc3fc3376fd87cdc82bdc7e3fd45b597065498c7ffe0b3733e1"
Job succeeded
2025-05-12 08:49.51: Job succeeded