Organisationsocaml-ppxppxlib361136 ()(lint-fmt)

(lint-fmt)

Link Copied
Code Copied

Logs

2024-09-04 10:04.07: New job: test ocaml-ppx/ppxlib https://github.com/ocaml-ppx/ppxlib.git#refs/pull/519/head (36113608fe192580f6b32af9b854ebfee4283041) (linux-x86_64:(lint-fmt))
Base: ocaml/opam:debian-12-ocaml-4.08@sha256:a60973c97afac839997bb54c4ecba4df5c7f5d791a13b7c8a2c2ffeb5bb93876
ocamlformat version: version 0.26.2 (from opam)


To reproduce locally:


git clone --recursive "https://github.com/ocaml-ppx/ppxlib.git" && cd "ppxlib" && git fetch origin "refs/pull/519/head" && git reset --hard 36113608
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.08@sha256:a60973c97afac839997bb54c4ecba4df5c7f5d791a13b7c8a2c2ffeb5bb93876
USER 1000:1000
RUN cd ~/opam-repository && (git cat-file -e 4babd36394aae994a783e98ff33cafe6e7fea1c8 || git fetch origin master) && git reset -q --hard 4babd36394aae994a783e98ff33cafe6e7fea1c8 && git log --no-decorate -n1 --oneline && opam update -u
RUN opam depext -i dune
WORKDIR /src
RUN opam depext -i ocamlformat=0.26.2
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


2024-09-04 10:04.07: Using cache hint "ocaml-ppx/ppxlib-ocaml/opam:debian-12-ocaml-4.08@sha256:a60973c97afac839997bb54c4ecba4df5c7f5d791a13b7c8a2c2ffeb5bb93876-debian-12-4.08_opam-2.2-ocamlformat-4babd36394aae994a783e98ff33cafe6e7fea1c8"
2024-09-04 10:04.07: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.08@sha256:a60973c97afac839997bb54c4ecba4df5c7f5d791a13b7c8a2c2ffeb5bb93876)
 (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 4babd36394aae994a783e98ff33cafe6e7fea1c8 || git fetch origin master) && git reset -q --hard 4babd36394aae994a783e98ff33cafe6e7fea1c8 && 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.26.2"))
 (copy (src .) (dst /src/))
 (run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)"))
)


2024-09-04 10:04.07: Waiting for resource in pool OCluster
2024-09-04 10:04.07: Waiting for worker…
2024-09-04 10:04.40: Cancelling: Auto-cancelling job because it is no longer needed