Organisationsmirageprometheus9bffcb ()(lint-fmt)

(lint-fmt)

Link Copied
Code Copied

Logs

2024-04-14 12:39.02: New job: test mirage/prometheus https://github.com/mirage/prometheus.git#refs/heads/master (9bffcbe0b45e8887353e1b4bd7462bc0cdd7baac) (linux-x86_64:(lint-fmt))
Base: ocaml/opam@sha256:878a774498ae290930d6148639fb7a67dad42523c3b76f638f93b2077207e72f
ocamlformat version: none


To reproduce locally:


git clone --recursive "https://github.com/mirage/prometheus.git" -b "master" && cd "prometheus" && git reset --hard 9bffcbe0
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:878a774498ae290930d6148639fb7a67dad42523c3b76f638f93b2077207e72f
USER 1000:1000
RUN cd ~/opam-repository && (git cat-file -e 950c52962d34ab7507ecebe8cc7ef16fed0f292a || git fetch origin master) && git reset -q --hard 950c52962d34ab7507ecebe8cc7ef16fed0f292a && 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-04-14 12:39.02: Using cache hint "mirage/prometheus-ocaml/opam@sha256:878a774498ae290930d6148639fb7a67dad42523c3b76f638f93b2077207e72f-debian-12-4.02_opam-2.1-ocamlformat-950c52962d34ab7507ecebe8cc7ef16fed0f292a"
2024-04-14 12:39.02: Using OBuilder spec:
((from ocaml/opam@sha256:878a774498ae290930d6148639fb7a67dad42523c3b76f638f93b2077207e72f)
 (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 950c52962d34ab7507ecebe8cc7ef16fed0f292a || git fetch origin master) && git reset -q --hard 950c52962d34ab7507ecebe8cc7ef16fed0f292a && 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-04-14 12:39.02: Waiting for resource in pool OCluster
2024-04-14 12:39.03: Waiting for worker…
2024-04-14 12:39.49: Got resource from pool OCluster
Building on x86-bm-c6.sw.ocaml.org
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint: 	git config --global init.defaultBranch <name>
hint: 
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint: 
hint: 	git branch -m <name>
Initialized empty Git repository in /var/cache/obuilder/ocluster/git/prometheus.git-f13b9ef5d459724692fd64eaf5d2c797ceb766ae/.git/
HEAD is now at 9bffcbe Merge pull request #50 from tmcgilchrist/api_docs


(from ocaml/opam@sha256:878a774498ae290930d6148639fb7a67dad42523c3b76f638f93b2077207e72f)
Unable to find image 'ocaml/opam@sha256:878a774498ae290930d6148639fb7a67dad42523c3b76f638f93b2077207e72f' locally
docker.io/ocaml/opam@sha256:878a774498ae290930d6148639fb7a67dad42523c3b76f638f93b2077207e72f: Pulling from ocaml/opam
b9102aed9654: Pulling fs layer
b9102aed9654: Verifying Checksum
b9102aed9654: Download complete
b9102aed9654: Pull complete
Digest: sha256:878a774498ae290930d6148639fb7a67dad42523c3b76f638f93b2077207e72f
Status: Downloaded newer image for ocaml/opam@sha256:878a774498ae290930d6148639fb7a67dad42523c3b76f638f93b2077207e72f
2024-04-14 12:41.25 ---> saved as "55554dc33b1f6c2b893d7323771050fdd260fbca6e92cf26cf38893a38d74dd6"


/: (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 950c52962d34ab7507ecebe8cc7ef16fed0f292a || git fetch origin master) && git reset -q --hard 950c52962d34ab7507ecebe8cc7ef16fed0f292a && git log --no-decorate -n1 --oneline && opam update -u"))
950c52962d [new release] dune (15 packages) (3.15.0)


<><> 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-04-14 12:42.15 ---> saved as "5f89a2716e9671c6412b993d9557fbf5a902e251e6e66d92cd3f23686a16d53e"


/: (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 ocamlfind           1.9.6  [required by ocamlfind-secondary]
  - install ocamlfind-secondary 1.9.6  [required by dune]
  - install dune                3.15.0
===== 3 to install =====


<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[dune.3.15.0] found in cache
[ocamlfind.1.9.6] found in cache
[ocamlfind-secondary.1.9.6] found in cache


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed ocamlfind.1.9.6
-> installed ocamlfind-secondary.1.9.6
-> installed dune.3.15.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-14 12:43.21 ---> saved as "b0fed0ef4b62a527d07c5c8323ae42106ad02337807c1e8c59bde96439196851"


/: (workdir /src)


/src: (copy (src .) (dst /src/))
2024-04-14 12:43.21 ---> saved as "82887dbf71579e352b2ccb3fe6e510b0cefa922b80bb22c3e48b9a9c6fa345f0"


/src: (run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)"))
2024-04-14 12:43.22 ---> saved as "459dfdd38b2ce56e212d8c085a90f8ffe8b1a6963480894527fb4b5405371a9e"
Job succeeded
2024-04-14 12:43.22: Job succeeded