Organisationsmiragemirage-channel7e6729 (main)(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2024-05-10 22:06.58: New job: test mirage/mirage-channel https://github.com/mirage/mirage-channel.git#refs/heads/main (7e6729e3e06de402526f7a27be18279e5449257f) (linux-x86_64:(lower-bound))
Base: ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/mirage-channel.git" -b "main" && cd "mirage-channel" && git reset --hard 7e6729e3
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b
# debian-12-4.07_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 819388d34cb9356eecd0223a468956daaae1705a || git fetch origin master) && git reset -q --hard 819388d34cb9356eecd0223a468956daaae1705a && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mirage-channel.opam ./
RUN opam pin add -yn mirage-channel.dev './'
ENV DEPS="alcotest.0.8.0 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.0.0 cmdliner.1.0.3 conf-m4.1 cppo.1.6.1 cstruct.6.0.0 dune.2.0.1 fmt.0.8.0 jbuilder.1.0+beta14 logs.0.6.2 lwt.4.0.0 mirage-clock.3.0.1 mirage-flow.2.0.1 mirage-flow-combinators.2.0.1 ocaml.4.07.1 ocaml-base-compiler.4.07.1 ocaml-config.1 ocamlbuild.0.9.1 ocamlfind.1.8.0 result.1.0 topkg.0.7.5"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y mirage-channel.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-05-10 22:06.58: Using cache hint "mirage/mirage-channel-ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b-debian-12-4.07_opam-2.1-437090217cef2f354d1d89599b7c4691"
2024-05-10 22:06.58: Using OBuilder spec:
((from ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b)
 (comment debian-12-4.07_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 819388d34cb9356eecd0223a468956daaae1705a || git fetch origin master) && git reset -q --hard 819388d34cb9356eecd0223a468956daaae1705a && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src mirage-channel.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn mirage-channel.dev './'"))
 (env DEPS "alcotest.0.8.0 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.0.0 cmdliner.1.0.3 conf-m4.1 cppo.1.6.1 cstruct.6.0.0 dune.2.0.1 fmt.0.8.0 jbuilder.1.0+beta14 logs.0.6.2 lwt.4.0.0 mirage-clock.3.0.1 mirage-flow.2.0.1 mirage-flow-combinators.2.0.1 ocaml.4.07.1 ocaml-base-compiler.4.07.1 ocaml-config.1 ocamlbuild.0.9.1 ocamlfind.1.8.0 result.1.0 topkg.0.7.5")
 (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 mirage-channel.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-05-10 22:06.58: Waiting for resource in pool OCluster
2024-05-11 12:44.26: Waiting for worker…
2024-05-11 12:49.51: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 7e6729e opam: use https in doc field


(from ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b)
Unable to find image 'ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b' locally
docker.io/ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b: Pulling from ocaml/opam
Digest: sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b
Status: Downloaded newer image for ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b
2024-05-11 12:49.51 ---> using "6ad54a8a0a996de05cd03ed30cbb4884566b39028d090d19101121413431a89f" from cache


/: (comment debian-12-4.07_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-05-11 12:49.51 ---> using "f0b7040ce20c0568672a3afcab01929fd18e2ee66f02faa8d94fd05399839280" 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.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-05-11 12:49.51 ---> using "1178bb4688e7e4718d4170c0ec783ce5396ae6f9cd4db4b0fb12bcb2662305da" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.07.1
2.1.5
2024-05-11 12:49.51 ---> using "507d1b06732f1eddefe9afcbbd3414d34576360b7497df3aa76bf615c5a885e5" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-05-11 12:49.51 ---> using "b88e937d6c36e43c713a83fbd5f0a1b9c25ffbb55d9e0cc753e256236a40f949" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 819388d34cb9356eecd0223a468956daaae1705a || git fetch origin master) && git reset -q --hard 819388d34cb9356eecd0223a468956daaae1705a && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   6a2ad82c27..2ae169d7d0  master     -> origin/master
819388d34c @dra27 maintains the OCaml Museum


<><> 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-05-11 12:49.51 ---> using "3f8fe4bb9daf2f46667018536d3a20db07a060c5ab106ce7ef961fce70d61a07" from cache


/src: (copy (src mirage-channel.opam) (dst ./))
2024-05-11 12:49.52 ---> saved as "3e6f4179486a344c432f68539c1094bd1ad1cb0aa133589a11ec7e17d3ec8b52"


/src: (run (network host)
           (shell "opam pin add -yn mirage-channel.dev './'"))
[mirage-channel.dev] synchronised (file:///src)
mirage-channel is now pinned to file:///src (version dev)
2024-05-11 12:49.54 ---> saved as "da44a2ca4dc611a0f3ff57a58f6828933235915da263257439618a32903c6548"


/src: (env DEPS "alcotest.0.8.0 astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.0.0 cmdliner.1.0.3 conf-m4.1 cppo.1.6.1 cstruct.6.0.0 dune.2.0.1 fmt.0.8.0 jbuilder.1.0+beta14 logs.0.6.2 lwt.4.0.0 mirage-clock.3.0.1 mirage-flow.2.0.1 mirage-flow-combinators.2.0.1 ocaml.4.07.1 ocaml-base-compiler.4.07.1 ocaml-config.1 ocamlbuild.0.9.1 ocamlfind.1.8.0 result.1.0 topkg.0.7.5")


/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 mirage-channel.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 271 kB in 0s (866 kB/s)
- Reading package lists...


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-channel.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.07.1).
[NOTE] Package ocaml is already installed (current version is 4.07.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-05-11 12:50.08 ---> saved as "b771a5a4e18c177374dc74eff4dd3bce07116291b9a53b71d43a2d38c8566e3e"


/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.07.1).
[NOTE] Package ocaml is already installed (current version is 4.07.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 cmdliner                1.0.3
  - install dune                    2.0.1
  - install ocamlbuild              0.9.1
  - install conf-m4                 1
  - install result                  1.0
  - install mirage-clock            3.0.1
  - install bigarray-compat         1.0.0
  - install ocamlfind               1.8.0
  - install cstruct                 6.0.0
  - install topkg                   0.7.5
  - install jbuilder                1.0+beta14
  - install base-bytes              base
  - install fmt                     0.8.0
  - install cppo                    1.6.1
  - install astring                 0.8.2
  - install lwt                     4.0.0       For the PPX, please install package lwt_ppx
                                                For Lwt_log and Lwt_daemon, please install package lwt_log
  - install alcotest                0.8.0
  - install mirage-flow             2.0.1
  - install logs                    0.6.2
  - install mirage-flow-combinators 2.0.1
===== 20 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.0.8.0  (cached)
-> retrieved astring.0.8.2  (cached)
-> retrieved bigarray-compat.1.0.0  (cached)
-> retrieved cmdliner.1.0.3  (cached)
-> retrieved cppo.1.6.1  (cached)
-> installed conf-m4.1
-> retrieved cstruct.6.0.0  (cached)
-> retrieved fmt.0.8.0  (cached)
-> retrieved logs.0.6.2  (cached)
-> retrieved lwt.4.0.0  (cached)
-> retrieved jbuilder.1.0+beta14  (cached)
-> retrieved mirage-clock.3.0.1  (cached)
-> retrieved mirage-flow.2.0.1  (cached)
-> retrieved mirage-flow-combinators.2.0.1  (cached)
-> retrieved ocamlbuild.0.9.1  (cached)
-> retrieved ocamlfind.1.8.0  (cached)
-> retrieved result.1.0  (cached)
-> retrieved dune.2.0.1  (cached)
-> retrieved topkg.0.7.5  (cached)
-> installed result.1.0
-> installed cmdliner.1.0.3
-> installed ocamlfind.1.8.0
-> installed base-bytes.base
-> installed ocamlbuild.0.9.1
-> installed topkg.0.7.5
-> installed jbuilder.1.0+beta14
-> installed fmt.0.8.0
-> installed cppo.1.6.1
-> installed astring.0.8.2
-> installed alcotest.0.8.0
-> installed lwt.4.0.0
-> installed dune.2.0.1
-> installed mirage-clock.3.0.1
-> installed bigarray-compat.1.0.0
-> installed logs.0.6.2
-> installed cstruct.6.0.0
-> installed mirage-flow.2.0.1
-> installed mirage-flow-combinators.2.0.1
Done.


<><> lwt.4.0.0 installed successfully <><><><><><><><><><><><><><><><><><><><><>
=> Lwt 4.0.0 has made some breaking changes. See
     https://github.com/ocsigen/lwt/issues/453
# Run eval $(opam env) to update the current shell environment
2024-05-11 12:50.41 ---> saved as "b2fbc470a35b553a909e2c96bdd7de4816f98908b0a7b888f36ba987426df8af"


/src: (copy (src .) (dst /src))
2024-05-11 12:50.43 ---> saved as "32c3c52ffcb862a89d1fccfb997a2fbac0bab0dc9ca9887ae68faa9ea5d8bb73"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
      ocamlc test/.test.eobjs/byte/test_channel.{cmi,cmo,cmt} (exit 2)
(cd _build/default && /home/opam/.opam/4.07/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 test/.test.eobjs/byte -I /home/opam/.opam/4.07/lib/alcotest -I /home/opam/.opam/4.07/lib/astring -I /home/opam/.opam/4.07/lib/bigarray-compat -I /home/opam/.opam/4.07/lib/bytes -I /home/opam/.opam/4.07/lib/cmdliner -I /home/opam/.opam/4.07/lib/cstruct -I /home/opam/.opam/4.07/lib/fmt -I /home/opam/.opam/4.07/lib/logs -I /home/opam/.opam/4.07/lib/lwt -I /home/opam/.opam/4.07/lib/lwt/unix -I /home/opam/.opam/4.07/lib/mirage-clock -I /home/opam/.opam/4.07/lib/mirage-flow -I /home/opam/.opam/4.07/lib/mirage-flow-combinators -I /home/opam/.opam/4.07/lib/ocaml/threads -I /home/opam/.opam/4.07/lib/result -I src/.mirage_channel.objs/byte -I src/.mirage_channel.objs/native -no-alias-deps -opaque -o test/.test.eobjs/byte/test_channel.cmo -c -impl test/test_channel.ml)
File "test/test_channel.ml", line 5, characters 15-23:
Error: Unbound value Fmt.kstr
Hint: Did you mean kstrf?
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-05-11 12:50.45: Job failed: Failed: Build failed