2024-05-17 10:56.37: New job: test tarides/tezos-ci https://github.com/tarides/tezos-ci.git#refs/heads/main (6edf344be19059c964ed9573947762f88caab4d2) (linux-x86_64:(lint-fmt))
Base: ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb
ocamlformat version: version 0.22.4 (from opam)
To reproduce locally:
git clone --recursive "https://github.com/tarides/tezos-ci.git" -b "main" && cd "tezos-ci" && git reset --hard 6edf344b
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.22.4
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 10:56.37: Using cache hint "tarides/tezos-ci-ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb-debian-12-4.08_opam-2.1-ocamlformat-307e33d08fc4ccc1ea453ab45b0ead8ed574b97b"
2024-05-17 10:56.37: 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.22.4"))
(copy (src .) (dst /src/))
(run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)"))
)
2024-05-17 10:56.37: Waiting for resource in pool OCluster
2024-05-17 10:56.37: Waiting for worker…
2024-05-17 13:10.53: Got resource from pool OCluster
Building on x86-bm-c7.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/tezos-ci.git-66d29bbe139621309f7caf577a9f1c4f5bd1ae43/.git/
HEAD is now at 6edf344 Mark as unmaintained
error: could not lock config file .git/modules/vendor/current-web-pipelines/config: No such file or directory
warning: Could not unset core.worktree setting in submodule 'vendor/current-web-pipelines'
Cleared directory 'vendor/current-web-pipelines'
error: could not lock config file .git/modules/vendor/ocaml-gitlab/config: No such file or directory
warning: Could not unset core.worktree setting in submodule 'vendor/ocaml-gitlab'
Cleared directory 'vendor/ocaml-gitlab'
error: could not lock config file .git/modules/ocluster/config: No such file or directory
warning: Could not unset core.worktree setting in submodule 'vendor/ocluster'
Cleared directory 'vendor/ocluster'
error: could not lock config file .git/modules/ocurrent/config: No such file or directory
warning: Could not unset core.worktree setting in submodule 'vendor/ocurrent'
Cleared directory 'vendor/ocurrent'
Submodule 'vendor/current-web-pipelines' (https://github.com/tarides/current-web-pipelines.git) registered for path 'vendor/current-web-pipelines'
Submodule 'vendor/ocaml-gitlab' (https://github.com/tmcgilchrist/ocaml-gitlab.git) registered for path 'vendor/ocaml-gitlab'
Submodule 'ocluster' (https://github.com/ocurrent/ocluster.git) registered for path 'vendor/ocluster'
Submodule 'ocurrent' (https://github.com/ocurrent/ocurrent.git) registered for path 'vendor/ocurrent'
Cloning into '/var/cache/obuilder/ocluster/git/tezos-ci.git-66d29bbe139621309f7caf577a9f1c4f5bd1ae43/vendor/current-web-pipelines'...
Cloning into '/var/cache/obuilder/ocluster/git/tezos-ci.git-66d29bbe139621309f7caf577a9f1c4f5bd1ae43/vendor/ocaml-gitlab'...
Cloning into '/var/cache/obuilder/ocluster/git/tezos-ci.git-66d29bbe139621309f7caf577a9f1c4f5bd1ae43/vendor/ocluster'...
Cloning into '/var/cache/obuilder/ocluster/git/tezos-ci.git-66d29bbe139621309f7caf577a9f1c4f5bd1ae43/vendor/ocurrent'...
From https://github.com/tarides/current-web-pipelines
* branch fee01e340fe0e1f41428b2bc96531f4eae86c018 -> FETCH_HEAD
Submodule path 'vendor/current-web-pipelines': checked out 'fee01e340fe0e1f41428b2bc96531f4eae86c018'
Submodule path 'vendor/ocaml-gitlab': checked out '0af123315eaf054060092fe6bafc6ed7a244fbe0'
From https://github.com/ocurrent/ocluster
* branch bd96fb0990b92e9c35ee02a543a960e22e50ed34 -> FETCH_HEAD
Submodule path 'vendor/ocluster': checked out 'bd96fb0990b92e9c35ee02a543a960e22e50ed34'
Submodule 'obuilder' (https://github.com/ocurrent/obuilder.git) registered for path 'vendor/ocluster/obuilder'
Cloning into '/var/cache/obuilder/ocluster/git/tezos-ci.git-66d29bbe139621309f7caf577a9f1c4f5bd1ae43/vendor/ocluster/obuilder'...
Submodule path 'vendor/ocluster/obuilder': checked out 'a2f4cec1774967a54808e6d5c9dfb6a4d77bc9c8'
Submodule path 'vendor/ocurrent': checked out '3fde9232c2cc24e5e79bcf95c0f631e9218f9ca3'
(from ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb)
Unable to find image 'ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb' locally
docker.io/ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb: Pulling from ocaml/opam
61aa86cd8a87: Pulling fs layer
61aa86cd8a87: Verifying Checksum
61aa86cd8a87: Download complete
61aa86cd8a87: Pull complete
Digest: sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb
Status: Downloaded newer image for ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb
2024-05-17 13:12.43 ---> saved as "e0805034d9e735da2cb99f3eb2cde6a7473dabe8bd1020b5bf9a6e9f3a9991fe"
/: (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..ec28f29e7d 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:13.36 ---> saved as "7a9e50f2cda6a477fecf9feb19820cff5cf752694490b969013ec5cc497c2763"
/: (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:14.13 ---> saved as "da0ef2a22593619ca89bdb7c851c410681f2b8fe60d8d94466f5cedadddd8593"
/: (workdir /src)
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext -i ocamlformat=0.22.4"))
# 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 sexplib0 v0.14.0 [required by base]
- install ocamlbuild 0.14.3 [required by fpath, uuseg]
- install menhirCST 20231231 [required by menhir]
- install either 1.0.0 [required by ocamlformat]
- install cmdliner 1.2.0 [required by ocamlformat]
- install menhirSdk 20231231 [required by ocamlformat]
- install ocaml-version 3.5.0 [required by ocamlformat]
- install ocamlfind 1.9.6 [required by ocp-indent, fpath, uuseg]
- install menhirLib 20231231 [required by ocamlformat]
- install result 1.5 [required by odoc-parser]
- install seq base [required by re]
- install csexp 1.5.2 [required by ocamlformat]
- install camlp-streams 5.0.1 [required by odoc-parser]
- install dune-build-info 3.15.2 [required by ocamlformat]
- install fix 20230505 [required by ocamlformat]
- install topkg 1.0.7 [required by fpath, uuseg]
- install base-bytes base [required by ocp-indent]
- install menhir 20231231 [required by ocamlformat]
- install re 1.11.0 [required by ocamlformat]
- install dune-configurator 3.15.2 [required by base]
- install uutf 1.0.3 [required by ocamlformat]
- install astring 0.8.5 [required by fpath, odoc-parser]
- install ocp-indent 1.8.1 [required by ocamlformat]
- install base v0.14.3 [required by ocamlformat]
- install uucp 15.0.0 [required by uuseg]
- install odoc-parser 1.0.1 [required by ocamlformat]
- 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 ocamlformat 0.22.4
===== 30 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[astring.0.8.5] found in cache
[base.v0.14.3] found in cache
[camlp-streams.5.0.1] found in cache
[cmdliner.1.2.0] found in cache
[csexp.1.5.2] found in cache
[dune-build-info.3.15.2] found in cache
[dune-configurator.3.15.2] found in cache
[either.1.0.0] 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-version.3.5.0] found in cache
[ocamlbuild.0.14.3] found in cache
[ocamlfind.1.9.6] found in cache
[ocp-indent.1.8.1] found in cache
[odoc-parser.1.0.1] found in cache
[ocamlformat.0.22.4] downloaded from https://github.com/ocaml-ppx/ocamlformat/releases/download/0.22.4/ocamlformat-0.22.4.tbz
[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
[topkg.1.0.7] 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 camlp-streams.5.0.1
-> installed csexp.1.5.2
-> installed either.1.0.0
-> installed fix.20230505
-> installed cmdliner.1.2.0
-> installed menhirCST.20231231
-> installed menhirLib.20231231
-> installed menhirSdk.20231231
-> installed ocaml-version.3.5.0
-> installed re.1.11.0
-> installed result.1.5
-> installed sexplib0.v0.14.0
-> installed dune-build-info.3.15.2
-> installed dune-configurator.3.15.2
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlbuild.0.14.3
-> installed ocp-indent.1.8.1
-> installed base.v0.14.3
-> installed topkg.1.0.7
-> installed stdio.v0.14.0
-> installed uutf.1.0.3
-> installed astring.0.8.5
-> installed odoc-parser.1.0.1
-> installed fpath.0.7.3
-> installed menhir.20231231
-> installed uucp.15.0.0
-> installed uuseg.15.0.0
-> installed ocamlformat.0.22.4
Done.
<><> ocp-indent.1.8.1 installed successfully ><><><><><><><><><><><><><><><><><>
=> This package requires additional configuration for use in editors. Install package 'user-setup', or manually:
* for Emacs, add these lines to ~/.emacs:
(add-to-list 'load-path "/home/opam/.opam/4.08/share/emacs/site-lisp")
(require 'ocp-indent)
* for Vim, add this line to ~/.vimrc:
set rtp^="/home/opam/.opam/4.08/share/ocp-indent/vim"
# Run eval $(opam env) to update the current shell environment
2024-05-17 13:15.34 ---> saved as "daac27064659eeaccfb99b29b8fc26bca018543da445e09c7a27d53c84466662"
/src: (copy (src .) (dst /src/))
2024-05-17 13:15.34 ---> saved as "fd441d0eafff5428ff2beb4f2faad9572d7096b8c06af310c0fdb6db38c248fb"
/src: (run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)"))
2024-05-17 13:15.35 ---> saved as "765384c3501677aca49e3906bb9e2c73a31e46c1e61fa6402e07abaa3ed18381"
Job succeeded
2024-05-17 13:15.35: Job succeeded