Organisationsocsigenlwtb2e742 (release-5-8-0)debian-12-4.10_opam-2.3

debian-12-4.10_opam-2.3

Link Copied
Code Copied

Logs

2024-12-19 06:16.33: New job: test ocsigen/lwt https://github.com/ocsigen/lwt.git#refs/heads/release-5-8-0 (b2e742bb09df9bdead90ddaae450886b74e8b11f) (linux-x86_64:debian-12-4.10_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.10@sha256:bca53c9021079f3169d2663826e24da3063b1bbf2f5af32c11ef43c43e315f07
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocsigen/lwt.git" -b "release-5-8-0" && cd "lwt" && git reset --hard b2e742bb
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.10@sha256:bca53c9021079f3169d2663826e24da3063b1bbf2f5af32c11ef43c43e315f07
# debian-12-4.10_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 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 || git fetch origin master) && git reset -q --hard 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 lwt_react.opam lwt_ppx_let.opam lwt_ppx.opam lwt.opam ./
RUN opam pin add -yn lwt_react.dev './' && \
opam pin add -yn lwt_ppx_let.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.15.1 base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.17.1 dune-configurator.3.17.1 ocaml.4.10.2 ocaml-base-compiler.4.10.2 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 ppx_derivers.1.2.1 ppx_here.v0.15.0 ppx_let.v0.15.0 ppxlib.0.33.0 react.1.2.2 sexplib0.v0.15.1 stdlib-shims.0.3.0 topkg.1.0.7"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y lwt_react.dev lwt_ppx_let.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


2024-12-19 06:16.33: Using cache hint "ocsigen/lwt-ocaml/opam:debian-12-ocaml-4.10@sha256:bca53c9021079f3169d2663826e24da3063b1bbf2f5af32c11ef43c43e315f07-debian-12-4.10_opam-2.3-ecd0be9b147abccab50b6379babee3c1"
2024-12-19 06:16.33: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.10@sha256:bca53c9021079f3169d2663826e24da3063b1bbf2f5af32c11ef43c43e315f07)
(comment debian-12-4.10_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 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 || git fetch origin master) && git reset -q --hard 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src lwt_react.opam lwt_ppx_let.opam lwt_ppx.opam lwt.opam) (dst ./))
(run (network host)
(shell  "opam pin add -yn lwt_react.dev './' && \
\nopam pin add -yn lwt_ppx_let.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.15.1 base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.17.1 dune-configurator.3.17.1 ocaml.4.10.2 ocaml-base-compiler.4.10.2 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 ppx_derivers.1.2.1 ppx_here.v0.15.0 ppx_let.v0.15.0 ppxlib.0.33.0 react.1.2.2 sexplib0.v0.15.1 stdlib-shims.0.3.0 topkg.1.0.7")
(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_react.dev lwt_ppx_let.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"))
)


2024-12-19 06:16.33: Waiting for resource in pool OCluster
2024-12-19 08:28.49: Waiting for worker…
2024-12-19 08:32.27: Got resource from pool OCluster
Building on x86-bm-c3.sw.ocaml.org
All commits already cached
HEAD is now at b2e742bb0 Update src/unix/lwt_unix.h


(from ocaml/opam:debian-12-ocaml-4.10@sha256:bca53c9021079f3169d2663826e24da3063b1bbf2f5af32c11ef43c43e315f07)
2024-12-19 08:32.28 ---> using "6c3bca4e0cc7ab1059410892bcb4ec9b153df86bb05848b6bf7b26fa4358c296" from cache


/: (comment debian-12-4.10_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"))
2024-12-19 08:32.28 ---> using "a819a74a41f0f510971ea683f5a263e548d4d9fa45a6fc21bb4b84bd6911c51b" 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
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-12-19 08:32.28 ---> using "2b07b184a8c3969baf8edc37534c1324b223c75ee2eb00c82086fb8a7f8247eb" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-126-generic
The OCaml toplevel, version 4.10.2
2.3.0
2024-12-19 08:32.28 ---> using "48e1e0882f9d2dbd0adb773bd94d5b8669aa850ace726e74496c4db618a03294" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-12-19 08:32.28 ---> using "6ec753a722b51d29ada594422586d9ca021dd3a5b122a1c005d260aadd6fa6cb" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 || git fetch origin master) && git reset -q --hard 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
11bdbee611..95bfbde2be  master     -> origin/master
5c7ffb23c8 Merge pull request #27137 from maiste/release-dune-3.17.1


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[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)
2024-12-19 08:32.33 ---> saved as "b018193df5c09a0efb4ecf717f6e5c1616f1227ab608396eb651f67505aa68b4"


/src: (copy (src lwt_react.opam lwt_ppx_let.opam lwt_ppx.opam lwt.opam)
(dst ./))
2024-12-19 08:32.33 ---> saved as "35f155e8a86eb5fceef5fa3352d5f2772664570828ad8f345e83410f9f1eb5ed"


/src: (run (network host)
(shell  "opam pin add -yn lwt_react.dev './' && \
\nopam pin add -yn lwt_ppx_let.dev './' && \
\nopam pin add -yn lwt_ppx.dev './' && \
\nopam pin add -yn lwt.dev './'"))
[lwt_react.dev] synchronised (file:///src)
lwt_react is now pinned to file:///src (version dev)
[lwt_ppx_let.dev] synchronised (file:///src)
lwt_ppx_let 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)
2024-12-19 08:32.41 ---> saved as "5bf6938bb264754c5cdb525299b545248b3fb24c2fc748687b8e84d8450f28b0"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2024-12-19 08:32.41 ---> saved as "0ae6b27fc53c2d3f2586834f7acfdabf09a6c6951b41888d3a48e5d97926bc10"


/src: (env DEPS "base.v0.15.1 base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.17.1 dune-configurator.3.17.1 ocaml.4.10.2 ocaml-base-compiler.4.10.2 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 ppx_derivers.1.2.1 ppx_here.v0.15.0 ppx_let.v0.15.0 ppxlib.0.33.0 react.1.2.2 sexplib0.v0.15.1 stdlib-shims.0.3.0 topkg.1.0.7")


/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_react.dev lwt_ppx_let.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 bookworm-updates/main amd64 Packages.diff/Index [14.0 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-12-07-2012.31-F-2024-11-27-1405.46.pdiff [7410 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-12-07-2012.31-F-2024-11-27-1405.46.pdiff [7410 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [236 kB]
- Fetched 361 kB in 0s (1306 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[lwt.dev] synchronised (file:///src)
[lwt_ppx.dev] synchronised (file:///src)
[lwt_ppx_let.dev] synchronised (file:///src)
[lwt_react.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.10.2).
[NOTE] Package ocaml is already installed (current version is 4.10.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).
2024-12-19 08:33.03 ---> saved as "110c29f95cfd1f7ac64a44a6c0d2ebe1fabad13d4540de83a2916132d2230a93"


/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.10.2).
[NOTE] Package ocaml is already installed (current version is 4.10.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 18 packages
- install base                v0.15.1
- install base-bytes          base
- install cppo                1.8.0
- install csexp               1.5.2
- install dune                3.17.1
- install dune-configurator   3.17.1
- install ocaml-compiler-libs v0.12.4
- install ocamlbuild          0.15.0
- install ocamlfind           1.9.6
- install ocplib-endian       1.2
- install ppx_derivers        1.2.1
- install ppx_here            v0.15.0
- install ppx_let             v0.15.0
- install ppxlib              0.33.0
- install react               1.2.2
- install sexplib0            v0.15.1
- install stdlib-shims        0.3.0
- install topkg               1.0.7


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0  (cached)
-> retrieved base.v0.15.1  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_here.v0.15.0  (cached)
-> retrieved ppx_let.v0.15.0  (cached)
-> retrieved react.1.2.2  (cached)
-> retrieved sexplib0.v0.15.1  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved ppxlib.0.33.0  (cached)
-> retrieved dune.3.17.1, dune-configurator.3.17.1  (cached)
-> installed ocamlbuild.0.15.0
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed topkg.1.0.7
-> installed react.1.2.2
-> installed dune.3.17.1
-> 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.15.1
-> installed stdlib-shims.0.3.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.17.1
-> installed base.v0.15.1
-> installed ppxlib.0.33.0
-> installed ppx_here.v0.15.0
-> installed ppx_let.v0.15.0
Done.
# To update the current shell environment, run: eval $(opam env)
2024-12-19 08:35.02 ---> saved as "0798e0b915c9da5d533fbc43809e56a8726c07a58037590025d170b3fd3338d0"


/src: (copy (src .) (dst /src))
2024-12-19 08:35.03 ---> saved as "f0e3131c415c444585e41e44c6f4f00e40884ff902dc664ccb2eb6cf99115f4c"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/4.10/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 -warn-error -22 -g -bin-annot -I test/ppx/.main.eobjs/byte -I /home/opam/.opam/4.10/lib/bytes -I /home/opam/.opam/4.10/lib/ocaml/threads -I /home/opam/.opam/4.10/lib/ocplib-endian -I /home/opam/.opam/4.10/lib/ocplib-endian/bigstring -I src/core/.lwt.objs/byte -I src/unix/.lwt_unix.objs/byte -I test/.lwttester.objs/byte -no-alias-deps -opaque -o test/ppx/.main.eobjs/byte/main.cmo -c -impl test/ppx/main.pp.ml)
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)
(cd _build/default && /home/opam/.opam/4.10/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -warn-error -22 -g -I test/ppx/.main.eobjs/byte -I test/ppx/.main.eobjs/native -I /home/opam/.opam/4.10/lib/bytes -I /home/opam/.opam/4.10/lib/ocaml/threads -I /home/opam/.opam/4.10/lib/ocplib-endian -I /home/opam/.opam/4.10/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/main.cmx -c -impl test/ppx/main.pp.ml)
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)
(cd _build/default/test/core && ./main.exe)
Testing library 'core'...
.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................SSSSSSSSSSSSSSSSSSSSSSS..................................................................................................................................................
Ok. 703 tests ran, 23 tests skipped in 0.39 seconds
(cd _build/default/test/ppx && ./main.exe)
Testing library 'ppx'...
................
Ok. 16 tests ran, 0 tests skipped in 1.20 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'...
.....................................SSSSS...............................................................................................................SSSS...................................................................................
Ok. 231 tests ran, 9 tests skipped in 6.34 seconds
2024-12-19 08:35.17 ---> saved as "ee34d4023843bafdab742b681bee1cfba88e24a9badaba7e5334faf57470ad76"
Job succeeded
2024-12-19 08:35.18: Job succeeded