Organisationstalex5ocaml-base-imagesa603e8 (master)(lint-fmt)

(lint-fmt)

Link Copied
Code Copied

Logs

2024-05-10 16:15.16: New job: test talex5/ocaml-base-images https://github.com/talex5/ocaml-base-images.git#refs/heads/master (a603e80eb462eb28cc051c8aa1a6bf455e800282) (linux-x86_64:(lint-fmt))
Base: ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb
ocamlformat version: none


To reproduce locally:


git clone --recursive "https://github.com/talex5/ocaml-base-images.git" -b "master" && cd "ocaml-base-images" && git reset --hard a603e80e
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb
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-10 16:15.16: Using cache hint "talex5/ocaml-base-images-ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb-debian-12-4.08_opam-2.1-ocamlformat-307e33d08fc4ccc1ea453ab45b0ead8ed574b97b"
2024-05-10 16:15.16: Using OBuilder spec:
((from ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb)
 (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-10 16:15.16: Waiting for resource in pool OCluster
2024-05-11 10:13.28: Waiting for worker…
2024-05-11 10:17.38: Got resource from pool OCluster
Building on x86-bm-c14.sw.ocaml.org
All commits already cached
Submodule path 'ocaml-dockerfile': checked out 'ae78b73863121bc601417d36fef086b87ceeeed5'
Submodule path 'ocurrent': checked out 'c30b6711e685ebc86cc75872e1db57ea1075dfa0'
HEAD is now at a603e80 Set OPAMERRLOGLEN=0 in generated images
Synchronizing submodule url for 'ocaml-dockerfile'
Synchronizing submodule url for 'ocurrent'
Cleared directory 'ocaml-dockerfile'
Submodule 'ocaml-dockerfile' (https://github.com/talex5/ocaml-dockerfile.git) unregistered for path 'ocaml-dockerfile'
Cleared directory 'ocurrent'
Submodule 'ocurrent' (https://github.com/talex5/ocurrent.git) unregistered for path 'ocurrent'
Submodule 'ocaml-dockerfile' (https://github.com/talex5/ocaml-dockerfile.git) registered for path 'ocaml-dockerfile'
Submodule 'ocurrent' (https://github.com/talex5/ocurrent.git) registered for path 'ocurrent'
Submodule path 'ocaml-dockerfile': checked out 'ae78b73863121bc601417d36fef086b87ceeeed5'
Submodule path 'ocurrent': checked out 'c30b6711e685ebc86cc75872e1db57ea1075dfa0'


(from ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb)
2024-05-11 10:17.38 ---> using "e0805034d9e735da2cb99f3eb2cde6a7473dabe8bd1020b5bf9a6e9f3a9991fe" 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"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   eb2dcab0d8..2ae169d7d0  master     -> origin/master
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-11 10:17.38 ---> using "7a9e50f2cda6a477fecf9feb19820cff5cf752694490b969013ec5cc497c2763" 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=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-11 10:17.38 ---> using "da0ef2a22593619ca89bdb7c851c410681f2b8fe60d8d94466f5cedadddd8593" from cache


/: (workdir /src)


/src: (copy (src .) (dst /src/))
2024-05-11 10:17.39 ---> saved as "86ee3e336700b84d8609aaf9440c7682bede49cff9b18493a37947f855949751"


/src: (run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)"))
2024-05-11 10:17.40 ---> saved as "3259f478dc56c478fbe4815c9d10d91afb51898e11f77b82b4fd55b9011b6c38"
Job succeeded
2024-05-11 10:17.41: Job succeeded