Build:
  1. 1
  2. 0
2026-08-14 14:27.30: New job: test local/bruit bc72e8d5cd344f85e15795e840350cba44f88dde ((lint-doc))
Base: ocaml/opam@sha256:cafa9d27c295a906f8352bda7f585dbc78b2f762914fdaa3f8584030c6a8004d
Opam project lint documentation

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "/var/lib/git/repos/bruit" -b "main" && cd "bruit" && git reset --hard bc72e8d5
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:cafa9d27c295a906f8352bda7f585dbc78b2f762914fdaa3f8584030c6a8004d
# debian-13-5.3_opam-2.5
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 85a67e9d501a007b4bab20448f3301f816ec5eda || git fetch origin master) && git reset -q --hard 85a67e9d501a007b4bab20448f3301f816ec5eda && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 bruit.opam ./
RUN opam pin add -yn bruit.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base dune.3.24.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y bruit.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

2026-08-14 14:27.30: Waiting for resource in pool docker
2026-08-14 14:40.51: Got resource from pool docker
2026-08-14 14:40.51: Checking out commit bc72e8d5. To reproduce:
                       git clone --recursive "/var/lib/git/repos/bruit" -b "main" && cd "bruit" && git reset --hard bc72e8d5
2026-08-14 14:40.51: Exec: "cp" "-a" "--" "/var/lib/git/repos/bruit/.git" 
                           "/tmp/git-checkout58d21ed"
2026-08-14 14:40.51: Exec: "git" "-C" "/tmp/git-checkout58d21ed" "submodule" 
                           "deinit" "--force" "--all"
2026-08-14 14:40.51: Exec: "git" "-C" "/tmp/git-checkout58d21ed" "reset" 
                           "--hard" "-q" "bc72e8d5cd344f85e15795e840350cba44f88dde"
2026-08-14 14:40.51: Exec: "git" "-c" "protocol.file.allow=always" "-C" 
                           "/tmp/git-checkout58d21ed" "submodule" "update" 
                           "--recursive" "--init" "--no-fetch"
Writing BuildKit Dockerfile:
# syntax = docker/dockerfile:experimental@sha256:8c69d118cfcd040a222bea7f7d57c6156faa938cb61b47657cd65343babc3664
FROM ocaml/opam@sha256:cafa9d27c295a906f8352bda7f585dbc78b2f762914fdaa3f8584030c6a8004d
# debian-13-5.3_opam-2.5
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 --mount=type=cache,id=opam-archives,target=/home/opam/.opam/download-cache,uid=1000 cd ~/opam-repository && (git cat-file -e 85a67e9d501a007b4bab20448f3301f816ec5eda || git fetch origin master) && git reset -q --hard 85a67e9d501a007b4bab20448f3301f816ec5eda && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 bruit.opam ./
RUN opam pin add -yn bruit.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base dune.3.24.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN --mount=type=cache,id=opam-archives,target=/home/opam/.opam/download-cache,uid=1000 opam update --depexts && opam install --cli=2.2 --depext-only -y bruit.dev $DEPS
RUN --mount=type=cache,id=opam-archives,target=/home/opam/.opam/download-cache,uid=1000 opam install $DEPS
RUN --mount=type=cache,id=opam-archives,target=/home/opam/.opam/download-cache,uid=1000 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)

2026-08-14 14:40.51: Exec: "docker" "build" "--" "/tmp/git-checkout58d21ed"
#0 building with "default" instance using docker driver

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 1.74kB done
#1 DONE 0.0s

#2 resolve image config for docker-image://docker.io/docker/dockerfile:experimental@sha256:8c69d118cfcd040a222bea7f7d57c6156faa938cb61b47657cd65343babc3664
#2 DONE 1.0s

#3 docker-image://docker.io/docker/dockerfile:experimental@sha256:8c69d118cfcd040a222bea7f7d57c6156faa938cb61b47657cd65343babc3664
#3 CACHED

#4 [internal] load .dockerignore
#4 transferring context: 44B done
#4 DONE 0.0s

#5 [internal] load build definition from Dockerfile
#5 transferring dockerfile: 1.74kB done
#5 DONE 0.0s

#6 [internal] load metadata for docker.io/ocaml/opam@sha256:cafa9d27c295a906f8352bda7f585dbc78b2f762914fdaa3f8584030c6a8004d
#6 DONE 0.0s

#7 [stage-0  1/16] FROM docker.io/ocaml/opam@sha256:cafa9d27c295a906f8352bda7f585dbc78b2f762914fdaa3f8584030c6a8004d
#7 DONE 0.0s

#8 [stage-0  6/16] WORKDIR /src
#8 CACHED

#9 [stage-0  4/16] RUN opam init --reinit -ni
#9 CACHED

#10 [stage-0  5/16] RUN uname -rs && opam exec -- ocaml -version && opam --version
#10 CACHED

#11 [stage-0  2/16] WORKDIR /src
#11 CACHED

#12 [stage-0  3/16] RUN sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam
#12 CACHED

#13 [stage-0  7/16] RUN sudo chown opam /src
#13 CACHED

#14 [internal] settings cache mount permissions
#14 CACHED

#15 [internal] load build context
#15 transferring context: 28.09kB done
#15 DONE 0.0s

#16 [stage-0  8/16] RUN --mount=type=cache,id=opam-archives,target=/home/opam/.opam/download-cache,uid=1000 cd ~/opam-repository && (git cat-file -e 85a67e9d501a007b4bab20448f3301f816ec5eda || git fetch origin master) && git reset -q --hard 85a67e9d501a007b4bab20448f3301f816ec5eda && git log --no-decorate -n1 --oneline && opam update -u
#16 21.27 From https://github.com/ocaml/opam-repository
#16 21.27  * branch                  master     -> FETCH_HEAD
#16 21.33    fc08333d1b..566df006ad  master     -> origin/master
#16 65.22 85a67e9d50 [new release] dune (18 packages) (3.24.2)
#16 65.52 
#16 65.52 <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
#16 71.32 [default] synchronised from git+file:///home/opam/opam-repository
#16 76.14 
#16 80.11 Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
#16 80.11 
#16 80.11 The following packages are not being upgraded because the new versions conflict with other installed packages:
#16 80.11   - ocaml.5.6.0
#16 80.11   - ocaml-compiler.5.6
#16 80.11     -- ocaml-base-compiler.5.5.0 is installed and requires ocaml-compiler = 5.5.0
#16 80.11 However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
#16 80.11 Nothing to do.
#16 80.11 # Run eval $(opam env) to update the current shell environment
#16 DONE 80.6s

#17 [stage-0  9/16] COPY --chown=1000:1000 bruit.opam ./
#17 DONE 0.0s

#18 [stage-0 10/16] RUN opam pin add -yn bruit.dev './'
#18 1.088 Package bruit does not exist, create as a NEW package? [y/n] y
#18 1.148 [bruit.dev] synchronised (file:///src)
#18 1.149 [WARNING] Failed checks on bruit package definition from source at file:///src:
#18 1.149   warning 62: License doesn't adhere to the SPDX standard, see https://spdx.org/licenses/ : "LICENSE"
#18 1.151 bruit is now pinned to file:///src (version dev)
#18 DONE 1.2s

#19 [stage-0 11/16] RUN echo '(lang dune 3.0)' > './dune-project'
#19 DONE 0.2s

#20 [stage-0 12/16] RUN --mount=type=cache,id=opam-archives,target=/home/opam/.opam/download-cache,uid=1000 opam update --depexts && opam install --cli=2.2 --depext-only -y bruit.dev base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base dune.3.24.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1
#20 0.179 + /usr/bin/sudo "apt-get" "update"
#20 1.180 - Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
#20 1.180 - Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
#20 1.180 - Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
#20 1.180 - Get:4 http://deb.debian.org/debian trixie/main amd64 Packages [9673 kB]
#20 1.180 - Get:5 http://deb.debian.org/debian trixie-updates/main amd64 Packages.diff/Index [4995 B]
#20 1.180 - Err:5 http://deb.debian.org/debian trixie-updates/main amd64 Packages.diff/Index
#20 1.180 -   Need 4750 compressed bytes, but limit is 4412 and original is 4412
#20 1.180 - Get:6 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [240 kB]
#20 1.180 - Get:5 http://deb.debian.org/debian trixie-updates/main amd64 Packages.diff/Index [4995 B]
#20 1.180 - Ign:5 http://deb.debian.org/debian trixie-updates/main amd64 Packages.diff/Index
#20 1.180 - Get:7 http://deb.debian.org/debian trixie-updates/main amd64 Packages [4412 B]
#20 1.180 - Fetched 10.2 MB in 1s (13.2 MB/s)
#20 1.180 - Reading package lists...
#20 1.477 - 
#20 1.849 
#20 1.849 <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
#20 1.907 [bruit.dev] synchronised (file:///src)
#20 1.910 
#20 2.602 [NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
#20 2.602 [NOTE] Package ocaml-config is already installed (current version is 3).
#20 2.602 [NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
#20 2.602 [NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
#20 2.602 [NOTE] Package ocaml is already installed (current version is 5.3.0).
#20 2.602 [NOTE] Package base-unix is already installed (current version is base).
#20 2.602 [NOTE] Package base-threads is already installed (current version is base).
#20 2.602 [NOTE] Package base-nnp is already installed (current version is base).
#20 2.602 [NOTE] Package base-effects is already installed (current version is base).
#20 2.602 [NOTE] Package base-domains is already installed (current version is base).
#20 2.602 [NOTE] Package base-bigarray is already installed (current version is base).
#20 DONE 6.7s

#21 [stage-0 13/16] RUN --mount=type=cache,id=opam-archives,target=/home/opam/.opam/download-cache,uid=1000 opam install base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base dune.3.24.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1
#21 1.173 [NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
#21 1.173 [NOTE] Package ocaml-config is already installed (current version is 3).
#21 1.173 [NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
#21 1.173 [NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
#21 1.173 [NOTE] Package ocaml is already installed (current version is 5.3.0).
#21 1.173 [NOTE] Package base-unix is already installed (current version is base).
#21 1.173 [NOTE] Package base-threads is already installed (current version is base).
#21 1.173 [NOTE] Package base-nnp is already installed (current version is base).
#21 1.173 [NOTE] Package base-effects is already installed (current version is base).
#21 1.173 [NOTE] Package base-domains is already installed (current version is base).
#21 1.173 [NOTE] Package base-bigarray is already installed (current version is base).
#21 4.547 The following actions will be performed:
#21 4.547 === install 1 package
#21 4.547   - install dune 3.24.2
#21 4.548 
#21 4.548 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#21 6.513 -> retrieved dune.3.24.2  (cached)
#21 42.10 -> installed dune.3.24.2
#21 42.68 Done.
#21 42.68 # Run eval $(opam env) to update the current shell environment
#21 DONE 42.8s

#22 [stage-0 14/16] RUN --mount=type=cache,id=opam-archives,target=/home/opam/.opam/download-cache,uid=1000 opam install --yes dune 'odoc>=1.5.0'
#22 1.241 [NOTE] Package dune is already installed (current version is 3.24.2).
#22 4.658 The following actions will be performed:
#22 4.658 === install 17 packages
#22 4.658   - install astring       0.8.5  [required by odoc]
#22 4.658   - install camlp-streams 5.0.1  [required by odoc-parser]
#22 4.658   - install cmdliner      2.1.1  [required by odoc]
#22 4.658   - install cppo          1.8.0  [required by odoc]
#22 4.658   - install crunch        4.1.0  [required by odoc]
#22 4.658   - install fmt           0.11.0 [required by odoc]
#22 4.658   - install fpath         0.7.3  [required by odoc]
#22 4.658   - install ocamlbuild    0.16.1 [required by fmt, astring, fpath]
#22 4.658   - install ocamlfind     1.9.8  [required by fmt, astring, fpath]
#22 4.658   - install odoc          3.2.1
#22 4.658   - install odoc-parser   3.2.1  [required by odoc]
#22 4.658   - install ptime         1.2.0  [required by crunch]
#22 4.658   - install re            1.14.0 [required by tyxml]
#22 4.658   - install seq           base   [required by tyxml]
#22 4.658   - install topkg         1.1.1  [required by fmt, astring, fpath]
#22 4.658   - install tyxml         4.6.0  [required by odoc]
#22 4.658   - install uutf          1.0.4  [required by tyxml]
#22 4.659 
#22 4.659 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#22 4.678 -> retrieved camlp-streams.5.0.1  (cached)
#22 4.697 -> retrieved astring.0.8.5  (cached)
#22 4.745 -> retrieved cmdliner.2.1.1  (cached)
#22 4.778 -> retrieved cppo.1.8.0  (cached)
#22 4.793 -> retrieved fmt.0.11.0  (cached)
#22 4.800 -> retrieved fpath.0.7.3  (cached)
#22 4.844 -> retrieved ocamlbuild.0.16.1  (cached)
#22 4.895 -> retrieved ocamlfind.1.9.8  (cached)
#22 4.918 -> retrieved ptime.1.2.0  (cached)
#22 4.978 -> retrieved re.1.14.0  (cached)
#22 4.980 -> retrieved seq.base  (cached)
#22 5.022 -> retrieved topkg.1.1.1  (cached)
#22 5.034 -> retrieved crunch.4.1.0  (https://opam.ocaml.org/cache)
#22 5.050 -> retrieved uutf.1.0.4  (cached)
#22 5.118 -> retrieved tyxml.4.6.0  (cached)
#22 5.171 -> installed camlp-streams.5.0.1
#22 6.043 -> retrieved odoc.3.2.1, odoc-parser.3.2.1  (cached)
#22 6.074 -> installed cppo.1.8.0
#22 9.440 -> installed cmdliner.2.1.1
#22 9.587 -> installed ocamlfind.1.9.8
#22 9.642 -> installed re.1.14.0
#22 9.644 -> installed seq.base
#22 10.89 -> installed ocamlbuild.0.16.1
#22 15.71 -> installed topkg.1.1.1
#22 16.69 -> installed fmt.0.11.0
#22 16.84 -> installed ptime.1.2.0
#22 17.00 -> installed astring.0.8.5
#22 17.56 -> installed crunch.4.1.0
#22 17.59 -> installed uutf.1.0.4
#22 17.61 -> installed fpath.0.7.3
#22 18.31 -> installed odoc-parser.3.2.1
#22 20.05 -> installed tyxml.4.6.0
#22 29.09 -> installed odoc.3.2.1
#22 29.55 Done.
#22 29.55 # Run eval $(opam env) to update the current shell environment
#22 DONE 29.8s

#23 [stage-0 15/16] COPY --chown=1000:1000 . /src/
#23 DONE 0.0s

#24 [stage-0 16/16] RUN ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo "dune build @doc failed"; exit 2)
#24 0.293 File "src/dune", line 3, characters 12-20:
#24 0.293 3 |  (libraries terminal unix fmt astring)
#24 0.293                 ^^^^^^^^
#24 0.293 Error: Library "terminal" not found.
#24 0.293 -> required by library "bruit" in _build/default/src
#24 0.293 -> required by _build/default/_doc/_odocls/bruit/page-index.odocl
#24 0.293 -> required by _build/default/_doc/_html/bruit/index.html
#24 0.293 -> required by alias _doc/_html/bruit/doc
#24 0.293 -> required by alias doc
#24 0.323 dune build @doc failed
#24 ERROR: process "/bin/sh -c ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)" did not complete successfully: exit code: 2
------
 > [stage-0 16/16] RUN ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo "dune build @doc failed"; exit 2):
0.293 File "src/dune", line 3, characters 12-20:
0.293 3 |  (libraries terminal unix fmt astring)
0.293                 ^^^^^^^^
0.293 Error: Library "terminal" not found.
0.293 -> required by library "bruit" in _build/default/src
0.293 -> required by _build/default/_doc/_odocls/bruit/page-index.odocl
0.293 -> required by _build/default/_doc/_html/bruit/index.html
0.293 -> required by alias _doc/_html/bruit/doc
0.293 -> required by alias doc
0.323 dune build @doc failed
------
ERROR: failed to build: failed to solve: process "/bin/sh -c ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)" did not complete successfully: exit code: 2
2026-08-14 14:43.34: Job failed: Docker build exited with status 1