Organisationsygreksqlggcc7a4a ()(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2025-03-19 18:24.18: New job: test ygrek/sqlgg https://github.com/ygrek/sqlgg.git#refs/heads/master (cc7a4a64b3f8b8c2e5ba4d6b350955d1dbd5cfda) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.05@sha256:a55bca4befb0c3ec00078ecb83089efdee8a3ac0a76bdf70edd4f247015fae14
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ygrek/sqlgg.git" -b "master" && cd "sqlgg" && git reset --hard cc7a4a64
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.05@sha256:a55bca4befb0c3ec00078ecb83089efdee8a3ac0a76bdf70edd4f247015fae14
# debian-12-4.05_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 conf-m4.1 cppo.1.6.1 dune.2.0.1 extlib.1.7.8 jbuilder.1.0+beta20.1 menhir.20180528 mybuild.5 ocaml.4.05.0 ocaml-base-compiler.4.05.0 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocaml-migrate-parsetree.1.5.0 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.14.0 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 ounit.2.0.0 ppx_derivers.1.0 ppx_deriving.5.1 ppxlib.0.15.0 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-03-19 18:24.18: Using cache hint "ygrek/sqlgg-ocaml/opam:debian-12-ocaml-4.05@sha256:a55bca4befb0c3ec00078ecb83089efdee8a3ac0a76bdf70edd4f247015fae14-debian-12-4.05_opam-2.3-cc2e06290418b3a54661bb540b86d9ab"
2025-03-19 18:24.18: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.05@sha256:a55bca4befb0c3ec00078ecb83089efdee8a3ac0a76bdf70edd4f247015fae14)
(comment debian-12-4.05_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 conf-m4.1 cppo.1.6.1 dune.2.0.1 extlib.1.7.8 jbuilder.1.0+beta20.1 menhir.20180528 mybuild.5 ocaml.4.05.0 ocaml-base-compiler.4.05.0 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocaml-migrate-parsetree.1.5.0 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.14.0 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 ounit.2.0.0 ppx_derivers.1.0 ppx_deriving.5.1 ppxlib.0.15.0 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-03-19 18:24.18: Waiting for resource in pool OCluster
2025-03-19 18:24.22: Waiting for worker…
2025-03-19 18:24.40: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at cc7a4a6 Merge pull request #158 from raphael-proust/specialise-inserts


(from ocaml/opam:debian-12-ocaml-4.05@sha256:a55bca4befb0c3ec00078ecb83089efdee8a3ac0a76bdf70edd4f247015fae14)
2025-03-19 18:24.47 ---> saved as "f489abf84b2bd9c48733192fde70aa1fbfa9ca4b20aab43ef114489ba23ee9e1"


/: (comment debian-12-4.05_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-03-19 18:24.47 ---> saved as "8b24ae16b19125162f271ea49552765370e545a14c940e6affaad334771cf790"


/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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[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-03-19 18:25.46 ---> saved as "b4e858a04673f5fda467ed9befe38973b4f4dbdf76cc6fc48e7269b10360154b"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.05.0
2.3.0
2025-03-19 18:25.47 ---> saved as "e1d00dbe47d86746a5c473f1f62f32cac6a5fad7f0c6826a5fabb32cb95fac85"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-03-19 18:25.47 ---> saved as "c913839d12d08656f18776f3f5b07a2bf913f2f8062351c1c403ac4425baa98a"


/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..6ccbe63dbf  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-03-19 18:26.39 ---> saved as "4eacc2eb31a70a106d3d32d17b97f227039e8c0c75afe4bc9359af5e04b837a5"


/src: (copy (src sqlgg.opam) (dst ./))
2025-03-19 18:26.39 ---> saved as "8e1b0a7012a29433b138e98383829ecec4a131839b668d3bf5a12b73443b691f"


/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-03-19 18:26.41 ---> saved as "eafe892952ee9c5c2a7dd1e2fcb71936e63858e9e386cc09e4cc31c1835fbb29"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-03-19 18:26.42 ---> saved as "a3f962d0d9bd98c462517acde0f4a034d95974f66bfe38dbec97512f8c25de48"


/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-m4.1 cppo.1.6.1 dune.2.0.1 extlib.1.7.8 jbuilder.1.0+beta20.1 menhir.20180528 mybuild.5 ocaml.4.05.0 ocaml-base-compiler.4.05.0 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocaml-migrate-parsetree.1.5.0 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.14.0 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 ounit.2.0.0 ppx_derivers.1.0 ppx_deriving.5.1 ppxlib.0.15.0 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 [249 kB]
- Fetched 353 kB in 0s (1151 kB/s)
- Reading package lists...


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[sqlgg.dev] synchronised (file:///src)


[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.05.0).
[NOTE] Package ocaml is already installed (current version is 4.05.0).
[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 system packages will first need to be installed:
m4


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>


+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package m4.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18745 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-3_amd64.deb ...
- Unpacking m4 (1.4.19-3) ...
- Setting up m4 (1.4.19-3) ...
2025-03-19 18:26.56 ---> saved as "0efe96a83c14363dc50013918ba92c52d41018d547632b81607a0893cf5d4ccb"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.05.0).
[NOTE] Package ocaml is already installed (current version is 4.05.0).
[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:
=== downgrade 1 package
- downgrade ocaml-secondary-compiler 4.14.2 to 4.08.1
=== install 20 packages
- install   base-bytes               base
- install   conf-m4                  1
- install   cppo                     1.6.1
- install   dune                     2.0.1
- 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  1.5.0 (deprecated)
- install   ocamlbuild               0.14.0
- install   ocamlfind                1.8.1
- install   ocamlfind-secondary      1.8.1
- install   ounit                    2.0.0
- install   ppx_derivers             1.0
- install   ppx_deriving             5.1
- install   ppxlib                   0.15.0
- 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)
-> installed conf-m4.1
-> retrieved menhir.20180528  (cached)
-> retrieved jbuilder.1.0+beta20.1  (cached)
-> retrieved dune.2.0.1  (cached)
-> retrieved ocaml-compiler-libs.v0.11.0  (cached)
-> retrieved mybuild.5  (https://github.com/ygrek/mybuild/archive/v5.tar.gz)
-> retrieved ocamlbuild.0.14.0  (cached)
-> retrieved ocaml-migrate-parsetree.1.5.0  (cached)
-> retrieved ocamlfind.1.8.1, ocamlfind-secondary.1.8.1  (cached)
-> retrieved ocaml-secondary-compiler.4.08.1  (cached)
-> retrieved ounit.2.0.0  (cached)
-> retrieved ppx_derivers.1.0  (cached)
-> retrieved ppx_deriving.5.1  (cached)
-> retrieved result.1.5  (cached)
-> retrieved sexplib0.v0.12.0  (cached)
-> retrieved stdlib-shims.0.1.0  (cached)
-> retrieved ppxlib.0.15.0  (cached)
-> installed ocamlfind.1.8.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 ocaml-compiler-libs.v0.11.0
-> installed cppo.1.6.1
-> installed extlib.1.7.8
-> installed ounit.2.0.0
-> installed menhir.20180528
-> removed   ocaml-secondary-compiler.4.14.2
-> installed ocaml-secondary-compiler.4.08.1
-> installed ocamlfind-secondary.1.8.1
-> installed dune.2.0.1
-> installed result.1.5
-> installed stdlib-shims.0.1.0
-> installed sexplib0.v0.12.0
-> installed ocaml-migrate-parsetree.1.5.0
-> installed ppxlib.0.15.0
-> installed ppx_deriving.5.1
Done.


<><> ocaml-migrate-parsetree.1.5.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-03-19 18:29.02 ---> saved as "53a8d5122223c78a2f2b9d608b288e0121b1a0bbee0129d951e3be9a90b4c6ca"


/src: (copy (src .) (dst /src))
2025-03-19 18:29.02 ---> saved as "44d2a3bb6ead3fe3b5e7a12a2b899dc7d60aed5a447bc7e335a87b86d41dd56c"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "/home/opam/.opam/4.05/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.05/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.05/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.05/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.05/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.
ocamlc impl/ocaml/.sqlgg_traits.objs/byte/sqlgg_traits.{cmi,cmo,cmt} (exit 2)
(cd _build/default && /home/opam/.opam/4.05/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 impl/ocaml/.sqlgg_traits.objs/byte -no-alias-deps -opaque -o impl/ocaml/.sqlgg_traits.objs/byte/sqlgg_traits.cmo -c -impl impl/ocaml/sqlgg_traits.ml)
File "impl/ocaml/sqlgg_traits.ml", line 131, characters 9-32:
Error: Only type constructors with identical parameters can be substituted.
ocamlc lib/.sqlgg.objs/byte/sqlgg__Sql.{cmi,cmo,cmt}
File "lib/sql.ml", line 28, characters 2-89:
Warning 32: unused value show.
File "lib/sql.ml", line 338, characters 0-71:
Warning 32: unused value show_table_name.
gen_version src/version.ml
fatal: not a git repository (or any of the parent directories): .git
ocamlopt lib/.sqlgg.objs/native/sqlgg__Sql.{cmx,o}
File "lib/sql.ml", line 28, characters 2-89:
Warning 32: unused value show.
File "lib/sql.ml", line 338, characters 0-71:
Warning 32: unused value show_table_name.
menhir lib/sql_parser.{ml,mli}
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.
ocamlopt lib/.sqlgg.objs/native/sqlgg__Syntax.{cmx,o} (exit 2)
(cd _build/default && /home/opam/.opam/4.05/bin/ocamlopt.opt -strict-sequence -strict-formats -short-paths -keep-locs -w +A@8-e-40-41-42-44-45-48-70 -g -I lib/.sqlgg.objs/byte -I lib/.sqlgg.objs/native -I /home/opam/.opam/4.05/lib/bytes -I /home/opam/.opam/4.05/lib/extlib -I /home/opam/.opam/4.05/lib/ppx_deriving/runtime -I /home/opam/.opam/4.05/lib/result -intf-suffix .ml -no-alias-deps -opaque -open Sqlgg -o lib/.sqlgg.objs/native/sqlgg__Syntax.cmx -c -impl lib/syntax.pp.ml)
File "lib/syntax.ml", line 376, characters 46-55:
Error: Unbound module Fun
ocamlc lib/.sqlgg.objs/byte/sqlgg__Syntax.{cmo,cmt} (exit 2)
(cd _build/default && /home/opam/.opam/4.05/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 lib/.sqlgg.objs/byte -I /home/opam/.opam/4.05/lib/bytes -I /home/opam/.opam/4.05/lib/extlib -I /home/opam/.opam/4.05/lib/ppx_deriving/runtime -I /home/opam/.opam/4.05/lib/result -intf-suffix .ml -no-alias-deps -opaque -open Sqlgg -o lib/.sqlgg.objs/byte/sqlgg__Syntax.cmo -c -impl lib/syntax.pp.ml)
File "lib/syntax.ml", line 376, characters 46-55:
Error: Unbound module Fun
ocamlc src/.cli.eobjs/byte/dune__exe__Test.{cmi,cmo,cmt} (exit 2)
(cd _build/default && /home/opam/.opam/4.05/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.05/lib/bytes -I /home/opam/.opam/4.05/lib/extlib -I /home/opam/.opam/4.05/lib/oUnit -I /home/opam/.opam/4.05/lib/ppx_deriving/runtime -I /home/opam/.opam/4.05/lib/result -I lib/.sqlgg.objs/byte -I lib/.sqlgg.objs/native -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:
Error: The function applied to this argument has type string -> bool
This argument cannot be applied with label ~suffix
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-03-19 18:29.10: Job failed: Failed: Build failed