2026-01-13 20:19.37: New job: test ocsigen/lwt https://github.com/ocsigen/lwt.git#refs/heads/ppx-type-wrong-1085 (8da250e8e9963a01fd0ee5d98593dddb5327e29c) (linux-x86_64:alpine-3.22-4.14_opam-2.5)Base: ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216Opam project buildTo reproduce locally:git clone --recursive "https://github.com/ocsigen/lwt.git" -b "ppx-type-wrong-1085" && cd "lwt" && git reset --hard 8da250e8cat > Dockerfile <<'END-OF-DOCKERFILE'FROM ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216# alpine-3.22-4.14_opam-2.5USER 1000:1000ENV CLICOLOR_FORCE="1"ENV OPAMCOLOR="always"WORKDIR /srcRUN sudo ln -f /usr/bin/opam-2.5 /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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -uCOPY --chown=1000:1000 lwt_runtime_events.opam lwt_retry.opam lwt_react.opam lwt_ppx__ppx_let_tests.opam lwt_ppx.opam lwt_direct.opam lwt.opam ./RUN opam pin add -yn lwt_runtime_events.dev './' && \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_direct.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.20.2 dune-configurator.3.20.2 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 $DEPSRUN opam install $DEPSCOPY --chown=1000:1000 . /srcRUN opam exec -- dune build --only-packages=lwt_retry,lwt_react,lwt_ppx,lwt @install @check @runtest && rm -rf _buildEND-OF-DOCKERFILEdocker build .END-REPRO-BLOCK2026-01-13 20:19.37: Using cache hint "ocsigen/lwt-ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216-alpine-3.22-4.14_opam-2.5-992b1d042607839f328486c8272ab184"2026-01-13 20:19.37: Using OBuilder spec:((from ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216)(comment alpine-3.22-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/bin/opam-2.5 /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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u"))(copy (src lwt_runtime_events.opam lwt_retry.opam lwt_react.opam lwt_ppx__ppx_let_tests.opam lwt_ppx.opam lwt_direct.opam lwt.opam)(dst ./))(run (network host)(shell "opam pin add -yn lwt_runtime_events.dev './' && \\nopam 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_direct.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.20.2 dune-configurator.3.20.2 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-13 20:19.37: Waiting for resource in pool OCluster2026-01-13 23:07.45: Waiting for worker…2026-01-13 23:10.34: Got resource from pool OClusterBuilding on eumacheAll commits already cachedHEAD is now at 8da250e8e ppx: add test for #1085, add standalone ppx executable(from ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216)Unable to find image 'ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216' locallydocker.io/ocaml/opam@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216: Pulling from ocaml/opam2d35ebdb57d9: Already existsadfc86c1accf: Already existsd09377907434: Already existsa699cf44908b: Already existsc088e74f1f31: Already exists7e99e6eaa847: Already existsdb4b89a22482: Already existsf1f17593da04: Already existsbb79fbf72548: Already existscf69890848e3: Already exists80e325d6146c: Already exists66a526c41d4c: Already exists347d38b311ac: Already exists984612fde4c4: Already exists0ac0da982daa: Already exists209c9bca9b0e: Already exists3d3356d548ff: Already existsc072da09f122: Already exists4f4fb700ef54: Already existseff3d806a4a8: Already existsf5c413f5234b: Already exists09ddc5430e22: Already exists2c7c283b1afc: Already exists4af9a971b585: Already existsdf8d9be3e30d: Already exists5e55ae3325a7: Already exists635cb27b4304: Already exists898fbde8ad42: Already exists66c0ffc92413: Already existsc8cca855638d: Already exists45d2501a899c: Already exists10b0fe6926c2: Already exists0a1d7b83a687: Already exists2c3441915309: Already exists3d1a575b1bb0: Already exists6e5fa830b59d: Already exists72225f5a6449: Already exists5a8b6a59afe3: Already exists81299dd100ce: Already existsad267db4d3a7: Already existsde32f8de692b: Already existsDigest: sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216Status: Downloaded newer image for ocaml/opam@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c529092162026-01-13 23:10.34 ---> using "d1cef22083ba59d6db4e2f107091c68dd70ebdcc64c3894ad7db7be62ad17f4a" from cache/: (comment alpine-3.22-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/bin/opam-2.5 /usr/bin/opam"))2026-01-13 23:10.34 ---> using "7c7cce50f5e947565c3d5dbad3ac3b61d12cac1cb4c13b6c802d6a8bb10d1345" 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 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] Initialised2026-01-13 23:10.34 ---> using "d95bbd73a24778f1321e62f69802692f647c727b93c3a5bbd318b81d4a471a07" from cache/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))Linux 5.15.0-131-genericThe OCaml toplevel, version 4.14.22.5.02026-01-13 23:10.34 ---> using "0946bc50f9a71a954b4e3169058449c50f765d27decff1e10b17d7843ccd9459" from cache/src: (workdir /src)/src: (run (shell "sudo chown opam /src"))2026-01-13 23:10.34 ---> using "f598dcec640aed1c1320fd535f3be224f496aae5fd076bc0ab3a32f9d65fd942" from cache/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))(network host)(shell "cd ~/opam-repository && (git cat-file -e c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u"))c65fcb1165 Merge pull request #29080 from dra27/ocaml-config-urls<><> 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 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.# To update the current shell environment, run: eval $(opam env)2026-01-13 23:10.34 ---> using "599214e86efbb8e0d5ac8d2804868af46bba62696825033f3bb221a1f42bc42e" from cache/src: (copy (src lwt_runtime_events.opam lwt_retry.opam lwt_react.opam lwt_ppx__ppx_let_tests.opam lwt_ppx.opam lwt_direct.opam lwt.opam)(dst ./))2026-01-13 23:10.34 ---> saved as "6dc0fcd69df3a315125851b221af3c8dceb52aec4035a6269ff5eab53485e255"/src: (run (network host)(shell "opam pin add -yn lwt_runtime_events.dev './' && \\nopam 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_direct.dev './' && \\nopam pin add -yn lwt.dev './'"))[lwt_runtime_events.dev] synchronised (file:///src)lwt_runtime_events is now pinned to file:///src (version 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_direct.dev] synchronised (file:///src)lwt_direct is now pinned to file:///src (version dev)[lwt.dev] synchronised (file:///src)lwt is now pinned to file:///src (version dev)2026-01-13 23:10.55 ---> saved as "edbb05316af301eee1244d3426d76618214ffaae0b0853a2c7d53ef7bb3465b6"/src: (run (network host)(shell "echo '(lang dune 3.0)' > './dune-project'"))2026-01-13 23:10.55 ---> saved as "022e4bf333e0f1f4b2c43462c55f72d88bcda701004127bd22184c2f4c8654b6"/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.20.2 dune-configurator.3.20.2 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"))+ /usr/bin/sudo "apk" "update"- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz- v3.22.2-337-g720f0a85f77 [https://dl-cdn.alpinelinux.org/alpine/v3.22/main]- v3.22.2-338-gf60b0cb11b6 [https://dl-cdn.alpinelinux.org/alpine/v3.22/community]- v20251224-1304-ga1ef3dca0ed [https://dl-cdn.alpinelinux.org/alpine/edge/main]- v20251224-1117-g190ac52f0ce [https://dl-cdn.alpinelinux.org/alpine/edge/community]- v20251224-1112-gd8771c356ad [https://dl-cdn.alpinelinux.org/alpine/edge/testing]- OK: 60698 distinct packages available<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>[lwt.dev] synchronised (file:///src)[lwt_ppx.dev] synchronised (file:///src)[lwt_react.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).# To update the current shell environment, run: eval $(opam env)2026-01-13 23:11.10 ---> saved as "2b5c1287adeb0c4cd1ca4b8cd5c4487764d63ddde55c72d6ca60e68ab6337be3"/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- install base-bytes base- install cppo 1.8.0- install csexp 1.5.2- install dune 3.20.2- install dune-configurator 3.20.2- install ocaml-compiler-libs v0.12.4- install ocamlbuild 0.16.1- install ocamlfind 1.9.8- install ocplib-endian 1.2- install ppx_derivers 1.2.1- install ppxlib 0.37.0- install react 1.2.2- install sexplib0 v0.17.0- install stdlib-shims 0.3.0- install topkg 1.1.1<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>-> retrieved cppo.1.8.0 (cached)-> retrieved csexp.1.5.2 (cached)-> retrieved ocaml-compiler-libs.v0.12.4 (cached)-> retrieved ocamlbuild.0.16.1 (cached)-> retrieved ocamlfind.1.9.8 (cached)-> retrieved ocplib-endian.1.2 (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 dune.3.20.2, dune-configurator.3.20.2 (cached)-> retrieved ppxlib.0.37.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.20.2-> installed ppx_derivers.1.2.1-> installed csexp.1.5.2-> installed cppo.1.8.0-> installed ocaml-compiler-libs.v0.12.4-> installed sexplib0.v0.17.0-> installed stdlib-shims.0.3.0-> installed ocplib-endian.1.2-> installed dune-configurator.3.20.2-> installed ppxlib.0.37.0Done.# To update the current shell environment, run: eval $(opam env)2026-01-13 23:12.21 ---> saved as "67fb970323c6a0cecae9cc2586c08b360378a58007342865c985574e2659ce7a"/src: (copy (src .) (dst /src))2026-01-13 23:12.21 ---> saved as "d177f17670b6ff23fb54c38d0679384946cb40eb62ae30dbeeb06562b1bc6ace"/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/test/retry && ./main.exe)Testing library 'retry'.................Ok. 14 tests ran, 0 tests skipped in 0.01 seconds(cd _build/default && /home/opam/.opam/4.14/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/lib/bytes -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/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 171, characters 26-38:171 | let%lwt (_ : int) = Lwt.return 0 in^^^^^^^^^^^^Error: This expression has type int t but an expression was expected of typeint(cd _build/default && /home/opam/.opam/4.14/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/lib/bytes -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/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 171, characters 26-38:171 | let%lwt (_ : int) = Lwt.return 0 in^^^^^^^^^^^^Error: This expression has type int t but an expression was expected of typeint(cd _build/default/test/core && ./main.exe)Testing library 'core'..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................SSSSSSSSSSSSSSSSSSSSSSS..................................................................................................................................................Ok. 705 tests ran, 23 tests skipped in 0.39 seconds(cd _build/default/test/react && ./main.exe)Testing library 'react'..............Ok. 11 tests ran, 0 tests skipped in 4.50 seconds(cd _build/default/test/unix && ./main.exe)Testing library 'unix'....................................SS.SSS................................................................................................................SSSS................................................................................Ok. 226 tests ran, 9 tests skipped in 6.33 seconds"/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 12026-01-13 23:12.34: Job failed: Failed: Build failed