2025-08-26 12:39.29: New job: test robur-coop/dnsvizor https://github.com/robur-coop/dnsvizor.git#refs/heads/main (3fc672ab7673d5c35d5b55890f8419bfc2f277c7) (linux-x86_64:(lint-doc))
Base: ocaml/opam:alpine-3.21-ocaml-4.14@sha256:acda27c7e9ff770f0e09f53d730162c8ebf0f21b0ddc57f73b4cd1cf27c4af6d
Opam project lint documentation
To reproduce locally:
git clone --recursive "https://github.com/robur-coop/dnsvizor.git" -b "main" && cd "dnsvizor" && git reset --hard 3fc672ab
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-4.14@sha256:acda27c7e9ff770f0e09f53d730162c8ebf0f21b0ddc57f73b4cd1cf27c4af6d
# alpine-3.21-4.14_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 4c972ba0fc24bcf3f84a30d19f8d725f7ce382a4 || git fetch origin master) && git reset -q --hard 4c972ba0fc24bcf3f84a30d19f8d725f7ce382a4 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 dnsvizor.opam ./
RUN opam pin add -yn dnsvizor.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.0 angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base bigstringaf.0.10.0 cmdliner.1.3.0 csexp.1.5.2 domain-name.0.4.1 dune.3.20.1 dune-configurator.3.20.1 fmt.0.11.0 ipaddr.5.6.1 logs.0.9.0 macaddr.5.6.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ohex.0.2.0 re.1.13.2 seq.base stdlib-shims.0.3.0 topkg.1.1.0 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y dnsvizor.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-08-26 12:39.29: Using cache hint "robur-coop/dnsvizor-ocaml/opam:alpine-3.21-ocaml-4.14@sha256:acda27c7e9ff770f0e09f53d730162c8ebf0f21b0ddc57f73b4cd1cf27c4af6d-alpine-3.21-4.14_opam-2.4-78526e63a0035618de2cd281cfcace9e"
2025-08-26 12:39.29: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:acda27c7e9ff770f0e09f53d730162c8ebf0f21b0ddc57f73b4cd1cf27c4af6d)
(comment alpine-3.21-4.14_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 4c972ba0fc24bcf3f84a30d19f8d725f7ce382a4 || git fetch origin master) && git reset -q --hard 4c972ba0fc24bcf3f84a30d19f8d725f7ce382a4 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src dnsvizor.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn dnsvizor.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.0 angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base bigstringaf.0.10.0 cmdliner.1.3.0 csexp.1.5.2 domain-name.0.4.1 dune.3.20.1 dune-configurator.3.20.1 fmt.0.11.0 ipaddr.5.6.1 logs.0.9.0 macaddr.5.6.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ohex.0.2.0 re.1.13.2 seq.base stdlib-shims.0.3.0 topkg.1.1.0 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 dnsvizor.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-08-26 12:39.29: Waiting for resource in pool OCluster
2025-08-26 12:39.29: Waiting for worker…
2025-08-26 12:39.38: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 3fc672a Merge pull request #59 from robur-coop/move-code-around
(from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:acda27c7e9ff770f0e09f53d730162c8ebf0f21b0ddc57f73b4cd1cf27c4af6d)
2025-08-26 12:39.39 ---> using "ea47f485ac5e3de6005676b139eead37b27580d3656da4cbc3286dafdec05f07" from cache
/: (comment alpine-3.21-4.14_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-08-26 12:39.39 ---> using "0a410955a2e3decb2c3c7c43536c0bf9017ce0d65727376b0091f906550447e5" 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] Initialised
2025-08-26 12:39.39 ---> using "c75d1552cf10fa116baa6062a0e580c244e157fe15416960b25666d40121d3d6" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-60-generic
The OCaml toplevel, version 4.14.2
2.2.1
2025-08-26 12:39.39 ---> using "6e6019031024ba74fba436abe33c519f223fc24c973f4b0550eef41adeb77209" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-08-26 12:39.39 ---> using "a38ff493994e0d70ad73f381e536174a68bf479d76a34bf99172c88d2df40008" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 4c972ba0fc24bcf3f84a30d19f8d725f7ce382a4 || git fetch origin master) && git reset -q --hard 4c972ba0fc24bcf3f84a30d19f8d725f7ce382a4 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
ee8b9193dd..4c972ba0fc master -> origin/master
4c972ba0fc Merge pull request #28397 from maiste/release-dune-3.20.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
2025-08-26 12:39.39 ---> using "51504e5dc00b682ac43f1710c8c21e9e9d81a0aa7f42017417fdd120e54fde27" from cache
/src: (copy (src dnsvizor.opam) (dst ./))
2025-08-26 12:39.39 ---> using "7edc1b134c00bf6bcf8a23a4c06addeb535b62be09f940ce1abcf8fc293ab51c" from cache
/src: (run (network host)
(shell "opam pin add -yn dnsvizor.dev './'"))
Package dnsvizor does not exist, create as a NEW package? [y/n] y
[dnsvizor.dev] synchronised (file:///src)
dnsvizor is now pinned to file:///src (version dev)
2025-08-26 12:39.39 ---> using "f2159d6ac104de905c0816f5db313b2448e52b1a46589fbc035169ef7666f40c" from cache
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-08-26 12:39.39 ---> using "1b6e543f6e071491291ce2c44622b9a1268b30e993c4c804c5901a6ecb6f9160" from cache
/src: (env DEPS "alcotest.1.9.0 angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base bigstringaf.0.10.0 cmdliner.1.3.0 csexp.1.5.2 domain-name.0.4.1 dune.3.20.1 dune-configurator.3.20.1 fmt.0.11.0 ipaddr.5.6.1 logs.0.9.0 macaddr.5.6.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ohex.0.2.0 re.1.13.2 seq.base stdlib-shims.0.3.0 topkg.1.1.0 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 dnsvizor.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.21.4-68-gadb9caac9c2 [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.4-66-gdc5b4aa05cf [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v3.23.0_alpha20250612-5093-gaf13efde27c [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.23.0_alpha20250612-5095-g4bf69a98659 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.23.0_alpha20250612-5086-gd5361cadeae [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 59394 distinct packages available
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[dnsvizor.dev] synchronised (file:///src)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-08-26 12:39.39 ---> using "b76472f9e2d59313d6413cdd2b2fd88ad2930e2e262cfee0f2ceb1296f8baf6f" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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 22 packages
- install alcotest 1.9.0
- install angstrom 0.16.1
- install astring 0.8.5
- install bigstringaf 0.10.0
- install cmdliner 1.3.0
- install csexp 1.5.2
- install domain-name 0.4.1
- install dune 3.20.1
- install dune-configurator 3.20.1
- install fmt 0.11.0
- install ipaddr 5.6.1
- install logs 0.9.0
- install macaddr 5.6.1
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild 0.16.1
- install ocamlfind 1.9.8
- install ohex 0.2.0
- install re 1.13.2
- install seq base
- install stdlib-shims 0.3.0
- install topkg 1.1.0
- install uutf 1.0.4
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved angstrom.0.16.1 (cached)
-> retrieved bigstringaf.0.10.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved alcotest.1.9.0 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved domain-name.0.4.1 (cached)
-> retrieved fmt.0.11.0 (cached)
-> retrieved ipaddr.5.6.1, macaddr.5.6.1 (cached)
-> retrieved logs.0.9.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ohex.0.2.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved re.1.13.2 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved uutf.1.0.4 (cached)
-> retrieved topkg.1.1.0 (cached)
-> retrieved dune.3.20.1, dune-configurator.3.20.1 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed topkg.1.1.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed logs.0.9.0
-> installed dune.3.20.1
-> installed ohex.0.2.0
-> installed csexp.1.5.2
-> installed domain-name.0.4.1
-> installed macaddr.5.6.1
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.13.2
-> installed stdlib-shims.0.3.0
-> installed ipaddr.5.6.1
-> installed alcotest.1.9.0
-> installed dune-configurator.3.20.1
-> installed bigstringaf.0.10.0
-> installed angstrom.0.16.1
Done.
# Run eval $(opam env) to update the current shell environment
2025-08-26 12:39.39 ---> using "7d9635f57dc21c8c4a9503912e46f7abd571eec79d6337e7aa06363d89b419a8" from cache
/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.1).
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
2025-08-26 12:39.39 ---> using "49875a6005ccbae07747eea718c1b8ceb7dc16c8adac5388b984da9691292e48" from cache
/src: (copy (src .) (dst /src/))
2025-08-26 12:39.39 ---> saved as "8d80bc53e033b9705b2559670f5e0fa563066de322d88601d73fdc8c53cc7917"
/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
2025-08-26 12:39.39 ---> saved as "30dfe6cbce3788e43d974f00c9115872de382c532c3d2b2fdc359a841ca4558c"
Job succeeded
2025-08-26 12:39.39: Job succeeded