2024-05-17 11:40.52: New job: test gs0510/index https://github.com/gs0510/index.git#refs/heads/master (8f2e73f68db6634484e605257f976bc281d811f1) (linux-x86_64:(lint-fmt)) Base: ocaml/opam@sha256:434b29677edb35b6cb3940408299d70ed7b10632b1122e5b92902d4e32e0b260 ocamlformat version: version 0.15.0 (from opam) To reproduce locally: git clone --recursive "https://github.com/gs0510/index.git" -b "master" && cd "index" && git reset --hard 8f2e73f6 cat > Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam@sha256:434b29677edb35b6cb3940408299d70ed7b10632b1122e5b92902d4e32e0b260 USER 1000:1000 RUN cd ~/opam-repository && (git cat-file -e 2275b400535e884d216047a092e70705139c9e41 || git fetch origin master) && git reset -q --hard 2275b400535e884d216047a092e70705139c9e41 && git log --no-decorate -n1 --oneline && opam update -u RUN opam depext -i dune WORKDIR /src RUN opam depext -i ocamlformat=0.15.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:40.52: Using cache hint "gs0510/index-ocaml/opam@sha256:434b29677edb35b6cb3940408299d70ed7b10632b1122e5b92902d4e32e0b260-debian-12-4.06_opam-2.1-ocamlformat-2275b400535e884d216047a092e70705139c9e41" 2024-05-17 11:40.52: Using OBuilder spec: ((from ocaml/opam@sha256:434b29677edb35b6cb3940408299d70ed7b10632b1122e5b92902d4e32e0b260) (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 2275b400535e884d216047a092e70705139c9e41 || git fetch origin master) && git reset -q --hard 2275b400535e884d216047a092e70705139c9e41 && 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.15.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:40.52: Waiting for resource in pool OCluster 2024-05-17 13:10.58: Waiting for worker… 2024-05-17 13:11.40: Got resource from pool OCluster Building on asteria.caelum.ci.dev All commits already cached HEAD is now at 8f2e73f Update cache.ml (from ocaml/opam@sha256:434b29677edb35b6cb3940408299d70ed7b10632b1122e5b92902d4e32e0b260) 2024-05-17 13:11.40 ---> using "892c338b589a62a59c59cff7a94a45d05cc552a424c9217d6aaf3ec3cf967845" 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 2275b400535e884d216047a092e70705139c9e41 || git fetch origin master) && git reset -q --hard 2275b400535e884d216047a092e70705139c9e41 && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD d4fc3679e9..ec28f29e7d master -> origin/master 2275b40053 @dra27 maintains ocaml-secondary-compiler <><> 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.40 ---> using "28c5edee80922e42b33e4503d2f6058b94cc9183e50792185b2a2185c29ad386" 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 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-17 13:11.53 ---> saved as "42c7f3d2eb22a3e3ed9ca25726451f7a970cfaf583789966d101fda4bbc8fad6" /: (workdir /src) /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam depext -i ocamlformat=0.15.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.0.4 [required by ocamlformat] - downgrade dune 3.15.2 to 2.9.3 [required by ocamlformat] - install topkg 1.0.7 [required by fpath, uuseg] - install sexplib0 v0.12.0 [required by base] - install seq 0.3.1 [required by tyxml] - install result 1.5 [required by ocaml-migrate-parsetree, odoc] - install ppx_derivers 1.2.1 [required by ocaml-migrate-parsetree] - install menhirSdk 20230608 [required by menhir] - install menhirLib 20230608 [required by menhir] - install fix 20230505 [required by ocamlformat] - install cppo 1.6.9 [required by odoc] - install uutf 1.0.3 [required by ocamlformat] - install astring 0.8.5 [required by fpath, odoc] - install base v0.12.0 [required by ocamlformat] - install re 1.11.0 [required by ocamlformat] - install ocaml-migrate-parsetree 1.8.0 [required by ocamlformat] - install menhir 20230608 [required by ocamlformat] - install uucp 14.0.0 [required by uuseg] - install fpath 0.7.3 [required by ocamlformat] - install stdio v0.12.0 [required by ocamlformat] - install tyxml 4.6.0 [required by odoc] - install uuseg 14.0.0 [required by ocamlformat] - install odoc 1.5.3 [required by ocamlformat] - install ocamlformat 0.15.0 ===== 24 to install | 1 to downgrade ===== <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><> [astring.0.8.5] found in cache [base.v0.12.0] found in cache [cmdliner.1.0.4] found in cache [cppo.1.6.9] found in cache [dune.2.9.3] found in cache [fix.20230505] found in cache [fpath.0.7.3] found in cache [menhir.20230608] found in cache [menhirLib.20230608] found in cache [menhirSdk.20230608] found in cache [ocaml-migrate-parsetree.1.8.0] found in cache [ocamlbuild.0.14.3] found in cache [odoc.1.5.3] found in cache [ppx_derivers.1.2.1] found in cache [re.1.11.0] found in cache [result.1.5] found in cache [seq.0.3.1] found in cache [sexplib0.v0.12.0] found in cache [stdio.v0.12.0] found in cache [topkg.1.0.7] found in cache [tyxml.4.6.0] found in cache [ocamlformat.0.15.0] downloaded from https://github.com/ocaml-ppx/ocamlformat/releases/download/0.15.0/ocamlformat-0.15.0.tbz [uucp.14.0.0] found in cache [uutf.1.0.3] found in cache [uuseg.14.0.0] downloaded from https://erratique.ch/software/uuseg/releases/uuseg-14.0.0.tbz <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed cmdliner.1.0.4 -> installed ocamlbuild.0.14.3 -> installed topkg.1.0.7 -> installed uutf.1.0.3 -> installed astring.0.8.5 -> removed dune.3.15.2 -> installed dune.2.9.3 -> installed fpath.0.7.3 -> installed ppx_derivers.1.2.1 -> installed result.1.5 -> installed fix.20230505 -> installed cppo.1.6.9 -> installed menhirLib.20230608 -> installed menhirSdk.20230608 -> installed seq.0.3.1 -> installed sexplib0.v0.12.0 -> installed re.1.11.0 -> installed ocaml-migrate-parsetree.1.8.0 -> installed tyxml.4.6.0 -> installed base.v0.12.0 -> installed stdio.v0.12.0 -> installed odoc.1.5.3 -> installed menhir.20230608 -> installed uucp.14.0.0 -> installed uuseg.14.0.0 -> installed ocamlformat.0.15.0 Done. # Run eval $(opam env) to update the current shell environment 2024-05-17 13:12.39 ---> saved as "e59180f3192c906ff68195acdf715176e7ad7e5f6d5c3ec5d498979e3b15908d" /src: (copy (src .) (dst /src/)) 2024-05-17 13:12.39 ---> saved as "b0771a637f0a06ab6d4fc5fca020e56186034c8cb0b98cc157d6d0d483a202cc" /src: (run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)")) File "src/cache.ml", line 1, characters 0-0: ocamlformat test/unix/.formatted/common.ml (exit 1) (cd _build/default && /home/opam/.opam/4.06/bin/ocamlformat --impl test/unix/common.ml) > _build/default/test/unix/.formatted/common.ml ocamlformat: ignoring "test/unix/common.ml" (syntax error) File "test/unix/common.ml", line 209, characters 6-9: Error: Syntax error: operator expected. ocamlformat test/unix/.formatted/common.mli (exit 1) (cd _build/default && /home/opam/.opam/4.06/bin/ocamlformat --intf test/unix/common.mli) > _build/default/test/unix/.formatted/common.mli ocamlformat: ignoring "test/unix/common.mli" (syntax error) File "test/unix/common.mli", line 87, characters 6-9: Error: Syntax error: operator expected. ocamlformat test/unix/.formatted/flush_callback.ml (exit 1) (cd _build/default && /home/opam/.opam/4.06/bin/ocamlformat --impl test/unix/flush_callback.ml) > _build/default/test/unix/.formatted/flush_callback.ml ocamlformat: ignoring "test/unix/flush_callback.ml" (syntax error) File "test/unix/flush_callback.ml", line 81, characters 5-6: Error: Syntax error ocamlformat test/unix/.formatted/force_merge.ml (exit 1) (cd _build/default && /home/opam/.opam/4.06/bin/ocamlformat --impl test/unix/force_merge.ml) > _build/default/test/unix/.formatted/force_merge.ml ocamlformat: ignoring "test/unix/force_merge.ml" (syntax error) File "test/unix/force_merge.ml", line 97, characters 5-6: Error: Syntax error ocamlformat test/unix/.formatted/main.ml (exit 1) (cd _build/default && /home/opam/.opam/4.06/bin/ocamlformat --impl test/unix/main.ml) > _build/default/test/unix/.formatted/main.ml ocamlformat: ignoring "test/unix/main.ml" (syntax error) File "test/unix/main.ml", line 64, characters 7-8: Error: Syntax error git (internal) (exit 1) (cd _build/default && /usr/bin/git --no-pager diff --no-index --color=always -u src/cache.ml src/.formatted/cache.ml) diff --git a/src/cache.ml b/src/.formatted/cache.ml index f17ed79..ce82246 100644 --- a/src/cache.ml +++ b/src/.formatted/cache.ml @@ -28,7 +28,6 @@ module type S = sig val remove : ('k, _) t -> 'k -> unit end - (** Cache implementation that always misses. *) module Noop : S = struct type (_, _) t = unit dune build @fmt failed "/usr/bin/env" "bash" "-c" "opam exec -- dune build @fmt --ignore-promoted-rules || (echo "dune build @fmt failed"; exit 2)" failed with exit status 2 2024-05-17 13:12.41: Job failed: Failed: Build failed