Organisationspatricoferrisppxlibd6853e (ci)debian-12-5.3+flambda_opam-2.4

debian-12-5.3+flambda_opam-2.4

Logs

Show full logs
2025-08-20 17:11.51: New job: test patricoferris/ppxlib https://github.com/patricoferris/ppxlib.git#refs/heads/ci (d6853ef0723a62d395264fde95a011a50e11868c) (linux-x86_64:debian-12-5.3+flambda_opam-2.4)
Base: ocaml/opam:debian-12-ocaml-5.3-flambda@sha256:bc87a3a3e7ab52284be6c3db2016fad5b20704dd9d74b10ac786ae3a7af56f68
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/patricoferris/ppxlib.git" -b "ci" && cd "ppxlib" && git reset --hard d6853ef0
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3-flambda@sha256:bc87a3a3e7ab52284be6c3db2016fad5b20704dd9d74b10ac786ae3a7af56f68
# debian-12-5.3+flambda_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 f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 || git fetch origin master) && git reset -q --hard f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 && 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-effects.base base-nnp.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.20.0 dune-configurator.3.20.0 ocaml.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-variants.5.3.0+options 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-08-20 17:11.51: Using cache hint "patricoferris/ppxlib-ocaml/opam:debian-12-ocaml-5.3-flambda@sha256:bc87a3a3e7ab52284be6c3db2016fad5b20704dd9d74b10ac786ae3a7af56f68-debian-12-5.3+flambda_opam-2.4-68d4e0468c179952bf4292aeb6dccf54"
2025-08-20 17:11.51: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3-flambda@sha256:bc87a3a3e7ab52284be6c3db2016fad5b20704dd9d74b10ac786ae3a7af56f68)
 (comment debian-12-5.3+flambda_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 f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 || git fetch origin master) && git reset -q --hard f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 && 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-effects.base base-nnp.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.20.0 dune-configurator.3.20.0 ocaml.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-variants.5.3.0+options 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-08-20 17:11.51: Waiting for resource in pool OCluster
2025-08-20 21:11.04: Waiting for worker…
2025-08-20 21:13.53: Got resource from pool OCluster
Building on eumache
All commits already cached
HEAD is now at d6853ef Simplify Longident versioning for 5.4.0 support

(from ocaml/opam:debian-12-ocaml-5.3-flambda@sha256:bc87a3a3e7ab52284be6c3db2016fad5b20704dd9d74b10ac786ae3a7af56f68)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3-flambda@sha256:bc87a3a3e7ab52284be6c3db2016fad5b20704dd9d74b10ac786ae3a7af56f68' locally
docker.io/ocaml/opam@sha256:bc87a3a3e7ab52284be6c3db2016fad5b20704dd9d74b10ac786ae3a7af56f68: Pulling from ocaml/opam
2b437dab448b: Already exists
97c86bfc0041: Already exists
b134a94e2dab: Already exists
fb6fd243e341: Already exists
beeb65099492: Already exists
aaa2c9a1a445: Already exists
d08a8b89f2c3: Already exists
6d17278fc02e: Already exists
Digest: sha256:bc87a3a3e7ab52284be6c3db2016fad5b20704dd9d74b10ac786ae3a7af56f68
Status: Downloaded newer image for ocaml/opam@sha256:bc87a3a3e7ab52284be6c3db2016fad5b20704dd9d74b10ac786ae3a7af56f68
2025-08-20 21:13.53 ---> using "8f19063995d2e91975b673384143fa4316c06cf525acaad5ddc9dfe32e879b21" from cache

/: (comment debian-12-5.3+flambda_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-08-20 21:13.53 ---> using "3964d961645aac4701995e7afa81c4230383d448cff22e07a607fd337d9459ea" 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-08-20 21:13.53 ---> using "5aebcfda9685f3a603e14fa984661649d5b4c24cad7ac53b2dbd7993b0191857" 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-08-20 21:13.53 ---> using "b3767d8466038a203e474e97e3c72b7e65c6cd3e74da7a70330f79ca1443edbb" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-08-20 21:13.53 ---> using "3777998cb18ca2c1bd519ed60e51da93fddf8559566beec5a9ce7afd99330774" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 || git fetch origin master) && git reset -q --hard f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   ee8b9193dd..0978bfceb7  master     -> origin/master
f9d23e5cb1 Merge pull request #28357 from maiste/release-dune-3.20.0

<><> 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-08-20 21:13.53 ---> using "5044e4938909d7c783d65ab74efbefc8afaed5475dc3f9e4a1f2da803d57f0fb" from cache

/src: (copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./))
2025-08-20 21:13.53 ---> saved as "1ac5c5ccaa8915e792ad549241d393a47c2ab6f229ae1e6f529e62dd6970e27d"

/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-08-20 21:14.01 ---> saved as "8fabe2e7905760cbe26bcbcbfa855ac518d32e2b7f8d0ac0df7d61c00aa0c4bd"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-08-20 21:14.01 ---> saved as "f42d3d37bfe6d820e351373c2972575303961927afafd05187dfa1442171b4c3"

/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 cinaps.v0.15.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.20.0 dune-configurator.3.20.0 ocaml.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-variants.5.3.0+options 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"
- 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-updates/main amd64 Packages.diff/Index [21.8 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 [6924 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [274 kB]
- Fetched 558 kB in 1s (902 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-variants is already installed (current version is 5.3.0+options).
[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 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-08-20 21:14.20 ---> saved as "acf59f9936b8c6849eb2411f6a4cac5d4870ffee035fc4dfb8bbaa6ec3d9dec5"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-variants is already installed (current version is 5.3.0+options).
[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 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 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.20.0
  - install dune-configurator       3.20.0
  - install ocaml-compiler-libs     v0.17.0
  - 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.17.0  (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.20.0, dune-configurator.3.20.0  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> installed dune.3.20.0
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed re.1.13.2
-> installed yojson.3.0.0
-> installed cinaps.v0.15.1
-> installed dune-configurator.3.20.0
-> installed base.v0.17.3
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-20 21:16.06 ---> saved as "58c3d95796f734d0547586b751bc70b38ae2871a29653cbcf3a1205b9e1607e4"

/src: (copy (src .) (dst /src))
2025-08-20 21:16.07 ---> saved as "260d8c922b80b75327f3447b0c2ca735ec6da7f4422e3d29ea037b89f9f22692"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/5.3/bin/ocamlopt.opt -w -24 -I test/expect/.cinaps.8c99f1e2/.cinaps.eobjs/byte -I test/expect/.cinaps.8c99f1e2/.cinaps.eobjs/native -I /home/opam/.opam/5.3/lib/cinaps/runtime -I src/cinaps/.ppxlib_cinaps_helpers.objs/byte -I src/cinaps/.ppxlib_cinaps_helpers.objs/native -cmi-file test/expect/.cinaps.8c99f1e2/.cinaps.eobjs/byte/dune__exe__Cinaps.cmi -no-alias-deps -o test/expect/.cinaps.8c99f1e2/.cinaps.eobjs/native/dune__exe__Cinaps.cmx -c -impl test/expect/.cinaps.8c99f1e2/cinaps.ml-gen)
File "_none_", line 1:
Alert ocaml_deprecated_auto_include: 
OCaml's lib directory layout changed in 5.0. The unix subdirectory has been
automatically added to the search path, but you should add -I +unix to the
command-line to silence this alert (e.g. by adding unix to the list of
libraries in your dune file, or adding use_unix to your _tags file for
ocamlbuild, or using -package unix for ocamlfind).
(cd _build/default && /home/opam/.opam/5.3/bin/ocamlopt.opt -w -24 -I ast/.cinaps.43bc8a3e/.cinaps.eobjs/byte -I ast/.cinaps.43bc8a3e/.cinaps.eobjs/native -I /home/opam/.opam/5.3/lib/cinaps/runtime -I ast/cinaps/.ast_cinaps_helpers.objs/byte -I ast/cinaps/.ast_cinaps_helpers.objs/native -cmi-file ast/.cinaps.43bc8a3e/.cinaps.eobjs/byte/dune__exe__Cinaps.cmi -no-alias-deps -o ast/.cinaps.43bc8a3e/.cinaps.eobjs/native/dune__exe__Cinaps.cmx -c -impl ast/.cinaps.43bc8a3e/cinaps.ml-gen)
File "_none_", line 1:
Alert ocaml_deprecated_auto_include: 
OCaml's lib directory layout changed in 5.0. The unix subdirectory has been
automatically added to the search path, but you should add -I +unix to the
command-line to silence this alert (e.g. by adding unix to the list of
libraries in your dune file, or adding use_unix to your _tags file for
ocamlbuild, or using -package unix for ocamlfind).
(cd _build/default && /home/opam/.opam/5.3/bin/ocamlopt.opt -w -24 -I astlib/.cinaps.9c80f37c/.cinaps.eobjs/byte -I astlib/.cinaps.9c80f37c/.cinaps.eobjs/native -I /home/opam/.opam/5.3/lib/cinaps/runtime -I astlib/cinaps/.astlib_cinaps_helpers.objs/byte -I astlib/cinaps/.astlib_cinaps_helpers.objs/native -cmi-file astlib/.cinaps.9c80f37c/.cinaps.eobjs/byte/dune__exe__Cinaps.cmi -no-alias-deps -o astlib/.cinaps.9c80f37c/.cinaps.eobjs/native/dune__exe__Cinaps.cmx -c -impl astlib/.cinaps.9c80f37c/cinaps.ml-gen)
File "_none_", line 1:
Alert ocaml_deprecated_auto_include: 
OCaml's lib directory layout changed in 5.0. The unix subdirectory has been
automatically added to the search path, but you should add -I +unix to the
command-line to silence this alert (e.g. by adding unix to the list of
libraries in your dune file, or adding use_unix to your _tags file for
ocamlbuild, or using -package unix for ocamlfind).
(cd _build/default && /home/opam/.opam/5.3/bin/ocamlopt.opt -w -24 -I src/.cinaps.9f32b174/.cinaps.eobjs/byte -I src/.cinaps.9f32b174/.cinaps.eobjs/native -I /home/opam/.opam/5.3/lib/cinaps/runtime -I src/cinaps/.ppxlib_cinaps_helpers.objs/byte -I src/cinaps/.ppxlib_cinaps_helpers.objs/native -cmi-file src/.cinaps.9f32b174/.cinaps.eobjs/byte/dune__exe__Cinaps.cmi -no-alias-deps -o src/.cinaps.9f32b174/.cinaps.eobjs/native/dune__exe__Cinaps.cmx -c -impl src/.cinaps.9f32b174/cinaps.ml-gen)
File "_none_", line 1:
Alert ocaml_deprecated_auto_include: 
OCaml's lib directory layout changed in 5.0. The unix subdirectory has been
automatically added to the search path, but you should add -I +unix to the
command-line to silence this alert (e.g. by adding unix to the list of
libraries in your dune file, or adding use_unix to your _tags file for
ocamlbuild, or using -package unix for ocamlfind).
2025-08-20 21:16.53 ---> saved as "119bf1a38e4afc37911307e40e59a25a026d3fe2f14fce756183eff99f771817"
Job succeeded
2025-08-20 21:16.53: Job succeeded