Organisationsocaml-communityutop33201e (master)(lint-doc)

(lint-doc)

Link Copied
Code Copied

Logs

2025-12-14 10:16.57: New job: test ocaml-community/utop https://github.com/ocaml-community/utop.git#refs/heads/master (33201e60767fec2b4d7f43d5f033ec1e961ac1ff) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-13-ocaml-4.11@sha256:8d2a929e1fbf1545a703d0dd26cdd0e956ddb0eb138be42db850dec6040e2f4c
Opam project lint documentation


To reproduce locally:


git clone --recursive "https://github.com/ocaml-community/utop.git" -b "master" && cd "utop" && git reset --hard 33201e60
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.11@sha256:8d2a929e1fbf1545a703d0dd26cdd0e956ddb0eb138be42db850dec6040e2f4c
# debian-13-4.11_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 e4bdfa6ec85336d4142dbbc3538534d9704fabeb || git fetch origin master) && git reset -q --hard e4bdfa6ec85336d4142dbbc3538534d9704fabeb && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 utop.opam ./
RUN opam pin add -yn utop.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 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 lambda-term.3.3.2 logs.0.8.0 lwt.5.9.2 lwt_react.1.2.0 mew.0.1.0 mew_vi.0.5.0 ocaml.4.11.2 ocaml-base-compiler.4.11.2 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 react.1.2.2 result.1.5 seq.base stdlib-shims.0.3.0 topkg.1.1.1 trie.1.0.0 uchar.0.0.2 uucp.15.0.0 uuseg.15.0.0 uutf.1.0.4 xdg.3.20.2 zed.3.2.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y utop.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-12-14 10:16.57: Using cache hint "ocaml-community/utop-ocaml/opam:debian-13-ocaml-4.11@sha256:8d2a929e1fbf1545a703d0dd26cdd0e956ddb0eb138be42db850dec6040e2f4c-debian-13-4.11_opam-2.4-5faa3df63d478c3177e73dce3900dcf9"
2025-12-14 10:16.57: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.11@sha256:8d2a929e1fbf1545a703d0dd26cdd0e956ddb0eb138be42db850dec6040e2f4c)
(comment debian-13-4.11_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 e4bdfa6ec85336d4142dbbc3538534d9704fabeb || git fetch origin master) && git reset -q --hard e4bdfa6ec85336d4142dbbc3538534d9704fabeb && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src utop.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn utop.dev './'"))
(run (network host)
(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 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 lambda-term.3.3.2 logs.0.8.0 lwt.5.9.2 lwt_react.1.2.0 mew.0.1.0 mew_vi.0.5.0 ocaml.4.11.2 ocaml-base-compiler.4.11.2 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 react.1.2.2 result.1.5 seq.base stdlib-shims.0.3.0 topkg.1.1.1 trie.1.0.0 uchar.0.0.2 uucp.15.0.0 uuseg.15.0.0 uutf.1.0.4 xdg.3.20.2 zed.3.2.3")
(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 utop.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-12-14 10:16.57: Waiting for resource in pool OCluster
2025-12-14 10:48.45: Waiting for worker…
2025-12-14 10:53.15: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at 33201e6 Merge pull request #506 from qexat/fix/utoprc-templates


(from ocaml/opam:debian-13-ocaml-4.11@sha256:8d2a929e1fbf1545a703d0dd26cdd0e956ddb0eb138be42db850dec6040e2f4c)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.11@sha256:8d2a929e1fbf1545a703d0dd26cdd0e956ddb0eb138be42db850dec6040e2f4c' locally
docker.io/ocaml/opam@sha256:8d2a929e1fbf1545a703d0dd26cdd0e956ddb0eb138be42db850dec6040e2f4c: Pulling from ocaml/opam
2981f7e8980b: Already exists
9c63e1c4ba84: Already exists
02578b9c9f1b: Already exists
3801cb7ba5e6: Already exists
1c4cdedd39f1: Already exists
40f6006c5f5a: Already exists
c451a17216ec: Already exists
e4104b8f72ee: Already exists
7c7dbc5e7919: Already exists
aa82be714e7c: Already exists
922520f12384: Already exists
9bfea042cef8: Already exists
1244979f7c21: Already exists
7583a0e34f94: Already exists
14bef3f2665a: Already exists
3a4b42ce6cb5: Already exists
b0a08a900877: Already exists
b0a08a900877: Already exists
16ac87e68d60: Already exists
74ac6e8c9b82: Already exists
b41290a57dc5: Already exists
592e5bcb7159: Already exists
4f4fb700ef54: Already exists
1db0705661a3: Already exists
76bb8e35b9cc: Already exists
3bc9d98c3b49: Already exists
7096ef42e6c0: Already exists
cd0e70de8125: Already exists
23ffab57f98e: Already exists
b974353d8023: Already exists
c74fba566723: Already exists
5ad399846f45: Already exists
3e7203fa3980: Already exists
0b8915d2a92b: Already exists
e68c7a56c438: Already exists
9024d680a167: Already exists
3c7c73421b6e: Already exists
7134fa9b4278: Already exists
9d94fb523099: Already exists
20d06dbdae7e: Already exists
b9a45e537661: Already exists
766c9324ff96: Pulling fs layer
55a39d577fc3: Pulling fs layer
d66f6fabfa0f: Pulling fs layer
f8701acf68e8: Pulling fs layer
f8701acf68e8: Waiting
55a39d577fc3: Verifying Checksum
55a39d577fc3: Download complete
d66f6fabfa0f: Verifying Checksum
d66f6fabfa0f: Download complete
f8701acf68e8: Verifying Checksum
f8701acf68e8: Download complete
766c9324ff96: Verifying Checksum
766c9324ff96: Download complete
766c9324ff96: Pull complete
55a39d577fc3: Pull complete
d66f6fabfa0f: Pull complete
f8701acf68e8: Pull complete
Digest: sha256:8d2a929e1fbf1545a703d0dd26cdd0e956ddb0eb138be42db850dec6040e2f4c
Status: Downloaded newer image for ocaml/opam@sha256:8d2a929e1fbf1545a703d0dd26cdd0e956ddb0eb138be42db850dec6040e2f4c
2025-12-14 11:03.26 ---> using "d0eefa7bffc2cc89f08ed391073a859cc367a2096bd99368108a6b451fc23f27" from cache


/: (comment debian-13-4.11_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-12-14 11:03.27 ---> saved as "78ba447d6619ee9a8df700bb86f500f4e988dbdb5fea52d07a2347fcdfc67c4c"


/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-12-14 11:03.57 ---> saved as "f954c769483aee19c45eaf16567d27750cc4c6215e838841b3a1f3136ee00b62"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-85-generic
The OCaml toplevel, version 4.11.2
2.2.1
2025-12-14 11:03.58 ---> saved as "4849b9a50b72b991c519ee62dfdba48c55e1ab6d052ec404fcc3dd38b2230e1e"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-12-14 11:03.59 ---> saved as "6941576ba25ccf9f381039e0ee4859874ba75a356b902e182bfb108b8b8b7037"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e e4bdfa6ec85336d4142dbbc3538534d9704fabeb || git fetch origin master) && git reset -q --hard e4bdfa6ec85336d4142dbbc3538534d9704fabeb && git log --no-decorate -n1 --oneline && opam update -u"))
e4bdfa6ec8 Merge pull request #29045 from dkalinichenko-js/janestreet-package-maintanence-intent


<><> 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-12-14 11:04.22 ---> saved as "585cf89d04a9901351489cec593f4fb4ba0d6723493f2d4e3cce5236bb42249e"


/src: (copy (src utop.opam) (dst ./))
2025-12-14 11:04.22 ---> saved as "f57db96007d48101d923ae9224be735d4e2239d0fd7f6b54c568bafd7da09e52"


/src: (run (network host)
(shell "opam pin add -yn utop.dev './'"))
[utop.dev] synchronised (file:///src)
utop is now pinned to file:///src (version dev)
2025-12-14 11:04.26 ---> saved as "32fe822204a844988360e1558fb39fbd3831f1de68a3a3f9b5c19ed450fc4134"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-12-14 11:04.26 ---> saved as "e8c84a62ee1d02321748f257306e895022fa11233f39e4f9bd3abc3a3e463ada"


/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 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 lambda-term.3.3.2 logs.0.8.0 lwt.5.9.2 lwt_react.1.2.0 mew.0.1.0 mew_vi.0.5.0 ocaml.4.11.2 ocaml-base-compiler.4.11.2 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 react.1.2.2 result.1.5 seq.base stdlib-shims.0.3.0 topkg.1.1.1 trie.1.0.0 uchar.0.0.2 uucp.15.0.0 uuseg.15.0.0 uutf.1.0.4 xdg.3.20.2 zed.3.2.3")


/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 utop.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]
- Hit:3 http://deb.debian.org/debian-security trixie-security InRelease
- Fetched 47.3 kB in 0s (692 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[utop.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.11.2).
[NOTE] Package ocaml is already installed (current version is 4.11.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-12-14 11:04.41 ---> saved as "5b6cee8b172dd7117d23e14175002b38744556ec4b0f1ef0d5a3c4d0de676e5f"


/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.11.2).
[NOTE] Package ocaml is already installed (current version is 4.11.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 32 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 dune               3.20.2
- install dune-configurator  3.20.2
- install fmt                0.11.0
- install lambda-term        3.3.2
- install logs               0.8.0
- install lwt                5.9.2
- install lwt_react          1.2.0
- install mew                0.1.0
- install mew_vi             0.5.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 react              1.2.2
- install result             1.5
- install seq                base
- install stdlib-shims       0.3.0
- install topkg              1.1.1
- install trie               1.0.0
- install uchar              0.0.2
- install uucp               15.0.0
- install uuseg              15.0.0
- install uutf               1.0.4
- install xdg                3.20.2
- install zed                3.2.3


<><> 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 fmt.0.11.0  (cached)
-> retrieved lambda-term.3.3.2  (cached)
-> retrieved logs.0.8.0  (cached)
-> retrieved lwt.5.9.2  (cached)
-> retrieved lwt_react.1.2.0  (cached)
-> retrieved mew.0.1.0  (cached)
-> retrieved mew_vi.0.5.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 re.1.11.0  (cached)
-> retrieved react.1.2.2  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved result.1.5  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved trie.1.0.0  (cached)
-> retrieved uchar.0.0.2  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved uuseg.15.0.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved zed.3.2.3  (cached)
-> retrieved uucp.15.0.0  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2, xdg.3.20.2  (cached)
-> installed cmdliner.2.1.0
-> installed ocamlbuild.0.16.1
-> installed uchar.0.0.2
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.1.1
-> installed fmt.0.11.0
-> installed uutf.1.0.4
-> installed react.1.2.2
-> installed astring.0.8.5
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.11.0
-> installed result.1.5
-> installed stdlib-shims.0.3.0
-> installed trie.1.0.0
-> installed ocplib-endian.1.2
-> installed mew.0.1.0
-> installed mew_vi.0.5.0
-> installed alcotest.1.9.1
-> installed xdg.3.20.2
-> installed dune-configurator.3.20.2
-> installed uucp.15.0.0
-> installed uuseg.15.0.0
-> installed lwt.5.9.2
-> installed zed.3.2.3
-> installed lwt_react.1.2.0
-> installed logs.0.8.0
-> installed lambda-term.3.3.2
Done.
# Run eval $(opam env) to update the current shell environment
2025-12-14 11:05.37 ---> saved as "c9976a1c86e97b0c4cb11881fa84529515012989f55e7b6ced3e68cc2a49d40c"


/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.20.2).
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
2025-12-14 11:06.14 ---> saved as "5e7444adcb9ddbb3252bb6885bb98a459d65939b34e856026af8f439d82dad49"


/src: (copy (src .) (dst /src/))
2025-12-14 11:06.14 ---> saved as "76793d948c795f0595261fff6398ff64d60ad1fbf9174e9b1ed830d0d767b4c1"


/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
(cd _build/default/src/lib/.uTop.objs/byte && /home/opam/.opam/4.11/bin/odoc compile -I . -I ../../../../_doc/_odoc/pkg/utop --pkg utop -o uTop.odoc uTop.cmti)
File "src/lib/uTop.mli", line 174, characters 4-15:
Warning: '6': bad heading level (0-5 allowed).
File "src/lib/uTop.mli", line 210, characters 4-38:
Warning: '6': bad heading level (0-5 allowed).
File "src/lib/uTop.mli", line 236, characters 4-31:
Warning: '6': bad heading level (0-5 allowed).
File "src/lib/uTop.mli", line 241, characters 4-13:
Warning: '6': bad heading level (0-5 allowed).
File "src/lib/uTop.mli", line 250, characters 4-15:
Warning: '6': bad heading level (0-5 allowed).
File "src/lib/uTop.mli", line 312, characters 4-15:
Warning: '6': bad heading level (0-5 allowed).
File "src/lib/uTop.mli", line 341, characters 5-32:
Warning: '6': bad heading level (0-5 allowed).
(cd _build/default/_doc/_html && /home/opam/.opam/4.11/bin/odoc link -I ../_odoc/pkg/utop -I ../../src/lib/.uTop.objs/byte -o ../_odocls/utop/uTop.odocl ../../src/lib/.uTop.objs/byte/uTop.odoc)
File "src/lib/uTop.mli", line 288, characters 18-34:
Warning: Failed to resolve reference unresolvedroot(Parse_failure) Couldn't find "Parse_failure"
2025-12-14 11:06.16 ---> saved as "df9283f4fa11685aef7a83b0f518fd449dd5898ed0fdb9da8abec62825ee1388"
Job succeeded
2025-12-14 11:06.16: Job succeeded