Organisationsygreksqlgga9972b ()(lower-bound)

(lower-bound)

Logs

Show full logs
2025-02-01 17:06.35: New job: test ygrek/sqlgg https://github.com/ygrek/sqlgg.git#refs/pull/149/head (a9972b63dfb6c7c9a9e36a16b3d4962196ce87a8) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.05@sha256:c1070496ab837547eb1f324b83ad48034bad01f7d7f1880f9a8a22bf3894ee39
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ygrek/sqlgg.git" && cd "sqlgg" && git fetch origin "refs/pull/149/head" && git reset --hard a9972b63
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.05@sha256:c1070496ab837547eb1f324b83ad48034bad01f7d7f1880f9a8a22bf3894ee39
# 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 e25af452e64b0bd6672dce5f38d878780362341d || git fetch origin master) && git reset -q --hard e25af452e64b0bd6672dce5f38d878780362341d && 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.v0.12.0 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+beta10 menhir.20180528 mybuild.5 ocaml.4.05.0 ocaml-base-compiler.4.05.0 ocaml-compiler-libs.v0.12.0 ocaml-config.1 ocaml-migrate-parsetree.1.3.1 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.9.1 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 ounit.2.0.0 ppx_derivers.1.0 ppx_deriving.5.0 ppxlib.0.9.0 result.1.5 sexplib0.v0.12.0 stdio.v0.12.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-02-01 17:06.35: Using cache hint "ygrek/sqlgg-ocaml/opam:debian-12-ocaml-4.05@sha256:c1070496ab837547eb1f324b83ad48034bad01f7d7f1880f9a8a22bf3894ee39-debian-12-4.05_opam-2.3-89d48dab09820feca61cf7990f36f64f"
2025-02-01 17:06.35: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.05@sha256:c1070496ab837547eb1f324b83ad48034bad01f7d7f1880f9a8a22bf3894ee39)
 (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 e25af452e64b0bd6672dce5f38d878780362341d || git fetch origin master) && git reset -q --hard e25af452e64b0bd6672dce5f38d878780362341d && 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.v0.12.0 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+beta10 menhir.20180528 mybuild.5 ocaml.4.05.0 ocaml-base-compiler.4.05.0 ocaml-compiler-libs.v0.12.0 ocaml-config.1 ocaml-migrate-parsetree.1.3.1 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.9.1 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 ounit.2.0.0 ppx_derivers.1.0 ppx_deriving.5.0 ppxlib.0.9.0 result.1.5 sexplib0.v0.12.0 stdio.v0.12.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-02-01 17:06.35: Waiting for resource in pool OCluster
2025-02-01 17:06.35: Waiting for worker…
2025-02-01 17:09.02: Got resource from pool OCluster
Building on x86-bm-c3.sw.ocaml.org
All commits already cached
HEAD is now at a9972b6 Make insert_id : int64 option

(from ocaml/opam:debian-12-ocaml-4.05@sha256:c1070496ab837547eb1f324b83ad48034bad01f7d7f1880f9a8a22bf3894ee39)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.05@sha256:c1070496ab837547eb1f324b83ad48034bad01f7d7f1880f9a8a22bf3894ee39' locally
docker.io/ocaml/opam@sha256:c1070496ab837547eb1f324b83ad48034bad01f7d7f1880f9a8a22bf3894ee39: Pulling from ocaml/opam
76159c363394: Pulling fs layer
76159c363394: Verifying Checksum
76159c363394: Download complete
76159c363394: Pull complete
Digest: sha256:c1070496ab837547eb1f324b83ad48034bad01f7d7f1880f9a8a22bf3894ee39
Status: Downloaded newer image for ocaml/opam@sha256:c1070496ab837547eb1f324b83ad48034bad01f7d7f1880f9a8a22bf3894ee39
2025-02-01 17:09.02 ---> using "587950503c6c6eed43245168f30339d7a9ee0275ac7d86686933f25660098c11" from cache

/: (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-02-01 17:09.02 ---> using "a040b1277a3a3157bef2e01a0aeabbdebe52e13980ae01e92603815e84608ef6" from cache

/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] synchronised from file:///home/opam/opam-repository
2025-02-01 17:10.01 ---> saved as "85d92811d4a56e1a5b9b64ad2a63ae8cbe6ba91de3d7da8683f3ebe26a0f933c"

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 4.05.0
2.3.0
2025-02-01 17:10.01 ---> saved as "1650a7fd8b827910258894843c9ab0da4bcf7e33b62319cac8c0e001c5404d8f"

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-02-01 17:10.01 ---> saved as "2643dcdc460d52eab4d042e1b88ec822614030f732589fd102608abe7698bd05"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e e25af452e64b0bd6672dce5f38d878780362341d || git fetch origin master) && git reset -q --hard e25af452e64b0bd6672dce5f38d878780362341d && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   3e681a81f6..e25af452e6  master     -> origin/master
e25af452e6 Merge pull request #27273 from hannesm/archive-phase2

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[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-02-01 17:11.06 ---> saved as "daa0a586918003d81949d656ed12eedab620767774447e390a39c1a1359975e1"

/src: (copy (src sqlgg.opam) (dst ./))
2025-02-01 17:11.06 ---> saved as "eb23b7ce5d86d5bc62ffb59c04b66233dc18986edcf29421330b7f666057ad53"

/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-02-01 17:11.08 ---> saved as "32c89ee6efbbf2028f2ff6a79c757a45b3a841248e4e7f0a6217b00ed2cd055b"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-02-01 17:11.08 ---> saved as "6fc10c2a359972ea53605721c9fcf7a37746657047760f5f9c906167b0c73061"

/src: (env DEPS "base.v0.12.0 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+beta10 menhir.20180528 mybuild.5 ocaml.4.05.0 ocaml-base-compiler.4.05.0 ocaml-compiler-libs.v0.12.0 ocaml-config.1 ocaml-migrate-parsetree.1.3.1 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.9.1 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 ounit.2.0.0 ppx_derivers.1.0 ppx_deriving.5.0 ppxlib.0.9.0 result.1.5 sexplib0.v0.12.0 stdio.v0.12.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 [243 kB]
- Fetched 346 kB in 0s (1291 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-02-01 17:11.23 ---> saved as "531657d827c8ba661471cae2798697263868e8444b9acdc5df37fdb520b34540"

/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 21 packages
  - install   base                     v0.12.0
  - 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+beta10 (deprecated)
  - install   menhir                   20180528
  - install   mybuild                  5
  - install   ocaml-compiler-libs      v0.12.0
  - install   ocaml-migrate-parsetree  1.3.1 (deprecated)
  - install   ocamlbuild               0.9.1
  - 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.0
  - install   ppxlib                   0.9.0
  - install   result                   1.5
  - install   sexplib0                 v0.12.0
  - install   stdio                    v0.12.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.6.1  (cached)
-> retrieved base.v0.12.0  (cached)
-> installed conf-m4.1
-> retrieved extlib.1.7.8  (cached)
-> retrieved jbuilder.1.0+beta10  (cached)
-> retrieved menhir.20180528  (cached)
-> retrieved mybuild.5  (cached)
-> retrieved ocaml-compiler-libs.v0.12.0  (cached)
-> retrieved dune.2.0.1  (cached)
-> retrieved ocaml-migrate-parsetree.1.3.1  (cached)
-> retrieved ocaml-secondary-compiler.4.08.1  (cached)
-> retrieved ocamlbuild.0.9.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.0  (cached)
-> retrieved ppxlib.0.9.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved sexplib0.v0.12.0  (cached)
-> retrieved stdio.v0.12.0  (cached)
-> installed ocamlfind.1.8.1
-> installed base-bytes.base
-> installed ocamlbuild.0.9.1
-> installed mybuild.5
-> installed jbuilder.1.0+beta10
-> installed ppx_derivers.1.0
-> installed ounit.2.0.0
-> installed cppo.1.6.1
-> installed extlib.1.7.8
-> 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 sexplib0.v0.12.0
-> installed ocaml-compiler-libs.v0.12.0
-> installed ocaml-migrate-parsetree.1.3.1
-> installed base.v0.12.0
-> installed stdio.v0.12.0
-> installed ppxlib.0.9.0
-> installed ppx_deriving.5.0
Done.

<><> ocaml-migrate-parsetree.1.3.1 installed successfully <><><><><><><><><><><>
=> Note: This package is deprecated.

<><> jbuilder.1.0+beta10 installed successfully <><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# To update the current shell environment, run: eval $(opam env)
2025-02-01 17:15.32 ---> saved as "37b51fe79d44c58e38592fe7cc1f1d9bf8f81878c9cf715812e1a2c2e4c20802"

/src: (copy (src .) (dst /src))
2025-02-01 17:15.32 ---> saved as "b2475ffe5a45697866fe6e3336a1175118079fd989c7825b20b88bd2d2e71a1d"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
 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.
    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
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-02-01 17:15.42: Job failed: Failed: Build failed