Organisationsmiragemirage-flowc0efad (main)(lint-doc)

(lint-doc)

Link Copied
Code Copied

Logs

2026-04-13 10:13.57: New job: test mirage/mirage-flow https://github.com/mirage/mirage-flow.git#refs/heads/main (c0efad0f73f95daba1736fb8631708da41ef5f3f) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-13-ocaml-4.08@sha256:3cbf0e68d3a718b80b9a2ab282b68bb62badcbc072fa014a5564516c5f70e74c
Opam project lint documentation


To reproduce locally:


git clone --recursive "https://github.com/mirage/mirage-flow.git" -b "main" && cd "mirage-flow" && git reset --hard c0efad0f
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.08@sha256:3cbf0e68d3a718b80b9a2ab282b68bb62badcbc072fa014a5564516c5f70e74c
# debian-13-4.08_opam-2.5
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 d06cfb1853afceb1dc127f88edaac3f8110bf6cc || git fetch origin master) && git reset -q --hard d06cfb1853afceb1dc127f88edaac3f8110bf6cc && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mirage-flow.opam mirage-flow-unix.opam mirage-flow-combinators.opam ./
RUN opam pin add -yn mirage-flow.dev './' && \
opam pin add -yn mirage-flow-unix.dev './' && \
opam pin add -yn mirage-flow-combinators.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.2.1.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 dune.3.22.1 dune-configurator.3.22.1 fmt.0.11.0 logs.0.8.0 lwt.5.9.2 mirage-mtime.5.2.0 mtime.2.1.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.11.0 seq.base stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y mirage-flow.dev mirage-flow-unix.dev mirage-flow-combinators.dev $DEPS
RUN opam install $DEPS
RUN opam install --yes dune 'odoc>=1.5.0'
COPY --chown=1000:1000 . /src/
RUN ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo "dune build @doc failed"; exit 2)


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


2026-04-13 10:13.57: Using cache hint "mirage/mirage-flow-ocaml/opam:debian-13-ocaml-4.08@sha256:3cbf0e68d3a718b80b9a2ab282b68bb62badcbc072fa014a5564516c5f70e74c-debian-13-4.08_opam-2.5-6cb98e39fbda608b78719705f1750aff"
2026-04-13 10:13.57: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.08@sha256:3cbf0e68d3a718b80b9a2ab282b68bb62badcbc072fa014a5564516c5f70e74c)
(comment debian-13-4.08_opam-2.5)
(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 d06cfb1853afceb1dc127f88edaac3f8110bf6cc || git fetch origin master) && git reset -q --hard d06cfb1853afceb1dc127f88edaac3f8110bf6cc && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src mirage-flow.opam mirage-flow-unix.opam mirage-flow-combinators.opam)
(dst ./))
(run (network host)
(shell  "opam pin add -yn mirage-flow.dev './' && \
\nopam pin add -yn mirage-flow-unix.dev './' && \
\nopam pin add -yn mirage-flow-combinators.dev './'"))
(run (shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.2.1.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 dune.3.22.1 dune-configurator.3.22.1 fmt.0.11.0 logs.0.8.0 lwt.5.9.2 mirage-mtime.5.2.0 mtime.2.1.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.11.0 seq.base stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4")
(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 mirage-flow.dev mirage-flow-unix.dev mirage-flow-combinators.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install --yes dune 'odoc>=1.5.0'"))
(copy (src .) (dst /src/))
(run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
)


2026-04-13 10:13.57: Waiting for resource in pool OCluster
2026-04-13 10:22.23: Waiting for worker…
2026-04-13 10:23.51: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
HEAD is now at c0efad0 Merge pull request #53 from hannesm/variants


(from ocaml/opam:debian-13-ocaml-4.08@sha256:3cbf0e68d3a718b80b9a2ab282b68bb62badcbc072fa014a5564516c5f70e74c)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.08@sha256:3cbf0e68d3a718b80b9a2ab282b68bb62badcbc072fa014a5564516c5f70e74c' locally
docker.io/ocaml/opam@sha256:3cbf0e68d3a718b80b9a2ab282b68bb62badcbc072fa014a5564516c5f70e74c: Pulling from ocaml/opam
a7730063fcfe: Already exists
1a27fd2181de: Already exists
c29591c91388: Already exists
356a64daa753: Already exists
ac02f8f2062b: Already exists
aaa2f390e4c8: Already exists
b668811757f6: Already exists
32fd4e1a774f: Already exists
b1d486fb8fdf: Already exists
cf8a2024f299: Already exists
8c4a5dac67c3: Already exists
6adfe24d7b40: Already exists
dccd6e3c0589: Already exists
2ee4bcb55cd4: Already exists
2dc3b58478d7: Already exists
daf15e5c44c6: Already exists
564e978a8088: Already exists
564e978a8088: Already exists
25a652a8c456: Already exists
b3bfea7bff3f: Already exists
a00f2937f570: Already exists
78bd1737ebff: Already exists
4f4fb700ef54: Already exists
4291a055edd7: Already exists
3c2b2836d59a: Already exists
7b3e96544a52: Already exists
c72503effb14: Already exists
bca08df11a10: Already exists
2ab0829b2daf: Already exists
1d246d4da211: Already exists
a09cb4870027: Already exists
2ce07b4fe7c0: Already exists
6b96f28d505e: Already exists
b6ad36bba9bf: Already exists
56d62791a0f9: Already exists
4d60780055d1: Already exists
43f57a7c44cb: Already exists
f21057dc4e85: Already exists
e0d2ca1300ed: Already exists
9da2f7598f8e: Already exists
cb569bb28593: Already exists
b32c9abef0bb: Pulling fs layer
dd7da3e42740: Pulling fs layer
06223904e4d3: Pulling fs layer
b18a38618cf8: Pulling fs layer
b18a38618cf8: Waiting
dd7da3e42740: Verifying Checksum
dd7da3e42740: Download complete
06223904e4d3: Verifying Checksum
06223904e4d3: Download complete
b18a38618cf8: Download complete
b32c9abef0bb: Verifying Checksum
b32c9abef0bb: Download complete
b32c9abef0bb: Pull complete
dd7da3e42740: Pull complete
06223904e4d3: Pull complete
b18a38618cf8: Pull complete
Digest: sha256:3cbf0e68d3a718b80b9a2ab282b68bb62badcbc072fa014a5564516c5f70e74c
Status: Downloaded newer image for ocaml/opam@sha256:3cbf0e68d3a718b80b9a2ab282b68bb62badcbc072fa014a5564516c5f70e74c
2026-04-13 10:23.51 ---> using "228e5ba11f0bea08c69266bb98d12a75785691261b07b0808652a307a04e14b2" from cache


/: (comment debian-13-4.08_opam-2.5)


/: (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"))
2026-04-13 10:23.51 ---> using "6a21a8bd2da640bf47ce1211004d6a33a1bf41ff753d8b4bb4a6519520cd81af" 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
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-04-13 10:23.51 ---> using "939d97e6190dc36b4f6e94773a2843a2a1549b9ae9e8e3facca1460e0ed37772" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-107-generic
The OCaml toplevel, version 4.08.1
2.2.1
2026-04-13 10:23.51 ---> using "eb73d73c6df1334e93e0a643cf6d58799a32bc7b370f755d009a4545ba4f9865" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-04-13 10:23.51 ---> using "de7fe019fc62fa1e51827ff2ff64dbc0831c3afd9fed2034cda6486fa7e48a49" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e d06cfb1853afceb1dc127f88edaac3f8110bf6cc || git fetch origin master) && git reset -q --hard d06cfb1853afceb1dc127f88edaac3f8110bf6cc && git log --no-decorate -n1 --oneline && opam update -u"))
d06cfb1853 Merge pull request #29632 from shonfeder/release-dune-3.22.1


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+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
2026-04-13 10:23.51 ---> using "fbad28c74a632e647545a6bab2df787930e492e2daf5d95d28478b0c0c088a96" from cache


/src: (copy (src mirage-flow.opam mirage-flow-unix.opam mirage-flow-combinators.opam)
(dst ./))
2026-04-13 10:23.52 ---> saved as "0f2e5572bd78caf6958875eff43b62faf3c90955949e90207293ae6e6bf14226"


/src: (run (network host)
(shell  "opam pin add -yn mirage-flow.dev './' && \
\nopam pin add -yn mirage-flow-unix.dev './' && \
\nopam pin add -yn mirage-flow-combinators.dev './'"))
[mirage-flow.dev] synchronised (file:///src)
mirage-flow is now pinned to file:///src (version dev)
[mirage-flow-unix.dev] synchronised (file:///src)
mirage-flow-unix is now pinned to file:///src (version dev)
[mirage-flow-combinators.dev] synchronised (file:///src)
mirage-flow-combinators is now pinned to file:///src (version dev)
2026-04-13 10:24.01 ---> saved as "388d974dc91c21b942ed20d2237de9bf3da45fa73fdd34f0e9416e7d341c93a2"


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-04-13 10:24.01 ---> saved as "9f4c4ce7b9d56060d0316dba355a90869086054a3a11d79f16b06f8b9a81d0f8"


/src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.2.1.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 dune.3.22.1 dune-configurator.3.22.1 fmt.0.11.0 logs.0.8.0 lwt.5.9.2 mirage-mtime.5.2.0 mtime.2.1.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.11.0 seq.base stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4")


/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 mirage-flow.dev mirage-flow-unix.dev mirage-flow-combinators.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [122 kB]
- Fetched 213 kB in 0s (1354 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-flow.dev] synchronised (file:///src)
[mirage-flow-combinators.dev] synchronised (file:///src)
[mirage-flow-unix.dev] synchronised (file:///src)


[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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).
2026-04-13 10:24.26 ---> saved as "0a401d65ed8b929dbd4a6a39739e6c47f1f902061c595f9aead66adf68fc4274"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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 23 packages
- install alcotest           1.9.1
- install astring            0.8.5
- install base-bytes         base
- install cmdliner           2.1.0
- install cppo               1.8.0
- install csexp              1.5.2
- install cstruct            6.2.0
- install dune               3.22.1
- install dune-configurator  3.22.1
- install fmt                0.11.0
- install logs               0.8.0
- install lwt                5.9.2
- install mirage-mtime       5.2.0
- install mtime              2.1.0
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild         0.16.1
- install ocamlfind          1.9.8
- install ocplib-endian      1.2
- install re                 1.11.0
- install seq                base
- install stdlib-shims       0.3.0
- install topkg              1.1.1
- install uutf               1.0.4


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved alcotest.1.9.1  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.2.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved logs.0.8.0  (cached)
-> retrieved mirage-mtime.5.2.0  (cached)
-> retrieved lwt.5.9.2  (cached)
-> retrieved mtime.2.1.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved re.1.11.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved dune.3.22.1, dune-configurator.3.22.1  (cached)
-> installed cmdliner.2.1.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed mtime.2.1.0
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed dune.3.22.1
-> installed mirage-mtime.5.2.0
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed cstruct.6.2.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.11.0
-> installed stdlib-shims.0.3.0
-> installed ocplib-endian.1.2
-> installed alcotest.1.9.1
-> installed dune-configurator.3.22.1
-> installed lwt.5.9.2
-> installed logs.0.8.0
Done.
# Run eval $(opam env) to update the current shell environment
2026-04-13 10:25.59 ---> saved as "e9ec41bb8b6554d5c46b8ade5d1acb2b1bab0738b06bdd26ea9a43679ea1ff34"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install --yes dune 'odoc>=1.5.0'"))
[NOTE] Package dune is already installed (current version is 3.22.1).
The following actions will be performed:
=== install 7 packages
- install camlp-streams 5.0.1 [required by odoc-parser]
- install crunch        4.0.0 [required by odoc]
- install fpath         0.7.3 [required by odoc]
- install odoc          3.1.0
- install odoc-parser   3.1.0 [required by odoc]
- install ptime         1.2.0 [required by crunch]
- install tyxml         4.6.0 [required by odoc]


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved crunch.4.0.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved tyxml.4.6.0  (cached)
-> installed camlp-streams.5.0.1
-> retrieved odoc.3.1.0, odoc-parser.3.1.0  (cached)
-> installed fpath.0.7.3
-> installed ptime.1.2.0
-> installed crunch.4.0.0
-> installed odoc-parser.3.1.0
-> installed tyxml.4.6.0
-> installed odoc.3.1.0
Done.
# Run eval $(opam env) to update the current shell environment
2026-04-13 10:26.36 ---> saved as "7df07a6332aca3b71ec92ef7124ca6829d060ac18977f92ef81982a077269960"


/src: (copy (src .) (dst /src/))
2026-04-13 10:26.36 ---> saved as "8b13b11fe977a706474816ba7e023af8149b2e3063424a7bc165d385612edaba"


/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
(cd _build/default/_doc/_odocls/mirage-flow-combinators && /home/opam/.opam/4.08/bin/odoc link -I ../../_odoc/pkg/mirage-flow-combinators -I ../../../combinators/.mirage_flow_combinators.objs/byte -I ../../../src/.mirage_flow.objs/byte -o mirage_flow_combinators.odocl ../../../combinators/.mirage_flow_combinators.objs/byte/mirage_flow_combinators.odoc)
File "combinators/mirage_flow_combinators.mli", line 144, characters 33-45:
Warning: Failed to resolve reference unresolvedroot(Cstruct).t Couldn't find "Cstruct"
File "combinators/mirage_flow_combinators.mli", line 141, characters 40-52:
Warning: Failed to resolve reference unresolvedroot(Cstruct).t Couldn't find "Cstruct"
File "combinators/mirage_flow_combinators.mli", line 141, characters 14-31:
Warning: Failed to resolve reference unresolvedroot(output_strings) Couldn't find "output_strings"
File "combinators/mirage_flow_combinators.mli", line 138, characters 39-51:
Warning: Failed to resolve reference unresolvedroot(Cstruct).t Couldn't find "Cstruct"
File "combinators/mirage_flow_combinators.mli", line 135, characters 32-44:
Warning: Failed to resolve reference unresolvedroot(Cstruct).t Couldn't find "Cstruct"
File "combinators/mirage_flow_combinators.mli", line 132, characters 39-51:
Warning: Failed to resolve reference unresolvedroot(Cstruct).t Couldn't find "Cstruct"
File "combinators/mirage_flow_combinators.mli", line 132, characters 14-30:
Warning: Failed to resolve reference unresolvedroot(output_string) Couldn't find "output_string"
File "combinators/mirage_flow_combinators.mli", line 129, characters 38-50:
Warning: Failed to resolve reference unresolvedroot(Cstruct).t Couldn't find "Cstruct"
File "combinators/mirage_flow_combinators.mli", line 45, characters 27-37:
Warning: Failed to resolve reference unresolvedroot(S) Couldn't find "S"
2026-04-13 10:26.37 ---> saved as "f7a4b6c5514f052c55c481ea50aff33cb0a39a56a7b3c5eea64455611d29e49e"
Job succeeded
2026-04-13 10:26.37: Job succeeded