2025-02-05 08:34.58: New job: test ocaml-multicore/effects-examples https://github.com/ocaml-multicore/effects-examples.git#refs/heads/master (8a7e80dd29e68e2d05fe4b0399c8535a51f36395) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-12-ocaml-5.0@sha256:b76c766bee396852c25d4b17148c2c695483eba5904a1515808a576bc92c07f0
Opam project lint documentation
To reproduce locally:
git clone --recursive "https://github.com/ocaml-multicore/effects-examples.git" -b "master" && cd "effects-examples" && git reset --hard 8a7e80dd
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.0@sha256:b76c766bee396852c25d4b17148c2c695483eba5904a1515808a576bc92c07f0
# debian-12-5.0_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 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 effects-examples.opam ./
RUN opam pin add -yn effects-examples.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 lwt.5.9.0 multicont.1.0.3 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y effects-examples.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-05 08:34.58: Using cache hint "ocaml-multicore/effects-examples-ocaml/opam:debian-12-ocaml-5.0@sha256:b76c766bee396852c25d4b17148c2c695483eba5904a1515808a576bc92c07f0-debian-12-5.0_opam-2.3-ba23954067247e55921e810e4de4ff68"
2025-02-05 08:34.58: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.0@sha256:b76c766bee396852c25d4b17148c2c695483eba5904a1515808a576bc92c07f0)
(comment debian-12-5.0_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 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src effects-examples.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn effects-examples.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 lwt.5.9.0 multicont.1.0.3 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.2")
(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 effects-examples.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-05 08:34.58: Waiting for resource in pool OCluster
2025-02-05 11:48.20: Waiting for worker…
2025-02-05 11:51.21: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 8a7e80d Merge pull request #44 from ocaml-multicore/multicont-1.0.3
(from ocaml/opam:debian-12-ocaml-5.0@sha256:b76c766bee396852c25d4b17148c2c695483eba5904a1515808a576bc92c07f0)
2025-02-05 11:51.22 ---> using "810efee3cf583c9f1c39146a67e6881f77bdf5162f874b2f96caa8c7358148f6" from cache
/: (comment debian-12-5.0_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-05 11:51.22 ---> using "f7041f9855957e00ea89ca09809f4cf0e264dfb7afd100ebea9b26f735de2189" 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-05 11:51.22 ---> using "06f256aebc535a506991b8fd271956d70d6813b09be329ccb40c8d128239e77d" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 5.0.0
2.2.1
2025-02-05 11:51.22 ---> using "4edf431f520bbac15176522e01134b6e144f3aca5edf4415ce742edf8526778b" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-02-05 11:51.22 ---> using "bd6a34c84e11281d38b84db3688e7367665263e565c5c603a1f494b51fb4393b" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
3e681a81f6..3ee951993d master -> origin/master
3ee951993d Merge pull request #27253 from kit-ty-kate/opam-publish-ocamlfind.1.9.8
<><> 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-05 11:51.22 ---> using "d5a1d8551ef94aac1dd18d354dcf9e04dab0f116d22648552bd29e18c1d731b8" from cache
/src: (copy (src effects-examples.opam) (dst ./))
2025-02-05 11:51.22 ---> saved as "acecfbcb1fdf37b56f882be09262f1e63d4106a27aad2d86cd917e5b9b3088dc"
/src: (run (network host)
(shell "opam pin add -yn effects-examples.dev './'"))
Package effects-examples does not exist, create as a NEW package? [y/n] y
[effects-examples.dev] synchronised (file:///src)
[WARNING] Failed checks on effects-examples package definition from source at file:///src:
warning 68: Missing field 'license'
effects-examples is now pinned to file:///src (version dev)
2025-02-05 11:51.24 ---> saved as "9eb0060af7d0c8bbde8661bde92d43b2b768cffa80a6c12ad3474fc5729be187"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-02-05 11:51.24 ---> saved as "a6124a463adf1feadc0a68a4185464512192a1f176d8f002e2f070d1433384cd"
/src: (env DEPS "base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 lwt.5.9.0 multicont.1.0.3 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.2")
/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 effects-examples.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 (1171 kB/s)
- Reading package lists...
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[effects-examples.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.0.0).
[NOTE] Package ocaml is already installed (current version is 5.0.0).
[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-02-05 11:51.35 ---> saved as "d1ff33ddfbc43a0aba01804ec61de2a119f1904f8b0867ba41d11a6c8bdb8fcd"
/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 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 9 packages
- install base-bytes base
- install cppo 1.8.0
- install csexp 1.5.2
- install dune 3.17.2
- install dune-configurator 3.17.2
- install lwt 5.9.0
- install multicont 1.0.3
- install ocamlfind 1.9.8
- install ocplib-endian 1.2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved multicont.1.0.3 (cached)
-> retrieved lwt.5.9.0 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved dune.3.17.2, dune-configurator.3.17.2 (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.17.2
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.17.2
-> installed multicont.1.0.3
-> installed lwt.5.9.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-02-05 11:52.16 ---> saved as "9d9041075f753f53ce0661b93d3fa721cc701204c0a624ce493583885f73459c"
/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 16 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 crunch 3.3.1 [required by odoc]
- install fmt 0.9.0 [required by odoc]
- install fpath 0.7.3 [required by odoc]
- install ocamlbuild 0.15.0 [required by fmt, astring, fpath]
- install odoc 2.4.4
- install odoc-parser 2.4.4 [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 seq base [required by tyxml]
- install topkg 1.0.7 [required by fmt, astring, fpath]
- 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 cmdliner.1.3.0 (cached)
-> retrieved crunch.3.3.1 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved ptime.1.2.0 (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved result.1.5 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved tyxml.4.6.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved odoc.2.4.4, odoc-parser.2.4.4 (cached)
-> installed camlp-streams.5.0.1
-> installed result.1.5
-> installed re.1.12.0
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.15.0
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed crunch.3.3.1
-> installed fpath.0.7.3
-> 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-05 11:52.48 ---> saved as "8dfd5edd9026110f10e84c4d0523ab53e8278f2c0c4026319d7eac81bbbc0585"
/src: (copy (src .) (dst /src/))
2025-02-05 11:52.49 ---> saved as "629568a9ffcc810ff645ba710660ef17520bbf6d21911f8b08b85c1d6c3055c4"
/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
2025-02-05 11:52.49 ---> saved as "4c11e4834c3eae69eb183a3f9e98a6b3feabceac901a068667ce8a9c5347e39c"
Job succeeded
2025-02-05 11:52.49: Job succeeded