2024-12-19 22:50.14: New job: test ocurrent/ocaml-version https://github.com/ocurrent/ocaml-version.git#refs/heads/master (6f9d7094a332d2d5536d2e5cd80d855e5d908982) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-12-ocaml-4.07@sha256:f35228d1e150a054c1579b2d8361eb5769c0c6c683695ba2d0c7564a63c2e1c9
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 6f9d7094
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.07@sha256:f35228d1e150a054c1579b2d8361eb5769c0c6c683695ba2d0c7564a63c2e1c9
# 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 22:50.14: Using cache hint "ocurrent/ocaml-version-ocaml/opam:debian-12-ocaml-4.07@sha256:f35228d1e150a054c1579b2d8361eb5769c0c6c683695ba2d0c7564a63c2e1c9-debian-12-4.07_opam-2.3-afc4182db7955cfdd47ccc662b595db9"
2024-12-19 22:50.14: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.07@sha256:f35228d1e150a054c1579b2d8361eb5769c0c6c683695ba2d0c7564a63c2e1c9)
(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 22:50.14: Waiting for resource in pool OCluster
2024-12-20 11:13.00: Waiting for worker…
2024-12-20 11:14.37: Got resource from pool OCluster
Building on x86-bm-c3.sw.ocaml.org
All commits already cached
HEAD is now at 6f9d709 Update CHANGES.md
(from ocaml/opam:debian-12-ocaml-4.07@sha256:f35228d1e150a054c1579b2d8361eb5769c0c6c683695ba2d0c7564a63c2e1c9)
2024-12-20 11:14.38 ---> using "09f6b47fddb8e67cfde831441bf8d5901d5c29c47f10cb19b5e6cd340706d855" 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-20 11:14.38 ---> using "2b59e4cabdd6e08d114a2712b300171a755e8f00365bd1066be12a9f5fe23067" 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-20 11:14.38 ---> using "2de1cc882432087db5c063feb445790e5c7c99859d588132738d82a3ac69345c" 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-20 11:14.38 ---> using "b2b1defb30a7ffd93966b840db9ec586b98f6f376f5d088aea1aa34add6f41d5" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-12-20 11:14.38 ---> using "4beae5c784e81d76c3a6177afd8c9d098d7ea4354201d97c958b3bc12dedc161" 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
de786e28db..9046416026 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-20 11:14.38 ---> using "40b87747143241957375d215e83d1a43ef0057f9670c5d373115fec38489e2ac" from cache
/src: (copy (src ocaml-version.opam) (dst ./))
2024-12-20 11:14.38 ---> using "adb119394eb0a9701bc8475e3c7292f86d99652c3a58650f0932eec29fef8c9d" 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-20 11:14.38 ---> using "80785194b389a15c8b83b7dea10996579db93187dd75b501c876bfe2d4b69bd9" from cache
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2024-12-20 11:14.38 ---> using "eeeeb5f56e3643b3697a8d80aa1ba4381288ec7dcc121eb897faad6f42595144" 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-security bookworm-security/main amd64 Packages [236 kB]
- Fetched 339 kB in 0s (1191 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-20 11:14.38 ---> using "6009a97b65f757daa3b3c09650ae79f59302f6ad75ea3cd8efb019aeb2ea72d5" 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 dune.3.17.1 (cached)
-> retrieved re.1.11.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved uutf.1.0.3 (cached)
-> installed cmdliner.1.0.4
-> installed ocamlfind.1.9.6
-> installed ocamlfind-secondary.1.9.6
-> installed ocamlbuild.0.14.3
-> 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-20 11:14.38 ---> using "d6b537af837d66e7dbbe8a8fc23f59ad753139fda17171a92871b00d9c14a478" 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-20 11:14.38 ---> using "4ec86036477191205550da36db6b45e603f2be3d52f316ccaa6734baf1292812" from cache
/src: (copy (src .) (dst /src/))
2024-12-20 11:14.38 ---> saved as "341c214a17bd4c8bfa5420af30ede01d76b50c383a42197e0fa7bf1ebe53cc0b"
/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-20 11:14.38 ---> saved as "50d51e8a441b3eba5083782755d0da56ea971410d101cf3482085b9d732e99a8"
Job succeeded
2024-12-20 11:14.38: Job succeeded