Organisationsocaml-ppxppxlib7a89a6 ()ubuntu-24.04-4.14_opam-2.4

ubuntu-24.04-4.14_opam-2.4

Link Copied
Code Copied

Logs

2025-12-04 13:31.56: New job: test ocaml-ppx/ppxlib https://github.com/ocaml-ppx/ppxlib.git#refs/heads/main (7a89a696c6833d5042caa4f6b1c63540a2e29daf) (linux-x86_64:ubuntu-24.04-4.14_opam-2.4)
Base: ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:1d30b5cd25b20397d2d02b8a68002462af2d6c4f475fac43bc77a086b4d918a3
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml-ppx/ppxlib.git" -b "main" && cd "ppxlib" && git reset --hard 7a89a696
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:1d30b5cd25b20397d2d02b8a68002462af2d6c4f475fac43bc77a086b4d918a3
# ubuntu-24.04-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 8a324a5b9945e0e515da441ede437f3756caa83d || git fetch origin master) && git reset -q --hard 8a324a5b9945e0e515da441ede437f3756caa83d && 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.2.1.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 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.14.0 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.4 --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-12-04 13:31.56: Using cache hint "ocaml-ppx/ppxlib-ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:1d30b5cd25b20397d2d02b8a68002462af2d6c4f475fac43bc77a086b4d918a3-ubuntu-24.04-4.14_opam-2.4-53a5637229def483f6f5e1606905002f"
2025-12-04 13:31.56: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:1d30b5cd25b20397d2d02b8a68002462af2d6c4f475fac43bc77a086b4d918a3)
(comment ubuntu-24.04-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 8a324a5b9945e0e515da441ede437f3756caa83d || git fetch origin master) && git reset -q --hard 8a324a5b9945e0e515da441ede437f3756caa83d && 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.2.1.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 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.14.0 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.4 --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-12-04 13:31.56: Waiting for resource in pool OCluster
2025-12-04 13:31.57: Waiting for worker…
2025-12-04 13:31.57: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 7a89a696 Merge pull request #606 from patricoferris/ci-trunk


(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:1d30b5cd25b20397d2d02b8a68002462af2d6c4f475fac43bc77a086b4d918a3)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:1d30b5cd25b20397d2d02b8a68002462af2d6c4f475fac43bc77a086b4d918a3' locally
docker.io/ocaml/opam@sha256:1d30b5cd25b20397d2d02b8a68002462af2d6c4f475fac43bc77a086b4d918a3: Pulling from ocaml/opam
8ecb52b4cf1a: Pulling fs layer
c3f4b04645a9: Pulling fs layer
d145c7bbcaf2: Pulling fs layer
f7cdcfecf1f9: Pulling fs layer
a0135279d89f: Pulling fs layer
d145c7bbcaf2: Waiting
f7cdcfecf1f9: Waiting
a0135279d89f: Waiting
8ecb52b4cf1a: Verifying Checksum
8ecb52b4cf1a: Download complete
d145c7bbcaf2: Download complete
f7cdcfecf1f9: Download complete
a0135279d89f: Download complete
c3f4b04645a9: Verifying Checksum
c3f4b04645a9: Download complete
8ecb52b4cf1a: Pull complete
c3f4b04645a9: Pull complete
d145c7bbcaf2: Pull complete
f7cdcfecf1f9: Pull complete
a0135279d89f: Pull complete
Digest: sha256:1d30b5cd25b20397d2d02b8a68002462af2d6c4f475fac43bc77a086b4d918a3
Status: Downloaded newer image for ocaml/opam@sha256:1d30b5cd25b20397d2d02b8a68002462af2d6c4f475fac43bc77a086b4d918a3
2025-12-04 13:31.59 ---> using "1fd1a6f21d29ed8e21bc2c8d88b95676eb7484ce711d18d828e8b10637686390" from cache


/: (comment ubuntu-24.04-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-12-04 13:31.59 ---> using "e682853f3be6f54f62d380e655989a454ddfc32d0ce696399baf3f9ccb2f9169" 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 71 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=71 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-12-04 13:31.59 ---> using "3bc0d4d56a4d77911d56b2c76d3b4c2a1f3ecac0c218b48332c4a5de96e95f66" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-87-generic
The OCaml toplevel, version 4.14.2
2.4.1
2025-12-04 13:31.59 ---> using "3af88ff37f68416833d55c5b457bcfcf13b54dcb352040494b506db3d5a8b9ab" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-12-04 13:31.59 ---> using "2995ba8fb06e1e47022fa4f040cda3ba199fa8edb3fd4a0280bd941e0dfbe94c" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 8a324a5b9945e0e515da441ede437f3756caa83d || git fetch origin master) && git reset -q --hard 8a324a5b9945e0e515da441ede437f3756caa83d && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
ee3428377a..2fd4164ca1  master     -> origin/master
8a324a5b99 Add: cmdliner.2.1.0 (#28962)


<><> 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.4.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-12-04 13:31.59 ---> using "884e33f11039572d3cc6a4c983b280af83362840452f056dc317bd628216739b" from cache


/src: (copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./))
2025-12-04 13:31.59 ---> saved as "e64fe8a3db3b47663815061ff6818688c6bfe110f50e7d383fef06227c011373"


/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)
[NOTE] Package ppxlib-bench does not exist in opam repositories registered in the current switch.
[ppxlib-bench.dev] synchronised (file:///src)
ppxlib-bench is now pinned to file:///src (version dev)
2025-12-04 13:32.04 ---> saved as "fe111da4e47a28be2a6e30a236ae7bbc7c25350bf25caccb843eeef517993d69"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-12-04 13:32.04 ---> saved as "6bb2ee657f6055f5f0cd28515b7b03788c3906c2ef88462d946ef5f701a4ca7d"


/src: (env DEPS "base.v0.16.4 base-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.2.1.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 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.14.0 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.4 --depext-only -y ppxlib.dev ppxlib-tools.dev ppxlib-bench.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:5 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1943 kB]
- Get:6 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [2929 kB]
- Get:7 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [2059 kB]
- Get:8 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [34.3 kB]
- Get:9 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1182 kB]
- Get:10 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [2796 kB]
- Get:11 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1700 kB]
- Fetched 13.0 MB in 3s (5098 kB/s)
- Reading package lists...
- 


<><> 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-12-04 13:32.16 ---> saved as "370b193d3a05577dcba558862862c640ffe6167305f214ad24b435e8edb9c8ce"


/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 13 packages
- install base                v0.16.4
- install cinaps              v0.15.1
- install cmdliner            2.1.0
- install csexp               1.5.2
- install dune                3.20.2
- install dune-configurator   3.20.2
- install ocaml-compiler-libs v0.12.4
- install ocamlfind           1.9.8
- install ppx_derivers        1.2.1
- install re                  1.14.0
- install sexplib0            v0.16.0
- install stdlib-shims        0.3.0
- install yojson              3.0.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.16.4  (cached)
-> retrieved cinaps.v0.15.1  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved yojson.3.0.0  (cached)
2025-12-04 13:32.24: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled