2025-05-21 16:57.46: New job: test ygrek/sqlgg https://github.com/ygrek/sqlgg.git#refs/heads/master (bf7dd75f81eed1f11f4e5258aa9299c65a1341da) (linux-x86_64:(lower-bound)) Base: ocaml/opam:debian-12-ocaml-4.13@sha256:6a8aa82b91bea3d00f3764d59543b7c681352956cfa0255f85eb06a8978f3eef Opam project build To reproduce locally: git clone --recursive "https://github.com/ygrek/sqlgg.git" -b "master" && cd "sqlgg" && git reset --hard bf7dd75f cat > Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:debian-12-ocaml-4.13@sha256:6a8aa82b91bea3d00f3764d59543b7c681352956cfa0255f85eb06a8978f3eef # 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-21 16:57.46: Using cache hint "ygrek/sqlgg-ocaml/opam:debian-12-ocaml-4.13@sha256:6a8aa82b91bea3d00f3764d59543b7c681352956cfa0255f85eb06a8978f3eef-debian-12-4.13_opam-2.3-2f1f7546444a9a08ac9b680d3ffd1754" 2025-05-21 16:57.46: Using OBuilder spec: ((from ocaml/opam:debian-12-ocaml-4.13@sha256:6a8aa82b91bea3d00f3764d59543b7c681352956cfa0255f85eb06a8978f3eef) (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-21 16:57.46: Waiting for resource in pool OCluster 2025-05-21 16:57.47: Waiting for worker… 2025-05-21 17:10.14: Got resource from pool OCluster Building on x86-bm-c1.sw.ocaml.org HEAD is now at 3c0b20c implement type mappings for parameters HEAD is now at bf7dd75 Merge pull request #198 from jongleb/typ-map-stp-2 (from ocaml/opam:debian-12-ocaml-4.13@sha256:6a8aa82b91bea3d00f3764d59543b7c681352956cfa0255f85eb06a8978f3eef) 2025-05-21 17:11.18 ---> saved as "2ff327fd4b3a8b5f715410130ea3f14fd7fc43210fd00547a667978aa441ce0b" /: (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-21 17:11.18 ---> saved as "dcd3f126f07266646f11fa490d337da69f8f7972c1b09be6697a72e06738b586" /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 ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] Initialised 2025-05-21 17:11.55 ---> saved as "8b0f20829c7327b0d51f814a6cc3e63aeae8baf25bade79f2e08308414636552" /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-05-21 17:11.55 ---> saved as "3b977f5b622b2a9a9a2875e0ed9f7a204cd87cce47cfb571a0e2e5c3f196d6ee" /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2025-05-21 17:11.55 ---> saved as "255930bc0119692c0832714c692ad84a250ce638a884080a5da2bf4861b7ce7c" /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-21 17:12.26 ---> saved as "c3a4116e90a76e5816861d905a3eb2f07b1b7b36c5ab2299052341df3999d6b4" /src: (copy (src sqlgg.opam) (dst ./)) 2025-05-21 17:12.26 ---> saved as "fecc973ea463bb77b81346d1997f3b0deb1e53a72fd18e98bf666ee4d330fd75" /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-21 17:12.28 ---> saved as "e19f8615c0b2a91ebba6a3af53dad96cbc830af473681837fd07c5bb2448cfd9" /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2025-05-21 17:12.28 ---> saved as "d40913f1a77cccd10b4f6f2a3bd9e5ddc3b5dd9f145d0de990b31d006fd68af7" /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" - Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB] - 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/main amd64 Packages [8793 kB] - Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [259 kB] - Fetched 9306 kB in 2s (4211 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-21 17:12.49 ---> saved as "12eb26c087d1a1ab21fc71b6ad5a8d5d5c05be701f367b5e75c8e47c88a2f90e" /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 mybuild.5 (cached) -> retrieved ocaml-compiler-libs.v0.11.0 (cached) -> retrieved jbuilder.1.0+beta20.1 (cached) -> retrieved dune.2.8.5 (cached) -> retrieved ocaml-migrate-parsetree.2.2.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 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 ppx_derivers.1.0 -> installed cppo.1.6.1 -> installed ocaml-compiler-libs.v0.11.0 -> installed dune.2.8.5 -> installed result.1.5 -> installed extlib.1.7.8 -> installed sexplib0.v0.12.0 -> installed stdlib-shims.0.1.0 -> installed ounit.2.0.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-21 17:14.30 ---> saved as "0a3fb441b6a98b63bfa22272e6903ca5aa98ba902cfe903369db3f415ebe281e" /src: (copy (src .) (dst /src)) 2025-05-21 17:14.31 ---> saved as "6666fd5d0ab2c7cfeced70135cb57b6e1388c218ef8ae1d51368f93f8d322520" /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 35, characters 0-78: 35 | 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 156, characters 37-40: 156 | 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 35, characters 0-78: 35 | 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 29820, characters 19-36: 29820 | 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 29820, characters 19-36: 29820 | 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-21 17:14.46: Job failed: Failed: Build failed