Organisationsocaml-ppxppxlibf7aea0 ()debian-13-5.4_opam-2.5

debian-13-5.4_opam-2.5

Logs

Show full logs
2026-05-26 17:18.15: New job: test ocaml-ppx/ppxlib https://github.com/ocaml-ppx/ppxlib.git#refs/pull/640/head (f7aea0815af5188e826de63d14734985ca9ec70a) (linux-x86_64:debian-13-5.4_opam-2.5)
Base: ocaml/opam:debian-13-ocaml-5.4@sha256:f9700a48fc9ceee25e58aabe0b5d3c4d88bf2427ddb44e9208e4f5acbfe4dfdc
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocaml-ppx/ppxlib.git" && cd "ppxlib" && git fetch origin "refs/pull/640/head" && git reset --hard f7aea081
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:f9700a48fc9ceee25e58aabe0b5d3c4d88bf2427ddb44e9208e4f5acbfe4dfdc
# debian-13-5.4_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam
RUN cd ~/opam-repository && (git cat-file -e c180e1630960e0dbb8e30c22b3de89113eb5cc93 || git fetch origin master) && git reset -q --hard c180e1630960e0dbb8e30c22b3de89113eb5cc93 && git log --no-decorate -n1 --oneline
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN 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.2.1.1 csexp.1.5.2 dune.3.23.1 dune-configurator.3.23.1 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.2 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.14.0 sexplib0.v0.17.0 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --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

2026-05-26 17:18.15: Using cache hint "ocaml-ppx/ppxlib-ocaml/opam:debian-13-ocaml-5.4@sha256:f9700a48fc9ceee25e58aabe0b5d3c4d88bf2427ddb44e9208e4f5acbfe4dfdc-debian-13-5.4_opam-2.5-b66640535634494ff3041c37cc49ba3f"
2026-05-26 17:18.15: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:f9700a48fc9ceee25e58aabe0b5d3c4d88bf2427ddb44e9208e4f5acbfe4dfdc)
 (comment debian-13-5.4_opam-2.5)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "cd ~/opam-repository && (git cat-file -e c180e1630960e0dbb8e30c22b3de89113eb5cc93 || git fetch origin master) && git reset -q --hard c180e1630960e0dbb8e30c22b3de89113eb5cc93 && git log --no-decorate -n1 --oneline"))
 (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 "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 (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.2.1.1 csexp.1.5.2 dune.3.23.1 dune-configurator.3.23.1 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.2 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.14.0 sexplib0.v0.17.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.5 --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"))
)

2026-05-26 17:18.15: Waiting for resource in pool OCluster
2026-05-26 17:18.15: Waiting for worker…
2026-05-26 17:18.16: Got resource from pool OCluster
Building on eumache.caelum.ci.dev
All commits already cached
HEAD is now at f7aea081 Add suggestions to invalid_encoding error

(from ocaml/opam:debian-13-ocaml-5.4@sha256:f9700a48fc9ceee25e58aabe0b5d3c4d88bf2427ddb44e9208e4f5acbfe4dfdc)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4@sha256:f9700a48fc9ceee25e58aabe0b5d3c4d88bf2427ddb44e9208e4f5acbfe4dfdc' locally
docker.io/ocaml/opam@sha256:f9700a48fc9ceee25e58aabe0b5d3c4d88bf2427ddb44e9208e4f5acbfe4dfdc: Pulling from ocaml/opam
307f8152a55e: Already exists
53d481666795: Already exists
4ee22a5df705: Already exists
ae88ba2e7c99: Already exists
466fcae906a3: Already exists
024abae8c1ed: Already exists
d582ebdec32b: Already exists
aa12715098f1: Already exists
62299cb9f759: Already exists
a25072680c61: Already exists
43b56dd9ccf7: Already exists
244d3fc9f983: Already exists
c4fb47424a8f: Already exists
cf6798d648a4: Already exists
279a991ac05e: Already exists
cf66fc12d100: Already exists
cf66fc12d100: Already exists
d39d0e8ae83c: Already exists
4b54e9cd8568: Already exists
f65d25bce8ea: Already exists
7d77baca5957: Already exists
4f4fb700ef54: Already exists
a99a940ecfac: Already exists
f5264679c08b: Already exists
f2b70106109c: Already exists
b37088730bad: Already exists
cbd33ffade5f: Already exists
f1cf9ab18ca0: Already exists
87f3d72372a4: Already exists
25d15f09ece2: Already exists
6304df60357e: Already exists
34a8ea3e9b48: Already exists
a0636f21098e: Already exists
9511add15c87: Already exists
963ec00065e9: Already exists
3a098b8178a5: Already exists
ca1c1d43252a: Already exists
ca50eb78767c: Already exists
85fc1e77225e: Already exists
088f7de253ad: Already exists
938187a1d3ef: Pulling fs layer
044c0ba9a0dd: Pulling fs layer
6bbf310b2b49: Pulling fs layer
938187a1d3ef: Waiting
b44f087bbb3f: Pulling fs layer
82bcf6933519: Pulling fs layer
044c0ba9a0dd: Waiting
07e9a942ad36: Pulling fs layer
6bbf310b2b49: Waiting
94e0fd4beda2: Pulling fs layer
82bcf6933519: Waiting
07e9a942ad36: Waiting
94e0fd4beda2: Waiting
938187a1d3ef: Download complete
938187a1d3ef: Pull complete
044c0ba9a0dd: Download complete
044c0ba9a0dd: Pull complete
6bbf310b2b49: Verifying Checksum
6bbf310b2b49: Download complete
6bbf310b2b49: Pull complete
b44f087bbb3f: Verifying Checksum
b44f087bbb3f: Download complete
82bcf6933519: Download complete
07e9a942ad36: Download complete
94e0fd4beda2: Verifying Checksum
94e0fd4beda2: Download complete
b44f087bbb3f: Pull complete
82bcf6933519: Pull complete
07e9a942ad36: Pull complete
94e0fd4beda2: Pull complete
Digest: sha256:f9700a48fc9ceee25e58aabe0b5d3c4d88bf2427ddb44e9208e4f5acbfe4dfdc
Status: Downloaded newer image for ocaml/opam@sha256:f9700a48fc9ceee25e58aabe0b5d3c4d88bf2427ddb44e9208e4f5acbfe4dfdc
2026-05-26 17:18.18 ---> using "ac1995f8abd260285fd7f15d3dfa37a0c18d5abe2573e173c9117b295287210f" from cache

/: (comment debian-13-5.4_opam-2.5)

/: (user (uid 1000) (gid 1000))

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-05-26 17:18.18 ---> using "1d07a1e208f97a29f93c4d2a712495a1d7de424f2c667015b9e10e5d9678c419" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e c180e1630960e0dbb8e30c22b3de89113eb5cc93 || git fetch origin master) && git reset -q --hard c180e1630960e0dbb8e30c22b3de89113eb5cc93 && git log --no-decorate -n1 --oneline"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   fc08333d1b..418d45864d  master     -> origin/master
c180e16309 Merge pull request #29907 from dra27/host-arch-fixes
2026-05-26 17:18.18 ---> using "82ad440eed86c7dad4a5b6b24528420238a1e6de6ef539eea3d78082388e84cf" 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.1 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 1 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=1 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
2026-05-26 17:18.18 ---> using "64d6beeba3768eb20b06049176270e2f1b7e8e0bfe508e20b3c740904a4a48d8" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-111-generic
The OCaml toplevel, version 5.4.1
2.5.1
2026-05-26 17:18.18 ---> using "4c69221a860a8f3a7c6d6b1ad3edee715a4aed3d29c621ea979156e4b35cf0c2" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-05-26 17:18.18 ---> using "0090bf962d30c5f99655fd374ac2bff5a3c9964c3cced2583773390dcf02d0e1" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam update -u"))

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository

Everything as up-to-date as possible

The following packages are not being upgraded because the new versions conflict with other installed packages:
  - ocaml.5.5.0
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.5.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)
2026-05-26 17:18.18 ---> using "a6be5f5580dbfc308f55cef3f285c0f8edc8ddc03c670f390f546865fd9950f1" from cache

/src: (copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./))
2026-05-26 17:18.18 ---> using "cd31d0971244d91d792238aa54c04debd318b11fa0ea33ad3cedaa30f63c17f1" 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)
2026-05-26 17:18.22 ---> saved as "c850758c6194b2809174aad36fcdd1c84ce60bc0b8d8aa8b9d817f19b6953844"

/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-05-26 17:18.22 ---> saved as "4f1b97c7f55ecc1c3ca3098ac9fb60c67c1e36b69307d61f44001a02389dac2b"

/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.2.1.1 csexp.1.5.2 dune.3.23.1 dune-configurator.3.23.1 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.2 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.14.0 sexplib0.v0.17.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.5 --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 trixie InRelease [140 kB]
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian trixie/main amd64 Packages [9671 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [175 kB]
- Fetched 10.1 MB in 6s (1721 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-compiler is already installed (current version is 5.4.1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.1).
[NOTE] Package ocaml is already installed (current version is 5.4.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-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).
# To update the current shell environment, run: eval $(opam env)
2026-05-26 17:18.36 ---> saved as "a41ef35b8a03b0f02ad06f5d5cebe8b6bcffb1c430b65ccf67bde6728e023247"

/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-compiler is already installed (current version is 5.4.1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.1).
[NOTE] Package ocaml is already installed (current version is 5.4.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-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 13 packages
  - install base                    v0.17.3
  - install cinaps                  v0.15.1
  - install cmdliner                2.1.1
  - install csexp                   1.5.2
  - install dune                    3.23.1
  - install dune-configurator       3.23.1
  - install ocaml-compiler-libs     v0.17.0
  - install ocaml_intrinsics_kernel v0.17.2
  - install ocamlfind               1.9.8
  - install ppx_derivers            1.2.1
  - install re                      1.14.0
  - install sexplib0                v0.17.0
  - install yojson                  3.0.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.17.3  (cached)
-> retrieved cinaps.v0.15.1  (cached)
-> retrieved cmdliner.2.1.1  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.2  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved yojson.3.0.0  (cached)
-> retrieved dune.3.23.1, dune-configurator.3.23.1  (cached)
-> installed cmdliner.2.1.1
-> installed ocamlfind.1.9.8
-> installed dune.3.23.1
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml_intrinsics_kernel.v0.17.2
-> installed re.1.14.0
-> installed sexplib0.v0.17.0
-> installed yojson.3.0.0
-> installed cinaps.v0.15.1
-> installed dune-configurator.3.23.1
-> installed base.v0.17.3
Done.
# To update the current shell environment, run: eval $(opam env)
2026-05-26 17:19.36 ---> saved as "fbc087a38dbdfce29f258cd180e3fef6d35ec64f51795476273e2b7b345fa62e"

/src: (copy (src .) (dst /src))
2026-05-26 17:19.36 ---> saved as "a58c0fcf2d844eb6dfde2ea5844822f3023a503d8c811168bce6494d2a0c0249"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "dune-project", line 21, characters 2-42:
21 |   (sexplib0 (and :with-test (>= "v0.15"))) ; Printexc.register_printer in sexplib0 changed
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning: Duplicate dependency on package (sexplib0 (and :with-test (>=
v0.15))) in 'depends' field. If you want to specify multiple constraints,
combine them using (and ...).
Hint: To disable this warning, add the following to your dune-project file:
(warnings (duplicate_deps disabled))
File "test/encoding/504/migrations/run.t", line 1, characters 0-0:
/usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/encoding/504/migrations/run.t _build/default/test/encoding/504/migrations/run.t.corrected
diff --git a/_build/default/test/encoding/504/migrations/run.t b/_build/default/test/encoding/504/migrations/run.t.corrected
index 7ab50ef..d9e3d92 100644
--- a/_build/default/test/encoding/504/migrations/run.t
+++ b/_build/default/test/encoding/504/migrations/run.t.corrected
@@ -56,8 +56,11 @@ We also check our invalid decoding logic:
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   Error: ppxlib invalid encoding: ppxlib.migration.pexp_labeled_tuple_5_4
          
-         Ppxlib failed to decode a feature from the OCaml 5.4 AST. If this does
-         not seem right, please do open an issue at
+         Ppxlib failed to decode a feature from the OCaml 5.4 AST. This is
+         likely caused by the use of a 5.4+ language feature within code
+         directly interpreted by a ppx. If you'd like this feature to be
+         supported by the ppx involved, please reach out to the ppx
+         maintainers. If this does not seem right, please do open an issue at
          https://github.com/ocaml-ppx/ppxlib/issues.
   [1]
 
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2026-05-26 17:20.06: Job failed: Failed: Build failed