2025-09-15 18:38.46: New job: test ocaml-ppx/ppx_deriving_yojson https://github.com/ocaml-ppx/ppx_deriving_yojson.git#refs/heads/master (1a4b06d2045ed91f30d72cdd8cce7d002c3c2503) (linux-x86_64:debian-13-5.3+flambda_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-5.3-flambda@sha256:922425f1f3285001b919232acc81eeedc41cd3c961f7e563da788f8e2f8a17bd
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-ppx/ppx_deriving_yojson.git" -b "master" && cd "ppx_deriving_yojson" && git reset --hard 1a4b06d2
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.3-flambda@sha256:922425f1f3285001b919232acc81eeedc41cd3c961f7e563da788f8e2f8a17bd
# debian-13-5.3+flambda_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 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && 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-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-variants.5.3.0+options 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-15 18:38.46: Using cache hint "ocaml-ppx/ppx_deriving_yojson-ocaml/opam:debian-13-ocaml-5.3-flambda@sha256:922425f1f3285001b919232acc81eeedc41cd3c961f7e563da788f8e2f8a17bd-debian-13-5.3+flambda_opam-2.4-ced2581949b9dbc72d45abf729668715"
2025-09-15 18:38.46: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.3-flambda@sha256:922425f1f3285001b919232acc81eeedc41cd3c961f7e563da788f8e2f8a17bd)
(comment debian-13-5.3+flambda_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 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && 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-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-variants.5.3.0+options 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-15 18:38.46: Waiting for resource in pool OCluster
2025-09-15 20:38.15: Waiting for worker…
2025-09-15 20:41.32: Got resource from pool OCluster
Building on eumache
All commits already cached
HEAD is now at 1a4b06d Remove the disclaimer to not use ppx_deriving_yojson from the README
(from ocaml/opam:debian-13-ocaml-5.3-flambda@sha256:922425f1f3285001b919232acc81eeedc41cd3c961f7e563da788f8e2f8a17bd)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.3-flambda@sha256:922425f1f3285001b919232acc81eeedc41cd3c961f7e563da788f8e2f8a17bd' locally
docker.io/ocaml/opam@sha256:922425f1f3285001b919232acc81eeedc41cd3c961f7e563da788f8e2f8a17bd: Pulling from ocaml/opam
ed2535a29e77: Pulling fs layer
ed2535a29e77: Waiting
ed2535a29e77: Verifying Checksum
ed2535a29e77: Download complete
ed2535a29e77: Pull complete
Digest: sha256:922425f1f3285001b919232acc81eeedc41cd3c961f7e563da788f8e2f8a17bd
Status: Downloaded newer image for ocaml/opam@sha256:922425f1f3285001b919232acc81eeedc41cd3c961f7e563da788f8e2f8a17bd
2025-09-15 20:41.32 ---> using "3cd8646ebc4fbf3beadd147b48b84e03aab7455d56b048afff82d850e53757c0" from cache
/: (comment debian-13-5.3+flambda_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-15 20:41.32 ---> using "d89a63f8aeb0736bca6b31900a79aab453f363f5d92c58f083542339f0555982" 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-09-15 20:41.32 ---> using "db8b424d74072ad574de4fd011b258607cec2895be11ffac0fa042edcc6dd7d0" 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-09-15 20:41.32 ---> using "bbb7e6629b13e1d40338a1c6fe413225ae859552527158f2e8dc0f31b086047f" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-09-15 20:41.32 ---> using "751085e34de07c330f02f31bd49266959e22d3b8959807354fb4c5a8c32ae234" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && git log --no-decorate -n1 --oneline && opam update -u"))
109398e2fd Merge pull request #28437 from maiste/release-dune-3.20.2
<><> 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-15 20:41.32 ---> using "aed59e988238d8975f87253a132404a24245349c2f207c0a3e738011a8050c26" from cache
/src: (copy (src ppx_deriving_yojson.opam) (dst ./))
2025-09-15 20:41.32 ---> saved as "79d8b685c785a9238ea6a2c6d8f040ffd83c89023477c93a5adcb99942ffed6d"
/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-15 20:41.35 ---> saved as "8cdf350de9f76442ca803fce91d4b602adf7d0b0801481603c5f65088c131f3a"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-15 20:41.36 ---> saved as "461bfdc0ec791efd937fc814a81d70d7bd16285579eec13f56baae85dc1d7b56"
/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-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-variants.5.3.0+options 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"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [40.2 kB]
- Fetched 131 kB in 0s (776 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppx_deriving_yojson.dev] synchronised (file:///src)
[NOTE] Package ocaml-variants is already installed (current version is 5.3.0+options).
[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 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-15 20:41.55 ---> saved as "86f925db141060e7ff804c8d67612b9fa120740ed19782b1035094368dd9a8b4"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-variants is already installed (current version is 5.3.0+options).
[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 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 dune.3.20.2 (cached)
-> retrieved ppxlib.0.36.0 (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 ocaml-compiler-libs.v0.17.0
-> installed cppo.1.8.0
-> installed yojson.3.0.0
-> installed ounit2.2.2.7
-> installed ppxlib.0.36.0
-> installed ppx_deriving.6.1.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-15 20:44.06 ---> saved as "49c6820d464f6b99d7c35ef4eed54457a05d2f5022033ee9c0550b179b18bf44"
/src: (copy (src .) (dst /src))
2025-09-15 20:44.07 ---> saved as "ef34daf4d09c3e9a474fb7c2972dbc73aead11766242c6cdf1b099f49ed3044d"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/src_test && ./test_ppx_yojson.exe)
....................................
Ran: 36 tests in: 12.64 seconds.
OK
2025-09-15 20:44.31 ---> saved as "f191466b7c30174684b06484adae8b4d9b557232be1255c3f02095b618dc5012"
Job succeeded
2025-09-15 20:44.31: Job succeeded