Organisationsjeffa5ocaml-grpcefd6db (master)(lint-fmt)

(lint-fmt)

Link Copied
Code Copied

Logs

2024-05-10 22:06.49: 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@sha256:434b29677edb35b6cb3940408299d70ed7b10632b1122e5b92902d4e32e0b260
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@sha256:434b29677edb35b6cb3940408299d70ed7b10632b1122e5b92902d4e32e0b260
USER 1000:1000
RUN cd ~/opam-repository && (git cat-file -e 7b9230f4e0f16686158b9465bda04972358c4375 || git fetch origin master) && git reset -q --hard 7b9230f4e0f16686158b9465bda04972358c4375 && 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-10 22:06.49: Using cache hint "jeffa5/ocaml-grpc-ocaml/opam@sha256:434b29677edb35b6cb3940408299d70ed7b10632b1122e5b92902d4e32e0b260-debian-12-4.06_opam-2.1-ocamlformat-7b9230f4e0f16686158b9465bda04972358c4375"
2024-05-10 22:06.49: 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 7b9230f4e0f16686158b9465bda04972358c4375 || git fetch origin master) && git reset -q --hard 7b9230f4e0f16686158b9465bda04972358c4375 && 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-10 22:06.49: Waiting for resource in pool OCluster
2024-05-11 12:11.49: Waiting for worker…
2024-05-11 12:17.12: Got resource from pool OCluster
Building on x86-bm-c7.sw.ocaml.org
All commits already cached
HEAD is now at efd6dbf Update h2 src


(from ocaml/opam@sha256:434b29677edb35b6cb3940408299d70ed7b10632b1122e5b92902d4e32e0b260)
Unable to find image 'ocaml/opam@sha256:434b29677edb35b6cb3940408299d70ed7b10632b1122e5b92902d4e32e0b260' locally
docker.io/ocaml/opam@sha256:434b29677edb35b6cb3940408299d70ed7b10632b1122e5b92902d4e32e0b260: Pulling from ocaml/opam
7dbf2b82ddf0: Pulling fs layer
7dbf2b82ddf0: Verifying Checksum
7dbf2b82ddf0: Download complete
7dbf2b82ddf0: Pull complete
Digest: sha256:434b29677edb35b6cb3940408299d70ed7b10632b1122e5b92902d4e32e0b260
Status: Downloaded newer image for ocaml/opam@sha256:434b29677edb35b6cb3940408299d70ed7b10632b1122e5b92902d4e32e0b260
2024-05-11 12:19.30 ---> saved as "892c338b589a62a59c59cff7a94a45d05cc552a424c9217d6aaf3ec3cf967845"


/: (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 7b9230f4e0f16686158b9465bda04972358c4375 || git fetch origin master) && git reset -q --hard 7b9230f4e0f16686158b9465bda04972358c4375 && git log --no-decorate -n1 --oneline && opam update -u"))
7b9230f4e0 Mark ocamlbuild.0.14.3 as not available on Windows


<><> 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-11 12:20.45 ---> saved as "266f8a82e90e9d027b6b9c0cc9d082e39927ecf9f4f00492bdbd0f35ba811c14"


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


<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[dune.3.12.1] 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.12.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-11 12:22.20 ---> saved as "61bcd023c0eb6ae7a96b3f6ae80d32532209e53bf94a5a2712751516a16282be"


/: (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.12.1 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
[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
[base.v0.12.0] downloaded from https://ocaml.janestreet.com/ocaml-core/v0.12/files/base-v0.12.0.tar.gz
[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
[uucp.14.0.0] found in cache
[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
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> removed   dune.3.12.1
-> installed dune.2.9.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-11 12:23.42 ---> saved as "5df17b92ca7c51959ea30061dd7daae7b0bbf55ba4ae3fdcde75b96eeaf98c11"


/src: (copy (src .) (dst /src/))
2024-05-11 12:23.43 ---> saved as "1754342a201151f7bb4257d3e14e6143e7fafac608bebe27f351bbd3e4a163ef"


/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-05-11 12:23.44: Job failed: Failed: Build failed