Organisationsocaml-communityutop33201e ()(lint-doc)

(lint-doc)

Logs

Show full logs
2026-03-06 12:02.56: 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:ebb21465b4557dde6b9d881fa06ca017bb601e1ca7c643a011c2b1755d1d7e57
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:ebb21465b4557dde6b9d881fa06ca017bb601e1ca7c643a011c2b1755d1d7e57
# debian-13-4.11_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 31db989bcaf14647d9889b8903120d6202ac37a8 || git fetch origin master) && git reset -q --hard 31db989bcaf14647d9889b8903120d6202ac37a8 && 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.21.1 dune-configurator.3.21.1 fmt.0.11.0 lambda-term.3.3.3 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.21.1 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

2026-03-06 12:02.56: Using cache hint "ocaml-community/utop-ocaml/opam:debian-13-ocaml-4.11@sha256:ebb21465b4557dde6b9d881fa06ca017bb601e1ca7c643a011c2b1755d1d7e57-debian-13-4.11_opam-2.5-67e8d5e4faaf31a7684e105ee649c32d"
2026-03-06 12:02.56: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.11@sha256:ebb21465b4557dde6b9d881fa06ca017bb601e1ca7c643a011c2b1755d1d7e57)
 (comment debian-13-4.11_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 31db989bcaf14647d9889b8903120d6202ac37a8 || git fetch origin master) && git reset -q --hard 31db989bcaf14647d9889b8903120d6202ac37a8 && 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 (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.21.1 dune-configurator.3.21.1 fmt.0.11.0 lambda-term.3.3.3 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.21.1 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)"))
)

2026-03-06 12:02.56: Waiting for resource in pool OCluster
2026-03-06 12:37.14: Waiting for worker…
2026-03-06 12:37.15: Got resource from pool OCluster
Building on phoebe
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:ebb21465b4557dde6b9d881fa06ca017bb601e1ca7c643a011c2b1755d1d7e57)
2026-03-06 12:37.18 ---> using "088528b419177c5e5241235f1540b595ce0a714da367354bfd8336e630bc04c1" from cache

/: (comment debian-13-4.11_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-03-06 12:37.18 ---> saved as "8d61a84961f4ec028e321115308ceab2ee86991c2fdbee41267a270cef024b52"

/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-03-06 12:38.05 ---> saved as "22a4eec7aecc4fdb2d540ffa933ed93c927ca3ffcac0979295ea00a3e6ef2d71"

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-90-generic
The OCaml toplevel, version 4.11.2
2.2.1
2026-03-06 12:38.06 ---> saved as "a3869123ca186c60d190f8ac479bc8ea6e486defd64df7905aa5c80a91be5228"

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-03-06 12:38.06 ---> saved as "849735dd73b044c970cdad5ecd355c4e5290ed3e0c590c9fd11b75b50ed14e6a"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 31db989bcaf14647d9889b8903120d6202ac37a8 || git fetch origin master) && git reset -q --hard 31db989bcaf14647d9889b8903120d6202ac37a8 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   340ee6fd1f..31db989bca  master     -> origin/master
31db989bca Merge pull request #29510 from kit-ty-kate/lwt-ocaml5

<><> 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-03-06 12:38.53 ---> saved as "0988170e31e2120013cb10d292b3d43860bf361b90ebbd74d2335e54e45b4bec"

/src: (copy (src utop.opam) (dst ./))
2026-03-06 12:38.53 ---> saved as "1d860069ed3d2d08108f9bad66410956c18419ac54ec49d5aa054254851215f9"

/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)
2026-03-06 12:38.56 ---> saved as "d68e1aa2d096bbb781ddd2bb85b1c79d15f8b715d64b8f4d3371738992ba2e09"

/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-03-06 12:38.57 ---> saved as "d4ccfa1cf6332f51ccd6c6444a3a64aa366debb2ef1797689d90ad9c86b9c247"

/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.21.1 dune-configurator.3.21.1 fmt.0.11.0 lambda-term.3.3.3 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.21.1 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]
- 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 [108 kB]
- Fetched 199 kB in 0s (757 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).
2026-03-06 12:39.22 ---> saved as "360460e86821ece0ac7d96f4fc22c9a9806ebdc413e0e5e86db79e470b50c225"

/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.21.1
  - install dune-configurator  3.21.1
  - install fmt                0.11.0
  - install lambda-term        3.3.3
  - 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.21.1
  - 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.3  (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  (https://opam.ocaml.org/cache)
-> retrieved uutf.1.0.4  (cached)
-> retrieved zed.3.2.3  (cached)
-> retrieved uucp.15.0.0  (https://opam.ocaml.org/cache)
-> retrieved dune.3.21.1, dune-configurator.3.21.1, xdg.3.21.1  (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 react.1.2.2
-> installed fmt.0.11.0
-> installed uutf.1.0.4
-> installed astring.0.8.5
-> installed dune.3.21.1
-> installed csexp.1.5.2
-> installed uucp.15.0.0
-> 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.21.1
-> installed uuseg.15.0.0
-> installed dune-configurator.3.21.1
-> installed zed.3.2.3
-> installed lwt.5.9.2
-> installed lwt_react.1.2.0
-> installed logs.0.8.0
-> installed lambda-term.3.3.3
Done.
# Run eval $(opam env) to update the current shell environment
2026-03-06 12:42.19 ---> saved as "be0d3ef1e24647c2dddcedd3363431555fce4098adc41e4f8473400c30a81dc3"

/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.21.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-03-06 12:43.13 ---> saved as "a4ca656cb757fb7126b655e1c574b8dbee1697eb93f219e0fab22ce17c0e35cf"

/src: (copy (src .) (dst /src/))
2026-03-06 12:43.14 ---> saved as "7d54e8cb629629367f712f941acfdeb86ec0b554c72be92e816ab15528bc40c6"

/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"
2026-03-06 12:43.15 ---> saved as "2126e1d22e2eda9dd2982ded8748775862b40e502f4e74cda3f69b73d4e103b4"
Job succeeded
2026-03-06 12:43.15: Job succeeded