2024-12-19 22:49.45: New job: test ocaml-multicore/multicore-magic https://github.com/ocaml-multicore/multicore-magic.git#refs/heads/main (0e662bba3d98ce5b827b0b250ed76a80cec84821) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-12-ocaml-4.12@sha256:f0676a888adc47e50059320a78aaeebbdbb1ef68aafa2b5a74fce5c1d6480815
Opam project lint documentation
To reproduce locally:
git clone --recursive "https://github.com/ocaml-multicore/multicore-magic.git" -b "main" && cd "multicore-magic" && git reset --hard 0e662bba
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.12@sha256:f0676a888adc47e50059320a78aaeebbdbb1ef68aafa2b5a74fce5c1d6480815
# debian-12-4.12_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 multicore-magic.opam multicore-magic-dscheck.opam ./
RUN opam pin add -yn multicore-magic.dev './' && \
opam pin add -yn multicore-magic-dscheck.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.1.3.0 containers.3.15 csexp.1.5.2 domain_shims.0.1.0 dscheck.0.5.0 dune.3.17.1 dune-configurator.3.17.1 either.1.0.0 fmt.0.9.0 ocaml.4.12.1 ocaml-base-compiler.4.12.1 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 oseq.0.5.1 re.1.12.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 tsort.2.1.0 uutf.1.0.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y multicore-magic.dev multicore-magic-dscheck.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:49.45: Using cache hint "ocaml-multicore/multicore-magic-ocaml/opam:debian-12-ocaml-4.12@sha256:f0676a888adc47e50059320a78aaeebbdbb1ef68aafa2b5a74fce5c1d6480815-debian-12-4.12_opam-2.3-a06ad1e2b456af2fe436b4633f4566c0"
2024-12-19 22:49.45: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.12@sha256:f0676a888adc47e50059320a78aaeebbdbb1ef68aafa2b5a74fce5c1d6480815)
(comment debian-12-4.12_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 multicore-magic.opam multicore-magic-dscheck.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn multicore-magic.dev './' && \
\nopam pin add -yn multicore-magic-dscheck.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.1.3.0 containers.3.15 csexp.1.5.2 domain_shims.0.1.0 dscheck.0.5.0 dune.3.17.1 dune-configurator.3.17.1 either.1.0.0 fmt.0.9.0 ocaml.4.12.1 ocaml-base-compiler.4.12.1 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 oseq.0.5.1 re.1.12.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 tsort.2.1.0 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 multicore-magic.dev multicore-magic-dscheck.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:49.45: Waiting for resource in pool OCluster
2024-12-20 10:56.19: Waiting for worker…
2024-12-20 10:58.53: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 0e662bb Upgrade to ocamlformat 0.27.0
(from ocaml/opam:debian-12-ocaml-4.12@sha256:f0676a888adc47e50059320a78aaeebbdbb1ef68aafa2b5a74fce5c1d6480815)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.12@sha256:f0676a888adc47e50059320a78aaeebbdbb1ef68aafa2b5a74fce5c1d6480815' locally
docker.io/ocaml/opam@sha256:f0676a888adc47e50059320a78aaeebbdbb1ef68aafa2b5a74fce5c1d6480815: Pulling from ocaml/opam
e0268ce001e7: Pulling fs layer
e0268ce001e7: Verifying Checksum
e0268ce001e7: Download complete
e0268ce001e7: Pull complete
Digest: sha256:f0676a888adc47e50059320a78aaeebbdbb1ef68aafa2b5a74fce5c1d6480815
Status: Downloaded newer image for ocaml/opam@sha256:f0676a888adc47e50059320a78aaeebbdbb1ef68aafa2b5a74fce5c1d6480815
2024-12-20 10:58.53 ---> using "6fcfc1c338f3756f3af4d79261682610553b4e3bd6c67e9222139f95421e16e4" from cache
/: (comment debian-12-4.12_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 10:58.53 ---> using "133acc8ac74ca8b18f96d3b42f8e0c4e36ed5e21f5af5f5f78bd980aeaf593d6" 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
2024-12-20 10:58.53 ---> using "0e34680cb33ca19cbd251c2c95e135e104e33984118a444b00f2cd3e62409c67" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-126-generic
The OCaml toplevel, version 4.12.1
2.2.1
2024-12-20 10:58.53 ---> using "c02138852f9bcabdaa30c9c3e92c25b0d7a56f8c15a44060865d780cafc11b6b" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-12-20 10:58.53 ---> using "827fc4efad3df6865f60f5965278c84ad8cb612e3a7b99a5c99c0b65a7a2a1a2" 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 10:58.53 ---> using "ba7145c7b498ed95ca00eb9450d9a998ac61a86a76148ddb12dc3cdd4993e125" from cache
/src: (copy (src multicore-magic.opam multicore-magic-dscheck.opam) (dst ./))
2024-12-20 10:58.54 ---> saved as "d85695ce515284ae98773af2dde2b3671878a9119c090c99160e366f4cde67a9"
/src: (run (network host)
(shell "opam pin add -yn multicore-magic.dev './' && \
\nopam pin add -yn multicore-magic-dscheck.dev './'"))
[multicore-magic.dev] synchronised (file:///src)
multicore-magic is now pinned to file:///src (version dev)
[multicore-magic-dscheck.dev] synchronised (file:///src)
multicore-magic-dscheck is now pinned to file:///src (version dev)
2024-12-20 10:58.57 ---> saved as "0331520ae1fd21756dfb3a2a57693b1e2c0729ba6513b09a54bb23932ac4a7c1"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2024-12-20 10:58.57 ---> saved as "9387902d2d1031857fb27d45a07134bc23f3af76e7c93db8e6aa756600d577e3"
/src: (env DEPS "alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.1.3.0 containers.3.15 csexp.1.5.2 domain_shims.0.1.0 dscheck.0.5.0 dune.3.17.1 dune-configurator.3.17.1 either.1.0.0 fmt.0.9.0 ocaml.4.12.1 ocaml-base-compiler.4.12.1 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 oseq.0.5.1 re.1.12.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 tsort.2.1.0 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 multicore-magic.dev multicore-magic-dscheck.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 (990 kB/s)
- Reading package lists...
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[multicore-magic.dev] synchronised (file:///src)
[multicore-magic-dscheck.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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.12.1).
[NOTE] Package ocaml is already installed (current version is 4.12.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 10:59.12 ---> saved as "94502202b2754a5194f26756d30b045d9a80a0cbdf0b5749ad0c4770749a44c9"
/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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.12.1).
[NOTE] Package ocaml is already installed (current version is 4.12.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 21 packages
- install alcotest 1.8.0
- install astring 0.8.5
- install cmdliner 1.3.0
- install containers 3.15
- install csexp 1.5.2
- install domain_shims 0.1.0
- install dscheck 0.5.0
- install dune 3.17.1
- install dune-configurator 3.17.1
- install either 1.0.0
- install fmt 0.9.0
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild 0.15.0
- install ocamlfind 1.9.6
- install oseq 0.5.1
- install re 1.12.0
- install seq base
- install stdlib-shims 0.3.0
- install topkg 1.0.7
- install tsort 2.1.0
- install uutf 1.0.3
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved alcotest.1.8.0 (cached)
-> retrieved containers.3.15 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved domain_shims.0.1.0 (cached)
-> retrieved dscheck.0.5.0 (cached)
-> retrieved either.1.0.0 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved oseq.0.5.1 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved re.1.12.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved tsort.2.1.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved dune.3.17.1, dune-configurator.3.17.1 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.15.0
-> installed ocamlfind.1.9.6
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed dune.3.17.1
-> installed domain_shims.0.1.0
-> installed csexp.1.5.2
-> installed either.1.0.0
-> installed ocaml-syntax-shims.1.0.0
-> installed oseq.0.5.1
-> installed re.1.12.0
-> installed stdlib-shims.0.3.0
-> installed tsort.2.1.0
-> installed alcotest.1.8.0
-> installed dune-configurator.3.17.1
-> installed containers.3.15
-> installed dscheck.0.5.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-12-20 10:59.58 ---> saved as "199796aed28cd3dd571b0f6fce5db5fc7a8a66f7445e95cf54b09d8a167f091f"
/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 9 packages
- install camlp-streams 5.0.1 [required by odoc-parser]
- install cppo 1.8.0 [required by odoc]
- install crunch 3.3.1 [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 ptime 1.2.0 [required by crunch]
- 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.3.3.1 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved result.1.5 (cached)
-> retrieved ptime.1.2.0 (cached)
-> retrieved tyxml.4.6.0 (cached)
-> retrieved odoc.2.4.4, odoc-parser.2.4.4 (cached)
-> installed camlp-streams.5.0.1
-> installed fpath.0.7.3
-> installed result.1.5
-> installed cppo.1.8.0
-> installed ptime.1.2.0
-> installed crunch.3.3.1
-> 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:00.20 ---> saved as "1965ee148ee9d792adee4e7d23b57078b95e9afc561e9f11b02e9527385e3c2c"
/src: (copy (src .) (dst /src/))
2024-12-20 11:00.20 ---> saved as "011856555d7d6560fa30dff837f1665459dba5ab6f7a383b17d11bf9798841ad"
/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
2024-12-20 11:00.21 ---> saved as "855029bce767a6cd14cb091dede43de4d50a74544f4db73ca940b0cdb466f616"
Job succeeded
2024-12-20 11:00.21: Job succeeded