Organisationsmiragecharruabbb1f1 ()ubuntu-24.04-5.4_opam-2.4

ubuntu-24.04-5.4_opam-2.4

Link Copied
Code Copied

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:ubuntu-24.04-5.4_opam-2.4)
Base: ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:7f9777fef5ce17e2d2dd28006fd82fddc69b7be93776412d5942acd680d139d5
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:ubuntu-24.04-ocaml-5.4@sha256:7f9777fef5ce17e2d2dd28006fd82fddc69b7be93776412d5942acd680d139d5
# ubuntu-24.04-5.4_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-domains.base base-effects.base base-nnp.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.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 parsexp.v0.17.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.17.0 sexplib0.v0.17.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:ubuntu-24.04-ocaml-5.4@sha256:7f9777fef5ce17e2d2dd28006fd82fddc69b7be93776412d5942acd680d139d5-ubuntu-24.04-5.4_opam-2.4-b0c8898db2b91238980a4e3cd9526d10"
2025-11-05 15:32.00: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:7f9777fef5ce17e2d2dd28006fd82fddc69b7be93776412d5942acd680d139d5)
(comment ubuntu-24.04-5.4_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-domains.base base-effects.base base-nnp.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.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 parsexp.v0.17.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.17.0 sexplib0.v0.17.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.31: Waiting for worker…
2025-11-05 22:44.52: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
HEAD is now at bbb1f15 We were not correctly reporting not-dhcp


(from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:7f9777fef5ce17e2d2dd28006fd82fddc69b7be93776412d5942acd680d139d5)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:7f9777fef5ce17e2d2dd28006fd82fddc69b7be93776412d5942acd680d139d5' locally
docker.io/ocaml/opam@sha256:7f9777fef5ce17e2d2dd28006fd82fddc69b7be93776412d5942acd680d139d5: Pulling from ocaml/opam
f1c3c72ac84b: Pulling fs layer
f1c3c72ac84b: Verifying Checksum
f1c3c72ac84b: Download complete
f1c3c72ac84b: Pull complete
Digest: sha256:7f9777fef5ce17e2d2dd28006fd82fddc69b7be93776412d5942acd680d139d5
Status: Downloaded newer image for ocaml/opam@sha256:7f9777fef5ce17e2d2dd28006fd82fddc69b7be93776412d5942acd680d139d5
2025-11-05 22:44.53 ---> using "5d6d2adeea6498cb054cbaa953620718d759b910a698acc7738d67264fb7eaa1" from cache


/: (comment ubuntu-24.04-5.4_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:44.53 ---> using "ff38d6915481dc9a36bf2d114fc5a9d0b2d1a1dbad496811b922fa3afc84c5f0" 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.2, 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] Initialised
2025-11-05 22:44.53 ---> using "70f6ddc0d313244ab04c80a4be70840866e3bc306fe0a3c4cab0b7475492c53d" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-86-generic
The OCaml toplevel, version 5.4.0
2.4.1
2025-11-05 22:44.53 ---> using "26641eadc3d21be41c3e29096effbb7c0ab3dcc86b9410f1473b5355900a4bb2" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-11-05 22:44.53 ---> using "1dc432d69883e95fa350b3538897b7b5f95eb1eec19966b001c917785170f6db" 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..21f97b2e6d  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


Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-11-05 22:44.53 ---> using "8e075e9bde7ee015969d64b74f04ccde8312b5166ddb0b70c2fdc94279479bac" from cache


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


/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.08 ---> saved as "8318d5d1c0063ce2bb63a857b7fb8de3cca8252f430b61801c75c698605a664e"


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


/src: (env DEPS "alcotest.1.9.1 arp.4.1.0 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.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.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 parsexp.v0.17.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.17.0 sexplib0.v0.17.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://archive.ubuntu.com/ubuntu noble InRelease
- Get:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:3 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:4 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [2842 kB]
- Get:5 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Get:6 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1939 kB]
- Get:7 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [35.9 kB]
- Get:8 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [2005 kB]
- Get:9 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [2703 kB]
- Get:10 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1170 kB]
- Get:11 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Packages [33.1 kB]
- Get:12 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1639 kB]
- Fetched 12.7 MB in 2s (7029 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-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[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-effects 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).
2025-11-05 22:45.32 ---> saved as "c5d93030c6591da6f43c6e1ac7648df64e6cbf392e5bdf9cc38eaf353db62104"


/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-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[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-effects 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 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.17.0
- 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.17.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.17.0
- install sexplib0            v0.17.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 lwt-dllist.1.1.0  (cached)
-> retrieved lwt_log.1.1.2  (cached)
-> retrieved menhir.20250912, menhirCST.20250912, menhirLib.20250912, menhirSdk.20250912  (cached)
-> retrieved digestif.1.3.0  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> retrieved metrics.0.5.0  (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)
-> installed cmdliner.2.0.0
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ohex.0.2.0  (cached)
-> retrieved parsexp.v0.17.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.17.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved tcpip.9.0.1  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved tuntap.2.0.1  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved ppxlib.0.37.0  (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 ohex.0.2.0
-> installed ppx_derivers.1.2.1
-> installed psq.0.2.1
-> installed randomconv.0.2.0
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ocplib-endian.1.2
-> installed ocaml-compiler-libs.v0.17.0
-> installed cstruct-unix.6.2.0
-> installed macaddr-cstruct.5.6.1
-> installed lru.0.3.1
-> installed re.1.14.0
-> installed ipaddr.5.6.1
-> installed ipaddr-cstruct.5.6.1
-> installed digestif.1.3.0
-> installed tuntap.2.0.1
-> installed parsexp.v0.17.0
-> installed alcotest.1.9.1
-> installed dune-configurator.3.20.2
-> installed sexplib.v0.17.0
-> installed mirage-crypto.2.0.2
-> installed lwt.5.9.2
-> installed mirage-net.4.0.0
-> installed cstruct-lwt.6.2.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 menhir.20250912
-> installed ppxlib.0.37.0
-> 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:50.18 ---> saved as "b20bf9e404e31d5769e91fb1e76cfb634bc4ff08dd723c27d3a1c577491ec85f"


/src: (copy (src .) (dst /src))
2025-11-05 22:50.19 ---> saved as "a67c3630a5f4b2dc152ca4ddbb0d95f2a2c61edc491bd252b85f3881dfd81ca9"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/5.4/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 -bin-annot-occurrences -I test/.test.eobjs/byte -I /home/opam/.opam/5.4/lib/alcotest -I /home/opam/.opam/5.4/lib/alcotest/engine -I /home/opam/.opam/5.4/lib/alcotest/stdlib_ext -I /home/opam/.opam/5.4/lib/arp -I /home/opam/.opam/5.4/lib/arp/mirage -I /home/opam/.opam/5.4/lib/astring -I /home/opam/.opam/5.4/lib/bytes -I /home/opam/.opam/5.4/lib/cmdliner -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/cstruct-unix -I /home/opam/.opam/5.4/lib/digestif/c -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/duration -I /home/opam/.opam/5.4/lib/eqaf -I /home/opam/.opam/5.4/lib/ethernet -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/fmt/cli -I /home/opam/.opam/5.4/lib/fmt/tty -I /home/opam/.opam/5.4/lib/ipaddr -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/lru -I /home/opam/.opam/5.4/lib/lwt -I /home/opam/.opam/5.4/lib/lwt/unix -I /home/opam/.opam/5.4/lib/macaddr -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/mirage-crypto-rng -I /home/opam/.opam/5.4/lib/mirage-flow -I /home/opam/.opam/5.4/lib/mirage-mtime/unix -I /home/opam/.opam/5.4/lib/mirage-net -I /home/opam/.opam/5.4/lib/mirage-sleep/unix -I /home/opam/.opam/5.4/lib/mtime -I /home/opam/.opam/5.4/lib/mtime/clock -I /home/opam/.opam/5.4/lib/ocaml/threads -I /home/opam/.opam/5.4/lib/ocaml/unix -I /home/opam/.opam/5.4/lib/ocplib-endian -I /home/opam/.opam/5.4/lib/ocplib-endian/bigstring -I /home/opam/.opam/5.4/lib/ohex -I /home/opam/.opam/5.4/lib/psq -I /home/opam/.opam/5.4/lib/randomconv -I /home/opam/.opam/5.4/lib/re -I /home/opam/.opam/5.4/lib/seq -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/tcpip -I /home/opam/.opam/5.4/lib/tcpip/checksum -I /home/opam/.opam/5.4/lib/tcpip/ipv4 -I /home/opam/.opam/5.4/lib/tcpip/udp -I /home/opam/.opam/5.4/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: The value e has type [ `Msg of string | `Not_dhcp ]
but an expression was expected of type string
(cd _build/default && /home/opam/.opam/5.4/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 -bin-annot-occurrences -I test/client/.test_client.eobjs/byte -I /home/opam/.opam/5.4/lib/alcotest -I /home/opam/.opam/5.4/lib/alcotest/engine -I /home/opam/.opam/5.4/lib/alcotest/stdlib_ext -I /home/opam/.opam/5.4/lib/arp -I /home/opam/.opam/5.4/lib/arp/mirage -I /home/opam/.opam/5.4/lib/astring -I /home/opam/.opam/5.4/lib/bytes -I /home/opam/.opam/5.4/lib/cmdliner -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/cstruct-unix -I /home/opam/.opam/5.4/lib/digestif/c -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/duration -I /home/opam/.opam/5.4/lib/eqaf -I /home/opam/.opam/5.4/lib/ethernet -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/fmt/cli -I /home/opam/.opam/5.4/lib/fmt/tty -I /home/opam/.opam/5.4/lib/ipaddr -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/lru -I /home/opam/.opam/5.4/lib/lwt -I /home/opam/.opam/5.4/lib/lwt/unix -I /home/opam/.opam/5.4/lib/macaddr -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/mirage-crypto-rng -I /home/opam/.opam/5.4/lib/mirage-crypto-rng/unix -I /home/opam/.opam/5.4/lib/mirage-flow -I /home/opam/.opam/5.4/lib/mirage-mtime/unix -I /home/opam/.opam/5.4/lib/mirage-net -I /home/opam/.opam/5.4/lib/mirage-sleep/unix -I /home/opam/.opam/5.4/lib/mtime -I /home/opam/.opam/5.4/lib/mtime/clock -I /home/opam/.opam/5.4/lib/ocaml/threads -I /home/opam/.opam/5.4/lib/ocaml/unix -I /home/opam/.opam/5.4/lib/ocplib-endian -I /home/opam/.opam/5.4/lib/ocplib-endian/bigstring -I /home/opam/.opam/5.4/lib/ohex -I /home/opam/.opam/5.4/lib/psq -I /home/opam/.opam/5.4/lib/randomconv -I /home/opam/.opam/5.4/lib/re -I /home/opam/.opam/5.4/lib/seq -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/tcpip -I /home/opam/.opam/5.4/lib/tcpip/checksum -I /home/opam/.opam/5.4/lib/tcpip/ipv4 -I /home/opam/.opam/5.4/lib/tcpip/udp -I /home/opam/.opam/5.4/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
(cd _build/default && /home/opam/.opam/5.4/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 -bin-annot-occurrences -I test/client/lwt/.test_client_lwt.eobjs/byte -I /home/opam/.opam/5.4/lib/alcotest -I /home/opam/.opam/5.4/lib/alcotest/engine -I /home/opam/.opam/5.4/lib/alcotest/stdlib_ext -I /home/opam/.opam/5.4/lib/arp -I /home/opam/.opam/5.4/lib/arp/mirage -I /home/opam/.opam/5.4/lib/astring -I /home/opam/.opam/5.4/lib/bytes -I /home/opam/.opam/5.4/lib/cmdliner -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/cstruct-unix -I /home/opam/.opam/5.4/lib/digestif/c -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/duration -I /home/opam/.opam/5.4/lib/eqaf -I /home/opam/.opam/5.4/lib/ethernet -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/fmt/cli -I /home/opam/.opam/5.4/lib/fmt/tty -I /home/opam/.opam/5.4/lib/ipaddr -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/lru -I /home/opam/.opam/5.4/lib/lwt -I /home/opam/.opam/5.4/lib/lwt/unix -I /home/opam/.opam/5.4/lib/macaddr -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/mirage-crypto-rng -I /home/opam/.opam/5.4/lib/mirage-crypto-rng/unix -I /home/opam/.opam/5.4/lib/mirage-flow -I /home/opam/.opam/5.4/lib/mirage-mtime/unix -I /home/opam/.opam/5.4/lib/mirage-net -I /home/opam/.opam/5.4/lib/mirage-sleep/unix -I /home/opam/.opam/5.4/lib/mtime -I /home/opam/.opam/5.4/lib/mtime/clock -I /home/opam/.opam/5.4/lib/ocaml/threads -I /home/opam/.opam/5.4/lib/ocaml/unix -I /home/opam/.opam/5.4/lib/ocplib-endian -I /home/opam/.opam/5.4/lib/ocplib-endian/bigstring -I /home/opam/.opam/5.4/lib/ohex -I /home/opam/.opam/5.4/lib/psq -I /home/opam/.opam/5.4/lib/randomconv -I /home/opam/.opam/5.4/lib/re -I /home/opam/.opam/5.4/lib/seq -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/tcpip -I /home/opam/.opam/5.4/lib/tcpip/checksum -I /home/opam/.opam/5.4/lib/tcpip/ipv4 -I /home/opam/.opam/5.4/lib/tcpip/udp -I /home/opam/.opam/5.4/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: The value Lwt_stream.get 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
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-11-05 22:50.23: Job failed: Failed: Build failed