Organisationsocurrentopam-repo-ci2577bc ()(lint-fmt)

(lint-fmt)

Link Copied
Code Copied

Logs

2024-03-27 15:29.35: New job: test ocurrent/opam-repo-ci https://github.com/ocurrent/opam-repo-ci.git#refs/pull/287/head (2577bcf51d7cf83a94590d8f2d10bb2d80032bc3) (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" && cd "opam-repo-ci" && git fetch origin "refs/pull/287/head" && git reset --hard 2577bcf5
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-27 15:29.35: Using cache hint "ocurrent/opam-repo-ci-ocaml/opam@sha256:edf32e07af8ba8049543148abceb81644da453d376f994a840caa4dc239273d5-alpine-3.19-4.14_opam-2.1-ocamlformat-e5463130cd99955bc860f15568192f39f1cb4248"
2024-03-27 15:29.35: 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-27 15:29.35: Waiting for resource in pool OCluster
2024-03-27 17:16.14: Waiting for worker…
2024-03-27 17:18.54: 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 cccb418 Add detail to jobs-per-pr metric (TEMP)
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 2577bcf Bug fix using current primitives
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)
Unable to find image 'ocaml/opam@sha256:edf32e07af8ba8049543148abceb81644da453d376f994a840caa4dc239273d5' locally
docker.io/ocaml/opam@sha256:edf32e07af8ba8049543148abceb81644da453d376f994a840caa4dc239273d5: Pulling from ocaml/opam
5a407793dc9d: Pulling fs layer
5a407793dc9d: Verifying Checksum
5a407793dc9d: Download complete
5a407793dc9d: Pull complete
Digest: sha256:edf32e07af8ba8049543148abceb81644da453d376f994a840caa4dc239273d5
Status: Downloaded newer image for ocaml/opam@sha256:edf32e07af8ba8049543148abceb81644da453d376f994a840caa4dc239273d5
2024-03-27 17:18.55 ---> using "34e8fc130dfbfd17a6d6cde9307e3d5c830a62b7123b19d0bb6f6d0f8cfef024" 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 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..ee7f724f69  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-27 17:18.55 ---> using "8aea2af9653d4737a1e5c25c7c4fbbd7ed8348240d7467e593601151c53c4e8f" 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.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-27 17:18.55 ---> using "db851a3784fd19ad2ac51669c85f2db1d6e7ad39966a6f350599f70615927324" from cache


/: (workdir /src)


/src: (copy (src .) (dst /src/))
2024-03-27 17:18.55 ---> saved as "f81f1aebcb6f56a3a96540b79f5629ec35d31c5039e496930fe8c117d5f06a7b"


/src: (run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)"))
2024-03-27 17:18.57 ---> saved as "9d18ba0754c540847b0dbc13d14a83e055a5d6116b18f89c2b5041f88c02f7d0"
Job succeeded
2024-03-27 17:18.57: Job succeeded