OrganisationsmirageZarith9de5ec (zarith-1.13)(lint-doc)

(lint-doc)

Logs

Show full logs
2024-09-05 12:31.21: New job: test mirage/Zarith https://github.com/mirage/Zarith.git#refs/heads/zarith-1.13 (9de5ec36fc0851f19985b235aa07d56661688155) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-12-ocaml-4.04@sha256:414439ae47242f858f41f48aba17f6eee48c6757311e6e46bade5c51d88913c3
Opam project lint documentation

To reproduce locally:

git clone --recursive "https://github.com/mirage/Zarith.git" -b "zarith-1.13" && cd "Zarith" && git reset --hard 9de5ec36
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.04@sha256:414439ae47242f858f41f48aba17f6eee48c6757311e6e46bade5c51d88913c3
# debian-12-4.04_opam-2.2
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 e90d00913cec22ea90c21ecb282c1f0b955a7959 || git fetch origin master) && git reset -q --hard e90d00913cec22ea90c21ecb282c1f0b955a7959 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 zarith.opam ./
RUN opam pin add -yn zarith.dev './'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base conf-m4.1 dune.3.16.0 gmp.6.2.1-5 host-arch-x86_64.1 host-system-other.1 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y zarith.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

2024-09-05 12:31.21: Using cache hint "mirage/Zarith-ocaml/opam:debian-12-ocaml-4.04@sha256:414439ae47242f858f41f48aba17f6eee48c6757311e6e46bade5c51d88913c3-debian-12-4.04_opam-2.2-f86f54d0d8662102b2a4537a31fc5efa"
2024-09-05 12:31.21: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.04@sha256:414439ae47242f858f41f48aba17f6eee48c6757311e6e46bade5c51d88913c3)
 (comment debian-12-4.04_opam-2.2)
 (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 e90d00913cec22ea90c21ecb282c1f0b955a7959 || git fetch origin master) && git reset -q --hard e90d00913cec22ea90c21ecb282c1f0b955a7959 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src zarith.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn zarith.dev './'"))
 (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-m4.1 dune.3.16.0 gmp.6.2.1-5 host-arch-x86_64.1 host-system-other.1 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6")
 (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 zarith.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)"))
)

2024-09-05 12:31.21: Waiting for resource in pool OCluster
2024-09-05 22:05.11: Waiting for worker…
2024-09-05 22:11.07: Got resource from pool OCluster
Building on x86-bm-c20.sw.ocaml.org
All commits already cached
HEAD is now at 9de5ec3 revert a6ad837b (use ocamlc to test C compiler in configure)

(from ocaml/opam:debian-12-ocaml-4.04@sha256:414439ae47242f858f41f48aba17f6eee48c6757311e6e46bade5c51d88913c3)
2024-09-05 22:11.07 ---> using "081c9747f2b39a94a6661c1a81ca7eab646b5d1e77b831bbb8de2e34de478728" from cache

/: (comment debian-12-4.04_opam-2.2)

/: (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"))
2024-09-05 22:11.07 ---> using "f5d46f595a4b7b441df5e566a11f8d50dc604f33f813cb0929d206094f4acd5b" 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
[NOTE] The 'jobs' option was reset, its value was 39 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=39 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-09-05 22:11.07 ---> using "175fbe6f2ae68e9a1661bca098e43006993b5c89661faad2785becfaa9481412" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-119-generic
The OCaml toplevel, version 4.04.2
2.2.1
2024-09-05 22:11.07 ---> using "1c918e403a0df65aefa01c597409d02e7988c93196510679706b6a0a145dab39" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2024-09-05 22:11.07 ---> using "45514104d5767b08e54183ff4d9cc3d411921b491db5a0fb33dafd3c51b56cae" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e e90d00913cec22ea90c21ecb282c1f0b955a7959 || git fetch origin master) && git reset -q --hard e90d00913cec22ea90c21ecb282c1f0b955a7959 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   e89899ac28..2c9b57d0d2  master     -> origin/master
e90d00913c Merge pull request #26471 from dkalinichenko-js/js-comp

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository

The following actions will be performed:
=== upgrade 1 package
  - upgrade ocaml-secondary-compiler 4.08.1-1 to 4.14.2
=== install 2 packages
  - install host-arch-x86_64         1
  - install host-system-other        1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed host-arch-x86_64.1
-> installed host-system-other.1
-> retrieved ocaml-secondary-compiler.4.14.2  (cached)
-> removed   ocaml-secondary-compiler.4.08.1-1
-> installed ocaml-secondary-compiler.4.14.2
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-05 22:11.07 ---> using "3fda82404cccf5eb23228c3c0ad267c2e60e5a8708ec35e72f445bf639ce4b4c" from cache

/src: (copy (src zarith.opam) (dst ./))
2024-09-05 22:11.07 ---> using "79850b6498f2b446046d3ffc205e6bc779849b6a5156fd23c3027a411ef483fd" from cache

/src: (run (network host)
           (shell "opam pin add -yn zarith.dev './'"))
[zarith.dev] synchronised (file:///src)
zarith is now pinned to file:///src (version dev)
2024-09-05 22:11.07 ---> using "ccfb800d41e5b59bb366e379cb42fdfc9a1181298b3eb9cabced34e9769ed0b5" from cache

/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-m4.1 dune.3.16.0 gmp.6.2.1-5 host-arch-x86_64.1 host-system-other.1 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6")

/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 zarith.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 [8787 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [179 kB]
- Fetched 9221 kB in 1s (6758 kB/s)
- Reading package lists...
- 

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

[NOTE] Package ocaml-secondary-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.04.2).
[NOTE] Package ocaml is already installed (current version is 4.04.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 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 system packages will first need to be installed:
    m4

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package m4.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18734 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-3_amd64.deb ...
- Unpacking m4 (1.4.19-3) ...
- Setting up m4 (1.4.19-3) ...
2024-09-05 22:11.07 ---> using "d7bb99661a5225750815c332171bf9f5283e5d6ff8fe34cc417315b542c7778c" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-secondary-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.04.2).
[NOTE] Package ocaml is already installed (current version is 4.04.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 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 5 packages
  - install conf-m4             1
  - install dune                3.16.0
  - install gmp                 6.2.1-5
  - install ocamlfind           1.9.6
  - install ocamlfind-secondary 1.9.6

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-m4.1
-> retrieved ocamlfind.1.9.6, ocamlfind-secondary.1.9.6  (cached)
-> retrieved gmp.6.2.1-5  (cached)
-> retrieved dune.3.16.0  (cached)
-> installed ocamlfind.1.9.6
-> installed ocamlfind-secondary.1.9.6
-> installed dune.3.16.0
-> installed gmp.6.2.1-5
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-05 22:12.08 ---> saved as "a32f39053e84eccc5ea5aab56ee09acb2079f0de33daaae42f73f43d68bed757"

/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.16.0).
The following actions will be performed:
=== install 18 packages
  - install astring       0.8.3  [required by odoc]
  - install base-bytes    base   [required by astring]
  - install camlp-streams 5.0.1  [required by odoc-parser]
  - install cmdliner      1.0.4  [required by odoc]
  - install cppo          1.7.0  [required by odoc]
  - install crunch        2.2.0  [required by odoc]
  - install fmt           0.8.6  [required by odoc]
  - install fpath         0.7.3  [required by odoc]
  - install ocamlbuild    0.14.3 [required by fmt, astring, fpath]
  - install odoc          2.4.2
  - install odoc-parser   2.4.2  [required by odoc]
  - install re            1.11.0 [required by tyxml]
  - install result        1.5    [required by odoc]
  - install seq           0.3.1  [required by fmt, tyxml]
  - install stdlib-shims  0.3.0  [required by fmt]
  - install topkg         1.0.4  [required by fmt, astring, fpath]
  - install tyxml         4.6.0  [required by odoc]
  - install uutf          1.0.3  [required by tyxml]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bytes.base
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved astring.0.8.3  (cached)
-> retrieved cmdliner.1.0.4  (cached)
-> retrieved cppo.1.7.0  (cached)
-> retrieved crunch.2.2.0  (cached)
-> installed camlp-streams.5.0.1
-> retrieved fmt.0.8.6  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved re.1.11.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved seq.0.3.1  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.0.4  (cached)
-> retrieved tyxml.4.6.0  (cached)
-> retrieved uutf.1.0.3  (cached)
-> installed seq.0.3.1
-> installed result.1.5
-> retrieved odoc.2.4.2, odoc-parser.2.4.2  (cached)
-> installed cppo.1.7.0
-> installed stdlib-shims.0.3.0
-> installed re.1.11.0
-> installed cmdliner.1.0.4
-> installed crunch.2.2.0
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.4
-> installed fmt.0.8.6
-> installed uutf.1.0.3
-> installed astring.0.8.3
-> installed fpath.0.7.3
-> installed odoc-parser.2.4.2
-> installed tyxml.4.6.0
-> installed odoc.2.4.2
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-05 22:12.53 ---> saved as "e1f1562c3eb3b419b20c4a1b4acfd55cf94a52e3436840845be1c4988dc53faa"

/src: (copy (src .) (dst /src/))
2024-09-05 22:12.54 ---> saved as "a7e733d3649b9ee4995faf6980a786ce0b432ae3674a27c24fcbe827e77db487"

/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
(cd _build/default/_doc/_html && /home/opam/.opam/4.04/bin/odoc link -I ../../.zarith.objs/byte -I ../../.zarith_top.objs/byte -I ../_odoc/pkg/zarith -o ../_odocls/zarith/z.odocl ../../.zarith.objs/byte/z.odoc)
File "z.mli", line 715, characters 4-13:
Warning: Failed to resolve reference unresolvedroot(Random) Couldn't find "Random"
File "z.mli", line 712, characters 36-45:
Warning: Failed to resolve reference unresolvedroot(Random) Couldn't find "Random"
2024-09-05 22:12.55 ---> saved as "2a913f30112cedd26ed0b65ee5cabc06b2297a0450c46f7a61a97bde4bbbad70"
Job succeeded
2024-09-05 22:12.55: Job succeeded