2024-05-10 08:46.08: New job: test ygrek/sqlgg https://github.com/ygrek/sqlgg.git#refs/pull/129/head (a632a5899970fdb07602964114a5b7bb72c7ea1b) (freebsd-x86_64:freebsd-5.1_opam-2.1)
Base: freebsd-ocaml-5.1
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ygrek/sqlgg.git" && cd "sqlgg" && git fetch origin "refs/pull/129/head" && git reset --hard a632a589
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-ocaml-5.1
# freebsd-5.1_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.1 /usr/local/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 sqlgg.opam ./
RUN opam pin add -yn sqlgg.dev './'
ENV DEPS="base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cppo.1.6.9 dune.3.15.2 extlib.1.7.9 menhir.20231231 menhirCST.20231231 menhirLib.20231231 menhirSdk.20231231 mybuild.6 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ounit.2.2.7 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.5.2.1 ppxlib.0.32.1 result.1.5 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y sqlgg.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2024-05-10 08:46.08: Using cache hint "ygrek/sqlgg-freebsd-freebsd-ocaml-5.1-freebsd-5.1_opam-2.1-24f593e34b24f96e95b3f54be9d3446e"
2024-05-10 08:46.08: Using OBuilder spec:
((from freebsd-ocaml-5.1)
(comment freebsd-5.1_opam-2.1)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/local/bin/opam-2.1 /usr/local/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src sqlgg.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn sqlgg.dev './'"))
(env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cppo.1.6.9 dune.3.15.2 extlib.1.7.9 menhir.20231231 menhirCST.20231231 menhirLib.20231231 menhirSdk.20231231 mybuild.6 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ounit.2.2.7 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.5.2.1 ppxlib.0.32.1 result.1.5 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.1 --depext-only -y sqlgg.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2024-05-10 08:46.08: Waiting for resource in pool OCluster
2024-05-10 08:46.09: Waiting for worker…
2024-05-10 08:46.09: Got resource from pool OCluster
Building on spring
All commits already cached
HEAD is now at a632a58 update ensure_res_expr
(from freebsd-ocaml-5.1)
2024-05-10 08:40.38 ---> using "813c71762ba09cfa8cfe3f05f009bdd39b1b347128fefd2e95099f87d236c989" from cache
/: (comment freebsd-5.1_opam-2.1)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/local/bin/opam-2.1 /usr/local/bin/opam"))
2024-05-10 08:40.39 ---> using "65a9b62d2493057013f99a47d1d57b6072f5b00406fb4bfea785e58388f6b852" from cache
/src: (run (shell "opam init --reinit -ni"))
No configuration file found, using built-in defaults.
Checking for available remotes: rsync and local, git.
- you won't be able to use mercurial repositories unless you install the hg command on your system.
- you won't be able to use darcs repositories unless you install the darcs command on your system.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2024-05-10 08:40.39 ---> using "e99a94697afa70d27199359988cb3c099e37a5c06ee07760e5a5921308c3119e" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.0-RELEASE-p5
The OCaml toplevel, version 5.1.1
2.1.5
2024-05-10 08:40.39 ---> using "ec35bf54fa4c1a8f744eebe8956e2d9e1f1f6379cf858b75ddefbabb954554fc" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-05-10 08:40.40 ---> using "e452d16e32919148b58c7e1d1c9db9a6c0854da706cd5eb72487da563b728a13" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
69e073a577..20baedeee4 master -> origin/master
307e33d08f @dra27 and @Octachron maintain the 4.08+ packages
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
Constructing initial basis...
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
The following packages are not being upgraded because the new versions conflict with other installed packages:
- ocaml.5.3.0
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
2024-05-10 08:40.40 ---> using "58d3ef29e7d8e112ec0533b0e9ff899b4f2ad47e9de0ab0016f9eddf180c5974" from cache
/src: (copy (src sqlgg.opam) (dst ./))
2024-05-10 08:40.41 ---> saved as "11acd9c630237b89f0a85392fed76e3c79e3b5bd25311c1645cf374d320be294"
/src: (run (network host)
(shell "opam pin add -yn sqlgg.dev './'"))
[sqlgg.dev] synchronised (file:///src)
sqlgg is now pinned to file:///src (version dev)
2024-05-10 08:40.43 ---> saved as "7d6a17b344ae50d25d0a43271248a8d2bd1f8f059be261dac99062a10934aa4c"
/src: (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cppo.1.6.9 dune.3.15.2 extlib.1.7.9 menhir.20231231 menhirCST.20231231 menhirLib.20231231 menhirSdk.20231231 mybuild.6 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ounit.2.2.7 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.5.2.1 ppxlib.0.32.1 result.1.5 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0")
/src: (env CI true)
/src: (env OCAMLCI true)
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.1 --depext-only -y sqlgg.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[sqlgg.dev] synchronised (no changes)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
Constructing initial basis...
Number of 0-1 knapsack inequalities = 5
Constructing conflict graph...
Conflict graph has 8 + 6 = 14 vertices
2024-05-10 08:41.02 ---> saved as "75e3c079020e2fc07b2e39487dc323ec48704700101e5122fbe3ca38a8b9242c"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
Constructing initial basis...
Number of 0-1 knapsack inequalities = 3
Constructing conflict graph...
Conflict graph has 4 + 3 = 7 vertices
The following actions will be performed:
∗ install ocamlbuild 0.14.3
∗ install ocamlfind 1.9.6
∗ install seq base
∗ install dune 3.15.2
∗ install mybuild 6
∗ install stdlib-shims 0.3.0
∗ install sexplib0 v0.17.0
∗ install result 1.5
∗ install ppx_derivers 1.2.1
∗ install ocaml-compiler-libs v0.12.4
∗ install menhirSdk 20231231
∗ install menhirLib 20231231
∗ install menhirCST 20231231
∗ install cppo 1.6.9
∗ install ounit2 2.2.7
∗ install ppxlib 0.32.1
∗ install menhir 20231231
∗ install extlib 1.7.9
∗ install ounit 2.2.7
∗ install ppx_deriving 5.2.1
===== ∗ 20 =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved cppo.1.6.9 (cached)
⬇ retrieved extlib.1.7.9 (cached)
⬇ retrieved dune.3.15.2 (cached)
⬇ retrieved menhirLib.20231231 (cached)
⬇ retrieved menhirCST.20231231 (cached)
⬇ retrieved menhirSdk.20231231 (cached)
⬇ retrieved mybuild.6 (cached)
⬇ retrieved ocaml-compiler-libs.v0.12.4 (cached)
⬇ retrieved ocamlbuild.0.14.3 (cached)
⬇ retrieved ounit.2.2.7 (cached)
⬇ retrieved ocamlfind.1.9.6 (cached)
⬇ retrieved ppx_derivers.1.2.1 (cached)
⬇ retrieved ounit2.2.2.7 (cached)
⬇ retrieved ppx_deriving.5.2.1 (cached)
⬇ retrieved result.1.5 (cached)
∗ installed seq.base
⬇ retrieved sexplib0.v0.17.0 (cached)
⬇ retrieved stdlib-shims.0.3.0 (cached)
⬇ retrieved ppxlib.0.32.1 (cached)
⬇ retrieved menhir.20231231 (cached)
∗ installed ocamlfind.1.9.6
∗ installed ocamlbuild.0.14.3
∗ installed mybuild.6
∗ installed dune.3.15.2
∗ installed menhirCST.20231231
∗ installed ppx_derivers.1.2.1
∗ installed result.1.5
∗ installed menhirSdk.20231231
∗ installed menhirLib.20231231
∗ installed stdlib-shims.0.3.0
∗ installed sexplib0.v0.17.0
∗ installed ocaml-compiler-libs.v0.12.4
∗ installed cppo.1.6.9
∗ installed ounit2.2.2.7
∗ installed ounit.2.2.7
∗ installed extlib.1.7.9
∗ installed ppxlib.0.32.1
∗ installed ppx_deriving.5.2.1
∗ installed menhir.20231231
Done.
2024-05-10 08:45.14 ---> saved as "6812eddd5e3a09f934db25f977f4d79ee3a641bb3e5a085d32be18107691dacc"
/src: (copy (src .) (dst /src))
2024-05-10 08:45.22 ---> saved as "1844374a4e5c8ba534b0e42fabb64b27e938a642c511ec209095fe9cd55d4ff7"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/src && ./gen_version.exe version.ml)
fatal: not a git repository (or any of the parent directories): .git
(cd _build/default && /home/opam/.opam/5.1.1/bin/menhir lib/sql_parser.mly --base lib/sql_parser --infer-read-reply lib/sql_parser__mock.mli.inferred)
Warning: 26 states have shift/reduce conflicts.
Warning: 3 states have reduce/reduce conflicts.
Warning: 125 shift/reduce conflicts were arbitrarily resolved.
Warning: 17 reduce/reduce conflicts were arbitrarily resolved.
(cd _build/default && /home/opam/.opam/5.1.1/bin/ocamlc.opt -strict-sequence -strict-formats -short-paths -keep-locs -w +A@8-e-40-41-42-44-45-48-70 -g -bin-annot -I src/.cli.eobjs/byte -I /home/opam/.opam/5.1.1/lib/extlib -I /home/opam/.opam/5.1.1/lib/oUnit -I /home/opam/.opam/5.1.1/lib/ocaml/unix -I /home/opam/.opam/5.1.1/lib/ounit2 -I /home/opam/.opam/5.1.1/lib/ounit2/advanced -I /home/opam/.opam/5.1.1/lib/ppx_deriving/runtime -I /home/opam/.opam/5.1.1/lib/result -I /home/opam/.opam/5.1.1/lib/seq -I /home/opam/.opam/5.1.1/lib/stdlib-shims -I lib/.sqlgg.objs/byte -no-alias-deps -opaque -open Dune__exe -o src/.cli.eobjs/byte/dune__exe__Gen.cmo -c -impl src/gen.pp.ml)
File "src/gen.ml", line 25, characters 17-24:
25 | let output fmt = kprintf indent_endline fmt
^^^^^^^
Alert deprecated: Stdlib.Printf.kprintf
Use Printf.ksprintf instead.
File "src/gen.ml", line 27, characters 16-23:
27 | let print fmt = kprintf print_endline fmt
^^^^^^^
Alert deprecated: Stdlib.Printf.kprintf
Use Printf.ksprintf instead.
(cd _build/default && /home/opam/.opam/5.1.1/bin/ocamlc.opt -strict-sequence -strict-formats -short-paths -keep-locs -w +A@8-e-40-41-42-44-45-48-70 -g -bin-annot -I src/.cli.eobjs/byte -I /home/opam/.opam/5.1.1/lib/extlib -I /home/opam/.opam/5.1.1/lib/oUnit -I /home/opam/.opam/5.1.1/lib/ocaml/unix -I /home/opam/.opam/5.1.1/lib/ounit2 -I /home/opam/.opam/5.1.1/lib/ounit2/advanced -I /home/opam/.opam/5.1.1/lib/ppx_deriving/runtime -I /home/opam/.opam/5.1.1/lib/result -I /home/opam/.opam/5.1.1/lib/seq -I /home/opam/.opam/5.1.1/lib/stdlib-shims -I lib/.sqlgg.objs/byte -no-alias-deps -opaque -open Dune__exe -o src/.cli.eobjs/byte/dune__exe__Gen_cxx.cmo -c -impl src/gen_cxx.pp.ml)
File "src/gen_cxx.ml", line 30, characters 21-35:
30 | let comment () fmt = Printf.kprintf (indent_endline $ quote_comment_inline $ (^) "// ") fmt
^^^^^^^^^^^^^^
Alert deprecated: Stdlib.Printf.kprintf
Use Printf.ksprintf instead.
(cd _build/default && /home/opam/.opam/5.1.1/bin/ocamlopt.opt -strict-sequence -strict-formats -short-paths -keep-locs -w +A@8-e-40-41-42-44-45-48-70 -g -I src/.cli.eobjs/byte -I src/.cli.eobjs/native -I /home/opam/.opam/5.1.1/lib/extlib -I /home/opam/.opam/5.1.1/lib/oUnit -I /home/opam/.opam/5.1.1/lib/ocaml/unix -I /home/opam/.opam/5.1.1/lib/ounit2 -I /home/opam/.opam/5.1.1/lib/ounit2/advanced -I /home/opam/.opam/5.1.1/lib/ppx_deriving/runtime -I /home/opam/.opam/5.1.1/lib/result -I /home/opam/.opam/5.1.1/lib/seq -I /home/opam/.opam/5.1.1/lib/stdlib-shims -I lib/.sqlgg.objs/byte -I lib/.sqlgg.objs/native -intf-suffix .ml -no-alias-deps -opaque -open Dune__exe -o src/.cli.eobjs/native/dune__exe__Gen.cmx -c -impl src/gen.pp.ml)
File "src/gen.ml", line 25, characters 17-24:
25 | let output fmt = kprintf indent_endline fmt
^^^^^^^
Alert deprecated: Stdlib.Printf.kprintf
Use Printf.ksprintf instead.
File "src/gen.ml", line 27, characters 16-23:
27 | let print fmt = kprintf print_endline fmt
^^^^^^^
Alert deprecated: Stdlib.Printf.kprintf
Use Printf.ksprintf instead.
(cd _build/default && /home/opam/.opam/5.1.1/bin/ocamlc.opt -strict-sequence -strict-formats -short-paths -keep-locs -w +A@8-e-40-41-42-44-45-48-70 -g -bin-annot -I src/.cli.eobjs/byte -I /home/opam/.opam/5.1.1/lib/extlib -I /home/opam/.opam/5.1.1/lib/oUnit -I /home/opam/.opam/5.1.1/lib/ocaml/unix -I /home/opam/.opam/5.1.1/lib/ounit2 -I /home/opam/.opam/5.1.1/lib/ounit2/advanced -I /home/opam/.opam/5.1.1/lib/ppx_deriving/runtime -I /home/opam/.opam/5.1.1/lib/result -I /home/opam/.opam/5.1.1/lib/seq -I /home/opam/.opam/5.1.1/lib/stdlib-shims -I lib/.sqlgg.objs/byte -no-alias-deps -opaque -open Dune__exe -o src/.cli.eobjs/byte/dune__exe__Gen_caml.cmo -c -impl src/gen_caml.pp.ml)
File "src/gen_caml.ml", line 118, characters 21-35:
118 | let comment () fmt = Printf.kprintf (indent_endline $ make_comment) fmt
^^^^^^^^^^^^^^
Alert deprecated: Stdlib.Printf.kprintf
Use Printf.ksprintf instead.
(cd _build/default && /home/opam/.opam/5.1.1/bin/ocamlopt.opt -strict-sequence -strict-formats -short-paths -keep-locs -w +A@8-e-40-41-42-44-45-48-70 -g -I src/.cli.eobjs/byte -I src/.cli.eobjs/native -I /home/opam/.opam/5.1.1/lib/extlib -I /home/opam/.opam/5.1.1/lib/oUnit -I /home/opam/.opam/5.1.1/lib/ocaml/unix -I /home/opam/.opam/5.1.1/lib/ounit2 -I /home/opam/.opam/5.1.1/lib/ounit2/advanced -I /home/opam/.opam/5.1.1/lib/ppx_deriving/runtime -I /home/opam/.opam/5.1.1/lib/result -I /home/opam/.opam/5.1.1/lib/seq -I /home/opam/.opam/5.1.1/lib/stdlib-shims -I lib/.sqlgg.objs/byte -I lib/.sqlgg.objs/native -intf-suffix .ml -no-alias-deps -opaque -open Dune__exe -o src/.cli.eobjs/native/dune__exe__Gen_cxx.cmx -c -impl src/gen_cxx.pp.ml)
File "src/gen_cxx.ml", line 30, characters 21-35:
30 | let comment () fmt = Printf.kprintf (indent_endline $ quote_comment_inline $ (^) "// ") fmt
^^^^^^^^^^^^^^
Alert deprecated: Stdlib.Printf.kprintf
Use Printf.ksprintf instead.
(cd _build/default && /home/opam/.opam/5.1.1/bin/ocamlopt.opt -strict-sequence -strict-formats -short-paths -keep-locs -w +A@8-e-40-41-42-44-45-48-70 -g -I src/.cli.eobjs/byte -I src/.cli.eobjs/native -I /home/opam/.opam/5.1.1/lib/extlib -I /home/opam/.opam/5.1.1/lib/oUnit -I /home/opam/.opam/5.1.1/lib/ocaml/unix -I /home/opam/.opam/5.1.1/lib/ounit2 -I /home/opam/.opam/5.1.1/lib/ounit2/advanced -I /home/opam/.opam/5.1.1/lib/ppx_deriving/runtime -I /home/opam/.opam/5.1.1/lib/result -I /home/opam/.opam/5.1.1/lib/seq -I /home/opam/.opam/5.1.1/lib/stdlib-shims -I lib/.sqlgg.objs/byte -I lib/.sqlgg.objs/native -intf-suffix .ml -no-alias-deps -opaque -open Dune__exe -o src/.cli.eobjs/native/dune__exe__Gen_caml.cmx -c -impl src/gen_caml.pp.ml)
File "src/gen_caml.ml", line 118, characters 21-35:
118 | let comment () fmt = Printf.kprintf (indent_endline $ make_comment) fmt
^^^^^^^^^^^^^^
Alert deprecated: Stdlib.Printf.kprintf
Use Printf.ksprintf instead.
(cd _build/default/src && ./cli.exe -test)
......................T...................................
Ran: 58 tests in: 0.07 seconds.
FAILED: Cases: 58 Tried: 58 Errors: 0 Failures: 0 Skip: 0 Todo: 1 Timeouts: 0.
2024-05-10 08:46.33 ---> saved as "3a8b726806705335c4944bdc191cc521adff9dc425cbc7e2c308882387d9ebbb"
Job succeeded
2024-05-10 08:52.05: Job succeeded