2024-12-19 10:26.21: New job: test ocurrent/ocaml-version https://github.com/ocurrent/ocaml-version.git#refs/heads/master (b590e2b1135afb8f2460e8c90bca89b66c9d9cdc) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-12-ocaml-4.07@sha256:eb28d827734c2d5e16eb8240b7bce5972b76e307d173848aad11c2a7153bf412
Opam project lint documentation
To reproduce locally:
git clone --recursive "https://github.com/ocurrent/ocaml-version.git" -b "master" && cd "ocaml-version" && git reset --hard b590e2b1
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.07@sha256:eb28d827734c2d5e16eb8240b7bce5972b76e307d173848aad11c2a7153bf412
# debian-12-4.07_opam-2.3
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 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 || git fetch origin master) && git reset -q --hard 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ocaml-version.opam ./
RUN opam pin add -yn ocaml-version.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.5.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.1.0.4 dune.3.17.1 fmt.0.8.9 host-arch-x86_64.1 host-system-other.1 ocaml.4.07.1 ocaml-base-compiler.4.07.1 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 re.1.11.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y ocaml-version.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
2024-12-19 10:26.21: Using cache hint "ocurrent/ocaml-version-ocaml/opam:debian-12-ocaml-4.07@sha256:eb28d827734c2d5e16eb8240b7bce5972b76e307d173848aad11c2a7153bf412-debian-12-4.07_opam-2.3-afc4182db7955cfdd47ccc662b595db9"
2024-12-19 10:26.21: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.07@sha256:eb28d827734c2d5e16eb8240b7bce5972b76e307d173848aad11c2a7153bf412)
(comment debian-12-4.07_opam-2.3)
(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 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 || git fetch origin master) && git reset -q --hard 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ocaml-version.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn ocaml-version.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.5.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.1.0.4 dune.3.17.1 fmt.0.8.9 host-arch-x86_64.1 host-system-other.1 ocaml.4.07.1 ocaml-base-compiler.4.07.1 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 re.1.11.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3")
(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 ocaml-version.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)"))
)
2024-12-19 10:26.21: Waiting for resource in pool OCluster
2024-12-19 10:26.21: Waiting for worker…
2024-12-19 10:26.26: Got resource from pool OCluster
Building on x86-bm-c2.sw.ocaml.org
All commits already cached
HEAD is now at b590e2b Merge pull request #78 from mtelvers/5-3-rc1
(from ocaml/opam:debian-12-ocaml-4.07@sha256:eb28d827734c2d5e16eb8240b7bce5972b76e307d173848aad11c2a7153bf412)
2024-12-19 10:26.26 ---> using "fae3830a23d9fb9aba11c76c879e838d4ce744113577ec6d63c477d66ee5f15d" from cache
/: (comment debian-12-4.07_opam-2.3)
/: (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"))
2024-12-19 10:26.26 ---> using "de3bf7aab5898ee947edee644f2a729ce71c1ec0ae1c55e72a385f19c7a75100" 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] synchronised from file:///home/opam/opam-repository
2024-12-19 10:26.26 ---> using "509a13a859abdad476b1baaeef1346514c10234f69772faffeb90e9a58c0bb44" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-126-generic
The OCaml toplevel, version 4.07.1
2.2.1
2024-12-19 10:26.26 ---> using "bdd227868100ae4ff19899912ad6af26fd01eac98f8283a7b73ab687183154fa" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-12-19 10:26.26 ---> using "739821605c4b9fec8cc1c15201fc59e2eae1fe8fdfa62a0b07f74a0b93936cf2" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 || git fetch origin master) && git reset -q --hard 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
11bdbee611..95bfbde2be master -> origin/master
5c7ffb23c8 Merge pull request #27137 from maiste/release-dune-3.17.1
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from 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
2024-12-19 10:26.26 ---> using "939469a23016efc57e91e1ee39f99abed865a7d913a9b1b5b49d5f5a11ebfbb9" from cache
/src: (copy (src ocaml-version.opam) (dst ./))
2024-12-19 10:26.26 ---> using "cfd4e4e88b72e717be0b95f6da5e392b272f20121cf8f52996e1716b749e1c65" from cache
/src: (run (network host)
(shell "opam pin add -yn ocaml-version.dev './'"))
[ocaml-version.dev] synchronised (file:///src)
ocaml-version is now pinned to file:///src (version dev)
2024-12-19 10:26.26 ---> using "da536334b123814411cfadfd11398be9390d587facc3f12b4fdfd2a35737be44" from cache
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2024-12-19 10:26.26 ---> using "bb72b63ddf5805c46cc00fcec06fe09ecb4134130875d11b6234e40c000c6fc4" from cache
/src: (env DEPS "alcotest.1.5.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.1.0.4 dune.3.17.1 fmt.0.8.9 host-arch-x86_64.1 host-system-other.1 ocaml.4.07.1 ocaml-base-compiler.4.07.1 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 re.1.11.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3")
/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 ocaml-version.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index [14.0 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-12-07-2012.31-F-2024-11-27-1405.46.pdiff [7410 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-12-07-2012.31-F-2024-11-27-1405.46.pdiff [7410 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [236 kB]
- Fetched 361 kB in 0s (1233 kB/s)
- Reading package lists...
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-version.dev] synchronised (file:///src)
[NOTE] Package ocaml-secondary-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.07.1).
[NOTE] Package ocaml is already installed (current version is 4.07.1).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 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).
2024-12-19 10:26.26 ---> using "1fce11e9cd0910b37de2306fbbe16008e04a254898fe6001c546e1561877496d" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-secondary-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.07.1).
[NOTE] Package ocaml is already installed (current version is 4.07.1).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 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 14 packages
- install alcotest 1.5.0
- install astring 0.8.5
- install cmdliner 1.0.4
- install dune 3.17.1
- install fmt 0.8.9
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild 0.14.3
- install ocamlfind 1.9.6
- install ocamlfind-secondary 1.9.6
- install re 1.11.0
- install seq base
- install stdlib-shims 0.3.0
- install topkg 1.0.7
- install uutf 1.0.3
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved alcotest.1.5.0 (cached)
-> retrieved cmdliner.1.0.4 (cached)
-> retrieved fmt.0.8.9 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlbuild.0.14.3 (cached)
-> retrieved ocamlfind.1.9.6, ocamlfind-secondary.1.9.6 (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.3 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved dune.3.17.1 (cached)
-> installed cmdliner.1.0.4
-> installed ocamlbuild.0.14.3
-> installed ocamlfind.1.9.6
-> installed ocamlfind-secondary.1.9.6
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed astring.0.8.5
-> installed dune.3.17.1
-> installed stdlib-shims.0.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.11.0
-> installed fmt.0.8.9
-> installed alcotest.1.5.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-12-19 10:26.26 ---> using "314f2b14402fcad169c16700efa1a640007d2fcaa8476bdf74c4bc4cc047e4e5" 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.17.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 2.2.0 [required by odoc]
- install fpath 0.7.3 [required by odoc]
- install odoc 2.4.4
- install odoc-parser 2.4.4 [required by odoc]
- install result 1.5 [required by odoc]
- 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.2.2.0 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved result.1.5 (cached)
-> retrieved tyxml.4.6.0 (cached)
-> installed camlp-streams.5.0.1
-> installed result.1.5
-> retrieved odoc.2.4.4, odoc-parser.2.4.4 (cached)
-> installed cppo.1.8.0
-> installed crunch.2.2.0
-> installed fpath.0.7.3
-> installed odoc-parser.2.4.4
-> installed tyxml.4.6.0
-> installed odoc.2.4.4
Done.
# Run eval $(opam env) to update the current shell environment
2024-12-19 10:26.26 ---> using "ca9ce3bd6c50f6061fa484e566eb3c18e38f47069838b4bd6c9352a9c2f7f380" from cache
/src: (copy (src .) (dst /src/))
2024-12-19 10:26.26 ---> using "1ac353059664f7bd382534a0f3ddcbcac0e4cef4e2f48f960141def42998ac55" from cache
/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.07/bin/odoc link -I ../../.ocaml_version.objs/byte -I ../_odoc/pkg/ocaml-version -o ../_odocls/ocaml-version/ocaml_version.odocl ../../.ocaml_version.objs/byte/ocaml_version.odoc)
File "ocaml_version.mli", line 489, characters 38-46:
Warning: Failed to resolve reference unresolvedroot(Bytes) Couldn't find "Bytes"
File "ocaml_version.mli", line 186, characters 4-24:
Warning: Failed to resolve reference unresolvedroot(Sys).ocaml_version Couldn't find "Sys"
File "ocaml_version.mli", line 94, characters 44-53:
Warning: Failed to resolve reference unresolvedroot(Result) Couldn't find "Result"
File "ocaml_version.mli", line 50, characters 44-53:
Warning: Failed to resolve reference unresolvedroot(Result) Couldn't find "Result"
2024-12-19 10:26.26 ---> using "7fc5c22a5fac25cc867834b53e2a87fd466fa6e8ebd53a56e5b0b8e0f26e24be" from cache
Job succeeded
2024-12-19 10:26.27: Job succeeded