Organisationsocaml-ppxppxlib37c0ed ()debian-12-5.4_opam-2.4

debian-12-5.4_opam-2.4

Logs

Show full logs
2025-12-10 12:20.21: New job: test ocaml-ppx/ppxlib https://github.com/ocaml-ppx/ppxlib.git#refs/pull/616/head (37c0ed97b8bf4a740f01d47d67d3a14e88a3bd4f) (linux-x86_64:debian-12-5.4_opam-2.4)
Base: ocaml/opam:debian-12-ocaml-5.4@sha256:46d05129576e56d50342ad68f82d0ab7595ae84bdd55461cb5ce2178e4edb0bc
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocaml-ppx/ppxlib.git" && cd "ppxlib" && git fetch origin "refs/pull/616/head" && git reset --hard 37c0ed97
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.4@sha256:46d05129576e56d50342ad68f82d0ab7595ae84bdd55461cb5ce2178e4edb0bc
# debian-12-5.4_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 13c1962c236e678d14d13994231f8924a8a79b8f || git fetch origin master) && git reset -q --hard 13c1962c236e678d14d13994231f8924a8a79b8f && 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.2.1.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.14.0 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-12-10 12:20.21: Using cache hint "ocaml-ppx/ppxlib-ocaml/opam:debian-12-ocaml-5.4@sha256:46d05129576e56d50342ad68f82d0ab7595ae84bdd55461cb5ce2178e4edb0bc-debian-12-5.4_opam-2.4-f43f1c817e1fd3192146aca5585587da"
2025-12-10 12:20.21: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.4@sha256:46d05129576e56d50342ad68f82d0ab7595ae84bdd55461cb5ce2178e4edb0bc)
 (comment debian-12-5.4_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 13c1962c236e678d14d13994231f8924a8a79b8f || git fetch origin master) && git reset -q --hard 13c1962c236e678d14d13994231f8924a8a79b8f && 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.2.1.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.14.0 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-12-10 12:20.21: Waiting for resource in pool OCluster
2025-12-10 12:20.21: Waiting for worker…
2025-12-10 12:22.05: Got resource from pool OCluster
Building on clete
All commits already cached
HEAD is now at 37c0ed97 Ignore extensions inside attributes for the unused extension check

(from ocaml/opam:debian-12-ocaml-5.4@sha256:46d05129576e56d50342ad68f82d0ab7595ae84bdd55461cb5ce2178e4edb0bc)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.4@sha256:46d05129576e56d50342ad68f82d0ab7595ae84bdd55461cb5ce2178e4edb0bc' locally
docker.io/ocaml/opam@sha256:46d05129576e56d50342ad68f82d0ab7595ae84bdd55461cb5ce2178e4edb0bc: Pulling from ocaml/opam
173524831767: Already exists
Digest: sha256:46d05129576e56d50342ad68f82d0ab7595ae84bdd55461cb5ce2178e4edb0bc
Status: Downloaded newer image for ocaml/opam@sha256:46d05129576e56d50342ad68f82d0ab7595ae84bdd55461cb5ce2178e4edb0bc
2025-12-10 12:23.10 ---> saved as "000a7a5230caf0b1b29fda19d39a27ddd44056198471ed1c1eb4ed45f2751dce"

/: (comment debian-12-5.4_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-12-10 12:23.11 ---> saved as "e0fcaefa0dcd004258a549bf6b6e8e6034671f600c3b31de42138f18cffca810"

/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-12-10 12:23.57 ---> saved as "6896e2f51769eacf026720e9c19fb3cf1c4c0c050c6aa06b7a67e6bb34d33974"

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-84-generic
The OCaml toplevel, version 5.4.0
2.4.1
2025-12-10 12:23.58 ---> saved as "0c33ae6482b91bd239d43ecf9b9e0db7d18e16ef21795dae7ba1b094adf92962"

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-12-10 12:23.59 ---> saved as "30f28ca1d3d54d1406c77c1c356cfa6f1f0425fab0975b77b4fd210467019776"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 13c1962c236e678d14d13994231f8924a8a79b8f || git fetch origin master) && git reset -q --hard 13c1962c236e678d14d13994231f8924a8a79b8f && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   2ec6d6cc92..d684c896eb  master     -> origin/master
13c1962c23 Merge pull request #29040 from dra27/oxcaml-constraints

<><> 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-12-10 12:24.43 ---> saved as "8f89039b717de210c75dc7ad998a9269c8e5307267a189b579099017cd3410df"

/src: (copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./))
2025-12-10 12:24.44 ---> saved as "afd8cba2e16564a752d2974579b9df434033b346e15feca800d849fcfb57b6bf"

/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 './'"))
2025-12-10 12:24.45: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled