2025-03-21 10:51.21: New job: test ocaml-ppx/ppx_deriving_yojson https://github.com/ocaml-ppx/ppx_deriving_yojson.git#refs/heads/master (67e1d3334c1e3b94152bbc9c8600b71d5ee61b39) (freebsd-x86_64:freebsd-14.1-5.3_opam-2.3) Base: freebsd-14.1-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 67e1d333 cat > Dockerfile <<'END-OF-DOCKERFILE' FROM freebsd-14.1-ocaml-5.3 # freebsd-14.1-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 8d19977bcd20607919a25e688e963280f2746425 || git fetch origin master) && git reset -q --hard 8d19977bcd20607919a25e688e963280f2746425 && 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.17.2 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.2.2.2" 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-03-21 10:51.21: Using cache hint "ocaml-ppx/ppx_deriving_yojson-freebsd-14.1-ocaml-5.3-freebsd-14.1-5.3_opam-2.3-04eebb57519af478f360f45dfdc52c60" 2025-03-21 10:51.21: Using OBuilder spec: ((from freebsd-14.1-ocaml-5.3) (comment freebsd-14.1-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 8d19977bcd20607919a25e688e963280f2746425 || git fetch origin master) && git reset -q --hard 8d19977bcd20607919a25e688e963280f2746425 && 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.17.2 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.2.2.2") (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-03-21 10:51.21: Waiting for resource in pool OCluster 2025-03-21 10:51.21: Waiting for worker… 2025-03-21 10:51.21: Got resource from pool OCluster Building on summer All commits already cached HEAD is now at 67e1d33 Release 3.9.1 (from freebsd-14.1-ocaml-5.3) 2025-03-21 10:38.16 ---> using "fa4c65a721275037aa0f851d49090cd38fc202c0147147d39fba5c0e4d9b16e6" from cache /: (comment freebsd-14.1-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-03-21 10:38.16 ---> using "707c7e294765dd0c27e269a5b580560b225237a2f86c98e49e9b55231281b700" 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-03-21 10:38.16 ---> using "45749df81b3980750ffa6bca410a05b72322147ab2725b654dada75710103de9" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) FreeBSD 14.1-RELEASE-p5 The OCaml toplevel, version 5.3.0 2.3.0 2025-03-21 10:38.16 ---> using "f64bb7c3e303337c7ff569b67d81a7b6dbef733cbc8fc2ef78eebdda8d34b5e9" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2025-03-21 10:38.17 ---> using "b5dd81919ce8bb132a9ebf4541726236220f50fa3e495f7f25632fce1e88b154" from cache /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e 8d19977bcd20607919a25e688e963280f2746425 || git fetch origin master) && git reset -q --hard 8d19977bcd20607919a25e688e963280f2746425 && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD f93eb7cb02..6cf83229dd master -> origin/master 8d19977bcd Release ppx_deriving.6.1.0 (#27621) <><> 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.4.0 However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages. Nothing to do. 2025-03-21 10:39.03 ---> saved as "1a25bf4f226e48fed57757f1267e6c7326678521b754d100511de9704383a2a5" /src: (copy (src ppx_deriving_yojson.opam) (dst ./)) 2025-03-21 10:39.04 ---> saved as "972b0f16287864a59b2d6e0cead0f3fa7f43f4c8db684558a21521199e1fd50c" /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-03-21 10:39.05 ---> saved as "eb2ea3e099032996f5334c21a840e0e8deba922dba0d6157524544895e139123" /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2025-03-21 10:39.05 ---> saved as "ea0991288ba4be6e28b457371bf97b092aac3427cbea14e0d3be182136bad0a6" /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.17.2 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.2.2.2") /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-03-21 10:39.17 ---> saved as "35e6251e25a47515e0e7caf0a5c21551a82857e4c618b2991db70c360a4f9119" /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.17.2 ∗ 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 2.2.2 <><> 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.2.2.2 (cached) ⬇ retrieved ppxlib.0.36.0 (cached) ⬇ retrieved dune.3.17.2 (cached) ∗ installed ocamlfind.1.9.8 ∗ installed dune.3.17.2 ∗ 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 ounit2.2.2.7 ∗ installed yojson.2.2.2 ∗ installed ppxlib.0.36.0 ∗ installed ppx_deriving.6.1.0 Done. 2025-03-21 10:40.40 ---> saved as "708171883f4360e947fb597f53f39253f1e0271a026f994bf73316c047f4b999" /src: (copy (src .) (dst /src)) 2025-03-21 10:40.41 ---> saved as "8ffaac2d87be88fc73acdf35c6a8c4e6fc1ceea6126cf7c71977ef2291e4dbac" /src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build")) (cd _build/default && /home/opam/.opam/5.3.0/bin/ocamlopt.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 -g -I src/.ppx_deriving_yojson.objs/byte -I src/.ppx_deriving_yojson.objs/native -I /home/opam/.opam/5.3.0/lib/ocaml-compiler-libs/common -I /home/opam/.opam/5.3.0/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/5.3.0/lib/ocaml/compiler-libs -I /home/opam/.opam/5.3.0/lib/ppx_derivers -I /home/opam/.opam/5.3.0/lib/ppx_deriving/api -I /home/opam/.opam/5.3.0/lib/ppxlib -I /home/opam/.opam/5.3.0/lib/ppxlib/ast -I /home/opam/.opam/5.3.0/lib/ppxlib/astlib -I /home/opam/.opam/5.3.0/lib/ppxlib/print_diff -I /home/opam/.opam/5.3.0/lib/ppxlib/stdppx -I /home/opam/.opam/5.3.0/lib/ppxlib/traverse_builtins -I /home/opam/.opam/5.3.0/lib/sexplib0 -I /home/opam/.opam/5.3.0/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -opaque -o src/.ppx_deriving_yojson.objs/native/ppx_deriving_yojson.cmx -c -impl src/ppx_deriving_yojson.pp.ml) File "src/ppx_deriving_yojson.ml", line 151, characters 38-42: 151 | [%expr fun x -> [%e evar ("poly_"^name)] x; [%e ser_expr_of_typ typ] x] ^^^^ Error: The value name has type string with_loc but an expression was expected of type string (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 -g -bin-annot -bin-annot-occurrences -I src/.ppx_deriving_yojson.objs/byte -I /home/opam/.opam/5.3.0/lib/ocaml-compiler-libs/common -I /home/opam/.opam/5.3.0/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/5.3.0/lib/ocaml/compiler-libs -I /home/opam/.opam/5.3.0/lib/ppx_derivers -I /home/opam/.opam/5.3.0/lib/ppx_deriving/api -I /home/opam/.opam/5.3.0/lib/ppxlib -I /home/opam/.opam/5.3.0/lib/ppxlib/ast -I /home/opam/.opam/5.3.0/lib/ppxlib/astlib -I /home/opam/.opam/5.3.0/lib/ppxlib/print_diff -I /home/opam/.opam/5.3.0/lib/ppxlib/stdppx -I /home/opam/.opam/5.3.0/lib/ppxlib/traverse_builtins -I /home/opam/.opam/5.3.0/lib/sexplib0 -I /home/opam/.opam/5.3.0/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -opaque -o src/.ppx_deriving_yojson.objs/byte/ppx_deriving_yojson.cmo -c -impl src/ppx_deriving_yojson.pp.ml) File "src/ppx_deriving_yojson.ml", line 151, characters 38-42: 151 | [%expr fun x -> [%e evar ("poly_"^name)] x; [%e ser_expr_of_typ typ] x] ^^^^ Error: The value name has type string with_loc but an expression was expected of type string 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.17.2 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.2.2.2' 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_822_23750" "mount.devfs" "path=/obuilder/result/96fb6d2bc686a0a98d8724d653a2ecb08ebe6ed811239673029368d30ed6b5be/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.17.2 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.2.2.2' 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-03-21 10:54.47: Job failed: Failed: Build failed