OCamllabs icon Home|Differences with the last checks|Previous runs


Building on x86-bm-c9.sw.ocaml.org

(from ocaml/opam:debian-unstable)
Unable to find image 'ocaml/opam:debian-unstable' locally
debian-unstable: Pulling from ocaml/opam
63563b31af74: Pulling fs layer
63563b31af74: Verifying Checksum
63563b31af74: Download complete
63563b31af74: Pull complete
Digest: sha256:8f6038a9795a3c7cc61b90b742e29558b247d69f92f73dea67cb146602ff83f6
Status: Downloaded newer image for ocaml/opam:debian-unstable
2025-02-23 23:00.28 ---> using "0acd5aeaa8f7bc314514d9795d14a7f12ec72a6a5b11c5904350189734c6859b" from cache

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

/: (env OPAMPRECISETRACKING 1)

/: (env OPAMUTF8 never)

/: (env OPAMEXTERNALSOLVER builtin-0install)

/: (env OPAMCRITERIA +removed)

/: (env CI true)

/: (env OPAM_HEALTH_CHECK_CI true)

/: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-02-23 23:00.28 ---> using "40df4fa4cdfc68a5fa7a326047e82a7adc5df52b8059d4a7b745bdd50aad56e7" from cache

/: (run (network host)
        (shell "rm -rf ~/opam-repository && git clone -q 'https://github.com/ocaml/opam-repository' ~/opam-repository && git -C ~/opam-repository checkout -q 4022a684b64be8161a05cf897f492f8680792469"))
2025-02-23 23:00.28 ---> using "ced9ab1d6bac3c5f95cfdac2696c8d9202989b3f52ba62400bb20a10ac63d439" from cache

/: (run (shell "rm -rf ~/.opam && opam init -ya --bare --config ~/.opamrc-sandbox ~/opam-repository"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally 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.


<><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised

User configuration:
  ~/.profile is already up-to-date.
[NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc.

2025-02-23 23:00.28 ---> using "69f716af23f9139c4566fb0532f54e56ee4f6773c11e689dc47229d6a744c7e1" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
        (network host)
        (shell "opam switch create --repositories=default '5.3' '5.3.0'"))

<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-base-compiler" {= "5.3.0"} | "ocaml-system" {= "5.3.0"}]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-config.3  (cached)
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> installed ocaml-options-vanilla.1
-> retrieved ocaml-compiler.5.3.0  (cached)
-> installed ocaml-compiler.5.3.0
-> installed ocaml-base-compiler.5.3.0
-> installed ocaml-config.3
-> installed ocaml.5.3.0
-> installed base-domains.base
-> installed base-effects.base
-> installed base-nnp.base
Done.
# To update the current shell environment, run: eval $(opam env --switch=5.3)
2025-02-23 23:00.28 ---> using "8cb80bdf8c98b441ca1a62ad13717befd2e70e905b796cad3ff69df4d26bf351" from cache

/: (run (network host)
        (shell "opam update --depexts"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [205 kB]
- Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-02-21-0817.39-F-2025-02-16-2015.54.pdiff [385 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-02-21-0817.39-F-2025-02-16-2015.54.pdiff [385 kB]
- Fetched 654 kB in 3s (260 kB/s)
- Reading package lists...
- 
2025-02-23 23:00.28 ---> using "aab064613a33ea1c8e4184107fb782b7e34e02d2710ba539b18cbd20a9d40c72" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
        (network host)
        (shell "opam pin add -k version dune $(opam show -f version dune)"))
dune is now pinned to version 3.17.2

The following actions will be performed:
=== install 1 package
  - install dune 3.17.2 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.17.2  (cached)
-> installed dune.3.17.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-23 23:00.28 ---> using "ab68111ecaec8e96a659d3801d58f9f48b56993ae57778afc853e701c3286214" from cache

/: (env DUNE_CACHE enabled)

/: (env DUNE_CACHE_TRANSPORT direct)

/: (env DUNE_CACHE_DUPLICATION copy)

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
        (network host)
        (shell "curl -fsSL https://get.dune.build/install | sh"))

#=#=#                                                                          
##O#-#                                                                         
                                                                           0.1%
                                                                           1.2%
##                                                                         3.1%
#########                                                                 12.7%
##################                                                        26.1%
##################################################################        92.4%
######################################################################## 100.0%
dune x86_64-unknown-linux-musl was installed successfully to ~/.local/bin/dune 

To use dune you will need to source the file "$HOME/.local/share/dune/env/env.bash" (or similar as appropriate for your shell)
  export PATH="/home/opam/.local/bin:$PATH" 

To get started, run: 
  dune --help 
2025-02-23 23:00.28 ---> using "91706ab83e18623d5f5c55809c19ede302298d1fa58d418458556ddcfa9179ed" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
        (network host)
        (shell  "PLACE=$(mktemp -d) && cd $PLACE && echo '(lang dune 3.17)\
               \n(package\
               \n  (name dummy)\
               \n  (allow_empty true)\
               \n  (depends (ocaml (= 5.3.0))))' > dune-project && PATH=$HOME/.local/bin:$PATH dune pkg lock && PATH=$HOME/.local/bin:$PATH dune build"))
Solution for dune.lock:
- ocaml.5.3.0
- ocaml-base-compiler.5.3.0
- ocaml-compiler.5.3.0
- ocaml-config.3
 Downloading ocaml-compiler.5.3.0
    Building ocaml-compiler.5.3.0
    Building ocaml-base-compiler.5.3.0
2025-02-23 23:00.28 ---> using "23d3c9485a3a95dd6f64bf73b0bd06b36016919a287108bba74001e847c99f7d" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
        (network host)
        (shell  "cd $HOME && opam source charrua-client-mirage.1.2.2 && cd charrua-client-mirage.1.2.2 && opam install ./ --depext-only --with-test && echo '(lang dune 3.17)\
               \n(lock_dir\
               \n (repositories overlay default ))\
               \n\
               \n(repository\
               \n (name default)\
               \n (url \"git+https://github.com/ocaml/opam-repository.git\"))\
               \n\
               \n\
               \n' > dune-workspace && PATH=$HOME/.local/bin:$PATH dune pkg lock && PATH=$HOME/.local/bin:$PATH dune build"))
Successfully extracted to /home/opam/charrua-client-mirage.1.2.2
[WARNING] Failed checks on charrua-client package definition from source at file:///home/opam/charrua-client-mirage.1.2.2:
           warning 68: Missing field 'license'
[WARNING] Failed checks on charrua-client-mirage package definition from source at file:///home/opam/charrua-client-mirage.1.2.2:
           warning 68: Missing field 'license'
[WARNING] Failed checks on charrua-client-lwt package definition from source at file:///home/opam/charrua-client-mirage.1.2.2:
           warning 68: Missing field 'license'
Solution for dune.lock:
- alcotest.1.8.0
- arp.4.0.0
- astring.0.8.5
- base.v0.17.1
- base-bytes.base
- base-threads.base
- base-unix.base
- cmdliner.1.3.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.2.0
- domain-name.0.4.1
- dune-configurator.3.17.2
- duration.0.2.1
- eqaf.0.10
- ethernet.3.2.0
- fmt.0.9.0
- ipaddr.5.6.0
- ipaddr-cstruct.5.6.0
- ipaddr-sexp.5.6.0
- logs.0.7.0
- lru.0.3.1
- lwt.5.9.0
- lwt-dllist.1.0.1
- lwt_log.1.1.2
- macaddr.5.6.0
- macaddr-cstruct.5.6.0
- macaddr-sexp.5.6.0
- menhir.20240715
- menhirCST.20240715
- menhirLib.20240715
- menhirSdk.20240715
- metrics.0.4.1
- mirage-clock.4.2.0
- mirage-crypto.2.0.0
- mirage-crypto-rng.2.0.0
- mirage-flow.5.0.0
- mirage-mtime.5.0.0
- mirage-net.4.0.0
- mirage-protocols.8.0.0
- mirage-random.3.0.0
- mirage-random-test.0.1.0
- mirage-sleep.4.0.0
- mirage-time.3.0.0
- mtime.2.1.0
- num.1.5-1
- ocaml.5.3.0
- ocaml-base-compiler.5.3.0
- ocaml-compiler.5.3.0
- ocaml-compiler-libs.v0.17.0
- ocaml-config.3
- ocaml-syntax-shims.1.0.0
- ocaml_intrinsics_kernel.v0.17.1
- ocamlbuild.0.15.0+dune
- ocamlfind.1.9.8+dune
- ocplib-endian.1.2
- parsexp.v0.17.0
- ppx_cstruct.6.2.0
- ppx_derivers.1.2.1
- ppx_sexp_conv.v0.17.0
- ppxlib.0.35.0
- ppxlib_jane.v0.17.2
- psq.0.2.1
- randomconv.0.2.0
- rawlink.2.1
- re.1.12.0
- rresult.0.7.0
- seq.base
- sexplib.v0.17.0
- sexplib0.v0.17.0
- stdlib-shims.0.3.0
- tcpip.9.0.0
- topkg.1.0.7
- tuntap.2.0.1
- uutf.1.0.3
 Downloading ocaml-compiler.5.3.0
    Building ocaml-compiler.5.3.0
    Building ocaml-base-compiler.5.3.0
    Building ocaml-config.3
    Building ocaml.5.3.0
 Downloading macaddr.5.6.0
    Building macaddr.5.6.0
 Downloading domain-name.0.4.1
    Building domain-name.0.4.1
 Downloading ipaddr.5.6.0
    Building ipaddr.5.6.0
 Downloading tuntap.2.0.1
    Building tuntap.2.0.1
 Downloading ocamlfind.1.9.8+dune
    Building ocamlfind.1.9.8+dune
 Downloading ocamlbuild.0.15.0+dune
    Building ocamlbuild.0.15.0+dune
 Downloading topkg.1.0.7
    Building topkg.1.0.7
 Downloading rresult.0.7.0
    Building rresult.0.7.0
    Building base-unix.base
 Downloading cmdliner.1.3.0
    Building cmdliner.1.3.0
 Downloading stdlib-shims.0.3.0
    Building stdlib-shims.0.3.0
 Downloading num.1.5-1
 Downloading ppx_derivers.1.2.1
    Building num.1.5-1
    Building ppx_derivers.1.2.1
 Downloading sexplib0.v0.17.0
    Building sexplib0.v0.17.0
 Downloading ocaml-compiler-libs.v0.17.0
    Building ocaml-compiler-libs.v0.17.0
 Downloading parsexp.v0.17.0
    Building parsexp.v0.17.0
 Downloading ppxlib.0.35.0
    Building ppxlib.0.35.0
 Downloading sexplib.v0.17.0
    Building sexplib.v0.17.0
 Downloading fmt.0.9.0
    Building fmt.0.9.0
 Downloading cstruct.6.2.0
    Building cstruct.6.2.0
 Downloading ppx_cstruct.6.2.0
    Building ppx_cstruct.6.2.0
 Downloading rawlink.2.1
    Building rawlink.2.1
    Building base-bytes.base
    Building base-threads.base
 Downloading csexp.1.5.2
    Building csexp.1.5.2
 Downloading cppo.1.8.0
    Building cppo.1.8.0
 Downloading dune-configurator.3.17.2
 Downloading ocplib-endian.1.2
    Building ocplib-endian.1.2
    Building dune-configurator.3.17.2
 Downloading lwt.5.9.0
    Building lwt.5.9.0
 Downloading mirage-time.3.0.0
    Building mirage-time.3.0.0
 Downloading mirage-random.3.0.0
    Building mirage-random.3.0.0
 Downloading mirage-random-test.0.1.0
    Building mirage-random-test.0.1.0
 Downloading cstruct-lwt.6.2.0
 Downloading macaddr-cstruct.5.6.0
 Downloading ipaddr-cstruct.5.6.0
    Building macaddr-cstruct.5.6.0
    Building ipaddr-cstruct.5.6.0
    Building cstruct-lwt.6.2.0
 Downloading mtime.2.1.0
 Downloading logs.0.7.0
    Building mtime.2.1.0
    Building seq.base
    Building logs.0.7.0
 Downloading metrics.0.4.1
 Downloading eqaf.0.10
    Building eqaf.0.10
 Downloading randomconv.0.2.0
    Building randomconv.0.2.0
    Building metrics.0.4.1
 Downloading mirage-flow.5.0.0
    Building mirage-flow.5.0.0
 Downloading psq.0.2.1
    Building psq.0.2.1
 Downloading lwt-dllist.1.0.1
    Building lwt-dllist.1.0.1
 Downloading mirage-net.4.0.0
 Downloading duration.0.2.1
    Building duration.0.2.1
    Building mirage-net.4.0.0
 Downloading mirage-sleep.4.0.0
    Building mirage-sleep.4.0.0
 Downloading lru.0.3.1
    Building lru.0.3.1
 Downloading mirage-crypto.2.0.0
 Downloading digestif.1.2.0
    Building mirage-crypto.2.0.0
    Building digestif.1.2.0
 Downloading mirage-mtime.5.0.0
    Building mirage-mtime.5.0.0
 Downloading ethernet.3.2.0
    Building ethernet.3.2.0
 Downloading arp.4.0.0
    Building arp.4.0.0
 Downloading mirage-crypto-rng.2.0.0
    Building mirage-crypto-rng.2.0.0
 Downloading tcpip.9.0.0
    Building tcpip.9.0.0
 Downloading mirage-protocols.8.0.0
    Building mirage-protocols.8.0.0
 Downloading mirage-clock.4.2.0
    Building mirage-clock.4.2.0
 Downloading menhirLib.20240715
 Downloading menhirSdk.20240715
 Downloading menhirCST.20240715
    Building menhirLib.20240715
    Building menhirSdk.20240715
    Building menhirCST.20240715
 Downloading menhir.20240715
    Building menhir.20240715
 Downloading ocaml_intrinsics_kernel.v0.17.1
    Building ocaml_intrinsics_kernel.v0.17.1
 Downloading ppxlib_jane.v0.17.2
    Building ppxlib_jane.v0.17.2
 Downloading base.v0.17.1
    Building base.v0.17.1
 Downloading ppx_sexp_conv.v0.17.0
    Building ppx_sexp_conv.v0.17.0
 Downloading macaddr-sexp.5.6.0
    Building macaddr-sexp.5.6.0
 Downloading lwt_log.1.1.2
    Building lwt_log.1.1.2
 Downloading ipaddr-sexp.5.6.0
    Building ipaddr-sexp.5.6.0
 Downloading cstruct-unix.6.2.0
    Building cstruct-unix.6.2.0
 Downloading uutf.1.0.3
 Downloading astring.0.8.5
    Building uutf.1.0.3
    Building astring.0.8.5
 Downloading ocaml-syntax-shims.1.0.0
    Building ocaml-syntax-shims.1.0.0
 Downloading re.1.12.0
    Building re.1.12.0
 Downloading alcotest.1.8.0
    Building alcotest.1.8.0
File "unix/dune", line 6, characters 44-54:
6 |    ipaddr tuntap rawlink.lwt mtime.clock.os tcpip.unix lwt_log))
                                                ^^^^^^^^^^
Error: Library "tcpip.unix" not found.
-> required by _build/default/unix/charruad.exe
-> required by _build/install/default/bin/charruad
-> required by _build/default/charrua-unix.install
-> required by alias install
-> required by alias default
(cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/bin/ocamlopt.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 -I client/.dhcp_client.objs/byte -I client/.dhcp_client.objs/native -I ../_private/default/.pkg/arp/target/lib/arp -I ../_private/default/.pkg/arp/target/lib/arp/mirage -I ../_private/default/.pkg/cstruct/target/lib/cstruct -I ../_private/default/.pkg/digestif/target/lib/digestif -I ../_private/default/.pkg/domain-name/target/lib/domain-name -I ../_private/default/.pkg/duration/target/lib/duration -I ../_private/default/.pkg/eqaf/target/lib/eqaf -I ../_private/default/.pkg/ethernet/target/lib/ethernet -I ../_private/default/.pkg/fmt/target/lib/fmt -I ../_private/default/.pkg/ipaddr-sexp/target/lib/ipaddr-sexp -I ../_private/default/.pkg/ipaddr/target/lib/ipaddr -I ../_private/default/.pkg/logs/target/lib/logs -I ../_private/default/.pkg/lru/target/lib/lru -I ../_private/default/.pkg/lwt/target/lib/lwt -I ../_private/default/.pkg/macaddr-sexp/target/lib/macaddr-sexp -I ../_private/default/.pkg/macaddr/target/lib/macaddr -I ../_private/default/.pkg/mirage-crypto-rng/target/lib/mirage-crypto-rng -I ../_private/default/.pkg/mirage-crypto/target/lib/mirage-crypto -I ../_private/default/.pkg/mirage-flow/target/lib/mirage-flow -I ../_private/default/.pkg/mirage-mtime/target/lib/mirage-mtime -I ../_private/default/.pkg/mirage-net/target/lib/mirage-net -I ../_private/default/.pkg/mirage-sleep/target/lib/mirage-sleep -I ../_private/default/.pkg/parsexp/target/lib/parsexp -I ../_private/default/.pkg/ppx_sexp_conv/target/lib/ppx_sexp_conv/runtime-lib -I ../_private/default/.pkg/psq/target/lib/psq -I ../_private/default/.pkg/randomconv/target/lib/randomconv -I ../_private/default/.pkg/rresult/target/lib/rresult -I ../_private/default/.pkg/seq/target/lib/seq -I ../_private/default/.pkg/sexplib/target/lib/sexplib -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -I ../_private/default/.pkg/tcpip/target/lib/tcpip -I ../_private/default/.pkg/tcpip/target/lib/tcpip/checksum -I ../_private/default/.pkg/tcpip/target/lib/tcpip/ipv4 -I ../_private/default/.pkg/tcpip/target/lib/tcpip/udp -I lib/.dhcp_wire.objs/byte -I lib/.dhcp_wire.objs/native -intf-suffix .ml -no-alias-deps -opaque -o client/.dhcp_client.objs/native/dhcp_client.cmx -c -impl client/dhcp_client.ml)
File "client/dhcp_client.ml", line 186, characters 24-35:
186 |   match pkt_of_buf buf (Cstruct.len buf) with
                              ^^^^^^^^^^^
Error: Unbound value "Cstruct.len"
Hint: Did you mean "lenv"?
(cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/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 client/.dhcp_client.objs/byte -I ../_private/default/.pkg/arp/target/lib/arp -I ../_private/default/.pkg/arp/target/lib/arp/mirage -I ../_private/default/.pkg/cstruct/target/lib/cstruct -I ../_private/default/.pkg/digestif/target/lib/digestif -I ../_private/default/.pkg/domain-name/target/lib/domain-name -I ../_private/default/.pkg/duration/target/lib/duration -I ../_private/default/.pkg/eqaf/target/lib/eqaf -I ../_private/default/.pkg/ethernet/target/lib/ethernet -I ../_private/default/.pkg/fmt/target/lib/fmt -I ../_private/default/.pkg/ipaddr-sexp/target/lib/ipaddr-sexp -I ../_private/default/.pkg/ipaddr/target/lib/ipaddr -I ../_private/default/.pkg/logs/target/lib/logs -I ../_private/default/.pkg/lru/target/lib/lru -I ../_private/default/.pkg/lwt/target/lib/lwt -I ../_private/default/.pkg/macaddr-sexp/target/lib/macaddr-sexp -I ../_private/default/.pkg/macaddr/target/lib/macaddr -I ../_private/default/.pkg/mirage-crypto-rng/target/lib/mirage-crypto-rng -I ../_private/default/.pkg/mirage-crypto/target/lib/mirage-crypto -I ../_private/default/.pkg/mirage-flow/target/lib/mirage-flow -I ../_private/default/.pkg/mirage-mtime/target/lib/mirage-mtime -I ../_private/default/.pkg/mirage-net/target/lib/mirage-net -I ../_private/default/.pkg/mirage-sleep/target/lib/mirage-sleep -I ../_private/default/.pkg/parsexp/target/lib/parsexp -I ../_private/default/.pkg/ppx_sexp_conv/target/lib/ppx_sexp_conv/runtime-lib -I ../_private/default/.pkg/psq/target/lib/psq -I ../_private/default/.pkg/randomconv/target/lib/randomconv -I ../_private/default/.pkg/rresult/target/lib/rresult -I ../_private/default/.pkg/seq/target/lib/seq -I ../_private/default/.pkg/sexplib/target/lib/sexplib -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -I ../_private/default/.pkg/tcpip/target/lib/tcpip -I ../_private/default/.pkg/tcpip/target/lib/tcpip/checksum -I ../_private/default/.pkg/tcpip/target/lib/tcpip/ipv4 -I ../_private/default/.pkg/tcpip/target/lib/tcpip/udp -I lib/.dhcp_wire.objs/byte -intf-suffix .ml -no-alias-deps -opaque -o client/.dhcp_client.objs/byte/dhcp_client.cmo -c -impl client/dhcp_client.ml)
File "client/dhcp_client.ml", line 186, characters 24-35:
186 |   match pkt_of_buf buf (Cstruct.len buf) with
                              ^^^^^^^^^^^
Error: Unbound value "Cstruct.len"
Hint: Did you mean "lenv"?
(cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/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 client/mirage/.dhcp_client_mirage.objs/byte -I ../_private/default/.pkg/arp/target/lib/arp -I ../_private/default/.pkg/arp/target/lib/arp/mirage -I ../_private/default/.pkg/cstruct/target/lib/cstruct -I ../_private/default/.pkg/digestif/target/lib/digestif -I ../_private/default/.pkg/domain-name/target/lib/domain-name -I ../_private/default/.pkg/duration/target/lib/duration -I ../_private/default/.pkg/eqaf/target/lib/eqaf -I ../_private/default/.pkg/ethernet/target/lib/ethernet -I ../_private/default/.pkg/fmt/target/lib/fmt -I ../_private/default/.pkg/ipaddr-sexp/target/lib/ipaddr-sexp -I ../_private/default/.pkg/ipaddr/target/lib/ipaddr -I ../_private/default/.pkg/logs/target/lib/logs -I ../_private/default/.pkg/lru/target/lib/lru -I ../_private/default/.pkg/lwt/target/lib/lwt -I ../_private/default/.pkg/macaddr-sexp/target/lib/macaddr-sexp -I ../_private/default/.pkg/macaddr/target/lib/macaddr -I ../_private/default/.pkg/mirage-clock/target/lib/mirage-clock -I ../_private/default/.pkg/mirage-crypto-rng/target/lib/mirage-crypto-rng -I ../_private/default/.pkg/mirage-crypto/target/lib/mirage-crypto -I ../_private/default/.pkg/mirage-flow/target/lib/mirage-flow -I ../_private/default/.pkg/mirage-mtime/target/lib/mirage-mtime -I ../_private/default/.pkg/mirage-net/target/lib/mirage-net -I ../_private/default/.pkg/mirage-protocols/target/lib/mirage-protocols -I ../_private/default/.pkg/mirage-random/target/lib/mirage-random -I ../_private/default/.pkg/mirage-sleep/target/lib/mirage-sleep -I ../_private/default/.pkg/mirage-time/target/lib/mirage-time -I ../_private/default/.pkg/parsexp/target/lib/parsexp -I ../_private/default/.pkg/ppx_sexp_conv/target/lib/ppx_sexp_conv/runtime-lib -I ../_private/default/.pkg/psq/target/lib/psq -I ../_private/default/.pkg/randomconv/target/lib/randomconv -I ../_private/default/.pkg/rresult/target/lib/rresult -I ../_private/default/.pkg/seq/target/lib/seq -I ../_private/default/.pkg/sexplib/target/lib/sexplib -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -I ../_private/default/.pkg/tcpip/target/lib/tcpip -I ../_private/default/.pkg/tcpip/target/lib/tcpip/checksum -I ../_private/default/.pkg/tcpip/target/lib/tcpip/icmpv4 -I ../_private/default/.pkg/tcpip/target/lib/tcpip/ipv4 -I ../_private/default/.pkg/tcpip/target/lib/tcpip/udp -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 client/mirage/.dhcp_client_mirage.objs/byte/dhcp_ipv4.cmi -c -intf client/mirage/dhcp_ipv4.mli)
File "client/mirage/dhcp_ipv4.mli", line 17, characters 16-44:
17 | module Make (D: Mirage_protocols.DHCP_CLIENT) (R : Mirage_random.S) (C : Mirage_clock.MCLOCK) (E:Mirage_protocols.ETHERNET) (A: Mirage_protocols.ARP) : sig
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Unbound module type "Mirage_protocols.DHCP_CLIENT"
(cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/bin/ocamlopt.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 -I client/lwt/.dhcp_client_lwt.objs/byte -I client/lwt/.dhcp_client_lwt.objs/native -I ../_private/default/.pkg/arp/target/lib/arp -I ../_private/default/.pkg/arp/target/lib/arp/mirage -I ../_private/default/.pkg/cstruct/target/lib/cstruct -I ../_private/default/.pkg/digestif/target/lib/digestif -I ../_private/default/.pkg/domain-name/target/lib/domain-name -I ../_private/default/.pkg/duration/target/lib/duration -I ../_private/default/.pkg/eqaf/target/lib/eqaf -I ../_private/default/.pkg/ethernet/target/lib/ethernet -I ../_private/default/.pkg/fmt/target/lib/fmt -I ../_private/default/.pkg/ipaddr-sexp/target/lib/ipaddr-sexp -I ../_private/default/.pkg/ipaddr/target/lib/ipaddr -I ../_private/default/.pkg/logs/target/lib/logs -I ../_private/default/.pkg/lru/target/lib/lru -I ../_private/default/.pkg/lwt/target/lib/lwt -I ../_private/default/.pkg/macaddr-sexp/target/lib/macaddr-sexp -I ../_private/default/.pkg/macaddr/target/lib/macaddr -I ../_private/default/.pkg/mirage-crypto-rng/target/lib/mirage-crypto-rng -I ../_private/default/.pkg/mirage-crypto/target/lib/mirage-crypto -I ../_private/default/.pkg/mirage-flow/target/lib/mirage-flow -I ../_private/default/.pkg/mirage-mtime/target/lib/mirage-mtime -I ../_private/default/.pkg/mirage-net/target/lib/mirage-net -I ../_private/default/.pkg/mirage-random/target/lib/mirage-random -I ../_private/default/.pkg/mirage-sleep/target/lib/mirage-sleep -I ../_private/default/.pkg/mirage-time/target/lib/mirage-time -I ../_private/default/.pkg/parsexp/target/lib/parsexp -I ../_private/default/.pkg/ppx_sexp_conv/target/lib/ppx_sexp_conv/runtime-lib -I ../_private/default/.pkg/psq/target/lib/psq -I ../_private/default/.pkg/randomconv/target/lib/randomconv -I ../_private/default/.pkg/rresult/target/lib/rresult -I ../_private/default/.pkg/seq/target/lib/seq -I ../_private/default/.pkg/sexplib/target/lib/sexplib -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -I ../_private/default/.pkg/tcpip/target/lib/tcpip -I ../_private/default/.pkg/tcpip/target/lib/tcpip/checksum -I ../_private/default/.pkg/tcpip/target/lib/tcpip/ipv4 -I ../_private/default/.pkg/tcpip/target/lib/tcpip/udp -I client/.dhcp_client.objs/byte -I client/.dhcp_client.objs/native -I lib/.dhcp_wire.objs/byte -I lib/.dhcp_wire.objs/native -intf-suffix .ml -no-alias-deps -opaque -o client/lwt/.dhcp_client_lwt.objs/native/dhcp_client_lwt.cmx -c -impl client/lwt/dhcp_client_lwt.ml)
File "client/lwt/dhcp_client_lwt.ml", line 17, characters 22-51:
17 |     let header_size = Ethernet_wire.sizeof_ethernet in
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Unbound module "Ethernet_wire"
(cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/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 client/mirage/.dhcp_client_mirage.objs/byte -I ../_private/default/.pkg/arp/target/lib/arp -I ../_private/default/.pkg/arp/target/lib/arp/mirage -I ../_private/default/.pkg/cstruct/target/lib/cstruct -I ../_private/default/.pkg/digestif/target/lib/digestif -I ../_private/default/.pkg/domain-name/target/lib/domain-name -I ../_private/default/.pkg/duration/target/lib/duration -I ../_private/default/.pkg/eqaf/target/lib/eqaf -I ../_private/default/.pkg/ethernet/target/lib/ethernet -I ../_private/default/.pkg/fmt/target/lib/fmt -I ../_private/default/.pkg/ipaddr-sexp/target/lib/ipaddr-sexp -I ../_private/default/.pkg/ipaddr/target/lib/ipaddr -I ../_private/default/.pkg/logs/target/lib/logs -I ../_private/default/.pkg/lru/target/lib/lru -I ../_private/default/.pkg/lwt/target/lib/lwt -I ../_private/default/.pkg/macaddr-sexp/target/lib/macaddr-sexp -I ../_private/default/.pkg/macaddr/target/lib/macaddr -I ../_private/default/.pkg/mirage-clock/target/lib/mirage-clock -I ../_private/default/.pkg/mirage-crypto-rng/target/lib/mirage-crypto-rng -I ../_private/default/.pkg/mirage-crypto/target/lib/mirage-crypto -I ../_private/default/.pkg/mirage-flow/target/lib/mirage-flow -I ../_private/default/.pkg/mirage-mtime/target/lib/mirage-mtime -I ../_private/default/.pkg/mirage-net/target/lib/mirage-net -I ../_private/default/.pkg/mirage-protocols/target/lib/mirage-protocols -I ../_private/default/.pkg/mirage-random/target/lib/mirage-random -I ../_private/default/.pkg/mirage-sleep/target/lib/mirage-sleep -I ../_private/default/.pkg/mirage-time/target/lib/mirage-time -I ../_private/default/.pkg/parsexp/target/lib/parsexp -I ../_private/default/.pkg/ppx_sexp_conv/target/lib/ppx_sexp_conv/runtime-lib -I ../_private/default/.pkg/psq/target/lib/psq -I ../_private/default/.pkg/randomconv/target/lib/randomconv -I ../_private/default/.pkg/rresult/target/lib/rresult -I ../_private/default/.pkg/seq/target/lib/seq -I ../_private/default/.pkg/sexplib/target/lib/sexplib -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -I ../_private/default/.pkg/tcpip/target/lib/tcpip -I ../_private/default/.pkg/tcpip/target/lib/tcpip/checksum -I ../_private/default/.pkg/tcpip/target/lib/tcpip/icmpv4 -I ../_private/default/.pkg/tcpip/target/lib/tcpip/ipv4 -I ../_private/default/.pkg/tcpip/target/lib/tcpip/udp -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 client/mirage/.dhcp_client_mirage.objs/byte/dhcp_client_mirage.cmi -c -intf client/mirage/dhcp_client_mirage.mli)
File "client/mirage/dhcp_client_mirage.mli", line 2, characters 11-39:
2 |   type t = Mirage_protocols.ipv4_config Lwt_stream.t
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Unbound type constructor "Mirage_protocols.ipv4_config"
(cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/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 client/lwt/.dhcp_client_lwt.objs/byte -I ../_private/default/.pkg/arp/target/lib/arp -I ../_private/default/.pkg/arp/target/lib/arp/mirage -I ../_private/default/.pkg/cstruct/target/lib/cstruct -I ../_private/default/.pkg/digestif/target/lib/digestif -I ../_private/default/.pkg/domain-name/target/lib/domain-name -I ../_private/default/.pkg/duration/target/lib/duration -I ../_private/default/.pkg/eqaf/target/lib/eqaf -I ../_private/default/.pkg/ethernet/target/lib/ethernet -I ../_private/default/.pkg/fmt/target/lib/fmt -I ../_private/default/.pkg/ipaddr-sexp/target/lib/ipaddr-sexp -I ../_private/default/.pkg/ipaddr/target/lib/ipaddr -I ../_private/default/.pkg/logs/target/lib/logs -I ../_private/default/.pkg/lru/target/lib/lru -I ../_private/default/.pkg/lwt/target/lib/lwt -I ../_private/default/.pkg/macaddr-sexp/target/lib/macaddr-sexp -I ../_private/default/.pkg/macaddr/target/lib/macaddr -I ../_private/default/.pkg/mirage-crypto-rng/target/lib/mirage-crypto-rng -I ../_private/default/.pkg/mirage-crypto/target/lib/mirage-crypto -I ../_private/default/.pkg/mirage-flow/target/lib/mirage-flow -I ../_private/default/.pkg/mirage-mtime/target/lib/mirage-mtime -I ../_private/default/.pkg/mirage-net/target/lib/mirage-net -I ../_private/default/.pkg/mirage-random/target/lib/mirage-random -I ../_private/default/.pkg/mirage-sleep/target/lib/mirage-sleep -I ../_private/default/.pkg/mirage-time/target/lib/mirage-time -I ../_private/default/.pkg/parsexp/target/lib/parsexp -I ../_private/default/.pkg/ppx_sexp_conv/target/lib/ppx_sexp_conv/runtime-lib -I ../_private/default/.pkg/psq/target/lib/psq -I ../_private/default/.pkg/randomconv/target/lib/randomconv -I ../_private/default/.pkg/rresult/target/lib/rresult -I ../_private/default/.pkg/seq/target/lib/seq -I ../_private/default/.pkg/sexplib/target/lib/sexplib -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -I ../_private/default/.pkg/tcpip/target/lib/tcpip -I ../_private/default/.pkg/tcpip/target/lib/tcpip/checksum -I ../_private/default/.pkg/tcpip/target/lib/tcpip/ipv4 -I ../_private/default/.pkg/tcpip/target/lib/tcpip/udp -I client/.dhcp_client.objs/byte -I lib/.dhcp_wire.objs/byte -intf-suffix .ml -no-alias-deps -opaque -o client/lwt/.dhcp_client_lwt.objs/byte/dhcp_client_lwt.cmo -c -impl client/lwt/dhcp_client_lwt.ml)
File "client/lwt/dhcp_client_lwt.ml", line 17, characters 22-51:
17 |     let header_size = Ethernet_wire.sizeof_ethernet in
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Unbound module "Ethernet_wire"
(cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/bin/ocamlopt.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 -I lib/.dhcp_wire.objs/byte -I lib/.dhcp_wire.objs/native -I ../_private/default/.pkg/arp/target/lib/arp -I ../_private/default/.pkg/arp/target/lib/arp/mirage -I ../_private/default/.pkg/cstruct/target/lib/cstruct -I ../_private/default/.pkg/digestif/target/lib/digestif -I ../_private/default/.pkg/domain-name/target/lib/domain-name -I ../_private/default/.pkg/duration/target/lib/duration -I ../_private/default/.pkg/eqaf/target/lib/eqaf -I ../_private/default/.pkg/ethernet/target/lib/ethernet -I ../_private/default/.pkg/fmt/target/lib/fmt -I ../_private/default/.pkg/ipaddr-sexp/target/lib/ipaddr-sexp -I ../_private/default/.pkg/ipaddr/target/lib/ipaddr -I ../_private/default/.pkg/logs/target/lib/logs -I ../_private/default/.pkg/lru/target/lib/lru -I ../_private/default/.pkg/lwt/target/lib/lwt -I ../_private/default/.pkg/macaddr-sexp/target/lib/macaddr-sexp -I ../_private/default/.pkg/macaddr/target/lib/macaddr -I ../_private/default/.pkg/mirage-crypto-rng/target/lib/mirage-crypto-rng -I ../_private/default/.pkg/mirage-crypto/target/lib/mirage-crypto -I ../_private/default/.pkg/mirage-flow/target/lib/mirage-flow -I ../_private/default/.pkg/mirage-mtime/target/lib/mirage-mtime -I ../_private/default/.pkg/mirage-net/target/lib/mirage-net -I ../_private/default/.pkg/mirage-sleep/target/lib/mirage-sleep -I ../_private/default/.pkg/parsexp/target/lib/parsexp -I ../_private/default/.pkg/ppx_sexp_conv/target/lib/ppx_sexp_conv/runtime-lib -I ../_private/default/.pkg/psq/target/lib/psq -I ../_private/default/.pkg/randomconv/target/lib/randomconv -I ../_private/default/.pkg/rresult/target/lib/rresult -I ../_private/default/.pkg/seq/target/lib/seq -I ../_private/default/.pkg/sexplib/target/lib/sexplib -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -I ../_private/default/.pkg/tcpip/target/lib/tcpip -I ../_private/default/.pkg/tcpip/target/lib/tcpip/checksum -I ../_private/default/.pkg/tcpip/target/lib/tcpip/ipv4 -I ../_private/default/.pkg/tcpip/target/lib/tcpip/udp -intf-suffix .ml -no-alias-deps -opaque -o lib/.dhcp_wire.objs/native/dhcp_wire.cmx -c -impl lib/dhcp_wire.pp.ml)
File "lib/dhcp_wire.ml", line 652, characters 10-22:
652 |           Cstruct.copy body 0 len
                ^^^^^^^^^^^^
Error (alert deprecated): Cstruct.copy
this is just like [to_string] without defaults, were you looking for [sub_copy]?

File "lib/dhcp_wire.ml", line 655, characters 18-30:
655 |           let s = Cstruct.copy body 1 (len - 1) in
                        ^^^^^^^^^^^^
Error (alert deprecated): Cstruct.copy
this is just like [to_string] without defaults, were you looking for [sub_copy]?

File "lib/dhcp_wire.ml", line 1083, characters 32-61:
1083 |     let min_len = sizeof_dhcp + Ethernet_wire.sizeof_ethernet +
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Unbound module "Ethernet_wire"
(cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/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 server/.dhcp_server.objs/byte -I server/.dhcp_server.objs/public_cmi -I ../_private/default/.pkg/arp/target/lib/arp -I ../_private/default/.pkg/arp/target/lib/arp/mirage -I ../_private/default/.pkg/cstruct/target/lib/cstruct -I ../_private/default/.pkg/digestif/target/lib/digestif -I ../_private/default/.pkg/domain-name/target/lib/domain-name -I ../_private/default/.pkg/duration/target/lib/duration -I ../_private/default/.pkg/eqaf/target/lib/eqaf -I ../_private/default/.pkg/ethernet/target/lib/ethernet -I ../_private/default/.pkg/fmt/target/lib/fmt -I ../_private/default/.pkg/ipaddr-sexp/target/lib/ipaddr-sexp -I ../_private/default/.pkg/ipaddr/target/lib/ipaddr -I ../_private/default/.pkg/logs/target/lib/logs -I ../_private/default/.pkg/lru/target/lib/lru -I ../_private/default/.pkg/lwt/target/lib/lwt -I ../_private/default/.pkg/macaddr-sexp/target/lib/macaddr-sexp -I ../_private/default/.pkg/macaddr/target/lib/macaddr -I ../_private/default/.pkg/mirage-crypto-rng/target/lib/mirage-crypto-rng -I ../_private/default/.pkg/mirage-crypto/target/lib/mirage-crypto -I ../_private/default/.pkg/mirage-flow/target/lib/mirage-flow -I ../_private/default/.pkg/mirage-mtime/target/lib/mirage-mtime -I ../_private/default/.pkg/mirage-net/target/lib/mirage-net -I ../_private/default/.pkg/mirage-sleep/target/lib/mirage-sleep -I ../_private/default/.pkg/parsexp/target/lib/parsexp -I ../_private/default/.pkg/ppx_sexp_conv/target/lib/ppx_sexp_conv/runtime-lib -I ../_private/default/.pkg/psq/target/lib/psq -I ../_private/default/.pkg/randomconv/target/lib/randomconv -I ../_private/default/.pkg/rresult/target/lib/rresult -I ../_private/default/.pkg/seq/target/lib/seq -I ../_private/default/.pkg/sexplib/target/lib/sexplib -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -I ../_private/default/.pkg/tcpip/target/lib/tcpip -I ../_private/default/.pkg/tcpip/target/lib/tcpip/checksum -I ../_private/default/.pkg/tcpip/target/lib/tcpip/ipv4 -I ../_private/default/.pkg/tcpip/target/lib/tcpip/udp -I lib/.dhcp_wire.objs/byte -intf-suffix .ml -no-alias-deps -opaque -open Dhcp_server__ -o server/.dhcp_server.objs/byte/dhcp_server.cmo -c -impl server/dhcp_server.pp.ml)
File "server/dhcp_server.ml", line 73, characters 8-13:
73 |       ?(hosts = [])
             ^^^^^
Error (warning 16 [unerasable-optional-argument]): this optional argument cannot be erased.

File "server/dhcp_server.ml", line 72, characters 8-22:
72 |       ?(max_lease_time = 60 * 60 * 24)    (* 24 hours *)
             ^^^^^^^^^^^^^^
Error (warning 16 [unerasable-optional-argument]): this optional argument cannot be erased.

File "server/dhcp_server.ml", line 71, characters 8-26:
71 |       ?(default_lease_time = 60 * 60 * 2) (* 2 hours *)
             ^^^^^^^^^^^^^^^^^^
Error (warning 16 [unerasable-optional-argument]): this optional argument cannot be erased.

File "server/dhcp_server.ml", line 70, characters 8-16:
70 |       ?(hostname = "charrua-dhcp-server")
             ^^^^^^^^
Error (warning 16 [unerasable-optional-argument]): this optional argument cannot be erased.
(cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/bin/ocamlopt.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 -I server/.dhcp_server.objs/byte -I server/.dhcp_server.objs/native -I server/.dhcp_server.objs/public_cmi -I ../_private/default/.pkg/arp/target/lib/arp -I ../_private/default/.pkg/arp/target/lib/arp/mirage -I ../_private/default/.pkg/cstruct/target/lib/cstruct -I ../_private/default/.pkg/digestif/target/lib/digestif -I ../_private/default/.pkg/domain-name/target/lib/domain-name -I ../_private/default/.pkg/duration/target/lib/duration -I ../_private/default/.pkg/eqaf/target/lib/eqaf -I ../_private/default/.pkg/ethernet/target/lib/ethernet -I ../_private/default/.pkg/fmt/target/lib/fmt -I ../_private/default/.pkg/ipaddr-sexp/target/lib/ipaddr-sexp -I ../_private/default/.pkg/ipaddr/target/lib/ipaddr -I ../_private/default/.pkg/logs/target/lib/logs -I ../_private/default/.pkg/lru/target/lib/lru -I ../_private/default/.pkg/lwt/target/lib/lwt -I ../_private/default/.pkg/macaddr-sexp/target/lib/macaddr-sexp -I ../_private/default/.pkg/macaddr/target/lib/macaddr -I ../_private/default/.pkg/mirage-crypto-rng/target/lib/mirage-crypto-rng -I ../_private/default/.pkg/mirage-crypto/target/lib/mirage-crypto -I ../_private/default/.pkg/mirage-flow/target/lib/mirage-flow -I ../_private/default/.pkg/mirage-mtime/target/lib/mirage-mtime -I ../_private/default/.pkg/mirage-net/target/lib/mirage-net -I ../_private/default/.pkg/mirage-sleep/target/lib/mirage-sleep -I ../_private/default/.pkg/parsexp/target/lib/parsexp -I ../_private/default/.pkg/ppx_sexp_conv/target/lib/ppx_sexp_conv/runtime-lib -I ../_private/default/.pkg/psq/target/lib/psq -I ../_private/default/.pkg/randomconv/target/lib/randomconv -I ../_private/default/.pkg/rresult/target/lib/rresult -I ../_private/default/.pkg/seq/target/lib/seq -I ../_private/default/.pkg/sexplib/target/lib/sexplib -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -I ../_private/default/.pkg/tcpip/target/lib/tcpip -I ../_private/default/.pkg/tcpip/target/lib/tcpip/checksum -I ../_private/default/.pkg/tcpip/target/lib/tcpip/ipv4 -I ../_private/default/.pkg/tcpip/target/lib/tcpip/udp -I lib/.dhcp_wire.objs/byte -I lib/.dhcp_wire.objs/native -intf-suffix .ml -no-alias-deps -opaque -open Dhcp_server__ -o server/.dhcp_server.objs/native/dhcp_server.cmx -c -impl server/dhcp_server.pp.ml)
File "server/dhcp_server.ml", line 73, characters 8-13:
73 |       ?(hosts = [])
             ^^^^^
Error (warning 16 [unerasable-optional-argument]): this optional argument cannot be erased.

File "server/dhcp_server.ml", line 72, characters 8-22:
72 |       ?(max_lease_time = 60 * 60 * 24)    (* 24 hours *)
             ^^^^^^^^^^^^^^
Error (warning 16 [unerasable-optional-argument]): this optional argument cannot be erased.

File "server/dhcp_server.ml", line 71, characters 8-26:
71 |       ?(default_lease_time = 60 * 60 * 2) (* 2 hours *)
             ^^^^^^^^^^^^^^^^^^
Error (warning 16 [unerasable-optional-argument]): this optional argument cannot be erased.

File "server/dhcp_server.ml", line 70, characters 8-16:
70 |       ?(hostname = "charrua-dhcp-server")
             ^^^^^^^^
Error (warning 16 [unerasable-optional-argument]): this optional argument cannot be erased.
(cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/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 lib/.dhcp_wire.objs/byte -I ../_private/default/.pkg/arp/target/lib/arp -I ../_private/default/.pkg/arp/target/lib/arp/mirage -I ../_private/default/.pkg/cstruct/target/lib/cstruct -I ../_private/default/.pkg/digestif/target/lib/digestif -I ../_private/default/.pkg/domain-name/target/lib/domain-name -I ../_private/default/.pkg/duration/target/lib/duration -I ../_private/default/.pkg/eqaf/target/lib/eqaf -I ../_private/default/.pkg/ethernet/target/lib/ethernet -I ../_private/default/.pkg/fmt/target/lib/fmt -I ../_private/default/.pkg/ipaddr-sexp/target/lib/ipaddr-sexp -I ../_private/default/.pkg/ipaddr/target/lib/ipaddr -I ../_private/default/.pkg/logs/target/lib/logs -I ../_private/default/.pkg/lru/target/lib/lru -I ../_private/default/.pkg/lwt/target/lib/lwt -I ../_private/default/.pkg/macaddr-sexp/target/lib/macaddr-sexp -I ../_private/default/.pkg/macaddr/target/lib/macaddr -I ../_private/default/.pkg/mirage-crypto-rng/target/lib/mirage-crypto-rng -I ../_private/default/.pkg/mirage-crypto/target/lib/mirage-crypto -I ../_private/default/.pkg/mirage-flow/target/lib/mirage-flow -I ../_private/default/.pkg/mirage-mtime/target/lib/mirage-mtime -I ../_private/default/.pkg/mirage-net/target/lib/mirage-net -I ../_private/default/.pkg/mirage-sleep/target/lib/mirage-sleep -I ../_private/default/.pkg/parsexp/target/lib/parsexp -I ../_private/default/.pkg/ppx_sexp_conv/target/lib/ppx_sexp_conv/runtime-lib -I ../_private/default/.pkg/psq/target/lib/psq -I ../_private/default/.pkg/randomconv/target/lib/randomconv -I ../_private/default/.pkg/rresult/target/lib/rresult -I ../_private/default/.pkg/seq/target/lib/seq -I ../_private/default/.pkg/sexplib/target/lib/sexplib -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -I ../_private/default/.pkg/tcpip/target/lib/tcpip -I ../_private/default/.pkg/tcpip/target/lib/tcpip/checksum -I ../_private/default/.pkg/tcpip/target/lib/tcpip/ipv4 -I ../_private/default/.pkg/tcpip/target/lib/tcpip/udp -intf-suffix .ml -no-alias-deps -opaque -o lib/.dhcp_wire.objs/byte/dhcp_wire.cmo -c -impl lib/dhcp_wire.pp.ml)
File "lib/dhcp_wire.ml", line 652, characters 10-22:
652 |           Cstruct.copy body 0 len
                ^^^^^^^^^^^^
Error (alert deprecated): Cstruct.copy
this is just like [to_string] without defaults, were you looking for [sub_copy]?

File "lib/dhcp_wire.ml", line 655, characters 18-30:
655 |           let s = Cstruct.copy body 1 (len - 1) in
                        ^^^^^^^^^^^^
Error (alert deprecated): Cstruct.copy
this is just like [to_string] without defaults, were you looking for [sub_copy]?

File "lib/dhcp_wire.ml", line 1083, characters 32-61:
1083 |     let min_len = sizeof_dhcp + Ethernet_wire.sizeof_ethernet +
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Unbound module "Ethernet_wire"
"/usr/bin/env" "bash" "-c" "cd $HOME && opam source charrua-client-mirage.1.2.2 && cd charrua-client-mirage.1.2.2 && opam install ./ --depext-only --with-test && echo '(lang dune 3.17)
(lock_dir
 (repositories overlay default ))

(repository
 (name default)
 (url "git+https://github.com/ocaml/opam-repository.git"))


' > dune-workspace && PATH=$HOME/.local/bin:$PATH dune pkg lock && PATH=$HOME/.local/bin:$PATH dune build" failed with exit status 1
Failed: Build failed