2025-05-13 11:22.26: New job: test ygrek/sqlgg https://github.com/ygrek/sqlgg.git#refs/pull/192/head (c40368ed55febe1a178821ebcb39fbccbc5a525b) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.13@sha256:82f58ee165ab3dfb80396795488054c0804f932436a2ba64a8bfdb4219c985eb
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ygrek/sqlgg.git" && cd "sqlgg" && git fetch origin "refs/pull/192/head" && git reset --hard c40368ed
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.13@sha256:82f58ee165ab3dfb80396795488054c0804f932436a2ba64a8bfdb4219c985eb
# debian-12-4.13_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /usr/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 cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && 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-bytes.base base-threads.base base-unix.base cppo.1.6.1 dune.2.8.5 extlib.1.7.8 jbuilder.1.0+beta20.1 menhir.20180528 mybuild.5 ocaml.4.13.1 ocaml-base-compiler.4.13.1 ocaml-compiler-libs.v0.11.0 ocaml-config.2 ocaml-migrate-parsetree.2.2.0 ocaml-options-vanilla.1 ocamlbuild.0.14.0 ocamlfind.1.9.1 ounit.2.0.0 ppx_derivers.1.0 ppx_deriving.5.2 ppxlib.0.22.2 result.1.5 sexplib0.v0.12.0 stdlib-shims.0.1.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-05-13 11:22.26: Using cache hint "ygrek/sqlgg-ocaml/opam:debian-12-ocaml-4.13@sha256:82f58ee165ab3dfb80396795488054c0804f932436a2ba64a8bfdb4219c985eb-debian-12-4.13_opam-2.3-2f1f7546444a9a08ac9b680d3ffd1754"
2025-05-13 11:22.26: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.13@sha256:82f58ee165ab3dfb80396795488054c0804f932436a2ba64a8bfdb4219c985eb)
(comment debian-12-4.13_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo 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"))
(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 cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && 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-bytes.base base-threads.base base-unix.base cppo.1.6.1 dune.2.8.5 extlib.1.7.8 jbuilder.1.0+beta20.1 menhir.20180528 mybuild.5 ocaml.4.13.1 ocaml-base-compiler.4.13.1 ocaml-compiler-libs.v0.11.0 ocaml-config.2 ocaml-migrate-parsetree.2.2.0 ocaml-options-vanilla.1 ocamlbuild.0.14.0 ocamlfind.1.9.1 ounit.2.0.0 ppx_derivers.1.0 ppx_deriving.5.2 ppxlib.0.22.2 result.1.5 sexplib0.v0.12.0 stdlib-shims.0.1.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-05-13 11:22.26: Waiting for resource in pool OCluster
2025-05-13 11:22.26: Waiting for worker…
2025-05-13 11:22.27: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
HEAD is now at c40368e implement: type mappings for columns
(from ocaml/opam:debian-12-ocaml-4.13@sha256:82f58ee165ab3dfb80396795488054c0804f932436a2ba64a8bfdb4219c985eb)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.13@sha256:82f58ee165ab3dfb80396795488054c0804f932436a2ba64a8bfdb4219c985eb' locally
docker.io/ocaml/opam@sha256:82f58ee165ab3dfb80396795488054c0804f932436a2ba64a8bfdb4219c985eb: Pulling from ocaml/opam
afe17688b318: Pulling fs layer
afe17688b318: Verifying Checksum
afe17688b318: Download complete
afe17688b318: Pull complete
Digest: sha256:82f58ee165ab3dfb80396795488054c0804f932436a2ba64a8bfdb4219c985eb
Status: Downloaded newer image for ocaml/opam@sha256:82f58ee165ab3dfb80396795488054c0804f932436a2ba64a8bfdb4219c985eb
2025-05-13 11:22.30 ---> using "114a8d582aff61f698dafe38066f1f0dfe4cd93ac79df9ada0ce8d5ade75df84" from cache
/: (comment debian-12-4.13_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-05-13 11:22.30 ---> using "b2e20f7a74f761fbade4ae93cf1086d65ea0793265e3df963b0f4b9e7f233cb1" from cache
/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from 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 development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 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 39 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=39 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-05-13 11:22.30 ---> using "f0061c5aeaf1060a28fa93beae1662f3fd09163e9a17f165f265d3df1e54b06c" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-139-generic
The OCaml toplevel, version 4.13.1
2.3.0
2025-05-13 11:22.30 ---> using "02790948c7e1bf9021766940e7553e8932c0ae4aed5fa8feef61171ba4afafbf" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-05-13 11:22.30 ---> using "d29840aa3f4acab4d1b8fb878d2d12fbe19d2ba1c3acfa21c6add1b234b406f0" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && git log --no-decorate -n1 --oneline && opam update -u"))
cb8df6db01 Merge pull request #27631 from dbuenzli/incompatible-cmdliner2
<><> 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).
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-05-13 11:22.30 ---> using "40e1dacdfd0a5ab497f9d9c77a20f64c94d0940ad6b02a801d651efbe0d0caa0" from cache
/src: (copy (src sqlgg.opam) (dst ./))
2025-05-13 11:22.30 ---> using "4d9b18868f111263078d0ce470dfd0a5efc96ae31b149da3a520912955a557da" 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-05-13 11:22.30 ---> using "af19a660f1563e9437a9fdb64a768b5d9f91452af23093289aa152126edcbc95" from cache
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-05-13 11:22.30 ---> using "7320c5e139bf331728be3115a2eacd3dcee3fd4c9f3d5911c070ea93f2ae7119" from cache
/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.6.1 dune.2.8.5 extlib.1.7.8 jbuilder.1.0+beta20.1 menhir.20180528 mybuild.5 ocaml.4.13.1 ocaml-base-compiler.4.13.1 ocaml-compiler-libs.v0.11.0 ocaml-config.2 ocaml-migrate-parsetree.2.2.0 ocaml-options-vanilla.1 ocamlbuild.0.14.0 ocamlfind.1.9.1 ounit.2.0.0 ppx_derivers.1.0 ppx_deriving.5.2 ppxlib.0.22.2 result.1.5 sexplib0.v0.12.0 stdlib-shims.0.1.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"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [258 kB]
- Fetched 361 kB in 1s (626 kB/s)
- Reading package lists...
-
<><> 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.13.1).
[NOTE] Package ocaml is already installed (current version is 4.13.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-bigarray is already installed (current version is base).
2025-05-13 11:22.30 ---> using "43dc4b47ebe626184ab210def221d7eaa8e1587c6422dd289d391385ea912702" 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.13.1).
[NOTE] Package ocaml is already installed (current version is 4.13.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-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 18 packages
- install base-bytes base
- install cppo 1.6.1
- install dune 2.8.5
- install extlib 1.7.8
- install jbuilder 1.0+beta20.1 (deprecated)
- install menhir 20180528
- install mybuild 5
- install ocaml-compiler-libs v0.11.0
- install ocaml-migrate-parsetree 2.2.0 (deprecated)
- install ocamlbuild 0.14.0
- install ocamlfind 1.9.1
- install ounit 2.0.0
- install ppx_derivers 1.0
- install ppx_deriving 5.2
- install ppxlib 0.22.2
- install result 1.5
- install sexplib0 v0.12.0
- install stdlib-shims 0.1.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.6.1 (cached)
-> retrieved extlib.1.7.8 (cached)
-> retrieved menhir.20180528 (cached)
-> retrieved jbuilder.1.0+beta20.1 (cached)
-> retrieved mybuild.5 (cached)
-> retrieved ocaml-compiler-libs.v0.11.0 (cached)
-> retrieved ocamlbuild.0.14.0 (cached)
-> retrieved ocamlfind.1.9.1 (cached)
-> retrieved ounit.2.0.0 (cached)
-> retrieved ppx_derivers.1.0 (cached)
-> retrieved ppx_deriving.5.2 (cached)
-> retrieved ocaml-migrate-parsetree.2.2.0 (https://github.com/ocaml-ppx/ocaml-migrate-parsetree/releases/download/v2.2.0/ocaml-migrate-parsetree-v2.2.0.tbz)
-> retrieved result.1.5 (cached)
-> retrieved sexplib0.v0.12.0 (cached)
-> retrieved stdlib-shims.0.1.0 (cached)
-> retrieved dune.2.8.5 (https://github.com/ocaml/dune/releases/download/2.8.5/dune-2.8.5.tbz)
-> retrieved ppxlib.0.22.2 (https://github.com/ocaml-ppx/ppxlib/releases/download/0.22.2/ppxlib-0.22.2.tbz)
-> installed ocamlfind.1.9.1
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed mybuild.5
-> installed jbuilder.1.0+beta20.1
-> installed ppx_derivers.1.0
-> installed cppo.1.6.1
-> installed ocaml-compiler-libs.v0.11.0
-> installed extlib.1.7.8
-> installed ounit.2.0.0
-> installed dune.2.8.5
-> installed result.1.5
-> installed stdlib-shims.0.1.0
-> installed sexplib0.v0.12.0
-> installed ocaml-migrate-parsetree.2.2.0
-> installed menhir.20180528
-> installed ppxlib.0.22.2
-> installed ppx_deriving.5.2
Done.
<><> ocaml-migrate-parsetree.2.2.0 installed successfully <><><><><><><><><><><>
=> Note: This package is deprecated.
<><> jbuilder.1.0+beta20.1 installed successfully <><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# To update the current shell environment, run: eval $(opam env)
2025-05-13 11:22.30 ---> using "327f47dd830cbc16569e7046d7f6ac9e4c423b9bb60df596eee7a2d6fe435b59" from cache
/src: (copy (src .) (dst /src))
2025-05-13 11:22.30 ---> saved as "3e539062a84660b1900befdba167b45157e5a09007ce1b87a8f0726c1e0c87f7"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "/home/opam/.opam/4.13/lib/ppx_derivers/ppx_derivers.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.13/lib/ocaml-compiler-libs/bytecomp/ocaml-compiler-libs.bytecomp.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.13/lib/ocaml-compiler-libs/common/ocaml-compiler-libs.common.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.13/lib/ocaml-compiler-libs/shadow/ocaml-compiler-libs.shadow.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.13/lib/ocaml-compiler-libs/toplevel/ocaml-compiler-libs.toplevel.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
gen_version src/version.ml
fatal: not a git repository (or any of the parent directories): .git
menhir lib/sql_parser.{ml,mli}
Warning: 29 states have shift/reduce conflicts.
Warning: 3 states have reduce/reduce conflicts.
Warning: 134 shift/reduce conflicts were arbitrarily resolved.
Warning: 18 reduce/reduce conflicts were arbitrarily resolved.
ocamlc lib/.sqlgg.objs/byte/sqlgg__Syntax.{cmo,cmt}
File "lib/syntax.ml", line 34, characters 0-78:
34 | type enum_ctor_value_data = { ctor_name: string; pos: pos; } [@@deriving show]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 32 [unused-value-declaration]: unused value pp_enum_ctor_value_data.
ocamlc src/.cli.eobjs/byte/dune__exe__Test.{cmi,cmo,cmt} (exit 2)
(cd _build/default && /home/opam/.opam/4.13/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.13/lib/bytes -I /home/opam/.opam/4.13/lib/extlib -I /home/opam/.opam/4.13/lib/oUnit -I /home/opam/.opam/4.13/lib/ppx_deriving/runtime -I /home/opam/.opam/4.13/lib/result -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 155, characters 37-40:
155 | if String.ends_with name ~suffix:"?" then
^^^
Error: The function applied to this argument has type string -> bool
This argument cannot be applied with label ~suffix
ocamlopt lib/.sqlgg.objs/native/sqlgg__Syntax.{cmx,o}
File "lib/syntax.ml", line 34, characters 0-78:
34 | type enum_ctor_value_data = { ctor_name: string; pos: pos; } [@@deriving show]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 32 [unused-value-declaration]: unused value pp_enum_ctor_value_data.
ocamlc lib/.sqlgg.objs/byte/sqlgg__Sql_parser.{cmo,cmt}
File "lib/sql_parser.ml", line 29825, characters 19-36:
29825 | Printf.fprintf Pervasives.stderr "Internal failure -- please contact the parser generator's developers.\n%!";
^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.
If you need to stay compatible with OCaml < 4.07, you can use the
stdlib-shims library: https://github.com/ocaml/stdlib-shims
ocamlopt lib/.sqlgg.objs/native/sqlgg__Sql_parser.{cmx,o}
File "lib/sql_parser.ml", line 29825, characters 19-36:
29825 | Printf.fprintf Pervasives.stderr "Internal failure -- please contact the parser generator's developers.\n%!";
^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.
If you need to stay compatible with OCaml < 4.07, you can use the
stdlib-shims library: https://github.com/ocaml/stdlib-shims
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-05-13 11:22.38: Job failed: Failed: Build failed