2025-06-12 14:14.27: New job: test ocaml-ppx/ppx_deriving_yojson https://github.com/ocaml-ppx/ppx_deriving_yojson.git#refs/pull/164/head (821b2b771ff285edf266c6393a46ca7388485179) (freebsd-x86_64:freebsd-14.2-4.14_opam-2.3)Base: freebsd-14.2-ocaml-4.14Opam project buildTo reproduce locally:git clone --recursive "https://github.com/ocaml-ppx/ppx_deriving_yojson.git" && cd "ppx_deriving_yojson" && git fetch origin "refs/pull/164/head" && git reset --hard 821b2b77cat > Dockerfile <<'END-OF-DOCKERFILE'FROM freebsd-14.2-ocaml-4.14# freebsd-14.2-4.14_opam-2.3USER 1000:1000ENV CLICOLOR_FORCE="1"ENV OPAMCOLOR="always"WORKDIR /srcRUN sudo ln -f /usr/local/bin/opam-2.3 /usr/local/bin/opamRUN opam init --reinit -niRUN uname -rs && opam exec -- ocaml -version && opam --versionWORKDIR /srcRUN sudo chown opam /srcRUN cd ~/opam-repository && (git cat-file -e a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -uCOPY --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.1 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 $DEPSRUN opam install $DEPSCOPY --chown=1000:1000 . /srcRUN opam exec -- dune build @install @check @runtest && rm -rf _buildEND-OF-DOCKERFILEdocker build .END-REPRO-BLOCK2025-06-12 14:14.27: Using cache hint "ocaml-ppx/ppx_deriving_yojson-freebsd-14.2-ocaml-4.14-freebsd-14.2-4.14_opam-2.3-fddc94a685d6c23583ef04c06dea790d"2025-06-12 14:14.27: Using OBuilder spec:((from freebsd-14.2-ocaml-4.14)(comment freebsd-14.2-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/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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && 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.1 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-12 14:14.27: Waiting for resource in pool OCluster2025-06-12 14:16.18: Waiting for worker…2025-06-12 15:13.27: Got resource from pool OClusterBuilding on rosemaryAll commits already cachedHEAD is now at 821b2b7 Add type constraint in `of_yojson` record variant constructor case(from freebsd-14.2-ocaml-4.14)2025-06-12 15:19.30 ---> using "e232d73c9161ea3ff94ff4ae2b5a6983da9a9ca98d5185b2db1dbadeae5228e2" from cache/: (comment freebsd-14.2-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/local/bin/opam-2.3 /usr/local/bin/opam"))2025-06-12 15:19.30 ---> using "5aedfaeff2bc60ce09298f87624d557fac4c416addb6915ab987317e95fa6323" 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 --globalFormat upgrade done.<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>[default] no changes from git+file:///home/opam/opam-repository2025-06-12 15:19.30 ---> using "33d10a393b3f49c5577becd825d2bcab91e98bdde15eb554bf0dba345ccb7809" from cache/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))FreeBSD 14.2-RELEASE-p1The OCaml toplevel, version 4.14.22.3.02025-06-12 15:19.31 ---> using "318cf18a0512582a14a586ceb7ba02273510347df5896f5e5d533054ff3c99cc" from cache/src: (workdir /src)/src: (run (shell "sudo chown opam /src"))2025-06-12 15:19.31 ---> using "6fc646c578a950069629f2a24c45eb1d012bef32c9d3cba5f25029d6618e05d7" from cache/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))(network host)(shell "cd ~/opam-repository && (git cat-file -e a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))From https://github.com/ocaml/opam-repository* branch master -> FETCH_HEAD0d013e603b..a28eb8a148 master -> origin/mastera28eb8a148 Merge pull request #28017 from maiste/release-dune-3.19.1<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>[default] synchronised from git+file:///home/opam/opam-repositoryEverything 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-config.3However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.Nothing to do.2025-06-12 15:19.32 ---> using "adaa5293b255f3e807e5bebf31f0ec8a092812f028b09db8d8dcee21ea8d9a4d" from cache/src: (copy (src ppx_deriving_yojson.opam) (dst ./))2025-06-12 15:19.32 ---> using "4c753418c211f3f3c2e593cce09d0359bf77a5e6a0ecdb78899c90c8d66d3f4e" 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-12 15:19.32 ---> using "acf471da3206ff0c6057c18d9413891855598ce4b96cad13886340e0faf5bd00" from cache/src: (run (network host)(shell "echo '(lang dune 3.0)' > './dune-project'"))2025-06-12 15:19.33 ---> using "0ce4f2faf2ac579ca61fbf450d5f724855644f930bfb2088c8638b805fc473a4" from cache/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 dune.3.19.1 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"))[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 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-12 15:19.33 ---> using "a616e1520d859fc71028d0fa5680f36af39f9179cd593e23e7eda370cb2f8b8d" 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∗ cppo 1.8.0∗ dune 3.19.1∗ ocaml-compiler-libs v0.12.4∗ 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.12.4 (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.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.17.0∗ installed ocaml-compiler-libs.v0.12.4∗ installed ounit2.2.2.7∗ installed yojson.3.0.0∗ installed cppo.1.8.0∗ installed ppxlib.0.36.0∗ installed ppx_deriving.6.1.0Done.2025-06-12 15:19.34 ---> using "69cd3a9a72c984c3534f280ce6345dacef07d33cd2c434523bbb6fb30333b9c7" from cache/src: (copy (src .) (dst /src))2025-06-12 15:19.35 ---> saved as "897cb1f50d4007b991479f3325561181754fa50be65e7206d13da97be702177a"/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))(cd _build/default && /home/opam/.opam/4.14.2/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.2/lib/ounit2 -I /home/opam/.opam/4.14.2/lib/ounit2/advanced -I /home/opam/.opam/4.14.2/lib/ppx_deriving/runtime -I /home/opam/.opam/4.14.2/lib/seq -I /home/opam/.opam/4.14.2/lib/stdlib-shims -I /home/opam/.opam/4.14.2/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.tbut an expression was expected of type jsonThe first variant type does not allow tag(s) `Tuple, `Variantjail: /usr/bin/su -l opam -c cd '/src' && env OCAMLCI='true' CI='true' DEPS='base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 dune.3.19.1 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' 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_31194" "mount.devfs" "path=/obuilder/result/4f36ad52c472cccea202ef46866f76693d78428af039ad3cf176ed798bf339d2/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-threads.base base-unix.base cppo.1.8.0 dune.3.19.1 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' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam exec -- dune build @install @check @runtest && rm -rf _build'" failed with exit status 12025-06-12 15:19.43: Job failed: Failed: Build failed