Organisationsocsigenlwt52759b (ppx-type-wrong-1085--591)(lower-bound)

(lower-bound)

Logs

Show full logs
2026-01-15 14:26.14: New job: test ocsigen/lwt https://github.com/ocsigen/lwt.git#refs/heads/ppx-type-wrong-1085--591 (52759b5bacf8bb16a2062a7c341ace5eb0d98b93) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-13-ocaml-4.08@sha256:7cdc2a1943ac1462f548be7816c6d02f14e605659f225027208abe04795ea500
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocsigen/lwt.git" -b "ppx-type-wrong-1085--591" && cd "lwt" && git reset --hard 52759b5b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.08@sha256:7cdc2a1943ac1462f548be7816c6d02f14e605659f225027208abe04795ea500
# debian-13-4.08_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.5 /usr/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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 lwt_retry.opam lwt_react.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.dev './' && \
    opam pin add -yn lwt.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base.v0.13.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-m4.1 cppo.1.6.1 dune.2.7.1 dune-configurator.2.5.1 dune-private-libs.2.5.1 jbuilder.1.0+beta20.1 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocaml-migrate-parsetree.2.0.0 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocplib-endian.1.0 ppx_derivers.1.0 ppx_let.v0.13.0 ppxlib.0.17.0 react.1.2.2 sexplib0.v0.13.0 stdlib-shims.0.1.0 topkg.1.0.8"
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 @install @check @runtest && rm -rf _build

END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK

2026-01-15 14:26.14: Using cache hint "ocsigen/lwt-ocaml/opam:debian-13-ocaml-4.08@sha256:7cdc2a1943ac1462f548be7816c6d02f14e605659f225027208abe04795ea500-debian-13-4.08_opam-2.5-a18bdd44a78fcc1e9bba889027d248e3"
2026-01-15 14:26.14: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.08@sha256:7cdc2a1943ac1462f548be7816c6d02f14e605659f225027208abe04795ea500)
 (comment debian-13-4.08_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_retry.opam lwt_react.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.dev './' && \
             \nopam pin add -yn lwt.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "base.v0.13.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-m4.1 cppo.1.6.1 dune.2.7.1 dune-configurator.2.5.1 dune-private-libs.2.5.1 jbuilder.1.0+beta20.1 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocaml-migrate-parsetree.2.0.0 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocplib-endian.1.0 ppx_derivers.1.0 ppx_let.v0.13.0 ppxlib.0.17.0 react.1.2.2 sexplib0.v0.13.0 stdlib-shims.0.1.0 topkg.1.0.8")
 (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 @install @check @runtest && rm -rf _build"))
)

2026-01-15 14:26.14: Waiting for resource in pool OCluster
2026-01-15 14:26.14: Waiting for worker…
2026-01-15 14:26.14: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 52759b5ba ppx: add test for #1085, add standalone ppx executable

(from ocaml/opam:debian-13-ocaml-4.08@sha256:7cdc2a1943ac1462f548be7816c6d02f14e605659f225027208abe04795ea500)
2026-01-15 14:26.16 ---> using "4c1f60dc0cc5644c6a4c05cf3315bdbf9cc478b70e443b212a1220385bab8bba" from cache

/: (comment debian-13-4.08_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-15 14:26.16 ---> using "92dd4fc960da195cf8060e96ee0990af7318cc2673fac9df60b7fa438452988b" 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 71 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=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-01-15 14:26.16 ---> using "aabd502144a2d34da48b540ca016cfc216bbcccbb82cd54dc1dbcd4eab0c47c4" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-87-generic
The OCaml toplevel, version 4.08.1
2.5.0
2026-01-15 14:26.16 ---> using "2f5f566f7e806252bb5a6fcdcbd8b7bc314413458c854c3595c5ff2a71173bde" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-01-15 14:26.16 ---> using "b86df431ec01f8f97d0c50a8e2cdd966fd4d0009325244e611106efcf1f13127" 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-repository

Everything 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-15 14:26.16 ---> using "2f4d00c82716dc08ebb0f469cea9af6fac04b5a1e7f12f6dabdb0b3e2e8d14a6" from cache

/src: (copy (src lwt_retry.opam lwt_react.opam lwt_ppx.opam lwt.opam)
            (dst ./))
2026-01-15 14:26.16 ---> saved as "6fd45d76fc3416e5350e5b9b4e3f11ce26027ed453bd804a76378ae231186399"

/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.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)
[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-15 14:26.21 ---> saved as "e78cc5fbe62796887a33f25284a6b73ee71ffbe585cabea107a5f6e534d62278"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-01-15 14:26.22 ---> saved as "6a9b785c6d26bda2d09843b6ed593c898586b78121b8e0edda616c175fad8f8b"

/src: (env DEPS "base.v0.13.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-m4.1 cppo.1.6.1 dune.2.7.1 dune-configurator.2.5.1 dune-private-libs.2.5.1 jbuilder.1.0+beta20.1 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocaml-migrate-parsetree.2.0.0 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocplib-endian.1.0 ppx_derivers.1.0 ppx_let.v0.13.0 ppxlib.0.17.0 react.1.2.2 sexplib0.v0.13.0 stdlib-shims.0.1.0 topkg.1.0.8")

/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 "apt-get" "update"
- Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian trixie/main amd64 Packages [9670 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [95.9 kB]
- Fetched 9997 kB in 2s (4227 kB/s)
- Reading package lists...
- 

<><> 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-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.1).
[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 system packages will first need to be installed:
    m4

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4"
- Selecting previously unselected package m4.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20622 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-8_amd64.deb ...
- Unpacking m4 (1.4.19-8) ...
- Setting up m4 (1.4.19-8) ...
# To update the current shell environment, run: eval $(opam env)
2026-01-15 14:26.34 ---> saved as "aa51f0a53754dbf82af818ebac36dbe65fb0d14dd367db0dc62e98ddbd4325c2"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.1).
[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 20 packages
  - install base                    v0.13.0
  - install base-bytes              base
  - install conf-m4                 1
  - install cppo                    1.6.1
  - install dune                    2.7.1
  - install dune-configurator       2.5.1
  - install dune-private-libs       2.5.1
  - install jbuilder                1.0+beta20.1 (deprecated)
  - install ocaml-compiler-libs     v0.11.0
  - install ocaml-migrate-parsetree 2.0.0 (deprecated)
  - install ocamlbuild              0.14.0
  - install ocamlfind               1.8.0
  - install ocplib-endian           1.0
  - install ppx_derivers            1.0
  - install ppx_let                 v0.13.0
  - install ppxlib                  0.17.0
  - install react                   1.2.2
  - install sexplib0                v0.13.0
  - install stdlib-shims            0.1.0
  - install topkg                   1.0.8

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.13.0  (cached)
-> retrieved cppo.1.6.1  (cached)
-> retrieved dune.2.7.1  (cached)
-> installed conf-m4.1
-> retrieved dune-configurator.2.5.1, dune-private-libs.2.5.1  (cached)
-> retrieved jbuilder.1.0+beta20.1  (cached)
-> retrieved ocaml-compiler-libs.v0.11.0  (cached)
-> retrieved ocaml-migrate-parsetree.2.0.0  (cached)
-> retrieved ocamlbuild.0.14.0  (cached)
-> retrieved ocamlfind.1.8.0  (cached)
-> retrieved ocplib-endian.1.0  (cached)
-> retrieved ppx_derivers.1.0  (cached)
-> retrieved ppx_let.v0.13.0  (cached)
-> retrieved react.1.2.2  (cached)
-> retrieved sexplib0.v0.13.0  (cached)
-> retrieved stdlib-shims.0.1.0  (cached)
-> retrieved ppxlib.0.17.0  (cached)
-> retrieved topkg.1.0.8  (cached)
-> installed ocamlfind.1.8.0
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed dune.2.7.1
-> installed jbuilder.1.0+beta20.1
-> installed ppx_derivers.1.0
-> installed stdlib-shims.0.1.0
-> installed sexplib0.v0.13.0
-> installed ocaml-compiler-libs.v0.11.0
-> installed cppo.1.6.1
-> installed ocaml-migrate-parsetree.2.0.0
-> installed topkg.1.0.8
-> installed dune-private-libs.2.5.1
-> installed ocplib-endian.1.0
-> installed dune-configurator.2.5.1
-> installed react.1.2.2
-> installed base.v0.13.0
-> installed ppxlib.0.17.0
-> installed ppx_let.v0.13.0
Done.

<><> ocaml-migrate-parsetree.2.0.0 installed successfully <><><><><><><><><><><>
=> Note: This package is deprecated.

<><> jbuilder.1.0+beta20.1 installed successfully <><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# To update the current shell environment, run: eval $(opam env)
2026-01-15 14:27.05 ---> saved as "6a8ec635b47799e42e8fa995c0e8fd5a28ee6a6154163e379e508efa382dad49"

/src: (copy (src .) (dst /src))
2026-01-15 14:27.05 ---> saved as "0ccc5da223d4d09124633b59352a3b3f1f7bae038dd878adcfde05db23ed251d"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "/home/opam/.opam/4.08/lib/ocaml-compiler-libs/bytecomp/ocaml-compiler-libs.bytecomp.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/ocaml-compiler-libs/common/ocaml-compiler-libs.common.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/ocaml-compiler-libs/shadow/ocaml-compiler-libs.shadow.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/ocaml-compiler-libs/toplevel/ocaml-compiler-libs.toplevel.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/ppx_derivers/ppx_derivers.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "_build/.dune/default/src/ppx/dune", line 11, characters 13-34:
11 |  (preprocess (pps ppxlib.metaquot))
                  ^^^^^^^^^^^^^^^^^^^^^
Warning: .merlin generated is inaccurate. Cannot mix preprocessed and non
preprocessed specifications.
Split the stanzas into different directories or silence this warning by
adding (allow_approximate_merlin) to your dune-project.
      ocamlc test/ppx/.main.eobjs/byte/dune__exe__Main.{cmi,cmo,cmt}
File "test/ppx/main.ml", line 9, characters 0-46:
9 | let%lwt structure_let_result = Lwt.return_true
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 22: let%lwt should not be used at the module item level.
Replace let%lwt x = e by let x = Lwt_main.run (e)
    ocamlopt test/ppx/.main.eobjs/native/dune__exe__Main.{cmx,o}
File "test/ppx/main.ml", line 9, characters 0-46:
9 | let%lwt structure_let_result = Lwt.return_true
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 22: let%lwt should not be used at the module item level.
Replace let%lwt x = e by let x = Lwt_main.run (e)
        main alias test/retry/runtest
Testing library 'retry'...
..............
Ok. 14 tests ran, 0 tests skipped in 0.01 seconds
        main alias test/core/runtest
Testing library 'core'...
...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................SSSSSSSSSSSSSSSSSSSSSSS..................................................................................................................................................
Ok. 705 tests ran, 23 tests skipped in 0.14 seconds
        main alias test/ppx/runtest
Testing library 'ppx'...
.................
Ok. 17 tests ran, 0 tests skipped in 1.20 seconds
        main alias test/react/runtest
Testing library 'react'...
...........
Ok. 11 tests ran, 0 tests skipped in 4.50 seconds
        main alias test/unix/runtest
Testing library 'unix'...
.....................................SSSSS..............................................................................................................SSSS...................................................................................
Ok. 230 tests ran, 9 tests skipped in 6.29 seconds
2026-01-15 14:27.15 ---> saved as "0392abc5587baf3668da2f20a298462cde0920c20b9e9dede171239cb07e9f8c"
Job succeeded
2026-01-15 14:27.15: Job succeeded