2025-10-15 10:19.49: New job: test ocurrent/ocaml-version https://github.com/ocurrent/ocaml-version.git#refs/heads/master (3bb1c5d559d7a0f22954919f0ada769850bdeb0a) (linux-x86_64:debian-13-5.1_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-5.1@sha256:1790f2a6c89fcc3762ed3d409f9ebc01a4f8be89d70b49900f2259f22c4e3a80
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:debian-13-ocaml-5.1@sha256:1790f2a6c89fcc3762ed3d409f9ebc01a4f8be89d70b49900f2259f22c4e3a80
# debian-13-5.1_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 241aae26db44294142794da0ce695e8beac418df || git fetch origin master) && git reset -q --hard 241aae26db44294142794da0ce695e8beac418df && 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-nnp.base base-threads.base base-unix.base cmdliner.2.0.0 dune.3.20.2 fmt.0.11.0 ocaml.5.1.1 ocaml-base-compiler.5.1.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.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-15 10:19.49: Using cache hint "ocurrent/ocaml-version-ocaml/opam:debian-13-ocaml-5.1@sha256:1790f2a6c89fcc3762ed3d409f9ebc01a4f8be89d70b49900f2259f22c4e3a80-debian-13-5.1_opam-2.4-7df39756a4fad402280cf1f4cc7cfa8b"
2025-10-15 10:19.49: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.1@sha256:1790f2a6c89fcc3762ed3d409f9ebc01a4f8be89d70b49900f2259f22c4e3a80)
(comment debian-13-5.1_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 241aae26db44294142794da0ce695e8beac418df || git fetch origin master) && git reset -q --hard 241aae26db44294142794da0ce695e8beac418df && 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-nnp.base base-threads.base base-unix.base cmdliner.2.0.0 dune.3.20.2 fmt.0.11.0 ocaml.5.1.1 ocaml-base-compiler.5.1.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.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-15 10:19.49: Waiting for resource in pool OCluster
2025-10-15 12:20.15: Waiting for worker…
2025-10-15 12:23.04: Got resource from pool OCluster
Building on phoebe
All commits already cached
HEAD is now at 3bb1c5d Update CHANGES.md before release
(from ocaml/opam:debian-13-ocaml-5.1@sha256:1790f2a6c89fcc3762ed3d409f9ebc01a4f8be89d70b49900f2259f22c4e3a80)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.1@sha256:1790f2a6c89fcc3762ed3d409f9ebc01a4f8be89d70b49900f2259f22c4e3a80' locally
docker.io/ocaml/opam@sha256:1790f2a6c89fcc3762ed3d409f9ebc01a4f8be89d70b49900f2259f22c4e3a80: Pulling from ocaml/opam
f725b3ddaa1c: Pulling fs layer
f725b3ddaa1c: Verifying Checksum
f725b3ddaa1c: Download complete
f725b3ddaa1c: Pull complete
Digest: sha256:1790f2a6c89fcc3762ed3d409f9ebc01a4f8be89d70b49900f2259f22c4e3a80
Status: Downloaded newer image for ocaml/opam@sha256:1790f2a6c89fcc3762ed3d409f9ebc01a4f8be89d70b49900f2259f22c4e3a80
2025-10-15 12:23.04 ---> using "f562e3a50a34a35d76a7de2133be7dfef3a78937cef0e00207ac21e9acda54b5" from cache
/: (comment debian-13-5.1_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-15 12:23.04 ---> using "c29d849c2f74485d371aadee75df94803e5426a89c34a20890980f4d0efe175b" 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-15 12:23.04 ---> using "6fe53853d2303cde7faa53877d6ec0959832dabd55f7ef06680f78a7f62bdac5" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-84-generic
The OCaml toplevel, version 5.1.1
2.4.1
2025-10-15 12:23.04 ---> using "fc29bb838c0891953cf7d30118f26a52d575fbdf0366f7d45b73663b6b01529f" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-10-15 12:23.04 ---> using "4f899a4e26c0c3e7dd9f03efaf6a2478516baeee4070d32d746125e09cc59c3d" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 241aae26db44294142794da0ce695e8beac418df || git fetch origin master) && git reset -q --hard 241aae26db44294142794da0ce695e8beac418df && git log --no-decorate -n1 --oneline && opam update -u"))
241aae26db Merge pull request #28629 from dinosaure/release-alcotest-1.9.1
<><> 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.3.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-10-15 12:23.04 ---> using "1edef47a961b77d22175b5138a09f81fa1178e9253bec995ec133b18e5d90e61" from cache
/src: (copy (src ocaml-version.opam) (dst ./))
2025-10-15 12:23.05 ---> saved as "57e0a3173c53ee87f87406de637b52773ec13f972eba41684103d87e14f7896e"
/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-15 12:23.08 ---> saved as "407c61a2494d067ddf25e2339ce20cd2913ff9541cb146d1b1700f9d7895d6bd"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-15 12:23.08 ---> saved as "47e37447fb35ac800e64f34bd7d824b8305a8c3430c3106bbb7084d8bd1d8b04"
/src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.2.0.0 dune.3.20.2 fmt.0.11.0 ocaml.5.1.1 ocaml-base-compiler.5.1.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.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://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 [53.8 kB]
- Fetched 145 kB in 0s (691 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-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.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-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2025-10-15 12:23.31 ---> saved as "da133461fff70d04053be23435aeeffa079a577fd067dafb6da45fc8d93886de"
/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-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.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-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 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.0 (cached)
-> retrieved dune.3.20.2 (cached)
-> installed ocamlfind.1.9.8
-> installed cmdliner.2.0.0
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.0
-> installed fmt.0.11.0
-> installed uutf.1.0.4
-> 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-15 12:25.34 ---> saved as "bded87540f475f22191699d37e01bdb7d5d7042e35f296c94067009ff8a48168"
/src: (copy (src .) (dst /src))
2025-10-15 12:25.34 ---> saved as "2eda6c38d2a3948a604be216f4141b52526ef2d8a36544ffffb88c391ece445b"
/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 `09H9XWTZ'.
[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-15 12:25.36 ---> saved as "f1acc16a9d6173ad92c513990feb9bce8ea1b835c7e576158f129e0bceface82"
Job succeeded
2025-10-15 12:25.37: Job succeeded