OrganisationsLeonidas-from-XIVopam-test9cc745 (main)(lint-doc)

(lint-doc)

Link Copied
Code Copied

Logs

2025-11-21 08:55.25: New job: test Leonidas-from-XIV/opam-test https://github.com/Leonidas-from-XIV/opam-test.git#refs/heads/main (9cc745570379d3b45f970893cfeae4a1c05e4393) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-13-ocaml-4.08@sha256:e3cc4e8fe5c00f48c72a719e3551b1d8a51c2862349a0f7507e8aa29fdf72321
Opam project lint documentation


To reproduce locally:


git clone --recursive "https://github.com/Leonidas-from-XIV/opam-test.git" -b "main" && cd "opam-test" && git reset --hard 9cc74557
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.08@sha256:e3cc4e8fe5c00f48c72a719e3551b1d8a51c2862349a0f7507e8aa29fdf72321
# 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 d47c23cc20f87a07f45669f51840a1718e180264 || git fetch origin master) && git reset -q --hard d47c23cc20f87a07f45669f51840a1718e180264 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 opam-test.opam ./
RUN opam pin add -yn opam-test.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="0install-solver.2.18 base-bigarray.base base-threads.base base-unix.base base64.3.5.2 cmdliner.2.0.0 conf-c++.1.0 cppo.1.8.0 cudf.0.10 dose3.7.0.0 dune.3.20.2 extlib.1.8.0 jsonm.1.0.2 mccs.1.1+19 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 opam-0install-cudf.0.5.0 opam-client.2.5.0~beta1 opam-core.2.5.0~beta1 opam-file-format.2.2.0 opam-format.2.5.0~beta1 opam-repository.2.5.0~beta1 opam-solver.2.5.0~beta1 opam-state.2.5.0~beta1 patch.3.1.0 re.1.11.0 seq.base sha.1.15.4 spdx_licenses.1.4.0 stdlib-shims.0.3.0 swhid_core.0.1 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 opam-test.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-11-21 08:55.25: Using cache hint "Leonidas-from-XIV/opam-test-ocaml/opam:debian-13-ocaml-4.08@sha256:e3cc4e8fe5c00f48c72a719e3551b1d8a51c2862349a0f7507e8aa29fdf72321-debian-13-4.08_opam-2.4-17c0423b15c74472e5a4c6749eefb559"
2025-11-21 08:55.25: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.08@sha256:e3cc4e8fe5c00f48c72a719e3551b1d8a51c2862349a0f7507e8aa29fdf72321)
(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 d47c23cc20f87a07f45669f51840a1718e180264 || git fetch origin master) && git reset -q --hard d47c23cc20f87a07f45669f51840a1718e180264 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src opam-test.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn opam-test.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "0install-solver.2.18 base-bigarray.base base-threads.base base-unix.base base64.3.5.2 cmdliner.2.0.0 conf-c++.1.0 cppo.1.8.0 cudf.0.10 dose3.7.0.0 dune.3.20.2 extlib.1.8.0 jsonm.1.0.2 mccs.1.1+19 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 opam-0install-cudf.0.5.0 opam-client.2.5.0~beta1 opam-core.2.5.0~beta1 opam-file-format.2.2.0 opam-format.2.5.0~beta1 opam-repository.2.5.0~beta1 opam-solver.2.5.0~beta1 opam-state.2.5.0~beta1 patch.3.1.0 re.1.11.0 seq.base sha.1.15.4 spdx_licenses.1.4.0 stdlib-shims.0.3.0 swhid_core.0.1 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 opam-test.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-11-21 08:55.25: Waiting for resource in pool OCluster
2025-11-21 14:44.34: Waiting for worker…
2025-11-21 14:49.51: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at 9cc7455 Add README


(from ocaml/opam:debian-13-ocaml-4.08@sha256:e3cc4e8fe5c00f48c72a719e3551b1d8a51c2862349a0f7507e8aa29fdf72321)
2025-11-21 14:52.35 ---> using "d458486dd7823c592e7ea9c88366c5f90e1939c3b51f3abbd6760272096f8a3e" 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-11-21 14:52.36 ---> saved as "601f3488e0c1e4ce0ecc5553ddee1989df407b8851f8de254f2019e0275e4455"


/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-11-21 14:53.24 ---> saved as "6e2c70ec3c4ffe8d3912796e5d282fbf048f3414f7c9c180d05a1912ca8714d1"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-85-generic
The OCaml toplevel, version 4.08.1
2.2.1
2025-11-21 14:53.25 ---> saved as "5b2f4ae5cd65266052fd7ef1cae1cf58371f091f2bc89f8a3a95f8da5c11aeb1"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-11-21 14:53.26 ---> saved as "cace36b17b3af73300fde5d812b72f503a410977ac7d43944e00b41099c7188a"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e d47c23cc20f87a07f45669f51840a1718e180264 || git fetch origin master) && git reset -q --hard d47c23cc20f87a07f45669f51840a1718e180264 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
21f97b2e6d..ee3428377a  master     -> origin/master
d47c23cc20 Merge pull request #28908 from redianthus/master


<><> 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-11-21 14:54.10 ---> saved as "57638c919678f85aac52c7cf5559254451966615760ca15b8fe412eb7f206efd"


/src: (copy (src opam-test.opam) (dst ./))
2025-11-21 14:54.11 ---> saved as "4d239af6500701f3f73a0d5b612ed10e15e607a84dc72293c40014a6f9393c95"


/src: (run (network host)
(shell "opam pin add -yn opam-test.dev './'"))
[WARNING] Failed checks on opam-test package definition from source at file:///src:
warning 68: Missing field 'license'
[opam-test.dev] synchronised (file:///src)
opam-test is now pinned to file:///src (version dev)
2025-11-21 14:54.15 ---> saved as "6463315eddb525cf50f37da348540909578842a4f5acfb02862dd2e161f69549"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-11-21 14:54.15 ---> saved as "b6357c1cb1c81e8439cd88a889f55e78d61d1f58de10437bb30931540a9c531e"


/src: (env DEPS "0install-solver.2.18 base-bigarray.base base-threads.base base-unix.base base64.3.5.2 cmdliner.2.0.0 conf-c++.1.0 cppo.1.8.0 cudf.0.10 dose3.7.0.0 dune.3.20.2 extlib.1.8.0 jsonm.1.0.2 mccs.1.1+19 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 opam-0install-cudf.0.5.0 opam-client.2.5.0~beta1 opam-core.2.5.0~beta1 opam-file-format.2.2.0 opam-format.2.5.0~beta1 opam-repository.2.5.0~beta1 opam-solver.2.5.0~beta1 opam-state.2.5.0~beta1 patch.3.1.0 re.1.11.0 seq.base sha.1.15.4 spdx_licenses.1.4.0 stdlib-shims.0.3.0 swhid_core.0.1 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 opam-test.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
- 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 trixie/main amd64 Packages [9670 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [71.8 kB]
- Fetched 9973 kB in 2s (4252 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[opam-test.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-11-21 14:54.41 ---> saved as "da87c203835b7bd068a3397476e4be36eba8efc6be713df0ccbe2c7abe9c4758"


/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 35 packages
- install 0install-solver    2.18
- install base64             3.5.2
- install cmdliner           2.0.0
- install conf-c++           1.0
- install cppo               1.8.0
- install cudf               0.10
- install dose3              7.0.0
- install dune               3.20.2
- install extlib             1.8.0
- install jsonm              1.0.2
- install mccs               1.1+19
- install menhir             20250912
- install menhirCST          20250912
- install menhirLib          20250912
- install menhirSdk          20250912
- install ocamlbuild         0.16.1
- install ocamlfind          1.9.8
- install ocamlgraph         2.2.0
- install opam-0install-cudf 0.5.0
- install opam-client        2.5.0~beta1
- install opam-core          2.5.0~beta1
- install opam-file-format   2.2.0
- install opam-format        2.5.0~beta1
- install opam-repository    2.5.0~beta1
- install opam-solver        2.5.0~beta1
- install opam-state         2.5.0~beta1
- install patch              3.1.0
- install re                 1.11.0
- install seq                base
- install sha                1.15.4
- install spdx_licenses      1.4.0
- install stdlib-shims       0.3.0
- install swhid_core         0.1
- install topkg              1.1.1
- install uutf               1.0.4


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base64.3.5.2  (cached)
-> installed conf-c++.1.0
-> retrieved cppo.1.8.0  (cached)
-> retrieved cudf.0.10  (cached)
-> retrieved cmdliner.2.0.0  (cached)
-> retrieved dose3.7.0.0  (cached)
-> retrieved 0install-solver.2.18  (cached)
-> retrieved extlib.1.8.0  (cached)
-> retrieved jsonm.1.0.2  (cached)
-> retrieved mccs.1.1+19  (cached)
-> retrieved menhir.20250912, menhirCST.20250912, menhirLib.20250912, menhirSdk.20250912  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved opam-0install-cudf.0.5.0  (cached)
-> retrieved ocamlgraph.2.2.0  (cached)
-> retrieved dune.3.20.2  (cached)
-> retrieved opam-client.2.5.0~beta1, opam-core.2.5.0~beta1, opam-format.2.5.0~beta1, opam-repository.2.5.0~beta1, opam-solver.2.5.0~beta1, opam-state.2.5.0~beta1  (cached)
-> retrieved opam-file-format.2.2.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved patch.3.1.0  (cached)
-> retrieved sha.1.15.4  (cached)
-> retrieved re.1.11.0  (cached)
-> retrieved spdx_licenses.1.4.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved swhid_core.0.1  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.1.1  (cached)
-> installed cmdliner.2.0.0
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed jsonm.1.0.2
-> installed dune.3.20.2
-> installed base64.3.5.2
-> installed menhirCST.20250912
-> installed stdlib-shims.0.3.0
-> installed swhid_core.0.1
-> installed spdx_licenses.1.4.0
-> installed 0install-solver.2.18
-> installed menhirSdk.20250912
-> installed patch.3.1.0
-> installed menhirLib.20250912
-> installed cppo.1.8.0
-> installed re.1.11.0
-> installed extlib.1.8.0
-> installed sha.1.15.4
-> installed ocamlgraph.2.2.0
-> installed cudf.0.10
-> installed opam-0install-cudf.0.5.0
-> installed dose3.7.0.0
-> installed mccs.1.1+19
-> installed opam-core.2.5.0~beta1
-> installed menhir.20250912
-> installed opam-file-format.2.2.0
-> installed opam-format.2.5.0~beta1
-> installed opam-repository.2.5.0~beta1
-> installed opam-solver.2.5.0~beta1
-> installed opam-state.2.5.0~beta1
-> installed opam-client.2.5.0~beta1
Done.
# Run eval $(opam env) to update the current shell environment
2025-11-21 14:57.14 ---> saved as "874df2960c754dd1f1811a471b7d9a8bafcef6f48299a677ae4da782020bd32a"


/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 9 packages
- install astring       0.8.5  [required by odoc]
- install camlp-streams 5.0.1  [required by odoc-parser]
- 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 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 crunch.4.0.0  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved fmt.0.11.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 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-11-21 14:57.46 ---> saved as "d2339ea106293fe4cc5bb8f3e4d683df4d4315571217d21edb1f2e6074424795"


/src: (copy (src .) (dst /src/))
2025-11-21 14:57.46 ---> saved as "3691bfdd494abae2e9e7f6edc9c8060d3ea22feed544c4671e4e1a1ca83c4727"


/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
2025-11-21 14:57.47 ---> saved as "c5bfb5e36cf513776fc038b5b1cda90851f093bfff2485ae9fb716d9defe3b4f"
Job succeeded
2025-11-21 14:57.47: Job succeeded