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) (linux-x86_64:ubuntu-24.10-5.3_opam-2.3)Base: ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:20126745cc6458ad1b61595c90c2d98df4e1e21b8119b569a007b2c4ed222f6fOpam 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 ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:20126745cc6458ad1b61595c90c2d98df4e1e21b8119b569a007b2c4ed222f6f# ubuntu-24.10-5.3_opam-2.3USER 1000:1000ENV CLICOLOR_FORCE="1"ENV OPAMCOLOR="always"WORKDIR /srcRUN sudo ln -f /usr/bin/opam-2.3 /usr/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-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 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-ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:20126745cc6458ad1b61595c90c2d98df4e1e21b8119b569a007b2c4ed222f6f-ubuntu-24.10-5.3_opam-2.3-1d5c7f9c77787527ede9efca2dd0a17e"2025-06-12 14:14.27: Using OBuilder spec:((from ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:20126745cc6458ad1b61595c90c2d98df4e1e21b8119b569a007b2c4ed222f6f)(comment ubuntu-24.10-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/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 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-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 /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 16:04.42: Waiting for worker…2025-06-12 16:07.57: Got resource from pool OClusterBuilding on toxis.caelum.ci.devAll commits already cachedHEAD is now at 821b2b7 Add type constraint in `of_yojson` record variant constructor case(from ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:20126745cc6458ad1b61595c90c2d98df4e1e21b8119b569a007b2c4ed222f6f)2025-06-12 16:07.58 ---> using "e55681b578954368722df1ef80ef5a6e867733b5ce3b430d5fe0a644788508bc" from cache/: (comment ubuntu-24.10-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/bin/opam-2.3 /usr/bin/opam"))2025-06-12 16:07.58 ---> using "dad3a40d97787bb28ac988400fbfa55ae43581b913d92de8a2ce00544cf8941c" 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[NOTE] The 'jobs' option was reset, its value was 255 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=255 --globalFormat upgrade done.<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>[default] Initialised2025-06-12 16:07.58 ---> using "36de3e1328d453b1383731fb9a3a72ad6c2210927b408a03247029d32e97716a" from cache/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))Linux 5.15.0-134-genericThe OCaml toplevel, version 5.3.02.3.02025-06-12 16:07.58 ---> using "829925dfee67c959173942dbfdf9b19b81a1c2db703f2c8ddb099082f161d551" from cache/src: (workdir /src)/src: (run (shell "sudo chown opam /src"))2025-06-12 16:07.58 ---> using "48c0e443a0b5cb2329fc023964aaa702a0621bed3213547e049d4ad51c16146a" 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_HEADbc726805e3..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).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-12 16:07.58 ---> using "a09b8c83813ca8e887d22e520149e13fea69cc0c2a3880f8a3d73e5a3389ea4e" from cache/src: (copy (src ppx_deriving_yojson.opam) (dst ./))2025-06-12 16:07.58 ---> using "8433f7d6a234fe5e45d6242035db1c94070c5f716ddfe07fa0fa188d78cd4da5" 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 16:07.58 ---> using "b3c4b5ca6e986fd9b982c19ab72e39d619e9ca3feaf722eb60a9fd20fa6902bf" from cache/src: (run (network host)(shell "echo '(lang dune 3.0)' > './dune-project'"))2025-06-12 16:07.58 ---> using "e9cdf54c5506ae671f206b4ec7dfc3d1b67e7996b4b56b16fd772efd029c86a7" 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.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")/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"- Hit:1 http://archive.ubuntu.com/ubuntu oracular InRelease- Get:2 http://archive.ubuntu.com/ubuntu oracular-updates InRelease [126 kB]- Get:3 http://security.ubuntu.com/ubuntu oracular-security InRelease [126 kB]- Get:4 http://security.ubuntu.com/ubuntu oracular-security/universe amd64 Packages [270 kB]- Get:5 http://security.ubuntu.com/ubuntu oracular-security/main amd64 Packages [415 kB]- Get:6 http://archive.ubuntu.com/ubuntu oracular-backports InRelease [126 kB]- Get:7 http://archive.ubuntu.com/ubuntu oracular-updates/main amd64 Packages [551 kB]- Get:8 http://archive.ubuntu.com/ubuntu oracular-updates/universe amd64 Packages [345 kB]- Fetched 1960 kB in 1s (2016 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-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 16:08.12 ---> saved as "086e2ff01e317b9af9afb2e50b9ac8e599d91b77e116932062b9916b90fdefc8"/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- 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 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 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 cppo.1.8.0-> installed ocaml-compiler-libs.v0.17.0-> installed ounit2.2.2.7-> installed yojson.3.0.0-> installed ppxlib.0.36.0-> installed ppx_deriving.6.1.0Done.# To update the current shell environment, run: eval $(opam env)2025-06-12 16:10.24 ---> saved as "529387d6a6f922e81df9a29e0e146df3bcfa2a9186ead5aa3744c731c75645cd"/src: (copy (src .) (dst /src))2025-06-12 16:10.24 ---> saved as "b38a0db1a861127ce72bafff467ec674724d1f73c1c99ece3782a0fdc51b25ce"/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))(cd _build/default && /home/opam/.opam/5.3/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/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.tbut an expression was expected of type jsonThe first variant type does not allow tag(s) `Tuple, `Variant"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 12025-06-12 16:10.32: Job failed: Failed: Build failed