Organisationsygreksqlgg5dab8c ()(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2025-03-17 10:26.40: New job: test ygrek/sqlgg https://github.com/ygrek/sqlgg.git#refs/heads/master (5dab8c05749baee2378ece8eec0778c1ba578a10) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.05@sha256:a233af403756dab8ed2f40e5ebace649ef317392b66b66a590c4903aa5706788
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ygrek/sqlgg.git" -b "master" && cd "sqlgg" && git reset --hard 5dab8c05
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.05@sha256:a233af403756dab8ed2f40e5ebace649ef317392b66b66a590c4903aa5706788
# 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-17 10:26.40: Using cache hint "ygrek/sqlgg-ocaml/opam:debian-12-ocaml-4.05@sha256:a233af403756dab8ed2f40e5ebace649ef317392b66b66a590c4903aa5706788-debian-12-4.05_opam-2.3-cc2e06290418b3a54661bb540b86d9ab"
2025-03-17 10:26.40: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.05@sha256:a233af403756dab8ed2f40e5ebace649ef317392b66b66a590c4903aa5706788)
(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-17 10:26.40: Connecting to build cluster…
2025-03-17 10:26.40: Waiting for resource in pool OCluster
2025-03-17 13:23.55: Waiting for worker…
2025-03-17 13:24.12: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
HEAD is now at 5dab8c0 factorise functions block in traits (#157)


(from ocaml/opam:debian-12-ocaml-4.05@sha256:a233af403756dab8ed2f40e5ebace649ef317392b66b66a590c4903aa5706788)
2025-03-17 13:24.48 ---> saved as "0e58aa3f268977263ae76a62a64ca99a35c380a806dfbc24cde1738de1a826aa"


/: (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-17 13:24.48 ---> saved as "7f768d1027cdb877f972e5d2261baadd05de5dd035aca37ea0002e96d379fccb"


/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-17 13:26.05 ---> saved as "41d359d9bd8e114ae9731da3d7e772cf5b1c545791379adb073dd3c666acbe26"


/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-17 13:26.05 ---> saved as "af33508fecd7c5635489adce767b4259cb4f2fb137e0751dd8f73fb78ebc2c3d"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-03-17 13:26.05 ---> saved as "72c4c4faeaeaa6233c103e5bf9747bd5fb37cb1a509d3391d3139e25b7a34b27"


/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
94514fa0d0..4f8517f5b7  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-17 13:27.12 ---> saved as "06fd1f79593f7d5a4fe4f63b90142e6daedf44c9f30ac9d8ca40794e64a9a320"


/src: (copy (src sqlgg.opam) (dst ./))
2025-03-17 13:27.12 ---> saved as "50049115b851a34d00399e3509de4ed05009a8dfba8256e84408096a2230096e"


/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-17 13:27.15 ---> saved as "17eb9d4815dc216d1fcb32d217c8052f2eec556325adf4a0f4d573404f0644c0"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-03-17 13:27.16 ---> saved as "ffaabc159e67be5f6e3a047b8c70611e1c4f637013eb0efc243e3afd6ee2309e"


/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"
- 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 [8792 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [247 kB]
- Fetched 9293 kB in 2s (4728 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-17 13:27.47 ---> saved as "68c882f69b5bad4b8c20a3a136f089e212f05001bd4ef3b7cd019915063b9bf2"


/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 mybuild.5  (cached)
-> retrieved ocaml-compiler-libs.v0.11.0  (cached)
-> retrieved ocamlbuild.0.14.0  (cached)
-> retrieved ocaml-migrate-parsetree.1.5.0  (cached)
-> retrieved ocaml-secondary-compiler.4.08.1  (cached)
-> retrieved ocamlfind.1.8.1, ocamlfind-secondary.1.8.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-17 13:33.43 ---> saved as "f7e444201a45bd34db94f8564a70cf338155e7b882a56ccc89baaa533a3863c8"


/src: (copy (src .) (dst /src))
2025-03-17 13:33.44 ---> saved as "268c00fdf3c4d862b9a5e8803c196eff04763a8fff8d569b0a72e7be96b0f823"


/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 123, characters 9-32:
Error: Only type constructors with identical parameters can be substituted.
gen_version src/version.ml
fatal: not a git repository (or any of the parent directories): .git
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.
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.
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
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 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-17 13:33.58: Job failed: Failed: Build failed