Organisationsocaml-opamopam2webd3d36b (master)(lint-fmt)

(lint-fmt)

Link Copied
Code Copied

Logs

2024-05-17 13:18.49: New job: test ocaml-opam/opam2web https://github.com/ocaml-opam/opam2web.git#refs/heads/master (d3d36b81174cbbb9df9dfe525cd2cfe77fd86206) (linux-x86_64:(lint-fmt))
Base: ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb
ocamlformat version: none


To reproduce locally:


git clone --recursive "https://github.com/ocaml-opam/opam2web.git" -b "master" && cd "opam2web" && git reset --hard d3d36b81
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb
USER 1000:1000
RUN cd ~/opam-repository && (git cat-file -e c3efef47f6cef033a2a86117ef9bb65e51a9266e || git fetch origin master) && git reset -q --hard c3efef47f6cef033a2a86117ef9bb65e51a9266e && 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-17 13:18.49: Using cache hint "ocaml-opam/opam2web-ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb-debian-12-4.08_opam-2.1-ocamlformat-c3efef47f6cef033a2a86117ef9bb65e51a9266e"
2024-05-17 13:18.49: 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 c3efef47f6cef033a2a86117ef9bb65e51a9266e || git fetch origin master) && git reset -q --hard c3efef47f6cef033a2a86117ef9bb65e51a9266e && 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-17 13:18.49: Waiting for resource in pool OCluster
2024-05-17 13:18.49: Waiting for worker…
2024-05-17 13:18.49: Got resource from pool OCluster
Building on x86-bm-c2.sw.ocaml.org
All commits already cached
Submodule path 'content/doc': checked out '13a77b2bc576763bfa469ca3ef6f139402b7357b'
HEAD is now at d3d36b8 Merge pull request #232 from rjbou/key
Synchronizing submodule url for 'content/doc'
Cleared directory 'content/doc'
Submodule 'content/doc' (https://github.com/ocaml/opam.wiki.git) unregistered for path 'content/doc'
Submodule 'content/doc' (https://github.com/ocaml/opam.wiki.git) registered for path 'content/doc'
Submodule path 'content/doc': checked out '13a77b2bc576763bfa469ca3ef6f139402b7357b'


(from ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb)
2024-05-17 13:18.50 ---> 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 c3efef47f6cef033a2a86117ef9bb65e51a9266e || git fetch origin master) && git reset -q --hard c3efef47f6cef033a2a86117ef9bb65e51a9266e && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   eb2dcab0d8..ec28f29e7d  master     -> origin/master
c3efef47f6 `http` version 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-05-17 13:20.00 ---> saved as "8d9809c3411a44c75135a8f86ea2ae771b20948e6f0ed8845d7a70a5a66ffc40"


/: (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-17 13:20.46 ---> saved as "1f320931d6c31af75ae2470203579d91a69ddb72cbae8217a20f7183016d9a82"


/: (workdir /src)


/src: (copy (src .) (dst /src/))
2024-05-17 13:20.46 ---> saved as "8205e73c8c44da600b56e5cd131177880804824dc7be925d61bc88d09f63c221"


/src: (run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)"))
2024-05-17 13:20.47 ---> saved as "311b67bf309728d8c6ad4f8e9a295a897bfbc3c1705ff940a7b2b8d737b58286"
Job succeeded
2024-05-17 13:20.47: Job succeeded