Organisationsygrekocaml-extlib993334 (master)(lint-doc)

(lint-doc)

Link Copied
Code Copied

Logs

2025-11-14 10:12.29: New job: test ygrek/ocaml-extlib https://github.com/ygrek/ocaml-extlib.git#refs/heads/master (99333426030c6d5a1d782a4193dbb9230e8455ee) (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/ygrek/ocaml-extlib.git" -b "master" && cd "ocaml-extlib" && git reset --hard 99333426
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 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 extlib.opam ./
RUN opam pin add -yn extlib.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 dune.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 extlib.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-14 10:12.29: Using cache hint "ygrek/ocaml-extlib-ocaml/opam:debian-13-ocaml-4.08@sha256:e3cc4e8fe5c00f48c72a719e3551b1d8a51c2862349a0f7507e8aa29fdf72321-debian-13-4.08_opam-2.4-abbaefcbd53ebda0ebc42d9deac65519"
2025-11-14 10:12.29: 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 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src extlib.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn extlib.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 dune.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 extlib.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-14 10:12.29: Waiting for resource in pool OCluster
2025-11-14 10:12.43: Waiting for worker…
2025-11-14 10:13.00: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 9933342 Add .git-blame-ignore-revs


(from ocaml/opam:debian-13-ocaml-4.08@sha256:e3cc4e8fe5c00f48c72a719e3551b1d8a51c2862349a0f7507e8aa29fdf72321)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.08@sha256:e3cc4e8fe5c00f48c72a719e3551b1d8a51c2862349a0f7507e8aa29fdf72321' locally
docker.io/ocaml/opam@sha256:e3cc4e8fe5c00f48c72a719e3551b1d8a51c2862349a0f7507e8aa29fdf72321: Pulling from ocaml/opam
ecf7cc525ea1: Pulling fs layer
ecf7cc525ea1: Verifying Checksum
ecf7cc525ea1: Download complete
ecf7cc525ea1: Pull complete
Digest: sha256:e3cc4e8fe5c00f48c72a719e3551b1d8a51c2862349a0f7507e8aa29fdf72321
Status: Downloaded newer image for ocaml/opam@sha256:e3cc4e8fe5c00f48c72a719e3551b1d8a51c2862349a0f7507e8aa29fdf72321
2025-11-14 10:13.05 ---> 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-14 10:13.05 ---> using "601f3488e0c1e4ce0ecc5553ddee1989df407b8851f8de254f2019e0275e4455" 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-11-14 10:13.05 ---> using "6e2c70ec3c4ffe8d3912796e5d282fbf048f3414f7c9c180d05a1912ca8714d1" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-157-generic
The OCaml toplevel, version 4.08.1
2.2.1
2025-11-14 10:13.05 ---> using "5b2f4ae5cd65266052fd7ef1cae1cf58371f091f2bc89f8a3a95f8da5c11aeb1" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-11-14 10:13.06 ---> using "cace36b17b3af73300fde5d812b72f503a410977ac7d43944e00b41099c7188a" 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-11-14 10:13.35 ---> saved as "5775a06072fc7f06a48bc1b3a355fe4f900616e379a994ed4c502db6e831883e"


/src: (copy (src extlib.opam) (dst ./))
2025-11-14 10:13.44 ---> saved as "0ceb539b528d41fdb359465aae0b128eae2c9675e8b23a6ec8afb008dc213719"


/src: (run (network host)
(shell "opam pin add -yn extlib.dev './'"))
[extlib.dev] synchronised (file:///src)
extlib is now pinned to file:///src (version dev)
2025-11-14 10:13.52 ---> saved as "f2380655ec81661c9dae284d65cf0521f7cf8dd608f01241140e2916c11a8a5d"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-11-14 10:14.00 ---> saved as "79864bded6b1172556b99fb3acb23a312b5af1bcf759ec045af4636b95b63b6d"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 dune.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 extlib.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 [71.4 kB]
- Fetched 162 kB in 0s (653 kB/s)
- Reading package lists...


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[extlib.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-14 10:14.29 ---> saved as "eda95eb9ddde1b4df91a123b843bb647e5a3d014444f1d24e13e4b46be2fc94f"


/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 2 packages
- install cppo 1.8.0
- install dune 3.20.2


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0  (cached)
-> retrieved dune.3.20.2  (cached)
-> installed dune.3.20.2
-> installed cppo.1.8.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-11-14 10:15.31 ---> saved as "19889f56a69948a24bff2ea0ee47e5e8caf4f462698415fde6c5302dbfb68d69"


/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 16 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 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 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)
-> retrieved ptime.1.2.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> installed camlp-streams.5.0.1
-> retrieved re.1.11.0  (cached)
-> retrieved topkg.1.1.0  (cached)
-> retrieved tyxml.4.6.0  (cached)
-> retrieved odoc.3.1.0, odoc-parser.3.1.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-11-14 10:16.04 ---> saved as "3f872088d60ddbf41f4d358de5b19009d51a1ae00954ec7a91a742c2bbb57d08"


/src: (copy (src .) (dst /src/))
2025-11-14 10:16.55 ---> saved as "8cf8f1c266ac2b52faa64d6f8818b6d35f14a388945d5e0f29747ba0373203b3"


/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
(cd _build/default/_doc/_html && /home/opam/.opam/4.08/bin/odoc link -I ../_odoc/pkg/extlib -I ../../src/.extlib.objs/byte -o ../_odocls/extlib/extArray.odocl ../../src/.extlib.objs/byte/extArray.odoc)
File "src/extArray.mli", line 143, characters 5-70:
Warning: Failed to resolve reference unresolvedroot(Invalid_argument) Couldn't find "Invalid_argument"
File "src/extArray.mli", line 139, characters 5-70:
Warning: Failed to resolve reference unresolvedroot(Invalid_argument) Couldn't find "Invalid_argument"
File "src/extArray.mli", line 51, character 4 to line 52, character 19:
Warning: Failed to resolve reference unresolvedroot(Invalid_argument) Couldn't find "Invalid_argument"
File "src/extArray.mli", line 44, character 4 to line 45, character 19:
Warning: Failed to resolve reference unresolvedroot(Invalid_argument) Couldn't find "Invalid_argument"
(cd _build/default/_doc/_html && /home/opam/.opam/4.08/bin/odoc link -I ../_odoc/pkg/extlib -I ../../src/.extlib.objs/byte -o ../_odocls/extlib/extList.odocl ../../src/.extlib.objs/byte/extList.odoc)
File "src/extList.mli", line 309, characters 50-67:
Warning: Failed to resolve reference unresolvedroot(Stdlib).compare Couldn't find "Stdlib"
File "src/extList.mli", line 45, characters 8-27:
Warning: Failed to resolve reference unresolvedroot(Stdlib).List.init Couldn't find "Stdlib"
2025-11-14 10:16.58 ---> saved as "2b70c3259cf29356dd318c2a91991ec086cbda688a216746abb8b70f5083a880"
Job succeeded
2025-11-14 10:17.24: Job succeeded