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-ppc64:debian-12-5.2_ppc64_opam-2.1)
Base: ocaml/opam@sha256:09204ba3bc2bdcd7b8e00c4fa52d1e94985d694b738d270f9e4f015a1c4195f7
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:09204ba3bc2bdcd7b8e00c4fa52d1e94985d694b738d270f9e4f015a1c4195f7
# debian-12-5.2_ppc64_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-ppc64.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:09204ba3bc2bdcd7b8e00c4fa52d1e94985d694b738d270f9e4f015a1c4195f7-debian-12-5.2_ppc64_opam-2.1-522aa812b22fe8afeaf31696c283a372"
2024-08-01 12:08.26: Using OBuilder spec:
((from ocaml/opam@sha256:09204ba3bc2bdcd7b8e00c4fa52d1e94985d694b738d270f9e4f015a1c4195f7)
(comment debian-12-5.2_ppc64_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-ppc64.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 orithia.caelum.ci.dev
HEAD is now at b63b332 Lint opam files
HEAD is now at 32421ed Lint opam files
(from ocaml/opam@sha256:09204ba3bc2bdcd7b8e00c4fa52d1e94985d694b738d270f9e4f015a1c4195f7)
Unable to find image 'ocaml/opam@sha256:09204ba3bc2bdcd7b8e00c4fa52d1e94985d694b738d270f9e4f015a1c4195f7' locally
docker.io/ocaml/opam@sha256:09204ba3bc2bdcd7b8e00c4fa52d1e94985d694b738d270f9e4f015a1c4195f7: Pulling from ocaml/opam
2ebe64104880: Already exists
36d70bb5f38f: Pulling fs layer
a76357984f12: Pulling fs layer
4313c2b0cf63: Pulling fs layer
cd3e526cd33e: Pulling fs layer
3672606a32ef: Pulling fs layer
cd1e440e6332: Pulling fs layer
cfc79bb20113: Pulling fs layer
1715427c2363: Pulling fs layer
25c37d991e95: Pulling fs layer
57aaa5dccec9: Pulling fs layer
7542fd3da18a: Pulling fs layer
473f7c6fc05d: Pulling fs layer
79fa1e053abe: Pulling fs layer
cdd0326d90f0: Pulling fs layer
73f130b3381e: Pulling fs layer
7e2d41fce0b1: Pulling fs layer
d7b2aa295c6a: Pulling fs layer
4f4fb700ef54: Pulling fs layer
ae9856efb8c2: Pulling fs layer
3e136ed4b6c0: Pulling fs layer
ff9a2d21fbc8: Pulling fs layer
851b60ac026a: Pulling fs layer
3271a0835d68: Pulling fs layer
ea29b54d3873: Pulling fs layer
75cf3859a08b: Pulling fs layer
bbd8ebe08c5b: Pulling fs layer
43bb21cb0120: Pulling fs layer
fe1e70a6c3de: Pulling fs layer
bd65dc89789b: Pulling fs layer
1e9832fb251e: Pulling fs layer
e587250ce8d4: Pulling fs layer
d568120d6345: Pulling fs layer
bcebfdf55275: Pulling fs layer
1de0b1daae69: Pulling fs layer
5f7ff389a009: Pulling fs layer
c5c641d5d6de: Pulling fs layer
8880785a2a96: Pulling fs layer
b3adfb945feb: Pulling fs layer
8a0b6fd24128: Pulling fs layer
db958f4444e6: Pulling fs layer
5748e5a1b7cb: Pulling fs layer
7ccea4161c6a: Pulling fs layer
cd3e526cd33e: Waiting
3672606a32ef: Waiting
ea29b54d3873: Waiting
cd1e440e6332: Waiting
cfc79bb20113: Waiting
1715427c2363: Waiting
25c37d991e95: Waiting
57aaa5dccec9: Waiting
75cf3859a08b: Waiting
bbd8ebe08c5b: Waiting
7542fd3da18a: Waiting
43bb21cb0120: Waiting
fe1e70a6c3de: Waiting
473f7c6fc05d: Waiting
79fa1e053abe: Waiting
bd65dc89789b: Waiting
1e9832fb251e: Waiting
cdd0326d90f0: Waiting
73f130b3381e: Waiting
e587250ce8d4: Waiting
7e2d41fce0b1: Waiting
d568120d6345: Waiting
d7b2aa295c6a: Waiting
4f4fb700ef54: Waiting
bcebfdf55275: Waiting
1de0b1daae69: Waiting
ae9856efb8c2: Waiting
3e136ed4b6c0: Waiting
5f7ff389a009: Waiting
ff9a2d21fbc8: Waiting
c5c641d5d6de: Waiting
851b60ac026a: Waiting
8880785a2a96: Waiting
3271a0835d68: Waiting
b3adfb945feb: Waiting
8a0b6fd24128: Waiting
5748e5a1b7cb: Waiting
db958f4444e6: Waiting
7ccea4161c6a: Waiting
a76357984f12: Verifying Checksum
a76357984f12: Download complete
36d70bb5f38f: Verifying Checksum
36d70bb5f38f: Download complete
36d70bb5f38f: Pull complete
a76357984f12: Pull complete
cd3e526cd33e: Download complete
4313c2b0cf63: Verifying Checksum
4313c2b0cf63: Download complete
4313c2b0cf63: Pull complete
cd3e526cd33e: Pull complete
cd1e440e6332: Verifying Checksum
cd1e440e6332: Download complete
cfc79bb20113: Verifying Checksum
cfc79bb20113: Download complete
1715427c2363: Verifying Checksum
1715427c2363: Download complete
25c37d991e95: Verifying Checksum
25c37d991e95: Download complete
7542fd3da18a: Verifying Checksum
7542fd3da18a: Download complete
473f7c6fc05d: Download complete
57aaa5dccec9: Verifying Checksum
57aaa5dccec9: Download complete
79fa1e053abe: Download complete
cdd0326d90f0: Download complete
73f130b3381e: Verifying Checksum
73f130b3381e: Download complete
7e2d41fce0b1: Download complete
4f4fb700ef54: Download complete
ae9856efb8c2: Download complete
d7b2aa295c6a: Verifying Checksum
d7b2aa295c6a: Download complete
3e136ed4b6c0: Download complete
ff9a2d21fbc8: Download complete
3271a0835d68: Download complete
851b60ac026a: Download complete
ea29b54d3873: Verifying Checksum
ea29b54d3873: Download complete
75cf3859a08b: Download complete
bbd8ebe08c5b: Download complete
43bb21cb0120: Download complete
fe1e70a6c3de: Verifying Checksum
fe1e70a6c3de: Download complete
bd65dc89789b: Download complete
3672606a32ef: Verifying Checksum
3672606a32ef: Download complete
d568120d6345: Verifying Checksum
d568120d6345: Download complete
1e9832fb251e: Verifying Checksum
1e9832fb251e: Download complete
1de0b1daae69: Download complete
5f7ff389a009: Download complete
c5c641d5d6de: Verifying Checksum
c5c641d5d6de: Download complete
8880785a2a96: Verifying Checksum
8880785a2a96: Download complete
b3adfb945feb: Verifying Checksum
b3adfb945feb: Download complete
3672606a32ef: Pull complete
cd1e440e6332: Pull complete
cfc79bb20113: Pull complete
1715427c2363: Pull complete
25c37d991e95: Pull complete
57aaa5dccec9: Pull complete
7542fd3da18a: Pull complete
473f7c6fc05d: Pull complete
79fa1e053abe: Pull complete
cdd0326d90f0: Pull complete
73f130b3381e: Pull complete
7e2d41fce0b1: Pull complete
d7b2aa295c6a: Pull complete
4f4fb700ef54: Pull complete
ae9856efb8c2: Pull complete
3e136ed4b6c0: Pull complete
ff9a2d21fbc8: Pull complete
851b60ac026a: Pull complete
3271a0835d68: Pull complete
ea29b54d3873: Pull complete
75cf3859a08b: Pull complete
bbd8ebe08c5b: Pull complete
43bb21cb0120: Pull complete
fe1e70a6c3de: Pull complete
bd65dc89789b: Pull complete
1e9832fb251e: Pull complete
e587250ce8d4: Verifying Checksum
e587250ce8d4: Download complete
db958f4444e6: Download complete
5748e5a1b7cb: Download complete
7ccea4161c6a: Verifying Checksum
7ccea4161c6a: Download complete
8a0b6fd24128: Download complete
bcebfdf55275: Verifying Checksum
bcebfdf55275: Download complete
e587250ce8d4: Pull complete
d568120d6345: Pull complete
bcebfdf55275: Pull complete
1de0b1daae69: Pull complete
5f7ff389a009: Pull complete
c5c641d5d6de: Pull complete
8880785a2a96: Pull complete
b3adfb945feb: Pull complete
8a0b6fd24128: Pull complete
db958f4444e6: Pull complete
5748e5a1b7cb: Pull complete
7ccea4161c6a: Pull complete
Digest: sha256:09204ba3bc2bdcd7b8e00c4fa52d1e94985d694b738d270f9e4f015a1c4195f7
Status: Downloaded newer image for ocaml/opam@sha256:09204ba3bc2bdcd7b8e00c4fa52d1e94985d694b738d270f9e4f015a1c4195f7
2024-08-01 12:08.28 ---> using "20dfee5c32d584117e93f9bbe261179b291407cbac431cfef354e04796a76a49" from cache
/: (comment debian-12-5.2_ppc64_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:08.28 ---> using "9d31cc363a79a6d1f54592234ca72d034317f2e20c385aa7c1609c08f8c37ed4" from cache
/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from built-in defaults.
Checking for available remotes: rsync and local, git.
- you won't be able to use mercurial repositories unless you install the hg command on your system.
- you won't be able to use darcs repositories unless you install the darcs command on your system.
This 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:08.28 ---> using "e97d455e29b6b89008386fc78eccd2fb82fe8b1b6083c41af7b83deaac729af1" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-38-generic
The OCaml toplevel, version 5.2.0
2.1.6
2024-08-01 12:08.28 ---> using "beb30e3e59a786efdb6f34b5338d6b87e8496aaa8eeb2edac893a9254566baca" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-08-01 12:08.28 ---> using "9906bdeffacc95785100c8c5a2b20a895b1731c993cc08d7e6e81c45b1f65220" from cache
/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
39a5da86fc..d7e8a9dd3d 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:08.28 ---> using "5ca52c0e37553981a004efc8d777fdc97cfdac5194f90621bf79e53f803c0da1" from cache
/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:08.28 ---> saved as "ea8f415c7feb6dbf157cbc0a88cbc8e5a2eb10182a4405d12ceff9ffddc1c546"
/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:08.54 ---> saved as "6bae3f8d903b85114c0e7d0ace795557028f62ef79f4d7b73ef6b5eefecf6d0e"
/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-ppc64.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"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main ppc64el Packages [161 kB]
- Fetched 265 kB in 0s (622 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[dns-certify.dev] synchronised (no changes)
[dns.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-ppc64 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
2024-08-01 12:09.16 ---> saved as "daef42b5c2d2952eb40dc4228f2f08cce3f826a01b5cf508af2d8da4061159ae"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ca-certs.dev] synchronised (no changes)
[tls.dev] synchronised (no changes)
[tls-lwt.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-ppc64 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-pkg-config.3
-> installed conf-gmp.4
-> retrieved csexp.1.5.2 (cached)
-> installed conf-gmp-powm-sec.3
-> retrieved ca-certs.dev (no changes)
-> retrieved cstruct.6.2.0 (cached)
-> 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 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 dune-configurator.3.16.0 (cached)
-> retrieved dune.3.16.0 (cached)
-> retrieved hkdf.2.0.0 (https://github.com/hannesm/ocaml-hkdf/releases/download/v2.0.0/hkdf-2.0.0.tbz)
-> 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)
-> installed cmdliner.1.3.0
-> 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 mirage-crypto-rng.1.0.0 (cached)
-> retrieved mirage-crypto-rng-lwt.1.0.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 seq.base (cached)
-> installed seq.base
-> retrieved re.1.11.0 (cached)
-> retrieved rresult.0.7.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved tcpip.8.1.0 (cached)
-> retrieved tls-lwt.dev (no changes)
-> retrieved tls.dev (no changes)
-> retrieved uutf.1.0.3 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved tls-mirage.dev (no changes)
-> 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 domain-name.0.4.0
-> installed csexp.1.5.2
-> installed asn1-combinators.0.3.1
-> installed base64.3.5.1
-> installed cstruct.6.2.0
-> installed eqaf.0.10
-> installed macaddr.5.6.0
-> installed metrics.0.4.1
-> installed ocaml-syntax-shims.1.0.0
-> installed cppo.1.6.9
-> installed ohex.0.2.0
-> installed optint.0.3.0
-> installed psq.0.2.1
-> installed re.1.11.0
-> installed stdlib-shims.0.3.0
-> installed hex.1.5.0
-> installed mirage-random.3.0.0
-> installed randomconv.0.1.3
-> installed macaddr-cstruct.5.6.0
-> installed lru.0.3.1
-> installed ipaddr.5.6.0
-> installed ocplib-endian.1.2
-> installed ipaddr-cstruct.5.6.0
-> installed digestif.1.2.0
-> installed hkdf.2.0.0
-> installed alcotest.1.8.0
-> installed dune-configurator.3.16.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-flow.4.0.2
-> installed mirage-net.4.0.0
-> 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 bos.0.2.1
-> installed happy-eyeballs-mirage.1.1.0
-> 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:10.48 ---> saved as "ef26855cc1dd702f7d145b3447439fac24525cadd1df0947ed5b6c43d98024c6"
/src: (copy (src .) (dst /src))
2024-08-01 12:10.49 ---> saved as "eaf96d8cb977c0ff4a62a03f10e90ceb793432636cb6b8fcd9d4e16b184674b8"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(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 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 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 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/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 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.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.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 && /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 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/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/test && ./resolvconf.exe)
Testing `DNS resolvconf tests'.
This run has ID `TDZBMYHL'.
[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.001s. 6 tests run.
(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/test && ./cache.exe)
Testing `DNS cache tests'.
This run has ID `3NMGNCR6'.
[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 && ./tsig.exe)
Testing `DNS name tests'.
This run has ID `FT7CWT4B'.
[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.001s. 3 tests run.
(cd _build/default/test && ./tests.exe)
Testing `DNS name and packet tests'.
This run has ID `ZXQKRU0X'.
[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.016s. 77 tests run.
(cd _build/default/test && ./test_dnssec.exe)
Testing `DNSSEC tests'.
This run has ID `DDE8HLO4'.
[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.045s. 39 tests run.
"/bin/bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-08-01 12:10.55: Job failed: Failed: Build failed