2025-04-03 16:19.38: New job: test robur-coop/miou https://github.com/robur-coop/miou.git#refs/heads/trace (179f707abe7a238d2a5c3e723fc76b2980973a36) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-12-ocaml-5.0@sha256:282e3407ce98e3be8538b28df5bdf7f0eca45e66519db0fa222ce3c2bb44fc61
Opam project lint documentation
To reproduce locally:
git clone --recursive "https://github.com/robur-coop/miou.git" -b "trace" && cd "miou" && git reset --hard 179f707a
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.0@sha256:282e3407ce98e3be8538b28df5bdf7f0eca45e66519db0fa222ce3c2bb44fc61
# 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 1b767795a4e028a4d45f916f1598c24ee7a7b6cb || git fetch origin master) && git reset -q --hard 1b767795a4e028a4d45f916f1598c24ee7a7b6cb && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 miou.opam ./
RUN opam pin add -yn miou.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 cmdliner.1.3.0 containers.3.15 csexp.1.5.2 digestif.1.2.0 dns.10.0.0 dns-client.10.0.0 domain-name.0.4.1 dscheck.0.5.0 dune.3.18.0 dune-configurator.3.18.0 duration.0.2.1 either.1.0.0 eqaf.0.10 fmt.0.10.0 gmap.0.3.0 happy-eyeballs.2.0.0 hxd.0.3.3 ipaddr.5.6.0 logs.0.8.0 lru.0.3.1 macaddr.5.6.0 metrics.0.4.1 mirage-crypto.2.0.0 mirage-crypto-rng.2.0.0 mtime.2.1.0 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ohex.0.2.0 oseq.0.5.1 psq.0.2.1 ptime.1.2.0 randomconv.0.2.0 seq.base topkg.1.0.8 tsort.2.2.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y miou.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-03 16:19.38: Using cache hint "robur-coop/miou-ocaml/opam:debian-12-ocaml-5.0@sha256:282e3407ce98e3be8538b28df5bdf7f0eca45e66519db0fa222ce3c2bb44fc61-debian-12-5.0_opam-2.3-a7568d8d5d0ce5f9d835693208c1299c"
2025-04-03 16:19.38: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.0@sha256:282e3407ce98e3be8538b28df5bdf7f0eca45e66519db0fa222ce3c2bb44fc61)
(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 1b767795a4e028a4d45f916f1598c24ee7a7b6cb || git fetch origin master) && git reset -q --hard 1b767795a4e028a4d45f916f1598c24ee7a7b6cb && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src miou.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn miou.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 cmdliner.1.3.0 containers.3.15 csexp.1.5.2 digestif.1.2.0 dns.10.0.0 dns-client.10.0.0 domain-name.0.4.1 dscheck.0.5.0 dune.3.18.0 dune-configurator.3.18.0 duration.0.2.1 either.1.0.0 eqaf.0.10 fmt.0.10.0 gmap.0.3.0 happy-eyeballs.2.0.0 hxd.0.3.3 ipaddr.5.6.0 logs.0.8.0 lru.0.3.1 macaddr.5.6.0 metrics.0.4.1 mirage-crypto.2.0.0 mirage-crypto-rng.2.0.0 mtime.2.1.0 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ohex.0.2.0 oseq.0.5.1 psq.0.2.1 ptime.1.2.0 randomconv.0.2.0 seq.base topkg.1.0.8 tsort.2.2.0")
(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 miou.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-03 16:19.38: Waiting for resource in pool OCluster
2025-04-04 02:52.23: Waiting for worker…
2025-04-04 02:55.37: Got resource from pool OCluster
Building on x86-bm-c6.sw.ocaml.org
All commits already cached
HEAD is now at 179f707 Continue
(from ocaml/opam:debian-12-ocaml-5.0@sha256:282e3407ce98e3be8538b28df5bdf7f0eca45e66519db0fa222ce3c2bb44fc61)
2025-04-04 02:55.37 ---> using "23554cdcf0b176073db3d3a932070cd0fef3d0c19131440aed2f391cb694a47e" 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-04-04 02:55.37 ---> using "c63aa1d93e61b3438c58b1c42e5364a8f899d1bd03e2558744f843219db77e70" 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-04 02:55.37 ---> using "8ade2911d05ba5565805c0ded4cc12878310bc560ba819a15544f725a3cf677a" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 5.0.0
2.2.1
2025-04-04 02:55.37 ---> using "8aecf745218b5df80911d2864964cd50de93ef68ad629ac4be260fbe7e09a0d6" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-04-04 02:55.37 ---> using "8b6ff894e63334c3a233243104ecc064a40b18b5e3c5192ec98fbc3f55e49088" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 1b767795a4e028a4d45f916f1598c24ee7a7b6cb || git fetch origin master) && git reset -q --hard 1b767795a4e028a4d45f916f1598c24ee7a7b6cb && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
a8ed476033..1b767795a4 master -> origin/master
1b767795a4 Merge pull request #27704 from maiste/release-dune-3.18.0
<><> 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-04 02:55.37 ---> using "d9d63d52d38e935493b953168762e05f08c00b83ac20711a1ff7dfa3105fb73f" from cache
/src: (copy (src miou.opam) (dst ./))
2025-04-04 02:55.37 ---> using "d567bd6c8ff95fa079c34347d7e3a1cb2e9f28fcf1dd7399da1b9aac41d1ac90" from cache
/src: (run (network host)
(shell "opam pin add -yn miou.dev './'"))
[miou.dev] synchronised (file:///src)
miou is now pinned to file:///src (version dev)
2025-04-04 02:55.37 ---> using "aedfc5d06b3c7809cdb0f11271ceb426c2e76e3131eac64ae6eece32496200c8" from cache
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-04-04 02:55.37 ---> using "f5425bfb998cd01a4e9b6a0d58d0154fff7a0337c004be93a8fb0e2567d79e06" from cache
/src: (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 cmdliner.1.3.0 containers.3.15 csexp.1.5.2 digestif.1.2.0 dns.10.0.0 dns-client.10.0.0 domain-name.0.4.1 dscheck.0.5.0 dune.3.18.0 dune-configurator.3.18.0 duration.0.2.1 either.1.0.0 eqaf.0.10 fmt.0.10.0 gmap.0.3.0 happy-eyeballs.2.0.0 hxd.0.3.3 ipaddr.5.6.0 logs.0.8.0 lru.0.3.1 macaddr.5.6.0 metrics.0.4.1 mirage-crypto.2.0.0 mirage-crypto-rng.2.0.0 mtime.2.1.0 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ohex.0.2.0 oseq.0.5.1 psq.0.2.1 ptime.1.2.0 randomconv.0.2.0 seq.base topkg.1.0.8 tsort.2.2.0")
/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 miou.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 [250 kB]
- Fetched 370 kB in 1s (568 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[miou.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-04-04 02:55.37 ---> using "30f4e7a88d34e06cf7e90ad7e70a8ad0ed181f140f103e2afacc7d234fe9c769" 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.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 36 packages
- install base64 3.5.1
- install cmdliner 1.3.0
- install containers 3.15
- install csexp 1.5.2
- install digestif 1.2.0
- install dns 10.0.0
- install dns-client 10.0.0
- install domain-name 0.4.1
- install dscheck 0.5.0
- install dune 3.18.0
- install dune-configurator 3.18.0
- install duration 0.2.1
- install either 1.0.0
- install eqaf 0.10
- install fmt 0.10.0
- install gmap 0.3.0
- install happy-eyeballs 2.0.0
- install hxd 0.3.3
- install ipaddr 5.6.0
- install logs 0.8.0
- install lru 0.3.1
- install macaddr 5.6.0
- install metrics 0.4.1
- install mirage-crypto 2.0.0
- install mirage-crypto-rng 2.0.0
- install mtime 2.1.0
- install ocamlbuild 0.16.1
- install ocamlfind 1.9.8
- install ohex 0.2.0
- install oseq 0.5.1
- install psq 0.2.1
- install ptime 1.2.0
- install randomconv 0.2.0
- install seq base
- install topkg 1.0.8
- install tsort 2.2.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base64.3.5.1 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved containers.3.15 (cached)
-> retrieved dns.10.0.0, dns-client.10.0.0 (cached)
-> retrieved domain-name.0.4.1 (cached)
-> retrieved dscheck.0.5.0 (cached)
-> retrieved duration.0.2.1 (cached)
-> retrieved either.1.0.0 (cached)
-> retrieved eqaf.0.10 (cached)
-> retrieved fmt.0.10.0 (cached)
-> retrieved gmap.0.3.0 (cached)
-> retrieved happy-eyeballs.2.0.0 (cached)
-> retrieved hxd.0.3.3 (cached)
-> retrieved ipaddr.5.6.0, macaddr.5.6.0 (cached)
-> retrieved logs.0.8.0 (cached)
-> retrieved lru.0.3.1 (cached)
-> retrieved metrics.0.4.1 (cached)
-> retrieved digestif.1.2.0 (cached)
-> retrieved mtime.2.1.0 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ohex.0.2.0 (cached)
-> retrieved dune.3.18.0, dune-configurator.3.18.0 (cached)
-> retrieved mirage-crypto.2.0.0, mirage-crypto-rng.2.0.0 (cached)
-> retrieved oseq.0.5.1 (cached)
-> retrieved psq.0.2.1 (cached)
-> retrieved seq.base (cached)
-> retrieved ptime.1.2.0 (cached)
-> retrieved randomconv.0.2.0 (cached)
-> retrieved tsort.2.2.0 (cached)
-> retrieved topkg.1.0.8 (cached)
-> installed cmdliner.1.3.0
-> installed seq.base
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.0.8
-> installed mtime.2.1.0
-> installed fmt.0.10.0
-> installed ptime.1.2.0
-> installed logs.0.8.0
-> installed dune.3.18.0
-> installed ohex.0.2.0
-> installed randomconv.0.2.0
-> installed duration.0.2.1
-> installed gmap.0.3.0
-> installed either.1.0.0
-> installed csexp.1.5.2
-> installed base64.3.5.1
-> installed domain-name.0.4.1
-> installed eqaf.0.10
-> installed macaddr.5.6.0
-> installed metrics.0.4.1
-> installed oseq.0.5.1
-> installed psq.0.2.1
-> installed tsort.2.2.0
-> installed lru.0.3.1
-> installed ipaddr.5.6.0
-> installed happy-eyeballs.2.0.0
-> installed digestif.1.2.0
-> installed dune-configurator.3.18.0
-> installed dns.10.0.0
-> installed hxd.0.3.3
-> installed mirage-crypto.2.0.0
-> installed mirage-crypto-rng.2.0.0
-> installed containers.3.15
-> installed dns-client.10.0.0
-> installed dscheck.0.5.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-04-04 02:55.37 ---> using "33f490cb0d951989604cc809045bae3c9aef8b0d2219faf82ad964c6860cdbf1" 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 12 packages
- install astring 0.8.5 [required by odoc]
- install camlp-streams 5.0 [required by odoc-parser]
- install cppo 1.6.6 [required by odoc]
- install crunch 4.0.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 re 1.9.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]
- install yojson 2.2.2 [required by odoc]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlp-streams.5.0 (cached)
-> retrieved cppo.1.6.6 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved crunch.4.0.0 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved result.1.5 (cached)
-> retrieved re.1.9.0 (cached)
-> retrieved tyxml.4.6.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved yojson.2.2.2 (cached)
-> installed camlp-streams.5.0
-> retrieved odoc.3.0.0, odoc-parser.3.0.0 (cached)
-> installed cppo.1.6.6
-> installed crunch.4.0.0
-> installed result.1.5
-> installed re.1.9.0
-> installed uutf.1.0.3
-> installed astring.0.8.5
-> installed yojson.2.2.2
-> installed fpath.0.7.3
-> installed odoc-parser.3.0.0
-> installed tyxml.4.6.0
-> installed odoc.3.0.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-04-04 02:55.37 ---> using "55f8360cfc7b9716bb6c1f0d581ed69318163974b8e2e2babf3891be4d681caa" from cache
/src: (copy (src .) (dst /src/))
2025-04-04 02:55.38 ---> saved as "40e63ee377dbbbbfe6914f17cc5e345170a00a39c47d867a5c53917e316866a7"
/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
(cd _build/default && /home/opam/.opam/5.0/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I lib/.miou_runtime_events.objs/byte -I /home/opam/.opam/5.0/lib/ocaml/runtime_events -no-alias-deps -opaque -o lib/.miou_runtime_events.objs/byte/miou_runtime_events.cmi -c -intf lib/miou_runtime_events.mli)
File "lib/miou_runtime_events.mli", line 25, characters 18-39:
25 | val spawn : spawn Runtime_events.User.t
^^^^^^^^^^^^^^^^^^^^^
Error: Unbound module Runtime_events.User
dune build @doc failed
"/usr/bin/env" "bash" "-c" "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo "dune build @doc failed"; exit 2)" failed with exit status 2
2025-04-04 02:55.38: Job failed: Failed: Build failed