Organisationsocsigenlwt7c8c1f (backport-fixes-from-recent-releases)(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2025-03-07 09:48.05: New job: test ocsigen/lwt https://github.com/ocsigen/lwt.git#refs/pull/1053/head (7c8c1f18b095603472d356add4fc3a9b154b53a5) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.08@sha256:cb36ada8bb596f67e8e27c6261b722b395133d8890bdee127859b7e4173d7ac0
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocsigen/lwt.git" && cd "lwt" && git fetch origin "refs/pull/1053/head" && git reset --hard 7c8c1f18
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.08@sha256:cb36ada8bb596f67e8e27c6261b722b395133d8890bdee127859b7e4173d7ac0
# debian-12-4.08_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 5c627de42309bb6474331d403efeb6d68d617b1e || git fetch origin master) && git reset -q --hard 5c627de42309bb6474331d403efeb6d68d617b1e && 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 bisect_ppx.2.6.0 cmdliner.1.0.3 conf-m4.1 cppo.1.6.1 dune.2.7.0 dune-configurator.2.3.0 dune-private-libs.2.3.0 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.1.0 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocplib-endian.1.0 ppx_derivers.1.0 ppx_let.v0.13.0 ppxlib.0.21.0 react.1.0.0 sexplib0.v0.13.0 stdlib-shims.0.1.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --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


2025-03-07 09:48.05: Using cache hint "ocsigen/lwt-ocaml/opam:debian-12-ocaml-4.08@sha256:cb36ada8bb596f67e8e27c6261b722b395133d8890bdee127859b7e4173d7ac0-debian-12-4.08_opam-2.3-4688f9d2b782b7e016995aa06a267220"
2025-03-07 09:48.05: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.08@sha256:cb36ada8bb596f67e8e27c6261b722b395133d8890bdee127859b7e4173d7ac0)
(comment debian-12-4.08_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 5c627de42309bb6474331d403efeb6d68d617b1e || git fetch origin master) && git reset -q --hard 5c627de42309bb6474331d403efeb6d68d617b1e && 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 bisect_ppx.2.6.0 cmdliner.1.0.3 conf-m4.1 cppo.1.6.1 dune.2.7.0 dune-configurator.2.3.0 dune-private-libs.2.3.0 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.1.0 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocplib-endian.1.0 ppx_derivers.1.0 ppx_let.v0.13.0 ppxlib.0.21.0 react.1.0.0 sexplib0.v0.13.0 stdlib-shims.0.1.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 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"))
)


2025-03-07 09:48.05: Waiting for resource in pool OCluster
2025-03-07 09:48.05: Waiting for worker…
2025-03-07 09:49.15: Got resource from pool OCluster
Building on x86-bm-c3.sw.ocaml.org
All commits already cached
HEAD is now at 7c8c1f18b dune-project fixes from 5.[89].1


(from ocaml/opam:debian-12-ocaml-4.08@sha256:cb36ada8bb596f67e8e27c6261b722b395133d8890bdee127859b7e4173d7ac0)
2025-03-07 09:49.15 ---> using "00aea64e10ae0c7539e49349e74a22e5b31f7345320d1fcee09b4272923b54dc" from cache


/: (comment debian-12-4.08_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-03-07 09:49.15 ---> using "229e44f3b41c7086a87ae48f68c67da76c2a17586fe15dbfda5ccf56e700b927" 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
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-03-07 09:49.15 ---> using "812b2b535bf09bb2c68f0a0a097829d30a5de57533dba14764f46f36956c7809" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.08.1
2.3.0
2025-03-07 09:49.15 ---> using "2f4922b6a969a5ced9e88ae07db0e5cdc960cfe1e83f49de7d5c6bc7d4ee7486" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-03-07 09:49.15 ---> using "fa91da463e70bbd8de4df63bd10e0a8de8b24fc34173c9eb4724630e9daf66b8" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 5c627de42309bb6474331d403efeb6d68d617b1e || git fetch origin master) && git reset -q --hard 5c627de42309bb6474331d403efeb6d68d617b1e && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
94514fa0d0..862a7640b1  master     -> origin/master
5c627de423 Merge pull request #27523 from hannesm/re-add-base-ocamlbuild


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from 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, 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-03-07 09:49.46 ---> saved as "1d5c027e9c6ef3f44b9fc67859dfe56c03242b644f95dbf8e5f8847075fcfd59"


/src: (copy (src lwt_retry.opam lwt_react.opam lwt_ppx.opam lwt.opam)
(dst ./))
2025-03-07 09:49.46 ---> saved as "824c84eae04f65530bbf24e6d4b23ebd2ce9dfad62e4f45a62bf17f8b59f0d20"


/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)
2025-03-07 09:49.57 ---> saved as "6e2237b7696d800c0125848450a7f37d7bb73ac54a0dd5d4bfaaf7d22dcbfe01"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-03-07 09:49.57 ---> saved as "c42751c37481d00de772cc433ac4e95cbaa66bc66ee00316ae0be15ba67e1d5c"


/src: (env DEPS "base.v0.13.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base bisect_ppx.2.6.0 cmdliner.1.0.3 conf-m4.1 cppo.1.6.1 dune.2.7.0 dune-configurator.2.3.0 dune-private-libs.2.3.0 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.1.0 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocplib-endian.1.0 ppx_derivers.1.0 ppx_let.v0.13.0 ppxlib.0.21.0 react.1.0.0 sexplib0.v0.13.0 stdlib-shims.0.1.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 lwt_retry.dev lwt_react.dev lwt_ppx.dev lwt.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [246 kB]
- Fetched 349 kB in 0s (956 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"
- debconf: delaying package configuration, since apt-utils is not installed
- 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 ... 18745 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-3_amd64.deb ...
- Unpacking m4 (1.4.19-3) ...
- Setting up m4 (1.4.19-3) ...
2025-03-07 09:50.26 ---> saved as "c44622339677d6e5bf5c706397d7a7ed4ce8f102b133f84e41d50eb487470356"


/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 21 packages
- install base                    v0.13.0
- install base-bytes              base
- install bisect_ppx              2.6.0
- install cmdliner                1.0.3
- install conf-m4                 1
- install cppo                    1.6.1
- install dune                    2.7.0
- install dune-configurator       2.3.0
- install dune-private-libs       2.3.0
- install jbuilder                1.0+beta20.1 (deprecated)
- install ocaml-compiler-libs     v0.11.0
- install ocaml-migrate-parsetree 2.1.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.21.0
- install react                   1.0.0
- install sexplib0                v0.13.0
- install stdlib-shims            0.1.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.1.0.3  (cached)
-> retrieved cppo.1.6.1  (cached)
-> installed conf-m4.1
-> retrieved base.v0.13.0  (https://ocaml.janestreet.com/ocaml-core/v0.13/files/base-v0.13.0.tar.gz)
-> retrieved dune.2.7.0  (cached)
-> retrieved dune-configurator.2.3.0, dune-private-libs.2.3.0  (cached)
-> retrieved jbuilder.1.0+beta20.1  (cached)
-> retrieved bisect_ppx.2.6.0  (https://github.com/aantron/bisect_ppx/archive/2.6.0.tar.gz)
-> retrieved ocaml-compiler-libs.v0.11.0  (cached)
-> retrieved ocaml-migrate-parsetree.2.1.0  (cached)
-> retrieved ocamlbuild.0.14.0  (cached)
-> retrieved ocamlfind.1.8.0  (cached)
-> installed cmdliner.1.0.3
-> retrieved ocplib-endian.1.0  (cached)
-> retrieved ppx_derivers.1.0  (cached)
-> retrieved ppx_let.v0.13.0  (https://ocaml.janestreet.com/ocaml-core/v0.13/files/ppx_let-v0.13.0.tar.gz)
-> retrieved sexplib0.v0.13.0  (cached)
-> retrieved stdlib-shims.0.1.0  (cached)
-> retrieved react.1.0.0  (http://erratique.ch/software/react/releases/react-1.0.0.tbz)
-> retrieved ppxlib.0.21.0  (https://github.com/ocaml-ppx/ppxlib/releases/download/0.21.0/ppxlib-0.21.0.tbz)
-> installed ocamlfind.1.8.0
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed react.1.0.0
-> installed dune.2.7.0
-> 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.1.0
-> installed dune-private-libs.2.3.0
-> installed dune-configurator.2.3.0
-> installed ocplib-endian.1.0
-> installed base.v0.13.0
-> installed ppxlib.0.21.0
-> installed ppx_let.v0.13.0
-> installed bisect_ppx.2.6.0
Done.


<><> ocaml-migrate-parsetree.2.1.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)
2025-03-07 09:51.45 ---> saved as "a1a044b8d1a4a41d7bfdae1393a50b25df8fbaade5e26de3cc970c04a53c2821"


/src: (copy (src .) (dst /src))
2025-03-07 09:51.45 ---> saved as "6a2acc83fcacc1b3dcd28ddc8d96c3883919f56f47627185a1c6e1f7176d487c"


/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.
main alias test/retry/runtest
Testing library 'retry'...
..............
Ok. 14 tests ran, 0 tests skipped in 0.01 seconds
main alias test/ppx/runtest
Testing library 'ppx'...
................
Ok. 16 tests ran, 0 tests skipped in 1.20 seconds
main alias test/core/runtest
Testing library 'core'...
...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................SSSSSSSSSSSSSSSSSSSSSSS..................................................................................................................................................
Ok. 705 tests ran, 23 tests skipped in 0.38 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'...
.....................................SS..SSS....................................................................................................................SSSS...........................................................................
Ok. 230 tests ran, 9 tests skipped in 6.33 seconds
2025-03-07 09:51.57 ---> saved as "045ee6e3344e1ada34b4566ce44321737e156a22be7dec09f6f29a372e5a51a2"
Job succeeded
2025-03-07 09:51.58: Job succeeded