Organisationshannesmduration7bf34d (main)(lint-doc)

(lint-doc)

Logs

Show full logs
2026-04-22 14:13.06: New job: test hannesm/duration https://github.com/hannesm/duration.git#refs/heads/main (7bf34d3c03586b9a8680a617f2b3a30f16513710) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-13-ocaml-4.08@sha256:3cbf0e68d3a718b80b9a2ab282b68bb62badcbc072fa014a5564516c5f70e74c
Opam project lint documentation

To reproduce locally:

git clone --recursive "https://github.com/hannesm/duration.git" -b "main" && cd "duration" && git reset --hard 7bf34d3c
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.08@sha256:3cbf0e68d3a718b80b9a2ab282b68bb62badcbc072fa014a5564516c5f70e74c
# debian-13-4.08_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 036883c5402b41e0d35f6b200245cc7c3a302395 || git fetch origin master) && git reset -q --hard 036883c5402b41e0d35f6b200245cc7c3a302395 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 duration.opam ./
RUN opam pin add -yn duration.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.2.1.1 dune.3.22.2 fmt.0.11.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.11.0 seq.base stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4"
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

2026-04-22 14:13.06: Using cache hint "hannesm/duration-ocaml/opam:debian-13-ocaml-4.08@sha256:3cbf0e68d3a718b80b9a2ab282b68bb62badcbc072fa014a5564516c5f70e74c-debian-13-4.08_opam-2.5-3493e7050f80ae928fb8882cc9c08b90"
2026-04-22 14:13.06: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.08@sha256:3cbf0e68d3a718b80b9a2ab282b68bb62badcbc072fa014a5564516c5f70e74c)
 (comment debian-13-4.08_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 036883c5402b41e0d35f6b200245cc7c3a302395 || git fetch origin master) && git reset -q --hard 036883c5402b41e0d35f6b200245cc7c3a302395 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src duration.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn duration.dev './'"))
 (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.2.1.1 dune.3.22.2 fmt.0.11.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.11.0 seq.base stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4")
 (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)"))
)

2026-04-22 14:13.06: Waiting for resource in pool OCluster
2026-04-22 15:51.21: Waiting for worker…
2026-04-22 15:53.43: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 7bf34d3 changes for 0.3.1

(from ocaml/opam:debian-13-ocaml-4.08@sha256:3cbf0e68d3a718b80b9a2ab282b68bb62badcbc072fa014a5564516c5f70e74c)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.08@sha256:3cbf0e68d3a718b80b9a2ab282b68bb62badcbc072fa014a5564516c5f70e74c' locally
docker.io/ocaml/opam@sha256:3cbf0e68d3a718b80b9a2ab282b68bb62badcbc072fa014a5564516c5f70e74c: Pulling from ocaml/opam
a7730063fcfe: Already exists
1a27fd2181de: Pulling fs layer
c29591c91388: Pulling fs layer
356a64daa753: Pulling fs layer
ac02f8f2062b: Pulling fs layer
aaa2f390e4c8: Pulling fs layer
b668811757f6: Pulling fs layer
32fd4e1a774f: Pulling fs layer
b1d486fb8fdf: Pulling fs layer
cf8a2024f299: Pulling fs layer
356a64daa753: Waiting
8c4a5dac67c3: Pulling fs layer
6adfe24d7b40: Pulling fs layer
dccd6e3c0589: Pulling fs layer
2ee4bcb55cd4: Pulling fs layer
2dc3b58478d7: Pulling fs layer
1a27fd2181de: Waiting
daf15e5c44c6: Pulling fs layer
c29591c91388: Waiting
564e978a8088: Pulling fs layer
cf8a2024f299: Waiting
b668811757f6: Waiting
ac02f8f2062b: Waiting
32fd4e1a774f: Waiting
aaa2f390e4c8: Waiting
25a652a8c456: Pulling fs layer
2ee4bcb55cd4: Waiting
b1d486fb8fdf: Waiting
8c4a5dac67c3: Waiting
b3bfea7bff3f: Pulling fs layer
dccd6e3c0589: Waiting
6adfe24d7b40: Waiting
a00f2937f570: Pulling fs layer
564e978a8088: Waiting
2dc3b58478d7: Waiting
25a652a8c456: Waiting
daf15e5c44c6: Waiting
78bd1737ebff: Pulling fs layer
b3bfea7bff3f: Waiting
4f4fb700ef54: Pulling fs layer
a00f2937f570: Waiting
78bd1737ebff: Waiting
4291a055edd7: Pulling fs layer
4f4fb700ef54: Waiting
3c2b2836d59a: Pulling fs layer
7b3e96544a52: Pulling fs layer
4291a055edd7: Waiting
c72503effb14: Pulling fs layer
bca08df11a10: Pulling fs layer
2ab0829b2daf: Pulling fs layer
1d246d4da211: Pulling fs layer
a09cb4870027: Pulling fs layer
2ce07b4fe7c0: Pulling fs layer
6b96f28d505e: Pulling fs layer
bca08df11a10: Waiting
b6ad36bba9bf: Pulling fs layer
3c2b2836d59a: Waiting
1d246d4da211: Waiting
56d62791a0f9: Pulling fs layer
4d60780055d1: Pulling fs layer
43f57a7c44cb: Pulling fs layer
f21057dc4e85: Pulling fs layer
2ab0829b2daf: Waiting
e0d2ca1300ed: Pulling fs layer
b6ad36bba9bf: Waiting
7b3e96544a52: Waiting
6b96f28d505e: Waiting
9da2f7598f8e: Pulling fs layer
2ce07b4fe7c0: Waiting
a09cb4870027: Waiting
4d60780055d1: Waiting
c72503effb14: Waiting
cb569bb28593: Pulling fs layer
f21057dc4e85: Waiting
e0d2ca1300ed: Waiting
43f57a7c44cb: Waiting
b32c9abef0bb: Pulling fs layer
9da2f7598f8e: Waiting
56d62791a0f9: Waiting
cb569bb28593: Waiting
dd7da3e42740: Pulling fs layer
06223904e4d3: Pulling fs layer
b32c9abef0bb: Waiting
b18a38618cf8: Pulling fs layer
dd7da3e42740: Waiting
06223904e4d3: Waiting
b18a38618cf8: Waiting
1a27fd2181de: Download complete
1a27fd2181de: Pull complete
c29591c91388: Download complete
c29591c91388: Pull complete
356a64daa753: Download complete
356a64daa753: Pull complete
ac02f8f2062b: Verifying Checksum
ac02f8f2062b: Download complete
ac02f8f2062b: Pull complete
aaa2f390e4c8: Verifying Checksum
aaa2f390e4c8: Download complete
b668811757f6: Verifying Checksum
b668811757f6: Download complete
32fd4e1a774f: Verifying Checksum
32fd4e1a774f: Download complete
b1d486fb8fdf: Download complete
cf8a2024f299: Verifying Checksum
cf8a2024f299: Download complete
8c4a5dac67c3: Verifying Checksum
8c4a5dac67c3: Download complete
6adfe24d7b40: Verifying Checksum
6adfe24d7b40: Download complete
dccd6e3c0589: Download complete
2ee4bcb55cd4: Verifying Checksum
2ee4bcb55cd4: Download complete
daf15e5c44c6: Verifying Checksum
daf15e5c44c6: Download complete
564e978a8088: Verifying Checksum
564e978a8088: Download complete
25a652a8c456: Download complete
aaa2f390e4c8: Pull complete
b668811757f6: Pull complete
32fd4e1a774f: Pull complete
b1d486fb8fdf: Pull complete
a00f2937f570: Verifying Checksum
a00f2937f570: Download complete
cf8a2024f299: Pull complete
78bd1737ebff: Download complete
8c4a5dac67c3: Pull complete
6adfe24d7b40: Pull complete
4f4fb700ef54: Download complete
dccd6e3c0589: Pull complete
4291a055edd7: Download complete
2ee4bcb55cd4: Pull complete
2dc3b58478d7: Pull complete
daf15e5c44c6: Pull complete
3c2b2836d59a: Download complete
564e978a8088: Pull complete
7b3e96544a52: Download complete
c72503effb14: Download complete
25a652a8c456: Pull complete
b3bfea7bff3f: Pull complete
a00f2937f570: Pull complete
78bd1737ebff: Pull complete
bca08df11a10: Download complete
4f4fb700ef54: Pull complete
4291a055edd7: Pull complete
3c2b2836d59a: Pull complete
7b3e96544a52: Pull complete
c72503effb14: Pull complete
bca08df11a10: Pull complete
2ab0829b2daf: Download complete
2ab0829b2daf: Pull complete
1d246d4da211: Verifying Checksum
1d246d4da211: Download complete
1d246d4da211: Pull complete
a09cb4870027: Download complete
a09cb4870027: Pull complete
2ce07b4fe7c0: Download complete
2ce07b4fe7c0: Pull complete
6b96f28d505e: Verifying Checksum
6b96f28d505e: Download complete
6b96f28d505e: Pull complete
b6ad36bba9bf: Download complete
b6ad36bba9bf: Pull complete
56d62791a0f9: Download complete
56d62791a0f9: Pull complete
43f57a7c44cb: Download complete
e0d2ca1300ed: Download complete
9da2f7598f8e: Download complete
cb569bb28593: Verifying Checksum
cb569bb28593: Download complete
4d60780055d1: Download complete
4d60780055d1: Pull complete
43f57a7c44cb: Pull complete
f21057dc4e85: Download complete
f21057dc4e85: Pull complete
e0d2ca1300ed: Pull complete
9da2f7598f8e: Pull complete
cb569bb28593: Pull complete
b32c9abef0bb: Verifying Checksum
b32c9abef0bb: Download complete
dd7da3e42740: Verifying Checksum
dd7da3e42740: Download complete
06223904e4d3: Download complete
b18a38618cf8: Verifying Checksum
b18a38618cf8: Download complete
b32c9abef0bb: Pull complete
dd7da3e42740: Pull complete
06223904e4d3: Pull complete
b18a38618cf8: Pull complete
Digest: sha256:3cbf0e68d3a718b80b9a2ab282b68bb62badcbc072fa014a5564516c5f70e74c
Status: Downloaded newer image for ocaml/opam@sha256:3cbf0e68d3a718b80b9a2ab282b68bb62badcbc072fa014a5564516c5f70e74c
2026-04-22 16:17.35 ---> using "228e5ba11f0bea08c69266bb98d12a75785691261b07b0808652a307a04e14b2" from cache

/: (comment debian-13-4.08_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-04-22 16:17.35 ---> using "6a21a8bd2da640bf47ce1211004d6a33a1bf41ff753d8b4bb4a6519520cd81af" 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 71 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=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-04-22 16:17.35 ---> using "939d97e6190dc36b4f6e94773a2843a2a1549b9ae9e8e3facca1460e0ed37772" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-106-generic
The OCaml toplevel, version 4.08.1
2.2.1
2026-04-22 16:17.35 ---> using "eb73d73c6df1334e93e0a643cf6d58799a32bc7b370f755d009a4545ba4f9865" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-04-22 16:17.35 ---> using "de7fe019fc62fa1e51827ff2ff64dbc0831c3afd9fed2034cda6486fa7e48a49" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 036883c5402b41e0d35f6b200245cc7c3a302395 || git fetch origin master) && git reset -q --hard 036883c5402b41e0d35f6b200245cc7c3a302395 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   42844088d7..80ba534fc6  master     -> origin/master
036883c540 Merge pull request #29788 from dbuenzli/b0-publish-cmdliner.2.1.1

<><> 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-04-22 16:17.35 ---> using "972734de40920460bce84babebc9192675dbbdfb45d80ca1b9fcfb90e8fa4019" from cache

/src: (copy (src duration.opam) (dst ./))
2026-04-22 16:17.36 ---> saved as "06e02b9ef04027d6387237303e32209464819a3ba8eb995909394d7cdd678f3d"

/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)
2026-04-22 16:17.37 ---> saved as "c4a78bf97f8d504b8ca348585f574ea4ceb4c70314c0d1cd318de828d9ac1b38"

/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-04-22 16:17.38 ---> saved as "bfccc5d54359b4989cae77676e4e30c660b5ca0536ecdcde5734d581db6cddea"

/src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.2.1.1 dune.3.22.2 fmt.0.11.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.11.0 seq.base stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4")

/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"
- 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 [127 kB]
- Fetched 217 kB in 0s (2236 kB/s)
- Reading package lists...

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[duration.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.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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).
2026-04-22 16:17.47 ---> saved as "d34683d8a11024fc1f5d3e2dd77e27b487be68d36a06c1e619aed4c3e9ccaf5a"

/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.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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 13 packages
  - install alcotest           1.9.1
  - install astring            0.8.5
  - install cmdliner           2.1.1
  - install dune               3.22.2
  - install fmt                0.11.0
  - install ocaml-syntax-shims 1.0.0
  - install ocamlbuild         0.16.1
  - install ocamlfind          1.9.8
  - install re                 1.11.0
  - install seq                base
  - install stdlib-shims       0.3.0
  - install topkg              1.1.1
  - install uutf               1.0.4

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved cmdliner.2.1.1  (cached)
-> retrieved alcotest.1.9.1  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved re.1.11.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved dune.3.22.2  (cached)
-> installed cmdliner.2.1.1
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed dune.3.22.2
-> installed stdlib-shims.0.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.11.0
-> installed alcotest.1.9.1
Done.
# Run eval $(opam env) to update the current shell environment
2026-04-22 16:18.18 ---> saved as "92207116c731dd42164cb4cff4418ab306a49e74590ccf584c555cc3d3b8798c"

/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.22.2).
The following actions will be performed:
=== install 8 packages
  - install camlp-streams 5.0.1 [required by odoc-parser]
  - install cppo          1.8.0 [required by odoc]
  - 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 cppo.1.8.0  (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 cppo.1.8.0
-> 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-04-22 16:18.34 ---> saved as "31ddda2fcbc3b6a969bff6154c51eccfe989ced93c9820bb3ef9075cec7128a5"

/src: (copy (src .) (dst /src/))
2026-04-22 16:18.35 ---> saved as "2783fb4b99c2afa7b7dd192e6e453373401f778bc3a49309980c7a1b98f5899b"

/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
2026-04-22 16:18.35 ---> saved as "c5528313f3dcae1f4762b9b42ed17c862bb9762ea2e97ad90a1a0efb80f73a71"
Job succeeded
2026-04-22 16:18.35: Job succeeded