Organisationsocaml-opamopam-compiler21df15 ()fedora-41-5.3_opam-2.4

fedora-41-5.3_opam-2.4

Link Copied
Code Copied

Logs

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:fedora-41-5.3_opam-2.4)
Base: ocaml/opam:fedora-41-ocaml-5.3@sha256:807e9dca7f5ba5d70cc1aaa05e7d619aec8dc85850c58f408797d1f053ed17f5
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:fedora-41-ocaml-5.3@sha256:807e9dca7f5ba5d70cc1aaa05e7d619aec8dc85850c58f408797d1f053ed17f5
# fedora-41-5.3_opam-2.4
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.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:fedora-41-ocaml-5.3@sha256:807e9dca7f5ba5d70cc1aaa05e7d619aec8dc85850c58f408797d1f053ed17f5-fedora-41-5.3_opam-2.4-0cef27fe415e4ba8acaea9ba1ef60a97"
2025-08-21 00:33.07: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-5.3@sha256:807e9dca7f5ba5d70cc1aaa05e7d619aec8dc85850c58f408797d1f053ed17f5)
(comment fedora-41-5.3_opam-2.4)
(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.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 eumache
HEAD is now at 11cddd9 Minor update to README.
HEAD is now at 21df154 Merge pull request #40 from tmcgilchrist/fixes


(from ocaml/opam:fedora-41-ocaml-5.3@sha256:807e9dca7f5ba5d70cc1aaa05e7d619aec8dc85850c58f408797d1f053ed17f5)
Unable to find image 'ocaml/opam:fedora-41-ocaml-5.3@sha256:807e9dca7f5ba5d70cc1aaa05e7d619aec8dc85850c58f408797d1f053ed17f5' locally
docker.io/ocaml/opam@sha256:807e9dca7f5ba5d70cc1aaa05e7d619aec8dc85850c58f408797d1f053ed17f5: Pulling from ocaml/opam
2b0cc7ee804c: Already exists
c18ed2f7611b: Already exists
0e212a9ba2f6: Already exists
720686032277: Already exists
93be4d741366: Already exists
df139e1f3f46: Already exists
bee85951ecc4: Already exists
cfb7dd932d0a: Already exists
302d2b5cf94e: Already exists
744bd9676b94: Already exists
a61a2d3582bd: Already exists
a5cf4976352b: Already exists
2bc5a8b0d983: Already exists
22426805282e: Already exists
d39f24bef506: Already exists
2c18ac3ce9e5: Already exists
9d7b82e56a00: Already exists
404af7605dc7: Already exists
007ac776635c: Already exists
3d6a7bcf6161: Already exists
4f4fb700ef54: Already exists
81a2be02a786: Already exists
bd0aecc02a24: Already exists
d45fa2528917: Already exists
80de9e6990f7: Already exists
03da6777de95: Already exists
494d5ca3df8f: Already exists
41c6b53a001d: Already exists
3e8b84460b11: Already exists
d053d4a106fe: Already exists
fa7761527b70: Already exists
dcd9d9d9b709: Already exists
d9806d9e64c4: Already exists
f876e57ff686: Already exists
8bc0b3187df7: Already exists
8b9e19fd2c6f: Already exists
9ba4810d75d9: Already exists
dbd14d793cc9: Already exists
42532df89f46: Already exists
d03e76a27dce: Already exists
bac3b6f3c4a9: Already exists
50215e359b55: Already exists
27e83a79dc4e: Already exists
334ed129df98: Already exists
Digest: sha256:807e9dca7f5ba5d70cc1aaa05e7d619aec8dc85850c58f408797d1f053ed17f5
Status: Downloaded newer image for ocaml/opam@sha256:807e9dca7f5ba5d70cc1aaa05e7d619aec8dc85850c58f408797d1f053ed17f5
2025-08-21 00:33.08 ---> using "35acf84784bf4471d6359ee6903b64a640d608f18aa556a867466db9cbdb24a8" from cache


/: (comment fedora-41-5.3_opam-2.4)


/: (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% |  47.0 KiB/s |  21.8 KiB |  00m00s
Fedora 41 openh264 (From Cisco) - x86_ 100% |  10.8 KiB/s | 986.0   B |  00m00s
Fedora 41 - x86_64                     100% | 206.3 KiB/s |  26.0 KiB |  00m00s
Fedora 41 - x86_64 - Updates           100% |   4.7 MiB/s |   5.3 MiB |  00m01s
Repositories loaded.
Package "findutils-1:4.10.0-4.fc41.x86_64" is already installed.


Nothing to do.
2025-08-21 00:33.08 ---> using "84924c65c35e03b36258f80f529e248173044abc9ac80c35d9b0574d8f80cc0a" from cache


/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-08-21 00:33.08 ---> using "91c55b64e2d644bb6d6499bb0a8585851c2546e92f4a1fbc5f722dd288b9a6cc" 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-08-21 00:33.08 ---> using "6a72ba5e93e8a85c798bd2f9c3826f0ec8bfc63c1bffc4415bc4db59bec4582a" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-131-generic
The OCaml toplevel, version 5.3.0
2.4.1
2025-08-21 00:33.08 ---> using "b3d032e204eda0858d1b0b65ee0a914a1692df89be24daa37b40567fbc7a8386" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-08-21 00:33.08 ---> using "376234755cf9500cead593c9d2d8bb0203bc20828bf2a19dd27415bf715a07cf" 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 "7f19c0c35fb33ca39910f333c4c9093a721a66fd7ebb215953bd0def06133757" from cache


/src: (copy (src opam-compiler.opam) (dst ./))
2025-08-21 00:33.08 ---> using "863d7c133db70f7da3f684bdc4e6333ef15b1dcd01b464348ec6ec5c3490116c" 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 "f0922dd385a43fa5ef6849a980892936887074f5704cc41b12d8276faea583ae" from cache


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-08-21 00:33.08 ---> using "481a3818975b47ccc88a4d918430f479358724a98536665bb7da5b95db566492" 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 "yum" "makecache"
- Updating and loading repositories:
-  Fedora 41 - x86_64 - Updates           100% |  74.0 KiB/s |  23.6 KiB |  00m00s
- 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 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 "fe3e9e9898434818677a846144f22cd221c02d18005ae52d1e005d266d05cb7d" 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 github-data.4.4.1  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocaml-version.4.0.1  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved dune.3.20.0, dune-configurator.3.20.0  (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved re.1.13.2  (cached)
-> retrieved seq.base  (cached)
-> retrieved result.1.5  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> installed cmdliner.1.3.0
-> installed seq.base
-> retrieved topkg.1.1.0  (cached)
-> retrieved uri.4.4.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved yojson.2.2.2  (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 biniou.1.2.2
-> installed curly.0.3.0
-> 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 "0c0b92acdcd7712ffd3c8d209cf2fbabd6b916a1f5e641ab4edf7f6e5a9f073f" from cache


/src: (copy (src .) (dst /src))
2025-08-21 00:33.08 ---> using "a5a638c5d5e9ae4d4b1e66e5f6a4ee130f2248ce90618fffde7fe731e59905c9" 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 `I3X7R76T'.


.........................


2025-08-21 00:33.08 ---> using "8d04c0d35a9c9e72c9e565401887dc0a7dad8a0d3d67e0278d4c031e50d552a9" from cache
Job succeeded
2025-08-21 00:33.08: Job succeeded