Organisationsocaml-multicoredomainslib731f08 (main)(lint-doc)

(lint-doc)

Link Copied
Code Copied

Logs

2024-11-04 11:24.44: New job: test ocaml-multicore/domainslib https://github.com/ocaml-multicore/domainslib.git#refs/heads/main (731f08891c87e788f2cc95f2a600328f6682a5e2) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-12-ocaml-5.0@sha256:7324055123748d9b28eb910c0aea342ef8c6a4ba9f47b5949f17ccd0b67a4704
Opam project lint documentation


To reproduce locally:


git clone --recursive "https://github.com/ocaml-multicore/domainslib.git" -b "main" && cd "domainslib" && git reset --hard 731f0889
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.0@sha256:7324055123748d9b28eb910c0aea342ef8c6a4ba9f47b5949f17ccd0b67a4704
# debian-12-5.0_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 domainslib.opam ./
RUN opam pin add -yn domainslib.dev './'
ENV DEPS="backoff.0.1.1 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base csexp.1.5.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 dune.3.16.1 dune-configurator.3.16.1 host-arch-x86_64.1 host-system-other.1 kcas.0.7.0 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mtime.2.1.0 multicore-magic.2.3.0 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 psq.0.2.1 qcheck-core.0.22 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 saturn.0.5.0 saturn_lockfree.0.5.0 seq.base thread-table.1.0.0 topkg.1.0.7"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y domainslib.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-04 11:24.44: Using cache hint "ocaml-multicore/domainslib-ocaml/opam:debian-12-ocaml-5.0@sha256:7324055123748d9b28eb910c0aea342ef8c6a4ba9f47b5949f17ccd0b67a4704-debian-12-5.0_opam-2.2-adeaefce818839e377c23347bde63f82"
2024-11-04 11:24.44: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.0@sha256:7324055123748d9b28eb910c0aea342ef8c6a4ba9f47b5949f17ccd0b67a4704)
(comment debian-12-5.0_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 domainslib.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn domainslib.dev './'"))
(env DEPS "backoff.0.1.1 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base csexp.1.5.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 dune.3.16.1 dune-configurator.3.16.1 host-arch-x86_64.1 host-system-other.1 kcas.0.7.0 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mtime.2.1.0 multicore-magic.2.3.0 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 psq.0.2.1 qcheck-core.0.22 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 saturn.0.5.0 saturn_lockfree.0.5.0 seq.base thread-table.1.0.0 topkg.1.0.7")
(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 domainslib.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-04 11:24.44: Waiting for resource in pool OCluster
2024-11-04 17:27.15: Waiting for worker…
2024-11-04 17:30.10: Got resource from pool OCluster
Building on x86-bm-c11.sw.ocaml.org
All commits already cached
HEAD is now at 731f088 Merge pull request #123 from punchagan/patch-1


(from ocaml/opam:debian-12-ocaml-5.0@sha256:7324055123748d9b28eb910c0aea342ef8c6a4ba9f47b5949f17ccd0b67a4704)
2024-11-04 17:30.10 ---> using "319832d2584c2a3ee72b80e6a8c7816295ce8964785dbfcfd8f374d3ef180ca7" from cache


/: (comment debian-12-5.0_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-04 17:30.10 ---> using "f914ea0a6b8987c8251c4f65ec90e900d480727db6d94f99bbdd4e68f8145f6c" 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-04 17:31.35 ---> saved as "813139bb9447d971e7b60a543785cfa0ca9a0d9cf47db5b82937749ee8d8e2ba"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 5.0.0
2.2.1
2024-11-04 17:31.35 ---> saved as "3e43fcfa6abbdfa5b61619174def05eb48170df03aed20cae69c12fe74766a64"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-11-04 17:31.35 ---> saved as "03f4351f32da38e3c3966244a12646be8c5fc3ade9f53e68d7ab2d334ce2cf8e"


/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
d872638bdf..8476aa70b7  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-04 17:32.47 ---> saved as "693ab60855220c44823a33daf99bbf66dc59b17fa045006886ef29527d6ec4ea"


/src: (copy (src domainslib.opam) (dst ./))
2024-11-04 17:32.47 ---> saved as "07a05b5fa985e9c1d98c85d4c0737090ea01f260106a31d301e4bbf1458dbb61"


/src: (run (network host)
(shell "opam pin add -yn domainslib.dev './'"))
[domainslib.dev] synchronised (file:///src)
domainslib is now pinned to file:///src (version dev)
2024-11-04 17:32.49 ---> saved as "4d7f1199759e5f5b39b9812b3ebaa8776309c9a8971f09934dd8c05d9196bd3a"


/src: (env DEPS "backoff.0.1.1 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base csexp.1.5.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 dune.3.16.1 dune-configurator.3.16.1 host-arch-x86_64.1 host-system-other.1 kcas.0.7.0 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mtime.2.1.0 multicore-magic.2.3.0 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 psq.0.2.1 qcheck-core.0.22 qcheck-multicoretests-util.0.4 qcheck-stm.0.4 saturn.0.5.0 saturn_lockfree.0.5.0 seq.base thread-table.1.0.0 topkg.1.0.7")


/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 domainslib.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 [190 kB]
- Fetched 293 kB in 0s (860 kB/s)
- Reading package lists...


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[domainslib.dev] synchronised (no changes)


[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.0.0).
[NOTE] Package ocaml is already installed (current version is 5.0.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2024-11-04 17:33.10 ---> saved as "d77653e413c74f34027b71544e95a10f8349600b53b17ebf105238b12e803803"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.0.0).
[NOTE] Package ocaml is already installed (current version is 5.0.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-domains 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 22 packages
- install backoff                    0.1.1
- install csexp                      1.5.2
- install domain-local-await         1.0.1
- install domain-local-timeout       1.0.1
- install dune                       3.16.1
- install dune-configurator          3.16.1
- install kcas                       0.7.0
- install mirage-clock               4.2.0
- install mirage-clock-unix          4.2.0
- install mtime                      2.1.0
- install multicore-magic            2.3.0
- install ocamlbuild                 0.15.0
- install ocamlfind                  1.9.6
- install psq                        0.2.1
- install qcheck-core                0.22
- install qcheck-multicoretests-util 0.4
- install qcheck-stm                 0.4
- install saturn                     0.5.0
- install saturn_lockfree            0.5.0
- install seq                        base
- install thread-table               1.0.0
- install topkg                      1.0.7


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved backoff.0.1.1  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved domain-local-await.1.0.1  (cached)
-> retrieved domain-local-timeout.1.0.1  (cached)
-> retrieved kcas.0.7.0  (cached)
-> retrieved mirage-clock.4.2.0, mirage-clock-unix.4.2.0  (cached)
-> retrieved mtime.2.1.0  (cached)
-> retrieved multicore-magic.2.3.0  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved psq.0.2.1  (cached)
-> retrieved qcheck-core.0.22  (cached)
-> retrieved qcheck-multicoretests-util.0.4, qcheck-stm.0.4  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved saturn.0.5.0, saturn_lockfree.0.5.0  (cached)
-> retrieved thread-table.1.0.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved dune.3.16.1, dune-configurator.3.16.1  (cached)
-> installed ocamlbuild.0.15.0
-> installed ocamlfind.1.9.6
-> installed topkg.1.0.7
-> installed mtime.2.1.0
-> installed dune.3.16.1
-> installed mirage-clock.4.2.0
-> installed csexp.1.5.2
-> installed backoff.0.1.1
-> installed multicore-magic.2.3.0
-> installed psq.0.2.1
-> installed thread-table.1.0.0
-> installed domain-local-timeout.1.0.1
-> installed domain-local-await.1.0.1
-> installed qcheck-core.0.22
-> installed saturn_lockfree.0.5.0
-> installed qcheck-multicoretests-util.0.4
-> installed kcas.0.7.0
-> installed saturn.0.5.0
-> installed qcheck-stm.0.4
-> installed dune-configurator.3.16.1
-> installed mirage-clock-unix.4.2.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-11-04 17:34.04 ---> saved as "09b6f36a4331ce1e4639646f7fade7b339c2f769df5e104789c1a94e3bbe5826"


/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 14 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 cppo          1.7.0  [required by odoc]
- install crunch        3.3.1  [required by odoc]
- install fmt           0.9.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 ptime         1.2.0  [required by crunch]
- install re            1.12.0 [required by tyxml]
- install result        1.5    [required by odoc]
- install tyxml         4.6.0  [required by odoc]
- install uutf          1.0.3  [required by tyxml]


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved cppo.1.7.0  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved crunch.3.3.1  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved re.1.12.0  (cached)
-> retrieved tyxml.4.6.0  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved odoc.2.4.3, odoc-parser.2.4.3  (cached)
-> installed camlp-streams.5.0.1
-> installed result.1.5
-> installed cppo.1.7.0
-> installed re.1.12.0
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed odoc-parser.2.4.3
-> installed cmdliner.1.3.0
-> installed crunch.3.3.1
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed tyxml.4.6.0
-> installed odoc.2.4.3
Done.
# Run eval $(opam env) to update the current shell environment
2024-11-04 17:34.44 ---> saved as "17fced26b7992d0c7f239f861bca94c6811b7fffd1d2c35f23cb59b3477bec9c"


/src: (copy (src .) (dst /src/))
2024-11-04 17:34.44 ---> saved as "c5a2e9e72e51a9b5ff8432499d393122c1da7f3cdbf3c3ce5c34cca66882693b"


/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/5.0/bin/odoc link -I ../_odoc/pkg/domainslib -I ../../lib/.domainslib.objs/byte -o ../_odocls/domainslib/domainslib.odocl ../../lib/.domainslib.objs/byte/domainslib.odoc)
File "lib/task.mli", line 19, characters 11-30:
Warning: Failed to resolve reference unresolvedroot(Invalid_argument) Couldn't find "Invalid_argument"
2024-11-04 17:34.44 ---> saved as "9b41ce8e96b9996d50b7bce8678a1fdbaf06904e2bdc41940bb91390c085d898"
Job succeeded
2024-11-04 17:34.45: Job succeeded