Organisationsmiragemirage-clockf45757 (main)(lint-doc)

(lint-doc)

Link Copied
Code Copied

Logs

2025-10-15 10:13.01: New job: test mirage/mirage-clock https://github.com/mirage/mirage-clock.git#refs/heads/main (f457572bfedb9586c8bf9eaa9ece7e53677856e3) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-13-ocaml-4.08@sha256:d8500c15c97ddcfabe40e74b26beae4dbdf65385f70ca81d97f44f1a6556480f
Opam project lint documentation


To reproduce locally:


git clone --recursive "https://github.com/mirage/mirage-clock.git" -b "main" && cd "mirage-clock" && git reset --hard f457572b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.08@sha256:d8500c15c97ddcfabe40e74b26beae4dbdf65385f70ca81d97f44f1a6556480f
# debian-13-4.08_opam-2.4
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 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mirage-clock.opam mirage-clock-unix.opam mirage-clock-solo5.opam ./
RUN opam pin add -yn mirage-clock.dev './' && \
opam pin add -yn mirage-clock-unix.dev './' && \
opam pin add -yn mirage-clock-solo5.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y mirage-clock.dev mirage-clock-unix.dev mirage-clock-solo5.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-10-15 10:13.01: Using cache hint "mirage/mirage-clock-ocaml/opam:debian-13-ocaml-4.08@sha256:d8500c15c97ddcfabe40e74b26beae4dbdf65385f70ca81d97f44f1a6556480f-debian-13-4.08_opam-2.4-bed39f3c647bfa2ddbae52b889405277"
2025-10-15 10:13.01: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.08@sha256:d8500c15c97ddcfabe40e74b26beae4dbdf65385f70ca81d97f44f1a6556480f)
(comment debian-13-4.08_opam-2.4)
(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 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src mirage-clock.opam mirage-clock-unix.opam mirage-clock-solo5.opam)
(dst ./))
(run (network host)
(shell  "opam pin add -yn mirage-clock.dev './' && \
\nopam pin add -yn mirage-clock-unix.dev './' && \
\nopam pin add -yn mirage-clock-solo5.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1")
(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 mirage-clock.dev mirage-clock-unix.dev mirage-clock-solo5.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-10-15 10:13.01: Waiting for resource in pool OCluster
2025-10-15 10:45.29: Waiting for worker…
2025-10-15 10:47.48: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at f457572 Merge pull request #53 from samoht/CHANGES-v4.2


(from ocaml/opam:debian-13-ocaml-4.08@sha256:d8500c15c97ddcfabe40e74b26beae4dbdf65385f70ca81d97f44f1a6556480f)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.08@sha256:d8500c15c97ddcfabe40e74b26beae4dbdf65385f70ca81d97f44f1a6556480f' locally
docker.io/ocaml/opam@sha256:d8500c15c97ddcfabe40e74b26beae4dbdf65385f70ca81d97f44f1a6556480f: Pulling from ocaml/opam
Digest: sha256:d8500c15c97ddcfabe40e74b26beae4dbdf65385f70ca81d97f44f1a6556480f
Status: Downloaded newer image for ocaml/opam@sha256:d8500c15c97ddcfabe40e74b26beae4dbdf65385f70ca81d97f44f1a6556480f
2025-10-15 10:47.49 ---> using "8a3fb29dc134ae8cb5011e033937cdf0919031452506a2a7eeab7ea43cc7fe2e" from cache


/: (comment debian-13-4.08_opam-2.4)


/: (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-10-15 10:47.49 ---> using "b550f3d0d26a25fe987e50432a4e26b17faebaf565c1d08213cbf514e32d68d8" 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
2025-10-15 10:47.49 ---> using "f52d4afc429a4f1160de006ee2bf56d9db6edfe2193e1b35b1483fe8388ad904" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-84-generic
The OCaml toplevel, version 4.08.1
2.2.1
2025-10-15 10:47.49 ---> using "67092db80f8aaec4556d5050ded5fcf568c402788465452631994ebaa90d3a20" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-10-15 10:47.49 ---> using "1f1ed6921a14bad75124852ac9dd6d36824b4867b5b5079da33f14b4e0c4d54e" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && git log --no-decorate -n1 --oneline && opam update -u"))
109398e2fd Merge pull request #28437 from maiste/release-dune-3.20.2


<><> 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
2025-10-15 10:47.49 ---> using "3258de720338b5546cabdf53523b77c7ae107d04d616e7db80c0e0c4d9692334" from cache


/src: (copy (src mirage-clock.opam mirage-clock-unix.opam mirage-clock-solo5.opam)
(dst ./))
2025-10-15 10:47.49 ---> saved as "461c8a76e1884af638b083afbbd623633cb89c64cfd4a476fe55af086a753914"


/src: (run (network host)
(shell  "opam pin add -yn mirage-clock.dev './' && \
\nopam pin add -yn mirage-clock-unix.dev './' && \
\nopam pin add -yn mirage-clock-solo5.dev './'"))
[mirage-clock.dev] synchronised (file:///src)
mirage-clock is now pinned to file:///src (version dev)
[mirage-clock-unix.dev] synchronised (file:///src)
mirage-clock-unix is now pinned to file:///src (version dev)
Package mirage-clock-solo5 does not exist, create as a NEW package? [y/n] y
[mirage-clock-solo5.dev] synchronised (file:///src)
mirage-clock-solo5 is now pinned to file:///src (version dev)
2025-10-15 10:47.52 ---> saved as "e2c22b35f272904046d818ae736bb177e4a6b6d90e58d48010529efdd78c2879"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-15 10:47.52 ---> saved as "21ca6c0aa3f051290a13f6ffce3b8ccaa4c33d19b2956615a1fdabff0fc7a901"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1")


/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 mirage-clock.dev mirage-clock-unix.dev mirage-clock-solo5.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 [53.8 kB]
- Fetched 145 kB in 0s (1956 kB/s)
- Reading package lists...


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-clock.dev] synchronised (file:///src)
[mirage-clock-solo5.dev] synchronised (file:///src)
[mirage-clock-unix.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).
2025-10-15 10:47.59 ---> saved as "b0d6cbb55f5e0a1e98e00d1987d6ba914e45416be2f7bf7ba426e4a9f7190307"


/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 3 packages
- install csexp             1.5.2
- install dune              3.20.2
- install dune-configurator 3.20.2


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed dune-configurator.3.20.2
Done.
# Run eval $(opam env) to update the current shell environment
2025-10-15 10:48.25 ---> saved as "131372edf37eb8c554a9c2507ac9d2b4085a45fe7e12cc9450ad67096a9e17bb"


/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.20.2).
The following actions will be performed:
=== install 17 packages
- install astring       0.8.5  [required by odoc]
- install camlp-streams 5.0.1  [required by odoc-parser]
- install cmdliner      1.3.0  [required by odoc]
- install cppo          1.8.0  [required by odoc]
- install crunch        4.0.0  [required by odoc]
- install fmt           0.11.0 [required by odoc]
- install fpath         0.7.3  [required by odoc]
- install ocamlbuild    0.16.1 [required by fmt, astring, fpath]
- install ocamlfind     1.9.8  [required by fmt, astring, fpath]
- install odoc          3.1.0
- install odoc-parser   3.1.0  [required by odoc]
- install ptime         1.2.0  [required by crunch]
- install re            1.11.0 [required by tyxml]
- install seq           base   [required by tyxml]
- install topkg         1.1.0  [required by fmt, astring, fpath]
- install tyxml         4.6.0  [required by odoc]
- install uutf          1.0.4  [required by tyxml]


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved crunch.4.0.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> installed camlp-streams.5.0.1
-> retrieved ptime.1.2.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved re.1.11.0  (cached)
-> retrieved topkg.1.1.0  (cached)
-> retrieved odoc.3.1.0, odoc-parser.3.1.0  (cached)
-> installed cppo.1.8.0
-> retrieved tyxml.4.6.0  (cached)
-> installed re.1.11.0
-> retrieved uutf.1.0.4  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed crunch.4.0.0
-> installed fpath.0.7.3
-> 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
2025-10-15 10:48.46 ---> saved as "51714f714e3ac275678e7107a6080a353ddadb32cfecc43767544fded1f060e3"


/src: (copy (src .) (dst /src/))
2025-10-15 10:48.46 ---> saved as "7a0aac9beb1c472135d6639d9f11722bd43fe05a231cc0374fb460268cd9d427"


/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
2025-10-15 10:48.46 ---> saved as "3332b7bebf06fbe3a24859892fe236dda8d56dbcdcd3ed32c116c95d0da4efa8"
Job succeeded
2025-10-15 10:48.46: Job succeeded