Organisationsocurrentocaml-version6d8d50 ()(lint-doc)

(lint-doc)

Link Copied
Code Copied

Logs

2024-11-18 14:00.51: New job: test ocurrent/ocaml-version https://github.com/ocurrent/ocaml-version.git#refs/heads/master (6d8d50aa32ad0e6e994454377e618e41d87f7bea) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-12-ocaml-4.07@sha256:1eca0bfe3c7ccc4fb55a428e14a84154b7edba1eb36cba2aaefe580f1752d8f6
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 6d8d50aa
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.07@sha256:1eca0bfe3c7ccc4fb55a428e14a84154b7edba1eb36cba2aaefe580f1752d8f6
# debian-12-4.07_opam-2.2
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 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ocaml-version.opam ./
RUN opam pin add -yn ocaml-version.dev './'
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.16.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-11-18 14:00.51: Using cache hint "ocurrent/ocaml-version-ocaml/opam:debian-12-ocaml-4.07@sha256:1eca0bfe3c7ccc4fb55a428e14a84154b7edba1eb36cba2aaefe580f1752d8f6-debian-12-4.07_opam-2.2-ca3bad0d020cd50b29b461ebdee711fe"
2024-11-18 14:00.51: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.07@sha256:1eca0bfe3c7ccc4fb55a428e14a84154b7edba1eb36cba2aaefe580f1752d8f6)
(comment debian-12-4.07_opam-2.2)
(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 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && 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 './'"))
(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.16.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-11-18 14:00.51: Waiting for resource in pool OCluster
2024-11-18 14:00.51: Waiting for worker…
2024-11-18 14:01.18: Got resource from pool OCluster
Building on x86-bm-c11.sw.ocaml.org
All commits already cached
HEAD is now at 6d8d50a Merge pull request #77 from Octachron/ocaml-5.2.1


(from ocaml/opam:debian-12-ocaml-4.07@sha256:1eca0bfe3c7ccc4fb55a428e14a84154b7edba1eb36cba2aaefe580f1752d8f6)
2024-11-18 14:01.18 ---> using "f3c3a7c12e18aaf677f155f25c9548793c715f95e5ec72ca254027fddaf0c3b0" from cache


/: (comment debian-12-4.07_opam-2.2)


/: (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-11-18 14:01.18 ---> using "d8b6da73efb94b6a11202d53b42ef44bc0eea3baf8d40fb0e15f7ac9d4cd77da" 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-11-18 14:01.18 ---> using "7d8b91cee4d90044ccabad4f171e829c99f1656f5a735f6f3c84eff4f23191f2" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-125-generic
The OCaml toplevel, version 4.07.1
2.2.1
2024-11-18 14:01.18 ---> using "bea79cf8072a89b3e444cb98b17bf7b46dcffa7023059fd379f573f05eef378f" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-11-18 14:01.18 ---> using "30c4bbc8160d2d69c7c13e83aca92bd56811ee48388c38e787744a0ca56b0681" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
4ffa00429a..a6cd5e9297  master     -> origin/master
371a52f4a8 Merge pull request #26816 from maiste/release-dune-3.16.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-11-18 14:01.18 ---> using "91c1a137af7b9b03b422c24ef8ce1a13f15e2fee17dd47722179247ac01066fa" from cache


/src: (copy (src ocaml-version.opam) (dst ./))
2024-11-18 14:01.18 ---> using "ddb4040cfd2fda7aaaaa3c04fe123ccf8ecd4811e3859a068fcc48ba0d83b57a" 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-11-18 14:01.18 ---> using "568eefd91fc25d1f536b1056a59c32d1bf478ad69bc98464bf09ce67c18665e1" 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.16.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"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- 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/main amd64 Packages [8789 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [204 kB]
- Fetched 9247 kB in 3s (3134 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-version.dev] synchronised (no changes)


[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-11-18 14:01.18 ---> using "ab777c5ca4eebd15f4cdd1697dbd44be6b959c22cd8c6e9455cb4259385911ba" 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.16.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 cmdliner.1.0.4  (cached)
-> retrieved fmt.0.8.9  (https://erratique.ch/software/fmt/releases/fmt-0.8.9.tbz)
-> 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 re.1.11.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved alcotest.1.5.0  (https://github.com/mirage/alcotest/releases/download/1.5.0/alcotest-js-1.5.0.tbz)
-> retrieved dune.3.16.1  (cached)
-> installed cmdliner.1.0.4
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.14.3
-> installed ocamlfind-secondary.1.9.6
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed astring.0.8.5
-> installed dune.3.16.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-11-18 14:01.18 ---> using "bc239a14f4801c4cb1ce7fe73be65d2b17fb783f04aa1aecd81dd3c832f85441" 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.16.1).
The following actions will be performed:
=== install 8 packages
- install camlp-streams 5.0.1 [required by odoc-parser]
- install cppo          1.7.0 [required by odoc]
- install crunch        2.2.0 [required by odoc]
- install fpath         0.7.3 [required by odoc]
- install odoc          2.4.3
- install odoc-parser   2.4.3 [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.7.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.3, odoc-parser.2.4.3  (cached)
-> installed cppo.1.7.0
-> installed fpath.0.7.3
-> retrieved crunch.2.2.0  (https://github.com/mirage/ocaml-crunch/releases/download/v2.2.0/crunch-v2.2.0.tbz)
-> installed crunch.2.2.0
-> installed odoc-parser.2.4.3
-> installed tyxml.4.6.0
-> installed odoc.2.4.3
Done.
# Run eval $(opam env) to update the current shell environment
2024-11-18 14:01.18 ---> using "7316a1ca0b9c68899fd138bb603618884e9a5c7cb08a9ea2935611a8e0580b98" from cache


/src: (copy (src .) (dst /src/))
2024-11-18 14:01.18 ---> using "daa2393f5c522848821b15e91ea830a46b9e8cf631e3979e052c0c22da1ea925" 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-11-18 14:01.18 ---> using "8e3959a595c1f912c82fa93c548498534bb33247c5119dc90c37636d89c7cc55" from cache
Job succeeded
2024-11-18 14:01.19: Job succeeded