2024-05-17 11:24.53: New job: test mirage/encore https://github.com/mirage/encore.git#refs/heads/master (55d8377c9fd3cb8f71cfe16d90aede0487a214cc) (linux-x86_64:(lint-fmt))
Base: ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb
ocamlformat version: version 0.17.0 (from opam)
To reproduce locally:
git clone --recursive "https://github.com/mirage/encore.git" -b "master" && cd "encore" && git reset --hard 55d8377c
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb
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
RUN opam depext -i ocamlformat=0.17.0
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 11:24.53: Using cache hint "mirage/encore-ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb-debian-12-4.08_opam-2.1-ocamlformat-307e33d08fc4ccc1ea453ab45b0ead8ed574b97b"
2024-05-17 11:24.53: 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 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)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext -i ocamlformat=0.17.0"))
(copy (src .) (dst /src/))
(run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)"))
)
2024-05-17 11:24.53: Waiting for resource in pool OCluster
2024-05-17 13:10.58: Waiting for worker…
2024-05-17 13:11.27: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 55d8377 Merge pull request #32 from mirage/prepare-v0.8
(from ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb)
2024-05-17 13:11.26 ---> 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 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..23fec2c23a 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-17 13:11.26 ---> using "7a9e50f2cda6a477fecf9feb19820cff5cf752694490b969013ec5cc497c2763" 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=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:11.26 ---> using "da0ef2a22593619ca89bdb7c851c410681f2b8fe60d8d94466f5cedadddd8593" from cache
/: (workdir /src)
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext -i ocamlformat=0.17.0"))
# 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 ocamlbuild 0.14.3 [required by fpath, uuseg]
- install cmdliner 1.2.0 [required by ocamlformat]
- downgrade dune 3.15.2 to 2.9.3 [required by ocamlformat]
- install ocamlfind 1.9.6 [required by fpath, uuseg]
- install seq base [required by tyxml]
- install stdlib-shims 0.3.0 [required by ppxlib]
- install sexplib0 v0.14.0 [required by base, ppxlib]
- install result 1.5 [required by odoc]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ocaml-version 3.5.0 [required by ocamlformat]
- install ocaml-migrate-parsetree 2.4.0 [required by ocamlformat]
- install ocaml-compiler-libs v0.12.4 [required by ppxlib]
- install menhirSdk 20231231 [required by ocamlformat]
- install menhirLib 20231231 [required by ocamlformat]
- install menhirCST 20231231 [required by menhir]
- install fix 20230505 [required by ocamlformat]
- install dune-build-info 2.9.3 [required by ocamlformat]
- install csexp 1.5.1 [required by dune-configurator]
- install cppo 1.6.9 [required by odoc]
- install topkg 1.0.7 [required by fpath, uuseg]
- install re 1.11.0 [required by ocamlformat]
- install ppxlib 0.22.2 [required by ocamlformat]
- install menhir 20231231 [required by ocamlformat]
- install dune-configurator 2.9.3 [required by base]
- install uutf 1.0.3 [required by ocamlformat]
- install astring 0.8.5 [required by fpath, odoc]
- install base v0.14.3 [required by ocamlformat]
- install uucp 15.0.0 [required by uuseg]
- install tyxml 4.6.0 [required by odoc]
- install fpath 0.7.3 [required by ocamlformat]
- install stdio v0.14.0 [required by ocamlformat]
- install uuseg 15.0.0 [required by ocamlformat]
- install odoc 1.5.3 [required by ocamlformat]
- install ocamlformat 0.17.0
===== 33 to install | 1 to downgrade =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[astring.0.8.5] found in cache
[base.v0.14.3] found in cache
[cmdliner.1.2.0] found in cache
[cppo.1.6.9] found in cache
[csexp.1.5.1] found in cache
[dune.2.9.3] found in cache
[dune-build-info.2.9.3] found in cache
[dune-configurator.2.9.3] found in cache
[fix.20230505] found in cache
[fpath.0.7.3] found in cache
[menhir.20231231] found in cache
[menhirCST.20231231] found in cache
[menhirLib.20231231] found in cache
[menhirSdk.20231231] found in cache
[ocaml-compiler-libs.v0.12.4] found in cache
[ocaml-migrate-parsetree.2.4.0] found in cache
[ocaml-version.3.5.0] found in cache
[ocamlbuild.0.14.3] found in cache
[ocamlfind.1.9.6] found in cache
[ocamlformat.0.17.0] found in cache
[odoc.1.5.3] found in cache
[ppx_derivers.1.2.1] found in cache
[ppxlib.0.22.2] found in cache
[re.1.11.0] found in cache
[result.1.5] found in cache
[sexplib0.v0.14.0] found in cache
[stdio.v0.14.0] found in cache
[stdlib-shims.0.3.0] found in cache
[topkg.1.0.7] found in cache
[tyxml.4.6.0] found in cache
[uucp.15.0.0] found in cache
[uuseg.15.0.0] found in cache
[uutf.1.0.3] found in cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed seq.base
-> installed cmdliner.1.2.0
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.14.3
-> removed dune.3.15.2
-> installed dune.2.9.3
-> installed topkg.1.0.7
-> installed csexp.1.5.1
-> installed dune-build-info.2.9.3
-> installed cppo.1.6.9
-> installed fix.20230505
-> installed menhirCST.20231231
-> installed menhirLib.20231231
-> installed menhirSdk.20231231
-> installed ocaml-compiler-libs.v0.12.4
-> installed ocaml-migrate-parsetree.2.4.0
-> installed ocaml-version.3.5.0
-> installed ppx_derivers.1.2.1
-> installed re.1.11.0
-> installed result.1.5
-> installed sexplib0.v0.14.0
-> installed stdlib-shims.0.3.0
-> installed astring.0.8.5
-> installed uutf.1.0.3
-> installed dune-configurator.2.9.3
-> installed fpath.0.7.3
-> installed tyxml.4.6.0
-> installed base.v0.14.3
-> installed odoc.1.5.3
-> installed menhir.20231231
-> installed stdio.v0.14.0
-> installed ppxlib.0.22.2
-> installed uucp.15.0.0
-> installed uuseg.15.0.0
-> installed ocamlformat.0.17.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-17 13:12.20 ---> saved as "ee487b41d53d8e32fd37c5c3321264e6374d17a1eeadf0f1b09c9d81d706a2c7"
/src: (copy (src .) (dst /src/))
2024-05-17 13:12.20 ---> saved as "6773110ac4658c98bc6192bc66834e906a40dedfcd4e9f5e6743cec643245a29"
/src: (run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)"))
2024-05-17 13:12.21 ---> saved as "657ff53b360d923ebf755207afffab1f7768bd700d633d5505ad06f8c455ce93"
Job succeeded
2024-05-17 13:12.21: Job succeeded