Organisationsocurrentopam-repo-ci9e4b14 ()(lint-fmt)

(lint-fmt)

Link Copied
Code Copied

Logs

2024-05-10 15:38.03: New job: test ocurrent/opam-repo-ci https://github.com/ocurrent/opam-repo-ci.git#refs/pull/283/head (9e4b14b933d8019f014ce94564ab89a31800b031) (linux-x86_64:(lint-fmt))
Base: ocaml/opam@sha256:77e8da3284390873fa4e51e9c10a7377d6fa0524845bb813c99bf3b328fa84c3
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/283/head" && git reset --hard 9e4b14b9
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:77e8da3284390873fa4e51e9c10a7377d6fa0524845bb813c99bf3b328fa84c3
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 15:38.03: Using cache hint "ocurrent/opam-repo-ci-ocaml/opam@sha256:77e8da3284390873fa4e51e9c10a7377d6fa0524845bb813c99bf3b328fa84c3-alpine-3.19-4.14_opam-2.1-ocamlformat-307e33d08fc4ccc1ea453ab45b0ead8ed574b97b"
2024-05-10 15:38.03: Using OBuilder spec:
((from ocaml/opam@sha256:77e8da3284390873fa4e51e9c10a7377d6fa0524845bb813c99bf3b328fa84c3)
 (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 15:38.03: Waiting for resource in pool OCluster
2024-05-11 01:52.10: Waiting for worker…
2024-05-11 01:56.04: Got resource from pool OCluster
Building on x86-bm-c10.sw.ocaml.org
All commits already cached
Submodule path 'ocaml-dockerfile': checked out '20116eeff92025994741782d36e6371064c1a4a6'
Submodule path 'ocaml-version': checked out '7a8d86e1fc66329b189a155136147970e03a3a54'
Submodule path 'ocluster': checked out '912ecfd38f003c6f537abca7e5313973b15ba615'
Submodule path 'ocurrent': checked out 'e43b6c5c896a4cc5ca5c1d0cfbf10a6401fbcd47'
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'
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:77e8da3284390873fa4e51e9c10a7377d6fa0524845bb813c99bf3b328fa84c3)
Unable to find image 'ocaml/opam@sha256:77e8da3284390873fa4e51e9c10a7377d6fa0524845bb813c99bf3b328fa84c3' locally
docker.io/ocaml/opam@sha256:77e8da3284390873fa4e51e9c10a7377d6fa0524845bb813c99bf3b328fa84c3: Pulling from ocaml/opam
0e727ba8c875: Pulling fs layer
0e727ba8c875: Verifying Checksum
0e727ba8c875: Download complete
0e727ba8c875: Pull complete
Digest: sha256:77e8da3284390873fa4e51e9c10a7377d6fa0524845bb813c99bf3b328fa84c3
Status: Downloaded newer image for ocaml/opam@sha256:77e8da3284390873fa4e51e9c10a7377d6fa0524845bb813c99bf3b328fa84c3
2024-05-11 01:56.05 ---> using "114eadda20a44686269c8e503aaadc3bd85017946ab873b1b94d9716466204d2" 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 01:56.05 ---> using "d2fad78d34078441a973e701f4ed9c8baa473501ecb4c14f9182bc25dabaacb3" 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-05-11 01:56.35 ---> saved as "854c8c0308bfd27f1b8a643ce1f81d08062d9e191598804eea863781223cdb0a"


/: (workdir /src)


/src: (copy (src .) (dst /src/))
2024-05-11 01:56.36 ---> saved as "606fb100ddd2bdd03d6bb3f33ac6a7160afe0088f63e8711a59517b08b2626d3"


/src: (run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)"))
2024-05-11 01:56.36 ---> saved as "1a4651d35f1506b3398813f3793c97fd7dbc1e4d694457eb2603f1767e4e47c5"
Job succeeded
2024-05-11 01:56.37: Job succeeded