2024-04-14 13:02.38: New job: test ygrek/sqlgg https://github.com/ygrek/sqlgg.git#refs/pull/125/head (a8f666fc71a8d45a846b98af458153f694a59beb) (linux-x86_64:(lint-fmt))
Base: ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea
ocamlformat version: none
To reproduce locally:
git clone --recursive "https://github.com/ygrek/sqlgg.git" && cd "sqlgg" && git fetch origin "refs/pull/125/head" && git reset --hard a8f666fc
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea
USER 1000:1000
RUN cd ~/opam-repository && (git cat-file -e 950c52962d34ab7507ecebe8cc7ef16fed0f292a || git fetch origin master) && git reset -q --hard 950c52962d34ab7507ecebe8cc7ef16fed0f292a && 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-04-14 13:02.38: Using cache hint "ygrek/sqlgg-ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea-debian-12-4.03_opam-2.1-ocamlformat-950c52962d34ab7507ecebe8cc7ef16fed0f292a"
2024-04-14 13:02.38: Using OBuilder spec:
((from ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea)
(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 950c52962d34ab7507ecebe8cc7ef16fed0f292a || git fetch origin master) && git reset -q --hard 950c52962d34ab7507ecebe8cc7ef16fed0f292a && 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-04-14 13:02.38: Waiting for resource in pool OCluster
2024-04-14 13:02.42: Waiting for worker…
2024-04-14 13:02.42: Got resource from pool OCluster
Building on x86-bm-c1.sw.ocaml.org
All commits already cached
HEAD is now at a8f666f add coalesce tests
(from ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea)
Unable to find image 'ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea' locally
docker.io/ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea: Pulling from ocaml/opam
Digest: sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea
Status: Downloaded newer image for ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea
2024-04-14 13:03.21 ---> saved as "5e746ce75e4437cb8305c3242b0b72bc201345168ee5141ebd6738538e1ece83"
/: (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 950c52962d34ab7507ecebe8cc7ef16fed0f292a || git fetch origin master) && git reset -q --hard 950c52962d34ab7507ecebe8cc7ef16fed0f292a && git log --no-decorate -n1 --oneline && opam update -u"))
950c52962d [new release] dune (15 packages) (3.15.0)
<><> 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-14 13:04.25 ---> saved as "9bbda3d15bf173a2f46a61c360cf4cdcf120c73c120b7641a6de15457089a7c0"
/: (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.0
===== 3 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[dune.3.15.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.15.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-14 13:05.53 ---> saved as "9865ee5964a2f85e5bfe016af0dc5933a4b72ad0b7dce4cba86aa9f27bea7ee8"
/: (workdir /src)
/src: (copy (src .) (dst /src/))
2024-04-14 13:05.53 ---> saved as "5dc13b0afe8bdeeccd98d527db6cef2002173f83f53ac541d1dc32fe72415835"
/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-04-14 13:05.54: Job failed: Failed: Build failed