2025-06-17 18:28.02: New job: test ocaml-opam/opam-compiler https://github.com/ocaml-opam/opam-compiler.git#refs/heads/master (c09b015b7c4cbc0ffa2b1008b7dc148a4c88b2b4) (linux-x86_64:fedora-41-4.14_opam-2.3)
Base: ocaml/opam:fedora-41-ocaml-4.14@sha256:e18d67147cfd23b78ea8a17248216181b59b1047f2b8c3fc75f37938c49e35a4
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 c09b015b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-41-ocaml-4.14@sha256:e18d67147cfd23b78ea8a17248216181b59b1047f2b8c3fc75f37938c49e35a4
# fedora-41-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
RUN sudo ln -f /usr/bin/opam-2.3 /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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && 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 astring.0.8.5 atd.2.16.0 atdgen.2.15.0 atdgen-runtime.2.16.0 base-bigarray.base base-threads.base base-unix.base biniou.1.2.2 bos.0.2.1 camlp-streams.5.0.1 cmdliner.1.3.0 curly.0.3.0 dune.3.19.1 easy-format.1.3.4 either.1.0.0 fmt.0.10.0 fpath.0.7.3 github-data.4.4.1 logs.0.8.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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.12.0 result.1.5 rresult.0.7.0 seq.base stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --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-06-17 18:28.02: Using cache hint "ocaml-opam/opam-compiler-ocaml/opam:fedora-41-ocaml-4.14@sha256:e18d67147cfd23b78ea8a17248216181b59b1047f2b8c3fc75f37938c49e35a4-fedora-41-4.14_opam-2.3-f4f70651575607ab0caaa5c127028879"
2025-06-17 18:28.02: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-4.14@sha256:e18d67147cfd23b78ea8a17248216181b59b1047f2b8c3fc75f37938c49e35a4)
(comment fedora-41-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (network host)
(shell "sudo dnf install -y findutils"))
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && 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 astring.0.8.5 atd.2.16.0 atdgen.2.15.0 atdgen-runtime.2.16.0 base-bigarray.base base-threads.base base-unix.base biniou.1.2.2 bos.0.2.1 camlp-streams.5.0.1 cmdliner.1.3.0 curly.0.3.0 dune.3.19.1 easy-format.1.3.4 either.1.0.0 fmt.0.10.0 fpath.0.7.3 github-data.4.4.1 logs.0.8.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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.12.0 result.1.5 rresult.0.7.0 seq.base stdlib-shims.0.3.0 topkg.1.0.8 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.3 --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-06-17 18:28.02: Waiting for resource in pool OCluster
2025-06-17 20:01.45: Waiting for worker…
2025-06-17 20:05.26: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at c09b015 Prepare 0.2.0
(from ocaml/opam:fedora-41-ocaml-4.14@sha256:e18d67147cfd23b78ea8a17248216181b59b1047f2b8c3fc75f37938c49e35a4)
Unable to find image 'ocaml/opam:fedora-41-ocaml-4.14@sha256:e18d67147cfd23b78ea8a17248216181b59b1047f2b8c3fc75f37938c49e35a4' locally
docker.io/ocaml/opam@sha256:e18d67147cfd23b78ea8a17248216181b59b1047f2b8c3fc75f37938c49e35a4: Pulling from ocaml/opam
559ff5bb9ed5: Pulling fs layer
d1c008cbdce3: Pulling fs layer
f6876d7ddc6c: Pulling fs layer
d12c49799721: Pulling fs layer
54c1d8fa2857: Pulling fs layer
d12c49799721: Waiting
54c1d8fa2857: Waiting
559ff5bb9ed5: Waiting
d1c008cbdce3: Waiting
f6876d7ddc6c: Waiting
559ff5bb9ed5: Verifying Checksum
559ff5bb9ed5: Download complete
d1c008cbdce3: Verifying Checksum
d1c008cbdce3: Download complete
f6876d7ddc6c: Verifying Checksum
f6876d7ddc6c: Download complete
d12c49799721: Verifying Checksum
d12c49799721: Download complete
54c1d8fa2857: Verifying Checksum
54c1d8fa2857: Download complete
559ff5bb9ed5: Pull complete
d1c008cbdce3: Pull complete
f6876d7ddc6c: Pull complete
d12c49799721: Pull complete
54c1d8fa2857: Pull complete
Digest: sha256:e18d67147cfd23b78ea8a17248216181b59b1047f2b8c3fc75f37938c49e35a4
Status: Downloaded newer image for ocaml/opam@sha256:e18d67147cfd23b78ea8a17248216181b59b1047f2b8c3fc75f37938c49e35a4
2025-06-17 20:05.26 ---> using "22fe946b035c020ff814c5576cdc75d7652cf945cb2c467c6d9cae1ca0d5d1e4" from cache
/: (comment fedora-41-4.14_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (network host)
(shell "sudo dnf install -y findutils"))
Updating and loading repositories:
Fedora 41 - x86_64 - Updates 100% | 106.0 KiB/s | 25.1 KiB | 00m00s
Fedora 41 - x86_64 - Updates 100% | 1.8 MiB/s | 3.8 MiB | 00m02s
Repositories loaded.
Package "findutils-1:4.10.0-4.fc41.x86_64" is already installed.
Nothing to do.
2025-06-17 20:05.26 ---> using "acba83c8fbb85f5fb83b3d24118174ced84b0f66836231dc84f8d54745061278" from cache
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-06-17 20:05.26 ---> using "ca3db86f436b376241c2269f32c845b6b5ab85471332a51034b18e4dbae999eb" 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 development 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-06-17 20:05.26 ---> using "c8590e32c8015d4f1bad379929a5a7f97d0d852ea223612fbffb57dd53027e6f" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-141-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-06-17 20:05.26 ---> using "605268a13adf0255e82b335cf6caa9db604ecc1366c7ff70da6dc14e3e676194" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-06-17 20:05.26 ---> using "9c99ba5690e61f79e97947f98468946414eb639242036a49598ef0d5dfab3355" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
a28eb8a148 Merge pull request #28017 from maiste/release-dune-3.19.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, 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-06-17 20:05.26 ---> using "949afb7443c8ae552a5bb20c329aa70638316547ec655a5a4dcc62e3d017c9d0" from cache
/src: (copy (src opam-compiler.opam) (dst ./))
2025-06-17 20:05.26 ---> saved as "89a15b701fa5a55c69421f4bec14790e80a552cecb882393f51f1f27bb267450"
/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-06-17 20:05.27 ---> saved as "a0fdff9bef398132bbb896a7201cfc64661b93887600c4c13ad42c9804495bd1"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-17 20:05.27 ---> saved as "76e2eaa05d312437354219e5e7b1c9b2bafdecc008c170d685dedd3ef6265b61"
/src: (env DEPS "alcotest.1.9.0 astring.0.8.5 atd.2.16.0 atdgen.2.15.0 atdgen-runtime.2.16.0 base-bigarray.base base-threads.base base-unix.base biniou.1.2.2 bos.0.2.1 camlp-streams.5.0.1 cmdliner.1.3.0 curly.0.3.0 dune.3.19.1 easy-format.1.3.4 either.1.0.0 fmt.0.10.0 fpath.0.7.3 github-data.4.4.1 logs.0.8.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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.12.0 result.1.5 rresult.0.7.0 seq.base stdlib-shims.0.3.0 topkg.1.0.8 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.3 --depext-only -y opam-compiler.dev $DEPS"))
+ /usr/bin/sudo "yum" "makecache"
- Updating and loading repositories:
- Repositories loaded.
- Metadata cache created.
<><> 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 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-06-17 20:05.36 ---> saved as "58f82be2b8646fdfead0cb7f0a36855c2108ab55c16eb48bbf33b69f16e0feda"
/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 33 packages
- install alcotest 1.9.0
- install astring 0.8.5
- install atd 2.16.0
- install atdgen 2.15.0
- install atdgen-runtime 2.16.0
- install biniou 1.2.2
- install bos 0.2.1
- install camlp-streams 5.0.1
- install cmdliner 1.3.0
- install curly 0.3.0
- install dune 3.19.1
- install easy-format 1.3.4
- install either 1.0.0
- install fmt 0.10.0
- install fpath 0.7.3
- install github-data 4.4.1
- install logs 0.8.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.12.0
- install result 1.5
- install rresult 0.7.0
- install seq base
- install stdlib-shims 0.3.0
- install topkg 1.0.8
- install uutf 1.0.4
- install yojson 2.2.2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved alcotest.1.9.0 (cached)
-> retrieved biniou.1.2.2 (cached)
-> retrieved bos.0.2.1 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved atd.2.16.0, atdgen-runtime.2.16.0 (cached)
-> retrieved atdgen.2.15.0 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved curly.0.3.0 (cached)
-> retrieved easy-format.1.3.4 (cached)
-> retrieved either.1.0.0 (cached)
-> retrieved fmt.0.10.0 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved logs.0.8.0 (cached)
-> retrieved github-data.4.4.1 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml-version.4.0.1 (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved dune.3.19.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved seq.base (cached)
-> retrieved result.1.5 (cached)
-> retrieved rresult.0.7.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved uutf.1.0.4 (cached)
-> retrieved topkg.1.0.8 (cached)
-> retrieved yojson.2.2.2 (cached)
-> installed cmdliner.1.3.0
-> installed seq.base
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.0.8
-> installed rresult.0.7.0
-> installed uutf.1.0.4
-> installed fmt.0.10.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed logs.0.8.0
-> installed bos.0.2.1
-> installed dune.3.19.1
-> installed easy-format.1.3.4
-> installed either.1.0.0
-> installed camlp-streams.5.0.1
-> installed menhirCST.20240715
-> installed stdlib-shims.0.3.0
-> installed result.1.5
-> installed ocaml-version.4.0.1
-> installed menhirSdk.20240715
-> installed curly.0.3.0
-> installed menhirLib.20240715
-> installed biniou.1.2.2
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.12.0
-> installed yojson.2.2.2
-> installed atdgen-runtime.2.16.0
-> installed alcotest.1.9.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-06-17 20:06.24 ---> saved as "706ee999343e4110e095b706be1a4648c569a687ee40a0ce7f9b9305bd3b9a10"
/src: (copy (src .) (dst /src))
2025-06-17 20:06.24 ---> saved as "7920063a599d7a979ec2ff6c2bdfc4566f4b42bd46bdb07ad6ad56c6d04371aa"
/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 `I67DVQK8'.
......................
2025-06-17 20:06.25 ---> saved as "7fee5d87033bfee36d92f22fa22528464493697cf7dfe4b0090daec6f536a39b"
Job succeeded
2025-06-17 20:06.25: Job succeeded