Organisationsocaml-ppxppx_derivingf04fd8 ()ubuntu-25.04-4.14_opam-2.4

ubuntu-25.04-4.14_opam-2.4

Link Copied
Code Copied

Logs

2025-12-28 07:21.10: New job: test ocaml-ppx/ppx_deriving https://github.com/ocaml-ppx/ppx_deriving.git#refs/pull/297/head (f04fd81a57eb9b12e2e3ea6ef9f16ad486e5b52c) (linux-x86_64:ubuntu-25.04-4.14_opam-2.4)
Base: ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:42dfa2b5c4338ad976cd25cf95a645bcb4cd44a61f89962961892cb3ef6c6098
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml-ppx/ppx_deriving.git" && cd "ppx_deriving" && git fetch origin "refs/pull/297/head" && git reset --hard f04fd81a
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:42dfa2b5c4338ad976cd25cf95a645bcb4cd44a61f89962961892cb3ef6c6098
# ubuntu-25.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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ppx_deriving.opam ./
RUN opam pin add -yn ppx_deriving.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 dune.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 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.37.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y ppx_deriving.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-28 07:21.10: Using cache hint "ocaml-ppx/ppx_deriving-ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:42dfa2b5c4338ad976cd25cf95a645bcb4cd44a61f89962961892cb3ef6c6098-ubuntu-25.04-4.14_opam-2.4-51970e9a0eaa0dacad164e256d4b8558"
2025-12-28 07:21.10: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:42dfa2b5c4338ad976cd25cf95a645bcb4cd44a61f89962961892cb3ef6c6098)
(comment ubuntu-25.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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ppx_deriving.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn ppx_deriving.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 dune.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 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.37.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.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 ppx_deriving.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-28 07:21.10: Waiting for resource in pool OCluster
2025-12-28 07:48.06: Waiting for worker…
2025-12-28 07:55.12: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at f04fd81 Update [CHANGELOG.md]


(from ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:42dfa2b5c4338ad976cd25cf95a645bcb4cd44a61f89962961892cb3ef6c6098)
Unable to find image 'ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:42dfa2b5c4338ad976cd25cf95a645bcb4cd44a61f89962961892cb3ef6c6098' locally
docker.io/ocaml/opam@sha256:42dfa2b5c4338ad976cd25cf95a645bcb4cd44a61f89962961892cb3ef6c6098: Pulling from ocaml/opam
c62190a9ab61: Already exists
8c22c3a9fee5: Already exists
b6a3881708c6: Already exists
181330b22b7e: Already exists
506bc07f54fb: Already exists
445a1d2e706e: Already exists
7a1946ec19c4: Already exists
98b064112b67: Already exists
1aec4bda6ddc: Already exists
76877c886107: Already exists
b702cfeb6615: Already exists
099ebca02eb1: Already exists
94b85c014d20: Already exists
e00c8f8334dc: Already exists
9a9581a3a202: Already exists
0ab820126803: Already exists
e578d8d3689b: Already exists
e578d8d3689b: Already exists
37286d2d5f81: Already exists
90223cbaf085: Already exists
c788b16891b0: Already exists
81346b5ad6e3: Already exists
4f4fb700ef54: Already exists
e654b9dd0f7f: Already exists
e08cf68499fe: Already exists
6bb38bef3de3: Already exists
5cc64a03c4df: Already exists
4dafc3bf5bc1: Already exists
79ef16461777: Already exists
51a91543f56b: Already exists
649cda3295cf: Already exists
b1c66dda0dac: Already exists
48e1615134a1: Already exists
a504a74d82d4: Already exists
1660d21f3d44: Already exists
5f3e1a987f27: Already exists
f0c14d70a9d6: Already exists
a19ccd39b1fe: Already exists
4b66343d864a: Already exists
3b60985d75a6: Already exists
edd26009aeb2: Already exists
120c8b7a756e: Pulling fs layer
8d86138940ee: Pulling fs layer
a8e3ed887769: Pulling fs layer
7dfb1fed1eb1: Pulling fs layer
7dfb1fed1eb1: Waiting
8d86138940ee: Verifying Checksum
8d86138940ee: Download complete
a8e3ed887769: Verifying Checksum
a8e3ed887769: Download complete
120c8b7a756e: Verifying Checksum
120c8b7a756e: Download complete
120c8b7a756e: Pull complete
8d86138940ee: Pull complete
a8e3ed887769: Pull complete
7dfb1fed1eb1: Pull complete
Digest: sha256:42dfa2b5c4338ad976cd25cf95a645bcb4cd44a61f89962961892cb3ef6c6098
Status: Downloaded newer image for ocaml/opam@sha256:42dfa2b5c4338ad976cd25cf95a645bcb4cd44a61f89962961892cb3ef6c6098
2025-12-28 07:55.12 ---> using "082e0472106a0ff59c8974d4d0e4121fd1996105440d72ec9c14bd8a6570be24" from cache


/: (comment ubuntu-25.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-28 07:55.12 ---> using "bd56e5531e9dc7e743ac496d059e27ac58d22be35ddbd05eaf2a30baa637f899" 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-12-28 07:55.12 ---> using "f91a06e20676ac398ab3648748f0e066eaa093f721efb6bc278ae5f2532a0af0" 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-28 07:55.12 ---> using "a635d055f5088d24e877b9cd56a15197bd5b9f1cafb4e374e2d6fe7925fb14d0" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-12-28 07:55.12 ---> using "040661dfe8672ac219d335108c1eecdea7e116f6d8cf39c4b8acfca65b7271db" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u"))
c65fcb1165 Merge pull request #29080 from dra27/ocaml-config-urls


<><> 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-28 07:55.12 ---> using "bf10bc4a16d83ddb424361a0a6f1283739d6da4c3024d1d338fe942c1ffe7cf5" from cache


/src: (copy (src ppx_deriving.opam) (dst ./))
2025-12-28 07:55.13 ---> saved as "b597c4ead1a62283e7cddca0341f02f607fd7802ce023b1289fe918de1f9414a"


/src: (run (network host)
(shell "opam pin add -yn ppx_deriving.dev './'"))
[ppx_deriving.dev] synchronised (file:///src)
ppx_deriving is now pinned to file:///src (version dev)
2025-12-28 07:55.15 ---> saved as "d70827b5680b7e5547711772e957ce09df0a967068f85c3f01e9d0daf5d9c4f2"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-12-28 07:55.15 ---> saved as "87a0b28e91b875110759624ec659dd907972b84957936ea21e4708f56f76b55b"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 dune.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 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.37.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.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 ppx_deriving.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu plucky InRelease
- Get:2 http://security.ubuntu.com/ubuntu plucky-security InRelease [126 kB]
- Get:3 http://archive.ubuntu.com/ubuntu plucky-updates InRelease [126 kB]
- Get:4 http://security.ubuntu.com/ubuntu plucky-security/universe amd64 Packages [251 kB]
- Get:5 http://archive.ubuntu.com/ubuntu plucky-backports InRelease [126 kB]
- Get:6 http://archive.ubuntu.com/ubuntu plucky-updates/universe amd64 Packages [348 kB]
- Get:7 http://security.ubuntu.com/ubuntu plucky-security/main amd64 Packages [391 kB]
- Get:8 http://archive.ubuntu.com/ubuntu plucky-updates/restricted amd64 Packages [441 kB]
- Get:9 http://archive.ubuntu.com/ubuntu plucky-updates/main amd64 Packages [568 kB]
- Get:10 http://archive.ubuntu.com/ubuntu plucky-updates/multiverse amd64 Packages [31.6 kB]
- Get:11 http://archive.ubuntu.com/ubuntu plucky-backports/universe amd64 Packages [4040 B]
- Fetched 2411 kB in 1s (2579 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppx_deriving.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-28 07:55.24 ---> saved as "c20d87b662c728378d35aff9d0fadaa602dc6ac6cb380f79320745c6188dae0c"


/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 10 packages
- install cppo                1.8.0
- install dune                3.20.2
- install ocaml-compiler-libs v0.12.4
- install ocamlfind           1.9.8
- install ounit2              2.2.7
- install ppx_derivers        1.2.1
- install ppxlib              0.37.0
- install seq                 base
- install sexplib0            v0.17.0
- install stdlib-shims        0.3.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ppxlib.0.37.0  (cached)
-> retrieved dune.3.20.2  (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.20.2
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.17.0
-> installed cppo.1.8.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed ounit2.2.2.7
-> installed ppxlib.0.37.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-28 07:55.59 ---> saved as "46bee6031ad6fee6a034ac37755f5a99811387b28d88f40b72309c54b38628ce"


/src: (copy (src .) (dst /src))
2025-12-28 07:56.00 ---> saved as "8c37c8d2ed76a5d42eac9d0dd0de5ec83078b9e22a3e3ca5296ff56a00d6ccc7"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/src_test/api && ./test_api.exe)
.
Ran: 1 tests in: 0.10 seconds.
OK
(cd _build/default/src_test/fold && ./test_deriving_fold.exe)
....
Ran: 4 tests in: 0.10 seconds.
OK
(cd _build/default/src_test/ord && ./test_deriving_ord.exe)
..............
Ran: 14 tests in: 0.11 seconds.
OK
(cd _build/default/src_test/iter && ./test_deriving_iter.exe)
....
Ran: 4 tests in: 0.10 seconds.
OK
(cd _build/default/src_test/create && ./test_deriving_create.exe)
..
Ran: 2 tests in: 0.10 seconds.
OK
(cd _build/default/src_test/eq && ./test_deriving_eq.exe)
............
Ran: 12 tests in: 0.10 seconds.
OK
(cd _build/default/src_test/make && ./test_deriving_make.exe)
....
Ran: 4 tests in: 0.10 seconds.
OK
(cd _build/default/src_test/map && ./test_deriving_map.exe)
............
Ran: 12 tests in: 0.10 seconds.
OK
(cd _build/default/src_test/show && ./test_deriving_show.exe)
......................
Ran: 22 tests in: 0.11 seconds.
OK
(cd _build/default/src_test/deriving && ./test_ppx_deriving.exe)
..
Ran: 2 tests in: 0.10 seconds.
OK
2025-12-28 07:56.04 ---> saved as "915477802968e45014dacca8d0d84c66a9f0cc199a989924ccd78a71c96382b3"
Job succeeded
2025-12-28 07:56.04: Job succeeded