Organisationsmiragemirage-stack2d0fe8 (main)debian-11-5.1_opam-2.1

debian-11-5.1_opam-2.1

Link Copied
Code Copied

Logs

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-11-5.1_opam-2.1)
Base: ocaml/opam@sha256:22d407589f63b0094141b96ebd1e3f1911c06fad3c6c1d8aa19e11cb7349530b
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:22d407589f63b0094141b96ebd1e3f1911c06fad3c6c1d8aa19e11cb7349530b
# debian-11-5.1_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-domains.base base-nnp.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.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 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:22d407589f63b0094141b96ebd1e3f1911c06fad3c6c1d8aa19e11cb7349530b-debian-11-5.1_opam-2.1-d53d8bcee396f3956178f29923b578bd"
2024-04-30 08:49.29: Using OBuilder spec:
((from ocaml/opam@sha256:22d407589f63b0094141b96ebd1e3f1911c06fad3c6c1d8aa19e11cb7349530b)
 (comment debian-11-5.1_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-domains.base base-nnp.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.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 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.18: Waiting for worker…
2024-04-30 20:46.48: Got resource from pool OCluster
Building on x86-bm-c10.sw.ocaml.org
All commits already cached
HEAD is now at 2d0fe8f changes for 4.0.0


(from ocaml/opam@sha256:22d407589f63b0094141b96ebd1e3f1911c06fad3c6c1d8aa19e11cb7349530b)
2024-04-30 20:46.48 ---> using "bb16f373b334d8817bd06911e97e29111b67393ee72b4c8987375237ff1ba328" from cache


/: (comment debian-11-5.1_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.48 ---> using "f83a33bee71d91808a5cdf306f8a0eebf30d9f5f96833535b30526cc65acc5ad" 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.48 ---> using "860e7d6cb44ff365c3819b02301e23311027a59a00145fb43481580a5f2332c8" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-105-generic
The OCaml toplevel, version 5.1.1
2.1.5
2024-04-30 20:46.48 ---> using "de9fc9b0f7a7f4a7e5c86ef21c9ccba80d271b203e0257a211b7e00698660d00" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-04-30 20:46.48 ---> using "4f6f4992dae2e4aeb82333087f4fb63e1f26e6fb40e34f5db59b120b390ab6ed" 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
   4bb8cb8b65..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:48.19 ---> saved as "8239617d2801832df000c56fe7ed558faf25165e92ce96e5dec550e521aad482"


/src: (copy (src mirage-stack.opam) (dst ./))
2024-04-30 20:48.19 ---> saved as "ddf00606e691be8d126e6477cea8c3385b7b35799bb59d0aeb1170811aa5b33f"


/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:48.21 ---> saved as "3f60f6a89ca151ca37cbb568fe9ff6a3ca3790ebcfbd4e2f5c3d52cd39aad6a6"


/src: (env DEPS "arp.3.1.0 base-bigarray.base base-bytes.base base-domains.base base-nnp.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.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 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 bullseye InRelease
- Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]
- Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
- Get:4 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [271 kB]
- Fetched 363 kB in 0s (915 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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.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-nnp is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2024-04-30 20:48.43 ---> saved as "4712beb0926fbee3d19a95f80aefb380cb7e55363cff844319eaf55308f8e676"


/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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.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-nnp is already installed (current version is base).
[NOTE] Package base-domains 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 tcpip.8.0.1  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved dune.3.15.2  (cached)
-> retrieved dune-configurator.3.15.2  (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 mirage-clock.4.2.0
-> installed lwt-dllist.1.0.1
-> installed duration.0.2.1
-> installed csexp.1.5.2
-> installed cstruct.6.2.0
-> installed domain-name.0.4.0
-> installed macaddr.5.5.0
-> installed metrics.0.4.1
-> installed psq.0.2.1
-> installed mirage-random.3.0.0
-> installed randomconv.0.1.3
-> installed macaddr-cstruct.5.5.0
-> 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 cstruct-lwt.6.2.0
-> installed mirage-net.4.0.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:50.04 ---> saved as "edda31e8c4a398020bdf6a12ca34d01128dc0f0241d8c9cb7bfcad01ba053c7a"


/src: (copy (src .) (dst /src))
2024-04-30 20:50.04 ---> saved as "857b2bdb99a0c09d43f2ac4e8a88dbc425e84e9b75d4613ea11b2c681b5d4864"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/5.1/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/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/duration -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/ipaddr -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/macaddr -I /home/opam/.opam/5.1/lib/mirage-flow -I /home/opam/.opam/5.1/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:50.04: Job failed: Failed: Build failed