Build:
  1. 2
  2. 1
  3. 0
2026-04-30 13:58.04: New job: test local/ocaml-bibtex 33b473f91efd0341ba45086fadbef130a6215351 (debian-13-5.4_opam-2.5)
Base: ocaml/opam@sha256:f01ea32106a9a667c3e662c7b8c4f33c337e55b5043eb98602495d938ae011a9
Opam project build

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "/var/lib/git/repos/ocaml-bibtex" -b "main" && cd "ocaml-bibtex" && git reset --hard 33b473f9
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:f01ea32106a9a667c3e662c7b8c4f33c337e55b5043eb98602495d938ae011a9
# 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 9268f646a38498632a770efccdc826768b06c031 || git fetch origin master) && git reset -q --hard 9268f646a38498632a770efccdc826768b06c031 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 bib.opam ./
RUN opam pin add -yn bib.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bytesrw.0.3.0 camlp-streams.5.0.1 cmdliner.2.1.1 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 dune.3.22.2 fmt.0.11.0 logs.0.10.0 mdx.2.5.2 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-version.4.1.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 result.1.5 topkg.1.1.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y bib.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-04-30 13:58.04: Waiting for resource in pool docker
2026-04-30 14:05.52: Got resource from pool docker
2026-04-30 14:05.52: Checking out commit 33b473f9. To reproduce:
                       git clone --recursive "/var/lib/git/repos/ocaml-bibtex" -b "main" && cd "ocaml-bibtex" && git reset --hard 33b473f9
2026-04-30 14:05.52: Exec: "cp" "-a" "--" "/var/lib/git/repos/ocaml-bibtex/.git" 
                           "/tmp/git-checkout45b2fde"
2026-04-30 14:05.52: Exec: "git" "-C" "/tmp/git-checkout45b2fde" "submodule" 
                           "deinit" "--force" "--all"
2026-04-30 14:05.52: Exec: "git" "-C" "/tmp/git-checkout45b2fde" "reset" 
                           "--hard" "-q" "33b473f91efd0341ba45086fadbef130a6215351"
2026-04-30 14:05.52: Exec: "git" "-c" "protocol.file.allow=always" "-C" 
                           "/tmp/git-checkout45b2fde" "submodule" "update" 
                           "--recursive" "--init" "--no-fetch"
Writing BuildKit Dockerfile:
# syntax = docker/dockerfile:experimental@sha256:8c69d118cfcd040a222bea7f7d57c6156faa938cb61b47657cd65343babc3664
FROM ocaml/opam@sha256:f01ea32106a9a667c3e662c7b8c4f33c337e55b5043eb98602495d938ae011a9
# 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 9268f646a38498632a770efccdc826768b06c031 || git fetch origin master) && git reset -q --hard 9268f646a38498632a770efccdc826768b06c031 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 bib.opam ./
RUN opam pin add -yn bib.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bytesrw.0.3.0 camlp-streams.5.0.1 cmdliner.2.1.1 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 dune.3.22.2 fmt.0.11.0 logs.0.10.0 mdx.2.5.2 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-version.4.1.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 result.1.5 topkg.1.1.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 bib.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-04-30 14:05.52: Exec: "docker" "build" "--" "/tmp/git-checkout45b2fde"
#0 building with "default" instance using docker driver

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

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

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

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

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

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

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

#8 [stage-0  2/15] WORKDIR /src
#8 CACHED

#9 [stage-0  3/15] RUN sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam
#9 CACHED

#10 [stage-0  6/15] WORKDIR /src
#10 CACHED

#11 [stage-0  4/15] RUN opam init --reinit -ni
#11 CACHED

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

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

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

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

#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 9268f646a38498632a770efccdc826768b06c031 || git fetch origin master) && git reset -q --hard 9268f646a38498632a770efccdc826768b06c031 && git log --no-decorate -n1 --oneline && opam update -u
#16 21.87 From https://github.com/ocaml/opam-repository
#16 21.87  * branch                  master     -> FETCH_HEAD
#16 21.91    42844088d7..6eba819fc9  master     -> origin/master
#16 63.18 9268f646a3 Add: cmdliner.2.1.1
#16 63.54 
#16 63.54 <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
#16 66.71 [default] synchronised from git+file:///home/opam/opam-repository
#16 67.37 default (at git+file:///home/opam/opam-repository): 
#16 67.37     [WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)
#16 67.37 
#16 67.37 default (at git+file:///home/opam/opam-repository): 
#16 67.37     [INFO] opam 2.5.1 includes security fixes; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
#16 67.37 
#16 67.82 
#16 71.62 Everything as up-to-date as possible
#16 71.62 However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.5.0"), which will ask permission to downgrade or uninstall the conflicting packages.
#16 71.62 Nothing to do.
#16 71.62 # To update the current shell environment, run: eval $(opam env)
#16 DONE 72.2s

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

#18 [stage-0 10/15] RUN opam pin add -yn bib.dev './'
#18 1.129 [NOTE] Package bib does not exist in opam repositories registered in the current switch.
#18 1.202 [bib.dev] synchronised (file:///src)
#18 1.203 bib 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.2s

#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 bib.dev astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bytesrw.0.3.0 camlp-streams.5.0.1 cmdliner.2.1.1 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 dune.3.22.2 fmt.0.11.0 logs.0.10.0 mdx.2.5.2 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-version.4.1.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 result.1.5 topkg.1.1.1
#20 0.142 + /usr/bin/sudo "apt-get" "update"
#20 0.905 - Hit:1 http://deb.debian.org/debian trixie InRelease
#20 0.905 - Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
#20 0.905 - Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
#20 0.905 - Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [129 kB]
#20 0.905 - Fetched 219 kB in 0s (1164 kB/s)
#20 0.905 - Reading package lists...
#20 1.260 
#20 1.260 <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
#20 1.520 [bib.dev] synchronised (file:///src)
#20 1.523 
#20 2.133 [NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
#20 2.133 [NOTE] Package ocaml-config is already installed (current version is 3).
#20 2.133 [NOTE] Package ocaml-compiler is already installed (current version is 5.4.1).
#20 2.133 [NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.1).
#20 2.133 [NOTE] Package ocaml is already installed (current version is 5.4.1).
#20 2.133 [NOTE] Package base-unix is already installed (current version is base).
#20 2.133 [NOTE] Package base-threads is already installed (current version is base).
#20 2.133 [NOTE] Package base-nnp is already installed (current version is base).
#20 2.133 [NOTE] Package base-effects is already installed (current version is base).
#20 2.133 [NOTE] Package base-domains is already installed (current version is base).
#20 2.133 [NOTE] Package base-bigarray is already installed (current version is base).
#20 6.272 
#20 6.272 The following system packages will first need to be installed:
#20 6.272     pkg-config
#20 6.272 
#20 6.272 <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
#20 6.272 
#20 6.272 + /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "pkg-config"
#20 8.273 - Selecting previously unselected package libpkgconf3:amd64.
#20 8.273 - (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20654 files and directories currently installed.)
#20 8.273 - Preparing to unpack .../libpkgconf3_1.8.1-4_amd64.deb ...
#20 8.273 - Unpacking libpkgconf3:amd64 (1.8.1-4) ...
#20 8.273 - Selecting previously unselected package pkgconf-bin.
#20 8.273 - Preparing to unpack .../pkgconf-bin_1.8.1-4_amd64.deb ...
#20 8.273 - Unpacking pkgconf-bin (1.8.1-4) ...
#20 8.273 - Selecting previously unselected package pkgconf:amd64.
#20 8.273 - Preparing to unpack .../pkgconf_1.8.1-4_amd64.deb ...
#20 8.273 - Unpacking pkgconf:amd64 (1.8.1-4) ...
#20 8.273 - Selecting previously unselected package pkg-config:amd64.
#20 8.273 - Preparing to unpack .../pkg-config_1.8.1-4_amd64.deb ...
#20 8.273 - Unpacking pkg-config:amd64 (1.8.1-4) ...
#20 8.273 - Setting up libpkgconf3:amd64 (1.8.1-4) ...
#20 8.273 - Setting up pkgconf-bin (1.8.1-4) ...
#20 8.273 - Setting up pkgconf:amd64 (1.8.1-4) ...
#20 8.273 - Setting up pkg-config:amd64 (1.8.1-4) ...
#20 8.273 - Processing triggers for libc-bin (2.41-12+deb13u2) ...
#20 8.369 # To update the current shell environment, run: eval $(opam env)
#20 DONE 8.5s

#21 [stage-0 13/15] RUN --mount=type=cache,id=opam-archives,target=/home/opam/.opam/download-cache,uid=1000 opam install astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bytesrw.0.3.0 camlp-streams.5.0.1 cmdliner.2.1.1 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 dune.3.22.2 fmt.0.11.0 logs.0.10.0 mdx.2.5.2 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-version.4.1.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 result.1.5 topkg.1.1.1
#21 1.150 [NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
#21 1.150 [NOTE] Package ocaml-config is already installed (current version is 3).
#21 1.150 [NOTE] Package ocaml-compiler is already installed (current version is 5.4.1).
#21 1.150 [NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.1).
#21 1.150 [NOTE] Package ocaml is already installed (current version is 5.4.1).
#21 1.150 [NOTE] Package base-unix is already installed (current version is base).
#21 1.150 [NOTE] Package base-threads is already installed (current version is base).
#21 1.150 [NOTE] Package base-nnp is already installed (current version is base).
#21 1.150 [NOTE] Package base-effects is already installed (current version is base).
#21 1.150 [NOTE] Package base-domains is already installed (current version is base).
#21 1.150 [NOTE] Package base-bigarray is already installed (current version is base).
#21 4.761 The following actions will be performed:
#21 4.761 === install 17 packages
#21 4.761   - install astring         0.8.5
#21 4.761   - install bytesrw         0.3.0
#21 4.761   - install camlp-streams   5.0.1
#21 4.761   - install cmdliner        2.1.1
#21 4.761   - install conf-pkg-config 4
#21 4.761   - install cppo            1.8.0
#21 4.761   - install csexp           1.5.2
#21 4.761   - install dune            3.22.2
#21 4.761   - install fmt             0.11.0
#21 4.761   - install logs            0.10.0
#21 4.761   - install mdx             2.5.2
#21 4.761   - install ocaml-version   4.1.0
#21 4.761   - install ocamlbuild      0.16.1
#21 4.761   - install ocamlfind       1.9.8
#21 4.761   - install re              1.14.0
#21 4.761   - install result          1.5
#21 4.761   - install topkg           1.1.1
#21 4.762 
#21 4.762 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#21 5.123 -> retrieved astring.0.8.5  (cached)
#21 5.152 -> retrieved bytesrw.0.3.0  (cached)
#21 5.165 -> retrieved camlp-streams.5.0.1  (cached)
#21 5.184 -> retrieved cmdliner.2.1.1  (cached)
#21 5.262 -> retrieved cppo.1.8.0  (cached)
#21 5.270 -> installed conf-pkg-config.4
#21 5.278 -> retrieved csexp.1.5.2  (cached)
#21 5.283 -> retrieved fmt.0.11.0  (cached)
#21 5.293 -> retrieved logs.0.10.0  (cached)
#21 5.300 -> retrieved ocaml-version.4.1.0  (cached)
#21 5.362 -> retrieved mdx.2.5.2  (cached)
#21 5.397 -> retrieved ocamlbuild.0.16.1  (cached)
#21 5.476 -> retrieved ocamlfind.1.9.8  (cached)
#21 5.506 -> retrieved re.1.14.0  (cached)
#21 5.511 -> retrieved result.1.5  (cached)
#21 5.550 -> retrieved topkg.1.1.1  (cached)
#21 7.263 -> retrieved dune.3.22.2  (cached)
#21 10.96 -> installed cmdliner.2.1.1
#21 11.00 -> installed ocamlbuild.0.16.1
#21 11.16 -> installed ocamlfind.1.9.8
#21 14.80 -> installed topkg.1.1.1
#21 16.19 -> installed astring.0.8.5
#21 16.53 -> installed bytesrw.0.3.0
#21 17.19 -> installed fmt.0.11.0
#21 18.16 -> installed logs.0.10.0
#21 42.45 -> installed dune.3.22.2
#21 42.74 -> installed csexp.1.5.2
#21 42.90 -> installed camlp-streams.5.0.1
#21 42.93 -> installed ocaml-version.4.1.0
#21 43.11 -> installed result.1.5
#21 43.39 -> installed cppo.1.8.0
#21 44.38 -> installed re.1.14.0
#21 47.28 -> installed mdx.2.5.2
#21 48.09 Done.
#21 48.09 # To update the current shell environment, run: eval $(opam env)
#21 DONE 48.3s

#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.424 (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -bin-annot-occurrences -I test/.bibtrip.eobjs/byte -I /home/opam/.opam/5.4/lib/astring -I /home/opam/.opam/5.4/lib/bytesrw -I /home/opam/.opam/5.4/lib/fmt -I src/.bib.objs/byte -no-alias-deps -opaque -open Dune__exe -o test/.bibtrip.eobjs/byte/dune__exe__Test.cmo -c -impl test/test.ml)
#23 0.424 File "test/test.ml", line 1:
#23 0.424 Error: Could not find the .cmi file for interface test/test.mli.
#23 0.431 (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -bin-annot-occurrences -I test/.test.eobjs/byte -I /home/opam/.opam/5.4/lib/astring -I /home/opam/.opam/5.4/lib/bytesrw -I /home/opam/.opam/5.4/lib/fmt -I src/.bib.objs/byte -no-alias-deps -opaque -open Dune__exe -o test/.test.eobjs/byte/dune__exe__Bibtrip.cmo -c -impl test/bibtrip.ml)
#23 0.431 File "test/bibtrip.ml", line 1:
#23 0.431 Error: Could not find the .cmi file for interface test/bibtrip.mli.
#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.424 (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -bin-annot-occurrences -I test/.bibtrip.eobjs/byte -I /home/opam/.opam/5.4/lib/astring -I /home/opam/.opam/5.4/lib/bytesrw -I /home/opam/.opam/5.4/lib/fmt -I src/.bib.objs/byte -no-alias-deps -opaque -open Dune__exe -o test/.bibtrip.eobjs/byte/dune__exe__Test.cmo -c -impl test/test.ml)
0.424 File "test/test.ml", line 1:
0.424 Error: Could not find the .cmi file for interface test/test.mli.
0.431 (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -bin-annot-occurrences -I test/.test.eobjs/byte -I /home/opam/.opam/5.4/lib/astring -I /home/opam/.opam/5.4/lib/bytesrw -I /home/opam/.opam/5.4/lib/fmt -I src/.bib.objs/byte -no-alias-deps -opaque -open Dune__exe -o test/.test.eobjs/byte/dune__exe__Bibtrip.cmo -c -impl test/bibtrip.ml)
0.431 File "test/bibtrip.ml", line 1:
0.431 Error: Could not find the .cmi file for interface test/bibtrip.mli.
------
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-04-30 14:08.06: Job failed: Docker build exited with status 1