Organisationsjeffa5ocaml-grpcefd6db (master)(lint-fmt)

(lint-fmt)

Logs

Show full logs
2024-10-01 14:15.42: New job: test jeffa5/ocaml-grpc https://github.com/jeffa5/ocaml-grpc.git#refs/heads/master (efd6dbfc2d044fef97b122f831a8c162d9d46625) (linux-x86_64:(lint-fmt))
Base: ocaml/opam:debian-12-ocaml-4.06@sha256:92eec5359b4b6538a9c80f05450336666f1e92d4396501d358f101ede9bf03f1
ocamlformat version: version 0.15.0 (from opam)

To reproduce locally:

git clone --recursive "https://github.com/jeffa5/ocaml-grpc.git" -b "master" && cd "ocaml-grpc" && git reset --hard efd6dbfc
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.06@sha256:92eec5359b4b6538a9c80f05450336666f1e92d4396501d358f101ede9bf03f1
USER 1000:1000
RUN cd ~/opam-repository && (git cat-file -e e90d00913cec22ea90c21ecb282c1f0b955a7959 || git fetch origin master) && git reset -q --hard e90d00913cec22ea90c21ecb282c1f0b955a7959 && 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-10-01 14:15.42: Using cache hint "jeffa5/ocaml-grpc-ocaml/opam:debian-12-ocaml-4.06@sha256:92eec5359b4b6538a9c80f05450336666f1e92d4396501d358f101ede9bf03f1-debian-12-4.06_opam-2.2-ocamlformat-e90d00913cec22ea90c21ecb282c1f0b955a7959"
2024-10-01 14:15.42: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.06@sha256:92eec5359b4b6538a9c80f05450336666f1e92d4396501d358f101ede9bf03f1)
 (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 e90d00913cec22ea90c21ecb282c1f0b955a7959 || git fetch origin master) && git reset -q --hard e90d00913cec22ea90c21ecb282c1f0b955a7959 && 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-10-01 14:15.42: Waiting for resource in pool OCluster
2024-10-01 18:56.37: Waiting for worker…
2024-10-01 18:59.24: Got resource from pool OCluster
Building on x86-bm-c8.sw.ocaml.org
All commits already cached
HEAD is now at efd6dbf Update h2 src

(from ocaml/opam:debian-12-ocaml-4.06@sha256:92eec5359b4b6538a9c80f05450336666f1e92d4396501d358f101ede9bf03f1)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.06@sha256:92eec5359b4b6538a9c80f05450336666f1e92d4396501d358f101ede9bf03f1' locally
docker.io/ocaml/opam@sha256:92eec5359b4b6538a9c80f05450336666f1e92d4396501d358f101ede9bf03f1: Pulling from ocaml/opam
82287f458d39: Pulling fs layer
82287f458d39: Verifying Checksum
82287f458d39: Download complete
82287f458d39: Pull complete
Digest: sha256:92eec5359b4b6538a9c80f05450336666f1e92d4396501d358f101ede9bf03f1
Status: Downloaded newer image for ocaml/opam@sha256:92eec5359b4b6538a9c80f05450336666f1e92d4396501d358f101ede9bf03f1
2024-10-01 18:59.24 ---> using "2ac35ecd32d23345dbecd496359ccaf34e4cdfd5a56de5130d716e375ba1ecd3" 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 e90d00913cec22ea90c21ecb282c1f0b955a7959 || git fetch origin master) && git reset -q --hard e90d00913cec22ea90c21ecb282c1f0b955a7959 && git log --no-decorate -n1 --oneline && opam update -u"))
e90d00913c Merge pull request #26471 from dkalinichenko-js/js-comp

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
default (at file:///home/opam/opam-repository): 
    [INFO] opam 2.1 and 2.2 include many performance and security 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-10-01 19:00.26 ---> saved as "bcb8653544e21bc03814bb26463450d99432f3fa5476072a28f933ccaa2ea38a"

/: (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.16.0
===== 3 to install =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[dune.3.16.0] 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.16.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-10-01 19:02.15 ---> saved as "e69e200c169764360b2d8b16893ed012cb826681d1879440cd3a325653f1c1a2"

/: (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:
  - downgrade dune                    3.16.0 to 2.9.3 [required by ocamlformat]
  - install   ocamlbuild              0.14.3          [required by fpath, uuseg]
  - install   cmdliner                1.0.4           [required by ocamlformat]
  - 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.7.0           [required by odoc]
  - install   topkg                   1.0.7           [required by fpath, uuseg]
  - 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   uutf                    1.0.3           [required by ocamlformat]
  - install   astring                 0.8.5           [required by fpath, odoc]
  - install   stdio                   v0.12.0         [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   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
[cmdliner.1.0.4] found in cache
[cppo.1.7.0] found in cache
[dune.2.9.3] found in cache
[fix.20230505] found in cache
[fpath.0.7.3] found in cache
[base.v0.12.0] downloaded from https://ocaml.janestreet.com/ocaml-core/v0.12/files/base-v0.12.0.tar.gz
[menhir.20230608] downloaded from https://gitlab.inria.fr/fpottier/menhir/-/archive/20230608/archive.tar.gz
[menhirSdk.20230608] found in cache
[menhirLib.20230608] downloaded from https://gitlab.inria.fr/fpottier/menhir/-/archive/20230608/archive.tar.gz
[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
[topkg.1.0.7] found in cache
[tyxml.4.6.0] found in cache
[stdio.v0.12.0] downloaded from https://ocaml.janestreet.com/ocaml-core/v0.12/files/stdio-v0.12.0.tar.gz
[uucp.14.0.0] downloaded from https://erratique.ch/software/uucp/releases/uucp-14.0.0.tbz
[uuseg.14.0.0] downloaded from https://erratique.ch/software/uuseg/releases/uuseg-14.0.0.tbz
[uutf.1.0.3] 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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed cmdliner.1.0.4
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> removed   dune.3.16.0
-> installed dune.2.9.3
-> installed astring.0.8.5
-> installed ppx_derivers.1.2.1
-> installed fix.20230505
-> installed cppo.1.7.0
-> installed menhirLib.20230608
-> installed menhirSdk.20230608
-> installed result.1.5
-> installed seq.0.3.1
-> installed sexplib0.v0.12.0
-> installed fpath.0.7.3
-> installed re.1.11.0
-> installed ocaml-migrate-parsetree.1.8.0
-> installed base.v0.12.0
-> installed tyxml.4.6.0
-> installed stdio.v0.12.0
-> installed menhir.20230608
-> installed odoc.1.5.3
-> 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-10-01 19:03.52 ---> saved as "5d45b51f6559719bb3f01f7f43004f9ec12d664e9118260140a5114355a1eecf"

/src: (copy (src .) (dst /src/))
2024-10-01 19:03.52 ---> saved as "5f08386a61295be86f499ad63b3ea477846f17edc710f07df93db64ede4fcd2c"

/src: (run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)"))
 ocamlformat examples/greeter-server-lwt/.formatted/greeter_server_lwt.ml (exit 1)
(cd _build/default && /home/opam/.opam/4.06/bin/ocamlformat --impl examples/greeter-server-lwt/greeter_server_lwt.ml) > _build/default/examples/greeter-server-lwt/.formatted/greeter_server_lwt.ml
ocamlformat: ignoring "examples/greeter-server-lwt/greeter_server_lwt.ml" (syntax error)
File "examples/greeter-server-lwt/greeter_server_lwt.ml", line 35, characters 11-18:
Error: Syntax error: operator expected.
 ocamlformat lib/grpc-lwt/.formatted/connection.ml (exit 1)
(cd _build/default && /home/opam/.opam/4.06/bin/ocamlformat --impl lib/grpc-lwt/connection.ml) > _build/default/lib/grpc-lwt/.formatted/connection.ml
ocamlformat: ignoring "lib/grpc-lwt/connection.ml" (syntax error)
File "lib/grpc-lwt/connection.ml", line 27, characters 5-6:
Error: Syntax error
 ocamlformat lib/grpc-lwt/.formatted/rpc.ml (exit 1)
(cd _build/default && /home/opam/.opam/4.06/bin/ocamlformat --impl lib/grpc-lwt/rpc.ml) > _build/default/lib/grpc-lwt/.formatted/rpc.ml
ocamlformat: ignoring "lib/grpc-lwt/rpc.ml" (syntax error)
File "lib/grpc-lwt/rpc.ml", line 27, characters 5-6:
Error: Syntax error
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-10-01 19:03.54: Job failed: Failed: Build failed