Organisationsocurrentocaml-version3bb1c5 (master)ubuntu-24.04-5.4_opam-2.4

ubuntu-24.04-5.4_opam-2.4

Logs

Show full logs
2025-10-18 16:36.59: New job: test ocurrent/ocaml-version https://github.com/ocurrent/ocaml-version.git#refs/heads/master (3bb1c5d559d7a0f22954919f0ada769850bdeb0a) (linux-x86_64:ubuntu-24.04-5.4_opam-2.4)
Base: ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:7f9777fef5ce17e2d2dd28006fd82fddc69b7be93776412d5942acd680d139d5
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocurrent/ocaml-version.git" -b "master" && cd "ocaml-version" && git reset --hard 3bb1c5d5
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:7f9777fef5ce17e2d2dd28006fd82fddc69b7be93776412d5942acd680d139d5
# ubuntu-24.04-5.4_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 c603e596bfaf195a5c1a3baf992b11c1de5ad35b || git fetch origin master) && git reset -q --hard c603e596bfaf195a5c1a3baf992b11c1de5ad35b && 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.0.0 dune.3.20.2 fmt.0.11.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 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.0 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --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

2025-10-18 16:36.59: Using cache hint "ocurrent/ocaml-version-ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:7f9777fef5ce17e2d2dd28006fd82fddc69b7be93776412d5942acd680d139d5-ubuntu-24.04-5.4_opam-2.4-fc73e54010523304e8ecb74a03c15bca"
2025-10-18 16:36.59: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:7f9777fef5ce17e2d2dd28006fd82fddc69b7be93776412d5942acd680d139d5)
 (comment ubuntu-24.04-5.4_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 c603e596bfaf195a5c1a3baf992b11c1de5ad35b || git fetch origin master) && git reset -q --hard c603e596bfaf195a5c1a3baf992b11c1de5ad35b && 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 (network host)
      (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.0.0 dune.3.20.2 fmt.0.11.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 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.0 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 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"))
)

2025-10-18 16:36.59: Waiting for resource in pool OCluster
2025-10-18 18:11.43: Waiting for worker…
2025-10-18 18:14.26: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
HEAD is now at 3bb1c5d Update CHANGES.md before release

(from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:7f9777fef5ce17e2d2dd28006fd82fddc69b7be93776412d5942acd680d139d5)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:7f9777fef5ce17e2d2dd28006fd82fddc69b7be93776412d5942acd680d139d5' locally
docker.io/ocaml/opam@sha256:7f9777fef5ce17e2d2dd28006fd82fddc69b7be93776412d5942acd680d139d5: Pulling from ocaml/opam
f1c3c72ac84b: Already exists
Digest: sha256:7f9777fef5ce17e2d2dd28006fd82fddc69b7be93776412d5942acd680d139d5
Status: Downloaded newer image for ocaml/opam@sha256:7f9777fef5ce17e2d2dd28006fd82fddc69b7be93776412d5942acd680d139d5
2025-10-18 18:14.29 ---> using "5d6d2adeea6498cb054cbaa953620718d759b910a698acc7738d67264fb7eaa1" from cache

/: (comment ubuntu-24.04-5.4_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-10-18 18:14.29 ---> using "ff38d6915481dc9a36bf2d114fc5a9d0b2d1a1dbad496811b922fa3afc84c5f0" 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-10-18 18:14.29 ---> using "70f6ddc0d313244ab04c80a4be70840866e3bc306fe0a3c4cab0b7475492c53d" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-157-generic
The OCaml toplevel, version 5.4.0
2.4.1
2025-10-18 18:14.29 ---> using "26641eadc3d21be41c3e29096effbb7c0ab3dcc86b9410f1473b5355900a4bb2" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-10-18 18:14.29 ---> using "1dc432d69883e95fa350b3538897b7b5f95eb1eec19966b001c917785170f6db" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e c603e596bfaf195a5c1a3baf992b11c1de5ad35b || git fetch origin master) && git reset -q --hard c603e596bfaf195a5c1a3baf992b11c1de5ad35b && git log --no-decorate -n1 --oneline && opam update -u"))
c603e596bf Merge pull request #28683 from Octachron/OCaml_5.4.0_release

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository

Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-10-18 18:14.29 ---> using "c7bc005fb7a15ce3826920153ba133c53ad1f79b4a19aa88a3b4eb9288f8088f" from cache

/src: (copy (src ocaml-version.opam) (dst ./))
2025-10-18 18:14.29 ---> saved as "5130808c6db07d56d236709a6338b60062deaf65ea6b84502a759cf14f9d928d"

/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)
2025-10-18 18:14.33 ---> saved as "5c90f662d9552cbc1c7b25ee148fa5421e035138ed9baf05f43dfa3c8764c863"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-18 18:14.33 ---> saved as "37e194268a4752c7898ce65a125009bc32769dde55c6a9c41ca64095b962ca7b"

/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.0.0 dune.3.20.2 fmt.0.11.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 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.0 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 ocaml-version.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:3 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:4 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Get:5 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [2652 kB]
- Get:6 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1897 kB]
- Get:7 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1936 kB]
- Get:8 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [35.9 kB]
- Get:9 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1538 kB]
- Get:10 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1151 kB]
- Get:11 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [2512 kB]
- Fetched 12.1 MB in 2s (7724 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.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[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).
2025-10-18 18:14.57 ---> saved as "9f0d9eeac686988b49921842f7fcb4d576e3792eea4d08d40fcf3129aa8b2bb0"

/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.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[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.0.0
  - install dune               3.20.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.0
  - install uutf               1.0.4

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved cmdliner.2.0.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.0  (cached)
-> retrieved dune.3.20.2  (cached)
-> installed cmdliner.2.0.0
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed dune.3.20.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)
2025-10-18 18:17.09 ---> saved as "94ea91979db07fdbcba6b038393591562116b1670ffcfd513f9800a6a6730867"

/src: (copy (src .) (dst /src))
2025-10-18 18:17.09 ---> saved as "882113bdf7c803c19707b75b6644df072711d701e76e8c279a2e8c9034e7d0fd"

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

  [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.
2025-10-18 18:17.11 ---> saved as "3dd3c8099d68f786fa4055e5e33bc2f54bed8f474fea8dccb19ceeb3d6f182e1"
Job succeeded
2025-10-18 18:17.12: Job succeeded