2024-04-30 08:49.29: New job: test mirage/mirage-stack https://github.com/mirage/mirage-stack.git#refs/heads/main (2d0fe8f5a198e04415eafd6496d5719f0a610e7e) (linux-x86_64:debian-12-4.14_opam-2.1)
Base: ocaml/opam@sha256:7299e34125e8e87f4e3ae8546b0b53671f057a8aef5fbac9ecb58b75acb37b76
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/mirage-stack.git" -b "main" && cd "mirage-stack" && git reset --hard 2d0fe8f5
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:7299e34125e8e87f4e3ae8546b0b53671f057a8aef5fbac9ecb58b75acb37b76
# debian-12-4.14_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 042d5efee9551e35990b2e8d849a354d082857d1 || git fetch origin master) && git reset -q --hard 042d5efee9551e35990b2e8d849a354d082857d1 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mirage-stack.opam ./
RUN opam pin add -yn mirage-stack.dev './'
ENV DEPS="arp.3.1.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.2.0 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 domain-name.0.4.0 dune.3.15.2 dune-configurator.3.15.2 duration.0.2.1 ethernet.3.2.0 fmt.0.9.0 ipaddr.5.5.0 ipaddr-cstruct.5.5.0 logs.0.7.0 lru.0.3.1 lwt.5.7.0 lwt-dllist.1.0.1 macaddr.5.5.0 macaddr-cstruct.5.5.0 metrics.0.4.1 mirage-clock.4.2.0 mirage-flow.4.0.2 mirage-net.4.0.0 mirage-random.3.0.0 mirage-time.3.0.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 psq.0.2.1 randomconv.0.1.3 seq.base tcpip.8.0.1 topkg.1.0.7"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y mirage-stack.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:49.29: Using cache hint "mirage/mirage-stack-ocaml/opam@sha256:7299e34125e8e87f4e3ae8546b0b53671f057a8aef5fbac9ecb58b75acb37b76-debian-12-4.14_opam-2.1-94ac8c2056a928eacfe80a83682d23f5"
2024-04-30 08:49.29: Using OBuilder spec:
((from ocaml/opam@sha256:7299e34125e8e87f4e3ae8546b0b53671f057a8aef5fbac9ecb58b75acb37b76)
(comment debian-12-4.14_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 042d5efee9551e35990b2e8d849a354d082857d1 || git fetch origin master) && git reset -q --hard 042d5efee9551e35990b2e8d849a354d082857d1 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src mirage-stack.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn mirage-stack.dev './'"))
(env DEPS "arp.3.1.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.2.0 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 domain-name.0.4.0 dune.3.15.2 dune-configurator.3.15.2 duration.0.2.1 ethernet.3.2.0 fmt.0.9.0 ipaddr.5.5.0 ipaddr-cstruct.5.5.0 logs.0.7.0 lru.0.3.1 lwt.5.7.0 lwt-dllist.1.0.1 macaddr.5.5.0 macaddr-cstruct.5.5.0 metrics.0.4.1 mirage-clock.4.2.0 mirage-flow.4.0.2 mirage-net.4.0.0 mirage-random.3.0.0 mirage-time.3.0.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 psq.0.2.1 randomconv.0.1.3 seq.base tcpip.8.0.1 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 mirage-stack.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:49.29: Waiting for resource in pool OCluster
2024-04-30 20:44.10: Waiting for worker…
2024-04-30 20:46.40: Got resource from pool OCluster
Building on x86-bm-c4.sw.ocaml.org
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /var/cache/obuilder/ocluster/git/mirage-stack.git-a8f8a168af35a66ec3cd5cac20d5152dc718d6f5/.git/
HEAD is now at 2d0fe8f changes for 4.0.0
(from ocaml/opam@sha256:7299e34125e8e87f4e3ae8546b0b53671f057a8aef5fbac9ecb58b75acb37b76)
Unable to find image 'ocaml/opam@sha256:7299e34125e8e87f4e3ae8546b0b53671f057a8aef5fbac9ecb58b75acb37b76' locally
docker.io/ocaml/opam@sha256:7299e34125e8e87f4e3ae8546b0b53671f057a8aef5fbac9ecb58b75acb37b76: Pulling from ocaml/opam
2dcef9efa662: Pulling fs layer
2dcef9efa662: Verifying Checksum
2dcef9efa662: Download complete
2dcef9efa662: Pull complete
Digest: sha256:7299e34125e8e87f4e3ae8546b0b53671f057a8aef5fbac9ecb58b75acb37b76
Status: Downloaded newer image for ocaml/opam@sha256:7299e34125e8e87f4e3ae8546b0b53671f057a8aef5fbac9ecb58b75acb37b76
2024-04-30 20:46.41 ---> using "9b0d5848fbc2a314479f34accfbaa696b92455f47034a73d0069aa1a6685173d" from cache
/: (comment debian-12-4.14_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 20:46.41 ---> using "e427ee87097ee67f58ffce22a90b321d261d5e29767c4557fd85cc7f8c3bec93" 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-04-30 20:46.41 ---> using "1f94c7ef90e4be9c850e97fa948ae4f3a97470add7b59a9b82cf249370a94569" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-105-generic
The OCaml toplevel, version 4.14.2
2.1.5
2024-04-30 20:46.41 ---> using "aaecfbf119af0cafdcfbf0de181e22bc5576ac96eb15e330673549c3f85eddcc" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-04-30 20:46.41 ---> using "972f9a00f9271bc62a16b6b1b3542039a4ca6a1873f56e28cd5bbf8aec128eae" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 042d5efee9551e35990b2e8d849a354d082857d1 || git fetch origin master) && git reset -q --hard 042d5efee9551e35990b2e8d849a354d082857d1 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
c516155a4b..bafea8d973 master -> origin/master
042d5efee9 [new release] dune (15 packages) (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 20:46.41 ---> using "bd11509cae2e8de77b8b1554a4cc9e45234821aef6f25ad60351740cd6a7ac9c" from cache
/src: (copy (src mirage-stack.opam) (dst ./))
2024-04-30 20:46.42 ---> saved as "972c5ee075f6e1d04ef6c9a3ea7c364af40809a900c3863dc9e1d60a8f6d2e5c"
/src: (run (network host)
(shell "opam pin add -yn mirage-stack.dev './'"))
[mirage-stack.dev] synchronised (file:///src)
mirage-stack is now pinned to file:///src (version dev)
2024-04-30 20:46.45 ---> saved as "e0ec69fd5c2139f17962ab47211afba35d67406e2faf695baf1ea9eb1e22be9a"
/src: (env DEPS "arp.3.1.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.2.0 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 domain-name.0.4.0 dune.3.15.2 dune-configurator.3.15.2 duration.0.2.1 ethernet.3.2.0 fmt.0.9.0 ipaddr.5.5.0 ipaddr-cstruct.5.5.0 logs.0.7.0 lru.0.3.1 lwt.5.7.0 lwt-dllist.1.0.1 macaddr.5.5.0 macaddr-cstruct.5.5.0 metrics.0.4.1 mirage-clock.4.2.0 mirage-flow.4.0.2 mirage-net.4.0.0 mirage-random.3.0.0 mirage-time.3.0.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 psq.0.2.1 randomconv.0.1.3 seq.base tcpip.8.0.1 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 mirage-stack.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 (541 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-stack.dev] synchronised (no changes)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.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-04-30 20:47.15 ---> saved as "17e112313ce3ef2b826a7b8160687a0bf8ff4f1e009de586d6d70e7e63b2dcf5"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.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 ocamlbuild 0.14.3
- install cmdliner 1.2.0
- install ocamlfind 1.9.6
- install seq base
- install dune 3.15.2
- install topkg 1.0.7
- install base-bytes base
- install psq 0.2.1
- install mirage-clock 4.2.0
- install macaddr 5.5.0
- install lwt-dllist 1.0.1
- install duration 0.2.1
- install domain-name 0.4.0
- install csexp 1.5.2
- install cppo 1.6.9
- install fmt 0.9.0
- install lru 0.3.1
- install ipaddr 5.5.0
- install dune-configurator 3.15.2
- install ocplib-endian 1.2
- install metrics 0.4.1
- install cstruct 6.2.0
- install lwt 5.7.0
- install randomconv 0.1.3
- install mirage-random 3.0.0
- install macaddr-cstruct 5.5.0
- install ipaddr-cstruct 5.5.0
- install mirage-time 3.0.0
- install mirage-net 4.0.0
- install mirage-flow 4.0.2
- install logs 0.7.0
- install cstruct-lwt 6.2.0
- install ethernet 3.2.0
- install arp 3.1.0
- install tcpip 8.0.1
===== 35 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved arp.3.1.0 (cached)
-> retrieved cmdliner.1.2.0 (cached)
-> retrieved cppo.1.6.9 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved cstruct.6.2.0 (cached)
-> retrieved cstruct-lwt.6.2.0 (cached)
-> retrieved domain-name.0.4.0 (cached)
-> retrieved duration.0.2.1 (cached)
-> retrieved ethernet.3.2.0 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved ipaddr.5.5.0 (cached)
-> retrieved ipaddr-cstruct.5.5.0 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved lru.0.3.1 (cached)
-> retrieved lwt.5.7.0 (cached)
-> retrieved lwt-dllist.1.0.1 (cached)
-> retrieved macaddr.5.5.0 (cached)
-> retrieved macaddr-cstruct.5.5.0 (cached)
-> retrieved metrics.0.4.1 (cached)
-> retrieved mirage-clock.4.2.0 (cached)
-> retrieved mirage-flow.4.0.2 (cached)
-> retrieved mirage-net.4.0.0 (cached)
-> retrieved mirage-random.3.0.0 (cached)
-> retrieved mirage-time.3.0.0 (cached)
-> retrieved ocamlbuild.0.14.3 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved psq.0.2.1 (cached)
-> retrieved randomconv.0.1.3 (cached)
-> installed seq.base
-> retrieved dune.3.15.2 (cached)
-> retrieved dune-configurator.3.15.2 (cached)
-> retrieved tcpip.8.0.1 (cached)
-> retrieved topkg.1.0.7 (cached)
-> installed cmdliner.1.2.0
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.7
-> installed fmt.0.9.0
-> installed dune.3.15.2
-> installed lwt-dllist.1.0.1
-> installed csexp.1.5.2
-> installed domain-name.0.4.0
-> installed duration.0.2.1
-> installed macaddr.5.5.0
-> installed cstruct.6.2.0
-> installed metrics.0.4.1
-> installed mirage-clock.4.2.0
-> installed psq.0.2.1
-> installed mirage-random.3.0.0
-> installed macaddr-cstruct.5.5.0
-> installed randomconv.0.1.3
-> installed lru.0.3.1
-> installed cppo.1.6.9
-> installed ipaddr.5.5.0
-> installed ipaddr-cstruct.5.5.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.15.2
-> installed lwt.5.7.0
-> installed mirage-time.3.0.0
-> installed mirage-flow.4.0.2
-> installed mirage-net.4.0.0
-> installed cstruct-lwt.6.2.0
-> installed logs.0.7.0
-> installed ethernet.3.2.0
-> installed arp.3.1.0
-> installed tcpip.8.0.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-30 20:49.00 ---> saved as "13f31ffdbdda388617a15138c395fe14802c0c02c352506c99d6a5812082e882"
/src: (copy (src .) (dst /src))
2024-04-30 20:49.00 ---> saved as "9fc8ff5bf4ae4365c9559990d4c71e37301af32750d4cf2c73ca22fe7f8d43fc"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/4.14/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/.mirage_stack.objs/byte -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/duration -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/macaddr -I /home/opam/.opam/4.14/lib/mirage-flow -I /home/opam/.opam/4.14/lib/tcpip -no-alias-deps -opaque -o src/.mirage_stack.objs/byte/mirage_stack.cmo -c -impl src/mirage_stack.ml)
File "src/mirage_stack.ml", line 1, characters 17-31:
1 | module type V4 = Tcpip.Stack.V4
^^^^^^^^^^^^^^
Error: Unbound module type Tcpip.Stack.V4
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-04-30 20:49.01: Job failed: Failed: Build failed