Organisationsocurrentocaml-dockerfilecb2861 ()(lint-fmt)

(lint-fmt)

Logs

Show full logs
2026-05-12 09:39.22: New job: test ocurrent/ocaml-dockerfile https://github.com/ocurrent/ocaml-dockerfile.git#refs/heads/master (cb28615575400f97ce5ec4fdac67aae75e86e2af) (linux-x86_64:(lint-fmt))
Base: ocaml/opam:debian-13-ocaml-4.11@sha256:9eda627f0fb3aee0b4c90ab4a66cd7ad22cb940410bb82180129d26df8863d30
ocamlformat version: version 0.28.1 (from opam)

To reproduce locally:

git clone --recursive "https://github.com/ocurrent/ocaml-dockerfile.git" -b "master" && cd "ocaml-dockerfile" && git reset --hard cb286155
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.11@sha256:9eda627f0fb3aee0b4c90ab4a66cd7ad22cb940410bb82180129d26df8863d30
USER 1000:1000
RUN cd ~/opam-repository && (git cat-file -e acfe13dbd28228cc284d3fc1deb9a78b6a1451fa || git fetch origin master) && git reset -q --hard acfe13dbd28228cc284d3fc1deb9a78b6a1451fa && 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-05-12 09:39.22: Using cache hint "ocurrent/ocaml-dockerfile-ocaml/opam:debian-13-ocaml-4.11@sha256:9eda627f0fb3aee0b4c90ab4a66cd7ad22cb940410bb82180129d26df8863d30-debian-13-4.11_opam-2.5-ocamlformat-acfe13dbd28228cc284d3fc1deb9a78b6a1451fa"
2026-05-12 09:39.22: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.11@sha256:9eda627f0fb3aee0b4c90ab4a66cd7ad22cb940410bb82180129d26df8863d30)
 (user (uid 1000) (gid 1000))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "cd ~/opam-repository && (git cat-file -e acfe13dbd28228cc284d3fc1deb9a78b6a1451fa || git fetch origin master) && git reset -q --hard acfe13dbd28228cc284d3fc1deb9a78b6a1451fa && git log --no-decorate -n1 --oneline && opam update -u"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam depext -i dune"))
 (workdir /src)
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam depext -i ocamlformat=0.28.1"))
 (copy (src .) (dst /src/))
 (run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)"))
)

2026-05-12 09:39.22: Waiting for resource in pool OCluster
2026-05-12 09:39.22: Waiting for worker…
2026-05-12 09:40.44: Cancelling: Auto-cancelling job because it is no longer needed