2025-06-02 22:25.24: New job: test ocaml-ppx/ppxlib https://github.com/ocaml-ppx/ppxlib.git#refs/heads/main (74e7196cb0ceb90577342b72b18fbd74eaaa0806) (linux-x86_64:fedora-41-4.14_opam-2.3)
Base: ocaml/opam:fedora-41-ocaml-4.14@sha256:dfcabb5f651d8095f05c5ed5a9abb403903d60a288cf99e450e8a7f05e2f5bcd
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-ppx/ppxlib.git" -b "main" && cd "ppxlib" && git reset --hard 74e7196c
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-41-ocaml-4.14@sha256:dfcabb5f651d8095f05c5ed5a9abb403903d60a288cf99e450e8a7f05e2f5bcd
# 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 0e1a25ffde388b436cc1998777c138d69666193d || git fetch origin master) && git reset -q --hard 0e1a25ffde388b436cc1998777c138d69666193d && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam ./
RUN opam pin add -yn ppxlib.dev './' && \
opam pin add -yn ppxlib-tools.dev './' && \
opam pin add -yn ppxlib-bench.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base.v0.16.4 base-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.19.0 dune-configurator.3.19.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.12.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y ppxlib.dev ppxlib-tools.dev ppxlib-bench.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-02 22:25.24: Using cache hint "ocaml-ppx/ppxlib-ocaml/opam:fedora-41-ocaml-4.14@sha256:dfcabb5f651d8095f05c5ed5a9abb403903d60a288cf99e450e8a7f05e2f5bcd-fedora-41-4.14_opam-2.3-2ffccdc141431fe8b5bad3d94d901fe9"
2025-06-02 22:25.24: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-4.14@sha256:dfcabb5f651d8095f05c5ed5a9abb403903d60a288cf99e450e8a7f05e2f5bcd)
(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 0e1a25ffde388b436cc1998777c138d69666193d || git fetch origin master) && git reset -q --hard 0e1a25ffde388b436cc1998777c138d69666193d && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn ppxlib.dev './' && \
\nopam pin add -yn ppxlib-tools.dev './' && \
\nopam pin add -yn ppxlib-bench.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base.v0.16.4 base-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.19.0 dune-configurator.3.19.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.12.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 yojson.3.0.0")
(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 ppxlib.dev ppxlib-tools.dev ppxlib-bench.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-02 22:25.24: Waiting for resource in pool OCluster
2025-06-02 22:29.34: Waiting for worker…
2025-06-02 22:32.17: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 74e7196c Merge pull request #580 from davesnx/patch-1
(from ocaml/opam:fedora-41-ocaml-4.14@sha256:dfcabb5f651d8095f05c5ed5a9abb403903d60a288cf99e450e8a7f05e2f5bcd)
Unable to find image 'ocaml/opam:fedora-41-ocaml-4.14@sha256:dfcabb5f651d8095f05c5ed5a9abb403903d60a288cf99e450e8a7f05e2f5bcd' locally
docker.io/ocaml/opam@sha256:dfcabb5f651d8095f05c5ed5a9abb403903d60a288cf99e450e8a7f05e2f5bcd: Pulling from ocaml/opam
b889fd56ba46: Pulling fs layer
b889fd56ba46: Verifying Checksum
b889fd56ba46: Download complete
b889fd56ba46: Pull complete
Digest: sha256:dfcabb5f651d8095f05c5ed5a9abb403903d60a288cf99e450e8a7f05e2f5bcd
Status: Downloaded newer image for ocaml/opam@sha256:dfcabb5f651d8095f05c5ed5a9abb403903d60a288cf99e450e8a7f05e2f5bcd
2025-06-02 22:32.18 ---> using "037ff28cdb8a693c85c3367b9713188bdeafabbd82d042c068bafa2f7452020e" 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% | 81.4 KiB/s | 25.2 KiB | 00m00s
Fedora 41 openh264 (From Cisco) - x86_ 100% | 9.8 KiB/s | 989.0 B | 00m00s
Fedora 41 - x86_64 100% | 200.6 KiB/s | 25.9 KiB | 00m00s
Fedora 41 - x86_64 - Updates 100% | 6.4 MiB/s | 9.7 MiB | 00m02s
Repositories loaded.
Package "findutils-1:4.10.0-4.fc41.x86_64" is already installed.
Nothing to do.
2025-06-02 22:32.18 ---> using "ffdd78e692da3f0ebf5ce0e8ac46e14c85985dc229512a09832e6f1860694ad5" from cache
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-06-02 22:32.18 ---> using "75cacfbbbd7cc4adaf5d870da6c78c45a0495deffe093875560acc03f9a46a6e" 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-02 22:32.18 ---> using "745de786c7f9c53e370c26a7c94f0ca4e17886deeb406cc01cf91385e525be05" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-06-02 22:32.18 ---> using "7489ae0982687fb7f3bbf0d50c63a90d5c0cab74a92650c7e564177a9b1e5e67" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-06-02 22:32.18 ---> using "433e8a6f2a5ae909c766bba81984583cc4acbe837460c161199c22eccc82d22a" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 0e1a25ffde388b436cc1998777c138d69666193d || git fetch origin master) && git reset -q --hard 0e1a25ffde388b436cc1998777c138d69666193d && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
0d013e603b..c037675bed master -> origin/master
0e1a25ffde Merge pull request #27956 from Leonidas-from-XIV/release-yojson-3.0.0
<><> 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-02 22:32.18 ---> using "114eaea2a917a2608e24eb0a137134151fe1028158e52e314ecb4884e073a327" from cache
/src: (copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./))
2025-06-02 22:32.18 ---> using "1cd77dd5272589a5961674baf1cf9a122f11dfc82cc32f078f21912a76814ea2" from cache
/src: (run (network host)
(shell "opam pin add -yn ppxlib.dev './' && \
\nopam pin add -yn ppxlib-tools.dev './' && \
\nopam pin add -yn ppxlib-bench.dev './'"))
[ppxlib.dev] synchronised (file:///src)
ppxlib is now pinned to file:///src (version dev)
[ppxlib-tools.dev] synchronised (file:///src)
ppxlib-tools is now pinned to file:///src (version dev)
Package ppxlib-bench does not exist, create as a NEW package? [y/n] y
[ppxlib-bench.dev] synchronised (file:///src)
ppxlib-bench is now pinned to file:///src (version dev)
2025-06-02 22:32.18 ---> using "bc29f39516e7e3e3ba256f4768c5c024336c0fab7473e0ddf29ce579c0b06fa0" from cache
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-02 22:32.18 ---> using "93e959877dc098cbb1e5f99447bf4da0035564a03e4234967a91b99fd6382a0f" from cache
/src: (env DEPS "base.v0.16.4 base-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.19.0 dune-configurator.3.19.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.12.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 yojson.3.0.0")
/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 ppxlib.dev ppxlib-tools.dev ppxlib-bench.dev $DEPS"))
+ /usr/bin/sudo "yum" "makecache"
- Updating and loading repositories:
- Repositories loaded.
- Metadata cache created.
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppxlib.dev] synchronised (file:///src)
[ppxlib-bench.dev] synchronised (file:///src)
[ppxlib-tools.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-02 22:32.18 ---> using "da5ee5ff1859a15f186a7dc89c8f9a33dc98e23afc8a9669b22b60edbc19857d" 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 14 packages
- install base v0.16.4
- install cinaps v0.15.1
- install cmdliner 1.3.0
- install csexp 1.5.2
- install dune 3.19.0
- install dune-configurator 3.19.0
- install ocaml-compiler-libs v0.12.4
- install ocamlfind 1.9.8
- install ppx_derivers 1.2.1
- install re 1.12.0
- install seq base
- install sexplib0 v0.16.0
- install stdlib-shims 0.3.0
- install yojson 3.0.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cinaps.v0.15.1 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved base.v0.16.4 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved re.1.12.0 (cached)
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved yojson.3.0.0 (cached)
-> retrieved dune.3.19.0, dune-configurator.3.19.0 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> installed dune.3.19.0
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed ocaml-compiler-libs.v0.12.4
-> installed re.1.12.0
-> installed sexplib0.v0.16.0
-> installed yojson.3.0.0
-> installed cinaps.v0.15.1
-> installed dune-configurator.3.19.0
-> installed base.v0.16.4
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-02 22:32.29 ---> saved as "4a4583aa10992315d97a95f0df90f0053c5fd3b5050a3a70f14e4b31396f7f71"
/src: (copy (src .) (dst /src))
2025-06-02 22:32.30 ---> saved as "7390f5c54577c5928f2515f8c779cb9b2f43836890c15de052d4b9eddaf300e4"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-06-02 22:32.57 ---> saved as "deca881504d8106e76b2a2744656d2ac195de1afee9ef42dc02327d02542cbb7"
Job succeeded
2025-06-02 22:32.57: Job succeeded