Organisationsocurrentdocker-base-images64abda ()(lint-fmt)

(lint-fmt)

Link Copied
Code Copied

Logs

2024-04-30 08:11.06: New job: test ocurrent/docker-base-images https://github.com/ocurrent/docker-base-images.git#refs/pull/269/head (64abda648c2af17a6d97066beff44ff89e18b0d2) (linux-x86_64:(lint-fmt))
Base: ocaml/opam@sha256:bf6aa97761d12fb7cd71c54940bf20e9c92a17fe5406a845660fc8e3a7c2e21e
ocamlformat version: none


To reproduce locally:


git clone --recursive "https://github.com/ocurrent/docker-base-images.git" && cd "docker-base-images" && git fetch origin "refs/pull/269/head" && git reset --hard 64abda64
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:bf6aa97761d12fb7cd71c54940bf20e9c92a17fe5406a845660fc8e3a7c2e21e
USER 1000:1000
RUN cd ~/opam-repository && (git cat-file -e 60c4208f49d0559b8988a754e13eb65bfc59b6f2 || git fetch origin master) && git reset -q --hard 60c4208f49d0559b8988a754e13eb65bfc59b6f2 && 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-30 08:11.06: Using cache hint "ocurrent/docker-base-images-ocaml/opam@sha256:bf6aa97761d12fb7cd71c54940bf20e9c92a17fe5406a845660fc8e3a7c2e21e-alpine-3.19-4.14_opam-2.1-ocamlformat-60c4208f49d0559b8988a754e13eb65bfc59b6f2"
2024-04-30 08:11.06: 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 60c4208f49d0559b8988a754e13eb65bfc59b6f2 || git fetch origin master) && git reset -q --hard 60c4208f49d0559b8988a754e13eb65bfc59b6f2 && 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-30 08:11.06: Waiting for resource in pool OCluster
2024-04-30 09:33.02: Waiting for worker…
2024-04-30 09:36.35: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
Submodule path 'ocaml-dockerfile': checked out 'a6d1894d48d97f3434a2f5d757ea3cd7f7969255'
Submodule path 'ocaml-version': checked out 'fb47870abcc459bf758e415b6665217ff5ea7c19'
Submodule path 'ocluster': checked out '8fd1ca1da935154e6c532c45a4d8d4c6a2f9d307'
Submodule path 'ocurrent': checked out '41e2a72872d6711410c771c5537023a120d85fee'
HEAD is now at 64abda6 Update version numbers and comment
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 'a6d1894d48d97f3434a2f5d757ea3cd7f7969255'
Submodule path 'ocaml-version': checked out 'fb47870abcc459bf758e415b6665217ff5ea7c19'
Submodule path 'ocluster': checked out '8fd1ca1da935154e6c532c45a4d8d4c6a2f9d307'
Submodule path 'ocluster/obuilder': checked out '2d0af3df9d934c936736986e827e9d1f5b94aed9'
Submodule path 'ocurrent': checked out '41e2a72872d6711410c771c5537023a120d85fee'
Submodule path 'ocurrent/vendor/ocaml-gitlab': checked out '134d702d195504c024a380cf577bf8672aa5e91e'


(from ocaml/opam@sha256:bf6aa97761d12fb7cd71c54940bf20e9c92a17fe5406a845660fc8e3a7c2e21e)
2024-04-30 09:36.36 ---> 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 60c4208f49d0559b8988a754e13eb65bfc59b6f2 || git fetch origin master) && git reset -q --hard 60c4208f49d0559b8988a754e13eb65bfc59b6f2 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   4bb8cb8b65..e90e14059c  master     -> origin/master
60c4208f49 Merge pull request #25714 from emillon/release-dune-3.15.2


<><> 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-30 09:36.36 ---> using "dbe20f6fabb1ea3d9295bc64846daab3c2d83a39d686f63bcd54ab1c5e03e63d" from cache


/: (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.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-04-30 09:36.36 ---> using "2140943a915801d91f041699c96a3219320e66a828cfc14d015f25ee5d820f88" from cache


/: (workdir /src)


/src: (copy (src .) (dst /src/))
2024-04-30 09:36.37 ---> saved as "784e9544b697ded1d5a1bdbe98eee5429bf6e5d288332303f8bc9addc0a6dcc0"


/src: (run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)"))
2024-04-30 09:36.38 ---> saved as "686a5af55a5cefdc04b3427b9316d69fcd639c6a9702d538694aa530e8e91607"
Job succeeded
2024-04-30 09:36.39: Job succeeded