2025-02-01 17:13.25: New job: test ocurrent/ocaml-version https://github.com/ocurrent/ocaml-version.git#refs/heads/master (1165e18c18c2eed9109edfecbbe1a8eb81141272) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-12-ocaml-4.07@sha256:198a45918468ebd59a6515074dbfc5bc5777e44215092ce82dfcdf6a34abd50e
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 1165e18c
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.07@sha256:198a45918468ebd59a6515074dbfc5bc5777e44215092ce82dfcdf6a34abd50e
# 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 e25af452e64b0bd6672dce5f38d878780362341d || git fetch origin master) && git reset -q --hard e25af452e64b0bd6672dce5f38d878780362341d && 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.2 fmt.0.8.9 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
2025-02-01 17:13.25: Using cache hint "ocurrent/ocaml-version-ocaml/opam:debian-12-ocaml-4.07@sha256:198a45918468ebd59a6515074dbfc5bc5777e44215092ce82dfcdf6a34abd50e-debian-12-4.07_opam-2.3-d792e60d7bdd06d620e82a631d31ffaf"
2025-02-01 17:13.25: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.07@sha256:198a45918468ebd59a6515074dbfc5bc5777e44215092ce82dfcdf6a34abd50e)
(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 e25af452e64b0bd6672dce5f38d878780362341d || git fetch origin master) && git reset -q --hard e25af452e64b0bd6672dce5f38d878780362341d && 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.2 fmt.0.8.9 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)"))
)
2025-02-01 17:13.25: Waiting for resource in pool OCluster
2025-02-01 17:16.57: Waiting for worker…
2025-02-01 17:18.19: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 1165e18 Merge pull request #80 from mtelvers/maintenance-intent
(from ocaml/opam:debian-12-ocaml-4.07@sha256:198a45918468ebd59a6515074dbfc5bc5777e44215092ce82dfcdf6a34abd50e)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.07@sha256:198a45918468ebd59a6515074dbfc5bc5777e44215092ce82dfcdf6a34abd50e' locally
docker.io/ocaml/opam@sha256:198a45918468ebd59a6515074dbfc5bc5777e44215092ce82dfcdf6a34abd50e: Pulling from ocaml/opam
f1a07e82e1b7: Pulling fs layer
f1a07e82e1b7: Verifying Checksum
f1a07e82e1b7: Download complete
f1a07e82e1b7: Pull complete
Digest: sha256:198a45918468ebd59a6515074dbfc5bc5777e44215092ce82dfcdf6a34abd50e
Status: Downloaded newer image for ocaml/opam@sha256:198a45918468ebd59a6515074dbfc5bc5777e44215092ce82dfcdf6a34abd50e
2025-02-01 17:18.19 ---> using "805eb5c0d41a6d32268e81684bfde40d7164b827bcfba2e0a6fbdf20ca4cb156" 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"))
2025-02-01 17:18.19 ---> using "c983eca7335500eda25fa424904810d3a2b16e3d9c5b057550e810fecb3f6a34" 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 39 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=39 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2025-02-01 17:18.19 ---> using "d6015463cc01aaa796072a8fa407736ac4ea630ad2602147ab148a8a0272dc75" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 4.07.1
2.2.1
2025-02-01 17:18.19 ---> using "40e069908b2473664784e428124eb604bfb26764fb5b0981fae093ba63d921aa" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-02-01 17:18.19 ---> using "6779a43958d9ed432a2abc7b394e8ea912714b8c8ecc7d415711ffcdd8b0d91f" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e e25af452e64b0bd6672dce5f38d878780362341d || git fetch origin master) && git reset -q --hard e25af452e64b0bd6672dce5f38d878780362341d && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
3e681a81f6..e25af452e6 master -> origin/master
e25af452e6 Merge pull request #27273 from hannesm/archive-phase2
<><> 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
2025-02-01 17:18.27 ---> saved as "82c3fae345914c0c2973a0a828bef53062740e91ffbd63beb1523834d173377a"
/src: (copy (src ocaml-version.opam) (dst ./))
2025-02-01 17:18.27 ---> saved as "3630128c2ee318a962eb0b41affac236d4dcc32b39ed1c2c3e874e17a94356da"
/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)
2025-02-01 17:18.29 ---> saved as "09fabf3f5d30b36a7e447f0ffb419d2e5d53f524c0c487ecbfead2a4aa8f28d2"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-02-01 17:18.29 ---> saved as "015b3bdca4e6f791ad3aa903fd458474468bf83f9f7a35805014c965fdb2ddde"
/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.2 fmt.0.8.9 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 [243 kB]
- Fetched 346 kB in 0s (952 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 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-02-01 17:18.41 ---> saved as "df1ae32194ccfe5ab48b91b6c5dc516cd95443968e859953b7baf7018bf57d4e"
/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 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.2
- 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.2 (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.2
-> 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
2025-02-01 17:19.17 ---> saved as "8e0e459f2c3206991c0a69a984ed3beb438d234b37645fd428ba52bed514a4cb"
/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.2).
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
-> 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 result.1.5
-> 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
2025-02-01 17:19.34 ---> saved as "8e9f50f37aca4b5d4cdd6a09c03ac948779a8d53f8d2542949b00bf5a7bc94a0"
/src: (copy (src .) (dst /src/))
2025-02-01 17:19.34 ---> saved as "0d0f87bd89a9fcd61f19c654195a8ec9f072ceb4b3790b6c2028ae4fdb956079"
/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 495, 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"
2025-02-01 17:19.35 ---> saved as "721b18cf8c3d4d7bab82f5606be4b033d0b220516152cf009ddf8d1ccf3bb2a1"
Job succeeded
2025-02-01 17:19.35: Job succeeded