Organisationsocurrentocaml-dockerfile2bf406 ()debian-13-4.13_opam-2.4

debian-13-4.13_opam-2.4

Logs

Show full logs
2025-12-05 14:29.04: New job: test ocurrent/ocaml-dockerfile https://github.com/ocurrent/ocaml-dockerfile.git#refs/heads/master (2bf4063672e3970de42e6d8792e47b592a7610c9) (linux-x86_64:debian-13-4.13_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-4.13@sha256:a4d70502982a3e7beccb27eb01aac4196e3ec2a175c2784cf99423d876367897
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocurrent/ocaml-dockerfile.git" -b "master" && cd "ocaml-dockerfile" && git reset --hard 2bf40636
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.13@sha256:a4d70502982a3e7beccb27eb01aac4196e3ec2a175c2784cf99423d876367897
# debian-13-4.13_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 8a324a5b9945e0e515da441ede437f3756caa83d || git fetch origin master) && git reset -q --hard 8a324a5b9945e0e515da441ede437f3756caa83d && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 dockerfile.opam dockerfile-opam.opam dockerfile-cmd.opam ./
RUN opam pin add -yn dockerfile.dev './' && \
    opam pin add -yn dockerfile-opam.dev './' && \
    opam pin add -yn dockerfile-cmd.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.1 astring.0.8.5 base.v0.15.1 base-bigarray.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.1.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 fpath.0.7.3 logs.0.8.0 ocaml.4.13.1 ocaml-base-compiler.4.13.1 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppx_sexp_conv.v0.15.1 ppxlib.0.35.0 re.1.14.0 rresult.0.7.0 sexplib0.v0.15.1 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y dockerfile.dev dockerfile-opam.dev dockerfile-cmd.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-05 14:29.04: Using cache hint "ocurrent/ocaml-dockerfile-ocaml/opam:debian-13-ocaml-4.13@sha256:a4d70502982a3e7beccb27eb01aac4196e3ec2a175c2784cf99423d876367897-debian-13-4.13_opam-2.4-008696e4e6d9e0d5381312b005aac135"
2025-12-05 14:29.04: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.13@sha256:a4d70502982a3e7beccb27eb01aac4196e3ec2a175c2784cf99423d876367897)
 (comment debian-13-4.13_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 8a324a5b9945e0e515da441ede437f3756caa83d || git fetch origin master) && git reset -q --hard 8a324a5b9945e0e515da441ede437f3756caa83d && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src dockerfile.opam dockerfile-opam.opam dockerfile-cmd.opam)
       (dst ./))
 (run (network host)
      (shell  "opam pin add -yn dockerfile.dev './' && \
             \nopam pin add -yn dockerfile-opam.dev './' && \
             \nopam pin add -yn dockerfile-cmd.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "alcotest.1.9.1 astring.0.8.5 base.v0.15.1 base-bigarray.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.1.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 fpath.0.7.3 logs.0.8.0 ocaml.4.13.1 ocaml-base-compiler.4.13.1 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppx_sexp_conv.v0.15.1 ppxlib.0.35.0 re.1.14.0 rresult.0.7.0 sexplib0.v0.15.1 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4")
 (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 dockerfile.dev dockerfile-opam.dev dockerfile-cmd.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-05 14:29.04: Waiting for resource in pool OCluster
2025-12-05 14:29.04: Waiting for worker…
2025-12-05 14:29.05: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at 2bf4063 Merge pull request #252 from ocurrent/dune-3.20

(from ocaml/opam:debian-13-ocaml-4.13@sha256:a4d70502982a3e7beccb27eb01aac4196e3ec2a175c2784cf99423d876367897)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.13@sha256:a4d70502982a3e7beccb27eb01aac4196e3ec2a175c2784cf99423d876367897' locally
docker.io/ocaml/opam@sha256:a4d70502982a3e7beccb27eb01aac4196e3ec2a175c2784cf99423d876367897: Pulling from ocaml/opam
13cc39f8244a: Already exists
b27d53669817: Already exists
062c909e206e: Already exists
265baae72087: Already exists
b6b7b385247c: Already exists
bfb7bf5b7c6d: Already exists
b18c76fc18f2: Already exists
6bdbb37ee35f: Already exists
84035aa4da2d: Already exists
0c3307e14207: Already exists
30b92d637d72: Already exists
991b07583706: Already exists
e1d7a79a1495: Already exists
6b08d63c6214: Already exists
4c7236344711: Already exists
12506f41e8b0: Already exists
12506f41e8b0: Already exists
2330d596aec1: Already exists
a48299f5ec62: Already exists
04618a577568: Already exists
8c4b002d072b: Already exists
4f4fb700ef54: Already exists
ff68f05e2976: Already exists
d5543b560a3e: Already exists
4a9030bbb1ef: Already exists
c59b3bec3411: Already exists
85a7c9be9495: Already exists
dbc6bd8f2e44: Already exists
6680a5133ca2: Already exists
470c0056084c: Already exists
6b9af56b67cf: Already exists
c572cde25fb3: Already exists
033b2d405acf: Already exists
663cc5b3d424: Already exists
840bbd47fded: Already exists
fb8f644ba010: Already exists
66735543f230: Already exists
7896354b8c11: Already exists
a0063722d8c2: Already exists
7018e4a5881b: Already exists
b9fc416556b6: Pulling fs layer
f7413e2a9aab: Pulling fs layer
e585362811e2: Pulling fs layer
e06c8af00d12: Pulling fs layer
f7413e2a9aab: Download complete
e585362811e2: Verifying Checksum
e585362811e2: Download complete
e06c8af00d12: Verifying Checksum
e06c8af00d12: Download complete
b9fc416556b6: Verifying Checksum
b9fc416556b6: Download complete
b9fc416556b6: Pull complete
f7413e2a9aab: Pull complete
e585362811e2: Pull complete
e06c8af00d12: Pull complete
Digest: sha256:a4d70502982a3e7beccb27eb01aac4196e3ec2a175c2784cf99423d876367897
Status: Downloaded newer image for ocaml/opam@sha256:a4d70502982a3e7beccb27eb01aac4196e3ec2a175c2784cf99423d876367897
2025-12-05 14:29.05 ---> using "cfee2dbb7c3b53094b10ce8a6a5511cb63fae7bc2641f5dd3c4ab8f4ce94702d" from cache

/: (comment debian-13-4.13_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-05 14:29.05 ---> using "9158c2a1eded196c6b2588085476f3222a8ab152b4cb5015d1d9a886577c8a64" 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-12-05 14:29.05 ---> using "0bae906eedfec94fadb86e1149d9d9c3630717641a1ebf839d277d614fb0ab4b" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.13.1
2.4.1
2025-12-05 14:29.05 ---> using "417ae334501a4ab642a2dcbe5bab80c2ddf8e8f7b2e6c1978712544465abcaf9" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-12-05 14:29.05 ---> using "b1e1ff634f284116085c4c2c0e7d0f6f50d5f4a8af066048dba5788f1b6a08fc" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 8a324a5b9945e0e515da441ede437f3756caa83d || git fetch origin master) && git reset -q --hard 8a324a5b9945e0e515da441ede437f3756caa83d && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   21f97b2e6d..3e41859015  master     -> origin/master
8a324a5b99 Add: cmdliner.2.1.0 (#28962)

<><> 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.4.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-12-05 14:29.26 ---> saved as "9c8952c1ab612b0dcef4e87b0db3efc12d543f9790329b5de365e87696a588d5"

/src: (copy (src dockerfile.opam dockerfile-opam.opam dockerfile-cmd.opam)
            (dst ./))
2025-12-05 14:29.26 ---> saved as "576a1be54a757fef4bf82db29fbbd06ad0a948a085ad9de7af716d2ba6c0aa6f"

/src: (run (network host)
           (shell  "opam pin add -yn dockerfile.dev './' && \
                  \nopam pin add -yn dockerfile-opam.dev './' && \
                  \nopam pin add -yn dockerfile-cmd.dev './'"))
[dockerfile.dev] synchronised (file:///src)
dockerfile is now pinned to file:///src (version dev)
[dockerfile-opam.dev] synchronised (file:///src)
dockerfile-opam is now pinned to file:///src (version dev)
[dockerfile-cmd.dev] synchronised (file:///src)
dockerfile-cmd is now pinned to file:///src (version dev)
2025-12-05 14:29.30 ---> saved as "caf70a2b6f796d74dd7ada8da5e729b391a966cb75759a5750ad54464bd4fe08"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-12-05 14:29.30 ---> saved as "a3eaea041cb9dd25e606482d12a5561ec6c8d311e777745f19643e965672a7dc"

/src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base.v0.15.1 base-bigarray.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.1.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 fpath.0.7.3 logs.0.8.0 ocaml.4.13.1 ocaml-base-compiler.4.13.1 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppx_sexp_conv.v0.15.1 ppxlib.0.35.0 re.1.14.0 rresult.0.7.0 sexplib0.v0.15.1 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4")

/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 dockerfile.dev dockerfile-opam.dev dockerfile-cmd.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 [9670 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [81.6 kB]
- Fetched 9983 kB in 5s (2012 kB/s)
- Reading package lists...
- 

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[dockerfile.dev] synchronised (file:///src)
[dockerfile-cmd.dev] synchronised (file:///src)
[dockerfile-opam.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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.13.1).
[NOTE] Package ocaml is already installed (current version is 4.13.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-12-05 14:29.46 ---> saved as "b042433a65d5bfa4553d1ea30e3d92b0fb37c4d4c855ff1e3a06cdfbfa79b62d"

/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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.13.1).
[NOTE] Package ocaml is already installed (current version is 4.13.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 25 packages
  - install alcotest            1.9.1
  - install astring             0.8.5
  - install base                v0.15.1
  - install bos                 0.2.1
  - install cmdliner            2.1.0
  - install csexp               1.5.2
  - install dune                3.20.2
  - install dune-configurator   3.20.2
  - install fmt                 0.11.0
  - install fpath               0.7.3
  - install logs                0.8.0
  - install ocaml-compiler-libs v0.12.4
  - install ocaml-syntax-shims  1.0.0
  - install ocaml-version       4.0.3
  - install ocamlbuild          0.16.1
  - install ocamlfind           1.9.8
  - install ppx_derivers        1.2.1
  - install ppx_sexp_conv       v0.15.1
  - install ppxlib              0.35.0
  - install re                  1.14.0
  - install rresult             0.7.0
  - install sexplib0            v0.15.1
  - install stdlib-shims        0.3.0
  - install topkg               1.1.1
  - install uutf                1.0.4

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved base.v0.15.1  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved logs.0.8.0  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocaml-version.4.0.3  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_sexp_conv.v0.15.1  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved sexplib0.v0.15.1  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> installed cmdliner.2.1.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
2025-12-05 14:30.04: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled