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-4.14_arm64_opam-2.4) Base: macos-homebrew-ocaml-4.14 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-4.14 # macos-homebrew-4.14_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-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-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 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.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 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-4.14-macos-homebrew-4.14_arm64_opam-2.4-53b3583eb1933a4d8ea5ec8fa5e04a8d" 2025-11-05 15:32.00: Using OBuilder spec: ((from macos-homebrew-ocaml-4.14) (comment macos-homebrew-4.14_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-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-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 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.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 /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.59: Waiting for worker… 2025-11-05 23:30.16: Got resource from pool OCluster Building on m1-worker-04 Initialized empty Git repository in /private/var/lib/ocluster-worker/git/charrua.git-71446dd4497230fa78a03e181be16018f4f2fc12/.git/ HEAD is now at bbb1f15 We were not correctly reporting not-dhcp (from macos-homebrew-ocaml-4.14) 2025-11-05 23:30.21 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache /: (comment macos-homebrew-4.14_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.21 ---> using "16fd332aba96a180769fbf49639a0f9a6aa6ed7d2edfa24c2b9bea4039176eb4" 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.22 ---> using "441082522a992e4675bb61cf184ac4d487fcb27eccab875ab68ef480e42527a0" from cache /: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Darwin 24.5.0 The OCaml toplevel, version 4.14.2 2.4.1 2025-11-05 23:30.22 ---> using "73a23ad864bce177bda3ef5ed15fdc258f712e067e25e839184501078d169a1f" 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 Everything as up-to-date as possible The following packages are not being upgraded because the new versions conflict with other installed packages: - ocaml.5.4.0 - ocaml-config.3 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 23:30.22 ---> using "739359ade45e20d32ff2934dfb2cdac5e87c608d3ba75eb33c94961c1b2c8e49" from cache /: (copy (src charrua.opam charrua-unix.opam charrua-server.opam charrua-client.opam) (dst ./src/./)) 2025-11-05 23:30.23 ---> saved as "125a6254a9c3c255c6b7bc628086876bdccadbe9901d195743611dd2b0f83ffe" /: (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.35 ---> saved as "072f008cbc5c32f4d1dff1929d48f2e890ada692e595050637077a0c57777754" /: (run (network host) (shell "echo '(lang dune 3.0)' > './src/./dune-project'")) 2025-11-05 23:30.36 ---> saved as "8b1cd77b4ae58d5b2de90a66a03588857e94814912e0629c9266715ea34bacf3" /: (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-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 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.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 /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 2). [NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.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 23:30.51 ---> saved as "b0eae6bc6118272bf38a42ecd73782827c18a10daa430021cff73859739dd69b" /: (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 2). [NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.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 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 num.1.6 (cached) -> retrieved ocaml-syntax-shims.1.0.0 (cached) -> retrieved ocaml-compiler-libs.v0.12.4 (cached) -> retrieved ocamlfind.1.9.8 (cached) -> retrieved ocplib-endian.1.2 (cached) -> retrieved ocamlbuild.0.16.1 (cached) -> retrieved parsexp.v0.16.0 (cached) -> retrieved ohex.0.2.0 (cached) -> retrieved ppx_derivers.1.2.1 (cached) -> retrieved dune.3.20.2, dune-configurator.3.20.2 (cached) -> retrieved randomconv.0.2.0 (cached) -> retrieved psq.0.2.1 (cached) -> retrieved ppxlib.0.37.0 (cached) -> retrieved seq.base (cached) -> installed seq.base -> retrieved re.1.14.0 (cached) -> retrieved sexplib.v0.16.0 (cached) -> retrieved sexplib0.v0.16.0 (cached) -> retrieved stdlib-shims.0.3.0 (cached) -> installed num.1.6 -> retrieved topkg.1.1.1 (cached) -> retrieved tcpip.9.0.1 (cached) -> retrieved tuntap.2.0.1 (cached) -> retrieved uutf.1.0.4 (cached) -> retrieved rawlink.2.1, rawlink-lwt.2.1 (https://github.com/haesbaert/rawlink/releases/download/v2.1/rawlink-2.1.tbz) -> installed cmdliner.2.0.0 -> 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 macaddr.5.6.1 -> installed eqaf.0.10 -> installed cstruct.6.2.0 -> installed csexp.1.5.2 -> installed menhirCST.20250912 -> installed cstruct-unix.6.2.0 -> installed digestif.1.3.0 -> installed ipaddr.5.6.1 -> installed menhirSdk.20250912 -> installed menhirLib.20250912 -> installed cppo.1.8.0 -> installed macaddr-cstruct.5.6.1 -> installed metrics.0.5.0 -> installed ipaddr-cstruct.5.6.1 -> installed mirage-mtime.5.2.0 -> installed ohex.0.2.0 -> installed ppx_derivers.1.2.1 -> installed ocaml-compiler-libs.v0.12.4 -> installed randomconv.0.2.0 -> installed ocplib-endian.1.2 -> installed ocaml-syntax-shims.1.0.0 -> installed psq.0.2.1 -> installed stdlib-shims.0.3.0 -> installed tuntap.2.0.1 -> installed lru.0.3.1 -> installed sexplib0.v0.16.0 -> installed dune-configurator.3.20.2 -> installed re.1.14.0 -> installed mirage-crypto.2.0.2 -> installed parsexp.v0.16.0 -> installed alcotest.1.9.1 -> installed sexplib.v0.16.0 -> installed lwt.5.9.2 -> installed cstruct-lwt.6.2.0 -> installed mirage-flow.5.0.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 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.59 ---> saved as "aca3fcff6be848327851f7e5ce11b28f99dda7f5a47ab7a1911cc4e76e9f157c" /: (copy (src .) (dst ./src)) 2025-11-05 23:32.00 ---> saved as "3f99bc9b7981bb28d3d206458cb465d53fdfd2f938e554c314e99079c940d909" /: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build")) (cd _build/default && /Users/mac1000/.opam/4.14.2/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 /Users/mac1000/.opam/4.14.2/lib/alcotest -I /Users/mac1000/.opam/4.14.2/lib/alcotest/engine -I /Users/mac1000/.opam/4.14.2/lib/alcotest/stdlib_ext -I /Users/mac1000/.opam/4.14.2/lib/arp -I /Users/mac1000/.opam/4.14.2/lib/arp/mirage -I /Users/mac1000/.opam/4.14.2/lib/astring -I /Users/mac1000/.opam/4.14.2/lib/bytes -I /Users/mac1000/.opam/4.14.2/lib/cmdliner -I /Users/mac1000/.opam/4.14.2/lib/cstruct -I /Users/mac1000/.opam/4.14.2/lib/cstruct-unix -I /Users/mac1000/.opam/4.14.2/lib/digestif/c -I /Users/mac1000/.opam/4.14.2/lib/domain-name -I /Users/mac1000/.opam/4.14.2/lib/duration -I /Users/mac1000/.opam/4.14.2/lib/eqaf -I /Users/mac1000/.opam/4.14.2/lib/ethernet -I /Users/mac1000/.opam/4.14.2/lib/fmt -I /Users/mac1000/.opam/4.14.2/lib/fmt/cli -I /Users/mac1000/.opam/4.14.2/lib/fmt/tty -I /Users/mac1000/.opam/4.14.2/lib/ipaddr -I /Users/mac1000/.opam/4.14.2/lib/logs -I /Users/mac1000/.opam/4.14.2/lib/lru -I /Users/mac1000/.opam/4.14.2/lib/lwt -I /Users/mac1000/.opam/4.14.2/lib/lwt/unix -I /Users/mac1000/.opam/4.14.2/lib/macaddr -I /Users/mac1000/.opam/4.14.2/lib/mirage-crypto -I /Users/mac1000/.opam/4.14.2/lib/mirage-crypto-rng -I /Users/mac1000/.opam/4.14.2/lib/mirage-crypto-rng/unix -I /Users/mac1000/.opam/4.14.2/lib/mirage-flow -I /Users/mac1000/.opam/4.14.2/lib/mirage-mtime/unix -I /Users/mac1000/.opam/4.14.2/lib/mirage-net -I /Users/mac1000/.opam/4.14.2/lib/mirage-sleep/unix -I /Users/mac1000/.opam/4.14.2/lib/mtime -I /Users/mac1000/.opam/4.14.2/lib/mtime/clock -I /Users/mac1000/.opam/4.14.2/lib/ocaml/threads -I /Users/mac1000/.opam/4.14.2/lib/ocplib-endian -I /Users/mac1000/.opam/4.14.2/lib/ocplib-endian/bigstring -I /Users/mac1000/.opam/4.14.2/lib/ohex -I /Users/mac1000/.opam/4.14.2/lib/psq -I /Users/mac1000/.opam/4.14.2/lib/randomconv -I /Users/mac1000/.opam/4.14.2/lib/re -I /Users/mac1000/.opam/4.14.2/lib/seq -I /Users/mac1000/.opam/4.14.2/lib/stdlib-shims -I /Users/mac1000/.opam/4.14.2/lib/tcpip -I /Users/mac1000/.opam/4.14.2/lib/tcpip/checksum -I /Users/mac1000/.opam/4.14.2/lib/tcpip/ipv4 -I /Users/mac1000/.opam/4.14.2/lib/tcpip/udp -I /Users/mac1000/.opam/4.14.2/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 && /Users/mac1000/.opam/4.14.2/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 /Users/mac1000/.opam/4.14.2/lib/alcotest -I /Users/mac1000/.opam/4.14.2/lib/alcotest/engine -I /Users/mac1000/.opam/4.14.2/lib/alcotest/stdlib_ext -I /Users/mac1000/.opam/4.14.2/lib/arp -I /Users/mac1000/.opam/4.14.2/lib/arp/mirage -I /Users/mac1000/.opam/4.14.2/lib/astring -I /Users/mac1000/.opam/4.14.2/lib/bytes -I /Users/mac1000/.opam/4.14.2/lib/cmdliner -I /Users/mac1000/.opam/4.14.2/lib/cstruct -I /Users/mac1000/.opam/4.14.2/lib/cstruct-unix -I /Users/mac1000/.opam/4.14.2/lib/digestif/c -I /Users/mac1000/.opam/4.14.2/lib/domain-name -I /Users/mac1000/.opam/4.14.2/lib/duration -I /Users/mac1000/.opam/4.14.2/lib/eqaf -I /Users/mac1000/.opam/4.14.2/lib/ethernet -I /Users/mac1000/.opam/4.14.2/lib/fmt -I /Users/mac1000/.opam/4.14.2/lib/fmt/cli -I /Users/mac1000/.opam/4.14.2/lib/fmt/tty -I /Users/mac1000/.opam/4.14.2/lib/ipaddr -I /Users/mac1000/.opam/4.14.2/lib/logs -I /Users/mac1000/.opam/4.14.2/lib/lru -I /Users/mac1000/.opam/4.14.2/lib/lwt -I /Users/mac1000/.opam/4.14.2/lib/lwt/unix -I /Users/mac1000/.opam/4.14.2/lib/macaddr -I /Users/mac1000/.opam/4.14.2/lib/mirage-crypto -I /Users/mac1000/.opam/4.14.2/lib/mirage-crypto-rng -I /Users/mac1000/.opam/4.14.2/lib/mirage-flow -I /Users/mac1000/.opam/4.14.2/lib/mirage-mtime/unix -I /Users/mac1000/.opam/4.14.2/lib/mirage-net -I /Users/mac1000/.opam/4.14.2/lib/mirage-sleep/unix -I /Users/mac1000/.opam/4.14.2/lib/mtime -I /Users/mac1000/.opam/4.14.2/lib/mtime/clock -I /Users/mac1000/.opam/4.14.2/lib/ocaml/threads -I /Users/mac1000/.opam/4.14.2/lib/ocplib-endian -I /Users/mac1000/.opam/4.14.2/lib/ocplib-endian/bigstring -I /Users/mac1000/.opam/4.14.2/lib/ohex -I /Users/mac1000/.opam/4.14.2/lib/psq -I /Users/mac1000/.opam/4.14.2/lib/randomconv -I /Users/mac1000/.opam/4.14.2/lib/re -I /Users/mac1000/.opam/4.14.2/lib/seq -I /Users/mac1000/.opam/4.14.2/lib/stdlib-shims -I /Users/mac1000/.opam/4.14.2/lib/tcpip -I /Users/mac1000/.opam/4.14.2/lib/tcpip/checksum -I /Users/mac1000/.opam/4.14.2/lib/tcpip/ipv4 -I /Users/mac1000/.opam/4.14.2/lib/tcpip/udp -I /Users/mac1000/.opam/4.14.2/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 && /Users/mac1000/.opam/4.14.2/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 /Users/mac1000/.opam/4.14.2/lib/alcotest -I /Users/mac1000/.opam/4.14.2/lib/alcotest/engine -I /Users/mac1000/.opam/4.14.2/lib/alcotest/stdlib_ext -I /Users/mac1000/.opam/4.14.2/lib/arp -I /Users/mac1000/.opam/4.14.2/lib/arp/mirage -I /Users/mac1000/.opam/4.14.2/lib/astring -I /Users/mac1000/.opam/4.14.2/lib/bytes -I /Users/mac1000/.opam/4.14.2/lib/cmdliner -I /Users/mac1000/.opam/4.14.2/lib/cstruct -I /Users/mac1000/.opam/4.14.2/lib/cstruct-unix -I /Users/mac1000/.opam/4.14.2/lib/digestif/c -I /Users/mac1000/.opam/4.14.2/lib/domain-name -I /Users/mac1000/.opam/4.14.2/lib/duration -I /Users/mac1000/.opam/4.14.2/lib/eqaf -I /Users/mac1000/.opam/4.14.2/lib/ethernet -I /Users/mac1000/.opam/4.14.2/lib/fmt -I /Users/mac1000/.opam/4.14.2/lib/fmt/cli -I /Users/mac1000/.opam/4.14.2/lib/fmt/tty -I /Users/mac1000/.opam/4.14.2/lib/ipaddr -I /Users/mac1000/.opam/4.14.2/lib/logs -I /Users/mac1000/.opam/4.14.2/lib/lru -I /Users/mac1000/.opam/4.14.2/lib/lwt -I /Users/mac1000/.opam/4.14.2/lib/lwt/unix -I /Users/mac1000/.opam/4.14.2/lib/macaddr -I /Users/mac1000/.opam/4.14.2/lib/mirage-crypto -I /Users/mac1000/.opam/4.14.2/lib/mirage-crypto-rng -I /Users/mac1000/.opam/4.14.2/lib/mirage-crypto-rng/unix -I /Users/mac1000/.opam/4.14.2/lib/mirage-flow -I /Users/mac1000/.opam/4.14.2/lib/mirage-mtime/unix -I /Users/mac1000/.opam/4.14.2/lib/mirage-net -I /Users/mac1000/.opam/4.14.2/lib/mirage-sleep/unix -I /Users/mac1000/.opam/4.14.2/lib/mtime -I /Users/mac1000/.opam/4.14.2/lib/mtime/clock -I /Users/mac1000/.opam/4.14.2/lib/ocaml/threads -I /Users/mac1000/.opam/4.14.2/lib/ocplib-endian -I /Users/mac1000/.opam/4.14.2/lib/ocplib-endian/bigstring -I /Users/mac1000/.opam/4.14.2/lib/ohex -I /Users/mac1000/.opam/4.14.2/lib/psq -I /Users/mac1000/.opam/4.14.2/lib/randomconv -I /Users/mac1000/.opam/4.14.2/lib/re -I /Users/mac1000/.opam/4.14.2/lib/seq -I /Users/mac1000/.opam/4.14.2/lib/stdlib-shims -I /Users/mac1000/.opam/4.14.2/lib/tcpip -I /Users/mac1000/.opam/4.14.2/lib/tcpip/checksum -I /Users/mac1000/.opam/4.14.2/lib/tcpip/ipv4 -I /Users/mac1000/.opam/4.14.2/lib/tcpip/udp -I /Users/mac1000/.opam/4.14.2/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.06: Job failed: Failed: Build failed