Organisationsrobur-coopocaml-h14fab21 ()(lint-doc)

(lint-doc)

Link Copied
Code Copied

Logs

2025-08-07 08:42.40: New job: test robur-coop/ocaml-h1 https://github.com/robur-coop/ocaml-h1.git#refs/heads/master (4fab21cd3ea2fa9b2f17259f1d02af5fae018cf8) (linux-x86_64:(lint-doc))
Base: ocaml/opam:alpine-3.21-ocaml-4.14@sha256:acda27c7e9ff770f0e09f53d730162c8ebf0f21b0ddc57f73b4cd1cf27c4af6d
Opam project lint documentation


To reproduce locally:


git clone --recursive "https://github.com/robur-coop/ocaml-h1.git" -b "master" && cd "ocaml-h1" && git reset --hard 4fab21cd
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-4.14@sha256:acda27c7e9ff770f0e09f53d730162c8ebf0f21b0ddc57f73b4cd1cf27c4af6d
# alpine-3.21-4.14_opam-2.4
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 e77940d8ff8706305602d0d643bf01c77beef2e7 || git fetch origin master) && git reset -q --hard e77940d8ff8706305602d0d643bf01c77beef2e7 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 h1.opam h1-lwt-unix.opam ./
RUN opam pin add -yn h1.dev './' && \
opam pin add -yn h1-lwt-unix.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.0 angstrom.0.16.1 astring.0.8.5 base.v0.16.4 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bstr.0.0.2 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 faraday.0.8.2 faraday-lwt.0.8.2 faraday-lwt-unix.0.8.2 fmt.0.11.0 httpun-types.0.2.0 lwt.5.9.1 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.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.13.2 seq.base sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.0 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y h1.dev h1-lwt-unix.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


2025-08-07 08:42.40: Using cache hint "robur-coop/ocaml-h1-ocaml/opam:alpine-3.21-ocaml-4.14@sha256:acda27c7e9ff770f0e09f53d730162c8ebf0f21b0ddc57f73b4cd1cf27c4af6d-alpine-3.21-4.14_opam-2.4-3e1c8c1f5555701118a941b548d0b8d7"
2025-08-07 08:42.40: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:acda27c7e9ff770f0e09f53d730162c8ebf0f21b0ddc57f73b4cd1cf27c4af6d)
(comment alpine-3.21-4.14_opam-2.4)
(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 e77940d8ff8706305602d0d643bf01c77beef2e7 || git fetch origin master) && git reset -q --hard e77940d8ff8706305602d0d643bf01c77beef2e7 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src h1.opam h1-lwt-unix.opam) (dst ./))
(run (network host)
(shell  "opam pin add -yn h1.dev './' && \
\nopam pin add -yn h1-lwt-unix.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.0 angstrom.0.16.1 astring.0.8.5 base.v0.16.4 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bstr.0.0.2 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 faraday.0.8.2 faraday-lwt.0.8.2 faraday-lwt-unix.0.8.2 fmt.0.11.0 httpun-types.0.2.0 lwt.5.9.1 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.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.13.2 seq.base sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.0 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 h1.dev h1-lwt-unix.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)"))
)


2025-08-07 08:42.40: Waiting for resource in pool OCluster
2025-08-07 08:42.40: Waiting for worker…
2025-08-07 08:42.41: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 4fab21c Merge pull request #11 from swrup/bstr


(from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:acda27c7e9ff770f0e09f53d730162c8ebf0f21b0ddc57f73b4cd1cf27c4af6d)
2025-08-07 08:43.00 ---> saved as "ea47f485ac5e3de6005676b139eead37b27580d3656da4cbc3286dafdec05f07"


/: (comment alpine-3.21-4.14_opam-2.4)


/: (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"))
2025-08-07 08:43.00 ---> saved as "0a410955a2e3decb2c3c7c43536c0bf9017ce0d65727376b0091f906550447e5"


/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
2025-08-07 08:43.25 ---> saved as "c75d1552cf10fa116baa6062a0e580c244e157fe15416960b25666d40121d3d6"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 4.14.2
2.2.1
2025-08-07 08:43.25 ---> saved as "6e6019031024ba74fba436abe33c519f223fc24c973f4b0550eef41adeb77209"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-08-07 08:43.26 ---> saved as "a38ff493994e0d70ad73f381e536174a68bf479d76a34bf99172c88d2df40008"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e e77940d8ff8706305602d0d643bf01c77beef2e7 || git fetch origin master) && git reset -q --hard e77940d8ff8706305602d0d643bf01c77beef2e7 && git log --no-decorate -n1 --oneline && opam update -u"))
e77940d8ff Merge pull request #28255 from dbuenzli/b0-publish-fmt.0.11.0


<><> 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
2025-08-07 08:43.43 ---> saved as "87137ecd69472d4fd57747369f6e9fe4b5c08f1a2d7e617640df610ef3951948"


/src: (copy (src h1.opam h1-lwt-unix.opam) (dst ./))
2025-08-07 08:43.43 ---> saved as "f4788b3e121e5bc410a3cc94ba60e2094f905c87e9c470480e005b2a6a5f88f3"


/src: (run (network host)
(shell  "opam pin add -yn h1.dev './' && \
\nopam pin add -yn h1-lwt-unix.dev './'"))
[h1.dev] synchronised (file:///src)
h1 is now pinned to file:///src (version dev)
[h1-lwt-unix.dev] synchronised (file:///src)
h1-lwt-unix is now pinned to file:///src (version dev)
2025-08-07 08:43.47 ---> saved as "77e0fde6f47ff7aced6c3c885d0b1eaa7ab29f7eb8143f398dbcf51e18b44bba"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-08-07 08:43.48 ---> saved as "3f4005b225ba9198ccbe58dcb8c259f37045583bc7285e36bfd7b1605468580f"


/src: (env DEPS "alcotest.1.9.0 angstrom.0.16.1 astring.0.8.5 base.v0.16.4 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bstr.0.0.2 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 faraday.0.8.2 faraday-lwt.0.8.2 faraday-lwt-unix.0.8.2 fmt.0.11.0 httpun-types.0.2.0 lwt.5.9.1 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.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.13.2 seq.base sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.0 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 h1.dev h1-lwt-unix.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.21.4-39-g69873deaff7 [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.4-39-g69873deaff7 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v3.23.0_alpha20250612-4024-g999778c295a [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.23.0_alpha20250612-4024-g999778c295a [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.23.0_alpha20250612-4021-ga79434d4c61 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 59251 distinct packages available


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[h1.dev] synchronised (file:///src)
[h1-lwt-unix.dev] synchronised (file:///src)


[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 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).
2025-08-07 08:43.57 ---> saved as "8f9a94e035aec46580318ff07df08a7faf1d9eba96385b19a02ae6037b13989e"


/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.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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 30 packages
- install alcotest           1.9.0
- install angstrom           0.16.1
- install astring            0.8.5
- install base               v0.16.4
- install base-bytes         base
- install base64             3.5.1
- install bigstringaf        0.10.0
- install bstr               0.0.2
- install cmdliner           1.3.0
- install cppo               1.8.0
- install csexp              1.5.2
- install dune               3.19.1
- install dune-configurator  3.19.1
- install faraday            0.8.2
- install faraday-lwt        0.8.2
- install faraday-lwt-unix   0.8.2
- install fmt                0.11.0
- install httpun-types       0.2.0
- install lwt                5.9.1
- 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.13.2
- install seq                base
- install sexplib0           v0.16.0
- install stdio              v0.16.0
- install stdlib-shims       0.3.0
- install topkg              1.1.0
- install uutf               1.0.4


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved alcotest.1.9.0  (cached)
-> retrieved base.v0.16.4  (cached)
-> retrieved base64.3.5.1  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved bstr.0.0.2  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved faraday.0.8.2, faraday-lwt.0.8.2, faraday-lwt-unix.0.8.2  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved lwt.5.9.1  (cached)
-> retrieved httpun-types.0.2.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved re.1.13.2  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdio.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.1.0  (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.1.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed dune.3.19.1
-> installed csexp.1.5.2
-> installed base64.3.5.1
-> installed bstr.0.0.2
-> installed cppo.1.8.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.13.2
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed ocplib-endian.1.2
-> installed alcotest.1.9.0
-> installed dune-configurator.3.19.1
-> installed bigstringaf.0.10.0
-> installed faraday.0.8.2
-> installed angstrom.0.16.1
-> installed httpun-types.0.2.0
-> installed lwt.5.9.1
-> installed faraday-lwt.0.8.2
-> installed faraday-lwt-unix.0.8.2
-> installed base.v0.16.4
-> installed stdio.v0.16.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-08-07 08:44.39 ---> saved as "141236dc1e537277cc75ea98115999cf7541cd2052b76c265f6b3864ae804941"


/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.19.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)
-> retrieved odoc.3.1.0, odoc-parser.3.1.0  (cached)
-> installed camlp-streams.5.0.1
-> 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
2025-08-07 08:44.56 ---> saved as "d6a4bd1413cac428a173f4e503de8a7c94c2d7f6576aad3dedd95c21389b4040"


/src: (copy (src .) (dst /src/))
2025-08-07 08:44.56 ---> saved as "674ec5c55904ed642e959d861b6eef0d62fe306c6414dd17698ab213aab0dd9c"


/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
(cd _build/default/lib/.h1.objs/byte && /home/opam/.opam/4.14/bin/odoc compile -I . -I ../../../_doc/_odoc/pkg/h1 --pkg h1 -o h1.odoc h1.cmti)
File "lib/h1.mli", line 175, characters 19-20:
Warning: End of text is not allowed in '{{:...} ...}' (external link).
File "lib/h1.mli", line 187, characters 36-38:
Warning: '{R' should be followed by space, a tab, or a new line.
File "lib/h1.mli", line 187, characters 36-45:
Warning: '{R ...}' (right alignment) should not be used because it has no effect.
File "lib/h1.mli", line 231, characters 19-20:
Warning: End of text is not allowed in '{{:...} ...}' (external link).
File "lib/h1.mli", line 336, characters 12-33:
Warning: '{next_read_operation}': bad markup.
Suggestion: did you mean '{!next_read_operation}' or '[next_read_operation]'?
File "lib/h1.mli", line 348, characters 33-54:
Warning: '{report_write_result}': bad markup.
Suggestion: did you mean '{!report_write_result}' or '[report_write_result]'?
File "lib/h1.mli", line 349, characters 14-36:
Warning: '{next_write_operation}': bad markup.
Suggestion: did you mean '{!next_write_operation}' or '[next_write_operation]'?
File "lib/h1.mli", line 354, characters 8-30:
Warning: '{next_write_operation}': bad markup.
Suggestion: did you mean '{!next_write_operation}' or '[next_write_operation]'?
File "lib/h1.mli", line 361, characters 12-34:
Warning: '{next_write_operation}': bad markup.
Suggestion: did you mean '{!next_write_operation}' or '[next_write_operation]'?
File "lib/h1.mli", line 432, characters 33-54:
Warning: '{report_write_result}': bad markup.
Suggestion: did you mean '{!report_write_result}' or '[report_write_result]'?
File "lib/h1.mli", line 433, characters 14-36:
Warning: '{next_write_operation}': bad markup.
Suggestion: did you mean '{!next_write_operation}' or '[next_write_operation]'?
File "lib/h1.mli", line 438, characters 8-30:
Warning: '{next_write_operation}': bad markup.
Suggestion: did you mean '{!next_write_operation}' or '[next_write_operation]'?
File "lib/h1.mli", line 445, characters 12-34:
Warning: '{next_write_operation}': bad markup.
Suggestion: did you mean '{!next_write_operation}' or '[next_write_operation]'?
2025-08-07 08:44.57 ---> saved as "a0553f889576134ca18059aad86bd8827cfd7c01c7bf37a973e954c68cd14bbd"
Job succeeded
2025-08-07 08:44.57: Job succeeded