Build:
  1. 1
  2. 0
2026-07-15 14:02.57: New job: test local/bruit bc72e8d5cd344f85e15795e840350cba44f88dde (debian-13-5.4_opam-2.5)
Base: ocaml/opam@sha256:17b8bdc36f2ac75d0095f84285b700c0ad7bee71b4925f3c56a98e3a8dec509b
Opam project build

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:17b8bdc36f2ac75d0095f84285b700c0ad7bee71b4925f3c56a98e3a8dec509b
# debian-13-5.4_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.5 /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 662e6a3427c777b88986bc9d015759eaaab0ea96 || git fetch origin master) && git reset -q --hard 662e6a3427c777b88986bc9d015759eaaab0ea96 && 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.0 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-config.3 ocaml-options-vanilla.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y bruit.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK

2026-07-15 14:02.57: Waiting for resource in pool docker
2026-07-15 14:02.57: Got resource from pool docker
2026-07-15 14:02.57: Checking out commit bc72e8d5. To reproduce:
                       git clone --recursive "/var/lib/git/repos/bruit" -b "main" && cd "bruit" && git reset --hard bc72e8d5
2026-07-15 14:02.57: Exec: "cp" "-a" "--" "/var/lib/git/repos/bruit/.git" 
                           "/tmp/git-checkout27ee581a"
2026-07-15 14:02.57: Exec: "git" "-C" "/tmp/git-checkout27ee581a" "submodule" 
                           "deinit" "--force" "--all"
2026-07-15 14:02.57: Exec: "git" "-C" "/tmp/git-checkout27ee581a" "reset" 
                           "--hard" "-q" "bc72e8d5cd344f85e15795e840350cba44f88dde"
2026-07-15 14:02.57: Exec: "git" "-c" "protocol.file.allow=always" "-C" 
                           "/tmp/git-checkout27ee581a" "submodule" "update" 
                           "--recursive" "--init" "--no-fetch"
Writing BuildKit Dockerfile:
# syntax = docker/dockerfile:experimental@sha256:8c69d118cfcd040a222bea7f7d57c6156faa938cb61b47657cd65343babc3664
FROM ocaml/opam@sha256:17b8bdc36f2ac75d0095f84285b700c0ad7bee71b4925f3c56a98e3a8dec509b
# debian-13-5.4_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.5 /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 662e6a3427c777b88986bc9d015759eaaab0ea96 || git fetch origin master) && git reset -q --hard 662e6a3427c777b88986bc9d015759eaaab0ea96 && 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.0 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 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.5 --depext-only -y bruit.dev $DEPS
RUN --mount=type=cache,id=opam-archives,target=/home/opam/.opam/download-cache,uid=1000 opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build

2026-07-15 14:02.58: Exec: "docker" "build" "--" "/tmp/git-checkout27ee581a"
#0 building with "default" instance using docker driver

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

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

#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.59kB done
#5 DONE 0.0s

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

#7 [stage-0  1/15] FROM docker.io/ocaml/opam@sha256:17b8bdc36f2ac75d0095f84285b700c0ad7bee71b4925f3c56a98e3a8dec509b
#7 CACHED

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

#9 [internal] load build context
#9 transferring context: 27.94kB done
#9 DONE 0.0s

#10 [stage-0  2/15] WORKDIR /src
#10 DONE 0.0s

#11 [stage-0  3/15] RUN sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam
#11 DONE 0.3s

#12 [stage-0  4/15] RUN opam init --reinit -ni
#12 0.216 Configuring from /home/opam/.opamrc and then from built-in defaults.
#12 0.216 Checking for available remotes: rsync and local, git.
#12 0.216   - you won't be able to use mercurial repositories unless you install the hg command on your system.
#12 0.216   - you won't be able to use darcs repositories unless you install the darcs command on your system.
#12 0.216 
#12 0.238 This version of opam requires an update to the layout of /home/opam/.opam from version 2.1 to version 2.2, which can't be reverted.
#12 0.238 You may want to back it up before going further.
#12 0.238 
#12 0.239 Continue? [Y/n] y
#12 0.239 [NOTE] The 'jobs' option was reset, its value was 1 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
#12 0.239            opam option jobs=1 --global
#12 0.241 Format upgrade done.
#12 6.873 
#12 6.873 <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
#12 9.265 [default] no changes from git+file:///home/opam/opam-repository
#12 DONE 11.2s

#13 [stage-0  5/15] RUN uname -rs && opam exec -- ocaml -version && opam --version
#13 0.210 Linux 6.12.77
#13 0.275 The OCaml toplevel, version 5.4.1
#13 0.307 2.5.2
#13 DONE 0.3s

#14 [stage-0  6/15] WORKDIR /src
#14 DONE 0.0s

#15 [stage-0  7/15] RUN sudo chown opam /src
#15 DONE 0.2s

#16 [stage-0  8/15] RUN --mount=type=cache,id=opam-archives,target=/home/opam/.opam/download-cache,uid=1000 cd ~/opam-repository && (git cat-file -e 662e6a3427c777b88986bc9d015759eaaab0ea96 || git fetch origin master) && git reset -q --hard 662e6a3427c777b88986bc9d015759eaaab0ea96 && git log --no-decorate -n1 --oneline && opam update -u
#16 42.70 662e6a3427 [new release] dune (18 packages) (3.24.0)
#16 43.00 
#16 43.00 <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
#16 48.72 [default] synchronised from git+file:///home/opam/opam-repository
#16 49.20 
#16 52.64 Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
#16 52.64 
#16 52.64 The following packages are not being upgraded because the new versions conflict with other installed packages:
#16 52.64   - ocaml.5.5.1
#16 52.64   - ocaml-compiler.5.5.0
#16 52.64 However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.5.1"), which will ask permission to downgrade or uninstall the conflicting packages.
#16 52.64 Nothing to do.
#16 52.64 # To update the current shell environment, run: eval $(opam env)
#16 DONE 53.3s

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

#18 [stage-0 10/15] RUN opam pin add -yn bruit.dev './'
#18 1.107 [NOTE] Package bruit does not exist in opam repositories registered in the current switch.
#18 1.166 [bruit.dev] synchronised (file:///src)
#18 1.166 [WARNING] Failed checks on bruit package definition from source at file:///src:
#18 1.166   warning 62: License doesn't adhere to the SPDX standard, see https://spdx.org/licenses/ : "LICENSE"
#18 1.168 bruit is now pinned to file:///src (version dev)
#18 DONE 1.2s

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

#20 [stage-0 12/15] RUN --mount=type=cache,id=opam-archives,target=/home/opam/.opam/download-cache,uid=1000 opam update --depexts && opam install --cli=2.5 --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.0 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-config.3 ocaml-options-vanilla.1
#20 0.185 + /usr/bin/sudo "apt-get" "update"
#20 1.186 - Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
#20 1.186 - Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
#20 1.186 - Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
#20 1.186 - Get:4 http://deb.debian.org/debian trixie/main amd64 Packages [9673 kB]
#20 1.186 - Get:5 http://deb.debian.org/debian trixie-updates/main amd64 Packages.diff/Index [3854 B]
#20 1.186 - Get:6 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [226 kB]
#20 1.186 - Get:7 http://deb.debian.org/debian trixie-updates/main amd64 Packages T-2026-07-14-1401.03-F-2026-07-14-1401.03.pdiff [569 B]
#20 1.186 - Get:7 http://deb.debian.org/debian trixie-updates/main amd64 Packages T-2026-07-14-1401.03-F-2026-07-14-1401.03.pdiff [569 B]
#20 1.186 - Fetched 10.1 MB in 1s (13.1 MB/s)
#20 1.186 - Reading package lists...
#20 1.510 - 
#20 1.862 
#20 1.862 <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
#20 2.139 [bruit.dev] synchronised (file:///src)
#20 2.142 
#20 2.831 [NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
#20 2.831 [NOTE] Package ocaml-config is already installed (current version is 3).
#20 2.831 [NOTE] Package ocaml-compiler is already installed (current version is 5.4.1).
#20 2.831 [NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.1).
#20 2.831 [NOTE] Package ocaml is already installed (current version is 5.4.1).
#20 2.831 [NOTE] Package base-unix is already installed (current version is base).
#20 2.831 [NOTE] Package base-threads is already installed (current version is base).
#20 2.831 [NOTE] Package base-nnp is already installed (current version is base).
#20 2.831 [NOTE] Package base-effects is already installed (current version is base).
#20 2.831 [NOTE] Package base-domains is already installed (current version is base).
#20 2.831 [NOTE] Package base-bigarray is already installed (current version is base).
#20 6.507 # To update the current shell environment, run: eval $(opam env)
#20 DONE 6.6s

#21 [stage-0 13/15] 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.0 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-config.3 ocaml-options-vanilla.1
#21 1.188 [NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
#21 1.188 [NOTE] Package ocaml-config is already installed (current version is 3).
#21 1.188 [NOTE] Package ocaml-compiler is already installed (current version is 5.4.1).
#21 1.188 [NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.1).
#21 1.188 [NOTE] Package ocaml is already installed (current version is 5.4.1).
#21 1.188 [NOTE] Package base-unix is already installed (current version is base).
#21 1.188 [NOTE] Package base-threads is already installed (current version is base).
#21 1.188 [NOTE] Package base-nnp is already installed (current version is base).
#21 1.188 [NOTE] Package base-effects is already installed (current version is base).
#21 1.188 [NOTE] Package base-domains is already installed (current version is base).
#21 1.188 [NOTE] Package base-bigarray is already installed (current version is base).
#21 4.154 The following actions will be performed:
#21 4.154 === install 1 package
#21 4.154   - install dune 3.24.0
#21 4.154 
#21 4.154 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#21 6.111 -> retrieved dune.3.24.0  (cached)
#21 42.36 -> installed dune.3.24.0
#21 42.96 Done.
#21 42.96 # To update the current shell environment, run: eval $(opam env)
#21 DONE 43.1s

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

#23 [stage-0 15/15] RUN opam exec -- dune build @install @check @runtest && rm -rf _build
#23 0.253 File "example/dune", line 3, characters 18-25:
#23 0.253 3 |  (libraries bruit fmt.tty))
#23 0.253                       ^^^^^^^
#23 0.253 Error: Library "fmt.tty" not found.
#23 0.253 -> required by _build/default/example/.main.eobjs/byte/dune__exe__Main.cmi
#23 0.253 -> required by alias example/check
#23 0.253 File "src/dune", line 3, characters 30-37:
#23 0.253 3 |  (libraries terminal unix fmt astring)
#23 0.253                                   ^^^^^^^
#23 0.253 Error: Library "astring" not found.
#23 0.253 -> required by library "bruit" in _build/default/src
#23 0.253 -> required by _build/default/src/.bruit.objs/byte/bruit.cmi
#23 0.253 -> required by alias src/check
#23 ERROR: process "/bin/sh -c opam exec -- dune build @install @check @runtest && rm -rf _build" did not complete successfully: exit code: 1
------
 > [stage-0 15/15] RUN opam exec -- dune build @install @check @runtest && rm -rf _build:
0.253 Error: Library "fmt.tty" not found.
0.253 -> required by _build/default/example/.main.eobjs/byte/dune__exe__Main.cmi
0.253 -> required by alias example/check
0.253 File "src/dune", line 3, characters 30-37:
0.253 3 |  (libraries terminal unix fmt astring)
0.253                                   ^^^^^^^
0.253 Error: Library "astring" not found.
0.253 -> required by library "bruit" in _build/default/src
0.253 -> required by _build/default/src/.bruit.objs/byte/bruit.cmi
0.253 -> required by alias src/check
------
ERROR: failed to build: failed to solve: process "/bin/sh -c opam exec -- dune build @install @check @runtest && rm -rf _build" did not complete successfully: exit code: 1
2026-07-15 14:04.56: Job failed: Docker build exited with status 1