2025-07-31 07:30.31: New job: test ocaml-ppx/ppx_deriving_yojson https://github.com/ocaml-ppx/ppx_deriving_yojson.git#refs/heads/master (c6c2adbe033f0cfd68a9cfc93f0a66df5d00b3ac) (linux-x86_64:debian-12-5.3_x86_32_opam-2.4)
Base: ocaml/opam:debian-12-ocaml-5.3@sha256:85f1c5823a34a558087e5d91a44b0a0f279fce357afac790ff2dd305d27e2ad9
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 c6c2adbe
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:85f1c5823a34a558087e5d91a44b0a0f279fce357afac790ff2dd305d27e2ad9
# debian-12-5.3_x86_32_opam-2.4
USER 1000:1000
SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ]
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 c44248fe760182a13f686e82e49611e36beb937c || git fetch origin master) && git reset -q --hard c44248fe760182a13f686e82e49611e36beb937c && 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.19.1 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-option-bytecode-only.1 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.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 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-07-31 07:30.31: Using cache hint "ocaml-ppx/ppx_deriving_yojson-ocaml/opam:debian-12-ocaml-5.3@sha256:85f1c5823a34a558087e5d91a44b0a0f279fce357afac790ff2dd305d27e2ad9-debian-12-5.3_x86_32_opam-2.4-75d3cb3643ceba469eca5e6af5bfeec4"
2025-07-31 07:30.31: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:85f1c5823a34a558087e5d91a44b0a0f279fce357afac790ff2dd305d27e2ad9)
(comment debian-12-5.3_x86_32_opam-2.4)
(user (uid 1000) (gid 1000))
(shell /usr/bin/linux32 /bin/sh -c)
(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 c44248fe760182a13f686e82e49611e36beb937c || git fetch origin master) && git reset -q --hard c44248fe760182a13f686e82e49611e36beb937c && 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.19.1 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-option-bytecode-only.1 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.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 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-07-31 07:30.31: Waiting for resource in pool OCluster
2025-07-31 09:48.58: Waiting for worker…
2025-07-31 09:50.55: Got resource from pool OCluster
Building on phoebe
All commits already cached
HEAD is now at c6c2adb Merge pull request #164 from Niols/issue-163
(from ocaml/opam:debian-12-ocaml-5.3@sha256:85f1c5823a34a558087e5d91a44b0a0f279fce357afac790ff2dd305d27e2ad9)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:85f1c5823a34a558087e5d91a44b0a0f279fce357afac790ff2dd305d27e2ad9' locally
docker.io/ocaml/opam@sha256:85f1c5823a34a558087e5d91a44b0a0f279fce357afac790ff2dd305d27e2ad9: Pulling from ocaml/opam
e66d2cb70304: Already exists
3be22eb25858: Pulling fs layer
36da8760b8da: Pulling fs layer
e6e1c42f6211: Pulling fs layer
36da8760b8da: Waiting
3be22eb25858: Waiting
bccc94c063a9: Pulling fs layer
fffd8a5bc2d0: Pulling fs layer
e6e1c42f6211: Waiting
05196132813b: Pulling fs layer
fffd8a5bc2d0: Waiting
266e2600d058: Pulling fs layer
266e2600d058: Waiting
05196132813b: Waiting
3be22eb25858: Verifying Checksum
3be22eb25858: Download complete
3be22eb25858: Pull complete
36da8760b8da: Verifying Checksum
36da8760b8da: Download complete
36da8760b8da: Pull complete
e6e1c42f6211: Verifying Checksum
e6e1c42f6211: Download complete
e6e1c42f6211: Pull complete
bccc94c063a9: Verifying Checksum
bccc94c063a9: Download complete
bccc94c063a9: Pull complete
fffd8a5bc2d0: Verifying Checksum
fffd8a5bc2d0: Download complete
fffd8a5bc2d0: Pull complete
05196132813b: Verifying Checksum
05196132813b: Download complete
05196132813b: Pull complete
266e2600d058: Pull complete
Digest: sha256:85f1c5823a34a558087e5d91a44b0a0f279fce357afac790ff2dd305d27e2ad9
Status: Downloaded newer image for ocaml/opam@sha256:85f1c5823a34a558087e5d91a44b0a0f279fce357afac790ff2dd305d27e2ad9
2025-07-31 09:50.56 ---> using "76f339b5531c82b9ebc370e2d62886f08ca0f9d95e232f579b85bf4353dbed75" from cache
/: (comment debian-12-5.3_x86_32_opam-2.4)
/: (user (uid 1000) (gid 1000))
/: (shell /usr/bin/linux32 /bin/sh -c)
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-07-31 09:50.56 ---> using "bde27265049f66f3f9cc3d08ade1dfe503cb1246a09dbf6b941ddd1aa9ec3c48" 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-07-31 09:50.56 ---> using "ad51dbcf1495dc1b966009261efba2ea8589eb519f466fe241b0822ab48589db" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-63-generic
The OCaml toplevel, version 5.3.0
2.4.1
2025-07-31 09:50.56 ---> using "12946616e3e7bdfda647bdf3bfd02f0e37623c80a5c491be779cbcf4242c8bb3" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-07-31 09:50.56 ---> using "be4cea2ad216e0ad0dc9e32317f419f34bf05dce298590325a0b63f5937737b0" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e c44248fe760182a13f686e82e49611e36beb937c || git fetch origin master) && git reset -q --hard c44248fe760182a13f686e82e49611e36beb937c && git log --no-decorate -n1 --oneline && opam update -u"))
c44248fe76 Merge pull request #28193 from kit-ty-kate/opam-publish-ppx_deriving.6.1.1
<><> 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-07-31 09:51.14 ---> saved as "660975f15f10ac72c01b76d5b09498fd5523697dfc76557ec181e1cad4c56d7c"
/src: (copy (src ppx_deriving_yojson.opam) (dst ./))
2025-07-31 09:51.14 ---> saved as "d2d350edcb425031c74183b56dc9c05bfdfc0ba66edfa42a1027c768d468fb09"
/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-07-31 09:51.18 ---> saved as "0c37c6e0912f7d0186ce91685e16ab00ba66ddc3d2781a8fb5f094a9feecd9a0"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-31 09:51.18 ---> saved as "d7d659d108e594f8be5746d5bbfd8311576648eccfe7a729cab3d7b20d5f68ba"
/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.19.1 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-option-bytecode-only.1 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.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 ppx_deriving_yojson.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm-updates/main i386 Packages.diff/Index [19.6 kB]
- Ign:4 http://deb.debian.org/debian bookworm-updates/main i386 Packages.diff/Index
- Get:5 http://deb.debian.org/debian bookworm-updates/main i386 Packages [6920 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main i386 Packages [265 kB]
- Fetched 395 kB in 1s (370 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-option-bytecode-only 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-07-31 09:51.38 ---> saved as "d997314beb27110ef56e435a63c54992e4c2a3952ad229260cb9ea7be3b62e57"
/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-option-bytecode-only 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.19.1
- 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.16.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.16.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved yojson.3.0.0 (cached)
-> retrieved ppxlib.0.36.0 (cached)
-> retrieved dune.3.19.1 (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.19.1
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.16.0
-> installed ounit2.2.2.7
-> installed cppo.1.8.0
-> installed yojson.3.0.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed ppxlib.0.36.0
-> installed ppx_deriving.6.1.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-31 09:55.52 ---> saved as "9c6a3ef9c36eecbe5e6fa6305214aa5ce942113a810e35a4ab4faf4e1a5449e3"
/src: (copy (src .) (dst /src))
2025-07-31 09:55.53 ---> saved as "ac9a8bd90ee3d620a779b052cd2df3a0aececdb2ac2bd6e3fb170940540bab5f"
/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: 273.92 seconds.
OK
2025-07-31 10:01.08 ---> saved as "5346753826ca570824451934d6dbdd7deed41d352c57efd0fe26abb6e9f4ed74"
Job succeeded
2025-07-31 10:01.08: Job succeeded