Organisationsocaml-multicoredomainslibea7747 ()(lint-doc)

(lint-doc)

Link Copied
Code Copied

Logs

2025-04-09 14:55.42: New job: test ocaml-multicore/domainslib https://github.com/ocaml-multicore/domainslib.git#refs/heads/main (ea774752b03ffa885f75e9d0439b3f5a413659b0) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-12-ocaml-5.2@sha256:89ec63b50b2a5b473e2ee6ac01bf5fc8513ec4fc85f485bbee7ea4ce1c250e71
Opam project lint documentation


To reproduce locally:


git clone --recursive "https://github.com/ocaml-multicore/domainslib.git" -b "main" && cd "domainslib" && git reset --hard ea774752
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.2@sha256:89ec63b50b2a5b473e2ee6ac01bf5fc8513ec4fc85f485bbee7ea4ce1c250e71
# debian-12-5.2_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 dc34160691d9a3f3f479a806e82dde94dea3f463 || git fetch origin master) && git reset -q --hard dc34160691d9a3f3f479a806e82dde94dea3f463 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 domainslib.opam ./
RUN opam pin add -yn domainslib.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
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.18.0 dune-configurator.3.18.0 kcas.0.7.0 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mtime.2.1.0 multicore-magic.2.3.1 ocaml.5.2.1 ocaml-base-compiler.5.2.1 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 psq.0.2.1 qcheck-core.0.25 qcheck-multicoretests-util.0.7 qcheck-stm.0.7 saturn.1.0.0 seq.base thread-table.1.0.0 topkg.1.0.8"
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


2025-04-09 14:55.42: Using cache hint "ocaml-multicore/domainslib-ocaml/opam:debian-12-ocaml-5.2@sha256:89ec63b50b2a5b473e2ee6ac01bf5fc8513ec4fc85f485bbee7ea4ce1c250e71-debian-12-5.2_opam-2.3-8ef18b595c7ac8e04344d5908512fbdd"
2025-04-09 14:55.42: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.2@sha256:89ec63b50b2a5b473e2ee6ac01bf5fc8513ec4fc85f485bbee7ea4ce1c250e71)
(comment debian-12-5.2_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 dc34160691d9a3f3f479a806e82dde94dea3f463 || git fetch origin master) && git reset -q --hard dc34160691d9a3f3f479a806e82dde94dea3f463 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src domainslib.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn domainslib.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(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.18.0 dune-configurator.3.18.0 kcas.0.7.0 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mtime.2.1.0 multicore-magic.2.3.1 ocaml.5.2.1 ocaml-base-compiler.5.2.1 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 psq.0.2.1 qcheck-core.0.25 qcheck-multicoretests-util.0.7 qcheck-stm.0.7 saturn.1.0.0 seq.base thread-table.1.0.0 topkg.1.0.8")
(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)"))
)


2025-04-09 14:55.42: Waiting for resource in pool OCluster
2025-04-09 14:55.42: Waiting for worker…
2025-04-09 14:55.43: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
HEAD is now at ea77475 Merge pull request #129 from ocaml-multicore/fix_saturn_dep


(from ocaml/opam:debian-12-ocaml-5.2@sha256:89ec63b50b2a5b473e2ee6ac01bf5fc8513ec4fc85f485bbee7ea4ce1c250e71)
2025-04-09 14:55.43 ---> using "38896d45c132e80618e0ea619c3f1eaa7c74f33d36affcfd5cb62a4306714da8" from cache


/: (comment debian-12-5.2_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-04-09 14:55.43 ---> using "f41ac884cfbbf8e5891614b0a5b97da73cc9990bb8eec87c4d5cd9a4edb4dd1d" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-04-09 14:55.43 ---> using "50bc45f8a55857ea1cb99b2e6629dd9208b2b51ef5ede898fe841406e9eca445" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 5.2.1
2.2.1
2025-04-09 14:55.43 ---> using "4d202e4a1203cfea5cca6c3e20c828e365db073a57d0168f1eccc941a05edfea" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-04-09 14:55.43 ---> using "1d971b5173965ee9bc3a183410562889aa83d602d199941cd43b9f07f56f8251" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e dc34160691d9a3f3f479a806e82dde94dea3f463 || git fetch origin master) && git reset -q --hard dc34160691d9a3f3f479a806e82dde94dea3f463 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
a8ed476033..fa0e8c74bf  master     -> origin/master
dc34160691 Merge pull request #27711 from jmid/opam-publish-qcheck.0.25-ppx_deriving_qcheck.0.7


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[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-04-09 14:55.43 ---> using "bf392687b6fdd406126112a43ad428b3d9e9ec425d6b2e290945a7482d02c6b3" from cache


/src: (copy (src domainslib.opam) (dst ./))
2025-04-09 14:55.43 ---> using "e392c2e6a7a8e712fc8c21ed30fc3ed3345857dbe39a53c9a00883a94de5700e" from cache


/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)
2025-04-09 14:55.43 ---> using "ee8e8747573e67460669f46c9297dec8e9053fea9caaf2516d1b909dc6c8de17" from cache


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-04-09 14:55.43 ---> using "0db57510c54898c4c761d284eaa596e5376c8d71fd5f3a2759b96c9d541efd0f" from cache


/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.18.0 dune-configurator.3.18.0 kcas.0.7.0 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mtime.2.1.0 multicore-magic.2.3.1 ocaml.5.2.1 ocaml-base-compiler.5.2.1 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 psq.0.2.1 qcheck-core.0.25 qcheck-multicoretests-util.0.7 qcheck-stm.0.7 saturn.1.0.0 seq.base thread-table.1.0.0 topkg.1.0.8")


/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 bookworm-updates/main amd64 Packages.diff/Index [16.2 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2025-03-27-1414.15-F-2025-03-27-1414.15.pdiff [187 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2025-03-27-1414.15-F-2025-03-27-1414.15.pdiff [187 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [252 kB]
- Fetched 372 kB in 1s (540 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[domainslib.dev] synchronised (file:///src)


[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.2.1).
[NOTE] Package ocaml is already installed (current version is 5.2.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).
2025-04-09 14:55.43 ---> using "b7d315f37129512a1fff0d592646098e1956d3dd806b994d0375daf815aae4a5" from cache


/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.2.1).
[NOTE] Package ocaml is already installed (current version is 5.2.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 21 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.18.0
- install dune-configurator          3.18.0
- 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.1
- install ocamlbuild                 0.16.1
- install ocamlfind                  1.9.8
- install psq                        0.2.1
- install qcheck-core                0.25
- install qcheck-multicoretests-util 0.7
- install qcheck-stm                 0.7
- install saturn                     1.0.0
- install seq                        base
- install thread-table               1.0.0
- install topkg                      1.0.8


<><> 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.1  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved psq.0.2.1  (cached)
-> retrieved qcheck-core.0.25  (cached)
-> retrieved qcheck-multicoretests-util.0.7, qcheck-stm.0.7  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved saturn.1.0.0  (cached)
-> retrieved thread-table.1.0.0  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved dune.3.18.0, dune-configurator.3.18.0  (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.0.8
-> installed mtime.2.1.0
-> installed dune.3.18.0
-> installed mirage-clock.4.2.0
-> installed backoff.0.1.1
-> installed csexp.1.5.2
-> installed multicore-magic.2.3.1
-> 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.25
-> installed saturn.1.0.0
-> installed kcas.0.7.0
-> installed qcheck-multicoretests-util.0.7
-> installed dune-configurator.3.18.0
-> installed qcheck-stm.0.7
-> installed mirage-clock-unix.4.2.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-04-09 14:55.43 ---> using "f06735519c0660ef8f6389141cd81a8aaea2455776bac715efdb12913741eeb9" 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.18.0).
The following actions will be performed:
=== install 15 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.8.0  [required by odoc]
- install crunch        4.0.0  [required by odoc]
- install fmt           0.10.0 [required by odoc]
- install fpath         0.7.3  [required by odoc]
- install odoc          3.0.0
- install odoc-parser   3.0.0  [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.4  [required by tyxml]
- install yojson        2.2.2  [required by odoc]


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved crunch.4.0.0  (cached)
-> retrieved fmt.0.10.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 uutf.1.0.4  (cached)
-> retrieved tyxml.4.6.0  (cached)
-> retrieved yojson.2.2.2  (cached)
-> retrieved odoc.3.0.0, odoc-parser.3.0.0  (cached)
-> installed camlp-streams.5.0.1
-> installed result.1.5
-> installed re.1.12.0
-> installed cppo.1.8.0
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed yojson.2.2.2
-> installed fpath.0.7.3
-> installed odoc-parser.3.0.0
-> installed cmdliner.1.3.0
-> installed crunch.4.0.0
-> installed uutf.1.0.4
-> installed fmt.0.10.0
-> installed tyxml.4.6.0
-> installed odoc.3.0.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-04-09 14:55.43 ---> using "7345a6d0d202282cf476fc6b61a84f1e1306e2a0a4bb754feab1b18bbffd9bb2" from cache


/src: (copy (src .) (dst /src/))
2025-04-09 14:55.43 ---> using "a774f2d9c80c84b56337eeb8341ba543ecbf367628ce59a29563a8113d8298f8" 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/5.2/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"
2025-04-09 14:55.43 ---> using "849b12337636cea1d923fb94dbdaed833d3513ebf37ed90032f329947fa4b509" from cache
Job succeeded
2025-04-09 14:55.44: Job succeeded