2024-04-10 22:03.22: New job: test gs0510/ofronds https://github.com/gs0510/ofronds.git#refs/heads/main (e2f614dbdafab1ac5088afbd29b45451784ea896) (linux-x86_64:(lint-fmt))
Base: ocaml/opam@sha256:370cbcee44f8502919cd7f9050120cac59298d527fd05a014a704eeff1d0a3e7
ocamlformat version: version 0.16.0 (from opam)
To reproduce locally:
git clone --recursive "https://github.com/gs0510/ofronds.git" -b "main" && cd "ofronds" && git reset --hard e2f614db
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:370cbcee44f8502919cd7f9050120cac59298d527fd05a014a704eeff1d0a3e7
USER 1000:1000
RUN cd ~/opam-repository && (git cat-file -e 9e587aaf5caeecc1cd879e2294ac9fed6aaa153a || git fetch origin master) && git reset -q --hard 9e587aaf5caeecc1cd879e2294ac9fed6aaa153a && 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-04-10 22:03.22: Using cache hint "gs0510/ofronds-ocaml/opam@sha256:370cbcee44f8502919cd7f9050120cac59298d527fd05a014a704eeff1d0a3e7-debian-12-4.07_opam-2.1-ocamlformat-9e587aaf5caeecc1cd879e2294ac9fed6aaa153a"
2024-04-10 22:03.22: Using OBuilder spec:
((from ocaml/opam@sha256:370cbcee44f8502919cd7f9050120cac59298d527fd05a014a704eeff1d0a3e7)
(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 9e587aaf5caeecc1cd879e2294ac9fed6aaa153a || git fetch origin master) && git reset -q --hard 9e587aaf5caeecc1cd879e2294ac9fed6aaa153a && 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-04-10 22:03.22: Waiting for resource in pool OCluster
2024-04-10 22:14.22: Waiting for worker…
2024-04-10 22:16.29: Got resource from pool OCluster
Building on x86-bm-c17.sw.ocaml.org
All commits already cached
HEAD is now at e2f614d Merge pull request #12 from pitag-ha/add-exercises
(from ocaml/opam@sha256:370cbcee44f8502919cd7f9050120cac59298d527fd05a014a704eeff1d0a3e7)
Unable to find image 'ocaml/opam@sha256:370cbcee44f8502919cd7f9050120cac59298d527fd05a014a704eeff1d0a3e7' locally
docker.io/ocaml/opam@sha256:370cbcee44f8502919cd7f9050120cac59298d527fd05a014a704eeff1d0a3e7: Pulling from ocaml/opam
Digest: sha256:370cbcee44f8502919cd7f9050120cac59298d527fd05a014a704eeff1d0a3e7
Status: Downloaded newer image for ocaml/opam@sha256:370cbcee44f8502919cd7f9050120cac59298d527fd05a014a704eeff1d0a3e7
2024-04-10 22:16.47 ---> saved as "806ee51389d0d0b27276ea06607814da90a34f50afdb3fb2005ff5fcd3467b54"
/: (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 9e587aaf5caeecc1cd879e2294ac9fed6aaa153a || git fetch origin master) && git reset -q --hard 9e587aaf5caeecc1cd879e2294ac9fed6aaa153a && git log --no-decorate -n1 --oneline && opam update -u"))
9e587aaf5c put version bounds on old versions
<><> 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-04-10 22:17.58 ---> saved as "5a4edbdcced7fd1f65219e3c007ae043ef74bfa56d7b6a8b105318500868c979"
/: (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-04-10 22:19.14 ---> saved as "08ba52ac405eed0cfed6576d8f9e1017567dd2d1276efce04ce97ee9a33c5e31"
/: (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]
- install seq base [required by tyxml]
- downgrade dune 3.12.1 to 2.9.3 [required by ocamlformat]
- 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 re 1.11.0 [required by ocamlformat]
- 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 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
[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
[base.v0.12.0] downloaded from https://ocaml.janestreet.com/ocaml-core/v0.12/files/base-v0.12.0.tar.gz
[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
[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
[ocamlformat.0.16.0] downloaded from https://github.com/ocaml-ppx/ocamlformat/releases/download/0.16.0/ocamlformat-0.16.0.tbz
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed seq.base
-> installed cmdliner.1.0.4
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.7
-> removed dune.3.12.1
-> installed dune.2.9.3
-> installed ppx_derivers.1.2.1
-> installed dune-build-info.2.9.3
-> installed uutf.1.0.3
-> installed cppo.1.6.9
-> installed fix.20230505
-> installed astring.0.8.5
-> 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 re.1.11.0
-> installed result.1.5
-> installed sexplib0.v0.12.0
-> installed stdlib-shims.0.3.0
-> 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-04-10 22:20.53 ---> saved as "4b1c4e7ec8f1dba52a50a5e8fdbb0fef8cafbdae86f54ce2f851f91b40cb6f88"
/src: (copy (src .) (dst /src/))
2024-04-10 22:20.53 ---> saved as "91b1ced962574edb4e7c10ee30c86fbd3c713f7497068b205076a45b0c28c215"
/src: (run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)"))
ocamlformat ofronds_internals/.formatted/exercise.ml (exit 1)
(cd _build/default && /home/opam/.opam/4.07/bin/ocamlformat --impl ofronds_internals/exercise.ml) > _build/default/ofronds_internals/.formatted/exercise.ml
ocamlformat: ignoring "ofronds_internals/exercise.ml" (syntax error)
File "ofronds_internals/exercise.ml", line 24, characters 7-20:
Error: Syntax error
ocamlformat ofronds_internals/.formatted/import.ml (exit 1)
(cd _build/default && /home/opam/.opam/4.07/bin/ocamlformat --impl ofronds_internals/import.ml) > _build/default/ofronds_internals/.formatted/import.ml
ocamlformat: ignoring "ofronds_internals/import.ml" (syntax error)
File "ofronds_internals/import.ml", line 12, characters 10-13:
Error: Syntax error: operator expected.
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-04-10 22:20.54: Job failed: Failed: Build failed