Organisationsocsigenlwt1cc280 ()debian-12-4.12_opam-2.4

debian-12-4.12_opam-2.4

Logs

Show full logs
2025-09-08 11:56.40: New job: test ocsigen/lwt https://github.com/ocsigen/lwt.git#refs/heads/lwt-6 (1cc28036b0804bba8badb18864668d0027c8a58e) (linux-x86_64:debian-12-4.12_opam-2.4)
Base: ocaml/opam:debian-12-ocaml-4.12@sha256:b8dae53bbb47cf967c5c59c587634fd73b90b17daf3d39f26397ce21688fb50e
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocsigen/lwt.git" -b "lwt-6" && cd "lwt" && git reset --hard 1cc28036
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.12@sha256:b8dae53bbb47cf967c5c59c587634fd73b90b17daf3d39f26397ce21688fb50e
# debian-12-4.12_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 4c972ba0fc24bcf3f84a30d19f8d725f7ce382a4 || git fetch origin master) && git reset -q --hard 4c972ba0fc24bcf3f84a30d19f8d725f7ce382a4 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 lwt_retry.opam lwt_react.opam lwt_ppx__ppx_let_tests.opam lwt_ppx.opam lwt_direct.opam lwt.opam ./
RUN opam pin add -yn lwt_retry.dev './' && \
    opam pin add -yn lwt_react.dev './' && \
    opam pin add -yn lwt_ppx__ppx_let_tests.dev './' && \
    opam pin add -yn lwt_ppx.dev './' && \
    opam pin add -yn lwt_direct.dev './' && \
    opam pin add -yn lwt.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.20.1 dune-configurator.3.20.1 lwt.5.9.2 ocaml.4.12.1 ocaml-base-compiler.4.12.1 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ppx_derivers.1.2.1 ppxlib.0.36.0 react.1.2.2 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y lwt_retry.dev lwt_react.dev lwt_ppx.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build --only-packages=lwt_retry,lwt_react,lwt_ppx @install @check @runtest && rm -rf _build

END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK

2025-09-08 11:56.40: Using cache hint "ocsigen/lwt-ocaml/opam:debian-12-ocaml-4.12@sha256:b8dae53bbb47cf967c5c59c587634fd73b90b17daf3d39f26397ce21688fb50e-debian-12-4.12_opam-2.4-411fffa342eb85e056ea0377ff2131d9"
2025-09-08 11:56.40: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.12@sha256:b8dae53bbb47cf967c5c59c587634fd73b90b17daf3d39f26397ce21688fb50e)
 (comment debian-12-4.12_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 4c972ba0fc24bcf3f84a30d19f8d725f7ce382a4 || git fetch origin master) && git reset -q --hard 4c972ba0fc24bcf3f84a30d19f8d725f7ce382a4 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src lwt_retry.opam lwt_react.opam lwt_ppx__ppx_let_tests.opam lwt_ppx.opam lwt_direct.opam lwt.opam)
       (dst ./))
 (run (network host)
      (shell  "opam pin add -yn lwt_retry.dev './' && \
             \nopam pin add -yn lwt_react.dev './' && \
             \nopam pin add -yn lwt_ppx__ppx_let_tests.dev './' && \
             \nopam pin add -yn lwt_ppx.dev './' && \
             \nopam pin add -yn lwt_direct.dev './' && \
             \nopam pin add -yn lwt.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.20.1 dune-configurator.3.20.1 lwt.5.9.2 ocaml.4.12.1 ocaml-base-compiler.4.12.1 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ppx_derivers.1.2.1 ppxlib.0.36.0 react.1.2.2 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.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 lwt_retry.dev lwt_react.dev lwt_ppx.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=lwt_retry,lwt_react,lwt_ppx @install @check @runtest && rm -rf _build"))
)

2025-09-08 11:56.40: Waiting for resource in pool OCluster
2025-09-08 11:56.40: Waiting for worker…
2025-09-08 11:56.40: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
HEAD is now at 1cc28036b multidomain pipe test: deactivate on windows

(from ocaml/opam:debian-12-ocaml-4.12@sha256:b8dae53bbb47cf967c5c59c587634fd73b90b17daf3d39f26397ce21688fb50e)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.12@sha256:b8dae53bbb47cf967c5c59c587634fd73b90b17daf3d39f26397ce21688fb50e' locally
docker.io/ocaml/opam@sha256:b8dae53bbb47cf967c5c59c587634fd73b90b17daf3d39f26397ce21688fb50e: Pulling from ocaml/opam
bbd0d7f7db1c: Already exists
e9d14e35859e: Pulling fs layer
dd6cb33cc265: Pulling fs layer
db5a8acf6255: Pulling fs layer
4a4fd893180b: Pulling fs layer
db5a8acf6255: Waiting
dd6cb33cc265: Waiting
4a4fd893180b: Waiting
dd6cb33cc265: Download complete
db5a8acf6255: Verifying Checksum
db5a8acf6255: Download complete
4a4fd893180b: Verifying Checksum
4a4fd893180b: Download complete
e9d14e35859e: Verifying Checksum
e9d14e35859e: Download complete
e9d14e35859e: Pull complete
dd6cb33cc265: Pull complete
db5a8acf6255: Pull complete
4a4fd893180b: Pull complete
Digest: sha256:b8dae53bbb47cf967c5c59c587634fd73b90b17daf3d39f26397ce21688fb50e
Status: Downloaded newer image for ocaml/opam@sha256:b8dae53bbb47cf967c5c59c587634fd73b90b17daf3d39f26397ce21688fb50e
2025-09-08 11:56.42 ---> using "59bbb095690ba4cbf2ac423dae88d71d6b278aceda192bfaf6baccb81aab8214" from cache

/: (comment debian-12-4.12_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-09-08 11:56.42 ---> using "7e6b2b6ad4b92f1b0e4f77317be151ec874e6ac23ede60e7a2a4eec3246a386b" 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-09-08 11:56.42 ---> using "97997a43b9e4fff25bdcd54d7592377f35a5ef8aacfd6b09eaa4685f62edfc74" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.12.1
2.4.1
2025-09-08 11:56.42 ---> using "3006f098a660c601d8e784a611b01de2622e45e972b5d958d108bec5cc33d3e4" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-09-08 11:56.42 ---> using "e9f591a2a9fe4090f1cc220fc1b2381301a8b1a3e71cf59ef5efa759649027a5" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 4c972ba0fc24bcf3f84a30d19f8d725f7ce382a4 || git fetch origin master) && git reset -q --hard 4c972ba0fc24bcf3f84a30d19f8d725f7ce382a4 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   ee24528071..9c3d4d2c45  master     -> origin/master
4c972ba0fc Merge pull request #28397 from maiste/release-dune-3.20.1

<><> 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 at these versions (e.g. "opam upgrade ocaml.5.3.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)
2025-09-08 11:57.04 ---> saved as "7a28f9dfc9fc1f8304b05228b347433a1a1758eadce98bcc940a73441f4663d1"

/src: (copy (src lwt_retry.opam lwt_react.opam lwt_ppx__ppx_let_tests.opam lwt_ppx.opam lwt_direct.opam lwt.opam)
            (dst ./))
2025-09-08 11:57.04 ---> saved as "fb91bc4366dc1cd8970e2fb0a8f9682de23f2237cbf34cdce6b9d770a0c8f45d"

/src: (run (network host)
           (shell  "opam pin add -yn lwt_retry.dev './' && \
                  \nopam pin add -yn lwt_react.dev './' && \
                  \nopam pin add -yn lwt_ppx__ppx_let_tests.dev './' && \
                  \nopam pin add -yn lwt_ppx.dev './' && \
                  \nopam pin add -yn lwt_direct.dev './' && \
                  \nopam pin add -yn lwt.dev './'"))
[lwt_retry.dev] synchronised (file:///src)
lwt_retry is now pinned to file:///src (version dev)
[lwt_react.dev] synchronised (file:///src)
lwt_react is now pinned to file:///src (version dev)
[NOTE] Package lwt_ppx__ppx_let_tests does not exist in opam repositories registered in the current switch.
[lwt_ppx__ppx_let_tests.dev] synchronised (file:///src)
[WARNING] Failed checks on lwt_ppx__ppx_let_tests package definition from source at file:///src:
  warning 62: License doesn't adhere to the SPDX standard, see https://spdx.org/licenses/ : "NOTFORRELEASE"
lwt_ppx__ppx_let_tests is now pinned to file:///src (version dev)
[lwt_ppx.dev] synchronised (file:///src)
lwt_ppx is now pinned to file:///src (version dev)
[lwt_direct.dev] synchronised (file:///src)
lwt_direct is now pinned to file:///src (version dev)
[lwt.dev] synchronised (file:///src)
lwt is now pinned to file:///src (version dev)
2025-09-08 11:57.14 ---> saved as "083b3c4ee7c3463be1aa1d735cbd83beb242893b8b0121b9bca58d376fd3b09e"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-08 11:57.14 ---> saved as "4071d3367f3186ec061fd0bb9b22f2718dbe9d9eff31478fff4cefe1843c2c4e"

/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.20.1 dune-configurator.3.20.1 lwt.5.9.2 ocaml.4.12.1 ocaml-base-compiler.4.12.1 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ppx_derivers.1.2.1 ppxlib.0.36.0 react.1.2.2 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.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 lwt_retry.dev lwt_react.dev lwt_ppx.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/main amd64 Packages [8791 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [277 kB]
- Fetched 9323 kB in 2s (4781 kB/s)
- Reading package lists...
- 
[ERROR] Package lwt has no version 5.9.2.
"/usr/bin/env" "bash" "-c" "opam update --depexts && opam install --cli=2.4 --depext-only -y lwt_retry.dev lwt_react.dev lwt_ppx.dev $DEPS" failed with exit status 5
2025-09-08 11:57.18: Job failed: Failed: Build failed