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) (openbsd-amd64:openbsd-76-amd64-5.3_opam-2.3) Base: openbsd-76-amd64-ocaml-5.3 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 openbsd-76-amd64-ocaml-5.3 # openbsd-76-amd64-5.3_opam-2.3 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" RUN doas ln -f /usr/bin/opam-2.3 /usr/bin/opam RUN opam init --reinit -ni RUN uname -rs && opam exec -- ocaml -version && opam --version 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 /home/opam/src/./ RUN opam pin add -yn ppx_deriving_yojson.dev '/home/opam/src/./' RUN echo '(lang dune 3.0)' > '/home/opam/src/./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-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 . /home/opam/src RUN cd /home/opam/src && 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-openbsd-76-amd64-ocaml-5.3-openbsd-76-amd64-5.3_opam-2.3-1a117ff5831969e2105a4120998d653e" 2025-06-02 22:25.31: Using OBuilder spec: ((from openbsd-76-amd64-ocaml-5.3) (comment openbsd-76-amd64-5.3_opam-2.3) (user (uid 1000) (gid 1000)) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (run (shell "doas 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")) (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 /home/opam/src/./)) (run (network host) (shell "opam pin add -yn ppx_deriving_yojson.dev '/home/opam/src/./'")) (run (network host) (shell "echo '(lang dune 3.0)' > '/home/opam/src/./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-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 /home/opam/src)) (run (shell "cd /home/opam/src && 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-03 00:27.30: Got resource from pool OCluster Building on oregano All commits already cached HEAD is now at 89f6c1d Release 3.10.0 (from openbsd-76-amd64-ocaml-5.3) 2025-06-03 00:27.30 ---> using "753f998be4709b35e38a93b7272dee818f697255d5b48fadd1c23cb92a82f244" from cache /: (comment openbsd-76-amd64-5.3_opam-2.3) /: (user (uid 1000) (gid 1000)) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (run (shell "doas ln -f /usr/bin/opam-2.3 /usr/bin/opam")) 2025-06-03 00:27.30 ---> using "b8621e22ceef6e45a2b70edd0350b6ec56c4cb2588ea75f8c24bf97f9bb8e3c1" from cache /: (run (shell "opam init --reinit -ni")) No configuration file found, using 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. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from file:///home/opam/opam-repository 2025-06-03 00:27.30 ---> using "caa4033b0f51d691107e536d025405bc96e59134e192afef776a8bfd43aac5e1" from cache /: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) OpenBSD 7.6 The OCaml toplevel, version 5.3.0 2.3.0 2025-06-03 00:27.30 ---> using "7116693f695a70fbcc11fcbf90bc7fd32f30a6c20aabff3b1e1c926faaad9b01" from cache /: (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 f93eb7cb02..c037675bed master -> origin/master 0e1a25ffde Merge pull request #27956 from Leonidas-from-XIV/release-yojson-3.0.0 <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from 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-03 00:27.30 ---> using "fd2bd3789467e7bc8ffea699a6e2770422f50df0de161602914ff3815bd5b00d" from cache /: (copy (src ppx_deriving_yojson.opam) (dst /home/opam/src/./)) 2025-06-03 00:27.30 ---> using "ffdf6a42a4779beca849f9e005901f5c8f679f17e4a85b04484bd0da05e907a4" from cache /: (run (network host) (shell "opam pin add -yn ppx_deriving_yojson.dev '/home/opam/src/./'")) [ppx_deriving_yojson.dev] synchronised (file:///home/opam/src) ppx_deriving_yojson is now pinned to file:///home/opam/src (version dev) 2025-06-03 00:27.30 ---> using "5fe5f6dcee4ddc6663cfb4a793caa7b0e662f9c813976843c90a013f07cfe6ef" from cache /: (run (network host) (shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'")) 2025-06-03 00:27.30 ---> using "ce7e47e7e7ba130ae21ba2081416c075ef659fd66b7de7cc7e94a61f883f552a" from cache /: (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-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")) [WARNING] Unknown update command for bsd, skipping system update <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [ppx_deriving_yojson.dev] synchronised (file:///home/opam/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-06-03 00:28.36 ---> saved as "3daecf651e9f9d4a35cd38fab659b38b8135fe1599b0bc0054f98acb8474fba8" /: (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.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 ppx_derivers.1.2.1 (cached) -> retrieved ounit2.2.2.7 (cached) -> retrieved ppx_deriving.6.1.0 (cached) -> retrieved seq.base (cached) -> retrieved sexplib0.v0.17.0 (cached) -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved ppxlib.0.36.0 (cached) -> retrieved yojson.3.0.0 (cached) -> retrieved dune.3.19.0 (cached) -> installed ocamlfind.1.9.8 -> installed dune.3.19.0 -> installed seq.base -> installed cppo.1.8.0 -> installed ocaml-compiler-libs.v0.17.0 -> installed ppx_derivers.1.2.1 -> installed sexplib0.v0.17.0 -> installed stdlib-shims.0.3.0 -> installed yojson.3.0.0 -> installed ounit2.2.2.7 -> installed ppxlib.0.36.0 -> installed ppx_deriving.6.1.0 Done. # To update the current shell environment, run: eval $(opam env) 2025-06-03 00:38.29 ---> saved as "99fe0a769e12c95309b12d7fb06a130371514986ae148b2a699bb03f9e494974" /: (copy (src .) (dst /home/opam/src)) 2025-06-03 00:39.26 ---> saved as "5c5ee7eefcfc7f197159f19d2f01ee2bc295dae6e1e580d3e0413b306b136a27" /: (run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build")) (cd _build/default && /home/opam/.opam/5.3.0/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 -bin-annot-occurrences -I src_test/.test_ppx_yojson.eobjs/byte -I /home/opam/.opam/5.3.0/lib/ocaml/unix -I /home/opam/.opam/5.3.0/lib/ounit2 -I /home/opam/.opam/5.3.0/lib/ounit2/advanced -I /home/opam/.opam/5.3.0/lib/ppx_deriving/runtime -I /home/opam/.opam/5.3.0/lib/seq -I /home/opam/.opam/5.3.0/lib/stdlib-shims -I /home/opam/.opam/5.3.0/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 "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1 2025-06-03 00:40.26: Job failed: Failed: Build failed