2026-07-08 11:11.51: New job: test local/ocaml-bibtex 33b473f91efd0341ba45086fadbef130a6215351 ((lint-fmt))
Base: ocaml/opam@sha256:cafa9d27c295a906f8352bda7f585dbc78b2f762914fdaa3f8584030c6a8004d
ocamlformat version: version 0.28.1 (from opam)
To reproduce locally:
cd $(mktemp -d)
git clone --recursive "/var/lib/git/repos/ocaml-bibtex" -b "test-branch" && cd "ocaml-bibtex" && git reset --hard 33b473f9
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:cafa9d27c295a906f8352bda7f585dbc78b2f762914fdaa3f8584030c6a8004d
USER 1000:1000
RUN cd ~/opam-repository && (git cat-file -e 8cd35acddd18fa903782ac90de78467ca3e3b506 || git fetch origin master) && git reset -q --hard 8cd35acddd18fa903782ac90de78467ca3e3b506 && git log --no-decorate -n1 --oneline && opam update -u
RUN opam depext -i dune
WORKDIR /src
RUN opam depext -i ocamlformat=0.28.1
COPY --chown=1000:1000 . /src/
RUN opam exec -- dune build @fmt --ignore-promoted-rules || (echo "dune build @fmt failed"; exit 2)
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2026-07-08 11:11.51: Waiting for resource in pool docker
2026-07-08 11:11.51: Got resource from pool docker
2026-07-08 11:11.51: Checking out commit 33b473f9. To reproduce:
git clone --recursive "/var/lib/git/repos/ocaml-bibtex" -b "test-branch" && cd "ocaml-bibtex" && git reset --hard 33b473f9
2026-07-08 11:11.51: Exec: "cp" "-a" "--" "/var/lib/git/repos/ocaml-bibtex/.git"
"/tmp/git-checkoutbcf3f7b"
2026-07-08 11:11.51: Exec: "git" "-C" "/tmp/git-checkoutbcf3f7b" "submodule"
"deinit" "--force" "--all"
fatal: /nix/store/9kg1njp3xpkg9lf4bi9llvh69qdbd3wv-git-2.51.2/libexec/git-core/git-submodule cannot be used without a working tree.
2026-07-08 11:11.51: Job failed: Command "git" "-C" "/tmp/git-checkoutbcf3f7b" "submodule" "deinit" "--force"
"--all" exited with status 1