Organisationsmiragecharruabbb1f1 ()debian-13-4.14+flambda_opam-2.4

debian-13-4.14+flambda_opam-2.4

Logs

Show full logs
2025-11-05 15:32.00: New job: test mirage/charrua https://github.com/mirage/charrua.git#refs/pull/142/head (bbb1f15e3a98b364328b040dc0124183a0354f84) (linux-x86_64:debian-13-4.14+flambda_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:fee1bd74850c139b11513e7b472156110b143dd437d1cc8238cb36c00d1dc0fe
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/mirage/charrua.git" && cd "charrua" && git fetch origin "refs/pull/142/head" && git reset --hard bbb1f15e
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:fee1bd74850c139b11513e7b472156110b143dd437d1cc8238cb36c00d1dc0fe
# debian-13-4.14+flambda_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /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 70d1dfb3b86d9aa841c74aa97359dc7639d3a8c6 || git fetch origin master) && git reset -q --hard 70d1dfb3b86d9aa841c74aa97359dc7639d3a8c6 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 charrua.opam charrua-unix.opam charrua-server.opam charrua-client.opam ./
RUN opam pin add -yn charrua.dev './' && \
    opam pin add -yn charrua-unix.dev './' && \
    opam pin add -yn charrua-server.dev './' && \
    opam pin add -yn charrua-client.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.1 arp.4.1.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.2.0.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 cstruct-unix.6.2.0 digestif.1.3.0 domain-name.0.5.0 dune.3.20.2 dune-configurator.3.20.2 duration.0.2.1 eqaf.0.10 ethernet.3.2.0 fmt.0.11.0 ipaddr.5.6.1 ipaddr-cstruct.5.6.1 logs.0.10.0 lru.0.3.1 lwt.5.9.2 lwt-dllist.1.1.0 lwt_log.1.1.2 macaddr.5.6.1 macaddr-cstruct.5.6.1 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 metrics.0.5.0 mirage-crypto.2.0.2 mirage-crypto-rng.2.0.2 mirage-flow.5.0.0 mirage-mtime.5.2.0 mirage-net.4.0.0 mirage-sleep.4.1.0 mtime.2.1.0 num.1.6 ocaml.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-syntax-shims.1.0.0 ocaml-variants.4.14.2+options ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 parsexp.v0.16.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.37.0 psq.0.2.1 randomconv.0.2.0 rawlink.2.1 rawlink-lwt.2.1 re.1.14.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 tcpip.9.0.1 topkg.1.1.1 tuntap.2.0.1 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y charrua.dev charrua-unix.dev charrua-server.dev charrua-client.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

2025-11-05 15:32.00: Using cache hint "mirage/charrua-ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:fee1bd74850c139b11513e7b472156110b143dd437d1cc8238cb36c00d1dc0fe-debian-13-4.14+flambda_opam-2.4-31d1edbec4d0103981a5fd15cc420a0d"
2025-11-05 15:32.00: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:fee1bd74850c139b11513e7b472156110b143dd437d1cc8238cb36c00d1dc0fe)
 (comment debian-13-4.14+flambda_opam-2.4)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.4 /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 70d1dfb3b86d9aa841c74aa97359dc7639d3a8c6 || git fetch origin master) && git reset -q --hard 70d1dfb3b86d9aa841c74aa97359dc7639d3a8c6 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src charrua.opam charrua-unix.opam charrua-server.opam charrua-client.opam)
       (dst ./))
 (run (network host)
      (shell  "opam pin add -yn charrua.dev './' && \
             \nopam pin add -yn charrua-unix.dev './' && \
             \nopam pin add -yn charrua-server.dev './' && \
             \nopam pin add -yn charrua-client.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "alcotest.1.9.1 arp.4.1.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.2.0.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 cstruct-unix.6.2.0 digestif.1.3.0 domain-name.0.5.0 dune.3.20.2 dune-configurator.3.20.2 duration.0.2.1 eqaf.0.10 ethernet.3.2.0 fmt.0.11.0 ipaddr.5.6.1 ipaddr-cstruct.5.6.1 logs.0.10.0 lru.0.3.1 lwt.5.9.2 lwt-dllist.1.1.0 lwt_log.1.1.2 macaddr.5.6.1 macaddr-cstruct.5.6.1 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 metrics.0.5.0 mirage-crypto.2.0.2 mirage-crypto-rng.2.0.2 mirage-flow.5.0.0 mirage-mtime.5.2.0 mirage-net.4.0.0 mirage-sleep.4.1.0 mtime.2.1.0 num.1.6 ocaml.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-syntax-shims.1.0.0 ocaml-variants.4.14.2+options ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 parsexp.v0.16.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.37.0 psq.0.2.1 randomconv.0.2.0 rawlink.2.1 rawlink-lwt.2.1 re.1.14.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 tcpip.9.0.1 topkg.1.1.1 tuntap.2.0.1 uutf.1.0.4")
 (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.4 --depext-only -y charrua.dev charrua-unix.dev charrua-server.dev charrua-client.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"))
)

2025-11-05 15:32.00: Waiting for resource in pool OCluster
2025-11-05 22:41.51: Waiting for worker…
2025-11-05 22:45.18: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at bbb1f15 We were not correctly reporting not-dhcp

(from ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:fee1bd74850c139b11513e7b472156110b143dd437d1cc8238cb36c00d1dc0fe)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:fee1bd74850c139b11513e7b472156110b143dd437d1cc8238cb36c00d1dc0fe' locally
docker.io/ocaml/opam@sha256:fee1bd74850c139b11513e7b472156110b143dd437d1cc8238cb36c00d1dc0fe: Pulling from ocaml/opam
cae3b572364a: Already exists
820d433882fc: Already exists
8f6112f72fa5: Already exists
f06108004adb: Already exists
f34ea90e6bf7: Already exists
b44a65709156: Already exists
4c25908bbac9: Already exists
f76df728146d: Already exists
1fee769dfcf3: Already exists
9089a7f69af3: Already exists
6f758b47b2a0: Already exists
16b225bbb395: Already exists
abbf3ec39b68: Already exists
1a61521655a9: Already exists
6a8565a9e443: Already exists
c059a4cbd7b9: Already exists
3a00fdc9e291: Already exists
a0b62589bd38: Already exists
6e8d713bf843: Already exists
bca1fd5341ba: Already exists
34b9849c2772: Already exists
4f4fb700ef54: Already exists
d8d3d0744e38: Already exists
788c7ce0e0e5: Already exists
a297eab0ca3b: Already exists
2e79af39acdb: Already exists
8858e600236c: Already exists
9efe23d1fe7d: Already exists
47d185934312: Already exists
64a949a6caff: Already exists
c9d6a7c18bb1: Already exists
e4fde4815f0c: Already exists
d1f759c16950: Already exists
f3dd45bf195f: Already exists
3985a6049101: Already exists
aae849592418: Already exists
6173459dc6b2: Already exists
7f16ef63bee0: Already exists
fe355de6a899: Already exists
b0bc5a15bc9d: Already exists
65f8c29fbcec: Pulling fs layer
7568ba074061: Pulling fs layer
e09377baf736: Pulling fs layer
780cc2bc8362: Pulling fs layer
e09377baf736: Waiting
7568ba074061: Waiting
7568ba074061: Verifying Checksum
7568ba074061: Download complete
e09377baf736: Verifying Checksum
e09377baf736: Download complete
780cc2bc8362: Verifying Checksum
780cc2bc8362: Download complete
65f8c29fbcec: Verifying Checksum
65f8c29fbcec: Download complete
65f8c29fbcec: Pull complete
7568ba074061: Pull complete
e09377baf736: Pull complete
780cc2bc8362: Pull complete
Digest: sha256:fee1bd74850c139b11513e7b472156110b143dd437d1cc8238cb36c00d1dc0fe
Status: Downloaded newer image for ocaml/opam@sha256:fee1bd74850c139b11513e7b472156110b143dd437d1cc8238cb36c00d1dc0fe
2025-11-05 22:45.18 ---> using "4ee17fadd35e30a9bb27c5ee167496ecbff117ce14a44d7b7d8b6d9db56a5c0a" from cache

/: (comment debian-13-4.14+flambda_opam-2.4)

/: (user (uid 1000) (gid 1000))

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-11-05 22:45.18 ---> using "a8e2b7f82c26159049b8accdddbe2aac9009fda344b632afbce753211fd9922e" 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.

Continue? [Y/n] y
This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.

[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-11-05 22:45.18 ---> using "25fa242e11f2c9e144ef6351fbc1728f853d7bae0c9805a564bc85668961e602" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-157-generic
The OCaml toplevel, version 4.14.2
2.4.1
2025-11-05 22:45.18 ---> using "bf49ebb0498758fa549445c24b1d5dd6e625460e42913db2f5fdf8564910ada6" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-11-05 22:45.18 ---> using "59ef8fa18066dd481a74af62bf427613241c5ef7854813426c0726e685de5827" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 70d1dfb3b86d9aa841c74aa97359dc7639d3a8c6 || git fetch origin master) && git reset -q --hard 70d1dfb3b86d9aa841c74aa97359dc7639d3a8c6 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   1abfcdbf14..70d1dfb3b8  master     -> origin/master
70d1dfb3b8 Merge pull request #28838 from dbuenzli/b0-publish-logs.0.10.0

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+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 at these versions (e.g. "opam upgrade ocaml.5.4.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-11-05 22:45.18 ---> using "33a6603a525c58a0002e19e0b16a75980149b1423794e3b2b4dd36b621064818" from cache

/src: (copy (src charrua.opam charrua-unix.opam charrua-server.opam charrua-client.opam)
            (dst ./))
2025-11-05 22:45.19 ---> saved as "ad11bb587b6fe80abf29ec41be7a986d0ced013de8def6b3468f5234f406aa53"

/src: (run (network host)
           (shell  "opam pin add -yn charrua.dev './' && \
                  \nopam pin add -yn charrua-unix.dev './' && \
                  \nopam pin add -yn charrua-server.dev './' && \
                  \nopam pin add -yn charrua-client.dev './'"))
[charrua.dev] synchronised (file:///src)
charrua is now pinned to file:///src (version dev)
[charrua-unix.dev] synchronised (file:///src)
charrua-unix is now pinned to file:///src (version dev)
[charrua-server.dev] synchronised (file:///src)
charrua-server is now pinned to file:///src (version dev)
[charrua-client.dev] synchronised (file:///src)
charrua-client is now pinned to file:///src (version dev)
2025-11-05 22:45.24 ---> saved as "025a78b6290dc4f8c09618b621bfb33452898d34665103256c98d05f3af5f33b"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-11-05 22:45.25 ---> saved as "1224dbc50dbfd30e23d640d1ba9e44d8f2c6ec77dfe0344a780023bb5b08b7af"

/src: (env DEPS "alcotest.1.9.1 arp.4.1.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.2.0.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 cstruct-unix.6.2.0 digestif.1.3.0 domain-name.0.5.0 dune.3.20.2 dune-configurator.3.20.2 duration.0.2.1 eqaf.0.10 ethernet.3.2.0 fmt.0.11.0 ipaddr.5.6.1 ipaddr-cstruct.5.6.1 logs.0.10.0 lru.0.3.1 lwt.5.9.2 lwt-dllist.1.1.0 lwt_log.1.1.2 macaddr.5.6.1 macaddr-cstruct.5.6.1 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 metrics.0.5.0 mirage-crypto.2.0.2 mirage-crypto-rng.2.0.2 mirage-flow.5.0.0 mirage-mtime.5.2.0 mirage-net.4.0.0 mirage-sleep.4.1.0 mtime.2.1.0 num.1.6 ocaml.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-syntax-shims.1.0.0 ocaml-variants.4.14.2+options ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 parsexp.v0.16.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.37.0 psq.0.2.1 randomconv.0.2.0 rawlink.2.1 rawlink-lwt.2.1 re.1.14.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 tcpip.9.0.1 topkg.1.1.1 tuntap.2.0.1 uutf.1.0.4")

/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.4 --depext-only -y charrua.dev charrua-unix.dev charrua-server.dev charrua-client.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [69.2 kB]
- Fetched 160 kB in 0s (1848 kB/s)
- Reading package lists...

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[charrua.dev] synchronised (file:///src)
[charrua-client.dev] synchronised (file:///src)
[charrua-server.dev] synchronised (file:///src)
[charrua-unix.dev] synchronised (file:///src)

[NOTE] Package ocaml-variants is already installed (current version is 4.14.2+options).
[NOTE] Package ocaml-config is already installed (current version is 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).
2025-11-05 22:45.34 ---> saved as "0246b55ef88e997a0ac4f0443fcc08df8aaf2633aa58437a2c52a918e845a3e5"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-variants is already installed (current version is 4.14.2+options).
[NOTE] Package ocaml-config is already installed (current version is 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 63 packages
  - install alcotest            1.9.1
  - install arp                 4.1.0
  - install astring             0.8.5
  - install base-bytes          base
  - install cmdliner            2.0.0
  - install cppo                1.8.0
  - install csexp               1.5.2
  - install cstruct             6.2.0
  - install cstruct-lwt         6.2.0
  - install cstruct-unix        6.2.0
  - install digestif            1.3.0
  - install domain-name         0.5.0
  - install dune                3.20.2
  - install dune-configurator   3.20.2
  - install duration            0.2.1
  - install eqaf                0.10
  - install ethernet            3.2.0
  - install fmt                 0.11.0
  - install ipaddr              5.6.1
  - install ipaddr-cstruct      5.6.1
  - install logs                0.10.0
  - install lru                 0.3.1
  - install lwt                 5.9.2
  - install lwt-dllist          1.1.0
  - install lwt_log             1.1.2
  - install macaddr             5.6.1
  - install macaddr-cstruct     5.6.1
  - install menhir              20250912
  - install menhirCST           20250912
  - install menhirLib           20250912
  - install menhirSdk           20250912
  - install metrics             0.5.0
  - install mirage-crypto       2.0.2
  - install mirage-crypto-rng   2.0.2
  - install mirage-flow         5.0.0
  - install mirage-mtime        5.2.0
  - install mirage-net          4.0.0
  - install mirage-sleep        4.1.0
  - install mtime               2.1.0
  - install num                 1.6
  - install ocaml-compiler-libs v0.12.4
  - install ocaml-syntax-shims  1.0.0
  - install ocamlbuild          0.16.1
  - install ocamlfind           1.9.8
  - install ocplib-endian       1.2
  - install ohex                0.2.0
  - install parsexp             v0.16.0
  - install ppx_cstruct         6.2.0
  - install ppx_derivers        1.2.1
  - install ppxlib              0.37.0
  - install psq                 0.2.1
  - install randomconv          0.2.0
  - install rawlink             2.1
  - install rawlink-lwt         2.1
  - install re                  1.14.0
  - install seq                 base
  - install sexplib             v0.16.0
  - install sexplib0            v0.16.0
  - install stdlib-shims        0.3.0
  - install tcpip               9.0.1
  - install topkg               1.1.1
  - install tuntap              2.0.1
  - install uutf                1.0.4

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1  (cached)
-> retrieved arp.4.1.0  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved cmdliner.2.0.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.2.0, cstruct-lwt.6.2.0, cstruct-unix.6.2.0, ppx_cstruct.6.2.0  (cached)
-> retrieved domain-name.0.5.0  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved eqaf.0.10  (cached)
-> retrieved ethernet.3.2.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved ipaddr.5.6.1, ipaddr-cstruct.5.6.1, macaddr.5.6.1, macaddr-cstruct.5.6.1  (cached)
-> retrieved logs.0.10.0  (cached)
-> retrieved lru.0.3.1  (cached)
-> retrieved lwt.5.9.2  (cached)
-> retrieved digestif.1.3.0  (cached)
-> retrieved lwt-dllist.1.1.0  (cached)
-> retrieved lwt_log.1.1.2  (cached)
-> retrieved metrics.0.5.0  (cached)
-> retrieved menhir.20250912, menhirCST.20250912, menhirLib.20250912, menhirSdk.20250912  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> retrieved mirage-crypto.2.0.2, mirage-crypto-rng.2.0.2  (cached)
-> retrieved mirage-flow.5.0.0  (cached)
-> retrieved mirage-mtime.5.2.0  (cached)
-> retrieved mirage-net.4.0.0  (cached)
-> retrieved mirage-sleep.4.1.0  (cached)
-> retrieved mtime.2.1.0  (cached)
-> retrieved num.1.6  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> installed cmdliner.2.0.0
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ohex.0.2.0  (cached)
-> retrieved parsexp.v0.16.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved psq.0.2.1  (cached)
-> retrieved randomconv.0.2.0  (cached)
-> retrieved rawlink.2.1, rawlink-lwt.2.1  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved re.1.14.0  (cached)
-> retrieved sexplib.v0.16.0  (cached)
-> retrieved ppxlib.0.37.0  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved tuntap.2.0.1  (cached)
-> retrieved tcpip.9.0.1  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved uutf.1.0.4  (cached)
-> installed num.1.6
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed mtime.2.1.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed cstruct.6.2.0
-> installed domain-name.0.5.0
-> installed duration.0.2.1
-> installed eqaf.0.10
-> installed lwt-dllist.1.1.0
-> installed macaddr.5.6.1
-> installed menhirCST.20250912
-> installed menhirLib.20250912
-> installed menhirSdk.20250912
-> installed metrics.0.5.0
-> installed mirage-mtime.5.2.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed ocaml-syntax-shims.1.0.0
-> installed ohex.0.2.0
-> installed ppx_derivers.1.2.1
-> installed psq.0.2.1
-> installed randomconv.0.2.0
-> installed re.1.14.0
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed ocplib-endian.1.2
-> installed cstruct-unix.6.2.0
-> installed ipaddr.5.6.1
-> installed macaddr-cstruct.5.6.1
-> installed lru.0.3.1
-> installed ipaddr-cstruct.5.6.1
-> installed tuntap.2.0.1
-> installed digestif.1.3.0
-> installed parsexp.v0.16.0
-> installed alcotest.1.9.1
-> installed dune-configurator.3.20.2
-> installed sexplib.v0.16.0
-> installed mirage-crypto.2.0.2
-> installed lwt.5.9.2
-> installed cstruct-lwt.6.2.0
-> installed mirage-net.4.0.0
-> installed mirage-flow.5.0.0
-> installed mirage-sleep.4.1.0
-> installed lwt_log.1.1.2
-> installed logs.0.10.0
-> installed ethernet.3.2.0
-> installed mirage-crypto-rng.2.0.2
-> installed arp.4.1.0
-> installed tcpip.9.0.1
-> installed ppxlib.0.37.0
-> installed menhir.20250912
-> installed ppx_cstruct.6.2.0
-> installed rawlink.2.1
-> installed rawlink-lwt.2.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-05 22:46.38 ---> saved as "6c227ae722c7680e9cd2d5d481a3b4d1d72f62b72dce997fecacb70d44abc393"

/src: (copy (src .) (dst /src))
2025-11-05 22:46.39 ---> saved as "8d414c4e068dffd7e90f8121da6abea6355b526299f9bc3a98f6d431dbb05ab8"

/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 test/client/lwt/.test_client_lwt.eobjs/byte -I /home/opam/.opam/4.14/lib/alcotest -I /home/opam/.opam/4.14/lib/alcotest/engine -I /home/opam/.opam/4.14/lib/alcotest/stdlib_ext -I /home/opam/.opam/4.14/lib/arp -I /home/opam/.opam/4.14/lib/arp/mirage -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/cmdliner -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/cstruct-unix -I /home/opam/.opam/4.14/lib/digestif/c -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/duration -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/ethernet -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/fmt/cli -I /home/opam/.opam/4.14/lib/fmt/tty -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/lru -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt/unix -I /home/opam/.opam/4.14/lib/macaddr -I /home/opam/.opam/4.14/lib/mirage-crypto -I /home/opam/.opam/4.14/lib/mirage-crypto-rng -I /home/opam/.opam/4.14/lib/mirage-crypto-rng/unix -I /home/opam/.opam/4.14/lib/mirage-flow -I /home/opam/.opam/4.14/lib/mirage-mtime/unix -I /home/opam/.opam/4.14/lib/mirage-net -I /home/opam/.opam/4.14/lib/mirage-sleep/unix -I /home/opam/.opam/4.14/lib/mtime -I /home/opam/.opam/4.14/lib/mtime/clock -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ocplib-endian/bigstring -I /home/opam/.opam/4.14/lib/ohex -I /home/opam/.opam/4.14/lib/psq -I /home/opam/.opam/4.14/lib/randomconv -I /home/opam/.opam/4.14/lib/re -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/tcpip -I /home/opam/.opam/4.14/lib/tcpip/checksum -I /home/opam/.opam/4.14/lib/tcpip/ipv4 -I /home/opam/.opam/4.14/lib/tcpip/udp -I /home/opam/.opam/4.14/lib/uutf -I client/.dhcp_client.objs/byte -I client/lwt/.dhcp_client_lwt.objs/byte -I lib/.dhcp_wire.objs/byte -no-alias-deps -opaque -o test/client/lwt/.test_client_lwt.eobjs/byte/test_client_lwt.cmo -c -impl test/client/lwt/test_client_lwt.ml)
File "test/client/lwt/test_client_lwt.ml", line 37, characters 29-43:
37 |       Client.connect net >>= Lwt_stream.get >|= function
                                  ^^^^^^^^^^^^^^
Error: This expression has type 'a Lwt_stream.t -> 'a option Lwt.t
       but an expression was expected of type Client.t -> 'b Lwt.t
       Type 'a Lwt_stream.t is not compatible with type Client.t 
(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 test/.test.eobjs/byte -I /home/opam/.opam/4.14/lib/alcotest -I /home/opam/.opam/4.14/lib/alcotest/engine -I /home/opam/.opam/4.14/lib/alcotest/stdlib_ext -I /home/opam/.opam/4.14/lib/arp -I /home/opam/.opam/4.14/lib/arp/mirage -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/cmdliner -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/cstruct-unix -I /home/opam/.opam/4.14/lib/digestif/c -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/duration -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/ethernet -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/fmt/cli -I /home/opam/.opam/4.14/lib/fmt/tty -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/lru -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt/unix -I /home/opam/.opam/4.14/lib/macaddr -I /home/opam/.opam/4.14/lib/mirage-crypto -I /home/opam/.opam/4.14/lib/mirage-crypto-rng -I /home/opam/.opam/4.14/lib/mirage-flow -I /home/opam/.opam/4.14/lib/mirage-mtime/unix -I /home/opam/.opam/4.14/lib/mirage-net -I /home/opam/.opam/4.14/lib/mirage-sleep/unix -I /home/opam/.opam/4.14/lib/mtime -I /home/opam/.opam/4.14/lib/mtime/clock -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ocplib-endian/bigstring -I /home/opam/.opam/4.14/lib/ohex -I /home/opam/.opam/4.14/lib/psq -I /home/opam/.opam/4.14/lib/randomconv -I /home/opam/.opam/4.14/lib/re -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/tcpip -I /home/opam/.opam/4.14/lib/tcpip/checksum -I /home/opam/.opam/4.14/lib/tcpip/ipv4 -I /home/opam/.opam/4.14/lib/tcpip/udp -I /home/opam/.opam/4.14/lib/uutf -I lib/.dhcp_wire.objs/byte -I server/.dhcp_server.objs/public_cmi -no-alias-deps -opaque -o test/.test.eobjs/byte/pcap.cmo -c -impl test/pcap.ml)
File "test/pcap.ml", line 80, characters 24-25:
80 |   | Error e -> failwith e
                             ^
Error: This expression has type [ `Msg of string | `Not_dhcp ]
       but an expression was expected of type string
(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 test/client/.test_client.eobjs/byte -I /home/opam/.opam/4.14/lib/alcotest -I /home/opam/.opam/4.14/lib/alcotest/engine -I /home/opam/.opam/4.14/lib/alcotest/stdlib_ext -I /home/opam/.opam/4.14/lib/arp -I /home/opam/.opam/4.14/lib/arp/mirage -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/cmdliner -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/cstruct-unix -I /home/opam/.opam/4.14/lib/digestif/c -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/duration -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/ethernet -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/fmt/cli -I /home/opam/.opam/4.14/lib/fmt/tty -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/lru -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt/unix -I /home/opam/.opam/4.14/lib/macaddr -I /home/opam/.opam/4.14/lib/mirage-crypto -I /home/opam/.opam/4.14/lib/mirage-crypto-rng -I /home/opam/.opam/4.14/lib/mirage-crypto-rng/unix -I /home/opam/.opam/4.14/lib/mirage-flow -I /home/opam/.opam/4.14/lib/mirage-mtime/unix -I /home/opam/.opam/4.14/lib/mirage-net -I /home/opam/.opam/4.14/lib/mirage-sleep/unix -I /home/opam/.opam/4.14/lib/mtime -I /home/opam/.opam/4.14/lib/mtime/clock -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ocplib-endian/bigstring -I /home/opam/.opam/4.14/lib/ohex -I /home/opam/.opam/4.14/lib/psq -I /home/opam/.opam/4.14/lib/randomconv -I /home/opam/.opam/4.14/lib/re -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/tcpip -I /home/opam/.opam/4.14/lib/tcpip/checksum -I /home/opam/.opam/4.14/lib/tcpip/ipv4 -I /home/opam/.opam/4.14/lib/tcpip/udp -I /home/opam/.opam/4.14/lib/uutf -I client/.dhcp_client.objs/byte -I lib/.dhcp_wire.objs/byte -I server/.dhcp_server.objs/public_cmi -no-alias-deps -opaque -o test/client/.test_client.eobjs/byte/test_client.cmo -c -impl test/client/test_client.ml)
File "test/client/test_client.ml", lines 95-106, characters 22-5:
 95 | ......................begin
 96 |     match Dhcp_client.input s (Dhcp_wire.buf_of_pkt pkt) with
 97 |     | `Noop -> Alcotest.fail "response to DHCPOFFER was silence"
 98 |     | `New_lease _ -> Alcotest.fail "thought a DHCPOFFER was a lease???"
 99 |     | `Response (_s, pkt) ->
...
103 |         Dhcp_wire.pkt_of_buf buf (Cstruct.length buf) in
104 |       Alcotest.(check (option msgtype)) "responded to DHCPOFFER with DHCPREQUEST"
105 |         (Some DHCPREQUEST) (find_message_type dhcprequest.options)
106 |   end
Error (warning 8 [partial-match]): this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
`Not_dhcp
File "test/client/test_client.ml", lines 114-122, characters 2-58:
114 | ..match Dhcp_client.input s (Dhcp_wire.buf_of_pkt dhcpoffer) with
115 |   | `Noop -> Alcotest.fail "couldn't get client to respond to DHCPOFFER"
116 |   | `New_lease _-> Alcotest.fail "thought a DHCPOFFER was a lease"
117 |   | `Response (_s, pkt) ->
118 |     let buf = Dhcp_wire.buf_of_pkt pkt in
119 |     let dhcprequest = Result.get_ok @@ Dhcp_wire.pkt_of_buf buf (Cstruct.length buf) in
120 |     let (dhcpack, _db) = assert_reply @@ Dhcp_server.Input.input_pkt config db dhcprequest 0l in
121 |       Alcotest.(check (option msgtype)) "got a DHCPACK in response to DHCPREQUEST"
122 |         (Some DHCPACK) (find_message_type dhcpack.options)
Error (warning 8 [partial-match]): this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
`Not_dhcp
File "test/client/test_client.ml", lines 137-142, characters 4-90:
137 | ....match Dhcp_client.input s (Dhcp_wire.buf_of_pkt dhcpack) with
138 |     | `Response _ ->
139 | Alcotest.fail "client wanted to send more packets after receiving DHCPACK"
140 |     | `Noop -> Alcotest.fail "client disregarded its lease"
141 |     | `New_lease (s, _l) ->
142 |        Alcotest.(check (option pass)) "lease is held" (Some dhcpack) (Dhcp_client.lease s)
Error (warning 8 [partial-match]): this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
`Not_dhcp
File "test/client/test_client.ml", lines 129-142, characters 2-90:
129 | ..match Dhcp_client.input s (Dhcp_wire.buf_of_pkt dhcpoffer) with
130 |   | `Noop | `New_lease _ -> Alcotest.fail "incorrect response to DHCPOFFER"
131 |   | `Response (s, pkt) ->
132 |     let buf = Dhcp_wire.buf_of_pkt pkt in
133 |     let dhcprequest = Result.get_ok @@ Dhcp_wire.pkt_of_buf buf (Cstruct.length buf) in
...
139 | Alcotest.fail "client wanted to send more packets after receiving DHCPACK"
140 |     | `Noop -> Alcotest.fail "client disregarded its lease"
141 |     | `New_lease (s, _l) ->
142 |        Alcotest.(check (option pass)) "lease is held" (Some dhcpack) (Dhcp_client.lease s)
Error (warning 8 [partial-match]): this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
`Not_dhcp
File "test/client/test_client.ml", lines 156-159, characters 2-69:
156 | ..match Dhcp_client.input s (Dhcp_wire.buf_of_pkt pkt) with
157 |   | `Noop | `New_lease _ -> Alcotest.fail "couldn't enter REQUESTING properly"
158 | | `Response (s, _dhcprequest) ->
159 |   "random buffer entry to REQUESTING client", `Quick, (no_result s n)
Error (warning 8 [partial-match]): this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
`Not_dhcp
File "test/client/test_client.ml", lines 171-175, characters 4-68:
171 | ....match Dhcp_client.input s (Dhcp_wire.buf_of_pkt dhcpack) with
172 |     | `Noop | `Response _ -> Alcotest.fail "client did not recognize DHCPACK as
173 | a new lease"
174 |     | `New_lease (s, _response) ->
175 |       "random buffer entry to BOUND client", `Quick, (no_result s n)
Error (warning 8 [partial-match]): this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
`Not_dhcp
File "test/client/test_client.ml", lines 165-175, characters 2-68:
165 | ..match Dhcp_client.input s (Dhcp_wire.buf_of_pkt pkt) with
166 |   | `Noop | `New_lease _ -> Alcotest.fail "couldn't enter REQUESTING properly"
167 |   | `Response (s, dhcprequest) ->
168 |     let buf = Dhcp_wire.buf_of_pkt dhcprequest in
169 |     let dhcprequest = Result.get_ok @@ Dhcp_wire.pkt_of_buf buf (Cstruct.length buf) in
...
172 |     | `Noop | `Response _ -> Alcotest.fail "client did not recognize DHCPACK as
173 | a new lease"
174 |     | `New_lease (s, _response) ->
175 |       "random buffer entry to BOUND client", `Quick, (no_result s n)
Error (warning 8 [partial-match]): this pattern-matching is not exhaustive.
Here is an example of a case that is not matched:
`Not_dhcp
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-11-05 22:46.41: Job failed: Failed: Build failed