2025-04-11 13:47.19: New job: test ygrek/sqlgg https://github.com/ygrek/sqlgg.git#refs/pull/177/head (c9fd0b241aac122662b7c6b40bda46015f8c46f6) (linux-x86_64:(lower-bound)) Base: ocaml/opam:debian-12-ocaml-4.13@sha256:e0d8c80a3d05139965f0003792761d3564511228635126bb2382666c6dac03e0 Opam project build To reproduce locally: git clone --recursive "https://github.com/ygrek/sqlgg.git" && cd "sqlgg" && git fetch origin "refs/pull/177/head" && git reset --hard c9fd0b24 cat > Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:debian-12-ocaml-4.13@sha256:e0d8c80a3d05139965f0003792761d3564511228635126bb2382666c6dac03e0 # 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-04-11 13:47.19: Using cache hint "ygrek/sqlgg-ocaml/opam:debian-12-ocaml-4.13@sha256:e0d8c80a3d05139965f0003792761d3564511228635126bb2382666c6dac03e0-debian-12-4.13_opam-2.3-2f1f7546444a9a08ac9b680d3ffd1754" 2025-04-11 13:47.19: Using OBuilder spec: ((from ocaml/opam:debian-12-ocaml-4.13@sha256:e0d8c80a3d05139965f0003792761d3564511228635126bb2382666c6dac03e0) (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-04-11 13:47.19: Waiting for resource in pool OCluster 2025-04-11 13:47.19: Waiting for worker… 2025-04-11 13:47.19: Got resource from pool OCluster Building on x86-bm-c2.sw.ocaml.org HEAD is now at 76decd8 set_column_expr in choice_body HEAD is now at c9fd0b2 wip (from ocaml/opam:debian-12-ocaml-4.13@sha256:e0d8c80a3d05139965f0003792761d3564511228635126bb2382666c6dac03e0) 2025-04-11 13:48.21 ---> saved as "bc7e70fe2f4e209c389e823cf314129bf937fa34663c198287707d3090531d0b" /: (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-04-11 13:48.21 ---> saved as "c0d3a4ef39c8c0f5c81a0ef20168591f2ca73cebcc2425b677e471f1693c4605" /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 Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com" [default] synchronised from file:///home/opam/opam-repository 2025-04-11 13:50.09 ---> saved as "ebcf965403bde1332e273cdb488f0173aa7cb98659c007754238ca2e19ae5e27" /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-134-generic The OCaml toplevel, version 4.13.1 2.3.0 2025-04-11 13:50.09 ---> saved as "82295dc0d91895c24e9074b6ed67f88fd3a7e11351eef8f4ae806b33e725c8a4" /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2025-04-11 13:50.09 ---> saved as "b8dd66eb87f9cc112fd85b60a58dc226bcd2fe11c5b43c8b9d1073d1a9f8b242" /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")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD a8ed476033..7c88ab6125 master -> origin/master cb8df6db01 Merge pull request #27631 from dbuenzli/incompatible-cmdliner2 <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive [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-04-11 13:51.34 ---> saved as "b874ca6d5a7ad11a6b3a9c06e6216cecae455b33aed2fd339e0d8a665d0a67cb" /src: (copy (src sqlgg.opam) (dst ./)) 2025-04-11 13:51.35 ---> saved as "7e756c220f0419452f3a9f3e26e0d3913d1a0035e7e36b60e1729e0a15ffbe91" /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-04-11 13:51.36 ---> saved as "7d139fa35ab08503473541aa89102e9ca7fdb73414f568b1f78d9f24346463c2" /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2025-04-11 13:51.36 ---> saved as "bb71e41909b96b8b97ca1fd1d04ab96d06c3383d87db6cf8c88f5e1c6c0b9bb4" /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 bookworm-updates/main amd64 Packages.diff/Index [16.2 kB] - Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2025-03-27-1414.15-F-2025-03-27-1414.15.pdiff [187 B] - Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2025-03-27-1414.15-F-2025-03-27-1414.15.pdiff [187 B] - Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [252 kB] - Fetched 372 kB in 0s (1247 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-04-11 13:52.05 ---> saved as "edf927e79a4a5b6ab370424ea8f824c2912f19b0b0c3fccea31e8d3c4d5e3dcf" /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 jbuilder.1.0+beta20.1 (cached) -> retrieved dune.2.8.5 (cached) -> retrieved menhir.20180528 (cached) -> retrieved mybuild.5 (cached) -> retrieved ocaml-compiler-libs.v0.11.0 (cached) -> retrieved ocamlbuild.0.14.0 (cached) -> retrieved ocaml-migrate-parsetree.2.2.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 result.1.5 (cached) -> retrieved sexplib0.v0.12.0 (cached) -> retrieved stdlib-shims.0.1.0 (cached) -> retrieved ppxlib.0.22.2 (cached) -> installed ocamlfind.1.9.1 -> installed base-bytes.base -> installed ocamlbuild.0.14.0 -> installed mybuild.5 -> installed jbuilder.1.0+beta20.1 -> installed dune.2.8.5 -> installed ppx_derivers.1.0 -> installed result.1.5 -> installed stdlib-shims.0.1.0 -> installed sexplib0.v0.12.0 -> installed cppo.1.6.1 -> installed ocaml-compiler-libs.v0.11.0 -> installed ocaml-migrate-parsetree.2.2.0 -> installed ounit.2.0.0 -> installed extlib.1.7.8 -> 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-04-11 13:53.07 ---> saved as "2682536fa09a36d1b97066bb620ffdfe987a040ef359b9eeab8e0cf558e4b790" /src: (copy (src .) (dst /src)) 2025-04-11 13:53.07 ---> saved as "65467082d735925aa9a0f322c63777e66463036e47269a4c307a163244e3de7a" /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 145, characters 37-40: 145 | 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 29388, characters 19-36: 29388 | 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 29388, characters 19-36: 29388 | 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-04-11 13:53.16: Job failed: Failed: Build failed