2026-01-16 11:40.13: New job: test ocsigen/lwt https://github.com/ocsigen/lwt.git#refs/heads/ppx-type-wrong-1085--592 (fd819c1e80599925be07d49d7361422f82d4e4bf) (freebsd-x86_64:freebsd-14.3-4.14_opam-2.5) Base: freebsd-14.3-ocaml-4.14 Opam project build To reproduce locally: git clone --recursive "https://github.com/ocsigen/lwt.git" -b "ppx-type-wrong-1085--592" && cd "lwt" && git reset --hard fd819c1e cat > Dockerfile <<'END-OF-DOCKERFILE' FROM freebsd-14.3-ocaml-4.14 # freebsd-14.3-4.14_opam-2.5 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" WORKDIR /src RUN sudo ln -f /usr/local/bin/opam-2.5 /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 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u COPY --chown=1000:1000 lwt_retry.opam lwt_react.opam lwt_ppx__ppx_let_tests.opam lwt_ppx.opam lwt.opam ./ RUN opam pin add -yn lwt_retry.dev './' && \ opam pin add -yn lwt_react.dev './' && \ opam pin add -yn lwt_ppx__ppx_let_tests.dev './' && \ opam pin add -yn lwt_ppx.dev './' && \ opam pin add -yn lwt.dev './' RUN echo '(lang dune 3.0)' > './dune-project' ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.21.0 dune-configurator.3.21.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ppx_derivers.1.2.1 ppxlib.0.37.0 react.1.2.2 sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.1" ENV CI="true" ENV OCAMLCI="true" RUN opam update --depexts && opam install --cli=2.5 --depext-only -y lwt_retry.dev lwt_react.dev lwt_ppx.dev lwt.dev $DEPS RUN opam install $DEPS COPY --chown=1000:1000 . /src RUN opam exec -- dune build --only-packages=lwt_retry,lwt_react,lwt_ppx,lwt @install @check @runtest && rm -rf _build END-OF-DOCKERFILE docker build . END-REPRO-BLOCK 2026-01-16 11:40.13: Using cache hint "ocsigen/lwt-freebsd-14.3-ocaml-4.14-freebsd-14.3-4.14_opam-2.5-f80664a0fc43791440912ae83095cdb3" 2026-01-16 11:40.13: Using OBuilder spec: ((from freebsd-14.3-ocaml-4.14) (comment freebsd-14.3-4.14_opam-2.5) (user (uid 1000) (gid 1000)) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (workdir /src) (run (shell "sudo ln -f /usr/local/bin/opam-2.5 /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 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u")) (copy (src lwt_retry.opam lwt_react.opam lwt_ppx__ppx_let_tests.opam lwt_ppx.opam lwt.opam) (dst ./)) (run (network host) (shell "opam pin add -yn lwt_retry.dev './' && \ \nopam pin add -yn lwt_react.dev './' && \ \nopam pin add -yn lwt_ppx__ppx_let_tests.dev './' && \ \nopam pin add -yn lwt_ppx.dev './' && \ \nopam pin add -yn lwt.dev './'")) (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.21.0 dune-configurator.3.21.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ppx_derivers.1.2.1 ppxlib.0.37.0 react.1.2.2 sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.1") (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.5 --depext-only -y lwt_retry.dev lwt_react.dev lwt_ppx.dev lwt.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 --only-packages=lwt_retry,lwt_react,lwt_ppx,lwt @install @check @runtest && rm -rf _build")) ) 2026-01-16 11:40.13: Waiting for resource in pool OCluster 2026-01-16 17:40.17: Waiting for worker… 2026-01-16 18:32.05: Got resource from pool OCluster Building on rosemary All commits already cached HEAD is now at fd819c1e8 ppx: add test for #1085, add standalone ppx executable (from freebsd-14.3-ocaml-4.14) 2026-01-16 18:36.12 ---> using "7e5247e9853d1c2fb95ef9ffdfdb895ef70516f48155f08a9b10db936cb8c6c6" from cache /: (comment freebsd-14.3-4.14_opam-2.5) /: (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.5 /usr/local/bin/opam")) 2026-01-16 18:36.13 ---> using "cc65ce37998b2d98fc767b9dc7c3b5c83138e1952bec339ac27a7bb4d9d920d3" 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 2026-01-16 18:36.13 ---> using "87889fea7d09081125d96054d270a07df14f9b2a5c081c0c9434b9f215ecc218" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) FreeBSD 14.3-RELEASE-p3 The OCaml toplevel, version 4.14.2 2.5.0 2026-01-16 18:36.13 ---> using "4a6e16f39bb2fab11842c96050ea21902749c68aefdffcd64774b8b7640a3492" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2026-01-16 18:36.13 ---> using "ca1b89b4fcfce73b3b6ab80b797b154eda5f870ad814c498da3e18daf8f4b36f" from cache /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD 71325ac6ed..873cb18c37 master -> origin/master 873cb18c37 Merge pull request #29216 from shonfeder/release-dune-3.21.0 <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from git+file:///home/opam/opam-repository Everything as up-to-date as possible The following packages are not being upgraded because the new versions conflict with other installed packages: - ocaml.5.4.0 - ocaml-config.3 However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.4.0"), which will ask permission to downgrade or uninstall the conflicting packages. Nothing to do. 2026-01-16 18:36.14 ---> using "ff9d687398e31f8631a6fc5f7b86db8899aa21df99d4af5cfd65df4bb71d7ea3" from cache /src: (copy (src lwt_retry.opam lwt_react.opam lwt_ppx__ppx_let_tests.opam lwt_ppx.opam lwt.opam) (dst ./)) 2026-01-16 18:36.15 ---> saved as "a277006d5d4f3feee8cd3516c0519c75f6d968af9164c071104a66ce435f7327" /src: (run (network host) (shell "opam pin add -yn lwt_retry.dev './' && \ \nopam pin add -yn lwt_react.dev './' && \ \nopam pin add -yn lwt_ppx__ppx_let_tests.dev './' && \ \nopam pin add -yn lwt_ppx.dev './' && \ \nopam pin add -yn lwt.dev './'")) [lwt_retry.dev] synchronised (file:///src) lwt_retry is now pinned to file:///src (version dev) [lwt_react.dev] synchronised (file:///src) lwt_react is now pinned to file:///src (version dev) [NOTE] Package lwt_ppx__ppx_let_tests does not exist in opam repositories registered in the current switch. [lwt_ppx__ppx_let_tests.dev] synchronised (file:///src) [WARNING] Failed checks on lwt_ppx__ppx_let_tests package definition from source at file:///src: warning 62: License doesn't adhere to the SPDX standard, see https://spdx.org/licenses/ : "NOTFORRELEASE" lwt_ppx__ppx_let_tests is now pinned to file:///src (version dev) [lwt_ppx.dev] synchronised (file:///src) lwt_ppx is now pinned to file:///src (version dev) [lwt.dev] synchronised (file:///src) lwt is now pinned to file:///src (version dev) 2026-01-16 18:36.20 ---> saved as "f5ff3ae8c1c58ed4e92fb8187b28f5fccc17de2de140d5c691b7e4a6448de069" /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2026-01-16 18:36.21 ---> saved as "a1521cff3ee5ab511a05fb5c98aef205df5682322c183987bcead56329a26d5b" /src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.21.0 dune-configurator.3.21.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ppx_derivers.1.2.1 ppxlib.0.37.0 react.1.2.2 sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.1") /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.5 --depext-only -y lwt_retry.dev lwt_react.dev lwt_ppx.dev lwt.dev $DEPS")) [WARNING] Unknown update command for bsd, skipping system update <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [lwt_react.dev] synchronised (file:///src) [lwt_ppx.dev] synchronised (file:///src) [lwt.dev] synchronised (file:///src) [lwt_retry.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). 2026-01-16 18:36.29 ---> saved as "c33f6f36b676490bebbc9d7c7c58a281020d1e4124eb387615819afb59e6346d" /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 15 packages ∗ base-bytes base ∗ cppo 1.8.0 ∗ csexp 1.5.2 ∗ dune 3.21.0 ∗ dune-configurator 3.21.0 ∗ ocaml-compiler-libs v0.12.4 ∗ ocamlbuild 0.16.1 ∗ ocamlfind 1.9.8 ∗ ocplib-endian 1.2 ∗ ppx_derivers 1.2.1 ∗ ppxlib 0.37.0 ∗ react 1.2.2 ∗ sexplib0 v0.17.0 ∗ stdlib-shims 0.3.0 ∗ topkg 1.1.1 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> ⬇ retrieved csexp.1.5.2 (cached) ⬇ retrieved cppo.1.8.0 (cached) ⬇ retrieved ocaml-compiler-libs.v0.12.4 (cached) ⬇ retrieved ocamlfind.1.9.8 (cached) ⬇ retrieved ocplib-endian.1.2 (cached) ⬇ retrieved ocamlbuild.0.16.1 (cached) ⬇ retrieved ppx_derivers.1.2.1 (cached) ⬇ retrieved react.1.2.2 (cached) ⬇ retrieved sexplib0.v0.17.0 (cached) ⬇ retrieved stdlib-shims.0.3.0 (cached) ⬇ retrieved topkg.1.1.1 (cached) ⬇ retrieved ppxlib.0.37.0 (cached) ⬇ retrieved dune.3.21.0, dune-configurator.3.21.0 (cached) ∗ installed ocamlbuild.0.16.1 ∗ installed ocamlfind.1.9.8 ∗ installed base-bytes.base ∗ installed topkg.1.1.1 ∗ installed react.1.2.2 ∗ installed dune.3.21.0 ∗ installed ppx_derivers.1.2.1 ∗ installed csexp.1.5.2 ∗ installed stdlib-shims.0.3.0 ∗ installed sexplib0.v0.17.0 ∗ installed ocaml-compiler-libs.v0.12.4 ∗ installed cppo.1.8.0 ∗ installed ocplib-endian.1.2 ∗ installed dune-configurator.3.21.0 ∗ installed ppxlib.0.37.0 Done. 2026-01-16 18:37.39 ---> saved as "1981ed3d8ff0d914d4611ae1cde988c6bf8992fc3a09c85e9f0c3180c03b1174" /src: (copy (src .) (dst /src)) 2026-01-16 18:37.41 ---> saved as "8e87bab991c4c725fc7cad26015e6f2428007b00df271f834a7e6e5792208403" /src: (run (shell "opam exec -- dune build --only-packages=lwt_retry,lwt_react,lwt_ppx,lwt @install @check @runtest && rm -rf _build")) (cd _build/default && /home/opam/.opam/4.14.2/bin/ocamlc.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I test/ppx/.main.eobjs/byte -I /home/opam/.opam/4.14.2/lib/bytes -I /home/opam/.opam/4.14.2/lib/ocaml/threads -I /home/opam/.opam/4.14.2/lib/ocplib-endian -I /home/opam/.opam/4.14.2/lib/ocplib-endian/bigstring -I src/core/.lwt.objs/byte -I src/unix/.lwt_unix.objs/byte -I test/.lwttester.objs/byte -intf-suffix .ml -no-alias-deps -opaque -o test/ppx/.main.eobjs/byte/dune__exe__Main.cmo -c -impl test/ppx/main.pp.ml) File "test/ppx/main.ml", line 169, characters 26-38: 169 | let%lwt (_ : int) = Lwt.return 0 in ^^^^^^^^^^^^ Error: This expression has type int t but an expression was expected of type int (cd _build/default && /home/opam/.opam/4.14.2/bin/ocamlopt.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -I test/ppx/.main.eobjs/byte -I test/ppx/.main.eobjs/native -I /home/opam/.opam/4.14.2/lib/bytes -I /home/opam/.opam/4.14.2/lib/ocaml/threads -I /home/opam/.opam/4.14.2/lib/ocplib-endian -I /home/opam/.opam/4.14.2/lib/ocplib-endian/bigstring -I src/core/.lwt.objs/byte -I src/core/.lwt.objs/native -I src/unix/.lwt_unix.objs/byte -I src/unix/.lwt_unix.objs/native -I test/.lwttester.objs/byte -I test/.lwttester.objs/native -intf-suffix .ml -no-alias-deps -opaque -o test/ppx/.main.eobjs/native/dune__exe__Main.cmx -c -impl test/ppx/main.pp.ml) File "test/ppx/main.ml", line 169, characters 26-38: 169 | let%lwt (_ : int) = Lwt.return 0 in ^^^^^^^^^^^^ Error: This expression has type int t but an expression was expected of type int (cd _build/default/test/retry && ./main.exe) Testing library 'retry'... .............. Ok. 14 tests ran, 0 tests skipped in 0.01 seconds (cd _build/default/test/core && ./main.exe) Testing library 'core'... ...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................SSSSSSSSSSSSSSSSSSSSSSS.................................................................................................................................................. Ok. 705 tests ran, 23 tests skipped in 0.44 seconds (cd _build/default/test/react && ./main.exe) Testing library 'react'... ........... Ok. 11 tests ran, 0 tests skipped in 4.50 seconds File "test/unix/dune", line 22, characters 7-11: 22 | (name main) ^^^^ (cd _build/default/test/unix && ./main.exe) Testing library 'unix'... .....................................SS..................................ESES.................................................................................................................................................................. Test 'mcast-join-loop' in suite 'unix_mcast' raised 'Unix.Unix_error(Unix.EADDRNOTAVAIL, "setsockopt", "")' Test 'mcast-join-noloop' in suite 'unix_mcast' raised 'Unix.Unix_error(Unix.EADDRNOTAVAIL, "setsockopt", "")' jail: /usr/bin/su -l opam -c cd '/src' && env OCAMLCI='true' CI='true' DEPS='base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.21.0 dune-configurator.3.21.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ppx_derivers.1.2.1 ppxlib.0.37.0 react.1.2.2 sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.1' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam exec -- dune build --only-packages=lwt_retry,lwt_react,lwt_ppx,lwt @install @check @runtest && rm -rf _build': failed "jail" "-c" "name=obuilder_56181_56570" "mount.devfs" "path=/obuilder/result/d264c7aee44c101c0c9e9fc4de2ab40915d72ec25675665e5aeec590961baf62/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-bytes.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.21.0 dune-configurator.3.21.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ppx_derivers.1.2.1 ppxlib.0.37.0 react.1.2.2 sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.1' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam exec -- dune build --only-packages=lwt_retry,lwt_react,lwt_ppx,lwt @install @check @runtest && rm -rf _build'" failed with exit status 1 2026-01-16 18:41.33: Job failed: Failed: Build failed