2025-01-25 11:45.42: New job: test ygrek/sqlgg https://github.com/ygrek/sqlgg.git#refs/pull/149/head (a9972b63dfb6c7c9a9e36a16b3d4962196ce87a8) (openbsd-amd64:openbsd-76-amd64-4.14_opam-2.3)
Base: openbsd-76-amd64-ocaml-4.14
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ygrek/sqlgg.git" && cd "sqlgg" && git fetch origin "refs/pull/149/head" && git reset --hard a9972b63
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM openbsd-76-amd64-ocaml-4.14
# openbsd-76-amd64-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN doas ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db || git fetch origin master) && git reset -q --hard d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 sqlgg.opam /home/opam/src/./
RUN opam pin add -yn sqlgg.dev '/home/opam/src/./'
RUN echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 dune.3.17.2 extlib.1.8.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mybuild.7 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.6 ounit.2.2.7 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppxlib.0.34.0 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.3 --depext-only -y sqlgg.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /home/opam/src
RUN cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2025-01-25 11:45.42: Using cache hint "ygrek/sqlgg-openbsd-76-amd64-ocaml-4.14-openbsd-76-amd64-4.14_opam-2.3-1eee2d0969ce0a91894653e57303ea44"
2025-01-25 11:45.42: Using OBuilder spec:
((from openbsd-76-amd64-ocaml-4.14)
(comment openbsd-76-amd64-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "doas ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db || git fetch origin master) && git reset -q --hard d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src sqlgg.opam) (dst /home/opam/src/./))
(run (network host)
(shell "opam pin add -yn sqlgg.dev '/home/opam/src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 dune.3.17.2 extlib.1.8.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mybuild.7 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.6 ounit.2.2.7 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppxlib.0.34.0 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.3 --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 /home/opam/src))
(run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2025-01-25 11:45.42: Waiting for resource in pool OCluster
2025-01-25 20:12.49: Waiting for worker…
2025-01-25 22:26.46: Got resource from pool OCluster
Building on bremusa
All commits already cached
HEAD is now at a9972b6 Make insert_id : int64 option
(from openbsd-76-amd64-ocaml-4.14)
2025-01-25 22:26.46 ---> using "273e81235ea8a6b452476629509f5a1e49a129b613e30bfb7515f80881f75048" from cache
/: (comment openbsd-76-amd64-4.14_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (run (shell "doas ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-01-25 22:26.46 ---> using "8f4c505b74dc31d91c5d30f3e3d123c2567bb97ae9c1708d719a97f14994a2cb" from cache
/: (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] synchronised from file:///home/opam/opam-repository
2025-01-25 22:26.46 ---> using "b66ba35f8a9a53257673fce4c0b7f7307b571514bb7b92fa06cc7e407f80f85e" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.6
The OCaml toplevel, version 4.14.2
2.3.0
2025-01-25 22:26.46 ---> using "136946daf17d74755f97e0e0d17c355664b0b582f53f270159dfd90ff2a9858b" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db || git fetch origin master) && git reset -q --hard d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
727427c1e7..12d8668654 master -> origin/master
d1a3803c0c Merge pull request #27313 from maiste/release-dune-3.17.2
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
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.
# To update the current shell environment, run: eval $(opam env)
2025-01-25 22:26.46 ---> using "dfb255102954d941896ac7b9a8713f49c89c120471f554cff43bda53539da074" from cache
/: (copy (src sqlgg.opam) (dst /home/opam/src/./))
2025-01-25 22:26.46 ---> using "abd817c6737abf7c75c7294e11a22882a570b6262cab1eaf4a8291f9c837b2b7" from cache
/: (run (network host)
(shell "opam pin add -yn sqlgg.dev '/home/opam/src/./'"))
[sqlgg.dev] synchronised (file:///home/opam/src)
sqlgg is now pinned to file:///home/opam/src (version dev)
2025-01-25 22:26.46 ---> using "10cbce252542131a940fb523806eb6f83f18eb7e9e7b9fb0397de81b99247659" from cache
/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2025-01-25 22:26.46 ---> using "684afa7344693bd2050af3c32b628328fd8aada7536e56b188a0d7178ea425f1" from cache
/: (env DEPS "base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 dune.3.17.2 extlib.1.8.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mybuild.7 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.6 ounit.2.2.7 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppxlib.0.34.0 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.3 --depext-only -y sqlgg.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[sqlgg.dev] synchronised (file:///home/opam/src)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-bigarray is already installed (current version is base).
2025-01-25 22:26.46 ---> using "2976d08f8f561ad5c3e3b96ace1bfa61569616b112ba569ce2cb4276e5924273" from cache
/: (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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 18 packages
- install cppo 1.8.0
- install dune 3.17.2
- install extlib 1.8.0
- install menhir 20240715
- install menhirCST 20240715
- install menhirLib 20240715
- install menhirSdk 20240715
- install mybuild 7
- install ocaml-compiler-libs v0.12.4
- install ocamlfind 1.9.6
- install ounit 2.2.7
- install ounit2 2.2.7
- install ppx_derivers 1.2.1
- install ppx_deriving 6.0.3
- install ppxlib 0.34.0
- install seq base
- install sexplib0 v0.17.0
- install stdlib-shims 0.3.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0 (cached)
-> retrieved extlib.1.8.0 (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached)
-> retrieved mybuild.7 (https://github.com/ygrek/mybuild/releases/download/v7/mybuild-7.tbz)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved dune.3.17.2 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ounit.2.2.7, ounit2.2.2.7 (cached)
-> retrieved ppx_deriving.6.0.3 (cached)
-> retrieved seq.base (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved ppxlib.0.34.0 (cached)
-> installed dune.3.17.2
-> installed ocamlfind.1.9.6
-> installed cppo.1.8.0
-> installed menhirCST.20240715
-> installed extlib.1.8.0
-> installed menhirLib.20240715
-> installed menhirSdk.20240715
-> installed mybuild.7
-> installed menhir.20240715
-> installed ocaml-compiler-libs.v0.12.4
-> installed ppx_derivers.1.2.1
-> installed seq.base
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed ounit2.2.2.7
-> installed ounit.2.2.7
-> installed ppxlib.0.34.0
-> installed ppx_deriving.6.0.3
Done.
# To update the current shell environment, run: eval $(opam env)
2025-01-25 22:26.46 ---> using "c64a961820e9a6b1ee5f53abe8298b60908e7381bc97b43ed0e278621d3185ca" from cache
/: (copy (src .) (dst /home/opam/src))
2025-01-25 22:27.31 ---> saved as "62b857bd9114c48212bd0a10b2f87d26b0b99b76034349ff9274ae26471f44fa"
/: (run (shell "cd /home/opam/src && 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 parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
(cd _build/default && /home/opam/.opam/4.14.2/bin/menhir lib/sql_parser.mly --base lib/sql_parser --infer-read-reply lib/sql_parser__mock.mli.inferred)
Warning: 30 states have shift/reduce conflicts.
Warning: 3 states have reduce/reduce conflicts.
Warning: 135 shift/reduce conflicts were arbitrarily resolved.
Warning: 18 reduce/reduce conflicts were arbitrarily resolved.
(cd _build/default && /home/opam/.opam/4.14.2/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/4.14.2/lib/extlib -I /home/opam/.opam/4.14.2/lib/oUnit -I /home/opam/.opam/4.14.2/lib/ounit2 -I /home/opam/.opam/4.14.2/lib/ounit2/advanced -I /home/opam/.opam/4.14.2/lib/ppx_deriving/runtime -I /home/opam/.opam/4.14.2/lib/seq -I /home/opam/.opam/4.14.2/lib/stdlib-shims -I lib/.sqlgg.objs/byte -no-alias-deps -opaque -open Dune__exe -o src/.cli.eobjs/byte/dune__exe__Test.cmo -c -impl src/test.pp.ml)
File "src/test.ml", line 145, characters 7-23:
145 | if String.ends_with name "?" then
^^^^^^^^^^^^^^^^
Warning 6 [labels-omitted]: label suffix was omitted in the application of this function.
(cd _build/default && /home/opam/.opam/4.14.2/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/4.14.2/lib/extlib -I /home/opam/.opam/4.14.2/lib/oUnit -I /home/opam/.opam/4.14.2/lib/ounit2 -I /home/opam/.opam/4.14.2/lib/ounit2/advanced -I /home/opam/.opam/4.14.2/lib/ppx_deriving/runtime -I /home/opam/.opam/4.14.2/lib/seq -I /home/opam/.opam/4.14.2/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__Test.cmx -c -impl src/test.pp.ml)
File "src/test.ml", line 145, characters 7-23:
145 | if String.ends_with name "?" then
^^^^^^^^^^^^^^^^
Warning 6 [labels-omitted]: label suffix was omitted in the application of this function.
(cd _build/default/src && ./cli.exe -test)
......................T...........................................................................................................................
Ran: 146 tests in: 0.20 seconds.
FAILED: Cases: 146 Tried: 146 Errors: 0 Failures: 0 Skip: 0 Todo: 1 Timeouts: 0.
2025-01-25 22:28.35 ---> saved as "6fb1c696b01c13bb59138fd3b2fdfd94ce1d487c6bad769089b47cf4ad846862"
Job succeeded
2025-01-25 22:28.36: Job succeeded