Organisationsmirageocaml-dns32421e ()ubuntu-24.04-5.2_opam-2.1

ubuntu-24.04-5.2_opam-2.1

Logs

Show full logs
2024-08-01 12:08.26: New job: test mirage/ocaml-dns https://github.com/mirage/ocaml-dns.git#refs/pull/351/head (32421ede8533d3bff7b69a827e942050ad12a4f3) (linux-x86_64:ubuntu-24.04-5.2_opam-2.1)
Base: ocaml/opam@sha256:809b1a1a47bc54ada3763b163e443bfa5a48c7ce4243d6a20f366355204d77d9
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/mirage/ocaml-dns.git" && cd "ocaml-dns" && git fetch origin "refs/pull/351/head" && git reset --hard 32421ede
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:809b1a1a47bc54ada3763b163e443bfa5a48c7ce4243d6a20f366355204d77d9
# ubuntu-24.04-5.2_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e 44a281fd66344f50c411e5c5300745612282e651 || git fetch origin master) && git reset -q --hard 44a281fd66344f50c411e5c5300745612282e651 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 dnssec.opam dns.opam dns-tsig.opam dns-stub.opam dns-server.opam dns-resolver.opam dns-mirage.opam dns-client.opam dns-client-mirage.opam dns-client-lwt.opam dns-cli.opam dns-certify.opam ./
RUN opam pin add -yn dnssec.dev './' && \
    opam pin add -yn dns.dev './' && \
    opam pin add -yn dns-tsig.dev './' && \
    opam pin add -yn dns-stub.dev './' && \
    opam pin add -yn dns-server.dev './' && \
    opam pin add -yn dns-resolver.dev './' && \
    opam pin add -yn dns-mirage.dev './' && \
    opam pin add -yn dns-client.dev './' && \
    opam pin add -yn dns-client-mirage.dev './' && \
    opam pin add -yn dns-client-lwt.dev './' && \
    opam pin add -yn dns-cli.dev './' && \
    opam pin add -yn dns-certify.dev './'
ENV DEPS="alcotest.1.8.0 arp.3.1.1 asn1-combinators.0.3.1 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bos.0.2.1 ca-certs.dev ca-certs-nss.3.101-1 cmdliner.1.3.0 conf-gmp.4 conf-gmp-powm-sec.3 conf-pkg-config.3 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 digestif.1.2.0 domain-name.0.4.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 eqaf.0.10 ethernet.3.2.0 fmt.0.9.0 fpath.0.7.3 gmap.0.3.0 happy-eyeballs.1.1.0 happy-eyeballs-lwt.1.1.0 happy-eyeballs-mirage.1.1.0 hex.1.5.0 hkdf.2.0.0 host-arch-x86_64.1 host-system-other.1 ipaddr.5.6.0 ipaddr-cstruct.5.6.0 logs.0.7.0 lru.0.3.1 lwt.5.7.0 lwt-dllist.1.0.1 macaddr.5.6.0 macaddr-cstruct.5.6.0 metrics.0.4.1 mirage-clock.4.2.0 mirage-crypto.1.0.0 mirage-crypto-ec.1.0.0 mirage-crypto-pk.1.0.0 mirage-crypto-rng.1.0.0 mirage-crypto-rng-lwt.1.0.0 mirage-flow.4.0.2 mirage-kv.6.1.1 mirage-net.4.0.0 mirage-random.3.0.0 mirage-time.3.0.0 mtime.2.0.0 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 ohex.0.2.0 optint.0.3.0 pbkdf.2.0.0 psq.0.2.1 ptime.1.1.0 randomconv.0.1.3 re.1.11.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 tcpip.8.1.0 tls.dev tls-lwt.dev tls-mirage.dev topkg.1.0.7 uutf.1.0.3 x509.1.0.0 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y dnssec.dev dns.dev dns-tsig.dev dns-stub.dev dns-server.dev dns-resolver.dev dns-mirage.dev dns-client.dev dns-client-mirage.dev dns-client-lwt.dev dns-cli.dev dns-certify.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build

END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK

2024-08-01 12:08.26: Using cache hint "mirage/ocaml-dns-ocaml/opam@sha256:809b1a1a47bc54ada3763b163e443bfa5a48c7ce4243d6a20f366355204d77d9-ubuntu-24.04-5.2_opam-2.1-cbbfa0df96fedafe9afdfb0d893b2080"
2024-08-01 12:08.26: Using OBuilder spec:
((from ocaml/opam@sha256:809b1a1a47bc54ada3763b163e443bfa5a48c7ce4243d6a20f366355204d77d9)
 (comment ubuntu-24.04-5.2_opam-2.1)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
 (run (shell "opam init --reinit -ni"))
 (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
 (workdir /src)
 (run (shell "sudo chown opam /src"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "cd ~/opam-repository && (git cat-file -e 44a281fd66344f50c411e5c5300745612282e651 || git fetch origin master) && git reset -q --hard 44a281fd66344f50c411e5c5300745612282e651 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src dnssec.opam dns.opam dns-tsig.opam dns-stub.opam dns-server.opam dns-resolver.opam dns-mirage.opam dns-client.opam dns-client-mirage.opam dns-client-lwt.opam dns-cli.opam dns-certify.opam)
       (dst ./))
 (run (network host)
      (shell  "opam pin add -yn dnssec.dev './' && \
             \nopam pin add -yn dns.dev './' && \
             \nopam pin add -yn dns-tsig.dev './' && \
             \nopam pin add -yn dns-stub.dev './' && \
             \nopam pin add -yn dns-server.dev './' && \
             \nopam pin add -yn dns-resolver.dev './' && \
             \nopam pin add -yn dns-mirage.dev './' && \
             \nopam pin add -yn dns-client.dev './' && \
             \nopam pin add -yn dns-client-mirage.dev './' && \
             \nopam pin add -yn dns-client-lwt.dev './' && \
             \nopam pin add -yn dns-cli.dev './' && \
             \nopam pin add -yn dns-certify.dev './'"))
 (env DEPS "alcotest.1.8.0 arp.3.1.1 asn1-combinators.0.3.1 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bos.0.2.1 ca-certs.dev ca-certs-nss.3.101-1 cmdliner.1.3.0 conf-gmp.4 conf-gmp-powm-sec.3 conf-pkg-config.3 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 digestif.1.2.0 domain-name.0.4.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 eqaf.0.10 ethernet.3.2.0 fmt.0.9.0 fpath.0.7.3 gmap.0.3.0 happy-eyeballs.1.1.0 happy-eyeballs-lwt.1.1.0 happy-eyeballs-mirage.1.1.0 hex.1.5.0 hkdf.2.0.0 host-arch-x86_64.1 host-system-other.1 ipaddr.5.6.0 ipaddr-cstruct.5.6.0 logs.0.7.0 lru.0.3.1 lwt.5.7.0 lwt-dllist.1.0.1 macaddr.5.6.0 macaddr-cstruct.5.6.0 metrics.0.4.1 mirage-clock.4.2.0 mirage-crypto.1.0.0 mirage-crypto-ec.1.0.0 mirage-crypto-pk.1.0.0 mirage-crypto-rng.1.0.0 mirage-crypto-rng-lwt.1.0.0 mirage-flow.4.0.2 mirage-kv.6.1.1 mirage-net.4.0.0 mirage-random.3.0.0 mirage-time.3.0.0 mtime.2.0.0 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 ohex.0.2.0 optint.0.3.0 pbkdf.2.0.0 psq.0.2.1 ptime.1.1.0 randomconv.0.1.3 re.1.11.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 tcpip.8.1.0 tls.dev tls-lwt.dev tls-mirage.dev topkg.1.0.7 uutf.1.0.3 x509.1.0.0 zarith.1.14")
 (env CI true)
 (env OCAMLCI true)
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam update --depexts && opam install --cli=2.1 --depext-only -y dnssec.dev dns.dev dns-tsig.dev dns-stub.dev dns-server.dev dns-resolver.dev dns-mirage.dev dns-client.dev dns-client-mirage.dev dns-client-lwt.dev dns-cli.dev dns-certify.dev $DEPS"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam install $DEPS"))
 (copy (src .) (dst /src))
 (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)

2024-08-01 12:08.26: Waiting for resource in pool OCluster
2024-08-01 12:08.27: Waiting for worker…
2024-08-01 12:08.27: Got resource from pool OCluster
Building on x86-bm-c10.sw.ocaml.org
HEAD is now at 875651e changes for 8.0.0
HEAD is now at 32421ed Lint opam files

(from ocaml/opam@sha256:809b1a1a47bc54ada3763b163e443bfa5a48c7ce4243d6a20f366355204d77d9)
2024-08-01 12:09.07 ---> saved as "39cf8184dd57986f69b3e0999debf82c88d89dae24c0fab35999c869c01817a0"

/: (comment ubuntu-24.04-5.2_opam-2.1)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-08-01 12:09.07 ---> saved as "399332a0e3f7dbddc25b18f3295fc7e472ae30c0feec872ee1a45b6d0ff336a5"

/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from built-in defaults.
Checking for available remotes: rsync and local, git.
  - you won't be able to use mercurial repositories unless you install the hg command on your system.
  - you won't be able to use darcs repositories unless you install the darcs command on your system.

This development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.1, which can't be reverted.
You may want to back it up before going further.

Continue? [Y/n] y
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-08-01 12:10.42 ---> saved as "bcd8f328549083e9322e715e5d7b9045adb2862695cea3c97b4f9590e098491c"

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-116-generic
The OCaml toplevel, version 5.2.0
2.1.6
2024-08-01 12:10.42 ---> saved as "ac63393b4e805368629100c787df3f446022a00d14dcbe40192bb8492fb1c679"

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2024-08-01 12:10.42 ---> saved as "0871f724c8a2d736d7aaa78bbefbaa8a9ed27a46407c92c27f1705feb6fcb886"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 44a281fd66344f50c411e5c5300745612282e651 || git fetch origin master) && git reset -q --hard 44a281fd66344f50c411e5c5300745612282e651 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   f45685efec..09f890475c  master     -> origin/master
44a281fd66 [new release] alcotest (5 packages) (1.8.0)

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository

Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2024-08-01 12:12.19 ---> saved as "6f65e52aaba61c3c836f94c4a7ec54b4f5cebf2246f28c61ff91e10dc9539e91"

/src: (copy (src dnssec.opam dns.opam dns-tsig.opam dns-stub.opam dns-server.opam dns-resolver.opam dns-mirage.opam dns-client.opam dns-client-mirage.opam dns-client-lwt.opam dns-cli.opam dns-certify.opam)
            (dst ./))
2024-08-01 12:12.19 ---> saved as "8e5cb2af0cb0019a047905714c563531fe11c9e8c6651dcba7afb74a416f98a9"

/src: (run (network host)
           (shell  "opam pin add -yn dnssec.dev './' && \
                  \nopam pin add -yn dns.dev './' && \
                  \nopam pin add -yn dns-tsig.dev './' && \
                  \nopam pin add -yn dns-stub.dev './' && \
                  \nopam pin add -yn dns-server.dev './' && \
                  \nopam pin add -yn dns-resolver.dev './' && \
                  \nopam pin add -yn dns-mirage.dev './' && \
                  \nopam pin add -yn dns-client.dev './' && \
                  \nopam pin add -yn dns-client-mirage.dev './' && \
                  \nopam pin add -yn dns-client-lwt.dev './' && \
                  \nopam pin add -yn dns-cli.dev './' && \
                  \nopam pin add -yn dns-certify.dev './'"))
[dnssec.dev] synchronised (file:///src)
dnssec is now pinned to file:///src (version dev)
[dns.dev] synchronised (file:///src)
dns is now pinned to file:///src (version dev)
[dns-tsig.dev] synchronised (file:///src)
dns-tsig is now pinned to file:///src (version dev)
[dns-stub.dev] synchronised (file:///src)
dns-stub is now pinned to file:///src (version dev)
[dns-server.dev] synchronised (file:///src)
dns-server is now pinned to file:///src (version dev)
[dns-resolver.dev] synchronised (file:///src)
The following additional pinnings are required by dns-resolver.dev:
  - tls.dev at git+https://github.com/dinosaure/ocaml-tls.git#7495fa5451047bf2137f703f9706adbeba529c03
  - tls-mirage.dev at git+https://github.com/dinosaure/ocaml-tls.git#7495fa5451047bf2137f703f9706adbeba529c03
Pin and install them? [Y/n] y
[tls.dev] synchronised (no changes)
tls is now pinned to git+https://github.com/dinosaure/ocaml-tls.git#7495fa5451047bf2137f703f9706adbeba529c03 (version dev)
[tls-mirage.dev] synchronised (no changes)
tls-mirage is now pinned to git+https://github.com/dinosaure/ocaml-tls.git#7495fa5451047bf2137f703f9706adbeba529c03 (version dev)
dns-resolver is now pinned to file:///src (version dev)
[dns-mirage.dev] synchronised (file:///src)
dns-mirage is now pinned to file:///src (version dev)
[dns-client.dev] synchronised (file:///src)
dns-client is now pinned to file:///src (version dev)
[dns-client-mirage.dev] synchronised (file:///src)
dns-client-mirage is now pinned to file:///src (version dev)
[dns-client-lwt.dev] synchronised (file:///src)
The following additional pinnings are required by dns-client-lwt.dev:
  - tls-lwt.dev at git+https://github.com/dinosaure/ocaml-tls.git#7495fa5451047bf2137f703f9706adbeba529c03
  - ca-certs.dev at git+https://github.com/dinosaure/ca-certs.git#da63fc1c756c3cc65beaf5a7d527a0ccf78ac40a
Pin and install them? [Y/n] y
[tls-lwt.dev] synchronised (no changes)
tls-lwt is now pinned to git+https://github.com/dinosaure/ocaml-tls.git#7495fa5451047bf2137f703f9706adbeba529c03 (version dev)
[ca-certs.dev] synchronised (no changes)
ca-certs is now pinned to git+https://github.com/dinosaure/ca-certs.git#da63fc1c756c3cc65beaf5a7d527a0ccf78ac40a (version dev)
dns-client-lwt is now pinned to file:///src (version dev)
[dns-cli.dev] synchronised (file:///src)
dns-cli is now pinned to file:///src (version dev)
[dns-certify.dev] synchronised (file:///src)
dns-certify is now pinned to file:///src (version dev)
2024-08-01 12:12.48 ---> saved as "031c845450d7f2f8b63935b8fcfe30cefd3e68cd57604fe2fcf93ff707545a35"

/src: (env DEPS "alcotest.1.8.0 arp.3.1.1 asn1-combinators.0.3.1 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bos.0.2.1 ca-certs.dev ca-certs-nss.3.101-1 cmdliner.1.3.0 conf-gmp.4 conf-gmp-powm-sec.3 conf-pkg-config.3 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 digestif.1.2.0 domain-name.0.4.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 eqaf.0.10 ethernet.3.2.0 fmt.0.9.0 fpath.0.7.3 gmap.0.3.0 happy-eyeballs.1.1.0 happy-eyeballs-lwt.1.1.0 happy-eyeballs-mirage.1.1.0 hex.1.5.0 hkdf.2.0.0 host-arch-x86_64.1 host-system-other.1 ipaddr.5.6.0 ipaddr-cstruct.5.6.0 logs.0.7.0 lru.0.3.1 lwt.5.7.0 lwt-dllist.1.0.1 macaddr.5.6.0 macaddr-cstruct.5.6.0 metrics.0.4.1 mirage-clock.4.2.0 mirage-crypto.1.0.0 mirage-crypto-ec.1.0.0 mirage-crypto-pk.1.0.0 mirage-crypto-rng.1.0.0 mirage-crypto-rng-lwt.1.0.0 mirage-flow.4.0.2 mirage-kv.6.1.1 mirage-net.4.0.0 mirage-random.3.0.0 mirage-time.3.0.0 mtime.2.0.0 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 ohex.0.2.0 optint.0.3.0 pbkdf.2.0.0 psq.0.2.1 ptime.1.1.0 randomconv.0.1.3 re.1.11.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 tcpip.8.1.0 tls.dev tls-lwt.dev tls-mirage.dev topkg.1.0.7 uutf.1.0.3 x509.1.0.0 zarith.1.14")

/src: (env CI true)

/src: (env OCAMLCI true)

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam update --depexts && opam install --cli=2.1 --depext-only -y dnssec.dev dns.dev dns-tsig.dev dns-stub.dev dns-server.dev dns-resolver.dev dns-mirage.dev dns-client.dev dns-client-mirage.dev dns-client-lwt.dev dns-cli.dev dns-certify.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:5 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [327 kB]
- Get:6 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [261 kB]
- Get:7 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [386 kB]
- Get:8 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [261 kB]
- Get:9 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [326 kB]
- Get:10 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [413 kB]
- Get:11 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [11.5 kB]
- Fetched 2362 kB in 1s (2343 kB/s)
- Reading package lists...

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[dns.dev] synchronised (no changes)
[dns-certify.dev] synchronised (no changes)
[dns-cli.dev] synchronised (no changes)
[dns-client.dev] synchronised (no changes)
[dns-client-lwt.dev] synchronised (no changes)
[dns-client-mirage.dev] synchronised (no changes)
[dns-mirage.dev] synchronised (no changes)
[dns-resolver.dev] synchronised (no changes)
[dns-server.dev] synchronised (no changes)
[dns-stub.dev] synchronised (no changes)
[dns-tsig.dev] synchronised (no changes)
[dnssec.dev] synchronised (no changes)
[ca-certs.dev] synchronised (no changes)
[tls.dev] synchronised (no changes)
[tls-mirage.dev] synchronised (no changes)
[tls-lwt.dev] synchronised (no changes)

[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-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[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-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).

The following system packages will first need to be installed:
    libgmp-dev pkg-config

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libgmp-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libgmpxx4ldbl:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 16358 files and directories currently installed.)
- Preparing to unpack .../0-libgmpxx4ldbl_2%3a6.3.0+dfsg-2ubuntu6_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-2ubuntu6) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../1-libgmp-dev_2%3a6.3.0+dfsg-2ubuntu6_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.3.0+dfsg-2ubuntu6) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../2-libpkgconf3_1.8.1-2build1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-2build1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-2build1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-2build1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../4-pkgconf_1.8.1-2build1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-2build1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../5-pkg-config_1.8.1-2build1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-2build1) ...
- Setting up libpkgconf3:amd64 (1.8.1-2build1) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-2ubuntu6) ...
- Setting up pkgconf-bin (1.8.1-2build1) ...
- Setting up libgmp-dev:amd64 (2:6.3.0+dfsg-2ubuntu6) ...
- Setting up pkgconf:amd64 (1.8.1-2build1) ...
- Setting up pkg-config:amd64 (1.8.1-2build1) ...
- Processing triggers for libc-bin (2.39-0ubuntu8.2) ...
2024-08-01 12:13.14 ---> saved as "ea8198f55a163b6d4157293ace06d1b4279c459c2b680c03863831e6437b4958"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[tls-lwt.dev] synchronised (no changes)
[tls.dev] synchronised (no changes)
[ca-certs.dev] synchronised (no changes)
[tls-mirage.dev] synchronised (no changes)

[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-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[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-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 ocamlfind             1.9.6
  - install conf-gmp              4
  - install conf-pkg-config       3
  - install ocamlbuild            0.15.0
  - install seq                   base
  - install dune                  3.16.0
  - install cmdliner              1.3.0
  - install base-bytes            base
  - install conf-gmp-powm-sec     3
  - install zarith                1.14
  - install topkg                 1.0.7
  - install stdlib-shims          0.3.0
  - install re                    1.11.0
  - install psq                   0.2.1
  - install optint                0.3.0
  - install ohex                  0.2.0
  - install ocaml-syntax-shims    1.0.0
  - install mirage-clock          4.2.0
  - install macaddr               5.6.0
  - install lwt-dllist            1.0.1
  - install gmap                  0.3.0
  - install eqaf                  0.10
  - install duration              0.2.1
  - install domain-name           0.4.0
  - install csexp                 1.5.2
  - install cppo                  1.6.9
  - install base64                3.5.1
  - install uutf                  1.0.3
  - install rresult               0.7.0
  - install ptime                 1.1.0
  - install mtime                 2.0.0
  - install fmt                   0.9.0
  - install astring               0.8.5
  - install lru                   0.3.1
  - install digestif              1.2.0
  - install ipaddr                5.6.0
  - install dune-configurator     3.16.0
  - install ocplib-endian         1.2
  - install asn1-combinators      0.3.1
  - install metrics               0.4.1
  - install cstruct               6.2.0
  - install fpath                 0.7.3
  - install alcotest              1.8.0
  - install hkdf                  2.0.0
  - install mirage-crypto         1.0.0
  - install lwt                   5.7.0
  - install randomconv            0.1.3
  - install mirage-random         3.0.0
  - install macaddr-cstruct       5.6.0
  - install ipaddr-cstruct        5.6.0
  - install hex                   1.5.0
  - install pbkdf                 2.0.0
  - install mirage-time           3.0.0
  - install mirage-net            4.0.0
  - install mirage-kv             6.1.1
  - install mirage-flow           4.0.2
  - install logs                  0.7.0
  - install cstruct-lwt           6.2.0
  - install mirage-crypto-rng     1.0.0
  - install happy-eyeballs        1.1.0
  - install ethernet              3.2.0
  - install dns                   dev*    [required by happy-eyeballs-lwt]
  - install bos                   0.2.1
  - install mirage-crypto-rng-lwt 1.0.0
  - install mirage-crypto-pk      1.0.0
  - install mirage-crypto-ec      1.0.0
  - install arp                   3.1.1
  - install happy-eyeballs-lwt    1.1.0
  - install x509                  1.0.0
  - install tcpip                 8.1.0
  - install tls                   dev*
  - install ca-certs-nss          3.101-1
  - install ca-certs              dev*
  - install happy-eyeballs-mirage 1.1.0
  - install tls-mirage            dev*
  - install tls-lwt               dev*
===== 76 to install =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved arp.3.1.1  (cached)
-> retrieved asn1-combinators.0.3.1  (cached)
-> retrieved alcotest.1.8.0  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved base64.3.5.1  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved conf-gmp.4  (cached)
-> retrieved conf-gmp-powm-sec.3  (cached)
-> retrieved ca-certs-nss.3.101-1  (cached)
-> retrieved cppo.1.6.9  (cached)
-> installed conf-gmp.4
-> installed conf-pkg-config.3
-> retrieved csexp.1.5.2  (cached)
-> retrieved ca-certs.dev  (no changes)
-> retrieved cstruct.6.2.0  (cached)
-> installed conf-gmp-powm-sec.3
-> retrieved cstruct-lwt.6.2.0  (cached)
-> retrieved domain-name.0.4.0  (cached)
-> retrieved dns.dev  (file:///src)
-> retrieved digestif.1.2.0  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved eqaf.0.10  (cached)
-> retrieved ethernet.3.2.0  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved dune.3.16.0  (cached)
-> retrieved dune-configurator.3.16.0  (cached)
-> retrieved gmap.0.3.0  (cached)
-> retrieved happy-eyeballs.1.1.0  (cached)
-> retrieved happy-eyeballs-lwt.1.1.0  (cached)
-> retrieved happy-eyeballs-mirage.1.1.0  (cached)
-> retrieved hex.1.5.0  (cached)
-> retrieved hkdf.2.0.0  (cached)
-> retrieved ipaddr.5.6.0  (cached)
-> retrieved ipaddr-cstruct.5.6.0  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved lru.0.3.1  (cached)
-> retrieved lwt.5.7.0  (cached)
-> retrieved lwt-dllist.1.0.1  (cached)
-> retrieved macaddr.5.6.0  (cached)
-> retrieved macaddr-cstruct.5.6.0  (cached)
-> retrieved metrics.0.4.1  (cached)
-> retrieved mirage-clock.4.2.0  (cached)
-> retrieved mirage-crypto.1.0.0  (cached)
-> retrieved mirage-crypto-ec.1.0.0  (cached)
-> retrieved mirage-crypto-pk.1.0.0  (cached)
-> retrieved mirage-flow.4.0.2  (cached)
-> retrieved mirage-kv.6.1.1  (cached)
-> retrieved mirage-net.4.0.0  (cached)
-> retrieved mirage-random.3.0.0  (cached)
-> retrieved mirage-time.3.0.0  (cached)
-> retrieved mtime.2.0.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ohex.0.2.0  (cached)
-> retrieved optint.0.3.0  (cached)
-> retrieved pbkdf.2.0.0  (cached)
-> retrieved psq.0.2.1  (cached)
-> retrieved ptime.1.1.0  (cached)
-> retrieved randomconv.0.1.3  (cached)
-> retrieved re.1.11.0  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved tcpip.8.1.0  (cached)
-> retrieved mirage-crypto-rng.1.0.0  (cached)
-> retrieved mirage-crypto-rng-lwt.1.0.0  (cached)
-> installed cmdliner.1.3.0
-> retrieved tls-lwt.dev  (no changes)
-> retrieved tls-mirage.dev  (no changes)
-> retrieved tls.dev  (no changes)
-> retrieved uutf.1.0.3  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved x509.1.0.0  (cached)
-> retrieved zarith.1.14  (cached)
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlbuild.0.15.0
-> installed zarith.1.14
-> installed topkg.1.0.7
-> installed rresult.0.7.0
-> installed mtime.2.0.0
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed ptime.1.1.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed dune.3.16.0
-> installed duration.0.2.1
-> installed lwt-dllist.1.0.1
-> installed mirage-clock.4.2.0
-> installed gmap.0.3.0
-> installed csexp.1.5.2
-> installed base64.3.5.1
-> installed cstruct.6.2.0
-> installed domain-name.0.4.0
-> installed eqaf.0.10
-> installed macaddr.5.6.0
-> installed metrics.0.4.1
-> installed ohex.0.2.0
-> installed optint.0.3.0
-> installed psq.0.2.1
-> installed stdlib-shims.0.3.0
-> installed asn1-combinators.0.3.1
-> installed mirage-random.3.0.0
-> installed randomconv.0.1.3
-> installed macaddr-cstruct.5.6.0
-> installed hex.1.5.0
-> installed lru.0.3.1
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.11.0
-> installed cppo.1.6.9
-> installed ipaddr.5.6.0
-> installed ipaddr-cstruct.5.6.0
-> installed digestif.1.2.0
-> installed ocplib-endian.1.2
-> installed hkdf.2.0.0
-> installed dune-configurator.3.16.0
-> installed alcotest.1.8.0
-> installed mirage-crypto.1.0.0
-> installed pbkdf.2.0.0
-> installed lwt.5.7.0
-> installed mirage-time.3.0.0
-> installed mirage-net.4.0.0
-> installed mirage-flow.4.0.2
-> installed cstruct-lwt.6.2.0
-> installed mirage-kv.6.1.1
-> installed logs.0.7.0
-> installed dns.dev
-> installed ethernet.3.2.0
-> installed happy-eyeballs.1.1.0
-> installed mirage-crypto-rng.1.0.0
-> installed arp.3.1.1
-> installed mirage-crypto-rng-lwt.1.0.0
-> installed happy-eyeballs-lwt.1.1.0
-> installed mirage-crypto-pk.1.0.0
-> installed tcpip.8.1.0
-> installed happy-eyeballs-mirage.1.1.0
-> installed bos.0.2.1
-> installed mirage-crypto-ec.1.0.0
-> installed x509.1.0.0
-> installed ca-certs.dev
-> installed ca-certs-nss.3.101-1
-> installed tls.dev
-> installed tls-mirage.dev
-> installed tls-lwt.dev
Done.
# Run eval $(opam env) to update the current shell environment
2024-08-01 12:14.39 ---> saved as "4ef60a53240b123311efaa71b90d5f3d431ff6d0bbb3fae427991eff03d1fa32"

/src: (copy (src .) (dst /src))
2024-08-01 12:14.39 ---> saved as "022cceadac983cfe8dde053dc9a5851d44af70526985458a457fd93e71c51010"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/5.2/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/.dns_client.objs/byte -I client/.dns_client.objs/native -I /home/opam/.opam/5.2/lib/base64 -I /home/opam/.opam/5.2/lib/cstruct -I /home/opam/.opam/5.2/lib/domain-name -I /home/opam/.opam/5.2/lib/duration -I /home/opam/.opam/5.2/lib/fmt -I /home/opam/.opam/5.2/lib/gmap -I /home/opam/.opam/5.2/lib/ipaddr -I /home/opam/.opam/5.2/lib/logs -I /home/opam/.opam/5.2/lib/lru -I /home/opam/.opam/5.2/lib/macaddr -I /home/opam/.opam/5.2/lib/metrics -I /home/opam/.opam/5.2/lib/ohex -I /home/opam/.opam/5.2/lib/psq -I /home/opam/.opam/5.2/lib/ptime -I /home/opam/.opam/5.2/lib/randomconv -I /home/opam/.opam/5.2/lib/seq -I cache/.dns_cache.objs/byte -I cache/.dns_cache.objs/native -I src/.dns.objs/byte -I src/.dns.objs/native -intf-suffix .ml -no-alias-deps -opaque -o client/.dns_client.objs/native/dns_client.cmx -c -impl client/dns_client.ml)
File "client/dns_client.ml", line 262, characters 22-35:
262 |       Pure.make_query Transport.rng proto ~dnssec:true t.edns name query_type
                            ^^^^^^^^^^^^^
Error: This expression has type int -> string
       but an expression was expected of type int -> Cstruct.t
       Type string is not compatible with type Cstruct.t
(cd _build/default && /home/opam/.opam/5.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 -bin-annot-occurrences -I certify/.dns_certify.objs/byte -I /home/opam/.opam/5.2/lib/asn1-combinators -I /home/opam/.opam/5.2/lib/base64 -I /home/opam/.opam/5.2/lib/cstruct -I /home/opam/.opam/5.2/lib/digestif -I /home/opam/.opam/5.2/lib/domain-name -I /home/opam/.opam/5.2/lib/eqaf -I /home/opam/.opam/5.2/lib/fmt -I /home/opam/.opam/5.2/lib/gmap -I /home/opam/.opam/5.2/lib/ipaddr -I /home/opam/.opam/5.2/lib/logs -I /home/opam/.opam/5.2/lib/macaddr -I /home/opam/.opam/5.2/lib/metrics -I /home/opam/.opam/5.2/lib/mirage-crypto -I /home/opam/.opam/5.2/lib/mirage-crypto-ec -I /home/opam/.opam/5.2/lib/mirage-crypto-pk -I /home/opam/.opam/5.2/lib/mirage-crypto-rng -I /home/opam/.opam/5.2/lib/ohex -I /home/opam/.opam/5.2/lib/pbkdf -I /home/opam/.opam/5.2/lib/ptime -I /home/opam/.opam/5.2/lib/randomconv -I /home/opam/.opam/5.2/lib/x509 -I /home/opam/.opam/5.2/lib/zarith -I src/.dns.objs/byte -I tsig/.dns_tsig.objs/byte -intf-suffix .ml -no-alias-deps -opaque -o certify/.dns_certify.objs/byte/dns_certify.cmo -c -impl certify/dns_certify.ml)
File "certify/dns_certify.ml", line 1:
Error: The implementation certify/dns_certify.ml
       does not match the interface certify/dns_certify.ml: 
       Values do not match:
         val nsupdate :
           (int -> Cstruct.t) ->
           (unit -> Ptime.t) ->
           host:'a Domain_name.t ->
           keyname:'b Domain_name.t ->
           zone:'c Domain_name.t ->
           Dns.Dnskey.t ->
           X509.Signing_request.t ->
           (string *
            (string ->
             (unit,
              [> `Bad_reply of Dns.Packet.mismatch * Dns.Packet.t
               | `Tsig of Dns_tsig.e
               | `Unexpected_reply of Dns.Packet.reply ])
             result),
            [> `Msg of string ])
           result
       is not included in
         val nsupdate :
           (int -> string) ->
           (unit -> Ptime.t) ->
           host:[ `host ] Domain_name.t ->
           keyname:'b Domain_name.t ->
           zone:[ `host ] Domain_name.t ->
           Dns.Dnskey.t ->
           X509.Signing_request.t ->
           (string * (string -> (unit, [> u_err ]) result),
            [> `Msg of string ])
           result
       The type
         (int -> Cstruct.t) ->
         (unit -> Ptime.t) ->
         host:'a Domain_name.t ->
         keyname:'b Domain_name.t ->
         zone:'c Domain_name.t ->
         Dns.Dnskey.t ->
         X509.Signing_request.t ->
         (string *
          (string ->
           (unit,
            [> `Bad_reply of Dns.Packet.mismatch * Dns.Packet.t
             | `Tsig of Dns_tsig.e
             | `Unexpected_reply of Dns.Packet.reply ])
           result),
          [> `Msg of string ])
         result
       is not compatible with the type
         (int -> string) ->
         (unit -> Ptime.t) ->
         host:[ `host ] Domain_name.t ->
         keyname:'d Domain_name.t ->
         zone:[ `host ] Domain_name.t ->
         Dns.Dnskey.t ->
         X509.Signing_request.t ->
         (string * (string -> (unit, [> u_err ]) result),
          [> `Msg of string ])
         result
       Type Cstruct.t is not compatible with type string
       File "certify/dns_certify.mli", lines 54-58, characters 0-30:
         Expected declaration
       File "certify/dns_certify.ml", line 88, characters 4-12:
         Actual declaration
(cd _build/default && /home/opam/.opam/5.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 -bin-annot-occurrences -I client/.dns_client.objs/byte -I /home/opam/.opam/5.2/lib/base64 -I /home/opam/.opam/5.2/lib/cstruct -I /home/opam/.opam/5.2/lib/domain-name -I /home/opam/.opam/5.2/lib/duration -I /home/opam/.opam/5.2/lib/fmt -I /home/opam/.opam/5.2/lib/gmap -I /home/opam/.opam/5.2/lib/ipaddr -I /home/opam/.opam/5.2/lib/logs -I /home/opam/.opam/5.2/lib/lru -I /home/opam/.opam/5.2/lib/macaddr -I /home/opam/.opam/5.2/lib/metrics -I /home/opam/.opam/5.2/lib/ohex -I /home/opam/.opam/5.2/lib/psq -I /home/opam/.opam/5.2/lib/ptime -I /home/opam/.opam/5.2/lib/randomconv -I /home/opam/.opam/5.2/lib/seq -I cache/.dns_cache.objs/byte -I src/.dns.objs/byte -intf-suffix .ml -no-alias-deps -opaque -o client/.dns_client.objs/byte/dns_client.cmo -c -impl client/dns_client.ml)
File "client/dns_client.ml", line 262, characters 22-35:
262 |       Pure.make_query Transport.rng proto ~dnssec:true t.edns name query_type
                            ^^^^^^^^^^^^^
Error: This expression has type int -> string
       but an expression was expected of type int -> Cstruct.t
       Type string is not compatible with type Cstruct.t
(cd _build/default && /home/opam/.opam/5.2/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/.dns_server.objs/byte -I server/.dns_server.objs/native -I /home/opam/.opam/5.2/lib/base64 -I /home/opam/.opam/5.2/lib/cstruct -I /home/opam/.opam/5.2/lib/domain-name -I /home/opam/.opam/5.2/lib/duration -I /home/opam/.opam/5.2/lib/fmt -I /home/opam/.opam/5.2/lib/gmap -I /home/opam/.opam/5.2/lib/ipaddr -I /home/opam/.opam/5.2/lib/logs -I /home/opam/.opam/5.2/lib/macaddr -I /home/opam/.opam/5.2/lib/metrics -I /home/opam/.opam/5.2/lib/ohex -I /home/opam/.opam/5.2/lib/ptime -I /home/opam/.opam/5.2/lib/randomconv -I src/.dns.objs/byte -I src/.dns.objs/native -intf-suffix .ml -no-alias-deps -opaque -o server/.dns_server.objs/native/dns_server.cmx -c -impl server/dns_server.ml)
File "server/dns_server.ml", line 643, characters 36-46:
643 |       and header = Randomconv.int16 server.rng, authoritative
                                          ^^^^^^^^^^
Error: This expression has type int -> string
       but an expression was expected of type int -> Cstruct.t
       Type string is not compatible with type Cstruct.t
(cd _build/default && /home/opam/.opam/5.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 -bin-annot-occurrences -I server/.dns_server.objs/byte -I /home/opam/.opam/5.2/lib/base64 -I /home/opam/.opam/5.2/lib/cstruct -I /home/opam/.opam/5.2/lib/domain-name -I /home/opam/.opam/5.2/lib/duration -I /home/opam/.opam/5.2/lib/fmt -I /home/opam/.opam/5.2/lib/gmap -I /home/opam/.opam/5.2/lib/ipaddr -I /home/opam/.opam/5.2/lib/logs -I /home/opam/.opam/5.2/lib/macaddr -I /home/opam/.opam/5.2/lib/metrics -I /home/opam/.opam/5.2/lib/ohex -I /home/opam/.opam/5.2/lib/ptime -I /home/opam/.opam/5.2/lib/randomconv -I src/.dns.objs/byte -intf-suffix .ml -no-alias-deps -opaque -o server/.dns_server.objs/byte/dns_server.cmo -c -impl server/dns_server.ml)
File "server/dns_server.ml", line 643, characters 36-46:
643 |       and header = Randomconv.int16 server.rng, authoritative
                                          ^^^^^^^^^^
Error: This expression has type int -> string
       but an expression was expected of type int -> Cstruct.t
       Type string is not compatible with type Cstruct.t
(cd _build/default && /home/opam/.opam/5.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 -bin-annot-occurrences -I app/.onotify.eobjs/byte -I /home/opam/.opam/5.2/lib/base64 -I /home/opam/.opam/5.2/lib/cmdliner -I /home/opam/.opam/5.2/lib/cstruct -I /home/opam/.opam/5.2/lib/digestif/c -I /home/opam/.opam/5.2/lib/domain-name -I /home/opam/.opam/5.2/lib/eqaf -I /home/opam/.opam/5.2/lib/fmt -I /home/opam/.opam/5.2/lib/gmap -I /home/opam/.opam/5.2/lib/ipaddr -I /home/opam/.opam/5.2/lib/ipaddr/unix -I /home/opam/.opam/5.2/lib/logs -I /home/opam/.opam/5.2/lib/macaddr -I /home/opam/.opam/5.2/lib/metrics -I /home/opam/.opam/5.2/lib/mirage-crypto -I /home/opam/.opam/5.2/lib/mirage-crypto-rng -I /home/opam/.opam/5.2/lib/mirage-crypto-rng/unix -I /home/opam/.opam/5.2/lib/ocaml/unix -I /home/opam/.opam/5.2/lib/ohex -I /home/opam/.opam/5.2/lib/ptime -I /home/opam/.opam/5.2/lib/ptime/clock/os -I /home/opam/.opam/5.2/lib/randomconv -I app/.dns_cli.objs/byte -I src/.dns.objs/byte -I tsig/.dns_tsig.objs/byte -no-alias-deps -opaque -o app/.onotify.eobjs/byte/dune__exe__Onotify.cmo -c -impl app/onotify.ml)
File "app/onotify.ml", line 11, characters 32-58:
11 |   and header = Randomconv.int16 Mirage_crypto_rng.generate, Packet.Flags.singleton `Authoritative
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: This expression has type int -> string
       but an expression was expected of type int -> Cstruct.t
       Type string is not compatible with type Cstruct.t
(cd _build/default && /home/opam/.opam/5.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 -bin-annot-occurrences -I app/.oupdate.eobjs/byte -I /home/opam/.opam/5.2/lib/base64 -I /home/opam/.opam/5.2/lib/cmdliner -I /home/opam/.opam/5.2/lib/cstruct -I /home/opam/.opam/5.2/lib/digestif/c -I /home/opam/.opam/5.2/lib/domain-name -I /home/opam/.opam/5.2/lib/eqaf -I /home/opam/.opam/5.2/lib/fmt -I /home/opam/.opam/5.2/lib/gmap -I /home/opam/.opam/5.2/lib/ipaddr -I /home/opam/.opam/5.2/lib/ipaddr/unix -I /home/opam/.opam/5.2/lib/logs -I /home/opam/.opam/5.2/lib/macaddr -I /home/opam/.opam/5.2/lib/metrics -I /home/opam/.opam/5.2/lib/mirage-crypto -I /home/opam/.opam/5.2/lib/mirage-crypto-rng -I /home/opam/.opam/5.2/lib/mirage-crypto-rng/unix -I /home/opam/.opam/5.2/lib/ocaml/unix -I /home/opam/.opam/5.2/lib/ohex -I /home/opam/.opam/5.2/lib/ptime -I /home/opam/.opam/5.2/lib/ptime/clock/os -I /home/opam/.opam/5.2/lib/randomconv -I app/.dns_cli.objs/byte -I src/.dns.objs/byte -I tsig/.dns_tsig.objs/byte -no-alias-deps -opaque -o app/.oupdate.eobjs/byte/dune__exe__Oupdate.cmo -c -impl app/oupdate.ml)
File "app/oupdate.ml", line 16, characters 32-58:
16 |   and header = Randomconv.int16 Mirage_crypto_rng.generate, Packet.Flags.empty
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: This expression has type int -> string
       but an expression was expected of type int -> Cstruct.t
       Type string is not compatible with type Cstruct.t
(cd _build/default && /home/opam/.opam/5.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 -bin-annot-occurrences -I app/.odns.eobjs/byte -I /home/opam/.opam/5.2/lib/asn1-combinators -I /home/opam/.opam/5.2/lib/astring -I /home/opam/.opam/5.2/lib/base64 -I /home/opam/.opam/5.2/lib/bos -I /home/opam/.opam/5.2/lib/bytes -I /home/opam/.opam/5.2/lib/ca-certs -I /home/opam/.opam/5.2/lib/cmdliner -I /home/opam/.opam/5.2/lib/cstruct -I /home/opam/.opam/5.2/lib/digestif/c -I /home/opam/.opam/5.2/lib/domain-name -I /home/opam/.opam/5.2/lib/duration -I /home/opam/.opam/5.2/lib/eqaf -I /home/opam/.opam/5.2/lib/fmt -I /home/opam/.opam/5.2/lib/fpath -I /home/opam/.opam/5.2/lib/gmap -I /home/opam/.opam/5.2/lib/happy-eyeballs -I /home/opam/.opam/5.2/lib/happy-eyeballs-lwt -I /home/opam/.opam/5.2/lib/hex -I /home/opam/.opam/5.2/lib/hkdf -I /home/opam/.opam/5.2/lib/ipaddr -I /home/opam/.opam/5.2/lib/ipaddr/unix -I /home/opam/.opam/5.2/lib/logs -I /home/opam/.opam/5.2/lib/lru -I /home/opam/.opam/5.2/lib/lwt -I /home/opam/.opam/5.2/lib/lwt/unix -I /home/opam/.opam/5.2/lib/macaddr -I /home/opam/.opam/5.2/lib/metrics -I /home/opam/.opam/5.2/lib/mirage-crypto -I /home/opam/.opam/5.2/lib/mirage-crypto-ec -I /home/opam/.opam/5.2/lib/mirage-crypto-pk -I /home/opam/.opam/5.2/lib/mirage-crypto-rng -I /home/opam/.opam/5.2/lib/mirage-crypto-rng-lwt -I /home/opam/.opam/5.2/lib/mirage-crypto-rng/unix -I /home/opam/.opam/5.2/lib/mtime -I /home/opam/.opam/5.2/lib/mtime/clock/os -I /home/opam/.opam/5.2/lib/ocaml/threads -I /home/opam/.opam/5.2/lib/ocaml/unix -I /home/opam/.opam/5.2/lib/ocplib-endian -I /home/opam/.opam/5.2/lib/ocplib-endian/bigstring -I /home/opam/.opam/5.2/lib/ohex -I /home/opam/.opam/5.2/lib/pbkdf -I /home/opam/.opam/5.2/lib/psq -I /home/opam/.opam/5.2/lib/ptime -I /home/opam/.opam/5.2/lib/ptime/clock/os -I /home/opam/.opam/5.2/lib/randomconv -I /home/opam/.opam/5.2/lib/rresult -I /home/opam/.opam/5.2/lib/seq -I /home/opam/.opam/5.2/lib/tls -I /home/opam/.opam/5.2/lib/tls-lwt -I /home/opam/.opam/5.2/lib/x509 -I /home/opam/.opam/5.2/lib/zarith -I app/.dns_cli.objs/byte -I cache/.dns_cache.objs/byte -I client/.dns_client.objs/byte -I lwt/client/.dns_client_lwt.objs/byte -I resolvconf/.dns_resolvconv.objs/public_cmi -I src/.dns.objs/byte -no-alias-deps -opaque -o app/.odns.eobjs/byte/dune__exe__Odns.cmo -c -impl app/odns.ml)
File "app/odns.ml", line 250, characters 21-63:
250 |             cfg (Ok (X509.Authenticator.server_cert_fingerprint ~time ~hash ~fingerprint))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Unbound value X509.Authenticator.server_cert_fingerprint
(cd _build/default && /home/opam/.opam/5.2/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 certify/.dns_certify.objs/byte -I certify/.dns_certify.objs/native -I /home/opam/.opam/5.2/lib/asn1-combinators -I /home/opam/.opam/5.2/lib/base64 -I /home/opam/.opam/5.2/lib/cstruct -I /home/opam/.opam/5.2/lib/digestif -I /home/opam/.opam/5.2/lib/domain-name -I /home/opam/.opam/5.2/lib/eqaf -I /home/opam/.opam/5.2/lib/fmt -I /home/opam/.opam/5.2/lib/gmap -I /home/opam/.opam/5.2/lib/ipaddr -I /home/opam/.opam/5.2/lib/logs -I /home/opam/.opam/5.2/lib/macaddr -I /home/opam/.opam/5.2/lib/metrics -I /home/opam/.opam/5.2/lib/mirage-crypto -I /home/opam/.opam/5.2/lib/mirage-crypto-ec -I /home/opam/.opam/5.2/lib/mirage-crypto-pk -I /home/opam/.opam/5.2/lib/mirage-crypto-rng -I /home/opam/.opam/5.2/lib/ohex -I /home/opam/.opam/5.2/lib/pbkdf -I /home/opam/.opam/5.2/lib/ptime -I /home/opam/.opam/5.2/lib/randomconv -I /home/opam/.opam/5.2/lib/x509 -I /home/opam/.opam/5.2/lib/zarith -I src/.dns.objs/byte -I src/.dns.objs/native -I tsig/.dns_tsig.objs/byte -I tsig/.dns_tsig.objs/native -intf-suffix .ml -no-alias-deps -opaque -o certify/.dns_certify.objs/native/dns_certify.cmx -c -impl certify/dns_certify.ml)
File "certify/dns_certify.ml", line 1:
Error: The implementation certify/dns_certify.ml
       does not match the interface certify/dns_certify.ml: 
       Values do not match:
         val nsupdate :
           (int -> Cstruct.t) ->
           (unit -> Ptime.t) ->
           host:'a Domain_name.t ->
           keyname:'b Domain_name.t ->
           zone:'c Domain_name.t ->
           Dns.Dnskey.t ->
           X509.Signing_request.t ->
           (string *
            (string ->
             (unit,
              [> `Bad_reply of Dns.Packet.mismatch * Dns.Packet.t
               | `Tsig of Dns_tsig.e
               | `Unexpected_reply of Dns.Packet.reply ])
             result),
            [> `Msg of string ])
           result
       is not included in
         val nsupdate :
           (int -> string) ->
           (unit -> Ptime.t) ->
           host:[ `host ] Domain_name.t ->
           keyname:'b Domain_name.t ->
           zone:[ `host ] Domain_name.t ->
           Dns.Dnskey.t ->
           X509.Signing_request.t ->
           (string * (string -> (unit, [> u_err ]) result),
            [> `Msg of string ])
           result
       The type
         (int -> Cstruct.t) ->
         (unit -> Ptime.t) ->
         host:'a Domain_name.t ->
         keyname:'b Domain_name.t ->
         zone:'c Domain_name.t ->
         Dns.Dnskey.t ->
         X509.Signing_request.t ->
         (string *
          (string ->
           (unit,
            [> `Bad_reply of Dns.Packet.mismatch * Dns.Packet.t
             | `Tsig of Dns_tsig.e
             | `Unexpected_reply of Dns.Packet.reply ])
           result),
          [> `Msg of string ])
         result
       is not compatible with the type
         (int -> string) ->
         (unit -> Ptime.t) ->
         host:[ `host ] Domain_name.t ->
         keyname:'d Domain_name.t ->
         zone:[ `host ] Domain_name.t ->
         Dns.Dnskey.t ->
         X509.Signing_request.t ->
         (string * (string -> (unit, [> u_err ]) result),
          [> `Msg of string ])
         result
       Type Cstruct.t is not compatible with type string
       File "certify/dns_certify.mli", lines 54-58, characters 0-30:
         Expected declaration
       File "certify/dns_certify.ml", line 88, characters 4-12:
         Actual declaration
(cd _build/default && /home/opam/.opam/5.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 -bin-annot-occurrences -I resolver/.dns_resolver.objs/byte -I /home/opam/.opam/5.2/lib/base64 -I /home/opam/.opam/5.2/lib/cstruct -I /home/opam/.opam/5.2/lib/digestif -I /home/opam/.opam/5.2/lib/domain-name -I /home/opam/.opam/5.2/lib/duration -I /home/opam/.opam/5.2/lib/eqaf -I /home/opam/.opam/5.2/lib/fmt -I /home/opam/.opam/5.2/lib/gmap -I /home/opam/.opam/5.2/lib/ipaddr -I /home/opam/.opam/5.2/lib/logs -I /home/opam/.opam/5.2/lib/lru -I /home/opam/.opam/5.2/lib/macaddr -I /home/opam/.opam/5.2/lib/metrics -I /home/opam/.opam/5.2/lib/mirage-crypto -I /home/opam/.opam/5.2/lib/mirage-crypto-ec -I /home/opam/.opam/5.2/lib/mirage-crypto-pk -I /home/opam/.opam/5.2/lib/mirage-crypto-rng -I /home/opam/.opam/5.2/lib/ohex -I /home/opam/.opam/5.2/lib/psq -I /home/opam/.opam/5.2/lib/ptime -I /home/opam/.opam/5.2/lib/randomconv -I /home/opam/.opam/5.2/lib/seq -I /home/opam/.opam/5.2/lib/zarith -I cache/.dns_cache.objs/byte -I dnssec/.dnssec.objs/byte -I server/.dns_server.objs/byte -I src/.dns.objs/byte -intf-suffix .ml -no-alias-deps -opaque -o resolver/.dns_resolver.objs/byte/dns_resolver.cmo -c -impl resolver/dns_resolver.ml)
File "resolver/dns_resolver.ml", line 82, characters 66-71:
82 |   let id = match id with Some id -> id | None -> Randomconv.int16 t.rng in
                                                                       ^^^^^
Error: This expression has type int -> string
       but an expression was expected of type int -> Cstruct.t
       Type string is not compatible with type Cstruct.t
(cd _build/default && /home/opam/.opam/5.2/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 resolver/.dns_resolver.objs/byte -I resolver/.dns_resolver.objs/native -I /home/opam/.opam/5.2/lib/base64 -I /home/opam/.opam/5.2/lib/cstruct -I /home/opam/.opam/5.2/lib/digestif -I /home/opam/.opam/5.2/lib/domain-name -I /home/opam/.opam/5.2/lib/duration -I /home/opam/.opam/5.2/lib/eqaf -I /home/opam/.opam/5.2/lib/fmt -I /home/opam/.opam/5.2/lib/gmap -I /home/opam/.opam/5.2/lib/ipaddr -I /home/opam/.opam/5.2/lib/logs -I /home/opam/.opam/5.2/lib/lru -I /home/opam/.opam/5.2/lib/macaddr -I /home/opam/.opam/5.2/lib/metrics -I /home/opam/.opam/5.2/lib/mirage-crypto -I /home/opam/.opam/5.2/lib/mirage-crypto-ec -I /home/opam/.opam/5.2/lib/mirage-crypto-pk -I /home/opam/.opam/5.2/lib/mirage-crypto-rng -I /home/opam/.opam/5.2/lib/ohex -I /home/opam/.opam/5.2/lib/psq -I /home/opam/.opam/5.2/lib/ptime -I /home/opam/.opam/5.2/lib/randomconv -I /home/opam/.opam/5.2/lib/seq -I /home/opam/.opam/5.2/lib/zarith -I cache/.dns_cache.objs/byte -I cache/.dns_cache.objs/native -I dnssec/.dnssec.objs/byte -I dnssec/.dnssec.objs/native -I server/.dns_server.objs/byte -I server/.dns_server.objs/native -I src/.dns.objs/byte -I src/.dns.objs/native -intf-suffix .ml -no-alias-deps -opaque -o resolver/.dns_resolver.objs/native/dns_resolver_cache.cmx -c -impl resolver/dns_resolver_cache.ml)
File "resolver/dns_resolver_cache.ml", line 1:
Error: The implementation resolver/dns_resolver_cache.ml
       does not match the interface resolver/dns_resolver_cache.ml: 
       Values do not match:
         val resolve :
           Dns_cache.t ->
           dnssec:bool ->
           rng:(int -> Cstruct.t) ->
           [ `Both | `Ipv4_only | `Ipv6_only ] ->
           int64 ->
           [ `raw ] Domain_name.t ->
           ([> `K of Dns.Rr_map.k ] as 'a) ->
           [ `raw ] Domain_name.t * [ `raw ] Domain_name.t * 'a list *
           Ipaddr.t * Dns_cache.t
       is not included in
         val resolve :
           Dns_cache.t ->
           dnssec:bool ->
           rng:(int -> string) ->
           [ `Both | `Ipv4_only | `Ipv6_only ] ->
           int64 ->
           [ `raw ] Domain_name.t ->
           Dns.Packet.Question.qtype ->
           [ `raw ] Domain_name.t * [ `raw ] Domain_name.t *
           Dns.Packet.Question.qtype list * Ipaddr.t * Dns_cache.t
       The type
         Dns_cache.t ->
         dnssec:bool ->
         rng:(int -> Cstruct.t) ->
         [ `Both | `Ipv4_only | `Ipv6_only ] ->
         int64 ->
         [ `raw ] Domain_name.t ->
         ([> `K of Dns.Rr_map.k ] as 'a) ->
         [ `raw ] Domain_name.t * [ `raw ] Domain_name.t * 'a list *
         Ipaddr.t * Dns_cache.t
       is not compatible with the type
         Dns_cache.t ->
         dnssec:bool ->
         rng:(int -> string) ->
         [ `Both | `Ipv4_only | `Ipv6_only ] ->
         int64 ->
         [ `raw ] Domain_name.t ->
         Dns.Packet.Question.qtype ->
         [ `raw ] Domain_name.t * [ `raw ] Domain_name.t *
         Dns.Packet.Question.qtype list * Ipaddr.t * Dns_cache.t
       Type Cstruct.t is not compatible with type string
       File "resolver/dns_resolver_cache.mli", lines 15-16, characters 0-128:
         Expected declaration
       File "resolver/dns_resolver_cache.ml", line 140, characters 4-11:
         Actual declaration
(cd _build/default && /home/opam/.opam/5.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 -bin-annot-occurrences -I mirage/resolver/.dns_resolver_mirage.objs/byte -I /home/opam/.opam/5.2/lib/asn1-combinators -I /home/opam/.opam/5.2/lib/base64 -I /home/opam/.opam/5.2/lib/cstruct -I /home/opam/.opam/5.2/lib/digestif -I /home/opam/.opam/5.2/lib/domain-name -I /home/opam/.opam/5.2/lib/duration -I /home/opam/.opam/5.2/lib/eqaf -I /home/opam/.opam/5.2/lib/fmt -I /home/opam/.opam/5.2/lib/gmap -I /home/opam/.opam/5.2/lib/hkdf -I /home/opam/.opam/5.2/lib/ipaddr -I /home/opam/.opam/5.2/lib/logs -I /home/opam/.opam/5.2/lib/lru -I /home/opam/.opam/5.2/lib/lwt -I /home/opam/.opam/5.2/lib/macaddr -I /home/opam/.opam/5.2/lib/metrics -I /home/opam/.opam/5.2/lib/mirage-clock -I /home/opam/.opam/5.2/lib/mirage-crypto -I /home/opam/.opam/5.2/lib/mirage-crypto-ec -I /home/opam/.opam/5.2/lib/mirage-crypto-pk -I /home/opam/.opam/5.2/lib/mirage-crypto-rng -I /home/opam/.opam/5.2/lib/mirage-flow -I /home/opam/.opam/5.2/lib/mirage-kv -I /home/opam/.opam/5.2/lib/mirage-random -I /home/opam/.opam/5.2/lib/mirage-time -I /home/opam/.opam/5.2/lib/ohex -I /home/opam/.opam/5.2/lib/optint -I /home/opam/.opam/5.2/lib/pbkdf -I /home/opam/.opam/5.2/lib/psq -I /home/opam/.opam/5.2/lib/ptime -I /home/opam/.opam/5.2/lib/randomconv -I /home/opam/.opam/5.2/lib/seq -I /home/opam/.opam/5.2/lib/tcpip -I /home/opam/.opam/5.2/lib/tls -I /home/opam/.opam/5.2/lib/tls-mirage -I /home/opam/.opam/5.2/lib/x509 -I /home/opam/.opam/5.2/lib/zarith -I cache/.dns_cache.objs/byte -I dnssec/.dnssec.objs/byte -I mirage/.dns_mirage.objs/byte -I resolver/.dns_resolver.objs/byte -I server/.dns_server.objs/byte -I src/.dns.objs/byte -intf-suffix .ml -no-alias-deps -opaque -o mirage/resolver/.dns_resolver_mirage.objs/byte/dns_resolver_mirage.cmo -c -impl mirage/resolver/dns_resolver_mirage.ml)
File "mirage/resolver/dns_resolver_mirage.ml", line 29, characters 54-86:
29 |     let sport () = 1024 + Randomconv.int ~bound:48128 (Cstruct.to_string % R.generate) in
                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: This expression has type int -> string
       but an expression was expected of type int -> Cstruct.t
       Type string is not compatible with type Cstruct.t
(cd _build/default && /home/opam/.opam/5.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 -bin-annot-occurrences -I resolver/.dns_resolver.objs/byte -I /home/opam/.opam/5.2/lib/base64 -I /home/opam/.opam/5.2/lib/cstruct -I /home/opam/.opam/5.2/lib/digestif -I /home/opam/.opam/5.2/lib/domain-name -I /home/opam/.opam/5.2/lib/duration -I /home/opam/.opam/5.2/lib/eqaf -I /home/opam/.opam/5.2/lib/fmt -I /home/opam/.opam/5.2/lib/gmap -I /home/opam/.opam/5.2/lib/ipaddr -I /home/opam/.opam/5.2/lib/logs -I /home/opam/.opam/5.2/lib/lru -I /home/opam/.opam/5.2/lib/macaddr -I /home/opam/.opam/5.2/lib/metrics -I /home/opam/.opam/5.2/lib/mirage-crypto -I /home/opam/.opam/5.2/lib/mirage-crypto-ec -I /home/opam/.opam/5.2/lib/mirage-crypto-pk -I /home/opam/.opam/5.2/lib/mirage-crypto-rng -I /home/opam/.opam/5.2/lib/ohex -I /home/opam/.opam/5.2/lib/psq -I /home/opam/.opam/5.2/lib/ptime -I /home/opam/.opam/5.2/lib/randomconv -I /home/opam/.opam/5.2/lib/seq -I /home/opam/.opam/5.2/lib/zarith -I cache/.dns_cache.objs/byte -I dnssec/.dnssec.objs/byte -I server/.dns_server.objs/byte -I src/.dns.objs/byte -intf-suffix .ml -no-alias-deps -opaque -o resolver/.dns_resolver.objs/byte/dns_resolver_cache.cmo -c -impl resolver/dns_resolver_cache.ml)
File "resolver/dns_resolver_cache.ml", line 1:
Error: The implementation resolver/dns_resolver_cache.ml
       does not match the interface resolver/dns_resolver_cache.ml: 
       Values do not match:
         val resolve :
           Dns_cache.t ->
           dnssec:bool ->
           rng:(int -> Cstruct.t) ->
           [ `Both | `Ipv4_only | `Ipv6_only ] ->
           int64 ->
           [ `raw ] Domain_name.t ->
           ([> `K of Dns.Rr_map.k ] as 'a) ->
           [ `raw ] Domain_name.t * [ `raw ] Domain_name.t * 'a list *
           Ipaddr.t * Dns_cache.t
       is not included in
         val resolve :
           Dns_cache.t ->
           dnssec:bool ->
           rng:(int -> string) ->
           [ `Both | `Ipv4_only | `Ipv6_only ] ->
           int64 ->
           [ `raw ] Domain_name.t ->
           Dns.Packet.Question.qtype ->
           [ `raw ] Domain_name.t * [ `raw ] Domain_name.t *
           Dns.Packet.Question.qtype list * Ipaddr.t * Dns_cache.t
       The type
         Dns_cache.t ->
         dnssec:bool ->
         rng:(int -> Cstruct.t) ->
         [ `Both | `Ipv4_only | `Ipv6_only ] ->
         int64 ->
         [ `raw ] Domain_name.t ->
         ([> `K of Dns.Rr_map.k ] as 'a) ->
         [ `raw ] Domain_name.t * [ `raw ] Domain_name.t * 'a list *
         Ipaddr.t * Dns_cache.t
       is not compatible with the type
         Dns_cache.t ->
         dnssec:bool ->
         rng:(int -> string) ->
         [ `Both | `Ipv4_only | `Ipv6_only ] ->
         int64 ->
         [ `raw ] Domain_name.t ->
         Dns.Packet.Question.qtype ->
         [ `raw ] Domain_name.t * [ `raw ] Domain_name.t *
         Dns.Packet.Question.qtype list * Ipaddr.t * Dns_cache.t
       Type Cstruct.t is not compatible with type string
       File "resolver/dns_resolver_cache.mli", lines 15-16, characters 0-128:
         Expected declaration
       File "resolver/dns_resolver_cache.ml", line 140, characters 4-11:
         Actual declaration
(cd _build/default && /home/opam/.opam/5.2/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 mirage/resolver/.dns_resolver_mirage.objs/byte -I mirage/resolver/.dns_resolver_mirage.objs/native -I /home/opam/.opam/5.2/lib/asn1-combinators -I /home/opam/.opam/5.2/lib/base64 -I /home/opam/.opam/5.2/lib/cstruct -I /home/opam/.opam/5.2/lib/digestif -I /home/opam/.opam/5.2/lib/domain-name -I /home/opam/.opam/5.2/lib/duration -I /home/opam/.opam/5.2/lib/eqaf -I /home/opam/.opam/5.2/lib/fmt -I /home/opam/.opam/5.2/lib/gmap -I /home/opam/.opam/5.2/lib/hkdf -I /home/opam/.opam/5.2/lib/ipaddr -I /home/opam/.opam/5.2/lib/logs -I /home/opam/.opam/5.2/lib/lru -I /home/opam/.opam/5.2/lib/lwt -I /home/opam/.opam/5.2/lib/macaddr -I /home/opam/.opam/5.2/lib/metrics -I /home/opam/.opam/5.2/lib/mirage-clock -I /home/opam/.opam/5.2/lib/mirage-crypto -I /home/opam/.opam/5.2/lib/mirage-crypto-ec -I /home/opam/.opam/5.2/lib/mirage-crypto-pk -I /home/opam/.opam/5.2/lib/mirage-crypto-rng -I /home/opam/.opam/5.2/lib/mirage-flow -I /home/opam/.opam/5.2/lib/mirage-kv -I /home/opam/.opam/5.2/lib/mirage-random -I /home/opam/.opam/5.2/lib/mirage-time -I /home/opam/.opam/5.2/lib/ohex -I /home/opam/.opam/5.2/lib/optint -I /home/opam/.opam/5.2/lib/pbkdf -I /home/opam/.opam/5.2/lib/psq -I /home/opam/.opam/5.2/lib/ptime -I /home/opam/.opam/5.2/lib/randomconv -I /home/opam/.opam/5.2/lib/seq -I /home/opam/.opam/5.2/lib/tcpip -I /home/opam/.opam/5.2/lib/tls -I /home/opam/.opam/5.2/lib/tls-mirage -I /home/opam/.opam/5.2/lib/x509 -I /home/opam/.opam/5.2/lib/zarith -I cache/.dns_cache.objs/byte -I cache/.dns_cache.objs/native -I dnssec/.dnssec.objs/byte -I dnssec/.dnssec.objs/native -I mirage/.dns_mirage.objs/byte -I mirage/.dns_mirage.objs/native -I resolver/.dns_resolver.objs/byte -I resolver/.dns_resolver.objs/native -I server/.dns_server.objs/byte -I server/.dns_server.objs/native -I src/.dns.objs/byte -I src/.dns.objs/native -intf-suffix .ml -no-alias-deps -opaque -o mirage/resolver/.dns_resolver_mirage.objs/native/dns_resolver_mirage.cmx -c -impl mirage/resolver/dns_resolver_mirage.ml)
File "mirage/resolver/dns_resolver_mirage.ml", line 29, characters 54-86:
29 |     let sport () = 1024 + Randomconv.int ~bound:48128 (Cstruct.to_string % R.generate) in
                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: This expression has type int -> string
       but an expression was expected of type int -> Cstruct.t
       Type string is not compatible with type Cstruct.t
(cd _build/default && /home/opam/.opam/5.2/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 resolver/.dns_resolver.objs/byte -I resolver/.dns_resolver.objs/native -I /home/opam/.opam/5.2/lib/base64 -I /home/opam/.opam/5.2/lib/cstruct -I /home/opam/.opam/5.2/lib/digestif -I /home/opam/.opam/5.2/lib/domain-name -I /home/opam/.opam/5.2/lib/duration -I /home/opam/.opam/5.2/lib/eqaf -I /home/opam/.opam/5.2/lib/fmt -I /home/opam/.opam/5.2/lib/gmap -I /home/opam/.opam/5.2/lib/ipaddr -I /home/opam/.opam/5.2/lib/logs -I /home/opam/.opam/5.2/lib/lru -I /home/opam/.opam/5.2/lib/macaddr -I /home/opam/.opam/5.2/lib/metrics -I /home/opam/.opam/5.2/lib/mirage-crypto -I /home/opam/.opam/5.2/lib/mirage-crypto-ec -I /home/opam/.opam/5.2/lib/mirage-crypto-pk -I /home/opam/.opam/5.2/lib/mirage-crypto-rng -I /home/opam/.opam/5.2/lib/ohex -I /home/opam/.opam/5.2/lib/psq -I /home/opam/.opam/5.2/lib/ptime -I /home/opam/.opam/5.2/lib/randomconv -I /home/opam/.opam/5.2/lib/seq -I /home/opam/.opam/5.2/lib/zarith -I cache/.dns_cache.objs/byte -I cache/.dns_cache.objs/native -I dnssec/.dnssec.objs/byte -I dnssec/.dnssec.objs/native -I server/.dns_server.objs/byte -I server/.dns_server.objs/native -I src/.dns.objs/byte -I src/.dns.objs/native -intf-suffix .ml -no-alias-deps -opaque -o resolver/.dns_resolver.objs/native/dns_resolver.cmx -c -impl resolver/dns_resolver.ml)
File "resolver/dns_resolver.ml", line 82, characters 66-71:
82 |   let id = match id with Some id -> id | None -> Randomconv.int16 t.rng in
                                                                       ^^^^^
Error: This expression has type int -> string
       but an expression was expected of type int -> Cstruct.t
       Type string is not compatible with type Cstruct.t
(cd _build/default/test && ./resolvconf.exe)
Testing `DNS resolvconf tests'.
This run has ID `HMPBXCSR'.

  [OK]          resolvconf tests          0   linux.
  [OK]          resolvconf tests          1   macos.
  [OK]          resolvconf tests          2   openbsd.
  [OK]          resolvconf tests          3   simple.
  [OK]          resolvconf tests          4   nixos.
  [OK]          resolvconf tests          5   nixos 2.

Full test results in `/src/_build/default/test/_build/_tests/DNS resolvconf tests'.
Test Successful in 0.000s. 6 tests run.
(cd _build/default/test && ./tsig.exe)
Testing `DNS name tests'.
This run has ID `NZRG093Z'.

  [OK]          Tsig example          0   example0.
  [OK]          Tsig example          1   example1.
  [OK]          Tsig example          2   example2.

Full test results in `/src/_build/default/test/_build/_tests/DNS name tests'.
Test Successful in 0.000s. 3 tests run.
(cd _build/default/test && ./cache.exe)
Testing `DNS cache tests'.
This run has ID `84ILG68F'.

  [OK]          cache tests                0   empty cache.
  [OK]          cache tests                1   cache with A.
  [OK]          cache tests                2   cache nodata.
  [OK]          cname cache tests          0   empty cache.
  [OK]          cname cache tests          1   cache with A.
  [OK]          cname cache tests          2   cache with CNAME.
  [OK]          cname cache tests          3   cache with another cname.

Full test results in `/src/_build/default/test/_build/_tests/DNS cache tests'.
Test Successful in 0.001s. 7 tests run.
(cd _build/default/test && ./tests.exe)
Testing `DNS name and packet tests'.
This run has ID `J39DY4V3'.

  [OK]          Packet decode          0   bad query.
  [OK]          Packet decode          1   regression0.
  [OK]          Packet decode          2   regression1.
  [OK]          Packet decode          3   regression2.
  [OK]          Packet decode          4   regression4.
  [OK]          Packet decode          5   regression5.
  [OK]          Packet decode          6   regression6.
  [OK]          Packet decode          7   regression7.
  [OK]          Packet decode          8   regression8.
  [OK]          Packet decode          9   regression9.
  [OK]          Packet decode         10   regression10.
  [OK]          Packet decode         11   regression11.
  [OK]          Packet decode         12   regression12.
  [OK]          Packet decode         13   a success.
  [OK]          Packet decode         14   a leftover.
  [OK]          Packet decode         15   a fail partial.
  [OK]          Packet decode         16   a fail leftover inner.
  [OK]          Packet decode         17   a fail partial inner.
  [OK]          Packet decode         18   ns success.
  [OK]          Packet decode         19   ns fail partial.
  [OK]          Packet decode         20   ns fail leftover inner.
  [OK]          Packet decode         21   ns fail partial inner.
  [OK]          Packet decode         22   cname success.
  [OK]          Packet decode         23   cname fail partial.
  [OK]          Packet decode         24   cname fail leftover inner.
  [OK]          Packet decode         25   cname fail partial inner.
  [OK]          Packet decode         26   soa success.
  [OK]          Packet decode         27   soa fail partial.
  [OK]          Packet decode         28   soa fail leftover inner.
  [OK]          Packet decode         29   soa fail partial inner.
  [OK]          Packet decode         30   ptr success.
  [OK]          Packet decode         31   ptr fail partial.
  [OK]          Packet decode         32   ptr fail leftover inner.
  [OK]          Packet decode         33   ptr fail partial inner.
  [OK]          Packet decode         34   mx success.
  [OK]          Packet decode         35   mx fail partial.
  [OK]          Packet decode         36   mx fail leftover inner.
  [OK]          Packet decode         37   mx fail partial inner.
  [OK]          Packet decode         38   txt success.
  [OK]          Packet decode         39   txt fail partial.
  [OK]          Packet decode         40   txt fail partial inner.
  [OK]          Packet decode         41   aaaa success.
  [OK]          Packet decode         42   aaaa fail partial.
  [OK]          Packet decode         43   aaaa fail leftover inner.
  [OK]          Packet decode         44   aaaa fail partial inner.
  [OK]          Packet decode         45   srv success.
  [OK]          Packet decode         46   srv fail partial.
  [OK]          Packet decode         47   srv fail leftover inner.
  [OK]          Packet decode         48   srv fail partial inner.
  [OK]          Packet decode         49   sshfp success.
  [OK]          Packet decode         50   sshfp fail partial.
  [OK]          Packet decode         51   sshfp fail partial inner.
  [OK]          Packet decode         52   tlsa success.
  [OK]          Packet decode         53   caa success.
  [OK]          Packet decode         54   caa fail partial.
  [OK]          Packet decode         55   dnskey success.
  [OK]          Packet decode         56   ds success.
  [OK]          Packet decode         57   rrsig success.
  [OK]          Packet decode         58   nsec success.
  [OK]          Packet decode         59   nsec success 2.
  [OK]          Packet decode         60   nsec3 success.
  [OK]          Packet decode         61   loc decode.
  [OK]          Packet decode         62   loc decode min.
  [OK]          Packet decode         63   loc decode min negated.
  [OK]          Packet decode         64   loc decode max.
  [OK]          Packet decode         65   loc decode max inverted.
  [OK]          Packet decode         66   loc decode alt signed max under.
  [OK]          Packet decode         67   loc decode alt signed max.
  [OK]          Packet decode         68   loc decode alt signed max over.
  [OK]          Packet decode         69   loc leftover.
  [OK]          Packet decode         70   loc leftover inner.
  [OK]          Packet decode         71   loc fail partial.
  [OK]          Packet decode         72   loc fail partial inner.
  [OK]          Packet decode         73   loc encode min.
  [OK]          Packet decode         74   loc encode min negated.
  [OK]          Packet decode         75   loc encode max.
  [OK]          Packet decode         76   loc encode max inverted.

Full test results in `/src/_build/default/test/_build/_tests/DNS name and packet tests'.
Test Successful in 0.014s. 77 tests run.
(cd _build/default/test && ./test_dnssec.exe)
Testing `DNSSEC tests'.
This run has ID `9YN5IZ7H'.

  [OK]          DNSSEC tests            0   root.
  [OK]          DNSSEC tests            1   ns for ripe.net.
  [OK]          DNSSEC tests            2   ds for afnoc.af.mil.
  [OK]          DNSSEC tests            3   nxdomain for or (nsec).
  [OK]          DNSSEC tests            4   nxdomain for zz (nsec).
  [OK]          DNSSEC tests            5   nxdomain for aa (nsec).
  [OK]          DNSSEC tests            6   nodata for a se (nsec).
  [OK]          DNSSEC tests            7   nodata for DS a.se (nsec).
  [OK]          DNSSEC tests            8   nxdomain for DS a.a.se (nsec).
  [OK]          DNSSEC tests            9   nxdomain for DS b.a.se (nsec).
  [OK]          DNSSEC tests           10   nodata for PTR isc.org (nsec).
  [OK]          DNSSEC tests           11   nodomain for PTR doesntexist.isc....
  [OK]          DNSSEC tests           12   nodata (cname) for DS trac.ietf.o...
  [OK]          DNSSEC tests           13   NS trac.ietf.org (with cname).
  [OK]          DNSSEC tests           14   nodata for CAA ietf.org (nsec).
  [OK]          DNSSEC tests           15   wildcard match and cname for sure...
  [OK]          DNSSEC tests           16   wildcard match and cname, nodata ...
  [OK]          DNSSEC tests           17   nodata for a.de (nsec3).
  [OK]          DNSSEC tests           18   nodomain for AAAA asd.house.gov (...
  [OK]          RFC 4035 tests          0   MX (B1).
  [OK]          RFC 4035 tests          1   NS (B1).
  [OK]          RFC 4035 tests          2   A (B1).
  [OK]          RFC 4035 tests          3   AAAA (B1).
  [OK]          RFC 4035 tests          4   A NS1 (B1).
  [OK]          RFC 4035 tests          5   A NS2 (B1).
  [OK]          RFC 4035 tests          6   NXDOMAIN (B2).
  [OK]          RFC 4035 tests          7   NODATA (B3).
  [OK]          RFC 4035 tests          8   signed delegate (B4).
  [OK]          RFC 4035 tests          9   unsigned delegate (B5).
  [OK]          RFC 4035 tests         10   wildcard expansion (B6).
  [OK]          RFC 4035 tests         11   wildcard nodata (B7).
  [OK]          RFC 4035 tests         12   DS nodata (B8).
  [OK]          RFC 5155 tests          0   name error (b1).
  [OK]          RFC 5155 tests          1   no data error (b2).
  [OK]          RFC 5155 tests          2   no data (ENT) error (b2.1).
  [OK]          RFC 5155 tests          3   refer to unsigned zone (b3).
  [OK]          RFC 5155 tests          4   wildcard (b4).
  [OK]          RFC 5155 tests          5   wildcard no data (b5).
  [OK]          RFC 5155 tests          6   DS no data (b6).

Full test results in `/src/_build/default/test/_build/_tests/DNSSEC tests'.
Test Successful in 0.042s. 39 tests run.
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-08-01 12:14.42: Job failed: Failed: Build failed