Organisationsgs0510index8f2e73 (master)(lint-fmt)

(lint-fmt)

Logs

Show full logs
2026-05-13 10:19.02: New job: test gs0510/index https://github.com/gs0510/index.git#refs/heads/master (8f2e73f68db6634484e605257f976bc281d811f1) (linux-x86_64:(lint-fmt))
Base: ocaml/opam:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c
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:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c
USER 1000:1000
RUN cd ~/opam-repository && (git cat-file -e acfe13dbd28228cc284d3fc1deb9a78b6a1451fa || git fetch origin master) && git reset -q --hard acfe13dbd28228cc284d3fc1deb9a78b6a1451fa && 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

2026-05-13 10:19.02: Using cache hint "gs0510/index-ocaml/opam:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c-debian-13-4.11_opam-2.5-ocamlformat-acfe13dbd28228cc284d3fc1deb9a78b6a1451fa"
2026-05-13 10:19.02: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c)
 (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 acfe13dbd28228cc284d3fc1deb9a78b6a1451fa || git fetch origin master) && git reset -q --hard acfe13dbd28228cc284d3fc1deb9a78b6a1451fa && 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)"))
)

2026-05-13 10:19.02: Waiting for resource in pool OCluster
2026-05-13 10:43.53: Waiting for worker…
2026-05-13 10:45.34: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
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>
Initialised empty Git repository in /var/cache/obuilder/ocluster/git/index.git-e2568b4ca0d28428be2a6fd6d7fe4d9cc3ed018c/.git/
HEAD is now at 8f2e73f Update cache.ml

(from ocaml/opam:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c)
2026-05-13 10:45.35 ---> using "36abb6db1723167d15c41f53ef05d371444812dc64e2ea7fe109d222db988473" 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 acfe13dbd28228cc284d3fc1deb9a78b6a1451fa || git fetch origin master) && git reset -q --hard acfe13dbd28228cc284d3fc1deb9a78b6a1451fa && git log --no-decorate -n1 --oneline && opam update -u"))
acfe13dbd2 Merge pull request #29743 from nmatschke/opam-publish-base.v0.15.2

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository

Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).

The following packages are not being upgraded because the new versions conflict with other installed packages:
  - ocaml.5.6.0
  - ocaml-config.3
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
2026-05-13 10:45.35 ---> using "73cbcc6a0f4f2fd56bc3737bacde59300984fc700af0e755299a53540455d299" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "opam depext -i dune"))
Since version 2.1, opam now handles external dependencies alongside OCaml ones, and the `depext` plugin interface is provided for backwards compatibility only. Consider using your usual `opam install` command to install both OCaml and system dependencies, or `opam install <pkg> --depext-only` if you want to only install external dependencies.
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
The following actions will be performed:
  - install dune 3.22.2

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.22.2  (cached)
-> installed dune.3.22.2
Done.
# Run eval $(opam env) to update the current shell environment
2026-05-13 10:45.35 ---> using "a96201678509f1aa684a2d66aad75bff53c5d124169f5bbc69921d98a07ae16d" from cache

/: (workdir /src)

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam depext -i ocamlformat=0.15.0"))
Since version 2.1, opam now handles external dependencies alongside OCaml ones, and the `depext` plugin interface is provided for backwards compatibility only. Consider using your usual `opam install` command to install both OCaml and system dependencies, or `opam install <pkg> --depext-only` if you want to only install external dependencies.
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
The following actions will be performed:
  - install   cmdliner                1.3.0           [required by ocamlformat]
  - install   ocamlbuild              0.16.1          [required by fpath, uuseg]
  - downgrade dune                    3.22.2 to 2.9.3 [required by ocamlformat]
  - install   seq                     base            [required by tyxml]
  - install   ocamlfind               1.9.8           [required by fpath, uuseg]
  - install   sexplib0                v0.15.1         [required by base]
  - install   result                  1.5             [required by ocaml-migrate-parsetree, odoc]
  - install   ppx_derivers            1.2.1           [required by ocaml-migrate-parsetree]
  - install   menhirSdk               20260209        [required by menhir]
  - install   menhirLib               20260209        [required by menhir]
  - install   menhirGLR               20260209        [required by menhir]
  - install   menhirCST               20260209        [required by menhir]
  - install   fix                     20250919        [required by ocamlformat]
  - install   csexp                   1.5.1           [required by dune-configurator]
  - install   cppo                    1.8.0           [required by odoc]
  - install   re                      1.11.0          [required by ocamlformat]
  - install   topkg                   1.1.1           [required by fpath, uuseg]
  - install   ocaml-migrate-parsetree 1.8.0           [required by ocamlformat]
  - install   menhir                  20260209        [required by ocamlformat]
  - install   dune-configurator       2.9.3           [required by base]
  - install   uutf                    1.0.4           [required by ocamlformat]
  - install   astring                 0.8.5           [required by fpath, odoc]
  - install   base                    v0.15.2         [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.15.0         [required by ocamlformat]
  - install   uuseg                   15.0.0          [required by ocamlformat]
  - install   odoc                    1.5.3           [required by ocamlformat]
  - install   ocamlformat             0.15.0
===== 29 to install | 1 to downgrade =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved base.v0.15.2  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.1  (cached)
-> retrieved dune.2.9.3  (cached)
-> retrieved dune-configurator.2.9.3  (cached)
-> retrieved fix.20250919  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved menhir.20260209  (cached)
-> retrieved menhirCST.20260209  (cached)
-> retrieved menhirGLR.20260209  (cached)
-> retrieved menhirLib.20260209  (cached)
-> retrieved menhirSdk.20260209  (cached)
-> retrieved ocaml-migrate-parsetree.1.8.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ocamlformat.0.15.0  (cached)
-> retrieved odoc.1.5.3  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved re.1.11.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved sexplib0.v0.15.1  (cached)
-> retrieved stdio.v0.15.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved uuseg.15.0.0  (cached)
-> retrieved tyxml.4.6.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved uucp.15.0.0  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed astring.0.8.5
-> removed   dune.3.22.2
-> installed dune.2.9.3
-> installed fpath.0.7.3
-> installed csexp.1.5.1
-> installed ppx_derivers.1.2.1
-> installed menhirCST.20260209
-> installed result.1.5
-> installed fix.20250919
-> installed menhirGLR.20260209
-> installed menhirLib.20260209
-> installed menhirSdk.20260209
-> installed sexplib0.v0.15.1
-> installed re.1.11.0
-> installed cppo.1.8.0
-> installed dune-configurator.2.9.3
-> installed tyxml.4.6.0
-> installed ocaml-migrate-parsetree.1.8.0
-> installed base.v0.15.2
-> installed stdio.v0.15.0
-> installed menhir.20260209
-> installed odoc.1.5.3
-> installed uucp.15.0.0
-> installed uuseg.15.0.0
-> installed ocamlformat.0.15.0
Done.
# Run eval $(opam env) to update the current shell environment
2026-05-13 10:49.32 ---> saved as "c32ef22a18c4b1abe81d21713f7fb7a351513b51e7dd02d4e2468b4d83fdbc78"

/src: (copy (src .) (dst /src/))
2026-05-13 10:49.32 ---> saved as "7e8ade9f7053b71713ca00ee5afb0b3eccef11cab76dcc0d69e1fde173885c97"

/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:
         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
2026-05-13 10:49.33: Job failed: Failed: Build failed