Organisationsmiragecharruabbb1f1 ()macos-homebrew-5.4_arm64_opam-2.4

macos-homebrew-5.4_arm64_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) (macos-arm64:macos-homebrew-5.4_arm64_opam-2.4)
Base: macos-homebrew-ocaml-5.4
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 macos-homebrew-ocaml-5.4
# macos-homebrew-5.4_arm64_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.4 ~/local/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
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 ./src/./
RUN opam pin add -yn charrua.dev './src/./' && \
opam pin add -yn charrua-unix.dev './src/./' && \
opam pin add -yn charrua-server.dev './src/./' && \
opam pin add -yn charrua-client.dev './src/./'
RUN echo '(lang dune 3.0)' > './src/./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 cd ./src && 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-macos-homebrew-ocaml-5.4-macos-homebrew-5.4_arm64_opam-2.4-b0c8898db2b91238980a4e3cd9526d10"
2025-11-05 15:32.00: Using OBuilder spec:
((from macos-homebrew-ocaml-5.4)
(comment macos-homebrew-5.4_arm64_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f ~/local/bin/opam-2.4 ~/local/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(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 ./src/./))
(run (network host)
(shell  "opam pin add -yn charrua.dev './src/./' && \
\nopam pin add -yn charrua-unix.dev './src/./' && \
\nopam pin add -yn charrua-server.dev './src/./' && \
\nopam pin add -yn charrua-client.dev './src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './src/./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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst ./src))
(run (shell "cd ./src && 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 21:51.49: Waiting for worker…
2025-11-05 23:30.09: Got resource from pool OCluster
Building on m1-worker-01
All commits already cached
HEAD is now at bbb1f15 We were not correctly reporting not-dhcp


(from macos-homebrew-ocaml-5.4)
2025-11-05 23:30.09 ---> using "338135fbf1889e924a607b47198b8b308c32a925cc9436066d65a9bdc402cad5" from cache


/: (comment macos-homebrew-5.4_arm64_opam-2.4)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (run (shell "ln -f ~/local/bin/opam-2.4 ~/local/bin/opam"))
2025-11-05 23:30.10 ---> using "c45c11c7286cf606ab2156414383237a0e197bf48b9278e9465cc1693c9332b7" from cache


/: (run (shell "opam init --reinit -ni"))
No configuration file found, using 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 /Users/mac1000/.opam from version 2.1 to version 2.2, which can't be reverted.
You may want to back it up before going further.


Continue? [Y/n] y
[NOTE] The 'jobs' option was reset, its value was 1 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=1 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///Users/mac1000/opam-repository
2025-11-05 23:30.10 ---> using "59a16318ff40c58338bc0b572a2d778111fa14b30a0dc4a11f6465d8abb80bbd" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 24.5.0
The OCaml toplevel, version 5.4.0
2.4.1
2025-11-05 23:30.10 ---> using "03cbf303c2ae412068cf1b7f097ec773b09f8e6d693af9a4cf051761664f96f9" from cache


/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(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
5bf570252b..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:///Users/mac1000/opam-repository


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


/: (copy (src charrua.opam charrua-unix.opam charrua-server.opam charrua-client.opam)
(dst ./src/./))
2025-11-05 23:30.11 ---> saved as "98444c36b46afac6aecce71a9d024493cf216a069b05990c9036df53662ace46"


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


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


/: (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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(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"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[charrua-server.dev] synchronised (file:///Users/mac1000/src)
[charrua-client.dev] synchronised (file:///Users/mac1000/src)
[charrua.dev] synchronised (file:///Users/mac1000/src)
[charrua-unix.dev] synchronised (file:///Users/mac1000/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 23:30.42 ---> saved as "7acd89d64fca8324fd4e88eb7714018b4ccf9c4572a2ead000c040b32c195e3a"


/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(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 astring.0.8.5  (cached)
-> retrieved arp.4.1.0  (cached)
-> retrieved alcotest.1.9.1  (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 cmdliner.2.0.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 digestif.1.3.0  (cached)
-> retrieved logs.0.10.0  (cached)
-> retrieved lru.0.3.1  (cached)
-> retrieved lwt-dllist.1.1.0  (cached)
-> retrieved lwt_log.1.1.2  (cached)
-> retrieved lwt.5.9.2  (cached)
-> retrieved metrics.0.5.0  (cached)
-> retrieved menhir.20250912, menhirCST.20250912, menhirLib.20250912, menhirSdk.20250912  (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 ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved num.1.6  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> installed num.1.6
-> retrieved ohex.0.2.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved parsexp.v0.17.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved randomconv.0.2.0  (cached)
-> retrieved psq.0.2.1  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved seq.base  (cached)
-> retrieved rawlink.2.1, rawlink-lwt.2.1  (cached)
-> retrieved ppxlib.0.37.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved sexplib.v0.17.0  (cached)
-> retrieved tuntap.2.0.1  (cached)
-> retrieved tcpip.9.0.1  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.1.1  (cached)
-> installed cmdliner.2.0.0
-> installed seq.base
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed mtime.2.1.0
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed dune.3.20.2
-> installed duration.0.2.1
-> installed lwt-dllist.1.1.0
-> installed domain-name.0.5.0
-> installed cstruct.6.2.0
-> installed macaddr.5.6.1
-> installed eqaf.0.10
-> installed csexp.1.5.2
-> installed menhirCST.20250912
-> installed digestif.1.3.0
-> installed ipaddr.5.6.1
-> installed cstruct-unix.6.2.0
-> installed menhirSdk.20250912
-> installed menhirLib.20250912
-> installed cppo.1.8.0
-> installed ipaddr-cstruct.5.6.1
-> installed macaddr-cstruct.5.6.1
-> installed mirage-mtime.5.2.0
-> installed metrics.0.5.0
-> installed ohex.0.2.0
-> installed ppx_derivers.1.2.1
-> installed ocplib-endian.1.2
-> installed ocaml-compiler-libs.v0.17.0
-> installed randomconv.0.2.0
-> installed ocaml-syntax-shims.1.0.0
-> installed psq.0.2.1
-> installed tuntap.2.0.1
-> installed stdlib-shims.0.3.0
-> installed lru.0.3.1
-> installed sexplib0.v0.17.0
-> installed dune-configurator.3.20.2
-> installed re.1.14.0
-> installed mirage-crypto.2.0.2
-> installed alcotest.1.9.1
-> installed lwt.5.9.2
-> installed mirage-flow.5.0.0
-> installed cstruct-lwt.6.2.0
-> installed parsexp.v0.17.0
-> installed mirage-net.4.0.0
-> installed lwt_log.1.1.2
-> installed mirage-sleep.4.1.0
-> installed logs.0.10.0
-> installed sexplib.v0.17.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 23:31.53 ---> saved as "245260b13011e4db5f3b0b1ba4232ebea41ae5e50ad6aacd41bcfe130af4f003"


/: (copy (src .) (dst ./src))
2025-11-05 23:31.54 ---> saved as "795e299fa80385374358dcb7445e7608dd63772dfd66eb2b923553c5c590e99b"


/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /Users/mac1000/.opam/5.4.0/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 /Users/mac1000/.opam/5.4.0/lib/alcotest -I /Users/mac1000/.opam/5.4.0/lib/alcotest/engine -I /Users/mac1000/.opam/5.4.0/lib/alcotest/stdlib_ext -I /Users/mac1000/.opam/5.4.0/lib/arp -I /Users/mac1000/.opam/5.4.0/lib/arp/mirage -I /Users/mac1000/.opam/5.4.0/lib/astring -I /Users/mac1000/.opam/5.4.0/lib/bytes -I /Users/mac1000/.opam/5.4.0/lib/cmdliner -I /Users/mac1000/.opam/5.4.0/lib/cstruct -I /Users/mac1000/.opam/5.4.0/lib/cstruct-unix -I /Users/mac1000/.opam/5.4.0/lib/digestif/c -I /Users/mac1000/.opam/5.4.0/lib/domain-name -I /Users/mac1000/.opam/5.4.0/lib/duration -I /Users/mac1000/.opam/5.4.0/lib/eqaf -I /Users/mac1000/.opam/5.4.0/lib/ethernet -I /Users/mac1000/.opam/5.4.0/lib/fmt -I /Users/mac1000/.opam/5.4.0/lib/fmt/cli -I /Users/mac1000/.opam/5.4.0/lib/fmt/tty -I /Users/mac1000/.opam/5.4.0/lib/ipaddr -I /Users/mac1000/.opam/5.4.0/lib/logs -I /Users/mac1000/.opam/5.4.0/lib/lru -I /Users/mac1000/.opam/5.4.0/lib/lwt -I /Users/mac1000/.opam/5.4.0/lib/lwt/unix -I /Users/mac1000/.opam/5.4.0/lib/macaddr -I /Users/mac1000/.opam/5.4.0/lib/mirage-crypto -I /Users/mac1000/.opam/5.4.0/lib/mirage-crypto-rng -I /Users/mac1000/.opam/5.4.0/lib/mirage-crypto-rng/unix -I /Users/mac1000/.opam/5.4.0/lib/mirage-flow -I /Users/mac1000/.opam/5.4.0/lib/mirage-mtime/unix -I /Users/mac1000/.opam/5.4.0/lib/mirage-net -I /Users/mac1000/.opam/5.4.0/lib/mirage-sleep/unix -I /Users/mac1000/.opam/5.4.0/lib/mtime -I /Users/mac1000/.opam/5.4.0/lib/mtime/clock -I /Users/mac1000/.opam/5.4.0/lib/ocaml/threads -I /Users/mac1000/.opam/5.4.0/lib/ocaml/unix -I /Users/mac1000/.opam/5.4.0/lib/ocplib-endian -I /Users/mac1000/.opam/5.4.0/lib/ocplib-endian/bigstring -I /Users/mac1000/.opam/5.4.0/lib/ohex -I /Users/mac1000/.opam/5.4.0/lib/psq -I /Users/mac1000/.opam/5.4.0/lib/randomconv -I /Users/mac1000/.opam/5.4.0/lib/re -I /Users/mac1000/.opam/5.4.0/lib/seq -I /Users/mac1000/.opam/5.4.0/lib/stdlib-shims -I /Users/mac1000/.opam/5.4.0/lib/tcpip -I /Users/mac1000/.opam/5.4.0/lib/tcpip/checksum -I /Users/mac1000/.opam/5.4.0/lib/tcpip/ipv4 -I /Users/mac1000/.opam/5.4.0/lib/tcpip/udp -I /Users/mac1000/.opam/5.4.0/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
(cd _build/default && /Users/mac1000/.opam/5.4.0/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 /Users/mac1000/.opam/5.4.0/lib/alcotest -I /Users/mac1000/.opam/5.4.0/lib/alcotest/engine -I /Users/mac1000/.opam/5.4.0/lib/alcotest/stdlib_ext -I /Users/mac1000/.opam/5.4.0/lib/arp -I /Users/mac1000/.opam/5.4.0/lib/arp/mirage -I /Users/mac1000/.opam/5.4.0/lib/astring -I /Users/mac1000/.opam/5.4.0/lib/bytes -I /Users/mac1000/.opam/5.4.0/lib/cmdliner -I /Users/mac1000/.opam/5.4.0/lib/cstruct -I /Users/mac1000/.opam/5.4.0/lib/cstruct-unix -I /Users/mac1000/.opam/5.4.0/lib/digestif/c -I /Users/mac1000/.opam/5.4.0/lib/domain-name -I /Users/mac1000/.opam/5.4.0/lib/duration -I /Users/mac1000/.opam/5.4.0/lib/eqaf -I /Users/mac1000/.opam/5.4.0/lib/ethernet -I /Users/mac1000/.opam/5.4.0/lib/fmt -I /Users/mac1000/.opam/5.4.0/lib/fmt/cli -I /Users/mac1000/.opam/5.4.0/lib/fmt/tty -I /Users/mac1000/.opam/5.4.0/lib/ipaddr -I /Users/mac1000/.opam/5.4.0/lib/logs -I /Users/mac1000/.opam/5.4.0/lib/lru -I /Users/mac1000/.opam/5.4.0/lib/lwt -I /Users/mac1000/.opam/5.4.0/lib/lwt/unix -I /Users/mac1000/.opam/5.4.0/lib/macaddr -I /Users/mac1000/.opam/5.4.0/lib/mirage-crypto -I /Users/mac1000/.opam/5.4.0/lib/mirage-crypto-rng -I /Users/mac1000/.opam/5.4.0/lib/mirage-flow -I /Users/mac1000/.opam/5.4.0/lib/mirage-mtime/unix -I /Users/mac1000/.opam/5.4.0/lib/mirage-net -I /Users/mac1000/.opam/5.4.0/lib/mirage-sleep/unix -I /Users/mac1000/.opam/5.4.0/lib/mtime -I /Users/mac1000/.opam/5.4.0/lib/mtime/clock -I /Users/mac1000/.opam/5.4.0/lib/ocaml/threads -I /Users/mac1000/.opam/5.4.0/lib/ocaml/unix -I /Users/mac1000/.opam/5.4.0/lib/ocplib-endian -I /Users/mac1000/.opam/5.4.0/lib/ocplib-endian/bigstring -I /Users/mac1000/.opam/5.4.0/lib/ohex -I /Users/mac1000/.opam/5.4.0/lib/psq -I /Users/mac1000/.opam/5.4.0/lib/randomconv -I /Users/mac1000/.opam/5.4.0/lib/re -I /Users/mac1000/.opam/5.4.0/lib/seq -I /Users/mac1000/.opam/5.4.0/lib/stdlib-shims -I /Users/mac1000/.opam/5.4.0/lib/tcpip -I /Users/mac1000/.opam/5.4.0/lib/tcpip/checksum -I /Users/mac1000/.opam/5.4.0/lib/tcpip/ipv4 -I /Users/mac1000/.opam/5.4.0/lib/tcpip/udp -I /Users/mac1000/.opam/5.4.0/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 && /Users/mac1000/.opam/5.4.0/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 /Users/mac1000/.opam/5.4.0/lib/alcotest -I /Users/mac1000/.opam/5.4.0/lib/alcotest/engine -I /Users/mac1000/.opam/5.4.0/lib/alcotest/stdlib_ext -I /Users/mac1000/.opam/5.4.0/lib/arp -I /Users/mac1000/.opam/5.4.0/lib/arp/mirage -I /Users/mac1000/.opam/5.4.0/lib/astring -I /Users/mac1000/.opam/5.4.0/lib/bytes -I /Users/mac1000/.opam/5.4.0/lib/cmdliner -I /Users/mac1000/.opam/5.4.0/lib/cstruct -I /Users/mac1000/.opam/5.4.0/lib/cstruct-unix -I /Users/mac1000/.opam/5.4.0/lib/digestif/c -I /Users/mac1000/.opam/5.4.0/lib/domain-name -I /Users/mac1000/.opam/5.4.0/lib/duration -I /Users/mac1000/.opam/5.4.0/lib/eqaf -I /Users/mac1000/.opam/5.4.0/lib/ethernet -I /Users/mac1000/.opam/5.4.0/lib/fmt -I /Users/mac1000/.opam/5.4.0/lib/fmt/cli -I /Users/mac1000/.opam/5.4.0/lib/fmt/tty -I /Users/mac1000/.opam/5.4.0/lib/ipaddr -I /Users/mac1000/.opam/5.4.0/lib/logs -I /Users/mac1000/.opam/5.4.0/lib/lru -I /Users/mac1000/.opam/5.4.0/lib/lwt -I /Users/mac1000/.opam/5.4.0/lib/lwt/unix -I /Users/mac1000/.opam/5.4.0/lib/macaddr -I /Users/mac1000/.opam/5.4.0/lib/mirage-crypto -I /Users/mac1000/.opam/5.4.0/lib/mirage-crypto-rng -I /Users/mac1000/.opam/5.4.0/lib/mirage-crypto-rng/unix -I /Users/mac1000/.opam/5.4.0/lib/mirage-flow -I /Users/mac1000/.opam/5.4.0/lib/mirage-mtime/unix -I /Users/mac1000/.opam/5.4.0/lib/mirage-net -I /Users/mac1000/.opam/5.4.0/lib/mirage-sleep/unix -I /Users/mac1000/.opam/5.4.0/lib/mtime -I /Users/mac1000/.opam/5.4.0/lib/mtime/clock -I /Users/mac1000/.opam/5.4.0/lib/ocaml/threads -I /Users/mac1000/.opam/5.4.0/lib/ocaml/unix -I /Users/mac1000/.opam/5.4.0/lib/ocplib-endian -I /Users/mac1000/.opam/5.4.0/lib/ocplib-endian/bigstring -I /Users/mac1000/.opam/5.4.0/lib/ohex -I /Users/mac1000/.opam/5.4.0/lib/psq -I /Users/mac1000/.opam/5.4.0/lib/randomconv -I /Users/mac1000/.opam/5.4.0/lib/re -I /Users/mac1000/.opam/5.4.0/lib/seq -I /Users/mac1000/.opam/5.4.0/lib/stdlib-shims -I /Users/mac1000/.opam/5.4.0/lib/tcpip -I /Users/mac1000/.opam/5.4.0/lib/tcpip/checksum -I /Users/mac1000/.opam/5.4.0/lib/tcpip/ipv4 -I /Users/mac1000/.opam/5.4.0/lib/tcpip/udp -I /Users/mac1000/.opam/5.4.0/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" "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-11-05 23:32.00: Job failed: Failed: Build failed