Organisationsygreksqlggcb85da ()(lower-bound)

(lower-bound)

Logs

Show full logs
2025-06-19 20:37.45: New job: test ygrek/sqlgg https://github.com/ygrek/sqlgg.git#refs/heads/master (cb85da3b9f49bbb2369cf12f85c112f567fc0510) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.13@sha256:3862fe3bfbe6e5c3e77ccdb360db6dd59c9d23866abf36f654900029cfd403ef
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ygrek/sqlgg.git" -b "master" && cd "sqlgg" && git reset --hard cb85da3b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.13@sha256:3862fe3bfbe6e5c3e77ccdb360db6dd59c9d23866abf36f654900029cfd403ef
# 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 f5c1936fa5c32d29749894f9717c2eea4a72c4d5 || git fetch origin master) && git reset -q --hard f5c1936fa5c32d29749894f9717c2eea4a72c4d5 && 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.9.3 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-06-19 20:37.45: Using cache hint "ygrek/sqlgg-ocaml/opam:debian-12-ocaml-4.13@sha256:3862fe3bfbe6e5c3e77ccdb360db6dd59c9d23866abf36f654900029cfd403ef-debian-12-4.13_opam-2.3-4ad0281b9e7d9a6e05d26ebe8c199a00"
2025-06-19 20:37.45: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.13@sha256:3862fe3bfbe6e5c3e77ccdb360db6dd59c9d23866abf36f654900029cfd403ef)
 (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 f5c1936fa5c32d29749894f9717c2eea4a72c4d5 || git fetch origin master) && git reset -q --hard f5c1936fa5c32d29749894f9717c2eea4a72c4d5 && 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.9.3 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-06-19 20:37.45: Waiting for resource in pool OCluster
2025-06-19 20:37.45: Waiting for worker…
2025-06-19 20:42.22: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at cb85da3 Merge pull request #206 from jongleb/add-doc

(from ocaml/opam:debian-12-ocaml-4.13@sha256:3862fe3bfbe6e5c3e77ccdb360db6dd59c9d23866abf36f654900029cfd403ef)
2025-06-19 20:42.53 ---> saved as "da9c83915e819ba63b60dad4c9a387342309aaafc68cc38667d820669a374e5a"

/: (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-06-19 20:42.53 ---> saved as "37dd90c1c1c63acd441db3b9ecc7ce1e38fb2d783cc6cb19b9e6766923a7f06b"

/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 71 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=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-06-19 20:43.17 ---> saved as "058f7a09fc825319c3b24a16f6f38b812041053b4b29cfa712513af2c91cffbd"

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-60-generic
The OCaml toplevel, version 4.13.1
2.3.0
2025-06-19 20:43.17 ---> saved as "c4e1a889daeb14d21ca579343c9c0093e5576dc3f65c0b7249fb4959fda8fb65"

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-06-19 20:43.18 ---> saved as "e6b33e4952a0e5e90f26311386ca352ccf2f7814f0ecaa787340b047798928be"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e f5c1936fa5c32d29749894f9717c2eea4a72c4d5 || git fetch origin master) && git reset -q --hard f5c1936fa5c32d29749894f9717c2eea4a72c4d5 && git log --no-decorate -n1 --oneline && opam update -u"))
f5c1936fa5 Merge pull request #27987 from maroneze/master

<><> 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-06-19 20:43.35 ---> saved as "0cb22c3034085c6370b6cafcd2a15b64c4f47da754be969046756553bc9b8580"

/src: (copy (src sqlgg.opam) (dst ./))
2025-06-19 20:43.35 ---> saved as "1092ea610e094223bd94af6d9663a956968d2dacbe8a863c5e5ae94c420cb88d"

/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-06-19 20:43.37 ---> saved as "2feccae3bd9da5ac11a6feeb173e8c6ed971e2c11537d8e84fb02ff7e132da31"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-19 20:43.37 ---> saved as "a3ccbbb6805b63c6e45fc3aadc11e5a0c440c11925998476f81e3504753eb11f"

/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.6.1 dune.2.9.3 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 [267 kB]
- Fetched 370 kB in 0s (1175 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-06-19 20:43.47 ---> saved as "d69da1e5c040c4b9f28f766c0a03c4e3ee59ba281015987901081d36d616cf7b"

/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.9.3
  - 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 dune.2.9.3  (cached)
-> retrieved ocaml-compiler-libs.v0.11.0  (cached)
-> retrieved ocaml-migrate-parsetree.2.2.0  (cached)
-> retrieved mybuild.5  (https://opam.ocaml.org/cache)
-> 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 extlib.1.7.8
-> installed dune.2.9.3
-> installed stdlib-shims.0.1.0
-> installed result.1.5
-> installed sexplib0.v0.12.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-06-19 20:44.21 ---> saved as "ca6f71431a3c2ecebaf53e90b83f68fd9fde8403459bbb6169dcb4c847c1c856"

/src: (copy (src .) (dst /src))
2025-06-19 20:44.22 ---> saved as "6e62740ea8865a37344c6a53ff831cd4ec4a9f6a560674ce69da002e5eeda3be"

/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: 131 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 179, characters 37-40:
179 |     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 28764, characters 19-36:
28764 |     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 28764, characters 19-36:
28764 |     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-06-19 20:44.28: Job failed: Failed: Build failed