2025-06-04 14:42.42: New job: test ocsigen/lwt https://github.com/ocsigen/lwt.git#refs/heads/domains (9f3917e931a1c4332a4393e04ea5081972635684) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.08@sha256:48fa4a7216c3973bb95572cf5dca98cbbcefe90f288f552e7ac70a8ccd438aa7
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocsigen/lwt.git" -b "domains" && cd "lwt" && git reset --hard 9f3917e9
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.08@sha256:48fa4a7216c3973bb95572cf5dca98cbbcefe90f288f552e7ac70a8ccd438aa7
# 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 c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 || git fetch origin master) && git reset -q --hard c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 && 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-06-04 14:42.42: Using cache hint "ocsigen/lwt-ocaml/opam:debian-12-ocaml-4.08@sha256:48fa4a7216c3973bb95572cf5dca98cbbcefe90f288f552e7ac70a8ccd438aa7-debian-12-4.08_opam-2.3-4688f9d2b782b7e016995aa06a267220"
2025-06-04 14:42.42: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.08@sha256:48fa4a7216c3973bb95572cf5dca98cbbcefe90f288f552e7ac70a8ccd438aa7)
(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 c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 || git fetch origin master) && git reset -q --hard c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 && 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-06-04 14:42.42: Waiting for resource in pool OCluster
2025-06-04 14:42.42: Waiting for worker…
2025-06-04 14:42.42: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
HEAD is now at 9f3917e93 WIP
(from ocaml/opam:debian-12-ocaml-4.08@sha256:48fa4a7216c3973bb95572cf5dca98cbbcefe90f288f552e7ac70a8ccd438aa7)
2025-06-04 14:42.44 ---> using "d1b97f3f32fc7cff4791d73e3fff398d19cc5b0541c709028ff05a921e22d2c8" 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-06-04 14:42.44 ---> using "252a7fccff4a04534e7678f99648f936030516efe1d086ecbac29219212e3fdc" 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
[NOTE] The 'jobs' option was reset, its value was 39 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=39 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-06-04 14:42.44 ---> using "07d2507753443e39db4311af058ef649e00f49fdd7db583b849fca416004669c" 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-06-04 14:42.44 ---> using "aa37332da28f8b7a081fb8fdfbe234755e3fa3ed79d08677ecac1ff024d05f2e" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-06-04 14:42.44 ---> using "47bcb9fdd26c4d6b24176b7653f9efad72225270ac7f6fdf758ae1e1ff905ad9" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 || git fetch origin master) && git reset -q --hard c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
0d013e603b..c037675bed master -> origin/master
c7d6d1d2aa Merge pull request #27880 from MisterDA/os-family-fedora
<><> 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, 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-06-04 14:42.44 ---> using "66ff02a54b840a023494b5595be748ab3cc7ba7ff65edf109a455c65b7c4cf12" from cache
/src: (copy (src lwt_retry.opam lwt_react.opam lwt_ppx.opam lwt.opam)
(dst ./))
2025-06-04 14:42.44 ---> saved as "b7db584eba85ded7e3d20ee1ff5f03ed0c67364b9b6eb2ae88a6a3852d989409"
/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-06-04 14:42.52 ---> saved as "45b724376e07f465ebc2016575a63d08b40a9fe663f33ef46428b0b13a0d84d2"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-04 14:42.52 ---> saved as "bf00c9a8bc8f405f0dec62f224390126a12aee5829d8e87536df5af056062a1a"
/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"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- 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 bookworm/main amd64 Packages [8793 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [265 kB]
- Fetched 9312 kB in 2s (3767 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 ... 18747 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-06-04 14:43.14 ---> saved as "cd689d19c90007cf6f45fb9c4333471452a32982e4be64e3eb17548b5f8b203f"
/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 base.v0.13.0 (cached)
-> retrieved bisect_ppx.2.6.0 (cached)
-> retrieved cppo.1.6.1 (cached)
-> installed conf-m4.1
-> retrieved jbuilder.1.0+beta20.1 (cached)
-> retrieved dune.2.7.0 (cached)
-> retrieved dune-configurator.2.3.0, dune-private-libs.2.3.0 (cached)
-> 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)
-> retrieved ocplib-endian.1.0 (cached)
-> retrieved ppx_derivers.1.0 (cached)
-> installed cmdliner.1.0.3
-> retrieved ppx_let.v0.13.0 (cached)
-> retrieved react.1.0.0 (cached)
-> retrieved ppxlib.0.21.0 (cached)
-> retrieved sexplib0.v0.13.0 (cached)
-> retrieved stdlib-shims.0.1.0 (cached)
-> installed ocamlfind.1.8.0
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed react.1.0.0
-> installed jbuilder.1.0+beta20.1
-> installed dune.2.7.0
-> installed ppx_derivers.1.0
-> installed ocaml-compiler-libs.v0.11.0
-> installed cppo.1.6.1
-> installed stdlib-shims.0.1.0
-> installed sexplib0.v0.13.0
-> 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-06-04 14:44.19 ---> saved as "203150d654bca5630e79988f4ab517f45c16d0eca0d89a2fe1e9de12d5be2eb0"
/src: (copy (src .) (dst /src))
2025-06-04 14:44.19 ---> saved as "e86b1b17b8637cc9578b2b9a16746cc2266244bdf81f6257e609f0a78281bcb4"
/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.
ocamlc src/core/.lwt.objs/byte/lwt.{cmi,cmti} (exit 2)
(cd _build/default && /home/opam/.opam/4.08/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 -g -bin-annot -I src/core/.lwt.objs/byte -no-alias-deps -opaque -o src/core/.lwt.objs/byte/lwt.cmi -c -intf src/core/lwt.mli)
File "src/core/lwt.mli", line 2068, characters 28-37:
2068 | val register_notification : Domain.id -> (unit -> unit) -> unit
^^^^^^^^^
Error: Unbound module Domain
ocamlmklib src/unix/dlllwt_unix_stubs.so,src/unix/liblwt_unix_stubs.a
Unknown option -fPIC
Unknown option -pthread
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-06-04 14:44.25: Job failed: Failed: Build failed