2025-10-07 13:43.24: New job: test ocurrent/ocaml-version https://github.com/ocurrent/ocaml-version.git#refs/heads/master (88f896bbff3d63de493bbec4c3151e8a66d6a2ab) (linux-x86_64:debian-11-4.14_opam-2.4)
Base: ocaml/opam:debian-11-ocaml-4.14@sha256:51c591e6c3e34059cd87f5cf8e13185e736ca33b6c3d5fcc4f64f906a298aac9
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocurrent/ocaml-version.git" -b "master" && cd "ocaml-version" && git reset --hard 88f896bb
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-11-ocaml-4.14@sha256:51c591e6c3e34059cd87f5cf8e13185e736ca33b6c3d5fcc4f64f906a298aac9
# debian-11-4.14_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-threads.base base-unix.base cmdliner.2.0.0 dune.3.20.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.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-07 13:43.24: Using cache hint "ocurrent/ocaml-version-ocaml/opam:debian-11-ocaml-4.14@sha256:51c591e6c3e34059cd87f5cf8e13185e736ca33b6c3d5fcc4f64f906a298aac9-debian-11-4.14_opam-2.4-7548e71b01ffd5a593669d4bbb90a83b"
2025-10-07 13:43.24: Using OBuilder spec:
((from ocaml/opam:debian-11-ocaml-4.14@sha256:51c591e6c3e34059cd87f5cf8e13185e736ca33b6c3d5fcc4f64f906a298aac9)
(comment debian-11-4.14_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-threads.base base-unix.base cmdliner.2.0.0 dune.3.20.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.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-07 13:43.24: Waiting for resource in pool OCluster
2025-10-07 13:43.24: Waiting for worker…
2025-10-07 13:43.48: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 88f896b Merge pull request #84 from kit-ty-kate/54-rc
(from ocaml/opam:debian-11-ocaml-4.14@sha256:51c591e6c3e34059cd87f5cf8e13185e736ca33b6c3d5fcc4f64f906a298aac9)
2025-10-07 13:45.22 ---> using "6c6f3c69a862a2c1cd8e4ca7a84bb25ac2cfd024c0aeb2f11c5b7cdb120e08bb" from cache
/: (comment debian-11-4.14_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-07 13:45.22 ---> using "26c12001c9ab99c4ad884998f2aa2bdbd51b689f9616b5547002669e2d4ed7eb" 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-07 13:45.22 ---> using "3ee537c800b77be7c41da3aac6729c05ada91e8c48ec248c73d34e84e86ab553" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-157-generic
The OCaml toplevel, version 4.14.2
2.4.1
2025-10-07 13:45.22 ---> using "ede8cbda26ca548c915ee0580668cef88f417b8424eb89ddbd461dad1a801062" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-10-07 13:45.22 ---> using "349b7789ab630a9c8fbe3e2c315605dabdc1c2cf062055be744e74205668072b" 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"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
bcac5d1731..9167a26f75 master -> origin/master
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-07 13:45.22 ---> using "e600c2e6d6659b8006e9b729542731485ecbb4a730de4306c155037d53775929" from cache
/src: (copy (src ocaml-version.opam) (dst ./))
2025-10-07 13:45.22 ---> using "1ecf5892ed2e222eb5d93bf95c1710b80f684e4bd859bbdda26d4c9ef59acc1f" 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)
2025-10-07 13:45.22 ---> using "fb88b24345251fc867bb6538dd6e755d19b28afedc288dbab6fd915f2852ecd5" from cache
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-07 13:45.22 ---> using "b5b411723b8e93351377f2f89ec6f137472dabe63a4f6823e55be60fce548218" from cache
/src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.2.0.0 dune.3.20.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.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 bullseye InRelease
- Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [27.2 kB]
- Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
- Get:4 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [411 kB]
- Fetched 438 kB in 1s (785 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).
2025-10-07 13:45.22 ---> using "b3306cabf406213e1893a9e8c47edcffe98e4f412d822ed09e731417e760223c" 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.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.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 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-07 13:45.22 ---> using "85e918332f4876f5fab6417420a13a24de6d4e985792a77c1dc5b3e80c8bf657" from cache
/src: (copy (src .) (dst /src))
2025-10-07 13:45.22 ---> using "a64571e6e4fdac34dac02404aceca6b8d80c7d034983df7c9dc843daf10065db" from cache
/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 `JSIIR5R2'.
[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-07 13:45.22 ---> using "0298d32261692d339993bae6b1567c56057649aef9eb7ce1c7fe31ab6d9c9c94" from cache
Job succeeded
2025-10-07 13:45.22: Job succeeded