Organisationsocsigenlwtb8a722 ()(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2024-09-16 09:54.54: New job: test ocsigen/lwt https://github.com/ocsigen/lwt.git#refs/pull/967/head (b8a722f9324598f802020ebd4985ce5c7d230f60) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.08@sha256:a60973c97afac839997bb54c4ecba4df5c7f5d791a13b7c8a2c2ffeb5bb93876
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocsigen/lwt.git" && cd "lwt" && git fetch origin "refs/pull/967/head" && git reset --hard b8a722f9
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.08@sha256:a60973c97afac839997bb54c4ecba4df5c7f5d791a13b7c8a2c2ffeb5bb93876
# debian-12-4.08_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.2 /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 4795e0895b44aa27b6ee67583148aee756966a60 || git fetch origin master) && git reset -q --hard 4795e0895b44aa27b6ee67583148aee756966a60 && 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 './'
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.0.1 dune-configurator.2.0.1 dune-private-libs.2.0.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.16.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.2 --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-09-16 09:54.54: Using cache hint "ocsigen/lwt-ocaml/opam:debian-12-ocaml-4.08@sha256:a60973c97afac839997bb54c4ecba4df5c7f5d791a13b7c8a2c2ffeb5bb93876-debian-12-4.08_opam-2.2-a2009c781a578a9f72004e58fe9b242d"
2024-09-16 09:54.54: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.08@sha256:a60973c97afac839997bb54c4ecba4df5c7f5d791a13b7c8a2c2ffeb5bb93876)
 (comment debian-12-4.08_opam-2.2)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.2 /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 4795e0895b44aa27b6ee67583148aee756966a60 || git fetch origin master) && git reset -q --hard 4795e0895b44aa27b6ee67583148aee756966a60 && 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 './'"))
 (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.0.1 dune-configurator.2.0.1 dune-private-libs.2.0.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.16.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.2 --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-09-16 09:54.54: Waiting for resource in pool OCluster
2024-09-16 09:54.54: Waiting for worker…
2024-09-16 09:54.56: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at b8a722f93 copy extern definition to work around upstream issue


(from ocaml/opam:debian-12-ocaml-4.08@sha256:a60973c97afac839997bb54c4ecba4df5c7f5d791a13b7c8a2c2ffeb5bb93876)
2024-09-16 09:54.58 ---> using "795ea015d299f5fe2e67a6928f72c9fae6e91f93f53f3942c8f19a23ae6518ba" from cache


/: (comment debian-12-4.08_opam-2.2)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-09-16 09:54.58 ---> using "15a66a3094f92e52bb9c321cf34763612eebaaa98d33382208479d296782ad5c" 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] synchronised from file:///home/opam/opam-repository
2024-09-16 09:54.58 ---> using "39dee6d797da9a8095e9b2c1e1fe64a6a5eaae521820c3189bde12b9ed26352d" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-121-generic
The OCaml toplevel, version 4.08.1
2.2.1
2024-09-16 09:54.58 ---> using "bdf8629048e37471ad993f55ecc5029ab620bc7e8d483e8a5d16c96402998106" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-09-16 09:54.58 ---> using "aec4b3fab9b8803476667d7b7cea889920959b7451543eb53bf5e26d22eeeb4d" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 4795e0895b44aa27b6ee67583148aee756966a60 || git fetch origin master) && git reset -q --hard 4795e0895b44aa27b6ee67583148aee756966a60 && git log --no-decorate -n1 --oneline && opam update -u"))
4795e0895b Merge pull request #26339 from mtelvers/macos-m4


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository


The following actions will be performed:
=== downgrade 1 package
  - downgrade opam-depext 1.2.3 to 1.2.1-1 [no longer available]


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-depext.1.2.1-1  (cached)
-> removed   opam-depext.1.2.3
-> installed opam-depext.1.2.1-1
Done.


<><> opam-depext.1.2.1-1 installed successfully <><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# Run eval $(opam env) to update the current shell environment
2024-09-16 09:54.58 ---> using "ad9e80a70eb234f4b74221a418b2ecbc55824b631544d940dd5870938fba65f1" from cache


/src: (copy (src lwt_react.opam lwt_ppx_let.opam lwt_ppx.opam lwt.opam)
            (dst ./))
2024-09-16 09:54.58 ---> using "0a065b8faf9b2ac97618869eb86a61892bcad3a16dc279a2244c7178b23368ad" from cache


/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-09-16 09:54.58 ---> using "d765b759996fa0d86fe78b605560ca184ba70b4af30b20ec3b058c184da31ad4" from cache


/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.0.1 dune-configurator.2.0.1 dune-private-libs.2.0.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.16.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.2 --depext-only -y lwt_react.dev lwt_ppx_let.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 [8787 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index [11.7 kB]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [181 kB]
- Get:7 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1116 B]
- Get:7 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1116 B]
- Fetched 9235 kB in 1s (6671 kB/s)
- Reading package lists...


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[lwt.dev] synchronised (no changes)
[lwt_ppx.dev] synchronised (no changes)
[lwt_ppx_let.dev] synchronised (no changes)
[lwt_react.dev] synchronised (no changes)


[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


2024-09-16 09:54.58 ---> using "53fc98d2750668140b352d40bdbb0c069739c2f86932adbc12981536b52d4726" from cache


/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 19 packages
  - install base                    v0.13.0
  - install base-bytes              base
  - install conf-m4                 1
  - install cppo                    1.6.1
  - install dune                    2.0.1
  - install dune-configurator       2.0.1
  - install dune-private-libs       2.0.1
  - install jbuilder                1.0+beta20.1
  - 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.16.0
  - install react                   1.0.0
  - install sexplib0                v0.13.0
  - install stdlib-shims            0.1.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> 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 cppo.1.6.1  (https://github.com/mjambon/cppo/archive/v1.6.1.tar.gz)
-> retrieved ocaml-compiler-libs.v0.11.0  (https://ocaml.janestreet.com/ocaml-core/v0.11/files/ocaml-compiler-libs-v0.11.0.tar.gz)
-> retrieved dune.2.0.1, dune-configurator.2.0.1, dune-private-libs.2.0.1  (https://github.com/ocaml/dune/releases/download/2.0.1/dune-2.0.1.tbz)
-> retrieved ocamlbuild.0.14.0  (https://github.com/ocaml/ocamlbuild/archive/0.14.0.tar.gz)
-> retrieved jbuilder.1.0+beta20.1  (https://github.com/ocaml/dune/releases/download/1.0%2Bbeta20.1/jbuilder-1.0+beta20.1.tbz)
-> retrieved ocaml-migrate-parsetree.2.0.0  (https://github.com/ocaml-ppx/ocaml-migrate-parsetree/releases/download/v2.0.0/ocaml-migrate-parsetree-v2.0.0.tbz)
-> retrieved ocplib-endian.1.0  (https://github.com/OCamlPro/ocplib-endian/archive/1.0.tar.gz)
-> retrieved ppx_let.v0.13.0  (https://ocaml.janestreet.com/ocaml-core/v0.13/files/ppx_let-v0.13.0.tar.gz)
-> retrieved ppx_derivers.1.0  (https://github.com/ocaml-ppx/ppx_derivers/archive/1.0.tar.gz)
-> retrieved react.1.0.0  (http://erratique.ch/software/react/releases/react-1.0.0.tbz)
-> retrieved sexplib0.v0.13.0  (https://ocaml.janestreet.com/ocaml-core/v0.13/files/sexplib0-v0.13.0.tar.gz)
-> retrieved ocamlfind.1.8.0  (http://download.camlcity.org/download/findlib-1.8.0.tar.gz)
-> retrieved ppxlib.0.16.0  (https://github.com/ocaml-ppx/ppxlib/releases/download/0.16.0/ppxlib-0.16.0.tbz)
-> retrieved stdlib-shims.0.1.0  (https://github.com/ocaml/stdlib-shims/releases/download/0.1.0/stdlib-shims-0.1.0.tbz)
-> 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 ppx_derivers.1.0
-> installed cppo.1.6.1
-> installed ocaml-compiler-libs.v0.11.0
-> installed dune.2.0.1
-> installed stdlib-shims.0.1.0
-> installed sexplib0.v0.13.0
-> installed ocaml-migrate-parsetree.2.0.0
-> installed ocplib-endian.1.0
-> installed dune-private-libs.2.0.1
-> installed dune-configurator.2.0.1
-> installed base.v0.13.0
-> installed ppxlib.0.16.0
-> installed ppx_let.v0.13.0
Done.


<><> ocaml-migrate-parsetree.2.0.0 installed successfully <><><><><><><><><><><>
=> Note: This package is deprecated.
# Run eval $(opam env) to update the current shell environment
2024-09-16 09:54.58 ---> using "6918d0394d3d0b4d90aa5f31b619232f1c7966ddb2bca89e35651527653fa18b" from cache


/src: (copy (src .) (dst /src))
2024-09-16 09:54.58 ---> saved as "59b3308bb5cdf34307597fcec60549f7301760341d0b01674b415ae4645f4e9f"


/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 test/ppx/.main.eobjs/byte/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/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/core/runtest
Testing library 'core'...
.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................SSSSSSSSSSSSSSSSSSSSSSS..................................................................................................................................................
Ok. 703 tests ran, 23 tests skipped in 0.14 seconds
        main alias test/ppx/runtest
Testing library 'ppx'...
................
Ok. 16 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. 234 tests ran, 9 tests skipped in 6.34 seconds
2024-09-16 09:55.08 ---> saved as "cba565bf23a4a3688ce622e97ccf9d1ad7869091e3827fb6f6077f5bc63eae42"
Job succeeded
2024-09-16 09:55.08: Job succeeded