Organisationsocaml-ppxppx_deriving_yojson7898dd ()ubuntu-25.04-5.3_opam-2.4

ubuntu-25.04-5.3_opam-2.4

Link Copied
Code Copied

Logs

2025-09-16 10:10.59: New job: test ocaml-ppx/ppx_deriving_yojson https://github.com/ocaml-ppx/ppx_deriving_yojson.git#refs/pull/155/head (7898dda12c1b034fd27474b0139326a53b42eb0f) (linux-x86_64:ubuntu-25.04-5.3_opam-2.4)
Base: ocaml/opam:ubuntu-25.04-ocaml-5.3@sha256:ce80a9ec021b573fa96b61ef253a6d8f8b120173940aeeab201b7de7be7451fa
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml-ppx/ppx_deriving_yojson.git" && cd "ppx_deriving_yojson" && git fetch origin "refs/pull/155/head" && git reset --hard 7898dda1
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-25.04-ocaml-5.3@sha256:ce80a9ec021b573fa96b61ef253a6d8f8b120173940aeeab201b7de7be7451fa
# ubuntu-25.04-5.3_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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ppx_deriving_yojson.opam ./
RUN opam pin add -yn ppx_deriving_yojson.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cppo.1.8.0 dune.3.20.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.8 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppxlib.0.36.0 seq.base sexplib0.v0.17.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 ppx_deriving_yojson.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-09-16 10:10.59: Using cache hint "ocaml-ppx/ppx_deriving_yojson-ocaml/opam:ubuntu-25.04-ocaml-5.3@sha256:ce80a9ec021b573fa96b61ef253a6d8f8b120173940aeeab201b7de7be7451fa-ubuntu-25.04-5.3_opam-2.4-de8def01ef91ffed6dd820f6c4086c38"
2025-09-16 10:10.59: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.04-ocaml-5.3@sha256:ce80a9ec021b573fa96b61ef253a6d8f8b120173940aeeab201b7de7be7451fa)
(comment ubuntu-25.04-5.3_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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ppx_deriving_yojson.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn ppx_deriving_yojson.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cppo.1.8.0 dune.3.20.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.8 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppxlib.0.36.0 seq.base sexplib0.v0.17.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 ppx_deriving_yojson.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-09-16 10:10.59: Waiting for resource in pool OCluster
2025-09-16 10:25.41: Waiting for worker…
2025-09-16 10:25.56: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 7898dda Support alternative representations of variants


(from ocaml/opam:ubuntu-25.04-ocaml-5.3@sha256:ce80a9ec021b573fa96b61ef253a6d8f8b120173940aeeab201b7de7be7451fa)
Unable to find image 'ocaml/opam:ubuntu-25.04-ocaml-5.3@sha256:ce80a9ec021b573fa96b61ef253a6d8f8b120173940aeeab201b7de7be7451fa' locally
docker.io/ocaml/opam@sha256:ce80a9ec021b573fa96b61ef253a6d8f8b120173940aeeab201b7de7be7451fa: Pulling from ocaml/opam
60fb2420030a: Already exists
30a5b9bffc59: Already exists
e76e7b0fd035: Already exists
87fd98c989d0: Already exists
fc31fa993861: Already exists
c75b71d41442: Already exists
9f08a6d6f6f5: Already exists
3dfc106a9c15: Already exists
1c3a6d2a01a7: Already exists
2d648021ecec: Already exists
ffcf097292c2: Already exists
e1bcef442ada: Already exists
61993b76460e: Already exists
929a57e31854: Already exists
826e2c54b1a9: Already exists
eec17caf12a0: Already exists
eec17caf12a0: Already exists
9259e842febf: Already exists
ae77b4e577af: Already exists
61c1d61eb8ba: Already exists
d7a0435c7be4: Already exists
4f4fb700ef54: Already exists
67b39cdc1121: Already exists
217bd9b7b99f: Already exists
1c96670814d1: Already exists
ccd441a4e677: Already exists
9e7324b47fd8: Already exists
0ec34067023b: Already exists
33125ff80400: Already exists
b383373ace10: Already exists
447883287ba9: Already exists
cb78f5b619b6: Already exists
d52ede671661: Already exists
fa458c0e5391: Already exists
eef4f5a958fd: Already exists
450c30b71c71: Already exists
2d3751651883: Already exists
6d7ce401ccd8: Already exists
31c1aa1ff3db: Already exists
a1655bb63c33: Already exists
00302e238ce0: Pulling fs layer
fb4d69f626d4: Pulling fs layer
d7151ce75fed: Pulling fs layer
b4127c47a033: Pulling fs layer
5b36f7dfe1cb: Pulling fs layer
e7314db2ccea: Pulling fs layer
ba981977eb69: Pulling fs layer
5b36f7dfe1cb: Waiting
e7314db2ccea: Waiting
b4127c47a033: Waiting
ba981977eb69: Waiting
d7151ce75fed: Verifying Checksum
d7151ce75fed: Download complete
00302e238ce0: Verifying Checksum
00302e238ce0: Download complete
fb4d69f626d4: Verifying Checksum
fb4d69f626d4: Download complete
00302e238ce0: Pull complete
5b36f7dfe1cb: Verifying Checksum
5b36f7dfe1cb: Download complete
e7314db2ccea: Verifying Checksum
e7314db2ccea: Download complete
ba981977eb69: Verifying Checksum
ba981977eb69: Download complete
fb4d69f626d4: Pull complete
d7151ce75fed: Pull complete
b4127c47a033: Verifying Checksum
b4127c47a033: Download complete
b4127c47a033: Pull complete
5b36f7dfe1cb: Pull complete
e7314db2ccea: Pull complete
ba981977eb69: Pull complete
Digest: sha256:ce80a9ec021b573fa96b61ef253a6d8f8b120173940aeeab201b7de7be7451fa
Status: Downloaded newer image for ocaml/opam@sha256:ce80a9ec021b573fa96b61ef253a6d8f8b120173940aeeab201b7de7be7451fa
2025-09-16 10:25.57 ---> using "c3ee7f5e63b70919500d258da19dc2a26a9d2a3322400aba0faf0794e71d3b11" from cache


/: (comment ubuntu-25.04-5.3_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-09-16 10:25.57 ---> using "d72b73b45f832c50a2cf4dc93a91a7617a3648a100ae53af2f03d565cab85ae3" 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-09-16 10:25.57 ---> using "115a8a6896933f161cea20a704b467023775d010f013205baf0f4718b397652c" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 5.3.0
2.4.1
2025-09-16 10:25.57 ---> using "6507644d2cc8fe5b03b3522f3b022ec798bfcce5a39a33e3cd65d975d879a59d" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-09-16 10:25.57 ---> using "87eca05bd0691f2c9c4a494fcfad57c47a637158582b862804bbf7cc6f1e071c" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
854fc71d55..7949ff40d8  master     -> origin/master
6ef6813522 Merge pull request #28449 from dra27/ocaml-compiler-msvc


<><> 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-09-16 10:25.57 ---> using "332b6342a9a6760b461e194c442231407b4401be6ee0ce0fa1ecf9b95f1f5dab" from cache


/src: (copy (src ppx_deriving_yojson.opam) (dst ./))
2025-09-16 10:25.57 ---> using "2fda43f753c66af6c9f0e0cae0c41ba51f2854c6090900b8d79a7dd852291376" from cache


/src: (run (network host)
(shell "opam pin add -yn ppx_deriving_yojson.dev './'"))
[ppx_deriving_yojson.dev] synchronised (file:///src)
ppx_deriving_yojson is now pinned to file:///src (version dev)
2025-09-16 10:25.57 ---> using "827666e5ec6181fd71a2c2ca74f0ee6ccfc195e4148ea9b01f6a8c51c5740de5" from cache


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-16 10:25.57 ---> using "a7e819169b0097bddf2243a7c6d531f5ae0537a008fd234d1719cdc13ea1f4a2" from cache


/src: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cppo.1.8.0 dune.3.20.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.8 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppxlib.0.36.0 seq.base sexplib0.v0.17.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 ppx_deriving_yojson.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu plucky-security InRelease [126 kB]
- Get:2 http://security.ubuntu.com/ubuntu plucky-security/restricted amd64 Packages [230 kB]
- Get:3 http://security.ubuntu.com/ubuntu plucky-security/multiverse amd64 Packages [49.0 kB]
- Get:4 http://security.ubuntu.com/ubuntu plucky-security/universe amd64 Packages [150 kB]
- Get:5 http://security.ubuntu.com/ubuntu plucky-security/main amd64 Packages [267 kB]
- Hit:6 http://archive.ubuntu.com/ubuntu plucky InRelease
- Get:7 http://archive.ubuntu.com/ubuntu plucky-updates InRelease [126 kB]
- Get:8 http://archive.ubuntu.com/ubuntu plucky-backports InRelease [126 kB]
- Get:9 http://archive.ubuntu.com/ubuntu plucky-updates/restricted amd64 Packages [240 kB]
- Get:10 http://archive.ubuntu.com/ubuntu plucky-updates/main amd64 Packages [404 kB]
- Get:11 http://archive.ubuntu.com/ubuntu plucky-updates/multiverse amd64 Packages [49.2 kB]
- Get:12 http://archive.ubuntu.com/ubuntu plucky-updates/universe amd64 Packages [260 kB]
- Fetched 2028 kB in 0s (4457 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppx_deriving_yojson.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-09-16 10:26.05 ---> saved as "bd3cdcea679736cbecd60b07b74209fdb06d9399a9b9d1ae3923e43f9037670e"


/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 12 packages
- install cppo                1.8.0
- install dune                3.20.2
- install ocaml-compiler-libs v0.17.0
- install ocamlfind           1.9.8
- install ounit2              2.2.7
- install ppx_derivers        1.2.1
- install ppx_deriving        6.1.1
- install ppxlib              0.36.0
- install seq                 base
- install sexplib0            v0.17.0
- install stdlib-shims        0.3.0
- install yojson              3.0.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_deriving.6.1.1  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved yojson.3.0.0  (cached)
-> retrieved ppxlib.0.36.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.17.0
-> installed ounit2.2.2.7
-> installed yojson.3.0.0
-> installed ppxlib.0.36.0
-> installed ppx_deriving.6.1.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-16 10:27.54 ---> saved as "2759900284eb1a4d7e35bda0dd4c56cf5784678676333322e7a7b476b8a3f159"


/src: (copy (src .) (dst /src))
2025-09-16 10:27.54 ---> saved as "2d6ddb0101e0150597838f77851afe144c33662d147d9051ae938235e32f1dec"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/src_test && ./test_ppx_yojson.exe)
............................................
Ran: 44 tests in: 2.10 seconds.
OK
2025-09-16 10:28.01 ---> saved as "04196ed74982b6735917b4dda8bae31eff797c02b0874ff071b3062f72c0a7da"
Job succeeded
2025-09-16 10:28.02: Job succeeded