2025-02-07 19:17.06: New job: test ygrek/sqlgg https://github.com/ygrek/sqlgg.git#refs/pull/152/head (a0e42907d62bf729690fe3019634a47775f2dd69) (freebsd-x86_64:freebsd-14.1-4.14_opam-2.3)
Base: freebsd-14.1-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/152/head" && git reset --hard a0e42907
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-14.1-ocaml-4.14
# freebsd-14.1-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.3 /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 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 sqlgg.opam ./
RUN opam pin add -yn sqlgg.dev './'
RUN echo '(lang dune 3.0)' > './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.8 ounit.2.2.7 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppxlib.0.35.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 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2025-02-07 19:17.06: Using cache hint "ygrek/sqlgg-freebsd-14.1-ocaml-4.14-freebsd-14.1-4.14_opam-2.3-63c27f572bf3c097bf4ff031a8fa6367"
2025-02-07 19:17.06: Using OBuilder spec:
((from freebsd-14.1-ocaml-4.14)
(comment freebsd-14.1-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/local/bin/opam-2.3 /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 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src sqlgg.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn sqlgg.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './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.8 ounit.2.2.7 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppxlib.0.35.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 /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2025-02-07 19:17.06: Waiting for resource in pool OCluster
2025-02-07 19:17.06: Waiting for worker…
2025-02-07 19:17.06: Got resource from pool OCluster
Building on spring
All commits already cached
HEAD is now at a0e4290 implement safe enums: literals + poly variants gen
(from freebsd-14.1-ocaml-4.14)
2025-02-07 19:04.51 ---> using "ae13298952475462d6ff8423c053aa12bd6b321268da2da393f31b39d910ae06" from cache
/: (comment freebsd-14.1-4.14_opam-2.3)
/: (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.3 /usr/local/bin/opam"))
2025-02-07 19:04.53 ---> using "a01a14b3afaf0e96198b4995f7495eb095c8d446bea3004be25da82cfecae768" 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.
This version of opam requires an update to the layout of /home/opam/.opam from version 2.1 to version 2.2, which can't be reverted.
You may want to back it up before going further.
Continue? [y/n] y
[NOTE] The 'jobs' option was reset, its value was 1 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=1 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2025-02-07 19:04.54 ---> using "a60b36efeb57e54e6ca4e23dae975fff8d0668822376b173ed63b66aa24444bc" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.1-RELEASE-p5
The OCaml toplevel, version 4.14.2
2.3.0
2025-02-07 19:04.56 ---> using "188549049d3e68e7a3a1a01e1161c07610550818a3f0b75ffbaafa2a77641d27" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-02-07 19:04.58 ---> using "39fdaef227d4780a13f56312f6b694c46af609f82c1eca907bb338ae047f238f" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
c31c18de15..38fed1a4c7 master -> origin/master
3ee951993d Merge pull request #27253 from kit-ty-kate/opam-publish-ocamlfind.1.9.8
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
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.4.0
- ocaml-config.3
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
2025-02-07 19:04.59 ---> using "139a2c6ec8d22cb7b2f4f20a3fca040ac5afe2995bd65ca22323937006a648d9" from cache
/src: (copy (src sqlgg.opam) (dst ./))
2025-02-07 19:05.00 ---> using "8031023fd90437abd5a6413d1d9fdc81e9208cc9f95d41b1dde754d8162c3db7" from cache
/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)
2025-02-07 19:05.02 ---> using "dd773b0026669be467801f49ad51692af30d8239aef2b141b32220fa0a9664f3" from cache
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-02-07 19:05.03 ---> using "3a3f91e0b947cd2f5fc7f152dad86e458bbb6c1dbb9bc11a9af149c1f6024628" from cache
/src: (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.8 ounit.2.2.7 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppxlib.0.35.0 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.3 --depext-only -y sqlgg.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[sqlgg.dev] synchronised (file:///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-02-07 19:05.07 ---> using "2e88c042032a1ea9c41fba50ac917c484e3051b3117fa3bea63f7feced11eabb" from cache
/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 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
∗ cppo 1.8.0
∗ dune 3.17.2
∗ extlib 1.8.0
∗ menhir 20240715
∗ menhirCST 20240715
∗ menhirLib 20240715
∗ menhirSdk 20240715
∗ mybuild 7
∗ ocaml-compiler-libs v0.12.4
∗ ocamlfind 1.9.8
∗ ounit 2.2.7
∗ ounit2 2.2.7
∗ ppx_derivers 1.2.1
∗ ppx_deriving 6.0.3
∗ ppxlib 0.35.0
∗ seq base
∗ sexplib0 v0.17.0
∗ stdlib-shims 0.3.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved cppo.1.8.0 (cached)
⬇ retrieved extlib.1.8.0 (cached)
⬇ retrieved mybuild.7 (cached)
⬇ retrieved ocaml-compiler-libs.v0.12.4 (cached)
⬇ retrieved ocamlfind.1.9.8 (cached)
⬇ retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached)
⬇ retrieved ounit.2.2.7, ounit2.2.2.7 (cached)
⬇ retrieved ppx_derivers.1.2.1 (cached)
⬇ retrieved ppx_deriving.6.0.3 (cached)
⬇ retrieved seq.base (cached)
∗ installed seq.base
⬇ retrieved sexplib0.v0.17.0 (cached)
⬇ retrieved stdlib-shims.0.3.0 (cached)
⬇ retrieved ppxlib.0.35.0 (cached)
⬇ retrieved dune.3.17.2 (cached)
∗ installed ocamlfind.1.9.8
∗ installed dune.3.17.2
∗ installed ppx_derivers.1.2.1
∗ installed menhirCST.20240715
∗ installed mybuild.7
∗ installed stdlib-shims.0.3.0
∗ installed menhirSdk.20240715
∗ installed menhirLib.20240715
∗ installed sexplib0.v0.17.0
∗ installed ocaml-compiler-libs.v0.12.4
∗ installed cppo.1.8.0
∗ installed ounit2.2.2.7
∗ installed ounit.2.2.7
∗ installed extlib.1.8.0
∗ installed ppxlib.0.35.0
∗ installed menhir.20240715
∗ installed ppx_deriving.6.0.3
Done.
2025-02-07 19:05.09 ---> using "21bc965f29aabc5473ff73097da2dfdc3c076eab451492d01f1623cea50bb40c" from cache
/src: (copy (src .) (dst /src))
2025-02-07 19:05.14 ---> saved as "fd752018e5162a5d1dee9a1a4562e6c5b5c69eb68ac1824386bfc53231d6adce"
/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/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: 136 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: 158 tests in: 0.25 seconds.
FAILED: Cases: 158 Tried: 158 Errors: 0 Failures: 0 Skip: 0 Todo: 1 Timeouts: 0.
2025-02-07 19:06.07 ---> saved as "3f0785c5c4710df77bacc35f0ab592e4003d2bfec7a14d96c4005ae41789e63d"
Job succeeded
2025-02-07 19:18.38: Job succeeded