2025-08-21 00:33.07: New job: test ocaml-opam/opam-compiler https://github.com/ocaml-opam/opam-compiler.git#refs/heads/master (21df1544d1996d4aa5aa4d4a34e702c4361e0ff9) (linux-x86_64:ubuntu-24.10-5.3_opam-2.4)
Base: ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:a3ffa70374ecfc80dd386b73faebcc4ce15a8f241b0a09130e80ef58d76b2e74
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-opam/opam-compiler.git" -b "master" && cd "opam-compiler" && git reset --hard 21df1544
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:a3ffa70374ecfc80dd386b73faebcc4ce15a8f241b0a09130e80ef58d76b2e74
# ubuntu-24.10-5.3_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 f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 || git fetch origin master) && git reset -q --hard f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 opam-compiler.opam ./
RUN opam pin add -yn opam-compiler.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.0 angstrom.0.16.1 astring.0.8.5 atd.2.16.0 atdgen.2.15.0 atdgen-runtime.2.16.0 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigstringaf.0.10.0 biniou.1.2.2 bos.0.2.1 camlp-streams.5.0.1 cmdliner.1.3.0 csexp.1.5.2 curly.0.3.0 dune.3.20.0 dune-configurator.3.20.0 easy-format.1.3.4 either.1.0.0 fmt.0.11.0 fpath.0.7.3 github-data.4.4.1 logs.0.9.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.13.2 result.1.5 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.1.0 uri.4.4.0 uutf.1.0.4 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y opam-compiler.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-08-21 00:33.07: Using cache hint "ocaml-opam/opam-compiler-ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:a3ffa70374ecfc80dd386b73faebcc4ce15a8f241b0a09130e80ef58d76b2e74-ubuntu-24.10-5.3_opam-2.4-0cef27fe415e4ba8acaea9ba1ef60a97"
2025-08-21 00:33.07: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:a3ffa70374ecfc80dd386b73faebcc4ce15a8f241b0a09130e80ef58d76b2e74)
(comment ubuntu-24.10-5.3_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 f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 || git fetch origin master) && git reset -q --hard f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src opam-compiler.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn opam-compiler.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.0 angstrom.0.16.1 astring.0.8.5 atd.2.16.0 atdgen.2.15.0 atdgen-runtime.2.16.0 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigstringaf.0.10.0 biniou.1.2.2 bos.0.2.1 camlp-streams.5.0.1 cmdliner.1.3.0 csexp.1.5.2 curly.0.3.0 dune.3.20.0 dune-configurator.3.20.0 easy-format.1.3.4 either.1.0.0 fmt.0.11.0 fpath.0.7.3 github-data.4.4.1 logs.0.9.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.13.2 result.1.5 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.1.0 uri.4.4.0 uutf.1.0.4 yojson.2.2.2")
(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 opam-compiler.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-08-21 00:33.07: Waiting for resource in pool OCluster
2025-08-21 00:33.07: Waiting for worker…
2025-08-21 00:33.07: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
HEAD is now at 11cddd9 Minor update to README.
HEAD is now at 21df154 Merge pull request #40 from tmcgilchrist/fixes
(from ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:a3ffa70374ecfc80dd386b73faebcc4ce15a8f241b0a09130e80ef58d76b2e74)
2025-08-21 00:33.08 ---> using "e3031fce4666df3c8a4d180feda7dc06becd86fde09e4c874799a52edafeeda3" from cache
/: (comment ubuntu-24.10-5.3_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-08-21 00:33.08 ---> using "10e069c55691c8c8bc8ff3c9d06849a8500b515494ff3c8c3eb82bc77d01f444" 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
2025-08-21 00:33.08 ---> using "42acfd97ba2129a9e34a426a15cbdd19d97d6318186c060b8226b005a9b7c296" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 5.3.0
2.4.1
2025-08-21 00:33.08 ---> using "5c539334f7daa882dd9a8279c3112442b04dbafc75ca75009b1c044b726ce5c4" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-08-21 00:33.08 ---> using "d6d84bbff321ba13d7949c31688b1af7860219b3bb3cfdb33786f4e8dd5d0763" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 || git fetch origin master) && git reset -q --hard f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
ee8b9193dd..0978bfceb7 master -> origin/master
f9d23e5cb1 Merge pull request #28357 from maiste/release-dune-3.20.0
<><> 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-08-21 00:33.08 ---> using "4b564294bba4db7b9e78b8b7d6fa07c708267f740cfd1e30690e37260cf20168" from cache
/src: (copy (src opam-compiler.opam) (dst ./))
2025-08-21 00:33.08 ---> using "76af83fd881fc3a3dc7db844f4db18f960927e9997b3142162f59a4aaabe1939" from cache
/src: (run (network host)
(shell "opam pin add -yn opam-compiler.dev './'"))
[opam-compiler.dev] synchronised (file:///src)
opam-compiler is now pinned to file:///src (version dev)
2025-08-21 00:33.08 ---> using "53132606bd86e972c88b828bae23e28f460c430b819b97140d1684e3271bbecf" from cache
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-08-21 00:33.08 ---> using "d149a2ced74e37756d97482237a8d12e760dee6648d345d7ab57326eae5fb050" from cache
/src: (env DEPS "alcotest.1.9.0 angstrom.0.16.1 astring.0.8.5 atd.2.16.0 atdgen.2.15.0 atdgen-runtime.2.16.0 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigstringaf.0.10.0 biniou.1.2.2 bos.0.2.1 camlp-streams.5.0.1 cmdliner.1.3.0 csexp.1.5.2 curly.0.3.0 dune.3.20.0 dune-configurator.3.20.0 easy-format.1.3.4 either.1.0.0 fmt.0.11.0 fpath.0.7.3 github-data.4.4.1 logs.0.9.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.13.2 result.1.5 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 topkg.1.1.0 uri.4.4.0 uutf.1.0.4 yojson.2.2.2")
/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 opam-compiler.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu oracular InRelease
- Hit:2 http://archive.ubuntu.com/ubuntu oracular-updates InRelease
- Hit:3 http://archive.ubuntu.com/ubuntu oracular-backports InRelease
- Hit:4 http://security.ubuntu.com/ubuntu oracular-security InRelease
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[opam-compiler.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.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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-08-21 00:33.08 ---> using "00c00c20485e161b39a4cc2549a778f9d9d95dda573f7e3a88010c45259ba822" 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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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 39 packages
- install alcotest 1.9.0
- install angstrom 0.16.1
- install astring 0.8.5
- install atd 2.16.0
- install atdgen 2.15.0
- install atdgen-runtime 2.16.0
- install bigstringaf 0.10.0
- install biniou 1.2.2
- install bos 0.2.1
- install camlp-streams 5.0.1
- install cmdliner 1.3.0
- install csexp 1.5.2
- install curly 0.3.0
- install dune 3.20.0
- install dune-configurator 3.20.0
- install easy-format 1.3.4
- install either 1.0.0
- install fmt 0.11.0
- install fpath 0.7.3
- install github-data 4.4.1
- install logs 0.9.0
- install menhir 20240715
- install menhirCST 20240715
- install menhirLib 20240715
- install menhirSdk 20240715
- install ocaml-syntax-shims 1.0.0
- install ocaml-version 4.0.1
- install ocamlbuild 0.16.1
- install ocamlfind 1.9.8
- install re 1.13.2
- install result 1.5
- install rresult 0.7.0
- install seq base
- install stdlib-shims 0.3.0
- install stringext 1.6.0
- install topkg 1.1.0
- install uri 4.4.0
- install uutf 1.0.4
- install yojson 2.2.2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.0 (cached)
-> retrieved angstrom.0.16.1 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved bigstringaf.0.10.0 (cached)
-> retrieved biniou.1.2.2 (cached)
-> retrieved bos.0.2.1 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved curly.0.3.0 (cached)
-> retrieved atd.2.16.0, atdgen-runtime.2.16.0 (cached)
-> retrieved atdgen.2.15.0 (cached)
-> retrieved easy-format.1.3.4 (cached)
-> retrieved either.1.0.0 (cached)
-> retrieved fmt.0.11.0 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved logs.0.9.0 (cached)
-> retrieved dune.3.20.0, dune-configurator.3.20.0 (cached)
-> retrieved github-data.4.4.1 (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml-version.4.0.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> installed cmdliner.1.3.0
-> retrieved re.1.13.2 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved result.1.5 (cached)
-> retrieved rresult.0.7.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved stringext.1.6.0 (cached)
-> retrieved uutf.1.0.4 (cached)
-> retrieved topkg.1.1.0 (cached)
-> retrieved yojson.2.2.2 (cached)
-> retrieved uri.4.4.0 (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.0
-> installed rresult.0.7.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed logs.0.9.0
-> installed bos.0.2.1
-> installed dune.3.20.0
-> installed csexp.1.5.2
-> installed camlp-streams.5.0.1
-> installed easy-format.1.3.4
-> installed either.1.0.0
-> installed menhirCST.20240715
-> installed menhirLib.20240715
-> installed menhirSdk.20240715
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml-version.4.0.1
-> installed re.1.13.2
-> installed result.1.5
-> installed stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> installed yojson.2.2.2
-> installed curly.0.3.0
-> installed biniou.1.2.2
-> installed atdgen-runtime.2.16.0
-> installed alcotest.1.9.0
-> installed dune-configurator.3.20.0
-> installed bigstringaf.0.10.0
-> installed angstrom.0.16.1
-> installed uri.4.4.0
-> installed menhir.20240715
-> installed atd.2.16.0
-> installed atdgen.2.15.0
-> installed github-data.4.4.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-21 00:33.08 ---> using "bfa07e4d3d7130c0d7cd4465273b00715179e3271c5342a71f18ea0e8b81581e" from cache
/src: (copy (src .) (dst /src))
2025-08-21 00:33.08 ---> using "790c1ba8d30cdcc0e1cd3db92b1b8471264b87fb90558515fc0e4974a038b5cb" from cache
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test/unit && ./test.exe --compact)
Testing `opam-compiler'.
This run has ID `F8133A3R'.
.........................
2025-08-21 00:33.08 ---> using "46c3a24389e3fef2c49008979cb8b2bb50799a3324a511b5d2f2968ca8ec2f45" from cache
Job succeeded
2025-08-21 00:33.08: Job succeeded