Organisationsocurrentopam-repo-cidc9fcb ()(lint-fmt)

(lint-fmt)

Link Copied
Code Copied

Logs

2024-03-28 13:11.49: New job: test ocurrent/opam-repo-ci https://github.com/ocurrent/opam-repo-ci.git#refs/heads/master (dc9fcb7cbb6bb6a81e2c30f877284408db62917e) (linux-x86_64:(lint-fmt))
Base: ocaml/opam@sha256:edf32e07af8ba8049543148abceb81644da453d376f994a840caa4dc239273d5
ocamlformat version: none


To reproduce locally:


git clone --recursive "https://github.com/ocurrent/opam-repo-ci.git" -b "master" && cd "opam-repo-ci" && git reset --hard dc9fcb7c
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:edf32e07af8ba8049543148abceb81644da453d376f994a840caa4dc239273d5
USER 1000:1000
RUN cd ~/opam-repository && (git cat-file -e e5463130cd99955bc860f15568192f39f1cb4248 || git fetch origin master) && git reset -q --hard e5463130cd99955bc860f15568192f39f1cb4248 && 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-03-28 13:11.49: Using cache hint "ocurrent/opam-repo-ci-ocaml/opam@sha256:edf32e07af8ba8049543148abceb81644da453d376f994a840caa4dc239273d5-alpine-3.19-4.14_opam-2.1-ocamlformat-e5463130cd99955bc860f15568192f39f1cb4248"
2024-03-28 13:11.49: Using OBuilder spec:
((from ocaml/opam@sha256:edf32e07af8ba8049543148abceb81644da453d376f994a840caa4dc239273d5)
 (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 e5463130cd99955bc860f15568192f39f1cb4248 || git fetch origin master) && git reset -q --hard e5463130cd99955bc860f15568192f39f1cb4248 && 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-03-28 13:11.49: Waiting for resource in pool OCluster
2024-03-28 13:11.49: Waiting for worker…
2024-03-28 13:12.13: Got resource from pool OCluster
Building on x86-bm-c17.sw.ocaml.org
Submodule path 'ocaml-dockerfile': checked out '30f0376e7fa7b8290d0c24a88cccc32e5a6a9c3b'
Submodule path 'ocaml-version': checked out 'f4b8da01064f246e2394210ce2b34d29f43028f1'
Submodule path 'ocluster': checked out '164a3252d3a39f400ee4d3a2ac66d28585c62c7d'
Submodule path 'ocurrent': checked out '8e0b9d4bb348b13df8696fe63feba303b9a476fd'
HEAD is now at 9e4b14b Fix spec for integration test and add test case
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'
HEAD is now at dc9fcb7 Add detail to jobs-per-pr metric (#286)
warning: Could not unset core.worktree setting in submodule 'ocaml-dockerfile'
Cleared directory 'ocaml-dockerfile'
warning: Could not unset core.worktree setting in submodule 'ocaml-version'
Cleared directory 'ocaml-version'
warning: Could not unset core.worktree setting in submodule 'ocluster'
Cleared directory 'ocluster'
warning: Could not unset core.worktree setting in submodule 'ocurrent'
Cleared directory '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 'f4b8da01064f246e2394210ce2b34d29f43028f1'
Submodule path 'ocluster': checked out '164a3252d3a39f400ee4d3a2ac66d28585c62c7d'
Submodule path 'ocluster/obuilder': checked out '727fc265a86f388fe592db5cbb55e854630acc72'
Submodule path 'ocurrent': checked out '8e0b9d4bb348b13df8696fe63feba303b9a476fd'
Submodule path 'ocurrent/vendor/ocaml-gitlab': checked out '134d702d195504c024a380cf577bf8672aa5e91e'


(from ocaml/opam@sha256:edf32e07af8ba8049543148abceb81644da453d376f994a840caa4dc239273d5)
2024-03-28 13:12.55 ---> saved as "34e8fc130dfbfd17a6d6cde9307e3d5c830a62b7123b19d0bb6f6d0f8cfef024"


/: (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 e5463130cd99955bc860f15568192f39f1cb4248 || git fetch origin master) && git reset -q --hard e5463130cd99955bc860f15568192f39f1cb4248 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   a6ba98231d..4bb8cb8b65  master     -> origin/master
e5463130cd Merge pull request #25590 from hannesm/tls-0-17-4-bounds


<><> 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-03-28 13:14.11 ---> saved as "8aea2af9653d4737a1e5c25c7c4fbbd7ed8348240d7467e593601151c53c4e8f"


/: (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.14.2


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


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed dune.3.14.2
Done.
# Run eval $(opam env) to update the current shell environment
2024-03-28 13:14.57 ---> saved as "db851a3784fd19ad2ac51669c85f2db1d6e7ad39966a6f350599f70615927324"


/: (workdir /src)


/src: (copy (src .) (dst /src/))
2024-03-28 13:14.57 ---> saved as "e61d8f0caeac31bfd27a5cbdf350b98c9981adce446ae62e32dbb8c92071a8ea"


/src: (run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)"))
2024-03-28 13:14.59 ---> saved as "0d4d2e0fece1895c7196c5599eaf6c0b94e8462e81b68399280d84bae174d27f"
Job succeeded
2024-03-28 13:14.59: Job succeeded