Organisationsocurrentocaml-versionc1cd18 (add-sig)ubuntu-25.10-5.4_opam-2.5

ubuntu-25.10-5.4_opam-2.5

Link Copied
Code Copied

Logs

2026-04-16 16:40.35: New job: test ocurrent/ocaml-version https://github.com/ocurrent/ocaml-version.git#refs/heads/add-sig (c1cd1832273b7fc49d1e178375f004d8a453963b) (linux-x86_64:ubuntu-25.10-5.4_opam-2.5)
Base: ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:46063c0a705bfb0a070cd405527fed49717585d0bd9766f352ba4fef419c2b4b
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:ubuntu-25.10-ocaml-5.4@sha256:46063c0a705bfb0a070cd405527fed49717585d0bd9766f352ba4fef419c2b4b
# ubuntu-25.10-5.4_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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.0 dune.3.22.2 fmt.0.11.0 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.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.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-16 16:40.35: Using cache hint "ocurrent/ocaml-version-ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:46063c0a705bfb0a070cd405527fed49717585d0bd9766f352ba4fef419c2b4b-ubuntu-25.10-5.4_opam-2.5-4a40feaffa9a89db02f5bc4d4a4e906c"
2026-04-16 16:40.35: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:46063c0a705bfb0a070cd405527fed49717585d0bd9766f352ba4fef419c2b4b)
(comment ubuntu-25.10-5.4_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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.0 dune.3.22.2 fmt.0.11.0 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.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.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-16 16:40.35: Waiting for resource in pool OCluster
2026-04-16 21:05.19: Waiting for worker…
2026-04-16 21:11.52: Got resource from pool OCluster
Building on phoebe.caelum.ci.dev
All commits already cached
HEAD is now at c1cd183 tweak to automate last two, suggestion from @gasche


(from ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:46063c0a705bfb0a070cd405527fed49717585d0bd9766f352ba4fef419c2b4b)
Unable to find image 'ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:46063c0a705bfb0a070cd405527fed49717585d0bd9766f352ba4fef419c2b4b' locally
docker.io/ocaml/opam@sha256:46063c0a705bfb0a070cd405527fed49717585d0bd9766f352ba4fef419c2b4b: Pulling from ocaml/opam
16c195d4c5e9: Already exists
1c62812e7321: Already exists
8a4b09d2a7a7: Already exists
3318481042ff: Already exists
3efb10c5a696: Already exists
888f94101ffe: Already exists
cb111e18f70b: Already exists
4577a01d97fc: Already exists
36c03f94b287: Already exists
b55120cc7c58: Already exists
40f87b6b7b5e: Already exists
b6b4461886a5: Already exists
82cf66283d29: Already exists
1a02079536a8: Already exists
2e0bc88eb84b: Already exists
09b28afbcd46: Already exists
00cd2b8865d8: Already exists
2e4e2f0309f4: Already exists
2e4e2f0309f4: Already exists
50db42a840cc: Already exists
5913402ab519: Already exists
519e922f93a7: Already exists
332f52403f35: Already exists
4f4fb700ef54: Already exists
a6f5d82bd51a: Already exists
22b6b33dc014: Already exists
c4ba1bb0beef: Already exists
819f9134fecb: Already exists
3a2ab9b94171: Already exists
1cf4451cd5ed: Already exists
ff69b5cd68bc: Already exists
cd0e15413539: Already exists
3f08ff270ed3: Already exists
7a3d3f919aa8: Already exists
c98da4399bf5: Already exists
af6ae49e31af: Already exists
1c5876ef1c32: Already exists
0090888c3ffc: Already exists
201e5e865a7a: Already exists
d369afea098a: Already exists
b826f9587249: Already exists
d7b96966ef4d: Already exists
679cdcbf0694: Pulling fs layer
1c95b99f9a8a: Pulling fs layer
0768d7b60399: Pulling fs layer
8ee00cb0cdd7: Pulling fs layer
172110b2444b: Pulling fs layer
0e9c7540a7ed: Pulling fs layer
9cee72d1c6b0: Pulling fs layer
0e9c7540a7ed: Waiting
8ee00cb0cdd7: Waiting
9cee72d1c6b0: Waiting
172110b2444b: Waiting
0768d7b60399: Verifying Checksum
0768d7b60399: Download complete
679cdcbf0694: Verifying Checksum
679cdcbf0694: Download complete
1c95b99f9a8a: Download complete
679cdcbf0694: Pull complete
172110b2444b: Verifying Checksum
172110b2444b: Download complete
0e9c7540a7ed: Verifying Checksum
0e9c7540a7ed: Download complete
9cee72d1c6b0: Verifying Checksum
9cee72d1c6b0: Download complete
1c95b99f9a8a: Pull complete
0768d7b60399: Pull complete
8ee00cb0cdd7: Verifying Checksum
8ee00cb0cdd7: Download complete
8ee00cb0cdd7: Pull complete
172110b2444b: Pull complete
0e9c7540a7ed: Pull complete
9cee72d1c6b0: Pull complete
Digest: sha256:46063c0a705bfb0a070cd405527fed49717585d0bd9766f352ba4fef419c2b4b
Status: Downloaded newer image for ocaml/opam@sha256:46063c0a705bfb0a070cd405527fed49717585d0bd9766f352ba4fef419c2b4b
2026-04-16 21:11.53 ---> using "6f30897515c1e824a950778ea676e229c104637b6aa7ebb64a6b53fea7d6cfa7" from cache


/: (comment ubuntu-25.10-5.4_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-16 21:11.53 ---> using "ed652262ffe41adc8028dee056f45315aa4f3887ab4acc45b8d73186149e101e" 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
[NOTE] The 'jobs' option was reset, its value was 255 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=255 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-04-16 21:11.53 ---> using "ad4cd56fa8230439a361a9df0e86dd3506d48c3e5068086c2933cdd52eceab67" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-107-generic
The OCaml toplevel, version 5.4.1
2.5.0
2026-04-16 21:11.53 ---> using "71a2c562bc27d627cf1dd84848313ec1ea0634d615bb73f843054f8c68abea91" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-04-16 21:11.53 ---> using "575fef843e896b9779ee1eb6db58ec4085b692ac117dad7cfb2598c75e137f99" 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
42844088d7..0b0acbee05  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
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-16 21:11.53 ---> using "9eb95d3852e3beeeb36c66a42c5def05c3fff3eacb4a58bfbfa8a54ce8dcf274" from cache


/src: (copy (src ocaml-version.opam) (dst ./))
2026-04-16 21:11.53 ---> using "1f174e44047b23f72ebc14206ad5651abb7699cb79cb69659a02ded42247c2f2" 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-16 21:11.53 ---> using "a20d8e46445bc1d441aa3d17bba543957fa16b69595695511b3d5efb1199b980" from cache


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-04-16 21:11.53 ---> using "f4d4511c24d5bd3cd2824d5f36989cb902fc61b34984fab1b7d51dc00c9d6198" from cache


/src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.0 dune.3.22.2 fmt.0.11.0 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.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.5 --depext-only -y ocaml-version.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu questing InRelease
- Get:2 http://archive.ubuntu.com/ubuntu questing-updates InRelease [136 kB]
- Get:3 http://security.ubuntu.com/ubuntu questing-security InRelease [136 kB]
- Get:4 http://security.ubuntu.com/ubuntu questing-security/restricted amd64 Packages [256 kB]
- Get:5 http://security.ubuntu.com/ubuntu questing-security/main amd64 Packages [361 kB]
- Get:6 http://security.ubuntu.com/ubuntu questing-security/universe amd64 Packages [275 kB]
- Get:7 http://archive.ubuntu.com/ubuntu questing-backports InRelease [133 kB]
- Get:8 http://archive.ubuntu.com/ubuntu questing-updates/universe amd64 Packages [359 kB]
- Get:9 http://archive.ubuntu.com/ubuntu questing-updates/restricted amd64 Packages [258 kB]
- Get:10 http://archive.ubuntu.com/ubuntu questing-updates/main amd64 Packages [500 kB]
- Fetched 2414 kB in 9s (258 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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.4.1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.1).
[NOTE] Package ocaml is already installed (current version is 5.4.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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains 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-16 21:11.56 ---> saved as "5be267fa486959093ebe5928d1b9b5cc000791fd289cb9adcfaa01503dc5f5c6"


/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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.4.1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.1).
[NOTE] Package ocaml is already installed (current version is 5.4.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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains 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 12 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.14.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 cmdliner.2.1.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved re.1.14.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 fmt.0.11.0
-> installed uutf.1.0.4
-> 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.14.0
-> installed alcotest.1.9.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-16 21:14.02 ---> saved as "b2e6e6ccfbc2fce482f43ac49c1aa7d1783ef89e51fc4f2be4dc17c12b010e62"


/src: (copy (src .) (dst /src))
2026-04-16 21:14.02 ---> saved as "28f37d18da7aaddac676ed8c42bf6ea8cd610e5ce9890292576ba64e647ff781"


/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 `1RG71100'.


[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-16 21:14.04 ---> saved as "7a97122613f84f191eb47a50e0b1a1bebcaa66537ec8545539f713b6f19fb762"
Job succeeded
2026-04-16 21:14.04: Job succeeded