Organisationsocurrentocaml-version8c91d8 (master)ubuntu-24.04-4.14_opam-2.5

ubuntu-24.04-4.14_opam-2.5

Logs

Show full logs
2026-04-22 14:11.32: New job: test ocurrent/ocaml-version https://github.com/ocurrent/ocaml-version.git#refs/heads/master (8c91d8942b0ec4c0d73906c1a6a5cce057b7defd) (linux-x86_64:ubuntu-24.04-4.14_opam-2.5)
Base: ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:378b80130a8565c501d060ebe277e1585177fb5caf23983614eeb4d30378ddea
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocurrent/ocaml-version.git" -b "master" && cd "ocaml-version" && git reset --hard 8c91d894
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:378b80130a8565c501d060ebe277e1585177fb5caf23983614eeb4d30378ddea
# ubuntu-24.04-4.14_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 036883c5402b41e0d35f6b200245cc7c3a302395 || git fetch origin master) && git reset -q --hard 036883c5402b41e0d35f6b200245cc7c3a302395 && 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.1 dune.3.22.2 fmt.0.11.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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-22 14:11.32: Using cache hint "ocurrent/ocaml-version-ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:378b80130a8565c501d060ebe277e1585177fb5caf23983614eeb4d30378ddea-ubuntu-24.04-4.14_opam-2.5-c607c796581e5a22fdb7462e2d8bf136"
2026-04-22 14:11.32: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:378b80130a8565c501d060ebe277e1585177fb5caf23983614eeb4d30378ddea)
 (comment ubuntu-24.04-4.14_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 036883c5402b41e0d35f6b200245cc7c3a302395 || git fetch origin master) && git reset -q --hard 036883c5402b41e0d35f6b200245cc7c3a302395 && 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.1 dune.3.22.2 fmt.0.11.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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-22 14:11.32: Waiting for resource in pool OCluster
2026-04-22 14:58.13: Waiting for worker…
2026-04-22 14:59.48: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
HEAD is now at 8c91d89 Update CHANGES.md before release

(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:378b80130a8565c501d060ebe277e1585177fb5caf23983614eeb4d30378ddea)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:378b80130a8565c501d060ebe277e1585177fb5caf23983614eeb4d30378ddea' locally
docker.io/ocaml/opam@sha256:378b80130a8565c501d060ebe277e1585177fb5caf23983614eeb4d30378ddea: Pulling from ocaml/opam
80cd068f43f1: Pulling fs layer
ba65b9b25356: Pulling fs layer
5387021a7f0f: Pulling fs layer
80cd068f43f1: Waiting
90b941057569: Pulling fs layer
ba65b9b25356: Waiting
fcef665c9f0f: Pulling fs layer
5387021a7f0f: Waiting
90b941057569: Waiting
fcef665c9f0f: Waiting
ba65b9b25356: Download complete
5387021a7f0f: Verifying Checksum
5387021a7f0f: Download complete
90b941057569: Download complete
fcef665c9f0f: Download complete
80cd068f43f1: Verifying Checksum
80cd068f43f1: Download complete
80cd068f43f1: Pull complete
ba65b9b25356: Pull complete
5387021a7f0f: Pull complete
90b941057569: Pull complete
fcef665c9f0f: Pull complete
Digest: sha256:378b80130a8565c501d060ebe277e1585177fb5caf23983614eeb4d30378ddea
Status: Downloaded newer image for ocaml/opam@sha256:378b80130a8565c501d060ebe277e1585177fb5caf23983614eeb4d30378ddea
2026-04-22 14:59.49 ---> using "ea8d72b3575eca98b89c48a4da7927bcdb82725502d2ac0615817875479dfe5d" from cache

/: (comment ubuntu-24.04-4.14_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-22 14:59.49 ---> using "57fe826c4cda6eaa6b11381783c9525d7921b5e90796ab1d3423a3a40e1ee953" 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-22 14:59.49 ---> using "55a2f6dfe7a6290730525b3a4346ce960918d715c2bdbaeb5a4b7e33780adb10" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-106-generic
The OCaml toplevel, version 4.14.2
2.5.0
2026-04-22 14:59.49 ---> using "defa03e276e0c2b0cec70b115b3a595fb4615d03b5da0739dd2698dea1a3bf33" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-04-22 14:59.49 ---> using "4130f1cefdaf8d88e4eba48981cb16b1f82735c22f891280afafcafba369761a" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 036883c5402b41e0d35f6b200245cc7c3a302395 || git fetch origin master) && git reset -q --hard 036883c5402b41e0d35f6b200245cc7c3a302395 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   76bf2ed944..80ba534fc6  master     -> origin/master
036883c540 Merge pull request #29788 from dbuenzli/b0-publish-cmdliner.2.1.1

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
default (at git+file:///home/opam/opam-repository): 
    [WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)

default (at git+file:///home/opam/opam-repository): 
    [INFO] opam 2.5.1 includes security fixes; please consider upgrading (https://opam.ocaml.org/doc/Install.html)


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-22 14:59.49 ---> using "be980b1e0094bd3700260ed149cd76c60a490980fd99e5f189eec01d704bbccc" from cache

/src: (copy (src ocaml-version.opam) (dst ./))
2026-04-22 14:59.50 ---> saved as "e009656d9475d9df7d992ded795cb3c89f7d839564a86e7ec91354d0f55e6557"

/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-22 14:59.54 ---> saved as "a8deb9c2726e6731172b909fa49f0afa51a6472b57f048c00f29b70e9da13c6c"

/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-04-22 14:59.54 ---> saved as "51b6e613bf14e9d6dfb8c6e8e7daa193d0ab4b1ff0a241eeca1d147ada9dfa51"

/src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.2.1.1 dune.3.22.2 fmt.0.11.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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"
- Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Get:2 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [3479 kB]
- Get:3 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1981 kB]
- Get:4 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Packages [34.2 kB]
- Get:5 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1498 kB]
- Hit:6 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:7 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:8 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:9 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [38.0 kB]
- Get:10 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [3658 kB]
- Get:11 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [2141 kB]
- Get:12 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [2354 kB]
- Get:13 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [35.6 kB]
- Get:14 http://archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 Packages [671 B]
- Get:15 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 Packages [49.0 kB]
- Fetched 15.6 MB in 12s (1323 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.14.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).
# To update the current shell environment, run: eval $(opam env)
2026-04-22 15:00.32 ---> saved as "27cbc18d28ed3273a4d994223bfa0c3d26afe09cd410e77cef07f36eca4cc6a6"

/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.14.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 12 packages
  - install alcotest           1.9.1
  - install astring            0.8.5
  - install cmdliner           2.1.1
  - 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.1  (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 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.1
-> 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-22 15:01.57 ---> saved as "6b11336d9ba8efd01f58d51ddb83cf8f55f651e6fd918021497e5cfc891a9252"

/src: (copy (src .) (dst /src))
2026-04-22 15:01.58 ---> saved as "d7a8a8af230d9df6d1020742888a609e0d5b79a5beb9943f09b64ac1be259f7f"

/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 `8TX46TVN'.

  [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-22 15:02.00 ---> saved as "c9b00c5ed118ec0575e1a0dda1056e73706dad01e01b2b79788bebe202ef38e4"
Job succeeded
2026-04-22 15:02.00: Job succeeded