Organisationsocaml-communityutop5df398 ()(lint-doc)

(lint-doc)

Logs

Show full logs
2025-01-11 17:59.16: New job: test ocaml-community/utop https://github.com/ocaml-community/utop.git#refs/pull/493/head (5df398702ff97572f0c69de40d391f6d0ca0d448) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-12-ocaml-4.11@sha256:dd8450bd719a43f933f549bbbf8a464880411b4cf65c45f1108dee660d0025d5
Opam project lint documentation

To reproduce locally:

git clone --recursive "https://github.com/ocaml-community/utop.git" && cd "utop" && git fetch origin "refs/pull/493/head" && git reset --hard 5df39870
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.11@sha256:dd8450bd719a43f933f549bbbf8a464880411b4cf65c45f1108dee660d0025d5
# debian-12-4.11_opam-2.3
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 82749c0bc5cc2afb8d47b6abd46d44554f7bf5bc || git fetch origin master) && git reset -q --hard 82749c0bc5cc2afb8d47b6abd46d44554f7bf5bc && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 utop.opam ./
RUN opam pin add -yn utop.dev './'
ENV DEPS="alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 dune.3.17.1 dune-configurator.3.17.1 fmt.0.9.0 lambda-term.3.3.2 logs.0.7.0 lwt.5.9.0 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.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 re.1.11.0 react.1.2.2 result.1.5 seq.base stdlib-shims.0.3.0 topkg.1.0.7 trie.1.0.0 uchar.0.0.2 uucp.15.0.0 uuseg.15.0.0 uutf.1.0.3 xdg.3.17.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

2025-01-11 17:59.16: Using cache hint "ocaml-community/utop-ocaml/opam:debian-12-ocaml-4.11@sha256:dd8450bd719a43f933f549bbbf8a464880411b4cf65c45f1108dee660d0025d5-debian-12-4.11_opam-2.3-6ee712be2cc4554671d25852e12d8023"
2025-01-11 17:59.16: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.11@sha256:dd8450bd719a43f933f549bbbf8a464880411b4cf65c45f1108dee660d0025d5)
 (comment debian-12-4.11_opam-2.3)
 (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 82749c0bc5cc2afb8d47b6abd46d44554f7bf5bc || git fetch origin master) && git reset -q --hard 82749c0bc5cc2afb8d47b6abd46d44554f7bf5bc && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src utop.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn utop.dev './'"))
 (env DEPS "alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 dune.3.17.1 dune-configurator.3.17.1 fmt.0.9.0 lambda-term.3.3.2 logs.0.7.0 lwt.5.9.0 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.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 re.1.11.0 react.1.2.2 result.1.5 seq.base stdlib-shims.0.3.0 topkg.1.0.7 trie.1.0.0 uchar.0.0.2 uucp.15.0.0 uuseg.15.0.0 uutf.1.0.3 xdg.3.17.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)"))
)

2025-01-11 17:59.16: Waiting for resource in pool OCluster
2025-01-11 19:08.58: Waiting for worker…
2025-01-11 19:10.13: Got resource from pool OCluster
Building on x86-bm-c2.sw.ocaml.org
All commits already cached
HEAD is now at 5df3987 Update README.md

(from ocaml/opam:debian-12-ocaml-4.11@sha256:dd8450bd719a43f933f549bbbf8a464880411b4cf65c45f1108dee660d0025d5)
2025-01-11 19:10.13 ---> using "6777d8ea3dc309ac5db0d1d1474da5e2dd2d6139c9fb7f044bff1de7b56c94dd" from cache

/: (comment debian-12-4.11_opam-2.3)

/: (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-01-11 19:10.13 ---> saved as "2e30a474f7a81d799fff5a124671b91301c717807a229b81949b71f1b0dda32c"

/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] synchronised from file:///home/opam/opam-repository
2025-01-11 19:11.44 ---> saved as "99cf833f3f4183458afe66da0b39d5ed7d483632b55808626cab29566802a155"

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 4.11.2
2.2.1
2025-01-11 19:11.44 ---> saved as "cec832106aec07cf53cda0f39b3e27977f1cc233b2184b648c265e70c9e7e24d"

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-01-11 19:11.44 ---> saved as "7d25ba7d1dcf45458b48744b1168527edbdfb85870b69e7823cfe6540e410681"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 82749c0bc5cc2afb8d47b6abd46d44554f7bf5bc || git fetch origin master) && git reset -q --hard 82749c0bc5cc2afb8d47b6abd46d44554f7bf5bc && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   de786e28db..84f0fe59c5  master     -> origin/master
82749c0bc5 Merge pull request #27235 from dbuenzli/erratique-maintenance-intent

<><> 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
2025-01-11 19:13.03 ---> saved as "f3bfff0b2e1f2d7e526f5ab4dc1cefad10afddcc895cdcd6109fb08d9aed66e6"

/src: (copy (src utop.opam) (dst ./))
2025-01-11 19:13.03 ---> saved as "9db7467e458471e8153c79d07e6a0f0faaa3ce688b4a94910dfe09da3e0277ca"

/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-01-11 19:13.05 ---> saved as "5e1c945e12301c6305a7bb62ab1ab95bffcacb4bf80b21acf31625108b8eb97e"

/src: (env DEPS "alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 dune.3.17.1 dune-configurator.3.17.1 fmt.0.9.0 lambda-term.3.3.2 logs.0.7.0 lwt.5.9.0 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.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 re.1.11.0 react.1.2.2 result.1.5 seq.base stdlib-shims.0.3.0 topkg.1.0.7 trie.1.0.0 uchar.0.0.2 uucp.15.0.0 uuseg.15.0.0 uutf.1.0.3 xdg.3.17.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"
- 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 [8792 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [241 kB]
- Fetched 9288 kB in 2s (3819 kB/s)
- Reading package lists...
- 

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[utop.dev] synchronised (no changes)

[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-01-11 19:13.29 ---> saved as "2e1c18d6cdbcd4e99c136cfea095583d1fc4dbb2a088b135331c60c3b3cac003"

/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.8.0
  - install astring            0.8.5
  - install base-bytes         base
  - install cmdliner           1.3.0
  - install cppo               1.8.0
  - install csexp              1.5.2
  - install dune               3.17.1
  - install dune-configurator  3.17.1
  - install fmt                0.9.0
  - install lambda-term        3.3.2
  - install logs               0.7.0
  - install lwt                5.9.0
  - 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.15.0
  - install ocamlfind          1.9.6
  - 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.0.7
  - install trie               1.0.0
  - install uchar              0.0.2
  - install uucp               15.0.0
  - install uuseg              15.0.0
  - install uutf               1.0.3
  - install xdg                3.17.1
  - install zed                3.2.3

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved alcotest.1.8.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved lambda-term.3.3.2  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved lwt.5.9.0  (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.15.0  (cached)
-> retrieved ocamlfind.1.9.6  (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.0.7  (cached)
-> retrieved uuseg.15.0.0  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved zed.3.2.3  (cached)
-> retrieved uucp.15.0.0  (cached)
-> retrieved dune.3.17.1, dune-configurator.3.17.1, xdg.3.17.1  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.15.0
-> installed uchar.0.0.2
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed topkg.1.0.7
-> installed react.1.2.2
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed dune.3.17.1
-> 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 mew.0.1.0
-> installed ocplib-endian.1.2
-> installed xdg.3.17.1
-> installed mew_vi.0.5.0
-> installed alcotest.1.8.0
-> installed dune-configurator.3.17.1
-> installed uucp.15.0.0
-> installed uuseg.15.0.0
-> installed lwt.5.9.0
-> installed zed.3.2.3
-> installed lwt_react.1.2.0
-> installed logs.0.7.0
-> installed lambda-term.3.3.2
Done.
# Run eval $(opam env) to update the current shell environment
2025-01-11 19:14.59 ---> saved as "3e56b1d7d99f799edb970f21e5293fcfb9640c438dc55e771f9459c7cda1f019"

/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.17.1).
The following actions will be performed:
=== install 7 packages
  - install camlp-streams 5.0.1 [required by odoc-parser]
  - install crunch        3.3.1 [required by odoc]
  - install fpath         0.7.3 [required by odoc]
  - install odoc          2.4.4
  - install odoc-parser   2.4.4 [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.3.3.1  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved tyxml.4.6.0  (cached)
-> retrieved odoc.2.4.4, odoc-parser.2.4.4  (cached)
-> installed camlp-streams.5.0.1
-> installed fpath.0.7.3
-> installed ptime.1.2.0
-> installed odoc-parser.2.4.4
-> installed crunch.3.3.1
-> installed tyxml.4.6.0
-> installed odoc.2.4.4
Done.
# Run eval $(opam env) to update the current shell environment
2025-01-11 19:15.34 ---> saved as "5924616f62ebc9a963a38b45ec5696c549e1c1c0afa8323e238f19bd8c5b8849"

/src: (copy (src .) (dst /src/))
2025-01-11 19:15.34 ---> saved as "e1852749d9b09009cc93f9ed81121871dbe7fe18464583a17c096b8fc98042a5"

/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-01-11 19:15.35 ---> saved as "3ef6abdccdc9cb5783b3f1fa07f772031de2a67567826689f3415356e74e0e86"
Job succeeded
2025-01-11 19:15.35: Job succeeded