Organisationsocurrentocaml-versionc1cd18 (add-sig)debian-13-4.12_opam-2.5

debian-13-4.12_opam-2.5

Link Copied
Code Copied

Logs

2026-04-14 08:12.55: New job: test ocurrent/ocaml-version https://github.com/ocurrent/ocaml-version.git#refs/heads/add-sig (c1cd1832273b7fc49d1e178375f004d8a453963b) (linux-x86_64:debian-13-4.12_opam-2.5)
Base: ocaml/opam:debian-13-ocaml-4.12@sha256:1dfe09f108f487a9668b4b953b7d8c46659d639f9573dfcf0f691ff55b8cca53
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocurrent/ocaml-version.git" -b "add-sig" && cd "ocaml-version" && git reset --hard c1cd1832
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.12@sha256:1dfe09f108f487a9668b4b953b7d8c46659d639f9573dfcf0f691ff55b8cca53
# debian-13-4.12_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 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 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 || git fetch origin master) && git reset -q --hard 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ocaml-version.opam ./
RUN opam pin add -yn ocaml-version.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.2.1.0 dune.3.22.2 fmt.0.11.0 ocaml.4.12.1 ocaml-base-compiler.4.12.1 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.12.0 seq.base 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.5 --depext-only -y ocaml-version.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-04-14 08:12.55: Using cache hint "ocurrent/ocaml-version-ocaml/opam:debian-13-ocaml-4.12@sha256:1dfe09f108f487a9668b4b953b7d8c46659d639f9573dfcf0f691ff55b8cca53-debian-13-4.12_opam-2.5-f906ad132ca4a63789981fceab7256dc"
2026-04-14 08:12.55: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.12@sha256:1dfe09f108f487a9668b4b953b7d8c46659d639f9573dfcf0f691ff55b8cca53)
(comment debian-13-4.12_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 (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 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 || git fetch origin master) && git reset -q --hard 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ocaml-version.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn ocaml-version.dev './'"))
(run (shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.2.1.0 dune.3.22.2 fmt.0.11.0 ocaml.4.12.1 ocaml-base-compiler.4.12.1 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.12.0 seq.base 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.5 --depext-only -y ocaml-version.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-04-14 08:12.55: Waiting for resource in pool OCluster
2026-04-14 10:48.27: Waiting for worker…
2026-04-14 10:51.03: Got resource from pool OCluster
Building on eumache.caelum.ci.dev
All commits already cached
HEAD is now at c1cd183 tweak to automate last two, suggestion from @gasche


(from ocaml/opam:debian-13-ocaml-4.12@sha256:1dfe09f108f487a9668b4b953b7d8c46659d639f9573dfcf0f691ff55b8cca53)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.12@sha256:1dfe09f108f487a9668b4b953b7d8c46659d639f9573dfcf0f691ff55b8cca53' locally
docker.io/ocaml/opam@sha256:1dfe09f108f487a9668b4b953b7d8c46659d639f9573dfcf0f691ff55b8cca53: Pulling from ocaml/opam
8f6ad858d0a4: Already exists
9cb5e198c8cf: Pulling fs layer
2d346d36dcf2: Pulling fs layer
cdc35e289b8d: Pulling fs layer
aeb7244bb580: Pulling fs layer
fc1943254a0d: Pulling fs layer
84238c416f8e: Pulling fs layer
fbbfe75d3112: Pulling fs layer
221fdc5d9929: Pulling fs layer
1fec9149b52a: Pulling fs layer
9c6e52557f24: Pulling fs layer
8737f5036aae: Pulling fs layer
aeb7244bb580: Waiting
84238c416f8e: Waiting
d69c4074de14: Pulling fs layer
7237152a5f04: Pulling fs layer
fba4b414d8a0: Pulling fs layer
1fec9149b52a: Waiting
fc1943254a0d: Waiting
fbbfe75d3112: Waiting
40d552afb3ef: Pulling fs layer
8737f5036aae: Waiting
221fdc5d9929: Waiting
077cc17dc8e4: Pulling fs layer
d69c4074de14: Waiting
077cc17dc8e4: Waiting
169e1be36a55: Pulling fs layer
0a8a005097ab: Pulling fs layer
9c6e52557f24: Waiting
caba3ec4b361: Pulling fs layer
7237152a5f04: Waiting
6a364dc641f8: Pulling fs layer
4f4fb700ef54: Pulling fs layer
0a8a005097ab: Waiting
6a364dc641f8: Waiting
caba3ec4b361: Waiting
ab8052928cdc: Pulling fs layer
f5717a28dd6a: Pulling fs layer
169e1be36a55: Waiting
4f4fb700ef54: Waiting
79233a9b9bed: Pulling fs layer
ab8052928cdc: Waiting
d832d53e7392: Pulling fs layer
f5717a28dd6a: Waiting
40d552afb3ef: Waiting
1872dad82243: Pulling fs layer
bfd849b08ba7: Pulling fs layer
79233a9b9bed: Waiting
1872dad82243: Waiting
834a8024ef15: Pulling fs layer
bfd849b08ba7: Waiting
fba4b414d8a0: Waiting
98ccec79258b: Pulling fs layer
fb48f36a0542: Pulling fs layer
98ccec79258b: Waiting
834a8024ef15: Waiting
3688b13db8e7: Pulling fs layer
a5c099f5f72c: Pulling fs layer
1ff1760de5b0: Pulling fs layer
3688b13db8e7: Waiting
fb48f36a0542: Waiting
a5c099f5f72c: Waiting
98eec6764aa5: Pulling fs layer
1ff1760de5b0: Waiting
aa22ae69debd: Pulling fs layer
98eec6764aa5: Waiting
12bfb7b962a2: Pulling fs layer
ec25ce9bb816: Pulling fs layer
beadd3cf7357: Pulling fs layer
aa22ae69debd: Waiting
d0d0c65a426d: Pulling fs layer
ec25ce9bb816: Waiting
c3c164cc5e5a: Pulling fs layer
beadd3cf7357: Waiting
12bfb7b962a2: Waiting
6b47f390f43e: Pulling fs layer
d0d0c65a426d: Waiting
c3c164cc5e5a: Waiting
b665720ff384: Pulling fs layer
fea1d95301ac: Pulling fs layer
6b47f390f43e: Waiting
b665720ff384: Waiting
fea1d95301ac: Waiting
2d346d36dcf2: Verifying Checksum
2d346d36dcf2: Download complete
9cb5e198c8cf: Download complete
9cb5e198c8cf: Pull complete
2d346d36dcf2: Pull complete
cdc35e289b8d: Verifying Checksum
cdc35e289b8d: Download complete
aeb7244bb580: Verifying Checksum
aeb7244bb580: Download complete
84238c416f8e: Verifying Checksum
84238c416f8e: Download complete
cdc35e289b8d: Pull complete
aeb7244bb580: Pull complete
221fdc5d9929: Verifying Checksum
221fdc5d9929: Download complete
1fec9149b52a: Verifying Checksum
1fec9149b52a: Download complete
fc1943254a0d: Verifying Checksum
fc1943254a0d: Download complete
fbbfe75d3112: Verifying Checksum
fbbfe75d3112: Download complete
9c6e52557f24: Verifying Checksum
9c6e52557f24: Download complete
8737f5036aae: Verifying Checksum
8737f5036aae: Download complete
d69c4074de14: Verifying Checksum
d69c4074de14: Download complete
7237152a5f04: Verifying Checksum
7237152a5f04: Download complete
fba4b414d8a0: Verifying Checksum
fba4b414d8a0: Download complete
40d552afb3ef: Verifying Checksum
40d552afb3ef: Download complete
077cc17dc8e4: Verifying Checksum
077cc17dc8e4: Download complete
169e1be36a55: Verifying Checksum
169e1be36a55: Download complete
caba3ec4b361: Verifying Checksum
caba3ec4b361: Download complete
6a364dc641f8: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
ab8052928cdc: Download complete
f5717a28dd6a: Verifying Checksum
f5717a28dd6a: Download complete
79233a9b9bed: Download complete
1872dad82243: Download complete
d832d53e7392: Verifying Checksum
d832d53e7392: Download complete
bfd849b08ba7: Verifying Checksum
bfd849b08ba7: Download complete
834a8024ef15: Verifying Checksum
834a8024ef15: Download complete
98ccec79258b: Download complete
fb48f36a0542: Download complete
3688b13db8e7: Download complete
a5c099f5f72c: Download complete
1ff1760de5b0: Download complete
aa22ae69debd: Download complete
ec25ce9bb816: Download complete
beadd3cf7357: Download complete
d0d0c65a426d: Verifying Checksum
d0d0c65a426d: Download complete
98eec6764aa5: Verifying Checksum
98eec6764aa5: Download complete
12bfb7b962a2: Verifying Checksum
12bfb7b962a2: Download complete
b665720ff384: Verifying Checksum
b665720ff384: Download complete
6b47f390f43e: Download complete
fea1d95301ac: Verifying Checksum
fea1d95301ac: Download complete
c3c164cc5e5a: Verifying Checksum
c3c164cc5e5a: Download complete
fc1943254a0d: Pull complete
84238c416f8e: Pull complete
fbbfe75d3112: Pull complete
221fdc5d9929: Pull complete
1fec9149b52a: Pull complete
9c6e52557f24: Pull complete
8737f5036aae: Pull complete
d69c4074de14: Pull complete
7237152a5f04: Pull complete
fba4b414d8a0: Pull complete
40d552afb3ef: Pull complete
077cc17dc8e4: Pull complete
169e1be36a55: Pull complete
0a8a005097ab: Pull complete
caba3ec4b361: Pull complete
6a364dc641f8: Pull complete
4f4fb700ef54: Pull complete
ab8052928cdc: Pull complete
f5717a28dd6a: Pull complete
79233a9b9bed: Pull complete
d832d53e7392: Pull complete
1872dad82243: Pull complete
bfd849b08ba7: Pull complete
834a8024ef15: Pull complete
98ccec79258b: Pull complete
fb48f36a0542: Pull complete
3688b13db8e7: Pull complete
a5c099f5f72c: Pull complete
1ff1760de5b0: Pull complete
98eec6764aa5: Pull complete
aa22ae69debd: Pull complete
12bfb7b962a2: Pull complete
ec25ce9bb816: Pull complete
beadd3cf7357: Pull complete
d0d0c65a426d: Pull complete
c3c164cc5e5a: Pull complete
6b47f390f43e: Pull complete
b665720ff384: Pull complete
fea1d95301ac: Pull complete
Digest: sha256:1dfe09f108f487a9668b4b953b7d8c46659d639f9573dfcf0f691ff55b8cca53
Status: Downloaded newer image for ocaml/opam@sha256:1dfe09f108f487a9668b4b953b7d8c46659d639f9573dfcf0f691ff55b8cca53
2026-04-14 10:52.04 ---> using "49e0d3103015dd4631fb312f4cb9031b28cf76d7db5fb7c58e95be7228e6216c" from cache


/: (comment debian-13-4.12_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-04-14 10:52.04 ---> using "4f3996d54785b1f8f9e80f4353f0905f01553b53e9e5cc691bc74c0a6e7140d4" 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
2026-04-14 10:52.04 ---> using "562c8cb88d9074d70265b83b02e363498154e348892754d5dd3559ed8c911420" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-107-generic
The OCaml toplevel, version 4.12.1
2.5.0
2026-04-14 10:52.04 ---> using "bbe16f94c9e2aac0e1c77c3a71ebc70ca22e2619e7dfa36d059047ae580ef5a1" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-04-14 10:52.04 ---> using "b88c272a4ba2c618868363b9585e0ecd7fc80377b3cb0098df415b9dec365212" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 || git fetch origin master) && git reset -q --hard 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
95972b8834..5f7bb1a6e6  master     -> origin/master
5f7bb1a6e6 Merge pull request #29704 from shonfeder/release-dune-3.22.2


<><> 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.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-04-14 10:52.04 ---> using "0ec6aaa0ef822abd391ed352e1520e547432c22634421e317bcf24a61e37b552" from cache


/src: (copy (src ocaml-version.opam) (dst ./))
2026-04-14 10:52.04 ---> using "13ba5d03370bb9e3cf8a1595b5fe99f7e8c78124dc2496e30259eaedb2e00480" from cache


/src: (run (network host)
(shell "opam pin add -yn ocaml-version.dev './'"))
[ocaml-version.dev] synchronised (file:///src)
ocaml-version is now pinned to file:///src (version dev)
2026-04-14 10:52.04 ---> using "a63f52bf743dc3567751c65cbb7d07a66b073e36bd2bd07860494df995ae91eb" from cache


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-04-14 10:52.04 ---> using "dfb7a02d97faa292fadb4ad08e7a4df363b707f6bae40675d6b5842fbbf2319c" from cache


/src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.2.1.0 dune.3.22.2 fmt.0.11.0 ocaml.4.12.1 ocaml-base-compiler.4.12.1 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.12.0 seq.base 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.5 --depext-only -y ocaml-version.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 [123 kB]
- Fetched 213 kB in 0s (952 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-version.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.12.1).
[NOTE] Package ocaml is already installed (current version is 4.12.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).
# To update the current shell environment, run: eval $(opam env)
2026-04-14 10:52.04 ---> using "ec23221c0dace7f022afe6dacfbcae5420653c391a7f60784e6c0b646531ef77" from cache


/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.12.1).
[NOTE] Package ocaml is already installed (current version is 4.12.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 13 packages
- install alcotest           1.9.1
- install astring            0.8.5
- install cmdliner           2.1.0
- install dune               3.22.2
- install fmt                0.11.0
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild         0.16.1
- install ocamlfind          1.9.8
- install re                 1.12.0
- install seq                base
- 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 cmdliner.2.1.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved re.1.12.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved dune.3.22.2  (cached)
-> installed cmdliner.2.1.0
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed dune.3.22.2
-> installed stdlib-shims.0.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.12.0
-> installed alcotest.1.9.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-14 10:52.04 ---> using "c576d007b8501d7369635b3dd17b2801e040a10281fa350049ddb7629b94e612" from cache


/src: (copy (src .) (dst /src))
2026-04-14 10:52.04 ---> saved as "44f3aeabf79d38f82c916fb44b20b877c44159a11c8b73f7476060cc5c7b7f14"


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


[OK]          Compiler_variants          0   Multicore not on 4.12 x86-64.
[OK]          Compiler_variants          1   Multicore not on 4.10 i386.
[OK]          Compiler_variants          2   Multicore not on 4.12 xi386.
[OK]          Configure_options          0   FP on last 4.07.
[OK]          Configure_options          1   FP on first 4.08.
[OK]          Configure_options          2   FP on 3.12.


Full test results in `/src/_build/default/test/_build/_tests/ocaml-version'.
Test Successful in 0.001s. 6 tests run.
2026-04-14 10:52.06 ---> saved as "28aeb004fdf15c4f9987b6dc37e26c178d6a3f4651c1e622a69da99fd37d7b2f"
Job succeeded
2026-04-14 10:52.06: Job succeeded