Organisationsmiragemirage-stack2d0fe8 (main)debian-12-4.08_opam-2.1

debian-12-4.08_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-12-4.08_opam-2.1)
Base: ocaml/opam@sha256:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480
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:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480
# debian-12-4.08_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.08.1 ocaml-base-compiler.4.08.1 ocaml-config.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:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480-debian-12-4.08_opam-2.1-5dc43d4446dcf856e95f793ae4a25258"
2024-04-30 08:49.29: Using OBuilder spec:
((from ocaml/opam@sha256:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480)
 (comment debian-12-4.08_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.08.1 ocaml-base-compiler.4.08.1 ocaml-config.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 doris.caelum.ci.dev
All commits already cached
HEAD is now at 2d0fe8f changes for 4.0.0


(from ocaml/opam@sha256:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480)
2024-04-30 20:46.48 ---> using "ca7a47bb337547622343e1e691b0c92596d0990b9ed28342fd47c7204c2b0a74" from cache


/: (comment debian-12-4.08_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 "9362e111b0c9aa6dec1dc253e7435efd8f1ac8f2d7d6e66c10d24bc4c57ad605" 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 "d9b0dd4261d4b45d1d45fcc185429e91e6b23305997b0ad336885eac0d3204ff" from cache


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


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-04-30 20:46.48 ---> using "44438eb632bedbdf12ad26788b4a274ef117e2313c1b08772cdb3a6d8d921790" 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:46.48 ---> using "a54ebef8c0f3c3c663177eb239c9b1312405ea35ca9104be123f0e3a454c8bf8" from cache


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


/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.49 ---> saved as "fb39afd1bd5e49ab983d728afb70bc45bbe81361177008734c4758d4ae925e37"


/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.08.1 ocaml-base-compiler.4.08.1 ocaml-config.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 (1094 kB/s)
- Reading package lists...


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-stack.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.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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 20:47.01 ---> saved as "adbe6c92ec2014c9143d1406a00124ef1987a82d06fa959a9f6ba03c35f5d8de"


/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.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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 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.3.15.2  (cached)
-> retrieved dune-configurator.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 lwt-dllist.1.0.1
-> installed csexp.1.5.2
-> installed cstruct.6.2.0
-> installed domain-name.0.4.0
-> installed duration.0.2.1
-> installed macaddr.5.5.0
-> installed metrics.0.4.1
-> installed mirage-clock.4.2.0
-> 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.43 ---> saved as "0d2c46a6128b4f78c3ad4b23098d8d0ee8a1b9e6c1d23f765c7881965ca39d10"


/src: (copy (src .) (dst /src))
2024-04-30 20:47.43 ---> saved as "8fded693b4738c494e6aba8d5da404c644d769b77b79cb9f2dd74bc3d4b92fac"


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