Organisationsinhabitedtypeangstrom56a7a8 ()(lint-fmt)

(lint-fmt)

Link Copied
Code Copied

Logs

2024-04-14 13:02.39: New job: test inhabitedtype/angstrom https://github.com/inhabitedtype/angstrom.git#refs/heads/opam-fixes (56a7a83921f534e52cc750030b5e043296636f4c) (linux-x86_64:(lint-fmt))
Base: ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea
ocamlformat version: none


To reproduce locally:


git clone --recursive "https://github.com/inhabitedtype/angstrom.git" -b "opam-fixes" && cd "angstrom" && git reset --hard 56a7a839
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea
USER 1000:1000
RUN cd ~/opam-repository && (git cat-file -e 950c52962d34ab7507ecebe8cc7ef16fed0f292a || git fetch origin master) && git reset -q --hard 950c52962d34ab7507ecebe8cc7ef16fed0f292a && git log --no-decorate -n1 --oneline && opam update -u
RUN opam depext -i dune
WORKDIR /src
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-04-14 13:02.39: Using cache hint "inhabitedtype/angstrom-ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea-debian-12-4.03_opam-2.1-ocamlformat-950c52962d34ab7507ecebe8cc7ef16fed0f292a"
2024-04-14 13:02.39: Using OBuilder spec:
((from ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea)
 (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 950c52962d34ab7507ecebe8cc7ef16fed0f292a || git fetch origin master) && git reset -q --hard 950c52962d34ab7507ecebe8cc7ef16fed0f292a && 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)
 (copy (src .) (dst /src/))
 (run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)"))
)


2024-04-14 13:02.39: Waiting for resource in pool OCluster
2024-04-14 13:02.42: Waiting for worker…
2024-04-14 13:02.42: Got resource from pool OCluster
Building on x86-bm-c15.sw.ocaml.org
All commits already cached
HEAD is now at 56a7a83 opam-fixes: angstrom lower-bound in angstrom-async


(from ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea)
Unable to find image 'ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea' locally
docker.io/ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea: Pulling from ocaml/opam
Digest: sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea
Status: Downloaded newer image for ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea
2024-04-14 13:03.31 ---> saved as "5e746ce75e4437cb8305c3242b0b72bc201345168ee5141ebd6738538e1ece83"


/: (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 950c52962d34ab7507ecebe8cc7ef16fed0f292a || git fetch origin master) && git reset -q --hard 950c52962d34ab7507ecebe8cc7ef16fed0f292a && git log --no-decorate -n1 --oneline && opam update -u"))
950c52962d [new release] dune (15 packages) (3.15.0)


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
default (at file:///home/opam/opam-repository): 
    [INFO] opam 2.1 includes many performance improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)


Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2024-04-14 13:04.23 ---> saved as "9bbda3d15bf173a2f46a61c360cf4cdcf120c73c120b7641a6de15457089a7c0"


/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "opam depext -i dune"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
# Now letting opam install the packages
The following actions will be performed:
  - install ocamlfind           1.9.6  [required by ocamlfind-secondary]
  - install ocamlfind-secondary 1.9.6  [required by dune]
  - install dune                3.15.0
===== 3 to install =====


<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[dune.3.15.0] found in cache
[ocamlfind.1.9.6] found in cache
[ocamlfind-secondary.1.9.6] found in cache


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed ocamlfind.1.9.6
-> installed ocamlfind-secondary.1.9.6
-> installed dune.3.15.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-14 13:05.30 ---> saved as "9865ee5964a2f85e5bfe016af0dc5933a4b72ad0b7dce4cba86aa9f27bea7ee8"


/: (workdir /src)


/src: (copy (src .) (dst /src/))
2024-04-14 13:05.30 ---> saved as "a5c190bd96ddb3918f8902cbd378ae5c2a30d7ad022ac1fc7f1cdfa7b2385325"


/src: (run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)"))
2024-04-14 13:05.31 ---> saved as "6343c4ea0b35709e8066d5ae424cb8bcf9efc41245f797e269689e7adcd32b57"
Job succeeded
2024-04-14 13:05.31: Job succeeded