2026-08-14 14:27.30: 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 85a67e9d501a007b4bab20448f3301f816ec5eda || git fetch origin master) && git reset -q --hard 85a67e9d501a007b4bab20448f3301f816ec5eda && 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-08-14 14:27.30: Waiting for resource in pool docker
2026-08-14 14:43.34: Got resource from pool docker
2026-08-14 14:43.34: 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-08-14 14:43.34: Exec: "cp" "-a" "--" "/var/lib/git/repos/ocaml-bibtex/.git"
"/tmp/git-checkout2694a649"
2026-08-14 14:43.34: Exec: "git" "-C" "/tmp/git-checkout2694a649" "submodule"
"deinit" "--force" "--all"
fatal: /nix/store/k3wl6cg7q50zkx47af3msmg1yrg1f203-git-2.54.0/libexec/git-core/git-submodule cannot be used without a working tree.
2026-08-14 14:43.34: Job failed: Command "git" "-C" "/tmp/git-checkout2694a649" "submodule" "deinit" "--force"
"--all" exited with status 1