Organisationsocsigenlwtb890e7 ()debian-12-4.09_opam-2.1

debian-12-4.09_opam-2.1

Link Copied
Code Copied

Logs

2024-04-30 08:25.48: New job: test ocsigen/lwt https://github.com/ocsigen/lwt.git#refs/pull/951/head (b890e7dca03b5c7eecddabb5c04b1e7058394296) (linux-x86_64:debian-12-4.09_opam-2.1)
Base: ocaml/opam@sha256:fd688b3c141791c4fcd2c77f186f037a36655b5660cb1059f03021c8051942cb
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocsigen/lwt.git" && cd "lwt" && git fetch origin "refs/pull/951/head" && git reset --hard b890e7dc
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:fd688b3c141791c4fcd2c77f186f037a36655b5660cb1059f03021c8051942cb
# debian-12-4.09_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.1 /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 60c4208f49d0559b8988a754e13eb65bfc59b6f2 || git fetch origin master) && git reset -q --hard 60c4208f49d0559b8988a754e13eb65bfc59b6f2 && 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.14.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.6.9 csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 ppx_derivers.1.2.1 ppx_let.v0.14.0 ppxlib.0.32.1 react.1.2.2 sexplib0.v0.14.0 stdlib-shims.0.3.0 topkg.1.0.7"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --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-04-30 08:25.48: Using cache hint "ocsigen/lwt-ocaml/opam@sha256:fd688b3c141791c4fcd2c77f186f037a36655b5660cb1059f03021c8051942cb-debian-12-4.09_opam-2.1-ce42c8651a887e6c008d84a9983e098b"
2024-04-30 08:25.48: Using OBuilder spec:
((from ocaml/opam@sha256:fd688b3c141791c4fcd2c77f186f037a36655b5660cb1059f03021c8051942cb)
 (comment debian-12-4.09_opam-2.1)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.1 /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 60c4208f49d0559b8988a754e13eb65bfc59b6f2 || git fetch origin master) && git reset -q --hard 60c4208f49d0559b8988a754e13eb65bfc59b6f2 && 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.14.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.6.9 csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 ppx_derivers.1.2.1 ppx_let.v0.14.0 ppxlib.0.32.1 react.1.2.2 sexplib0.v0.14.0 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.1 --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-04-30 08:25.48: Waiting for resource in pool OCluster
2024-04-30 12:05.53: Waiting for worker…
2024-04-30 12:12.40: Got resource from pool OCluster
Building on x86-bm-c10.sw.ocaml.org
All commits already cached
HEAD is now at b890e7dca Add dependency to odoc


(from ocaml/opam@sha256:fd688b3c141791c4fcd2c77f186f037a36655b5660cb1059f03021c8051942cb)
2024-04-30 12:12.38 ---> saved as "acac52f5c4ab00c4a305d6686612add4400c376e9a7f88e5ad3c8653a6f62d84"


/: (comment debian-12-4.09_opam-2.1)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-04-30 12:12.38 ---> saved as "16d28cb3a08597617b220079f99af0d2ef1f0af5bd438f58f6071335625d5571"


/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.1, 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-04-30 12:14.12 ---> saved as "9696e307b31dd2f7ae2e4a486930855313e361ff60eebee188477357de79f921"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-105-generic
The OCaml toplevel, version 4.09.1
2.1.5
2024-04-30 12:14.13 ---> saved as "77b10282a58df79acf961ab5253d66263bd409007a469c7f52ac8744f2241c37"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-04-30 12:14.13 ---> saved as "ed09b3fc26f3b3c60f2053d37f0966fb7e88e4ce8eb2d1c2200a22fbb8939c9c"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 60c4208f49d0559b8988a754e13eb65bfc59b6f2 || git fetch origin master) && git reset -q --hard 60c4208f49d0559b8988a754e13eb65bfc59b6f2 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   4bb8cb8b65..12574112aa  master     -> origin/master
60c4208f49 Merge pull request #25714 from emillon/release-dune-3.15.2


<><> 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.
# Run eval $(opam env) to update the current shell environment
2024-04-30 12:15.32 ---> saved as "bc839ce56f897bab11b367ba1e2f1ff2457ae5458456101d356a547f9c0fe852"


/src: (copy (src lwt_react.opam lwt_ppx_let.opam lwt_ppx.opam lwt.opam)
            (dst ./))
2024-04-30 12:15.32 ---> saved as "e927bcfacf35d823a1a097ee343a1ac0fc732cf71c42faa3d02685a311b2d065"


/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-04-30 12:15.40 ---> saved as "0f9320f215efadd5bc3af1c31f3aee3c8ed7e6f6f8e3662af1cce7faec4467f8"


/src: (env DEPS "base.v0.14.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.6.9 csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 ppx_derivers.1.2.1 ppx_let.v0.14.0 ppxlib.0.32.1 react.1.2.2 sexplib0.v0.14.0 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.1 --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 [10.6 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-04-23-2036.10-F-2024-04-23-2036.10.pdiff [1595 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-04-23-2036.10-F-2024-04-23-2036.10.pdiff [1595 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [155 kB]
- Fetched 270 kB in 0s (948 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.09.1).
[NOTE] Package ocaml is already installed (current version is 4.09.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).
2024-04-30 12:16.00 ---> saved as "fcf2e5a3d89584d9c656815277a44951020914440b22b5f9d2f195d1b2763aa4"


/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.09.1).
[NOTE] Package ocaml is already installed (current version is 4.09.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 ocamlbuild          0.14.3
  - install ocamlfind           1.9.6
  - install dune                3.15.2
  - install topkg               1.0.7
  - install base-bytes          base
  - install stdlib-shims        0.3.0
  - install sexplib0            v0.14.0
  - install ppx_derivers        1.2.1
  - install ocaml-compiler-libs v0.12.4
  - install csexp               1.5.2
  - install cppo                1.6.9
  - install react               1.2.2
  - install ppxlib              0.32.1
  - install dune-configurator   3.15.2
  - install ocplib-endian       1.2
  - install base                v0.14.3
  - install ppx_let             v0.14.0
===== 17 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.6.9  (cached)
-> retrieved base.v0.14.3  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved dune.3.15.2  (cached)
-> retrieved dune-configurator.3.15.2  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_let.v0.14.0  (cached)
-> retrieved react.1.2.2  (cached)
-> retrieved sexplib0.v0.14.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved ppxlib.0.32.1  (cached)
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.7
-> installed react.1.2.2
-> installed dune.3.15.2
-> installed csexp.1.5.2
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.14.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed cppo.1.6.9
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.15.2
-> installed base.v0.14.3
-> installed ppxlib.0.32.1
-> installed ppx_let.v0.14.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-30 12:17.40 ---> saved as "b09999b15a29b30ed764706540faeefe6bf7b1c3eaaeb823b737592e7819c11a"


/src: (copy (src .) (dst /src))
2024-04-30 12:17.41 ---> saved as "072867b14df6e8b8249441525b983543d6978629279aee070ee0b373de545b4c"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/4.09/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.09/lib/bytes -I /home/opam/.opam/4.09/lib/ocaml/threads -I /home/opam/.opam/4.09/lib/ocplib-endian -I /home/opam/.opam/4.09/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.09/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.09/lib/bytes -I /home/opam/.opam/4.09/lib/ocaml/threads -I /home/opam/.opam/4.09/lib/ocplib-endian -I /home/opam/.opam/4.09/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. 702 tests ran, 23 tests skipped in 0.42 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'...
.................................................S........S.........SSS...........................................SS..........................................................................................................SS................
Ok. 231 tests ran, 9 tests skipped in 6.34 seconds
2024-04-30 12:17.55 ---> saved as "80440a63458eb02503afc4f20632f296aef1187c3d529844890e3a4fa0899753"
Job succeeded
2024-04-30 12:17.56: Job succeeded