2025-06-08 10:36.45: New job: test ocaml-ppx/ppx_deriving_yojson https://github.com/ocaml-ppx/ppx_deriving_yojson.git#refs/heads/master (72c4548b484d0253cd168c245b69ae5e0bc78471) (linux-x86_64:ubuntu-24.04-4.14_opam-2.3) Base: ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:47fd7c12f0514fd28abba1ddfefacab94d54e8bd66aec8501940c23afcccbc77 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 72c4548b cat > Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:47fd7c12f0514fd28abba1ddfefacab94d54e8bd66aec8501940c23afcccbc77 # ubuntu-24.04-4.14_opam-2.3 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" WORKDIR /src RUN sudo ln -f /usr/bin/opam-2.3 /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 0e1a25ffde388b436cc1998777c138d69666193d || git fetch origin master) && git reset -q --hard 0e1a25ffde388b436cc1998777c138d69666193d && 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-threads.base base-unix.base cppo.1.8.0 dune.3.19.0 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 ppx_deriving.6.1.0 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.3 --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-06-08 10:36.45: Using cache hint "ocaml-ppx/ppx_deriving_yojson-ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:47fd7c12f0514fd28abba1ddfefacab94d54e8bd66aec8501940c23afcccbc77-ubuntu-24.04-4.14_opam-2.3-5c1df91317e790901cdd4830b80cebac" 2025-06-08 10:36.45: Using OBuilder spec: ((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:47fd7c12f0514fd28abba1ddfefacab94d54e8bd66aec8501940c23afcccbc77) (comment ubuntu-24.04-4.14_opam-2.3) (user (uid 1000) (gid 1000)) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (workdir /src) (run (shell "sudo ln -f /usr/bin/opam-2.3 /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 0e1a25ffde388b436cc1998777c138d69666193d || git fetch origin master) && git reset -q --hard 0e1a25ffde388b436cc1998777c138d69666193d && 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-threads.base base-unix.base cppo.1.8.0 dune.3.19.0 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 ppx_deriving.6.1.0 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.3 --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-06-08 10:36.45: Waiting for resource in pool OCluster 2025-06-08 10:36.45: Waiting for worker… 2025-06-08 10:36.45: Got resource from pool OCluster Building on odawa.caelum.ci.dev HEAD is now at 0902d0b Update README.md HEAD is now at 72c4548 Update README.md (#167) (from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:47fd7c12f0514fd28abba1ddfefacab94d54e8bd66aec8501940c23afcccbc77) Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:47fd7c12f0514fd28abba1ddfefacab94d54e8bd66aec8501940c23afcccbc77' locally docker.io/ocaml/opam@sha256:47fd7c12f0514fd28abba1ddfefacab94d54e8bd66aec8501940c23afcccbc77: Pulling from ocaml/opam 7e6267821aa5: Pulling fs layer 7e6267821aa5: Verifying Checksum 7e6267821aa5: Download complete 7e6267821aa5: Pull complete Digest: sha256:47fd7c12f0514fd28abba1ddfefacab94d54e8bd66aec8501940c23afcccbc77 Status: Downloaded newer image for ocaml/opam@sha256:47fd7c12f0514fd28abba1ddfefacab94d54e8bd66aec8501940c23afcccbc77 2025-06-08 10:36.46 ---> using "5a7c5257d1969f3b1177acb1729bea1d27f51d2a92c28d3f03468f05b8c06a58" from cache /: (comment ubuntu-24.04-4.14_opam-2.3) /: (user (uid 1000) (gid 1000)) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (workdir /src) /src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam")) 2025-06-08 10:36.46 ---> using "7d6e01068d847242773ac3098890bb99f26f36c3ad841a99a58c71de78b83f6f" 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 development 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-06-08 10:36.46 ---> using "dd0d481af2e5db79e1160185da7fa7119c254e03e8677aa9f0c5c1b942115a97" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 6.8.0-60-generic The OCaml toplevel, version 4.14.2 2.3.0 2025-06-08 10:36.46 ---> using "bc1fa15ace82aac35feebb2b52372eb3dd465119d04b7c9aa95f113796015129" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2025-06-08 10:36.46 ---> using "1022f728733ade382c611583eb4c8f8f8a4ab7369aa6d1f75d1bdcecff5fb61a" from cache /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e 0e1a25ffde388b436cc1998777c138d69666193d || git fetch origin master) && git reset -q --hard 0e1a25ffde388b436cc1998777c138d69666193d && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD ac2e5da567..bc726805e3 master -> origin/master 0e1a25ffde Merge pull request #27956 from Leonidas-from-XIV/release-yojson-3.0.0 <><> 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, 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-06-08 10:36.46 ---> using "c41507a897fbdd6093f73902d406679daadd253233db7dc5dc56214e46a1031a" from cache /src: (copy (src ppx_deriving_yojson.opam) (dst ./)) 2025-06-08 10:36.46 ---> using "e3a3e52196400a171b9fb1426e40a79e4a979f6d8c8aad2863eab6cbc79aba2a" 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-06-08 10:36.46 ---> using "6cf99fb59931f36f069d66791998a96ee71e61c633e82e2c2b28ec2baf96e729" from cache /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2025-06-08 10:36.46 ---> using "134038f0df9aa814c2104837189b9c5a8ca8e20c553091ec5ba7663ea82e5972" from cache /src: (env DEPS "base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 dune.3.19.0 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 ppx_deriving.6.1.0 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.3 --depext-only -y ppx_deriving_yojson.dev $DEPS")) + /usr/bin/sudo "apt-get" "update" - Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease - Get:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB] - Get:3 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB] - Get:4 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB] - Get:5 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1400 kB] - Get:6 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1412 kB] - Get:7 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [1490 kB] - Get:8 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1094 kB] - Get:9 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [1442 kB] - Get:10 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1087 kB] - Fetched 8303 kB in 1s (7804 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 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-06-08 10:36.46 ---> using "daf9420d70734c5c135a375a8cc341f6b9f4ba03c2713e81ae8ef18c68f3a12c" from cache /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 12 packages - install cppo 1.8.0 - install dune 3.19.0 - install ocaml-compiler-libs v0.12.4 - install ocamlfind 1.9.8 - install ounit2 2.2.7 - install ppx_derivers 1.2.1 - install ppx_deriving 6.1.0 - 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.12.4 (cached) -> retrieved ocamlfind.1.9.8 (cached) -> retrieved ounit2.2.2.7 (cached) -> retrieved ppx_derivers.1.2.1 (cached) -> retrieved dune.3.19.0 (cached) -> retrieved seq.base (cached) -> installed seq.base -> retrieved sexplib0.v0.17.0 (cached) -> retrieved ppx_deriving.6.1.0 (https://github.com/ocaml-ppx/ppx_deriving/releases/download/v6.1.0/ppx_deriving-6.1.0.tbz) -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved yojson.3.0.0 (cached) -> retrieved ppxlib.0.36.0 (https://github.com/ocaml-ppx/ppxlib/releases/download/0.36.0/ppxlib-0.36.0.tbz) -> installed ocamlfind.1.9.8 -> installed dune.3.19.0 -> installed ppx_derivers.1.2.1 -> installed stdlib-shims.0.3.0 -> installed sexplib0.v0.17.0 -> installed ocaml-compiler-libs.v0.12.4 -> installed cppo.1.8.0 -> installed ounit2.2.2.7 -> installed yojson.3.0.0 -> installed ppxlib.0.36.0 -> installed ppx_deriving.6.1.0 Done. # To update the current shell environment, run: eval $(opam env) 2025-06-08 10:36.46 ---> using "6a4085e7acbaa48ba36e59e1cd6f068a04af2bc69bbff3897a073bee975bdbba" from cache /src: (copy (src .) (dst /src)) 2025-06-08 10:36.46 ---> using "1a1afa1e382df4f430b431dd6fc54336d45e201b8bf951205a8d0910b0cd6261" from cache /src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build")) (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -9-39-27-34-37 -g -bin-annot -I src_test/.test_ppx_yojson.eobjs/byte -I /home/opam/.opam/4.14/lib/ounit2 -I /home/opam/.opam/4.14/lib/ounit2/advanced -I /home/opam/.opam/4.14/lib/ppx_deriving/runtime -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/yojson -I src/.ppx_deriving_yojson_runtime.objs/byte -no-alias-deps -opaque -o src_test/.test_ppx_yojson.eobjs/byte/test_ppx_yojson.cmo -c -impl src_test/test_ppx_yojson.pp.ml) File "src_test/test_ppx_yojson.ml", line 28, characters 34-38: 28 | assert_equal ~printer:show_json json (cleanup (to_json obj)); ^^^^ Error: This expression has type Yojson.Safe.t but an expression was expected of type json The first variant type does not allow tag(s) `Tuple, `Variant "/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1 2025-06-08 10:36.48: Job failed: Failed: Build failed