Organisationsdinosaurehxd6c3c1f (master)(lint-fmt)

(lint-fmt)

Logs

Show full logs
2024-05-17 11:02.57: New job: test dinosaure/hxd https://github.com/dinosaure/hxd.git#refs/heads/master (6c3c1ff212f67a3d2106e18b2a0358b2dc5f56bd) (linux-x86_64:(lint-fmt))
Base: ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b
ocamlformat version: version 0.16.0 (from opam)

To reproduce locally:

git clone --recursive "https://github.com/dinosaure/hxd.git" -b "master" && cd "hxd" && git reset --hard 6c3c1ff2
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b
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.16.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:02.57: Using cache hint "dinosaure/hxd-ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b-debian-12-4.07_opam-2.1-ocamlformat-2275b400535e884d216047a092e70705139c9e41"
2024-05-17 11:02.57: 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 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.16.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:02.57: Waiting for resource in pool OCluster
2024-05-17 11:02.57: Waiting for worker…
2024-05-17 13:10.53: Got resource from pool OCluster
Building on x86-bm-c3.sw.ocaml.org
All commits already cached
HEAD is now at 6c3c1ff Merge pull request #13 from dinosaure/prepare-v0.3.2

(from ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b)
Unable to find image 'ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b' locally
docker.io/ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b: Pulling from ocaml/opam
2264256a3b65: Pulling fs layer
2264256a3b65: Verifying Checksum
2264256a3b65: Download complete
2264256a3b65: Pull complete
Digest: sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b
Status: Downloaded newer image for ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b
2024-05-17 13:12.39 ---> 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 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
   6a2ad82c27..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:13.44 ---> saved as "ee7005b12b20a20243b6e61fb6482f8c1777f246e86dee3f3943eff39a21eb69"

/: (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:14.27 ---> saved as "85f69e8d0901c1bc46b5064d62099fe2f43596a548ac5086483cc5db3f39d5b9"

/: (workdir /src)

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam depext -i ocamlformat=0.16.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   seq                     base            [required by tyxml]
  - install   topkg                   1.0.7           [required by fpath, uuseg]
  - install   stdlib-shims            0.3.0           [required by ppxlib]
  - install   sexplib0                v0.12.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 ppxlib]
  - install   ocaml-compiler-libs     v0.12.4         [required by ppxlib]
  - install   menhirSdk               20230608        [required by menhir]
  - install   menhirLib               20230608        [required by menhir]
  - install   fix                     20230505        [required by ocamlformat]
  - install   dune-build-info         2.9.3           [required by ocamlformat]
  - install   cppo                    1.6.9           [required by odoc]
  - install   re                      1.11.0          [required by ocamlformat]
  - 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   ppxlib                  0.21.1          [required by ocamlformat]
  - install   menhir                  20230608        [required by ocamlformat]
  - install   uucp                    14.0.0          [required by uuseg]
  - install   tyxml                   4.6.0           [required by odoc]
  - install   fpath                   0.7.3           [required by ocamlformat]
  - install   stdio                   v0.12.0         [required by ocamlformat]
  - install   uuseg                   14.0.0          [required by ocamlformat]
  - install   odoc                    1.5.3           [required by ocamlformat]
  - install   ocamlformat             0.16.0
===== 29 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
[dune-build-info.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-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
[ocamlformat.0.16.0] found in cache
[odoc.1.5.3] found in cache
[ppx_derivers.1.2.1] found in cache
[ppxlib.0.21.1] found in cache
[re.1.11.0] found in cache
[result.1.5] found in cache
[sexplib0.v0.12.0] found in cache
[stdio.v0.12.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.14.0.0] found in cache
[uuseg.14.0.0] found in cache
[uutf.1.0.3] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed seq.base
-> installed cmdliner.1.0.4
-> installed ocamlbuild.0.14.3
-> removed   dune.3.15.2
-> installed dune.2.9.3
-> installed topkg.1.0.7
-> installed dune-build-info.2.9.3
-> installed fix.20230505
-> installed cppo.1.6.9
-> installed menhirLib.20230608
-> installed menhirSdk.20230608
-> 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.12.0
-> installed stdlib-shims.0.3.0
-> installed astring.0.8.5
-> installed uutf.1.0.3
-> installed fpath.0.7.3
-> installed tyxml.4.6.0
-> installed base.v0.12.0
-> installed stdio.v0.12.0
-> installed odoc.1.5.3
-> installed menhir.20230608
-> installed ppxlib.0.21.1
-> installed uucp.14.0.0
-> installed uuseg.14.0.0
-> installed ocamlformat.0.16.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-17 13:15.34 ---> saved as "dcdc25195f9888f4100d35e9f60c45dcca7d076de1aee4c8029db75986cb08de"

/src: (copy (src .) (dst /src/))
2024-05-17 13:15.34 ---> saved as "49b5e1834188540f5c9661b4fb3927aedc9db4d4593c6e9bfe87026102d9daff"

/src: (run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)"))
File "bin/caml.ml", line 1, characters 0-0:
File "bin/xxd.ml", line 1, characters 0-0:
         git (internal) (exit 1)
(cd _build/default && /usr/bin/git --no-pager diff --no-index --color=always -u bin/caml.ml bin/.formatted/caml.ml)
diff --git a/bin/caml.ml b/bin/.formatted/caml.ml
index 0fff584..f3d06a8 100644
--- a/bin/caml.ml
+++ b/bin/.formatted/caml.ml
@@ -3,6 +3,7 @@ let invalid_arg fmt = Format.kasprintf invalid_arg fmt
 
 module Result = struct
   include Result
+
   let error_msgf fmt = Format.kasprintf (fun err -> Error (`Msg err)) fmt
 end
 
@@ -218,14 +219,14 @@ let cmd =
   let info = Cmd.info "xdd" ~version:"%%VERSION%%" ~doc ~man in
   Cmd.v info
     Term.(
-    const do_cmd
-    $ cols
-    $ long
-    $ uppercase
-    $ kind
-    $ with_comments
-    $ seek
-    $ ic
-    $ oc)
+      const do_cmd
+      $ cols
+      $ long
+      $ uppercase
+      $ kind
+      $ with_comments
+      $ seek
+      $ ic
+      $ oc)
 
 let () = exit (Cmd.eval_result cmd)
         git (internal) (exit 1)
(cd _build/default && /usr/bin/git --no-pager diff --no-index --color=always -u bin/xxd.ml bin/.formatted/xxd.ml)
diff --git a/bin/xxd.ml b/bin/.formatted/xxd.ml
index 5fd1304..1bbbab5 100644
--- a/bin/xxd.ml
+++ b/bin/.formatted/xxd.ml
@@ -3,6 +3,7 @@ let invalid_arg fmt = Format.kasprintf invalid_arg fmt
 
 module Result = struct
   include Result
+
   let error_msgf fmt = Format.kasprintf (fun err -> Error (`Msg err)) fmt
 end
 
@@ -281,15 +282,15 @@ let cmd =
   let info = Cmd.info "xxd" ~version:"%%VERSION%%" ~doc ~man in
   Cmd.v info
     Term.(
-    const do_cmd
-    $ setup_fmt
-    $ cols
-    $ groupsize
-    $ long
-    $ uppercase
-    $ pixel
-    $ seek
-    $ ic
-    $ oc)
+      const do_cmd
+      $ setup_fmt
+      $ cols
+      $ groupsize
+      $ long
+      $ uppercase
+      $ pixel
+      $ seek
+      $ ic
+      $ oc)
 
 let () = exit (Cmd.eval_result cmd)
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:15.36: Job failed: Failed: Build failed