Organisationstmcgilchristounit77f01c (master)(lint-doc)

(lint-doc)

Logs

Show full logs
2024-09-05 12:36.27: New job: test tmcgilchrist/ounit https://github.com/tmcgilchrist/ounit.git#refs/heads/master (77f01c482bd618eabde7c5065beae2d68db88723) (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/tmcgilchrist/ounit.git" -b "master" && cd "ounit" && git reset --hard 77f01c48
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 ounit2.opam ounit2-lwt.opam ounit.opam ounit-lwt.opam ./
RUN opam pin add -yn ounit2.dev './' && \
    opam pin add -yn ounit2-lwt.dev './' && \
    opam pin add -yn ounit.dev './' && \
    opam pin add -yn ounit-lwt.dev './'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 cppo.1.7.0 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 host-arch-x86_64.1 host-system-other.1 lwt.5.5.0 mmap.1.2.0 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocaml-syntax-shims.1.0.0 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ocplib-endian.1.2 result.1.5 seq.0.3.1 stdlib-shims.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y ounit2.dev ounit2-lwt.dev ounit.dev ounit-lwt.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:36.27: Using cache hint "tmcgilchrist/ounit-ocaml/opam:debian-12-ocaml-4.04@sha256:414439ae47242f858f41f48aba17f6eee48c6757311e6e46bade5c51d88913c3-debian-12-4.04_opam-2.2-b23ed0f5c6dfc1488fe9f6e6558f50dc"
2024-09-05 12:36.27: 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 ounit2.opam ounit2-lwt.opam ounit.opam ounit-lwt.opam) (dst ./))
 (run (network host)
      (shell  "opam pin add -yn ounit2.dev './' && \
             \nopam pin add -yn ounit2-lwt.dev './' && \
             \nopam pin add -yn ounit.dev './' && \
             \nopam pin add -yn ounit-lwt.dev './'"))
 (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 cppo.1.7.0 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 host-arch-x86_64.1 host-system-other.1 lwt.5.5.0 mmap.1.2.0 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocaml-syntax-shims.1.0.0 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ocplib-endian.1.2 result.1.5 seq.0.3.1 stdlib-shims.0.3.0")
 (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 ounit2.dev ounit2-lwt.dev ounit.dev ounit-lwt.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:36.27: Waiting for resource in pool OCluster
2024-09-05 22:15.50: Waiting for worker…
2024-09-05 22:21.54: Got resource from pool OCluster
Building on x86-bm-c20.sw.ocaml.org
All commits already cached
HEAD is now at 77f01c4 Update changelog for release.

(from ocaml/opam:debian-12-ocaml-4.04@sha256:414439ae47242f858f41f48aba17f6eee48c6757311e6e46bade5c51d88913c3)
2024-09-05 22:21.54 ---> 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:21.54 ---> 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:21.54 ---> 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:21.54 ---> using "1c918e403a0df65aefa01c597409d02e7988c93196510679706b6a0a145dab39" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2024-09-05 22:21.54 ---> 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:21.54 ---> using "3fda82404cccf5eb23228c3c0ad267c2e60e5a8708ec35e72f445bf639ce4b4c" from cache

/src: (copy (src ounit2.opam ounit2-lwt.opam ounit.opam ounit-lwt.opam)
            (dst ./))
2024-09-05 22:21.54 ---> using "c1a572aee71ba8a93951b18320046f583fe193c50939f7adf32c223f40842de0" from cache

/src: (run (network host)
           (shell  "opam pin add -yn ounit2.dev './' && \
                  \nopam pin add -yn ounit2-lwt.dev './' && \
                  \nopam pin add -yn ounit.dev './' && \
                  \nopam pin add -yn ounit-lwt.dev './'"))
[ounit2.dev] synchronised (file:///src)
ounit2 is now pinned to file:///src (version dev)
[ounit2-lwt.dev] synchronised (file:///src)
ounit2-lwt is now pinned to file:///src (version dev)
[ounit.dev] synchronised (file:///src)
ounit is now pinned to file:///src (version dev)
[ounit-lwt.dev] synchronised (file:///src)
ounit-lwt is now pinned to file:///src (version dev)
2024-09-05 22:21.54 ---> using "4dba65ba9e851a5e487a20428d0b9dde9d319ea82e54f162a320b674ace4d5ca" from cache

/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 cppo.1.7.0 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 host-arch-x86_64.1 host-system-other.1 lwt.5.5.0 mmap.1.2.0 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocaml-syntax-shims.1.0.0 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ocplib-endian.1.2 result.1.5 seq.0.3.1 stdlib-shims.0.3.0")

/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 ounit2.dev ounit2-lwt.dev ounit.dev ounit-lwt.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 2s (5170 kB/s)
- Reading package lists...
- 

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ounit.dev] synchronised (no changes)
[ounit-lwt.dev] synchronised (no changes)
[ounit2.dev] synchronised (no changes)
[ounit2-lwt.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).
2024-09-05 22:22.14 ---> saved as "d90bd62b7ec4a3bf1e7d682e8eb82e4a5a9d1cb9fd1a50208f4f88d995eeb182"

/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 15 packages
  - install base-bytes          base
  - install bigarray-compat     1.1.0
  - install cppo                1.7.0
  - install csexp               1.5.2
  - install dune                3.16.0
  - install dune-configurator   3.16.0
  - install lwt                 5.5.0
  - install mmap                1.2.0
  - install ocaml-syntax-shims  1.0.0
  - install ocamlfind           1.9.6
  - install ocamlfind-secondary 1.9.6
  - install ocplib-endian       1.2
  - install result              1.5
  - install seq                 0.3.1
  - install stdlib-shims        0.3.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved cppo.1.7.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved mmap.1.2.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved lwt.5.5.0  (cached)
-> retrieved ocamlfind.1.9.6, ocamlfind-secondary.1.9.6  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved result.1.5  (cached)
-> retrieved seq.0.3.1  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved dune.3.16.0, dune-configurator.3.16.0  (cached)
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlfind-secondary.1.9.6
-> installed dune.3.16.0
-> installed seq.0.3.1
-> installed csexp.1.5.2
-> installed bigarray-compat.1.1.0
-> installed cppo.1.7.0
-> installed ocaml-syntax-shims.1.0.0
-> installed result.1.5
-> installed stdlib-shims.0.3.0
-> installed mmap.1.2.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.16.0
-> installed lwt.5.5.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-05 22:23.16 ---> saved as "af23f2cb4adf5b576d2ad74ef39d6d040961bebc29d6e818cf7d613d0311a6c6"

/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 13 packages
  - install astring       0.8.3  [required by odoc]
  - install camlp-streams 5.0.1  [required by odoc-parser]
  - install cmdliner      1.0.4  [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 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 <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved astring.0.8.3  (cached)
-> retrieved cmdliner.1.0.4  (cached)
-> retrieved crunch.2.2.0  (cached)
-> retrieved fmt.0.8.6  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved re.1.11.0  (cached)
-> installed camlp-streams.5.0.1
-> retrieved topkg.1.0.4  (cached)
-> retrieved tyxml.4.6.0  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved odoc.2.4.2, odoc-parser.2.4.2  (cached)
-> 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:23.56 ---> saved as "8890c0675a0918937990b4a22cd7ee7d4013780a09acede2af9e0be8aca094df"

/src: (copy (src .) (dst /src/))
2024-09-05 22:23.56 ---> saved as "15800445cac1402bf208ba4420b18d336e695bfd97e42a9ad0b200a43ea6eaf3"

/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
(cd _build/default/_doc/_odoc/pkg/ounit2 && /home/opam/.opam/4.04/bin/odoc compile --pkg ounit2 -o page-index.odoc ../../../../src/lib/ounit2/index.mld)
File "../../../../src/lib/ounit2/index.mld", line 315, characters 0-27:
Warning: Tags are not allowed in pages.
File "../../../../src/lib/ounit2/index.mld", line 316, characters 0-23:
Warning: Tags are not allowed in pages.
(cd _build/default/_doc/_html && /home/opam/.opam/4.04/bin/odoc link -I ../_odoc/pkg/ounit2 -I ../../src/lib/ounit2/.oUnit.objs/byte -I ../../src/lib/ounit2/advanced/.oUnitAdvanced.objs/byte -I ../../src/lib/ounit2/threads/.oUnitThreads.objs/byte -o ../_odocls/ounit2/oUnit.odocl ../../src/lib/ounit2/.oUnit.objs/byte/oUnit.odoc)
File "src/lib/ounit2/oUnit.mli", line 110, characters 4-30:
Warning: Failed to resolve reference unresolvedroot(Failure) Couldn't find "Failure"
File "src/lib/ounit2/oUnit.mli", line 96, characters 4-35:
Warning: Failed to resolve reference unresolvedroot(Failure) Couldn't find "Failure"
File "src/lib/ounit2/oUnit.mli", line 63, characters 4-35:
Warning: Failed to resolve reference unresolvedroot(Failure) Couldn't find "Failure"
File "src/lib/ounit2/oUnit.mli", line 57, characters 4-38:
Warning: Failed to resolve reference unresolvedroot(Failure) Couldn't find "Failure"
File "src/lib/ounit2/oUnit.mli", line 52, characters 4-35:
Warning: Failed to resolve reference unresolvedroot(Failure) Couldn't find "Failure"
File "src/lib/ounit2/oUnit.mli", line 46, characters 4-35:
Warning: Failed to resolve reference unresolvedroot(Failure) Couldn't find "Failure"
(cd _build/default/_doc/_html && /home/opam/.opam/4.04/bin/odoc link -I ../_odoc/pkg/ounit2 -I ../../src/lib/ounit2/.oUnit.objs/byte -I ../../src/lib/ounit2/advanced/.oUnitAdvanced.objs/byte -I ../../src/lib/ounit2/threads/.oUnitThreads.objs/byte -o ../_odocls/ounit2/oUnit2.odocl ../../src/lib/ounit2/.oUnit.objs/byte/oUnit2.odoc)
File "src/lib/ounit2/oUnit2.mli", line 120, characters 4-30:
Warning: Failed to resolve reference unresolvedroot(Failure) Couldn't find "Failure"
File "src/lib/ounit2/oUnit2.mli", line 107, characters 4-35:
Warning: Failed to resolve reference unresolvedroot(Failure) Couldn't find "Failure"
File "src/lib/ounit2/oUnit2.mli", line 71, characters 4-35:
Warning: Failed to resolve reference unresolvedroot(Failure) Couldn't find "Failure"
File "src/lib/ounit2/oUnit2.mli", line 65, characters 4-35:
Warning: Failed to resolve reference unresolvedroot(Failure) Couldn't find "Failure"
File "src/lib/ounit2/oUnit2.mli", line 59, characters 4-35:
Warning: Failed to resolve reference unresolvedroot(Failure) Couldn't find "Failure"
2024-09-05 22:23.57 ---> saved as "fdd4ff7b89cb5407b30a4cd86080eea5badc84c89395588a85ccbe72ad64d6b8"
Job succeeded
2024-09-05 22:23.57: Job succeeded