2024-09-13 12:40.18: New job: test mirage/ocaml-cohttp https://github.com/mirage/ocaml-cohttp.git#refs/pull/1036/head (542561eeb3102f5e5ff189b932d200f6cc95609f) (linux-x86_64:debian-12-4.12_opam-2.2)
Base: ocaml/opam:debian-12-ocaml-4.12@sha256:51cc6003512dd8b183dfbcd2923431c0df52e9f6f6ab699eb9dfb395b50fff92
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/ocaml-cohttp.git" && cd "ocaml-cohttp" && git fetch origin "refs/pull/1036/head" && git reset --hard 542561ee
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.12@sha256:51cc6003512dd8b183dfbcd2923431c0df52e9f6f6ab699eb9dfb395b50fff92
# debian-12-4.12_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.2 /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 2d4ed1d357476c1cef4ba85ee4e76e9dfb81f2ee || git fetch origin master) && git reset -q --hard 2d4ed1d357476c1cef4ba85ee4e76e9dfb81f2ee && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 cohttp.opam cohttp-top.opam cohttp-mirage.opam cohttp-lwt.opam cohttp-lwt-unix.opam cohttp-lwt-jsoo.opam cohttp-async.opam ./
RUN opam pin add -yn cohttp.dev './' && \
opam pin add -yn cohttp-top.dev './' && \
opam pin add -yn cohttp-mirage.dev './' && \
opam pin add -yn cohttp-lwt.dev './' && \
opam pin add -yn cohttp-lwt-unix.dev './' && \
opam pin add -yn cohttp-lwt-jsoo.dev './' && \
opam pin add -yn cohttp-async.dev './'
ENV DEPS="afl-persistent.1.4 alcotest.1.8.0 angstrom.0.16.1 arp.3.1.1 asn1-combinators.0.2.6 astring.0.8.5 base.v0.15.1 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 ca-certs.0.2.3 ca-certs-nss.3.101 cmdliner.1.3.0 conduit.6.2.3 conduit-lwt.6.2.3 conduit-lwt-unix.6.2.3 conduit-mirage.6.2.3 conf-gmp.4 conf-gmp-powm-sec.3 conf-npm.1 conf-pkg-config.3 cppo.1.7.0 crowbar.0.2.1 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 dns.8.0.0 dns-client.8.0.0 dns-client-mirage.8.0.0 domain-name.0.4.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 eqaf.0.9 ethernet.3.2.0 fmt.0.9.0 fpath.0.7.3 gen.1.1 gmap.0.3.0 happy-eyeballs.1.2.0 happy-eyeballs-mirage.1.2.0 hkdf.1.0.4 io-page.3.0.0 ipaddr.5.6.0 ipaddr-cstruct.5.6.0 ipaddr-sexp.5.6.0 js_of_ocaml.5.8.2 js_of_ocaml-compiler.5.8.2 js_of_ocaml-lwt.5.8.2 js_of_ocaml-ppx.5.8.2 jsonm.1.0.2 logs.0.7.0 lru.0.3.1 lwt.5.7.0 lwt-dllist.1.0.1 lwt_ppx.2.1.0 macaddr.5.6.0 macaddr-cstruct.5.6.0 magic-mime.1.3.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 metrics.0.4.1 mirage-channel.4.1.0 mirage-clock.4.2.0 mirage-crypto.0.11.3 mirage-crypto-ec.0.11.3 mirage-crypto-pk.0.11.3 mirage-crypto-rng.0.11.3 mirage-flow.4.0.2 mirage-flow-combinators.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.1.0 num.1.5-1 ocaml.4.12.1 ocaml-base-compiler.4.12.1 ocaml-compiler-libs.v0.12.4 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 optint.0.3.0 ounit.2.2.7 ounit2.2.2.7 parsexp.v0.15.0 pbkdf.1.2.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.15.1 ppxlib.0.33.0 psq.0.2.1 ptime.1.2.0 randomconv.0.1.3 re.1.12.0 rresult.0.7.0 sedlex.3.2 seq.base sexplib.v0.15.1 sexplib0.v0.15.1 stdlib-shims.0.3.0 stringext.1.6.0 tcpip.8.1.0 tls.0.17.5 tls-mirage.0.17.5 topkg.1.0.7 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.3 vchan.6.0.2 x509.0.16.5 xenstore.2.3.0 xenstore_transport.1.3.0 yojson.2.2.2 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y cohttp.dev cohttp-top.dev cohttp-mirage.dev cohttp-lwt.dev cohttp-lwt-unix.dev cohttp-lwt-jsoo.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build --only-packages=cohttp,cohttp-top,cohttp-mirage,cohttp-lwt,cohttp-lwt-unix,cohttp-lwt-jsoo @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2024-09-13 12:40.18: Using cache hint "mirage/ocaml-cohttp-ocaml/opam:debian-12-ocaml-4.12@sha256:51cc6003512dd8b183dfbcd2923431c0df52e9f6f6ab699eb9dfb395b50fff92-debian-12-4.12_opam-2.2-99a32bc58160edaa167492ff407e8530"
2024-09-13 12:40.18: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.12@sha256:51cc6003512dd8b183dfbcd2923431c0df52e9f6f6ab699eb9dfb395b50fff92)
(comment debian-12-4.12_opam-2.2)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.2 /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 2d4ed1d357476c1cef4ba85ee4e76e9dfb81f2ee || git fetch origin master) && git reset -q --hard 2d4ed1d357476c1cef4ba85ee4e76e9dfb81f2ee && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src cohttp.opam cohttp-top.opam cohttp-mirage.opam cohttp-lwt.opam cohttp-lwt-unix.opam cohttp-lwt-jsoo.opam cohttp-async.opam)
(dst ./))
(run (network host)
(shell "opam pin add -yn cohttp.dev './' && \
\nopam pin add -yn cohttp-top.dev './' && \
\nopam pin add -yn cohttp-mirage.dev './' && \
\nopam pin add -yn cohttp-lwt.dev './' && \
\nopam pin add -yn cohttp-lwt-unix.dev './' && \
\nopam pin add -yn cohttp-lwt-jsoo.dev './' && \
\nopam pin add -yn cohttp-async.dev './'"))
(env DEPS "afl-persistent.1.4 alcotest.1.8.0 angstrom.0.16.1 arp.3.1.1 asn1-combinators.0.2.6 astring.0.8.5 base.v0.15.1 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 ca-certs.0.2.3 ca-certs-nss.3.101 cmdliner.1.3.0 conduit.6.2.3 conduit-lwt.6.2.3 conduit-lwt-unix.6.2.3 conduit-mirage.6.2.3 conf-gmp.4 conf-gmp-powm-sec.3 conf-npm.1 conf-pkg-config.3 cppo.1.7.0 crowbar.0.2.1 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 dns.8.0.0 dns-client.8.0.0 dns-client-mirage.8.0.0 domain-name.0.4.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 eqaf.0.9 ethernet.3.2.0 fmt.0.9.0 fpath.0.7.3 gen.1.1 gmap.0.3.0 happy-eyeballs.1.2.0 happy-eyeballs-mirage.1.2.0 hkdf.1.0.4 io-page.3.0.0 ipaddr.5.6.0 ipaddr-cstruct.5.6.0 ipaddr-sexp.5.6.0 js_of_ocaml.5.8.2 js_of_ocaml-compiler.5.8.2 js_of_ocaml-lwt.5.8.2 js_of_ocaml-ppx.5.8.2 jsonm.1.0.2 logs.0.7.0 lru.0.3.1 lwt.5.7.0 lwt-dllist.1.0.1 lwt_ppx.2.1.0 macaddr.5.6.0 macaddr-cstruct.5.6.0 magic-mime.1.3.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 metrics.0.4.1 mirage-channel.4.1.0 mirage-clock.4.2.0 mirage-crypto.0.11.3 mirage-crypto-ec.0.11.3 mirage-crypto-pk.0.11.3 mirage-crypto-rng.0.11.3 mirage-flow.4.0.2 mirage-flow-combinators.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.1.0 num.1.5-1 ocaml.4.12.1 ocaml-base-compiler.4.12.1 ocaml-compiler-libs.v0.12.4 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 optint.0.3.0 ounit.2.2.7 ounit2.2.2.7 parsexp.v0.15.0 pbkdf.1.2.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.15.1 ppxlib.0.33.0 psq.0.2.1 ptime.1.2.0 randomconv.0.1.3 re.1.12.0 rresult.0.7.0 sedlex.3.2 seq.base sexplib.v0.15.1 sexplib0.v0.15.1 stdlib-shims.0.3.0 stringext.1.6.0 tcpip.8.1.0 tls.0.17.5 tls-mirage.0.17.5 topkg.1.0.7 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.3 vchan.6.0.2 x509.0.16.5 xenstore.2.3.0 xenstore_transport.1.3.0 yojson.2.2.2 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.2 --depext-only -y cohttp.dev cohttp-top.dev cohttp-mirage.dev cohttp-lwt.dev cohttp-lwt-unix.dev cohttp-lwt-jsoo.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 --only-packages=cohttp,cohttp-top,cohttp-mirage,cohttp-lwt,cohttp-lwt-unix,cohttp-lwt-jsoo @install @check @runtest && rm -rf _build"))
)
2024-09-13 12:40.18: Waiting for resource in pool OCluster
2024-09-13 14:25.32: Waiting for worker…
2024-09-13 14:29.57: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 542561ee Expose closefn function
(from ocaml/opam:debian-12-ocaml-4.12@sha256:51cc6003512dd8b183dfbcd2923431c0df52e9f6f6ab699eb9dfb395b50fff92)
2024-09-13 14:50.28 ---> using "420e21d3d29bfeb08a7e84a34fa567c804a9bec2cb409e8bcbed293cf7025ea0" from cache
/: (comment debian-12-4.12_opam-2.2)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-09-13 14:50.28 ---> using "23d9fdb5afc0ea363777d04f75af2b54241ef57f02867854c7f3c383826e688e" 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.2, which can't be reverted.
You may want to back it up before going further.
Continue? [y/n] y
[NOTE] The 'jobs' option was reset, its value was 39 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=39 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-09-13 14:50.28 ---> using "bb3ede4f63e117a13a7f12a4f5129dbdcefd9f031fe1062e44a7809fb9c72ef3" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-119-generic
The OCaml toplevel, version 4.12.1
2.2.1
2024-09-13 14:50.28 ---> using "d9f99ec742d78506cae543f735f31f34aa5e0d03e1f7f6fb5feda706af46f1d7" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-09-13 14:50.28 ---> using "a835557bb21fc68c6ae4e36c3ff8d9d2944923bb5739962cbc336ed6bad9c901" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 2d4ed1d357476c1cef4ba85ee4e76e9dfb81f2ee || git fetch origin master) && git reset -q --hard 2d4ed1d357476c1cef4ba85ee4e76e9dfb81f2ee && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
e89899ac28..2d4ed1d357 master -> origin/master
2d4ed1d357 Merge pull request #26555 from seliopou/angstrom.0.16.1
<><> 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-09-13 14:50.28 ---> using "000b3247359a2d78abf0db1f7a8a8e0fe44dbbeb3170819eb0ef6e509bd469f3" from cache
/src: (copy (src cohttp.opam cohttp-top.opam cohttp-mirage.opam cohttp-lwt.opam cohttp-lwt-unix.opam cohttp-lwt-jsoo.opam cohttp-async.opam)
(dst ./))
2024-09-13 14:50.28 ---> using "7c739759417d10c923ad21b57a5475b8db8b1b9f946a081442c95e0c7bf90620" from cache
/src: (run (network host)
(shell "opam pin add -yn cohttp.dev './' && \
\nopam pin add -yn cohttp-top.dev './' && \
\nopam pin add -yn cohttp-mirage.dev './' && \
\nopam pin add -yn cohttp-lwt.dev './' && \
\nopam pin add -yn cohttp-lwt-unix.dev './' && \
\nopam pin add -yn cohttp-lwt-jsoo.dev './' && \
\nopam pin add -yn cohttp-async.dev './'"))
[cohttp.dev] synchronised (file:///src)
cohttp is now pinned to file:///src (version dev)
[cohttp-top.dev] synchronised (file:///src)
cohttp-top is now pinned to file:///src (version dev)
[cohttp-mirage.dev] synchronised (file:///src)
cohttp-mirage is now pinned to file:///src (version dev)
[cohttp-lwt.dev] synchronised (file:///src)
cohttp-lwt is now pinned to file:///src (version dev)
[cohttp-lwt-unix.dev] synchronised (file:///src)
cohttp-lwt-unix is now pinned to file:///src (version dev)
[cohttp-lwt-jsoo.dev] synchronised (file:///src)
cohttp-lwt-jsoo is now pinned to file:///src (version dev)
[cohttp-async.dev] synchronised (file:///src)
cohttp-async is now pinned to file:///src (version dev)
2024-09-13 14:50.28 ---> using "678cc0e05bf427637d60a98190a88a0e090054ce9fbfae5e5e2cc1759c4fd9f1" from cache
/src: (env DEPS "afl-persistent.1.4 alcotest.1.8.0 angstrom.0.16.1 arp.3.1.1 asn1-combinators.0.2.6 astring.0.8.5 base.v0.15.1 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 ca-certs.0.2.3 ca-certs-nss.3.101 cmdliner.1.3.0 conduit.6.2.3 conduit-lwt.6.2.3 conduit-lwt-unix.6.2.3 conduit-mirage.6.2.3 conf-gmp.4 conf-gmp-powm-sec.3 conf-npm.1 conf-pkg-config.3 cppo.1.7.0 crowbar.0.2.1 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 dns.8.0.0 dns-client.8.0.0 dns-client-mirage.8.0.0 domain-name.0.4.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 eqaf.0.9 ethernet.3.2.0 fmt.0.9.0 fpath.0.7.3 gen.1.1 gmap.0.3.0 happy-eyeballs.1.2.0 happy-eyeballs-mirage.1.2.0 hkdf.1.0.4 io-page.3.0.0 ipaddr.5.6.0 ipaddr-cstruct.5.6.0 ipaddr-sexp.5.6.0 js_of_ocaml.5.8.2 js_of_ocaml-compiler.5.8.2 js_of_ocaml-lwt.5.8.2 js_of_ocaml-ppx.5.8.2 jsonm.1.0.2 logs.0.7.0 lru.0.3.1 lwt.5.7.0 lwt-dllist.1.0.1 lwt_ppx.2.1.0 macaddr.5.6.0 macaddr-cstruct.5.6.0 magic-mime.1.3.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 metrics.0.4.1 mirage-channel.4.1.0 mirage-clock.4.2.0 mirage-crypto.0.11.3 mirage-crypto-ec.0.11.3 mirage-crypto-pk.0.11.3 mirage-crypto-rng.0.11.3 mirage-flow.4.0.2 mirage-flow-combinators.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.1.0 num.1.5-1 ocaml.4.12.1 ocaml-base-compiler.4.12.1 ocaml-compiler-libs.v0.12.4 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 optint.0.3.0 ounit.2.2.7 ounit2.2.2.7 parsexp.v0.15.0 pbkdf.1.2.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.15.1 ppxlib.0.33.0 psq.0.2.1 ptime.1.2.0 randomconv.0.1.3 re.1.12.0 rresult.0.7.0 sedlex.3.2 seq.base sexplib.v0.15.1 sexplib0.v0.15.1 stdlib-shims.0.3.0 stringext.1.6.0 tcpip.8.1.0 tls.0.17.5 tls-mirage.0.17.5 topkg.1.0.7 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.3 vchan.6.0.2 x509.0.16.5 xenstore.2.3.0 xenstore_transport.1.3.0 yojson.2.2.2 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.2 --depext-only -y cohttp.dev cohttp-top.dev cohttp-mirage.dev cohttp-lwt.dev cohttp-lwt-unix.dev cohttp-lwt-jsoo.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- 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 bookworm/main amd64 Packages [8787 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index [11.7 kB]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [179 kB]
- Get:7 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1116 B]
- Get:7 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1116 B]
- Fetched 9233 kB in 1s (6667 kB/s)
- Reading package lists...
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[cohttp.dev] synchronised (no changes)
[cohttp-lwt.dev] synchronised (no changes)
[cohttp-lwt-jsoo.dev] synchronised (no changes)
[cohttp-lwt-unix.dev] synchronised (no changes)
[cohttp-mirage.dev] synchronised (no changes)
[cohttp-top.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.12.1).
[NOTE] Package ocaml is already installed (current version is 4.12.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 npm pkg-config
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libgmp-dev" "npm" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
2024-09-13 14:50.28 ---> using "5702667bebbea94887a19f62370bba72ab01b4fd714994664627b9bcf7a8b36e" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.12.1).
[NOTE] Package ocaml is already installed (current version is 4.12.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 116 packages
- install afl-persistent 1.4
- install alcotest 1.8.0
- install angstrom 0.16.1
- install arp 3.1.1
- install asn1-combinators 0.2.6
- install astring 0.8.5
- install base v0.15.1
- install base-bytes base
- install base64 3.5.1
- install bigstringaf 0.10.0
- install bos 0.2.1
- install ca-certs 0.2.3
- install ca-certs-nss 3.101
- install cmdliner 1.3.0
- install conduit 6.2.3
- install conduit-lwt 6.2.3
- install conduit-lwt-unix 6.2.3
- install conduit-mirage 6.2.3
- install conf-gmp 4
- install conf-gmp-powm-sec 3
- install conf-npm 1
- install conf-pkg-config 3
- install cppo 1.7.0
- install crowbar 0.2.1
- install csexp 1.5.2
- install cstruct 6.2.0
- install cstruct-lwt 6.2.0
- install dns 8.0.0
- install dns-client 8.0.0
- install dns-client-mirage 8.0.0
- install domain-name 0.4.0
- install dune 3.16.0
- install dune-configurator 3.16.0
- install duration 0.2.1
- install eqaf 0.9
- install ethernet 3.2.0
- install fmt 0.9.0
- install fpath 0.7.3
- install gen 1.1
- install gmap 0.3.0
- install happy-eyeballs 1.2.0
- install happy-eyeballs-mirage 1.2.0
- install hkdf 1.0.4
- install io-page 3.0.0
- install ipaddr 5.6.0
- install ipaddr-cstruct 5.6.0
- install ipaddr-sexp 5.6.0
- install js_of_ocaml 5.8.2
- install js_of_ocaml-compiler 5.8.2
- install js_of_ocaml-lwt 5.8.2
- install js_of_ocaml-ppx 5.8.2
- install jsonm 1.0.2
- install logs 0.7.0
- install lru 0.3.1
- install lwt 5.7.0
- install lwt-dllist 1.0.1
- install lwt_ppx 2.1.0
- install macaddr 5.6.0
- install macaddr-cstruct 5.6.0
- install magic-mime 1.3.1
- install menhir 20240715
- install menhirCST 20240715
- install menhirLib 20240715
- install menhirSdk 20240715
- install metrics 0.4.1
- install mirage-channel 4.1.0
- install mirage-clock 4.2.0
- install mirage-crypto 0.11.3
- install mirage-crypto-ec 0.11.3
- install mirage-crypto-pk 0.11.3
- install mirage-crypto-rng 0.11.3
- install mirage-flow 4.0.2
- install mirage-flow-combinators 4.0.2
- install mirage-kv 6.1.1
- install mirage-net 4.0.0
- install mirage-random 3.0.0
- install mirage-time 3.0.0
- install mtime 2.1.0
- install num 1.5-1
- install ocaml-compiler-libs v0.12.4
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild 0.15.0
- install ocamlfind 1.9.6
- install ocplib-endian 1.2
- install optint 0.3.0
- install ounit 2.2.7
- install ounit2 2.2.7
- install parsexp v0.15.0
- install pbkdf 1.2.0
- install ppx_derivers 1.2.1
- install ppx_sexp_conv v0.15.1
- install ppxlib 0.33.0
- install psq 0.2.1
- install ptime 1.2.0
- install randomconv 0.1.3
- install re 1.12.0
- install rresult 0.7.0
- install sedlex 3.2
- install seq base
- install sexplib v0.15.1
- install sexplib0 v0.15.1
- install stdlib-shims 0.3.0
- install stringext 1.6.0
- install tcpip 8.1.0
- install tls 0.17.5
- install tls-mirage 0.17.5
- install topkg 1.0.7
- install uri 4.4.0
- install uri-sexp 4.4.0
- install uutf 1.0.3
- install vchan 6.0.2
- install x509 0.16.5
- install xenstore 2.3.0
- install xenstore_transport 1.3.0
- install yojson 2.2.2
- install zarith 1.14
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved afl-persistent.1.4 (cached)
-> retrieved arp.3.1.1 (cached)
-> retrieved angstrom.0.16.1 (cached)
-> retrieved alcotest.1.8.0 (cached)
-> retrieved asn1-combinators.0.2.6 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved base64.3.5.1 (cached)
-> retrieved bigstringaf.0.10.0 (cached)
-> retrieved base.v0.15.1 (cached)
-> retrieved bos.0.2.1 (cached)
-> retrieved ca-certs.0.2.3 (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 (cached)
-> retrieved conduit.6.2.3, conduit-lwt.6.2.3, conduit-lwt-unix.6.2.3, conduit-mirage.6.2.3 (cached)
-> retrieved cppo.1.7.0 (cached)
-> installed conf-gmp.4
-> installed conf-pkg-config.3
-> retrieved crowbar.0.2.1 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved cstruct.6.2.0, cstruct-lwt.6.2.0 (cached)
-> installed conf-gmp-powm-sec.3
-> retrieved dns.8.0.0, dns-client.8.0.0, dns-client-mirage.8.0.0 (cached)
-> retrieved domain-name.0.4.0 (cached)
-> retrieved duration.0.2.1 (cached)
-> retrieved ethernet.3.2.0 (cached)
-> retrieved eqaf.0.9 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved gen.1.1 (cached)
-> retrieved gmap.0.3.0 (cached)
-> retrieved hkdf.1.0.4 (cached)
-> retrieved happy-eyeballs.1.2.0, happy-eyeballs-mirage.1.2.0 (cached)
-> retrieved io-page.3.0.0 (cached)
-> retrieved ipaddr.5.6.0, ipaddr-cstruct.5.6.0, ipaddr-sexp.5.6.0, macaddr.5.6.0, macaddr-cstruct.5.6.0 (cached)
-> retrieved jsonm.1.0.2 (cached)
-> retrieved logs.0.7.0 (cached)
-> installed conf-npm.1
-> retrieved lru.0.3.1 (cached)
-> retrieved lwt.5.7.0 (cached)
-> retrieved lwt-dllist.1.0.1 (cached)
-> retrieved lwt_ppx.2.1.0 (cached)
-> retrieved magic-mime.1.3.1 (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached)
-> retrieved dune.3.16.0, dune-configurator.3.16.0 (cached)
-> retrieved js_of_ocaml.5.8.2, js_of_ocaml-compiler.5.8.2, js_of_ocaml-lwt.5.8.2, js_of_ocaml-ppx.5.8.2 (cached)
-> retrieved metrics.0.4.1 (cached)
-> retrieved mirage-channel.4.1.0 (cached)
-> retrieved mirage-clock.4.2.0 (cached)
-> retrieved mirage-flow.4.0.2, mirage-flow-combinators.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)
-> installed cmdliner.1.3.0
-> retrieved mtime.2.1.0 (cached)
-> retrieved num.1.5-1 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved optint.0.3.0 (cached)
-> retrieved parsexp.v0.15.0 (cached)
-> retrieved ounit.2.2.7, ounit2.2.2.7 (cached)
-> retrieved pbkdf.1.2.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_sexp_conv.v0.15.1 (cached)
-> retrieved psq.0.2.1 (cached)
-> retrieved ptime.1.2.0 (cached)
-> retrieved randomconv.0.1.3 (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved rresult.0.7.0 (cached)
-> retrieved sedlex.3.2 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved sexplib.v0.15.1 (cached)
-> retrieved mirage-crypto.0.11.3, mirage-crypto-ec.0.11.3, mirage-crypto-pk.0.11.3, mirage-crypto-rng.0.11.3 (cached)
-> retrieved ppxlib.0.33.0 (cached)
-> retrieved sexplib0.v0.15.1 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved stringext.1.6.0 (cached)
-> retrieved tcpip.8.1.0 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved tls.0.17.5, tls-mirage.0.17.5 (cached)
-> retrieved uri.4.4.0, uri-sexp.4.4.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved vchan.6.0.2 (cached)
-> retrieved xenstore.2.3.0 (cached)
-> retrieved xenstore_transport.1.3.0 (cached)
-> retrieved x509.0.16.5 (cached)
-> retrieved zarith.1.14 (cached)
-> retrieved yojson.2.2.2 (cached)
-> installed num.1.5-1
-> 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 uutf.1.0.3
-> installed mtime.2.1.0
-> installed fmt.0.9.0
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed jsonm.1.0.2
-> installed fpath.0.7.3
-> installed dune.3.16.0
-> installed csexp.1.5.2
-> installed base64.3.5.1
-> installed cppo.1.7.0
-> installed cstruct.6.2.0
-> installed domain-name.0.4.0
-> installed duration.0.2.1
-> installed gen.1.1
-> installed gmap.0.3.0
-> installed lwt-dllist.1.0.1
-> installed macaddr.5.6.0
-> installed magic-mime.1.3.1
-> installed menhirCST.20240715
-> installed menhirLib.20240715
-> installed menhirSdk.20240715
-> installed metrics.0.4.1
-> installed mirage-clock.4.2.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed ocaml-syntax-shims.1.0.0
-> installed optint.0.3.0
-> installed ppx_derivers.1.2.1
-> installed psq.0.2.1
-> installed re.1.12.0
-> installed sexplib0.v0.15.1
-> installed stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> installed yojson.2.2.2
-> installed ocplib-endian.1.2
-> installed asn1-combinators.0.2.6
-> installed eqaf.0.9
-> installed io-page.3.0.0
-> installed mirage-random.3.0.0
-> installed randomconv.0.1.3
-> installed ipaddr.5.6.0
-> installed macaddr-cstruct.5.6.0
-> installed lru.0.3.1
-> installed afl-persistent.1.4
-> installed ipaddr-cstruct.5.6.0
-> installed crowbar.0.2.1
-> installed ounit2.2.2.7
-> installed ounit.2.2.7
-> installed alcotest.1.8.0
-> installed dune-configurator.3.16.0
-> installed bigstringaf.0.10.0
-> installed angstrom.0.16.1
-> installed mirage-crypto.0.11.3
-> installed hkdf.1.0.4
-> installed pbkdf.1.2.0
-> installed lwt.5.7.0
-> installed uri.4.4.0
-> installed mirage-time.3.0.0
-> installed mirage-flow.4.0.2
-> installed mirage-net.4.0.0
-> installed mirage-kv.6.1.1
-> installed cstruct-lwt.6.2.0
-> installed xenstore.2.3.0
-> installed xenstore_transport.1.3.0
-> installed vchan.6.0.2
-> installed base.v0.15.1
-> installed parsexp.v0.15.0
-> installed sexplib.v0.15.1
-> installed menhir.20240715
-> installed ppxlib.0.33.0
-> installed lwt_ppx.2.1.0
-> installed ppx_sexp_conv.v0.15.1
-> installed sedlex.3.2
-> installed ipaddr-sexp.5.6.0
-> installed uri-sexp.4.4.0
-> installed js_of_ocaml-compiler.5.8.2
-> installed js_of_ocaml.5.8.2
-> installed logs.0.7.0
-> installed ethernet.3.2.0
-> installed mirage-channel.4.1.0
-> installed happy-eyeballs.1.2.0
-> installed mirage-flow-combinators.4.0.2
-> installed mirage-crypto-rng.0.11.3
-> installed arp.3.1.1
-> installed mirage-crypto-pk.0.11.3
-> installed conduit.6.2.3
-> installed js_of_ocaml-ppx.5.8.2
-> installed dns.8.0.0
-> installed tcpip.8.1.0
-> installed bos.0.2.1
-> installed conduit-lwt.6.2.3
-> installed happy-eyeballs-mirage.1.2.0
-> installed dns-client.8.0.0
-> installed mirage-crypto-ec.0.11.3
-> installed x509.0.16.5
-> installed ca-certs.0.2.3
-> installed ca-certs-nss.3.101
-> installed js_of_ocaml-lwt.5.8.2
-> installed tls.0.17.5
-> installed conduit-lwt-unix.6.2.3
-> installed tls-mirage.0.17.5
-> installed dns-client-mirage.8.0.0
-> installed conduit-mirage.6.2.3
Done.
<><> afl-persistent.1.4 installed successfully ><><><><><><><><><><><><><><><><>
=> afl-persistent is installed, but since the current OCaml compiler does
not enable AFL instrumentation by default, most packages will not be
instrumented and fuzzing with afl-fuzz may not be effective.
To globally enable AFL instrumentation, create an OCaml switch like:
opam switch create 4.12.1+afl ocaml-variants.4.12.1+options ocaml-option-afl
# Run eval $(opam env) to update the current shell environment
2024-09-13 14:50.28 ---> using "61d378bcb4944d3c2e5a8ade64fa7f8a0401e505e9d39c1b79f18713cb5729e5" from cache
/src: (copy (src .) (dst /src))
2024-09-13 14:50.29 ---> saved as "b27cbc6da1d7be39757766e15c50271a6b27f6d1f648654b36214a4c5eb14aa0"
/src: (run (shell "opam exec -- dune build --only-packages=cohttp,cohttp-top,cohttp-mirage,cohttp-lwt,cohttp-lwt-unix,cohttp-lwt-jsoo @install @check @runtest && rm -rf _build"))
File "examples/async/dune", line 3, characters 57-79:
3 | (libraries mirage-crypto cohttp-async base async_kernel core_unix.command_unix))
^^^^^^^^^^^^^^^^^^^^^^
Error: Library "core_unix.command_unix" not found.
-> required by
_build/default/examples/async/.hello_world.eobjs/byte/dune__exe__Hello_world.cmi
-> required by alias examples/async/check
File "cohttp_async_test/src/dune", line 3, characters 58-70:
3 | (libraries fmt.tty uri.services async_kernel cohttp_test cohttp-async))
^^^^^^^^^^^^
Error: Library "cohttp-async" not found.
-> required by library "cohttp_async_test" in
_build/default/cohttp_async_test/src
-> required by
_build/default/cohttp_async_test/src/.cohttp_async_test.objs/byte/cohttp_async_test.cmi
-> required by alias cohttp_async_test/src/check
File "cohttp-async/test/dune", line 4, characters 3-15:
4 | cohttp-async))
^^^^^^^^^^^^
Error: Library "cohttp-async" not found.
-> required by
_build/default/cohttp-async/test/.test_async_integration.eobjs/byte/dune__exe__Test_async_integration.cmi
-> required by alias cohttp-async/test/check
(cd _build/default && /home/opam/.opam/4.12/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 cohttp-top/src/.cohttp_top.objs/byte -I cohttp-top/src/.cohttp_top.objs/native -I /home/opam/.opam/4.12/lib/angstrom -I /home/opam/.opam/4.12/lib/base64 -I /home/opam/.opam/4.12/lib/bigstringaf -I /home/opam/.opam/4.12/lib/bytes -I /home/opam/.opam/4.12/lib/ocaml/compiler-libs -I /home/opam/.opam/4.12/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.12/lib/re -I /home/opam/.opam/4.12/lib/seq -I /home/opam/.opam/4.12/lib/sexplib0 -I /home/opam/.opam/4.12/lib/stringext -I /home/opam/.opam/4.12/lib/uri -I /home/opam/.opam/4.12/lib/uri-sexp -I cohttp/src/.cohttp.objs/byte -I cohttp/src/.cohttp.objs/native -intf-suffix .ml -no-alias-deps -opaque -o cohttp-top/src/.cohttp_top.objs/native/cohttp_top.cmx -c -impl cohttp-top/src/cohttp_top.ml)
File "_none_", line 1:
Warning 58 [no-cmx-file]: no cmx file was found in path for module Toploop, and its interface was not compiled with -opaque
(cd _build/default/cohttp/test && ./test_path.exe)
Testing `test_path'.
This run has ID `0JWU7WPN'.
[OK] Path 0 Check resolve_local_file.
Full test results in `/src/_build/default/cohttp/test/_build/_tests/test_path'.
Test Successful in 0.001s. 1 test run.
(cd _build/default/cohttp/test && ./test_accept.exe)
Testing `test_accept'.
This run has ID `H7S55MM1'.
[OK] valid string to media range 0 text/plain.
[OK] valid string to media range 1 text/*.
[OK] valid string to media range 2 */*.
[OK] valid string to media range 3 */*;q=1.
[OK] valid string to media range 4 */*;q=0.
[OK] valid string to media range 5 */*;q=1.
[OK] valid string to media range 6 */*;q=1.0.
[OK] valid string to media range 7 */*;q=.0.
[OK] valid string to media range 8 */*;q=0.
[OK] valid string to media range 9 */*;q=0.1.
[OK] valid string to media range 10 image/*,text/*.
[OK] valid string to media range 11 text/plain; q=0.8;...
[OK] valid string to media range 12 text/*;foo="bar".
[OK] valid string to media range 13 */*;qu="\"".
[OK] valid string to media range 14 */*;f=";q=0,text/p...
[OK] invalid string to media range 0 */*;q=.
[OK] valid media range to string 0 */*;q=1.
[OK] valid media range to string 1 */*;q=0.000.
[OK] valid media range to string 2 */*;q=0.353.
[OK] valid media range to string 3 */*;q=0.025.
[OK] valid media range to string 4 */*;q=0.001.
[OK] invalid media range to string 0
[OK] invalid media range to string 1
[OK] valid string to charset 0 utf-8.
[OK] valid string to charset 1 UTF-8.
[OK] valid string to charset 2 iso-8859-1.
[OK] valid string to charset 3 ISO-8859-1; q = 0....
[OK] valid string to encoding 0 compress, gzip.
[OK] valid string to encoding 1
[OK] valid string to encoding 2 *.
[OK] valid string to encoding 3 compress;q=0.5, gz...
[OK] valid string to encoding 4 Gzip;q=1.0, identi...
[OK] valid string to language 0 en.
[OK] valid string to language 1 en-US.
[OK] valid string to language 2 en-cockney.
[OK] valid string to language 3 i-cherokee.
[OK] valid string to language 4 x-pig-latin.
[OK] valid string to language 5 da, en-gb;q=0.8, e...
[OK] valid string to language 6 en-US, *;q=0.9.
Full test results in `/src/_build/default/cohttp/test/_build/_tests/test_accept'.
Test Successful in 0.003s. 39 tests run.
(cd _build/default/cohttp/test && ./test_body.exe)
Testing `test_body'.
This run has ID `CRIKNXES'.
[OK] Query body information 0 Check if body is empty.
Full test results in `/src/_build/default/cohttp/test/_build/_tests/test_body'.
Test Successful in 0.000s. 1 test run.
(cd _build/default/cohttp/test && ./test_request.exe)
Testing `test_request'.
This run has ID `JUSY5M3G'.
[OK] Auth 0 header has auth.
[OK] Auth 1 URI has user info.
[OK] Auth 2 from URI - do not override.
[OK] Auth 3 from URI.
[OK] Encoding 0 from content-length header.
[OK] Encoding 1 from transfer-encoding header.
[OK] Encoding 2 with both headers.
[OK] Encoding 3 from both optional argument and headers.
[OK] Parse URI 0 simple.
[OK] Parse URI 1 with host.
[OK] Parse URI 2 with host and port.
[OK] Parse URI 3 double slash.
[OK] Parse URI 4 double slash with host.
[OK] Parse URI 5 triple slash.
[OK] Parse URI 6 triple slash with host.
[OK] Parse URI 7 no slash.
[OK] Parse URI 8 no slash with host.
[OK] Parse URI 9 empty.
[OK] Parse URI 10 empty with host.
[OK] Parse URI 11 path like scheme.
[OK] Parse URI 12 path like scheme with host.
[OK] Parse URI 13 path like host:port.
[OK] Parse URI 14 path like host:port with host.
[OK] Parse URI 15 with query string.
[OK] Parse URI 16 with query with host.
[OK] Parse URI 17 no slash with query string.
[OK] Parse URI 18 no slash with query with host.
[OK] Parse URI 19 CONNECT.
[OK] Parse URI 20 CONNECT with host.
[OK] Parse URI 21 OPTIONS.
[OK] Parse URI 22 OPTIONS with host.
[OK] Parse URI 23 parent traversal.
[OK] Parse URI 24 parent traversal with host.
[OK] Parse URI 25 uri round-trip.
Full test results in `/src/_build/default/cohttp/test/_build/_tests/test_request'.
Test Successful in 0.003s. 34 tests run.
(cd _build/default/cohttp-lwt-unix/test && ./test_parser.exe)
..........
Ran: 10 tests in: 0.01 seconds.
OK
(cd _build/default/cohttp-lwt-unix/test && ./test_body.exe)
....
Ran: 4 tests in: 0.00 seconds.
OK
[DEBUG][application]: Cohttp debugging output is active
(cd _build/default/cohttp-lwt-unix/test && ./test_sanity_noisy.exe)
...
Ran: 3 tests in: 0.00 seconds.
OK
[DEBUG][application]: Cohttp debugging output is active
(cd _build/default/cohttp-lwt-unix/test && ./test_sanity.exe)
......
Ran: 6 tests in: 0.00 seconds.
OK
[DEBUG][application]: Cohttp debugging output is active
(cd _build/default/cohttp/test && ./test_header.exe)
Testing `test_header'.
This run has ID `L7SP168X'.
[OK] Link 0 simple.
[OK] Link 1 multiple rels.
[OK] Link 2 multiple lines.
[OK] Link 3 multiheader.
[OK] Link 4 rel uri.
[OK] Link 5 anchor.
[OK] Link 6 rev.
[OK] Link 7 media.
[OK] Link 8 media complex.
[OK] Link 9 title.
[OK] Link 10 title star.
[OK] Link 11 type token.
[OK] Link 12 type quoted.
[OK] Link 13 extension.
[OK] Link 14 extension star.
[OK] Media Type 0 Media Type.
[OK] Auth 0 Valid Auth.
[OK] Cookie 0 Valid Set-Cookie.
[OK] Cookie 1 Valid Cookie.
[OK] Cookie 2 Cookie with =.
[OK] Cookie 3 Ignores empty cookie.
[OK] Content Range 0 none.
[OK] Content Range 1 content-length.
[OK] Content Range 2 content-range.
[OK] Cache Control 0 concat.
[OK] Unitary Header tests 0 Header.to_list.
[OK] Unitary Header tests 1 Header.is_empty.
[OK] Unitary Header tests 2 Header.init_with.
[OK] Unitary Header tests 3 Header.mem.
[OK] Unitary Header tests 4 Header.add.
[OK] Unitary Header tests 5 Header.get.
[OK] Unitary Header tests 6 Header.add_list.
[OK] Unitary Header tests 7 Header.add_multi.
[OK] Unitary Header tests 8 Header.add_unless_exists.
[OK] Unitary Header tests 9 Header.remove.
[OK] Unitary Header tests 10 Header.replace.
[OK] Unitary Header tests 11 Header.get_multi.
[OK] Unitary Header tests 12 Header.get_multi_concat.
[OK] Unitary Header tests 13 Header.to_lines.
[OK] Unitary Header tests 14 Header.to_frames.
[OK] Unitary Header tests 15 Header.to_string.
[OK] Unitary Header tests 16 Header.map.
[OK] Unitary Header tests 17 Header.fold.
[OK] Unitary Header tests 18 Header.iter.
[OK] Unitary Header tests 19 Header.update.
[OK] Unitary Header tests 20 Header.update_all.
[OK] Unitary Header tests 21 many headers.
[OK] Unitary Header tests 22 transfer encoding is in cor...
[OK] Unitary Header tests 23 large header.
Full test results in `/src/_build/default/cohttp/test/_build/_tests/test_header'.
Test Successful in 3.028s. 49 tests run.
(cd _build/default/cohttp/fuzz && ./fuzz_header.exe)
[init_list k v] is [k, v]: PASS
[is_empty] returns false on a non empty header: PASS
[mem h k] on an empty header is always false: PASS
Header.mem has the same behavior than List.mem_assoc: PASS
mem (add h k v) k = true: PASS
[add] adds a value at the header end: PASS
to_list (of_list h) = h: PASS
checking [to_list] order after multiple [add] calls: PASS
add_opt (Some h) = add and add_opt None = init_with: PASS
[add_unless_exists h k v] does nothing if k exists: PASS
add_unless_exists = add if key does not exist: PASS
[add_list h l] adds all headers in [l] in order at the end of [h]: PASS
[add_list] and [add_multi] have compatible semantics: PASS
get_multi (add_multi h k l) k = get_multi h k @ l: PASS
[get h k] returns None if k does not exists in h: PASS
get (add h k v) = Some v: PASS
[get_multi h k] returns [] if k does not exists in h: PASS
[get_multi] returns values in transmission order: PASS
headers order is preserved: PASS
[get_multi_concat h k] returns "" if k does not exists in h: PASS
[get_multi_concat] optional argument works properly: PASS
[get_multi_concat] returns values in transmission order: PASS
[remove] removes all values associated to a key: PASS
(fun x -> remove x k) is idempotent: PASS
[replace] replaces the last value and remove the others: PASS
replace h k v = add h k v if k does not exists in h: PASS
[replace] does not change headers order: PASS
[update h k id] does nothing: PASS
[update h k _] only changes k : PASS
[update h k (fun _ -> None)] removes last occurence of k.: PASS
[update h k (function Some _ -> Some w)] replaces last occurence of k.: PASS
[update_all h k id] does nothing: PASS
[update_all h k _] only changes k : PASS
[update_all h k (fun _ -> [])] removes all occurences of k.: PASS
[update_all h k (function _ -> [w])] removes all occurences of k and adds w.: PASS
All headers name in [h] appears strictly once in [clean_dup h] except for [set-cookie]: PASS
[clean_dup] concatenates properly list-value headers: PASS
[clean_dup] is idempotent: PASS
[clean_dup] does nothing to [set-cookie] headers: PASS
Only list-value headers can have multiple concatenated values : PASS
"/usr/bin/env" "bash" "-c" "opam exec -- dune build --only-packages=cohttp,cohttp-top,cohttp-mirage,cohttp-lwt,cohttp-lwt-unix,cohttp-lwt-jsoo @install @check @runtest && rm -rf _build" failed with exit status 1
2024-09-13 14:50.40: Job failed: Failed: Build failed