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) (macos-x86_64:macos-homebrew-5.3_opam-2.3)Base: macos-homebrew-ocaml-5.3Opam 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 macos-homebrew-ocaml-5.3# macos-homebrew-5.3_opam-2.3USER 1000:1000ENV CLICOLOR_FORCE="1"ENV OPAMCOLOR="always"RUN ln -f ~/local/bin/opam-2.3 ~/local/bin/opamRUN opam init --reinit -niRUN uname -rs && opam exec -- ocaml -version && opam --versionRUN 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 ./src/./RUN opam pin add -yn ppx_deriving_yojson.dev './src/./'RUN echo '(lang dune 3.0)' > './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.1 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 $DEPSRUN opam install $DEPSCOPY --chown=1000:1000 . ./srcRUN cd ./src && 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-macos-homebrew-ocaml-5.3-macos-homebrew-5.3_opam-2.3-1d5c7f9c77787527ede9efca2dd0a17e"2025-06-12 14:14.27: Using OBuilder spec:((from macos-homebrew-ocaml-5.3)(comment macos-homebrew-5.3_opam-2.3)(user (uid 1000) (gid 1000))(env CLICOLOR_FORCE 1)(env OPAMCOLOR always)(run (shell "ln -f ~/local/bin/opam-2.3 ~/local/bin/opam"))(run (shell "opam init --reinit -ni"))(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))(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 ./src/./))(run (network host)(shell "opam pin add -yn ppx_deriving_yojson.dev './src/./'"))(run (network host)(shell "echo '(lang dune 3.0)' > './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.1 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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))(network host)(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y ppx_deriving_yojson.dev $DEPS"))(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))(network host)(shell "opam install $DEPS"))(copy (src .) (dst ./src))(run (shell "cd ./src && 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:41.20: Waiting for worker…2025-06-12 17:14.30: Got resource from pool OClusterBuilding on i7-worker-03All commits already cachedHEAD is now at 821b2b7 Add type constraint in `of_yojson` record variant constructor case(from macos-homebrew-ocaml-5.3)2025-06-12 17:14.31 ---> using "6ee950b55569b1a3f8a7953dc679318bf303d3a70ac7d49901c0ac2ca3805d7c" from cache/: (comment macos-homebrew-5.3_opam-2.3)/: (user (uid 1000) (gid 1000))/: (env CLICOLOR_FORCE 1)/: (env OPAMCOLOR always)/: (run (shell "ln -f ~/local/bin/opam-2.3 ~/local/bin/opam"))2025-06-12 17:14.31 ---> using "8efc335cb5004a650aab29e72b9849a2b2e2f0853bc55d3a74763c7cceed5d74" 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.This version of opam requires an update to the layout of /Users/mac1000/.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:///Users/mac1000/opam-repository2025-06-12 17:14.32 ---> using "e29fa6de89fe919799ac81fd4a1c768d8341cedf873c17042854467d2aebeceb" from cache/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))Darwin 23.4.0The OCaml toplevel, version 5.3.02.3.02025-06-12 17:14.32 ---> using "a268524b45b0c90a951719c2a6c8c78c0b8a0fec90c9f437befd49b0008dc673" from cache/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))(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_HEAD67e940587b..a28eb8a148 master -> origin/mastera28eb8a148 Merge pull request #28017 from maiste/release-dune-3.19.1<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>[default] synchronised from git+file:///Users/mac1000/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-compiler.5.5-- ocaml-base-compiler.5.4.0~alpha1 is installed and requires ocaml-compiler = 5.4.0~alpha1However, 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-12 17:14.32 ---> using "eaccb6aab9958c7381ce3b97822c829fabf7189a0fcdf560e417444a1f83b5e5" from cache/: (copy (src ppx_deriving_yojson.opam) (dst ./src/./))2025-06-12 17:14.33 ---> using "76ede82b5cb9e8d756cb75f73a65e25d7fe38115efcd7e00d3bea065c6f43757" from cache/: (run (network host)(shell "opam pin add -yn ppx_deriving_yojson.dev './src/./'"))[ppx_deriving_yojson.dev] synchronised (file:///Users/mac1000/src)ppx_deriving_yojson is now pinned to file:///Users/mac1000/src (version dev)2025-06-12 17:14.33 ---> using "0db5a301d1500d1a21ba04f317981d851787f1c4a16a05eec7d588aa5a4ca4f3" from cache/: (run (network host)(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))2025-06-12 17:14.33 ---> using "8a7ffc392d042f070e75ac986db96621d6cc2c626301f0abc0f98e9169d99ca5" 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.1 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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))(network host)(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y ppx_deriving_yojson.dev $DEPS"))+ /usr/local/bin/brew "update"- ==> Updating Homebrew...- Already up-to-date.<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>[ppx_deriving_yojson.dev] synchronised (file:///Users/mac1000/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-12 17:14.34 ---> using "6c0b7bc16bfd756e93ecf7507b21857d2bfffff9f7265f862d2291ddedc14904" from cache/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))(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.1- 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)-> 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 stdlib-shims.0.3.0-> installed ppx_derivers.1.2.1-> installed ocaml-compiler-libs.v0.17.0-> installed sexplib0.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.0Done.# To update the current shell environment, run: eval $(opam env)2025-06-12 17:14.34 ---> using "3017617d604500a93737eec5aaff52c66da6ac91363a3ad81099f8331cfe6a08" from cache/: (copy (src .) (dst ./src))2025-06-12 17:14.36 ---> saved as "aa81f437074391fff5dad0b32a3078f34cd554c83bf6478b3d23e845a17bcd13"/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))(cd _build/default && /Users/mac1000/.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 /Users/mac1000/.opam/5.3.0/lib/ocaml/unix -I /Users/mac1000/.opam/5.3.0/lib/ounit2 -I /Users/mac1000/.opam/5.3.0/lib/ounit2/advanced -I /Users/mac1000/.opam/5.3.0/lib/ppx_deriving/runtime -I /Users/mac1000/.opam/5.3.0/lib/seq -I /Users/mac1000/.opam/5.3.0/lib/stdlib-shims -I /Users/mac1000/.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.tbut an expression was expected of type jsonThe first variant type does not allow tag(s) `Tuple, `Variant"/usr/bin/env" "bash" "-c" "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 12025-06-12 17:14.44: Job failed: Failed: Build failed