Organisationshannesmduration6abe42 (main)(lint-doc)

(lint-doc)

Logs

Show full logs
2024-09-05 12:38.09: New job: test hannesm/duration https://github.com/hannesm/duration.git#refs/heads/main (6abe42ebe585a96f79eb91045911b9a73c1db19e) (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/hannesm/duration.git" -b "main" && cd "duration" && git reset --hard 6abe42eb
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 duration.opam ./
RUN opam pin add -yn duration.dev './'
ENV DEPS="alcotest.1.1.0 astring.0.8.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.0.4 dune.3.16.0 fmt.0.8.6 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 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 re.1.11.0 seq.0.3.1 stdlib-shims.0.3.0 topkg.1.0.4 uuidm.0.9.7"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y duration.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:38.09: Using cache hint "hannesm/duration-ocaml/opam:debian-12-ocaml-4.04@sha256:414439ae47242f858f41f48aba17f6eee48c6757311e6e46bade5c51d88913c3-debian-12-4.04_opam-2.2-00e68f4027ac273f4e4fde6ba661ccc7"
2024-09-05 12:38.09: 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 duration.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn duration.dev './'"))
 (env DEPS "alcotest.1.1.0 astring.0.8.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.0.4 dune.3.16.0 fmt.0.8.6 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 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 re.1.11.0 seq.0.3.1 stdlib-shims.0.3.0 topkg.1.0.4 uuidm.0.9.7")
 (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 duration.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:38.09: Waiting for resource in pool OCluster
2024-09-05 22:30.18: Waiting for worker…
2024-09-05 22:34.51: Got resource from pool OCluster
Building on x86-bm-c14.sw.ocaml.org
All commits already cached
HEAD is now at 6abe42e changes for 0.2.1

(from ocaml/opam:debian-12-ocaml-4.04@sha256:414439ae47242f858f41f48aba17f6eee48c6757311e6e46bade5c51d88913c3)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.04@sha256:414439ae47242f858f41f48aba17f6eee48c6757311e6e46bade5c51d88913c3' locally
docker.io/ocaml/opam@sha256:414439ae47242f858f41f48aba17f6eee48c6757311e6e46bade5c51d88913c3: Pulling from ocaml/opam
0a150e18cfc6: Pulling fs layer
0a150e18cfc6: Verifying Checksum
0a150e18cfc6: Download complete
0a150e18cfc6: Pull complete
Digest: sha256:414439ae47242f858f41f48aba17f6eee48c6757311e6e46bade5c51d88913c3
Status: Downloaded newer image for ocaml/opam@sha256:414439ae47242f858f41f48aba17f6eee48c6757311e6e46bade5c51d88913c3
2024-09-05 22:34.51 ---> 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:34.51 ---> 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
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-09-05 22:34.51 ---> 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:34.51 ---> using "1c918e403a0df65aefa01c597409d02e7988c93196510679706b6a0a145dab39" from cache

/src: (workdir /src)

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

/src: (copy (src duration.opam) (dst ./))
2024-09-05 22:34.51 ---> using "d27103ce0bfe72bb05be73a5108d4a6213d873ff2a5421c7e041c4028750c049" from cache

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

/src: (env DEPS "alcotest.1.1.0 astring.0.8.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.0.4 dune.3.16.0 fmt.0.8.6 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 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 re.1.11.0 seq.0.3.1 stdlib-shims.0.3.0 topkg.1.0.4 uuidm.0.9.7")

/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 duration.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 3s (2846 kB/s)
- Reading package lists...
- 

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[duration.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:35.19 ---> saved as "6a94656f14014e17a8d0470a0ab1ace84c5cb4c923df0cd5634545c9ba44ba5c"

/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 14 packages
  - install alcotest            1.1.0
  - install astring             0.8.3
  - install base-bytes          base
  - install cmdliner            1.0.4
  - install dune                3.16.0
  - install fmt                 0.8.6
  - install ocamlbuild          0.14.3
  - install ocamlfind           1.9.6
  - install ocamlfind-secondary 1.9.6
  - install re                  1.11.0
  - install seq                 0.3.1
  - install stdlib-shims        0.3.0
  - install topkg               1.0.4
  - install uuidm               0.9.7

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.3  (cached)
-> retrieved cmdliner.1.0.4  (cached)
-> retrieved fmt.0.8.6  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved alcotest.1.1.0  (cached)
-> retrieved ocamlfind.1.9.6, ocamlfind-secondary.1.9.6  (cached)
-> retrieved re.1.11.0  (cached)
-> retrieved seq.0.3.1  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved uuidm.0.9.7  (cached)
-> retrieved topkg.1.0.4  (cached)
-> retrieved dune.3.16.0  (cached)
-> installed cmdliner.1.0.4
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlbuild.0.14.3
-> installed ocamlfind-secondary.1.9.6
-> installed topkg.1.0.4
-> installed uuidm.0.9.7
-> installed astring.0.8.3
-> installed dune.3.16.0
-> installed seq.0.3.1
-> installed stdlib-shims.0.3.0
-> installed re.1.11.0
-> installed fmt.0.8.6
-> installed alcotest.1.1.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-05 22:36.25 ---> saved as "fa3d4d7b1886dc6070352d3b657d1a7a98aca6e300b71fa9ae2ede13470e5645"

/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 9 packages
  - install camlp-streams 5.0.1 [required by odoc-parser]
  - install cppo          1.7.0 [required by odoc]
  - install crunch        2.2.0 [required by odoc]
  - install fpath         0.7.3 [required by odoc]
  - install odoc          2.4.2
  - install odoc-parser   2.4.2 [required by odoc]
  - install result        1.5   [required by odoc]
  - 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 cppo.1.7.0  (cached)
-> retrieved crunch.2.2.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved result.1.5  (cached)
-> installed camlp-streams.5.0.1
-> retrieved tyxml.4.6.0  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved odoc.2.4.2, odoc-parser.2.4.2  (cached)
-> installed cppo.1.7.0
-> installed crunch.2.2.0
-> installed fpath.0.7.3
-> installed result.1.5
-> installed uutf.1.0.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:37.08 ---> saved as "fdc85e5e3be88d70359d1883a7965ad6452007c0c5efd17edeac0d0853bea4ea"

/src: (copy (src .) (dst /src/))
2024-09-05 22:37.09 ---> saved as "919c075cc158c37d73f32f22e4db0f457f7e0ae9edc54179fc5a57b19bcbdff3"

/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
2024-09-05 22:37.09 ---> saved as "1a50ec2ec02c4c6cae43cac5892008be39b5ba689ad9ac87d4599356d40d68d1"
Job succeeded
2024-09-05 22:37.10: Job succeeded