Organisationsocurrentocaml-dockerfile928957 (master)debian-13-4.14+flambda_opam-2.4

debian-13-4.14+flambda_opam-2.4

Link Copied
Code Copied

Logs

2025-12-14 10:17.31: New job: test ocurrent/ocaml-dockerfile https://github.com/ocurrent/ocaml-dockerfile.git#refs/heads/master (92895725e029269d6d2d6cac8e9e51ca508e1afd) (linux-x86_64:debian-13-4.14+flambda_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:030f6e17bf37bd3d34a94989132a94290e60c3a09ee8e86d3566a3452ad93d1a
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocurrent/ocaml-dockerfile.git" -b "master" && cd "ocaml-dockerfile" && git reset --hard 92895725
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:030f6e17bf37bd3d34a94989132a94290e60c3a09ee8e86d3566a3452ad93d1a
# debian-13-4.14+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 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.16.4 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.10.0 ocaml.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-syntax-shims.1.0.0 ocaml-variants.4.14.2+options ocaml-version.4.0.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 re.1.14.0 rresult.0.7.0 sexplib0.v0.16.0 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-14 10:17.31: Using cache hint "ocurrent/ocaml-dockerfile-ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:030f6e17bf37bd3d34a94989132a94290e60c3a09ee8e86d3566a3452ad93d1a-debian-13-4.14+flambda_opam-2.4-eeff5a8f7402fdc5a57794bee058253c"
2025-12-14 10:17.31: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:030f6e17bf37bd3d34a94989132a94290e60c3a09ee8e86d3566a3452ad93d1a)
(comment debian-13-4.14+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 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.16.4 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.10.0 ocaml.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-syntax-shims.1.0.0 ocaml-variants.4.14.2+options ocaml-version.4.0.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 re.1.14.0 rresult.0.7.0 sexplib0.v0.16.0 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-14 10:17.31: Waiting for resource in pool OCluster
2025-12-14 12:30.22: Waiting for worker…
2025-12-14 12:33.51: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at 9289572 Merge pull request #254 from mtelvers/alpine-3.23.0


(from ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:030f6e17bf37bd3d34a94989132a94290e60c3a09ee8e86d3566a3452ad93d1a)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:030f6e17bf37bd3d34a94989132a94290e60c3a09ee8e86d3566a3452ad93d1a' locally
docker.io/ocaml/opam@sha256:030f6e17bf37bd3d34a94989132a94290e60c3a09ee8e86d3566a3452ad93d1a: Pulling from ocaml/opam
2981f7e8980b: Already exists
9c63e1c4ba84: Already exists
02578b9c9f1b: Already exists
3801cb7ba5e6: Already exists
1c4cdedd39f1: Already exists
40f6006c5f5a: Pulling fs layer
c451a17216ec: Pulling fs layer
e4104b8f72ee: Pulling fs layer
7c7dbc5e7919: Pulling fs layer
aa82be714e7c: Pulling fs layer
922520f12384: Pulling fs layer
9bfea042cef8: Pulling fs layer
1244979f7c21: Pulling fs layer
7583a0e34f94: Pulling fs layer
14bef3f2665a: Pulling fs layer
3a4b42ce6cb5: Pulling fs layer
e4104b8f72ee: Download complete
b0a08a900877: Pulling fs layer
16ac87e68d60: Pulling fs layer
74ac6e8c9b82: Pulling fs layer
b41290a57dc5: Pulling fs layer
592e5bcb7159: Pulling fs layer
4f4fb700ef54: Pulling fs layer
1db0705661a3: Pulling fs layer
76bb8e35b9cc: Pulling fs layer
3bc9d98c3b49: Pulling fs layer
7096ef42e6c0: Pulling fs layer
cd0e70de8125: Pulling fs layer
23ffab57f98e: Pulling fs layer
b974353d8023: Pulling fs layer
c74fba566723: Pulling fs layer
5ad399846f45: Pulling fs layer
3e7203fa3980: Pulling fs layer
0b8915d2a92b: Pulling fs layer
e68c7a56c438: Pulling fs layer
9024d680a167: Pulling fs layer
3c7c73421b6e: Pulling fs layer
7134fa9b4278: Pulling fs layer
9d94fb523099: Pulling fs layer
20d06dbdae7e: Pulling fs layer
b9a45e537661: Pulling fs layer
d10850191bb7: Pulling fs layer
bd58aae47de1: Pulling fs layer
9d68d26a5f31: Pulling fs layer
e508eef913e7: Pulling fs layer
c451a17216ec: Download complete
3e7203fa3980: Download complete
7c7dbc5e7919: Download complete
0b8915d2a92b: Download complete
e68c7a56c438: Download complete
9024d680a167: Download complete
3c7c73421b6e: Download complete
7134fa9b4278: Download complete
9d94fb523099: Download complete
20d06dbdae7e: Download complete
b9a45e537661: Download complete
aa82be714e7c: Download complete
922520f12384: Download complete
9bfea042cef8: Download complete
1244979f7c21: Download complete
7583a0e34f94: Download complete
14bef3f2665a: Download complete
3a4b42ce6cb5: Download complete
b0a08a900877: Download complete
16ac87e68d60: Download complete
74ac6e8c9b82: Download complete
b41290a57dc5: Download complete
592e5bcb7159: Download complete
4f4fb700ef54: Download complete
1db0705661a3: Download complete
76bb8e35b9cc: Download complete
3bc9d98c3b49: Download complete
7096ef42e6c0: Download complete
cd0e70de8125: Download complete
23ffab57f98e: Download complete
b974353d8023: Download complete
c74fba566723: Download complete
5ad399846f45: Download complete
e508eef913e7: Waiting
40f6006c5f5a: Pull complete
bd58aae47de1: Verifying Checksum
bd58aae47de1: Download complete
9d68d26a5f31: Verifying Checksum
9d68d26a5f31: Download complete
e508eef913e7: Verifying Checksum
e508eef913e7: Download complete
c451a17216ec: Pull complete
e4104b8f72ee: Pull complete
7c7dbc5e7919: Pull complete
aa82be714e7c: Pull complete
922520f12384: Pull complete
9bfea042cef8: Pull complete
d10850191bb7: Verifying Checksum
d10850191bb7: Download complete
1244979f7c21: Pull complete
7583a0e34f94: Pull complete
14bef3f2665a: Pull complete
3a4b42ce6cb5: Pull complete
b0a08a900877: Pull complete
16ac87e68d60: Pull complete
74ac6e8c9b82: Pull complete
b41290a57dc5: Pull complete
592e5bcb7159: Pull complete
4f4fb700ef54: Pull complete
1db0705661a3: Pull complete
76bb8e35b9cc: Pull complete
3bc9d98c3b49: Pull complete
7096ef42e6c0: Pull complete
cd0e70de8125: Pull complete
23ffab57f98e: Pull complete
b974353d8023: Pull complete
c74fba566723: Pull complete
5ad399846f45: Pull complete
3e7203fa3980: Pull complete
0b8915d2a92b: Pull complete
e68c7a56c438: Pull complete
9024d680a167: Pull complete
3c7c73421b6e: Pull complete
7134fa9b4278: Pull complete
9d94fb523099: Pull complete
20d06dbdae7e: Pull complete
b9a45e537661: Pull complete
d10850191bb7: Pull complete
bd58aae47de1: Pull complete
9d68d26a5f31: Pull complete
e508eef913e7: Pull complete
Digest: sha256:030f6e17bf37bd3d34a94989132a94290e60c3a09ee8e86d3566a3452ad93d1a
Status: Downloaded newer image for ocaml/opam@sha256:030f6e17bf37bd3d34a94989132a94290e60c3a09ee8e86d3566a3452ad93d1a
2025-12-14 12:33.52 ---> using "5ec487cd01cb7da3d76bd6a5d98d77a9d3a0211812bded7e1df4fcff3e176a70" from cache


/: (comment debian-13-4.14+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-12-14 12:33.52 ---> using "95b3f87b02bc2f0c30922f4856c4a595406bdafaaf1c6fa0a4b345b63ffb2002" 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-14 12:33.52 ---> using "becad6baff47c01798f6cc3d7fd86151a0aa83193fbddedd0457b2db12002c11" from cache


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


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-12-14 12:33.52 ---> using "747dd3f20d18ebc0ce4dffc8068b84331c6884feb7e0f9b1bb9c480b8bbd4081" 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"))
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-14 12:33.52 ---> using "9d3f1de3e3bcc09a8029b5d397a0afe582f01f13347fc1ca9219331d0f665dd6" from cache


/src: (copy (src dockerfile.opam dockerfile-opam.opam dockerfile-cmd.opam)
(dst ./))
2025-12-14 12:33.53 ---> saved as "e8d5dd5164c3262df8e31848ed33e36497f956b15f9922334120ea7608a3eb43"


/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-14 12:34.01 ---> saved as "fe126e5617a29687c72ecc1aebad0cbff8d511ac3a7e497b9c7637b536b5c7a5"


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


/src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base.v0.16.4 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.10.0 ocaml.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-syntax-shims.1.0.0 ocaml-variants.4.14.2+options ocaml-version.4.0.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 re.1.14.0 rresult.0.7.0 sexplib0.v0.16.0 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"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- 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-security trixie-security/main amd64 Packages [82.1 kB]
- Fetched 173 kB in 0s (926 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-variants is already installed (current version is 4.14.2+options).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-14 12:34.24 ---> saved as "93bef7fc127f9eb7b94bc496a78e4f3dc4bc408aa4e0360e87f91fee544e1f72"


/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 4.14.2+options).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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.16.4
- 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.10.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.16.0
- install ppxlib              0.35.0
- install re                  1.14.0
- install rresult             0.7.0
- install sexplib0            v0.16.0
- 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.16.4  (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.10.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.16.0  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved sexplib0.v0.16.0  (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 ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed rresult.0.7.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed logs.0.10.0
-> installed fpath.0.7.3
-> installed bos.0.2.1
-> installed dune.3.20.2
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed ocaml-version.4.0.3
-> installed csexp.1.5.2
-> installed sexplib0.v0.16.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed re.1.14.0
-> installed dune-configurator.3.20.2
-> installed alcotest.1.9.1
-> installed base.v0.16.4
-> installed ppxlib.0.35.0
-> installed ppx_sexp_conv.v0.16.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-14 12:37.53 ---> saved as "61273becdf64999083e56e2287f0fcc493a22e717ac6c3c634661a4852975d05"


/src: (copy (src .) (dst /src))
2025-12-14 12:37.54 ---> saved as "c3b9c1655a0bd5793e0a2fafb3e875b5ae3c60873fb75c1464c8d970df7ce8fd"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./dockerfile.exe)
Testing `test'.
This run has ID `8UYHTF74'.


[OK]          dockerfile          0   string_of_t.
[OK]          dockerfile          1   string_of_t.
[OK]          dockerfile          2   Format RUN heredocs.


Full test results in `/src/_build/default/test/_build/_tests/test'.
Test Successful in 0.001s. 3 tests run.
(cd _build/default/test-opam && ./dockerfile.exe)
Testing `test'.
This run has ID `ESDRPVWK'.


[OK]          dockerfile-opam          0   Distro.compare.


Full test results in `/src/_build/default/test-opam/_build/_tests/test'.
Test Successful in 0.000s. 1 test run.
2025-12-14 12:38.01 ---> saved as "a07ebf70b386557321471b93627d2acefd9afbad38111f4d1cf061a477db5523"
Job succeeded
2025-12-14 12:38.02: Job succeeded