2024-05-14 13:03.49: New job: test ygrek/sqlgg https://github.com/ygrek/sqlgg.git#refs/heads/master (e9b9c97beb6533d3d8cf6f8764ce0b385d4b8d98) (linux-x86_64:(lint-fmt))
Base: ocaml/opam@sha256:6fd204445a42318dec1d522862f1a0c262f02010d04aaeaa4d301d1d77e01290
ocamlformat version: none
To reproduce locally:
git clone --recursive "https://github.com/ygrek/sqlgg.git" -b "master" && cd "sqlgg" && git reset --hard e9b9c97b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:6fd204445a42318dec1d522862f1a0c262f02010d04aaeaa4d301d1d77e01290
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
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-14 13:03.49: Using cache hint "ygrek/sqlgg-ocaml/opam@sha256:6fd204445a42318dec1d522862f1a0c262f02010d04aaeaa4d301d1d77e01290-debian-12-4.03_opam-2.1-ocamlformat-2275b400535e884d216047a092e70705139c9e41"
2024-05-14 13:03.49: Using OBuilder spec:
((from ocaml/opam@sha256:6fd204445a42318dec1d522862f1a0c262f02010d04aaeaa4d301d1d77e01290)
(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)
(copy (src .) (dst /src/))
(run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)"))
)
2024-05-14 13:03.49: Waiting for resource in pool OCluster
2024-05-14 13:03.54: Waiting for worker…
2024-05-14 13:03.54: Got resource from pool OCluster
Building on x86-bm-c14.sw.ocaml.org
All commits already cached
HEAD is now at e9b9c97 opam: update
(from ocaml/opam@sha256:6fd204445a42318dec1d522862f1a0c262f02010d04aaeaa4d301d1d77e01290)
Unable to find image 'ocaml/opam@sha256:6fd204445a42318dec1d522862f1a0c262f02010d04aaeaa4d301d1d77e01290' locally
docker.io/ocaml/opam@sha256:6fd204445a42318dec1d522862f1a0c262f02010d04aaeaa4d301d1d77e01290: Pulling from ocaml/opam
84082c1d7b36: Pulling fs layer
84082c1d7b36: Verifying Checksum
84082c1d7b36: Download complete
84082c1d7b36: Pull complete
Digest: sha256:6fd204445a42318dec1d522862f1a0c262f02010d04aaeaa4d301d1d77e01290
Status: Downloaded newer image for ocaml/opam@sha256:6fd204445a42318dec1d522862f1a0c262f02010d04aaeaa4d301d1d77e01290
2024-05-14 13:05.53 ---> saved as "c13fd511d8f07c459ff1f91254c2010ec19e559cfccc25ffa7b9832650bfc458"
/: (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"))
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-14 13:07.05 ---> saved as "5f162096596211e180e1dbc7b02b33368f30a122947800b6fe94025f3bc304b9"
/: (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-14 13:08.40 ---> saved as "e6566ef54b00b8aa1b81010340e7002622aeed01a196b47b6530700e5f273955"
/: (workdir /src)
/src: (copy (src .) (dst /src/))
2024-05-14 13:08.40 ---> saved as "55619de83b632cadd33fb8809ae18d33c2123c5416a6748cc58498c703dc302d"
/src: (run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)"))
Error: Program ocamlformat not found in the tree or in PATH
(context: default)
-> required by _build/default/demo/.formatted/demo_caml.ml
-> required by alias demo/.formatted/fmt
-> required by alias demo/fmt
File "impl/ocaml/mariadb/dune", line 1, characters 0-0:
diff --git a/_build/default/impl/ocaml/mariadb/dune b/_build/default/impl/ocaml/mariadb/.formatted/dune
index 36772fb..4a73e94 100644
--- a/_build/default/impl/ocaml/mariadb/dune
+++ b/_build/default/impl/ocaml/mariadb/.formatted/dune
@@ -1,5 +1,5 @@
(library
- (name sqlgg_mariadb)
- (public_name sqlgg.mariadb)
- (optional)
- (libraries mariadb sqlgg.traits))
+ (name sqlgg_mariadb)
+ (public_name sqlgg.mariadb)
+ (optional)
+ (libraries mariadb sqlgg.traits))
File "impl/ocaml/mysql/dune", line 1, characters 0-0:
diff --git a/_build/default/impl/ocaml/mysql/dune b/_build/default/impl/ocaml/mysql/.formatted/dune
index 2a9113c..3770d47 100644
--- a/_build/default/impl/ocaml/mysql/dune
+++ b/_build/default/impl/ocaml/mysql/.formatted/dune
@@ -1,5 +1,5 @@
(library
- (name sqlgg_mysql)
- (public_name sqlgg.mysql)
- (optional)
- (libraries mysql sqlgg.traits))
+ (name sqlgg_mysql)
+ (public_name sqlgg.mysql)
+ (optional)
+ (libraries mysql sqlgg.traits))
File "impl/ocaml/sqlite3/dune", line 1, characters 0-0:
diff --git a/_build/default/impl/ocaml/sqlite3/dune b/_build/default/impl/ocaml/sqlite3/.formatted/dune
index 8950642..bfe3384 100644
--- a/_build/default/impl/ocaml/sqlite3/dune
+++ b/_build/default/impl/ocaml/sqlite3/.formatted/dune
@@ -1,5 +1,5 @@
(library
- (name sqlgg_sqlite3)
- (public_name sqlgg.sqlite3)
- (optional)
- (libraries sqlite3 sqlgg.traits))
+ (name sqlgg_sqlite3)
+ (public_name sqlgg.sqlite3)
+ (optional)
+ (libraries sqlite3 sqlgg.traits))
File "impl/ocaml/dune", line 1, characters 0-0:
diff --git a/_build/default/impl/ocaml/dune b/_build/default/impl/ocaml/.formatted/dune
index c68bf71..fe00c44 100644
--- a/_build/default/impl/ocaml/dune
+++ b/_build/default/impl/ocaml/.formatted/dune
@@ -1,4 +1,4 @@
(library
- (wrapped false)
- (name sqlgg_traits)
- (public_name sqlgg.traits))
+ (wrapped false)
+ (name sqlgg_traits)
+ (public_name sqlgg.traits))
File "dune", line 1, characters 0-0:
diff --git a/_build/default/dune b/_build/default/.formatted/dune
index c4bafc5..6814608 100644
--- a/_build/default/dune
+++ b/_build/default/.formatted/dune
@@ -1,3 +1,4 @@
(env
- (_
- (flags -strict-sequence -strict-formats -short-paths -keep-locs -w +A@8-e-40-41-42-44-45-48-70)))
+ (_
+ (flags -strict-sequence -strict-formats -short-paths -keep-locs -w
+ +A@8-e-40-41-42-44-45-48-70)))
File "src/dune", line 1, characters 0-0:
diff --git a/_build/default/src/dune b/_build/default/src/.formatted/dune
index a68436a..6060174 100644
--- a/_build/default/src/dune
+++ b/_build/default/src/.formatted/dune
@@ -2,28 +2,26 @@
(name gen_version)
(libraries mybuild)
(modules gen_version)
- (preprocess (pps ppx_deriving.std)))
+ (preprocess
+ (pps ppx_deriving.std)))
(rule
(target version.ml)
(deps (universe))
- (action (run ./gen_version.exe %{target})))
+ (action
+ (run ./gen_version.exe %{target})))
(executable
- (public_name sqlgg)
- (modules :standard \ gen_version)
- (name cli)
- (promote (until-clean))
- (libraries
- extlib
- oUnit
- sqlgg
- )
- (preprocess (pps ppx_deriving.std))
-)
+ (public_name sqlgg)
+ (modules :standard \ gen_version)
+ (name cli)
+ (promote (until-clean))
+ (libraries extlib oUnit sqlgg)
+ (preprocess
+ (pps ppx_deriving.std)))
(rule
(alias runtest)
(deps ./cli.exe)
(action
- (run ./cli.exe -test)))
+ (run ./cli.exe -test)))
File "lib/dune", line 1, characters 0-0:
diff --git a/_build/default/lib/dune b/_build/default/lib/.formatted/dune
index 0b54e1d..1054b85 100644
--- a/_build/default/lib/dune
+++ b/_build/default/lib/.formatted/dune
@@ -1,9 +1,11 @@
-(menhir (modules sql_parser))
+(menhir
+ (modules sql_parser))
+
(ocamllex sql_lexer)
(library
- (name sqlgg)
- (public_name sqlgg.lib)
- (libraries extlib)
- (preprocess (pps ppx_deriving.std))
-)
+ (name sqlgg)
+ (public_name sqlgg.lib)
+ (libraries extlib)
+ (preprocess
+ (pps ppx_deriving.std)))
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-14 13:08.42: Job failed: Failed: Build failed