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) (freebsd-x86_64:freebsd-14.2-5.3_opam-2.3) Base: freebsd-14.2-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 72c4548b cat > Dockerfile <<'END-OF-DOCKERFILE' FROM freebsd-14.2-ocaml-5.3 # freebsd-14.2-5.3_opam-2.3 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" WORKDIR /src RUN sudo ln -f /usr/local/bin/opam-2.3 /usr/local/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-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-freebsd-14.2-ocaml-5.3-freebsd-14.2-5.3_opam-2.3-1a117ff5831969e2105a4120998d653e" 2025-06-08 10:36.45: Using OBuilder spec: ((from freebsd-14.2-ocaml-5.3) (comment freebsd-14.2-5.3_opam-2.3) (user (uid 1000) (gid 1000)) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (workdir /src) (run (shell "sudo ln -f /usr/local/bin/opam-2.3 /usr/local/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-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.46: Waiting for worker… 2025-06-08 10:36.46: Got resource from pool OCluster Building on rosemary HEAD is now at 0902d0b Update README.md HEAD is now at 72c4548 Update README.md (#167) (from freebsd-14.2-ocaml-5.3) 2025-06-08 10:36.47 ---> using "47c9a03b962be450225081ed69acde1f5c6dadb6d1106d9b1a8b4fd61c2defa6" from cache /: (comment freebsd-14.2-5.3_opam-2.3) /: (user (uid 1000) (gid 1000)) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (workdir /src) /src: (run (shell "sudo ln -f /usr/local/bin/opam-2.3 /usr/local/bin/opam")) 2025-06-08 10:36.47 ---> using "6c919feff42b8acbece064f547886f17e62a0f8c652c95803d5cc1a0edc05bf0" from cache /src: (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. This version of opam requires an update to the layout of /home/opam/.opam from version 2.1 to version 2.2, which can't be reverted. You may want to back it up before going further. Continue? [y/n] y [NOTE] The 'jobs' option was reset, its value was 1 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using: opam option jobs=1 --global Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] no changes from git+file:///home/opam/opam-repository 2025-06-08 10:36.47 ---> using "ef1aecc2d79e0d6d7a69975e03fbee48aae321cc5ded967c4b85817abcd33408" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) FreeBSD 14.2-RELEASE-p1 The OCaml toplevel, version 5.3.0 2.3.0 2025-06-08 10:36.48 ---> using "b81c61e28dd398a2621aef3fc778c808fda4399fe66dbfb28a40b55bd44ce32a" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2025-06-08 10:36.48 ---> using "46859cd3f1ed5f6081f98d282b27cc9fcab2b0b04b4be45ac52d723eb6d8a59e" 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 0d013e603b..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). The following packages are not being upgraded because the new versions conflict with other installed packages: - ocaml.5.5.0 - ocaml-compiler.5.5 ∗ ocaml-base-compiler.5.4.0~alpha1 is installed and requires ocaml-compiler = 5.4.0~alpha1 However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages. Nothing to do. 2025-06-08 10:36.49 ---> using "d6b1d5ff82f8241b36430bb8013678ebf6863f1b007bdb6bab3197e43c530a97" from cache /src: (copy (src ppx_deriving_yojson.opam) (dst ./)) 2025-06-08 10:36.49 ---> using "df287297d8c2e96382e533dafe1e82ce071901898ace57757dba20f21cd70a58" 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.49 ---> using "6a0a290c71aa787297d6002c606b2d8013845c617ff912bf566a31127525bcaf" from cache /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2025-06-08 10:36.50 ---> using "fa43db459c1dacc6279d3b8992ed0bebe9c89623495a307eb1ac56b8bdc1d039" 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-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")) [WARNING] Unknown update command for bsd, skipping system update <><> 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 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-08 10:36.50 ---> using "1821c47b9ff46b1d4a2896bd741afe5e14f0631f2384e648fa2ace7c37010700" 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 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 ∗ cppo 1.8.0 ∗ dune 3.19.0 ∗ ocaml-compiler-libs v0.17.0 ∗ 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 <><> 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) ∗ installed seq.base ⬇ retrieved sexplib0.v0.17.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.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 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.0 Done. 2025-06-08 10:36.50 ---> using "56455d76e6cb66bfdc50e11b023705be06da40b5fa2cfafd16d80fe1b476f145" from cache /src: (copy (src .) (dst /src)) 2025-06-08 10:36.51 ---> using "058dc2d6a235dc47aef00e01f84e0b49587e08dd5c329b410c64050dab7f5658" from cache /src: (run (shell "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 jail: /usr/bin/su -l opam -c cd '/src' && env OCAMLCI='true' CI='true' 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' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam exec -- dune build @install @check @runtest && rm -rf _build': failed "jail" "-c" "name=obuilder_11788_19796" "mount.devfs" "path=/obuilder/result/2e861b1466c3e8dfa575f766ecaafd93d2d6820004270e4fda385334589ce982/rootfs" "vnet" "exec.start=/sbin/ifconfig lo0 127.0.0.1/8" "command=/usr/bin/su" "-l" "opam" "-c" "cd '/src' && env OCAMLCI='true' CI='true' 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' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/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.54: Job failed: Failed: Build failed