Organisationsmiragemirage-stack2d0fe8 (main)ubuntu-20.04-5.1_opam-2.1

ubuntu-20.04-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:ubuntu-20.04-5.1_opam-2.1)
Base: ocaml/opam@sha256:b37d0cbcd8cb49d7bb337386f75262f6472b2de6d573fbbd784b52bae033a6a0
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:b37d0cbcd8cb49d7bb337386f75262f6472b2de6d573fbbd784b52bae033a6a0
# ubuntu-20.04-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:b37d0cbcd8cb49d7bb337386f75262f6472b2de6d573fbbd784b52bae033a6a0-ubuntu-20.04-5.1_opam-2.1-d53d8bcee396f3956178f29923b578bd"
2024-04-30 08:49.29: Using OBuilder spec:
((from ocaml/opam@sha256:b37d0cbcd8cb49d7bb337386f75262f6472b2de6d573fbbd784b52bae033a6a0)
 (comment ubuntu-20.04-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:43.57: Waiting for worker…
2024-04-30 20:46.33: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 2d0fe8f changes for 4.0.0


(from ocaml/opam@sha256:b37d0cbcd8cb49d7bb337386f75262f6472b2de6d573fbbd784b52bae033a6a0)
2024-04-30 20:46.33 ---> using "911d2d9297f6c9f6b25884baaec73046a4a9b711167186aa231a98f2f833ce27" from cache


/: (comment ubuntu-20.04-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.33 ---> using "2c22ae36944a9fee4defce528a5b9837593a4888b8246f5b189937d477f5fb8b" 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.33 ---> using "d0891d4cc6f31aa9343d5c0e627606a0a590a8dbd634d1dcd97952902b68c6ab" from cache


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


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-04-30 20:46.33 ---> using "5fc0bc0fe7c559e2bad662037fa00f8f1ecd09bcc08e46211496364919fcf1f8" 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.33 ---> using "dcf65bbf99aa374922a6bf3583dc812233ac84deb1e48d363381d60291546489" from cache


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


/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.35 ---> saved as "740dbe68ab1ffbf6af0482ad008f670f2513e52012dbf6296c25c27ccf93e906"


/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://archive.ubuntu.com/ubuntu focal InRelease
- Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
- Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
- Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease
- Get:5 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [29.8 kB]
- Get:6 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [3536 kB]
- Get:7 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [3686 kB]
- Get:8 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [3595 kB]
- Get:9 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4069 kB]
- Get:10 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1201 kB]
- Get:11 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1496 kB]
- Get:12 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [32.5 kB]
- Fetched 17.9 MB in 2s (8641 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:46.50 ---> saved as "e4b80599ada3e2b1a4f1a075dae68b8dda760d309c6f2278144a44aca7b47543"


/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 dune-configurator.3.15.2  (cached)
-> retrieved dune.3.15.2  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> installed seq.base
-> retrieved psq.0.2.1  (cached)
-> retrieved randomconv.0.1.3  (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 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 cppo.1.6.9
-> installed lru.0.3.1
-> installed ipaddr.5.5.0
-> installed ocplib-endian.1.2
-> installed ipaddr-cstruct.5.5.0
-> 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:47.36 ---> saved as "a10a05a81e116abfa2433d16f4c24cb90ef6fa8e573aec83543c7ef1953ccaee"


/src: (copy (src .) (dst /src))
2024-04-30 20:47.36 ---> saved as "b88b3fdea13fe1e49631f83110f26a1d7867cc6a2e65a7020540161de513a370"


/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:47.37: Job failed: Failed: Build failed