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-4.14_ppc64_opam-2.1)
Base: ocaml/opam@sha256:cb8ddb716077a19fb12c6368f23e172f8aaf76697dbf4d0bb9eaaf02cdf35549
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:cb8ddb716077a19fb12c6368f23e172f8aaf76697dbf4d0bb9eaaf02cdf35549
# debian-12-4.14_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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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:cb8ddb716077a19fb12c6368f23e172f8aaf76697dbf4d0bb9eaaf02cdf35549-debian-12-4.14_ppc64_opam-2.1-7075e8ad7702eb159ddd17d22c9aa3dc"
2024-08-01 12:08.26: Using OBuilder spec:
((from ocaml/opam@sha256:cb8ddb716077a19fb12c6368f23e172f8aaf76697dbf4d0bb9eaaf02cdf35549)
(comment debian-12-4.14_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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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
All commits already cached
HEAD is now at 32421ed Lint opam files
(from ocaml/opam@sha256:cb8ddb716077a19fb12c6368f23e172f8aaf76697dbf4d0bb9eaaf02cdf35549)
Unable to find image 'ocaml/opam@sha256:cb8ddb716077a19fb12c6368f23e172f8aaf76697dbf4d0bb9eaaf02cdf35549' locally
docker.io/ocaml/opam@sha256:cb8ddb716077a19fb12c6368f23e172f8aaf76697dbf4d0bb9eaaf02cdf35549: Pulling from ocaml/opam
2ebe64104880: Already exists
36d70bb5f38f: Already exists
a76357984f12: Already exists
4313c2b0cf63: Already exists
cd3e526cd33e: Already exists
3672606a32ef: Already exists
9e0904a23788: Pulling fs layer
7231fe17ee4b: Pulling fs layer
36bc9286b1d8: Pulling fs layer
a06a21f7053b: Pulling fs layer
53294f88931c: Pulling fs layer
91b7dc328089: Pulling fs layer
31d95692bf4c: Pulling fs layer
f28de6e0a1f6: Pulling fs layer
21737ce92933: Pulling fs layer
91b7dc328089: Waiting
a06a21f7053b: Waiting
6b8ed06a1c9b: Pulling fs layer
53294f88931c: Waiting
31d95692bf4c: Waiting
25af126956a1: Pulling fs layer
f28de6e0a1f6: Waiting
aec5a12119b4: Pulling fs layer
21737ce92933: Waiting
6b8ed06a1c9b: Waiting
4f4fb700ef54: Pulling fs layer
aec5a12119b4: Waiting
373243bf3ed8: Pulling fs layer
4f4fb700ef54: Waiting
873ea3624637: Pulling fs layer
373243bf3ed8: Waiting
064dddec80ef: Pulling fs layer
873ea3624637: Waiting
d3627fb5901d: Pulling fs layer
064dddec80ef: Waiting
7a42ea52a44d: Pulling fs layer
d3627fb5901d: Waiting
3928e6f790ff: Pulling fs layer
070b72c931fd: Pulling fs layer
3928e6f790ff: Waiting
2cfad423d55a: Pulling fs layer
1685825b21f0: Pulling fs layer
070b72c931fd: Waiting
2cfad423d55a: Waiting
1899672f7254: Pulling fs layer
1685825b21f0: Waiting
8167e46198d5: Pulling fs layer
1899672f7254: Waiting
8fbaf3b13eca: Pulling fs layer
8167e46198d5: Waiting
feac4fecb9bb: Pulling fs layer
8fbaf3b13eca: Waiting
82ca9fa9149e: Pulling fs layer
feac4fecb9bb: Waiting
83dd89e6e9b7: Pulling fs layer
82ca9fa9149e: Waiting
eac071c10a73: Pulling fs layer
83dd89e6e9b7: Waiting
238a88c57750: Pulling fs layer
eac071c10a73: Waiting
530b6a2aaea9: Pulling fs layer
238a88c57750: Waiting
b0ffa5eaea2b: Pulling fs layer
530b6a2aaea9: Waiting
1ec4cd29b2dd: Pulling fs layer
b0ffa5eaea2b: Waiting
dd89148995f7: Pulling fs layer
1ec4cd29b2dd: Waiting
dd89148995f7: Waiting
36bc9286b1d8: Verifying Checksum
36bc9286b1d8: Download complete
9e0904a23788: Verifying Checksum
9e0904a23788: Download complete
7231fe17ee4b: Verifying Checksum
7231fe17ee4b: Download complete
9e0904a23788: Pull complete
91b7dc328089: Verifying Checksum
91b7dc328089: Download complete
7231fe17ee4b: Pull complete
a06a21f7053b: Verifying Checksum
a06a21f7053b: Download complete
31d95692bf4c: Verifying Checksum
31d95692bf4c: Download complete
36bc9286b1d8: Pull complete
53294f88931c: Verifying Checksum
53294f88931c: Download complete
f28de6e0a1f6: Download complete
21737ce92933: Download complete
6b8ed06a1c9b: Verifying Checksum
6b8ed06a1c9b: Download complete
25af126956a1: Verifying Checksum
25af126956a1: Download complete
4f4fb700ef54: Download complete
a06a21f7053b: Pull complete
aec5a12119b4: Verifying Checksum
aec5a12119b4: Download complete
373243bf3ed8: Download complete
53294f88931c: Pull complete
91b7dc328089: Pull complete
31d95692bf4c: Pull complete
f28de6e0a1f6: Pull complete
064dddec80ef: Download complete
7a42ea52a44d: Verifying Checksum
7a42ea52a44d: Download complete
d3627fb5901d: Verifying Checksum
d3627fb5901d: Download complete
21737ce92933: Pull complete
6b8ed06a1c9b: Pull complete
25af126956a1: Pull complete
3928e6f790ff: Download complete
aec5a12119b4: Pull complete
070b72c931fd: Download complete
4f4fb700ef54: Pull complete
373243bf3ed8: Pull complete
873ea3624637: Pull complete
064dddec80ef: Pull complete
1685825b21f0: Download complete
2cfad423d55a: Download complete
d3627fb5901d: Pull complete
7a42ea52a44d: Pull complete
1899672f7254: Download complete
3928e6f790ff: Pull complete
070b72c931fd: Pull complete
2cfad423d55a: Pull complete
1685825b21f0: Pull complete
1899672f7254: Pull complete
8fbaf3b13eca: Download complete
8167e46198d5: Download complete
8167e46198d5: Pull complete
8fbaf3b13eca: Pull complete
82ca9fa9149e: Download complete
eac071c10a73: Download complete
238a88c57750: Download complete
feac4fecb9bb: Verifying Checksum
feac4fecb9bb: Download complete
b0ffa5eaea2b: Download complete
83dd89e6e9b7: Verifying Checksum
83dd89e6e9b7: Download complete
1ec4cd29b2dd: Verifying Checksum
1ec4cd29b2dd: Download complete
dd89148995f7: Download complete
530b6a2aaea9: Verifying Checksum
530b6a2aaea9: Download complete
feac4fecb9bb: Pull complete
82ca9fa9149e: Pull complete
83dd89e6e9b7: Pull complete
eac071c10a73: Pull complete
238a88c57750: Pull complete
530b6a2aaea9: Pull complete
b0ffa5eaea2b: Pull complete
1ec4cd29b2dd: Pull complete
dd89148995f7: Pull complete
Digest: sha256:cb8ddb716077a19fb12c6368f23e172f8aaf76697dbf4d0bb9eaaf02cdf35549
Status: Downloaded newer image for ocaml/opam@sha256:cb8ddb716077a19fb12c6368f23e172f8aaf76697dbf4d0bb9eaaf02cdf35549
2024-08-01 12:08.28 ---> using "b4b63845878eccf0815b111e94b0be621a7b09169b93529c11d052929f9c077a" from cache
/: (comment debian-12-4.14_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 "c8a7c48a5c57255eabb6a5e6bd732c21418b95e02aed16e9e46805d0ad890981" 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 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 "f7c018b20e687677e533c23f743156df40b78e232cec707dad051fda921d68a5" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-38-generic
The OCaml toplevel, version 4.14.2
2.1.6
2024-08-01 12:08.28 ---> using "cfc68ebda32c896f0e7983f60140f90e6fe9f41bb7725a5320008ee58bddba96" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-08-01 12:08.28 ---> using "c0194cf5624eed5a2bc23fa58a75ef7affca1e1a4e0304ff2d1081fb4e160a5c" 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
e2171914dc..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 "992f0ad5794487362f8a428479505d26b5319e01a8bf094d2e983ea7fdbcec5c" 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.29 ---> saved as "1065fec29c999280f440a9ad4fc8995659d4418eccad7f87c8a72190af0a1062"
/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 "2962448860cd4d9bec4b2bcb43eb8201da8b1b38dd34d01964366b07914864d6"
/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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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 (623 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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package 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-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 "639c8139c555e0508f1664f6c34d19b1feab3e3075fab0d26fd131708296c276"
/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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package 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-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 ca-certs-nss.3.101-1 (cached)
-> retrieved conf-gmp.4 (cached)
-> retrieved conf-gmp-powm-sec.3 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved cppo.1.6.9 (cached)
-> installed conf-pkg-config.3
-> retrieved csexp.1.5.2 (cached)
-> installed conf-gmp.4
-> retrieved cstruct.6.2.0 (cached)
-> retrieved cstruct-lwt.6.2.0 (cached)
-> installed conf-gmp-powm-sec.3
-> retrieved ca-certs.dev (no changes)
-> 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.3.16.0 (cached)
-> retrieved dune-configurator.3.16.0 (cached)
-> retrieved ipaddr.5.6.0 (cached)
-> retrieved ipaddr-cstruct.5.6.0 (cached)
-> retrieved hkdf.2.0.0 (https://github.com/hannesm/ocaml-hkdf/releases/download/v2.0.0/hkdf-2.0.0.tbz)
-> retrieved logs.0.7.0 (cached)
-> installed cmdliner.1.3.0
-> 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 mirage-crypto-rng.1.0.0 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved mirage-crypto-rng-lwt.1.0.0 (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 topkg.1.0.7 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved x509.1.0.0 (cached)
-> retrieved zarith.1.14 (cached)
-> retrieved tls-mirage.dev (no changes)
-> 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 csexp.1.5.2
-> installed asn1-combinators.0.3.1
-> installed base64.3.5.1
-> installed cstruct.6.2.0
-> installed domain-name.0.4.0
-> installed eqaf.0.10
-> installed gmap.0.3.0
-> installed lwt-dllist.1.0.1
-> installed cppo.1.6.9
-> installed macaddr.5.6.0
-> installed metrics.0.4.1
-> installed mirage-clock.4.2.0
-> installed ocaml-syntax-shims.1.0.0
-> 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 ocplib-endian.1.2
-> installed ipaddr.5.6.0
-> installed ipaddr-cstruct.5.6.0
-> installed digestif.1.2.0
-> installed alcotest.1.8.0
-> installed hkdf.2.0.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.44 ---> saved as "8462df24f40cde60a9f1cc47aefe711bda1ef8371f5ffa92a9fc83d35102d388"
/src: (copy (src .) (dst /src))
2024-08-01 12:10.46 ---> saved as "5a5e08210aa28bfb001c19264df138fb5200e47d6c657aa1dfef961be5b712f9"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I client/.dns_client.objs/byte -I /home/opam/.opam/4.14/lib/base64 -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/duration -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/gmap -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/lru -I /home/opam/.opam/4.14/lib/macaddr -I /home/opam/.opam/4.14/lib/metrics -I /home/opam/.opam/4.14/lib/ohex -I /home/opam/.opam/4.14/lib/psq -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/randomconv -I /home/opam/.opam/4.14/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/4.14/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/4.14/lib/base64 -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/duration -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/gmap -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/lru -I /home/opam/.opam/4.14/lib/macaddr -I /home/opam/.opam/4.14/lib/metrics -I /home/opam/.opam/4.14/lib/ohex -I /home/opam/.opam/4.14/lib/psq -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/randomconv -I /home/opam/.opam/4.14/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/4.14/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/4.14/lib/base64 -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/duration -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/gmap -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/macaddr -I /home/opam/.opam/4.14/lib/metrics -I /home/opam/.opam/4.14/lib/ohex -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/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/4.14/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I certify/.dns_certify.objs/byte -I /home/opam/.opam/4.14/lib/asn1-combinators -I /home/opam/.opam/4.14/lib/base64 -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/digestif -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/gmap -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/macaddr -I /home/opam/.opam/4.14/lib/metrics -I /home/opam/.opam/4.14/lib/mirage-crypto -I /home/opam/.opam/4.14/lib/mirage-crypto-ec -I /home/opam/.opam/4.14/lib/mirage-crypto-pk -I /home/opam/.opam/4.14/lib/mirage-crypto-rng -I /home/opam/.opam/4.14/lib/ohex -I /home/opam/.opam/4.14/lib/pbkdf -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/randomconv -I /home/opam/.opam/4.14/lib/x509 -I /home/opam/.opam/4.14/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.objs/byte/dns_certify.cmi:
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/4.14/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I resolver/.dns_resolver.objs/byte -I /home/opam/.opam/4.14/lib/base64 -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/digestif -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/duration -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/gmap -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/lru -I /home/opam/.opam/4.14/lib/macaddr -I /home/opam/.opam/4.14/lib/metrics -I /home/opam/.opam/4.14/lib/mirage-crypto -I /home/opam/.opam/4.14/lib/mirage-crypto-ec -I /home/opam/.opam/4.14/lib/mirage-crypto-pk -I /home/opam/.opam/4.14/lib/mirage-crypto-rng -I /home/opam/.opam/4.14/lib/ohex -I /home/opam/.opam/4.14/lib/psq -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/randomconv -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/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/4.14/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I server/.dns_server.objs/byte -I /home/opam/.opam/4.14/lib/base64 -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/duration -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/gmap -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/macaddr -I /home/opam/.opam/4.14/lib/metrics -I /home/opam/.opam/4.14/lib/ohex -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/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/4.14/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/4.14/lib/base64 -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/digestif -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/duration -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/gmap -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/lru -I /home/opam/.opam/4.14/lib/macaddr -I /home/opam/.opam/4.14/lib/metrics -I /home/opam/.opam/4.14/lib/mirage-crypto -I /home/opam/.opam/4.14/lib/mirage-crypto-ec -I /home/opam/.opam/4.14/lib/mirage-crypto-pk -I /home/opam/.opam/4.14/lib/mirage-crypto-rng -I /home/opam/.opam/4.14/lib/ohex -I /home/opam/.opam/4.14/lib/psq -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/randomconv -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/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/4.14/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/4.14/lib/base64 -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/digestif -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/duration -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/gmap -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/lru -I /home/opam/.opam/4.14/lib/macaddr -I /home/opam/.opam/4.14/lib/metrics -I /home/opam/.opam/4.14/lib/mirage-crypto -I /home/opam/.opam/4.14/lib/mirage-crypto-ec -I /home/opam/.opam/4.14/lib/mirage-crypto-pk -I /home/opam/.opam/4.14/lib/mirage-crypto-rng -I /home/opam/.opam/4.14/lib/ohex -I /home/opam/.opam/4.14/lib/psq -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/randomconv -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/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.objs/byte/dns_resolver_cache.cmi:
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/4.14/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I resolver/.dns_resolver.objs/byte -I /home/opam/.opam/4.14/lib/base64 -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/digestif -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/duration -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/gmap -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/lru -I /home/opam/.opam/4.14/lib/macaddr -I /home/opam/.opam/4.14/lib/metrics -I /home/opam/.opam/4.14/lib/mirage-crypto -I /home/opam/.opam/4.14/lib/mirage-crypto-ec -I /home/opam/.opam/4.14/lib/mirage-crypto-pk -I /home/opam/.opam/4.14/lib/mirage-crypto-rng -I /home/opam/.opam/4.14/lib/ohex -I /home/opam/.opam/4.14/lib/psq -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/randomconv -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/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.objs/byte/dns_resolver_cache.cmi:
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/4.14/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I mirage/resolver/.dns_resolver_mirage.objs/byte -I /home/opam/.opam/4.14/lib/asn1-combinators -I /home/opam/.opam/4.14/lib/base64 -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/digestif -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/duration -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/gmap -I /home/opam/.opam/4.14/lib/hkdf -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/lru -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/macaddr -I /home/opam/.opam/4.14/lib/metrics -I /home/opam/.opam/4.14/lib/mirage-clock -I /home/opam/.opam/4.14/lib/mirage-crypto -I /home/opam/.opam/4.14/lib/mirage-crypto-ec -I /home/opam/.opam/4.14/lib/mirage-crypto-pk -I /home/opam/.opam/4.14/lib/mirage-crypto-rng -I /home/opam/.opam/4.14/lib/mirage-flow -I /home/opam/.opam/4.14/lib/mirage-kv -I /home/opam/.opam/4.14/lib/mirage-random -I /home/opam/.opam/4.14/lib/mirage-time -I /home/opam/.opam/4.14/lib/ohex -I /home/opam/.opam/4.14/lib/optint -I /home/opam/.opam/4.14/lib/pbkdf -I /home/opam/.opam/4.14/lib/psq -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/randomconv -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/tcpip -I /home/opam/.opam/4.14/lib/tls -I /home/opam/.opam/4.14/lib/tls-mirage -I /home/opam/.opam/4.14/lib/x509 -I /home/opam/.opam/4.14/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/4.14/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I app/.onotify.eobjs/byte -I /home/opam/.opam/4.14/lib/base64 -I /home/opam/.opam/4.14/lib/cmdliner -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/digestif/c -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/gmap -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/ipaddr/unix -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/macaddr -I /home/opam/.opam/4.14/lib/metrics -I /home/opam/.opam/4.14/lib/mirage-crypto -I /home/opam/.opam/4.14/lib/mirage-crypto-rng -I /home/opam/.opam/4.14/lib/mirage-crypto-rng/unix -I /home/opam/.opam/4.14/lib/ohex -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/ptime/clock/os -I /home/opam/.opam/4.14/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/4.14/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I app/.oupdate.eobjs/byte -I /home/opam/.opam/4.14/lib/base64 -I /home/opam/.opam/4.14/lib/cmdliner -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/digestif/c -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/gmap -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/ipaddr/unix -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/macaddr -I /home/opam/.opam/4.14/lib/metrics -I /home/opam/.opam/4.14/lib/mirage-crypto -I /home/opam/.opam/4.14/lib/mirage-crypto-rng -I /home/opam/.opam/4.14/lib/mirage-crypto-rng/unix -I /home/opam/.opam/4.14/lib/ohex -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/ptime/clock/os -I /home/opam/.opam/4.14/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/4.14/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I app/.odns.eobjs/byte -I /home/opam/.opam/4.14/lib/asn1-combinators -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/base64 -I /home/opam/.opam/4.14/lib/bos -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/ca-certs -I /home/opam/.opam/4.14/lib/cmdliner -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/digestif/c -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/duration -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/fpath -I /home/opam/.opam/4.14/lib/gmap -I /home/opam/.opam/4.14/lib/happy-eyeballs -I /home/opam/.opam/4.14/lib/happy-eyeballs-lwt -I /home/opam/.opam/4.14/lib/hex -I /home/opam/.opam/4.14/lib/hkdf -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/ipaddr/unix -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/lru -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt/unix -I /home/opam/.opam/4.14/lib/macaddr -I /home/opam/.opam/4.14/lib/metrics -I /home/opam/.opam/4.14/lib/mirage-crypto -I /home/opam/.opam/4.14/lib/mirage-crypto-ec -I /home/opam/.opam/4.14/lib/mirage-crypto-pk -I /home/opam/.opam/4.14/lib/mirage-crypto-rng -I /home/opam/.opam/4.14/lib/mirage-crypto-rng-lwt -I /home/opam/.opam/4.14/lib/mirage-crypto-rng/unix -I /home/opam/.opam/4.14/lib/mtime -I /home/opam/.opam/4.14/lib/mtime/clock/os -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ocplib-endian/bigstring -I /home/opam/.opam/4.14/lib/ohex -I /home/opam/.opam/4.14/lib/pbkdf -I /home/opam/.opam/4.14/lib/psq -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/ptime/clock/os -I /home/opam/.opam/4.14/lib/randomconv -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/tls -I /home/opam/.opam/4.14/lib/tls-lwt -I /home/opam/.opam/4.14/lib/x509 -I /home/opam/.opam/4.14/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/test && ./resolvconf.exe)
Testing `DNS resolvconf tests'.
This run has ID `DQZQZ638'.
[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/4.14/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/4.14/lib/asn1-combinators -I /home/opam/.opam/4.14/lib/base64 -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/digestif -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/gmap -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/macaddr -I /home/opam/.opam/4.14/lib/metrics -I /home/opam/.opam/4.14/lib/mirage-crypto -I /home/opam/.opam/4.14/lib/mirage-crypto-ec -I /home/opam/.opam/4.14/lib/mirage-crypto-pk -I /home/opam/.opam/4.14/lib/mirage-crypto-rng -I /home/opam/.opam/4.14/lib/ohex -I /home/opam/.opam/4.14/lib/pbkdf -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/randomconv -I /home/opam/.opam/4.14/lib/x509 -I /home/opam/.opam/4.14/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.objs/byte/dns_certify.cmi:
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/4.14/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/4.14/lib/asn1-combinators -I /home/opam/.opam/4.14/lib/base64 -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/digestif -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/duration -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/gmap -I /home/opam/.opam/4.14/lib/hkdf -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/lru -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/macaddr -I /home/opam/.opam/4.14/lib/metrics -I /home/opam/.opam/4.14/lib/mirage-clock -I /home/opam/.opam/4.14/lib/mirage-crypto -I /home/opam/.opam/4.14/lib/mirage-crypto-ec -I /home/opam/.opam/4.14/lib/mirage-crypto-pk -I /home/opam/.opam/4.14/lib/mirage-crypto-rng -I /home/opam/.opam/4.14/lib/mirage-flow -I /home/opam/.opam/4.14/lib/mirage-kv -I /home/opam/.opam/4.14/lib/mirage-random -I /home/opam/.opam/4.14/lib/mirage-time -I /home/opam/.opam/4.14/lib/ohex -I /home/opam/.opam/4.14/lib/optint -I /home/opam/.opam/4.14/lib/pbkdf -I /home/opam/.opam/4.14/lib/psq -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/randomconv -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/tcpip -I /home/opam/.opam/4.14/lib/tls -I /home/opam/.opam/4.14/lib/tls-mirage -I /home/opam/.opam/4.14/lib/x509 -I /home/opam/.opam/4.14/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 && ./tsig.exe)
Testing `DNS name tests'.
This run has ID `XL53DN9F'.
[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 && ./cache.exe)
Testing `DNS cache tests'.
This run has ID `A3NR58MU'.
[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 `0SP5ESI5'.
[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.015s. 77 tests run.
(cd _build/default/test && ./test_dnssec.exe)
Testing `DNSSEC tests'.
This run has ID `JCUCF46R'.
[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.041s. 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.50: Job failed: Failed: Build failed