2025-06-02 22:25.31: New job: test ocaml-ppx/ppx_deriving_yojson https://github.com/ocaml-ppx/ppx_deriving_yojson.git#refs/heads/master (89f6c1deb9e2daa4370e70bae11ba76b9ca19e98) (linux-arm64:debian-12-5.3_arm32_opam-2.3) Base: ocaml/opam:debian-12-ocaml-5.3@sha256:71c585b40a233634d2ba60a97652fd4cb5dae7b100662571d5727ada704faa6f 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 89f6c1de cat > Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:debian-12-ocaml-5.3@sha256:71c585b40a233634d2ba60a97652fd4cb5dae7b100662571d5727ada704faa6f # debian-12-5.3_arm32_opam-2.3 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.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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cppo.1.8.0 dune.3.19.0 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.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-02 22:25.31: Using cache hint "ocaml-ppx/ppx_deriving_yojson-ocaml/opam:debian-12-ocaml-5.3@sha256:71c585b40a233634d2ba60a97652fd4cb5dae7b100662571d5727ada704faa6f-debian-12-5.3_arm32_opam-2.3-6d63160770b52f420a023f79666a901f" 2025-06-02 22:25.31: Using OBuilder spec: ((from ocaml/opam:debian-12-ocaml-5.3@sha256:71c585b40a233634d2ba60a97652fd4cb5dae7b100662571d5727ada704faa6f) (comment debian-12-5.3_arm32_opam-2.3) (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.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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cppo.1.8.0 dune.3.19.0 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.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-02 22:25.31: Waiting for resource in pool OCluster 2025-06-02 22:25.31: Waiting for worker… 2025-06-02 23:04.43: Got resource from pool OCluster Building on okypous.caelum.ci.dev All commits already cached HEAD is now at 89f6c1d Release 3.10.0 (from ocaml/opam:debian-12-ocaml-5.3@sha256:71c585b40a233634d2ba60a97652fd4cb5dae7b100662571d5727ada704faa6f) Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:71c585b40a233634d2ba60a97652fd4cb5dae7b100662571d5727ada704faa6f' locally docker.io/ocaml/opam@sha256:71c585b40a233634d2ba60a97652fd4cb5dae7b100662571d5727ada704faa6f: Pulling from ocaml/opam 1b4fb3e02e16: Pulling fs layer 1b4fb3e02e16: Verifying Checksum 1b4fb3e02e16: Download complete 1b4fb3e02e16: Pull complete Digest: sha256:71c585b40a233634d2ba60a97652fd4cb5dae7b100662571d5727ada704faa6f Status: Downloaded newer image for ocaml/opam@sha256:71c585b40a233634d2ba60a97652fd4cb5dae7b100662571d5727ada704faa6f WARNING: The requested image's platform (linux/arm/v7) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested 2025-06-02 23:04.46 ---> using "4014f3d07420d009ce6703e770f4e84f8da319d8f2397f249f6d8bb27eb76ab4" from cache /: (comment debian-12-5.3_arm32_opam-2.3) /: (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.3 /usr/bin/opam")) 2025-06-02 23:04.46 ---> using "006c71a59f49e5628c158da699cec04f5ac8489fcc13393712f5c5f8540ece08" 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-02 23:04.46 ---> using "314e9124bb78cc1087879e80c40df8c7548a14e79c16ffec4c1e54d307e9e311" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-138-generic The OCaml toplevel, version 5.3.0 2.3.0 2025-06-02 23:04.46 ---> using "6a2d60bb9de3b6159a54ab46f59b5dfe72a365cd372830e90e2e08d296a6501a" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2025-06-02 23:04.46 ---> using "a544d8562359f0a4175bab283fb8c7c206c8941d5cb9b40cc7f7d0b1e3b1257f" 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 35eb2f107a..c037675bed 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-02 23:04.46 ---> using "e980dc5b63dcf710b821d3aff157a8423fbdade6b5414348479185258ec869d9" from cache /src: (copy (src ppx_deriving_yojson.opam) (dst ./)) 2025-06-02 23:04.46 ---> using "a29686fba0e016cc31af5867a2fa06c001f9f00ff3ef1bd6f2418ea84247cb77" 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-02 23:04.46 ---> using "72c2ff8d99d4c7c1c44edfe868d087e6e9276c5c0b81bc7d9d97c80a115f65cf" from cache /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2025-06-02 23:04.46 ---> using "8df221daa366e4387ecf1d9a7f3f8427f1259575e6a04a4ce6190ec3c2c752fe" 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.19.0 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.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" - Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB] - 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/main armhf Packages [8508 kB] - Get:5 http://deb.debian.org/debian-security bookworm-security/main armhf Packages [247 kB] - Fetched 9009 kB in 4s (2438 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-06-02 23:04.47 ---> using "09832ad7d5e13dbc131975221e6697455b6812b8b4d47a62585ab6fa04f1691a" 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-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.0 - 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.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.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.0 (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.19.0 (cached) -> retrieved ppxlib.0.36.0 (cached) -> 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 ounit2.2.2.7 -> installed yojson.3.0.0 -> installed cppo.1.8.0 -> installed ocaml-compiler-libs.v0.17.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-02 23:05.41 ---> saved as "627f3722d96168b12af113690ebab89b7d52eb62c4c2a7018c74f0fea2cbe462" /src: (copy (src .) (dst /src)) 2025-06-02 23:05.42 ---> saved as "ca18c8336003924c8264b20c87921286cecaf44404212eec40425a2206bbc5c2" /src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build")) (cd _build/default && /home/opam/.opam/5.3/bin/ocamlc -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 -bin-annot-occurrences -I src_test/.test_ppx_yojson.eobjs/byte -I /home/opam/.opam/5.3/lib/ocaml/unix -I /home/opam/.opam/5.3/lib/ounit2 -I /home/opam/.opam/5.3/lib/ounit2/advanced -I /home/opam/.opam/5.3/lib/ppx_deriving/runtime -I /home/opam/.opam/5.3/lib/seq -I /home/opam/.opam/5.3/lib/stdlib-shims -I /home/opam/.opam/5.3/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: The value json 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/linux32" "/bin/sh" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1 2025-06-02 23:06.03: Job failed: Failed: Build failed