2024-05-17 14:02.03: New job: test inhabitedtype/ocaml-session https://github.com/inhabitedtype/ocaml-session.git#refs/heads/master (fcf4449bf8d3eabb33887f8612c2875432da0906) (linux-x86_64:(lint-fmt))
Base: ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b
ocamlformat version: none
To reproduce locally:
git clone --recursive "https://github.com/inhabitedtype/ocaml-session.git" -b "master" && cd "ocaml-session" && git reset --hard fcf4449b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b
USER 1000:1000
RUN cd ~/opam-repository && (git cat-file -e a1171af56c97da410b2fe70387be5d9bffeb9ea7 || git fetch origin master) && git reset -q --hard a1171af56c97da410b2fe70387be5d9bffeb9ea7 && 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 14:02.03: Using cache hint "inhabitedtype/ocaml-session-ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b-debian-12-4.07_opam-2.1-ocamlformat-a1171af56c97da410b2fe70387be5d9bffeb9ea7"
2024-05-17 14:02.03: Using OBuilder spec:
((from ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b)
(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 a1171af56c97da410b2fe70387be5d9bffeb9ea7 || git fetch origin master) && git reset -q --hard a1171af56c97da410b2fe70387be5d9bffeb9ea7 && 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 14:02.03: Waiting for resource in pool OCluster
2024-05-17 23:10.53: Connecting to build cluster…
2024-05-18 04:25.04: Waiting for worker…
2024-05-18 04:27.49: Got resource from pool OCluster
Building on x86-bm-c1.sw.ocaml.org
All commits already cached
HEAD is now at fcf4449 Merge pull request #34 from inhabitedtype/fix-ci
(from ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b)
Unable to find image 'ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b' locally
docker.io/ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b: Pulling from ocaml/opam
Digest: sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b
Status: Downloaded newer image for ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b
2024-05-18 04:29.30 ---> saved as "6ad54a8a0a996de05cd03ed30cbb4884566b39028d090d19101121413431a89f"
/: (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 a1171af56c97da410b2fe70387be5d9bffeb9ea7 || git fetch origin master) && git reset -q --hard a1171af56c97da410b2fe70387be5d9bffeb9ea7 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
6a2ad82c27..ec28f29e7d master -> origin/master
a1171af56c `postgresql` 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-18 04:31.44 ---> saved as "77cbc427eddd8cbeb99e1505587d9a526721e9fa72c2ae28768756940405e85c"
/: (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.2
===== 3 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[dune.3.15.2] 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.2
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-18 04:33.03 ---> saved as "7bd11c2c7fa2e6c28e30e76220943f7ab8e8b4872ab037bcc784ac4b4895649a"
/: (workdir /src)
/src: (copy (src .) (dst /src/))
2024-05-18 04:33.03 ---> saved as "c6c119de01fab19b2b696eb96b72fdfc0e2e4622aa2c1c46c9eea1569152392a"
/src: (run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)"))
2024-05-18 04:33.05 ---> saved as "3b7592f7e59bc0e1746e800f00a3d7381ab4e65d5c89ff24981b255a9f9068b9"
Job succeeded
2024-05-18 04:33.05: Job succeeded