2025-02-07 16:18.31: New job: test ygrek/sqlgg https://github.com/ygrek/sqlgg.git#refs/heads/ahrefs (9e54d1444c6919ef91200f821f90d1c0c0420549) (macos-x86_64:macos-homebrew-4.14_opam-2.3)
Base: macos-homebrew-ocaml-4.14
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ygrek/sqlgg.git" -b "ahrefs" && cd "sqlgg" && git reset --hard 9e54d144
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.3 ~/local/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
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 ./src/./
RUN opam pin add -yn sqlgg.dev './src/./'
RUN echo '(lang dune 3.0)' > './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.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 cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2025-02-07 16:18.31: Using cache hint "ygrek/sqlgg-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_opam-2.3-63c27f572bf3c097bf4ff031a8fa6367"
2025-02-07 16:18.31: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
(comment macos-homebrew-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f ~/local/bin/opam-2.3 ~/local/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(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 ./src/./))
(run (network host)
(shell "opam pin add -yn sqlgg.dev './src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './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.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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y sqlgg.dev $DEPS"))
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst ./src))
(run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2025-02-07 16:18.31: Waiting for resource in pool OCluster
2025-02-07 16:18.31: Waiting for worker…
2025-02-07 16:18.31: Got resource from pool OCluster
Building on i7-worker-04
HEAD is now at 70916b6 delete src/cli.exe
HEAD is now at 9e54d14 delete src/cli.exe
(from macos-homebrew-ocaml-4.14)
2025-02-07 16:18.33 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache
/: (comment macos-homebrew-4.14_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (run (shell "ln -f ~/local/bin/opam-2.3 ~/local/bin/opam"))
2025-02-07 16:18.33 ---> using "d185bb362ab7a62e22c76fe28c4578fe7a4e17f7cc7bc09a3073972dfb5efd3b" 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.
This version of opam requires an update to the layout of /Users/mac1000/.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:///Users/mac1000/opam-repository
2025-02-07 16:18.33 ---> using "1a239dab0512a5f76e4948de67b26faca67b4de935df003aa7f81d4e2d68958d" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.4.0
The OCaml toplevel, version 4.14.2
2.3.0
2025-02-07 16:18.34 ---> using "f52eecff7be584d99550d2f8c42b8f22f9135c2276c46c827a485f089226c5ac" from cache
/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(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
67e940587b..3ee951993d 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:///Users/mac1000/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.
# To update the current shell environment, run: eval $(opam env)
2025-02-07 16:18.34 ---> using "6264d2c558032fade6f39d81736b58f475f53a63825d7d7169e0a32e61c6206e" from cache
/: (copy (src sqlgg.opam) (dst ./src/./))
2025-02-07 16:18.34 ---> using "6f3c1f6e42046e1e539b4b9c6d7090d6997bbb23458d3ee1aef1b12ba0b3c5a3" from cache
/: (run (network host)
(shell "opam pin add -yn sqlgg.dev './src/./'"))
[sqlgg.dev] synchronised (file:///Users/mac1000/src)
sqlgg is now pinned to file:///Users/mac1000/src (version dev)
2025-02-07 16:18.35 ---> using "2df40af2f4645fbe4640b5c4d25baf5f16fe8c09c182ababe8c7a3136949d755" from cache
/: (run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2025-02-07 16:18.35 ---> using "a0d027127388148b44bc261b449a35a32991532dbbfb63a0355d3082e6593a99" 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.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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y sqlgg.dev $DEPS"))
+ /usr/local/bin/brew "update"
- ==> Updating Homebrew...
- ==> Downloading https://ghcr.io/v2/homebrew/portable-ruby/portable-ruby/blobs/sha256:4ffc8607e08e9bd536f1df71643b2ecb4cea1a15be9226f297008bc34d0bc8e2
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/portable-ruby-3.3.7.el_capitan.bottle.tar.gz
- ==> Pouring portable-ruby-3.3.7.el_capitan.bottle.tar.gz
- ==> Homebrew collects anonymous analytics.
- Read the analytics documentation (and how to opt-out) here:
- https://docs.brew.sh/Analytics
- No analytics have been recorded yet (nor will be during this `brew` run).
-
- ==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
- https://github.com/Homebrew/brew#donations
-
- Updated 1 tap (homebrew/core).
- ==> New Formulae
- evil-helix
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[sqlgg.dev] synchronised (file:///Users/mac1000/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 16:18.36 ---> using "4b96670e4651b6cdfa05a6e6ff5c4f02d3fcceead166b70386189d03dadab1f7" from cache
/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(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.8
- 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.35.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 mybuild.7 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached)
-> retrieved ocamlfind.1.9.8 (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)
-> 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 menhirCST.20240715
-> installed stdlib-shims.0.3.0
-> installed ppx_derivers.1.2.1
-> installed mybuild.7
-> installed menhirSdk.20240715
-> installed menhirLib.20240715
-> installed ocaml-compiler-libs.v0.12.4
-> installed cppo.1.8.0
-> installed sexplib0.v0.17.0
-> installed ounit2.2.2.7
-> installed ounit.2.2.7
-> installed extlib.1.8.0
-> installed ppxlib.0.35.0
-> installed ppx_deriving.6.0.3
-> installed menhir.20240715
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-07 16:18.36 ---> using "671cd55e035a968e5af1b6ec936ed96a128813c09d6295a7b8491f942dc63eeb" from cache
/: (copy (src .) (dst ./src))
2025-02-07 16:18.37 ---> using "0661e26b7793d61d137f28c272e535cfcccb9775b83ad59703d432e1b8cbe333" from cache
/: (run (shell "cd ./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 /Users)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
(cd _build/default && /Users/mac1000/.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 && /Users/mac1000/.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 /Users/mac1000/.opam/4.14.2/lib/extlib -I /Users/mac1000/.opam/4.14.2/lib/oUnit -I /Users/mac1000/.opam/4.14.2/lib/ounit2 -I /Users/mac1000/.opam/4.14.2/lib/ounit2/advanced -I /Users/mac1000/.opam/4.14.2/lib/ppx_deriving/runtime -I /Users/mac1000/.opam/4.14.2/lib/seq -I /Users/mac1000/.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 && /Users/mac1000/.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 /Users/mac1000/.opam/4.14.2/lib/extlib -I /Users/mac1000/.opam/4.14.2/lib/oUnit -I /Users/mac1000/.opam/4.14.2/lib/ounit2 -I /Users/mac1000/.opam/4.14.2/lib/ounit2/advanced -I /Users/mac1000/.opam/4.14.2/lib/ppx_deriving/runtime -I /Users/mac1000/.opam/4.14.2/lib/seq -I /Users/mac1000/.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: 154 tests in: 0.09 seconds.
FAILED: Cases: 154 Tried: 154 Errors: 0 Failures: 0 Skip: 0 Todo: 1 Timeouts: 0.
2025-02-07 16:18.37 ---> using "40497bc801bea2d32c0c06f0caae31cff4b0e23fb088ba84f51ca0a3bf0eda22" from cache
Job succeeded
2025-02-07 16:18.54: Job succeeded