Organisationskit-ty-kateocaml-docker-hub82fdee (main)(lint-fmt)

(lint-fmt)

Link Copied
Code Copied

Logs

2024-05-14 11:45.50: New job: test kit-ty-kate/ocaml-docker-hub https://github.com/kit-ty-kate/ocaml-docker-hub.git#refs/heads/main (82fdee25bae49416fd6051784d5bec4e0a272694) (linux-x86_64:(lint-fmt))
Base: ocaml/opam@sha256:97e5da73f03e8104e0ae121f1b67e6c959f6918ec2a1a09a82e9449383cf0882
ocamlformat version: none


To reproduce locally:


git clone --recursive "https://github.com/kit-ty-kate/ocaml-docker-hub.git" -b "main" && cd "ocaml-docker-hub" && git reset --hard 82fdee25
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:97e5da73f03e8104e0ae121f1b67e6c959f6918ec2a1a09a82e9449383cf0882
USER 1000:1000
RUN cd ~/opam-repository && (git cat-file -e 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && 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-05-14 11:45.50: Using cache hint "kit-ty-kate/ocaml-docker-hub-ocaml/opam@sha256:97e5da73f03e8104e0ae121f1b67e6c959f6918ec2a1a09a82e9449383cf0882-debian-12-4.13_opam-2.1-ocamlformat-307e33d08fc4ccc1ea453ab45b0ead8ed574b97b"
2024-05-14 11:45.50: Using OBuilder spec:
((from ocaml/opam@sha256:97e5da73f03e8104e0ae121f1b67e6c959f6918ec2a1a09a82e9449383cf0882)
 (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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && 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-05-14 11:45.50: Waiting for resource in pool OCluster
2024-05-14 11:49.56: Waiting for worker…
2024-05-14 11:53.14: Got resource from pool OCluster
Building on x86-bm-c15.sw.ocaml.org
All commits already cached
HEAD is now at 82fdee2 Fix the minimal requirement for the OCaml compiler (uses String.for_all)


(from ocaml/opam@sha256:97e5da73f03e8104e0ae121f1b67e6c959f6918ec2a1a09a82e9449383cf0882)
Unable to find image 'ocaml/opam@sha256:97e5da73f03e8104e0ae121f1b67e6c959f6918ec2a1a09a82e9449383cf0882' locally
docker.io/ocaml/opam@sha256:97e5da73f03e8104e0ae121f1b67e6c959f6918ec2a1a09a82e9449383cf0882: Pulling from ocaml/opam
921df9b0dbca: Pulling fs layer
921df9b0dbca: Verifying Checksum
921df9b0dbca: Download complete
921df9b0dbca: Pull complete
Digest: sha256:97e5da73f03e8104e0ae121f1b67e6c959f6918ec2a1a09a82e9449383cf0882
Status: Downloaded newer image for ocaml/opam@sha256:97e5da73f03e8104e0ae121f1b67e6c959f6918ec2a1a09a82e9449383cf0882
2024-05-14 11:53.14 ---> using "322f79c71ed8814cef3e68607dc1333796d15a90742fb2b32972fd79fe86255a" from cache


/: (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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
307e33d08f @dra27 and @Octachron maintain the 4.08+ packages


<><> 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-05-14 11:54.23 ---> saved as "e7dcb44e39c7e2c3c186342e9200527b7dcdbacaacfb5b7adfec376af80d3217"


/: (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 dune 3.15.2


<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[dune.3.15.2] found in cache


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed dune.3.15.2
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-14 11:55.40 ---> saved as "7811218ba45137f5d1d778faa720fb4ee323d488b20f9a5767d35ac2d49f114d"


/: (workdir /src)


/src: (copy (src .) (dst /src/))
2024-05-14 11:55.40 ---> saved as "0a13aadd915f734adbee996dfba05ed94fc1d1c97aaae1eedbb408312c1e45f2"


/src: (run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)"))
2024-05-14 11:55.41 ---> saved as "54212eb85a0a5600df5ab2f80ce9c45f66857250e408333c347a482276fbbac0"
Job succeeded
2024-05-14 11:55.41: Job succeeded