Build:
  1. 10
  2. 9
  3. 8
  4. 7
  5. 6
  6. 5
  7. 4
  8. 3
  9. 2
  10. 1
2024-04-28 13:41.23: New job: test benmandrew/docker-base-images https://github.com/benmandrew/docker-base-images.git#refs/heads/live (6428615be3546b53add969c65f2fa33b965f880c) (linux-x86_64:(lint-fmt))
Base: ocaml/opam@sha256:bf6aa97761d12fb7cd71c54940bf20e9c92a17fe5406a845660fc8e3a7c2e21e
ocamlformat version: none

To reproduce locally:

git clone --recursive "https://github.com/benmandrew/docker-base-images.git" -b "live" && cd "docker-base-images" && git reset --hard 6428615b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:bf6aa97761d12fb7cd71c54940bf20e9c92a17fe5406a845660fc8e3a7c2e21e
USER 1000:1000
RUN cd ~/opam-repository && (git cat-file -e 57c3f376a57c5bfae6ba957cb7203f5fe3fc86cb || git fetch origin master) && git reset -q --hard 57c3f376a57c5bfae6ba957cb7203f5fe3fc86cb && 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-28 13:41.23: Using cache hint "benmandrew/docker-base-images-ocaml/opam@sha256:bf6aa97761d12fb7cd71c54940bf20e9c92a17fe5406a845660fc8e3a7c2e21e-alpine-3.19-4.14_opam-2.1-ocamlformat-57c3f376a57c5bfae6ba957cb7203f5fe3fc86cb"
2024-04-28 13:41.23: Using OBuilder spec:
((from ocaml/opam@sha256:bf6aa97761d12fb7cd71c54940bf20e9c92a17fe5406a845660fc8e3a7c2e21e)
 (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 57c3f376a57c5bfae6ba957cb7203f5fe3fc86cb || git fetch origin master) && git reset -q --hard 57c3f376a57c5bfae6ba957cb7203f5fe3fc86cb && 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-28 13:41.23: Waiting for resource in pool OCluster
2024-04-28 13:41.23: Waiting for worker…
2024-04-29 11:37.48: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
Submodule path 'ocaml-dockerfile': checked out '30f0376e7fa7b8290d0c24a88cccc32e5a6a9c3b'
Submodule path 'ocaml-version': checked out 'fb47870abcc459bf758e415b6665217ff5ea7c19'
Submodule path 'ocluster': checked out 'ec98613cc79c5e1159e88bea3ccaa3b478689858'
Submodule path 'ocurrent': checked out '41e2a72872d6711410c771c5537023a120d85fee'
HEAD is now at 6428615 Add beta repository for 5.1.0~alpha1
Synchronizing submodule url for 'ocaml-dockerfile'
Synchronizing submodule url for 'ocaml-version'
Synchronizing submodule url for 'ocluster'
Synchronizing submodule url for 'ocurrent'
Cleared directory 'ocaml-dockerfile'
Submodule 'ocaml-dockerfile' (https://github.com/ocurrent/ocaml-dockerfile.git) unregistered for path 'ocaml-dockerfile'
Cleared directory 'ocaml-version'
Submodule 'ocaml-version' (https://github.com/ocurrent/ocaml-version.git) unregistered for path 'ocaml-version'
Cleared directory 'ocluster'
Submodule 'ocluster' (https://github.com/ocurrent/ocluster.git) unregistered for path 'ocluster'
Cleared directory 'ocurrent'
Submodule 'ocurrent' (https://github.com/ocurrent/ocurrent.git) unregistered for path 'ocurrent'
Submodule 'ocaml-dockerfile' (https://github.com/ocurrent/ocaml-dockerfile.git) registered for path 'ocaml-dockerfile'
Submodule 'ocaml-version' (https://github.com/ocurrent/ocaml-version.git) registered for path 'ocaml-version'
Submodule 'ocluster' (https://github.com/ocurrent/ocluster.git) registered for path 'ocluster'
Submodule 'ocurrent' (https://github.com/ocurrent/ocurrent.git) registered for path 'ocurrent'
Submodule path 'ocaml-dockerfile': checked out '30f0376e7fa7b8290d0c24a88cccc32e5a6a9c3b'
Submodule path 'ocaml-version': checked out 'fb47870abcc459bf758e415b6665217ff5ea7c19'
Submodule path 'ocluster': checked out 'ec98613cc79c5e1159e88bea3ccaa3b478689858'
Submodule path 'ocluster/obuilder': checked out '3a1c56d64eeac024578d914d3886db2dd1066df1'
Submodule path 'ocurrent': checked out '41e2a72872d6711410c771c5537023a120d85fee'
Submodule path 'ocurrent/vendor/ocaml-gitlab': checked out '134d702d195504c024a380cf577bf8672aa5e91e'

(from ocaml/opam@sha256:bf6aa97761d12fb7cd71c54940bf20e9c92a17fe5406a845660fc8e3a7c2e21e)
2024-04-29 11:37.49 ---> using "1e640372eb9daeb2412d20c5fde01c5949566a71e7b6150cd62d118621a015ce" 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 57c3f376a57c5bfae6ba957cb7203f5fe3fc86cb || git fetch origin master) && git reset -q --hard 57c3f376a57c5bfae6ba957cb7203f5fe3fc86cb && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   4bb8cb8b65..d14ea7d1b9  master     -> origin/master
57c3f376a5 timedesc: added 3.1.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-29 11:38.44 ---> saved as "884863836d945fc3dfcc2d832ca6d1d2518f1d9a8d3117b58f7c37b4af5e9db9"

/: (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=alpine, os-family=alpine
# No extra OS packages requirements found.
# Now letting opam install the packages
The following actions will be performed:
  - install dune 3.15.0

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed dune.3.15.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-29 11:39.27 ---> saved as "f3d2cae7a8ca080268ea85c577e4308a2bd613f6b555e057e281469abb147c74"

/: (workdir /src)

/src: (copy (src .) (dst /src/))
2024-04-29 11:39.28 ---> saved as "f4402db6fdd3b887df7057e4ea7c360421b3971e114e8e70b4da8720c2a391ef"

/src: (run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)"))
2024-04-29 11:39.30 ---> saved as "2277c94d1d66c7236cc42b461a5d8001c41814ee58e9729c7a91d2a57f02a082"
Job succeeded
2024-04-29 11:39.30: Job succeeded