Organisationsygreksqlgga9972b ()debian-12-5.3_arm32_opam-2.3

debian-12-5.3_arm32_opam-2.3

Logs

Show full logs
2025-01-25 11:45.42: New job: test ygrek/sqlgg https://github.com/ygrek/sqlgg.git#refs/pull/149/head (a9972b63dfb6c7c9a9e36a16b3d4962196ce87a8) (linux-arm64:debian-12-5.3_arm32_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.3@sha256:d08b230adbdd11042a405c4e6a33d7f2603b0c58a79b2b91daa28c9a9f201303
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-5.3@sha256:d08b230adbdd11042a405c4e6a33d7f2603b0c58a79b2b91daa28c9a9f201303
# debian-12-5.3_arm32_opam-2.3
USER 1000:1000
SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ]
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 d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db || git fetch origin master) && git reset -q --hard d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db && 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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cppo.1.8.0 dune.3.17.2 extlib.1.8.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mybuild.7 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-option-bytecode-only.1 ocaml-options-vanilla.1 ocamlfind.1.9.6 ounit.2.2.7 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppxlib.0.34.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.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-01-25 11:45.42: Using cache hint "ygrek/sqlgg-ocaml/opam:debian-12-ocaml-5.3@sha256:d08b230adbdd11042a405c4e6a33d7f2603b0c58a79b2b91daa28c9a9f201303-debian-12-5.3_arm32_opam-2.3-05fecac1b16b3f5537ab26fa1fb1895f"
2025-01-25 11:45.42: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:d08b230adbdd11042a405c4e6a33d7f2603b0c58a79b2b91daa28c9a9f201303)
 (comment debian-12-5.3_arm32_opam-2.3)
 (user (uid 1000) (gid 1000))
 (shell /usr/bin/linux32 /bin/sh -c)
 (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 d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db || git fetch origin master) && git reset -q --hard d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db && 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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cppo.1.8.0 dune.3.17.2 extlib.1.8.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mybuild.7 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-option-bytecode-only.1 ocaml-options-vanilla.1 ocamlfind.1.9.6 ounit.2.2.7 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppxlib.0.34.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.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-01-25 11:45.42: Waiting for resource in pool OCluster
2025-01-25 17:56.47: Waiting for worker…
2025-01-25 18:55.06: Got resource from pool OCluster
Building on kydoime.caelum.ci.dev
All commits already cached
HEAD is now at a9972b6 Make insert_id : int64 option

(from ocaml/opam:debian-12-ocaml-5.3@sha256:d08b230adbdd11042a405c4e6a33d7f2603b0c58a79b2b91daa28c9a9f201303)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:d08b230adbdd11042a405c4e6a33d7f2603b0c58a79b2b91daa28c9a9f201303' locally
docker.io/ocaml/opam@sha256:d08b230adbdd11042a405c4e6a33d7f2603b0c58a79b2b91daa28c9a9f201303: Pulling from ocaml/opam
Digest: sha256:d08b230adbdd11042a405c4e6a33d7f2603b0c58a79b2b91daa28c9a9f201303
Status: Downloaded newer image for ocaml/opam@sha256:d08b230adbdd11042a405c4e6a33d7f2603b0c58a79b2b91daa28c9a9f201303
WARNING: The requested image's platform (linux/arm/v7) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
2025-01-25 18:55.06 ---> using "1eaccb3a580b9fb7413db6d386838c76ec597668f42d900bcfcd1f061d0e5a21" from cache

/: (comment debian-12-5.3_arm32_opam-2.3)

/: (user (uid 1000) (gid 1000))

/: (shell /usr/bin/linux32 /bin/sh -c)

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-01-25 18:55.06 ---> using "1f0b627fdc80a9b7edcc7d853174aea1497b1ee9c7b6ecf27125788bc84c482f" 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.

Continue? [y/n] y
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.

Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2025-01-25 18:55.06 ---> using "088017675ae0d5db57b5053b9bbc02371ccb1a387a6ce2b5c1a8cdd80a5f4c85" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-01-25 18:55.06 ---> using "d41b25b1d0ac25aab253f1d9bfd5fbd1040b072bc52f8aa931ed669fda8db9ab" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-01-25 18:55.06 ---> using "713c95598f349b5f058cb554e5bd5c3b942229a0787990f4bc89636479c7ec5c" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db || git fetch origin master) && git reset -q --hard d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   f93eb7cb02..12d8668654  master     -> origin/master
d1a3803c0c Merge pull request #27313 from maiste/release-dune-3.17.2

<><> 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-01-25 18:55.06 ---> using "d9b01227d88386f434bca1f7431357af1080bf11e1741259d794c1b8371a50e2" from cache

/src: (copy (src sqlgg.opam) (dst ./))
2025-01-25 18:55.06 ---> using "5d5ffa5e67cb9827a4a1cecd908808b81703d2462e82ba4f1dcf92ecc0996cb0" from cache

/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-01-25 18:55.06 ---> using "f46dd0d4d83673144cc04c326dd9b1ba4a1b0a1c8004bafad1637a5d425a9774" from cache

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-01-25 18:55.06 ---> using "7ca29c8d74830d6fdfa104ea303b83d586ac326ccff06d12a15eff880ed1d3b3" from cache

/src: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cppo.1.8.0 dune.3.17.2 extlib.1.8.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mybuild.7 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-option-bytecode-only.1 ocaml-options-vanilla.1 ocamlfind.1.9.6 ounit.2.2.7 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppxlib.0.34.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.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 armhf Packages [8507 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main armhf Packages.diff/Index [15.1 kB]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main armhf Packages [223 kB]
- Get:7 http://deb.debian.org/debian bookworm-updates/main armhf Packages T-2025-01-14-2009.05-F-2025-01-14-2009.05.pdiff [5102 B]
- Get:7 http://deb.debian.org/debian bookworm-updates/main armhf Packages T-2025-01-14-2009.05-F-2025-01-14-2009.05.pdiff [5102 B]
- Fetched 9004 kB in 1s (6761 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-option-bytecode-only is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2025-01-25 18:55.06 ---> using "20f0fd559d97f3c909f9a705e9923297ea2375e1f32dedd71075dded380ac8ec" from cache

/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-option-bytecode-only is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains 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 cppo                1.8.0
  - install dune                3.17.2
  - install extlib              1.8.0
  - install menhir              20240715
  - install menhirCST           20240715
  - install menhirLib           20240715
  - install menhirSdk           20240715
  - install mybuild             7
  - install ocaml-compiler-libs v0.17.0
  - install ocamlfind           1.9.6
  - install ounit               2.2.7
  - install ounit2              2.2.7
  - install ppx_derivers        1.2.1
  - install ppx_deriving        6.0.3
  - install ppxlib              0.34.0
  - install seq                 base
  - install sexplib0            v0.16.0
  - install stdlib-shims        0.3.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0  (cached)
-> retrieved extlib.1.8.0  (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
-> retrieved dune.3.17.2  (cached)
-> retrieved mybuild.7  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ounit.2.2.7, ounit2.2.2.7  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved ppx_deriving.6.0.3  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ppxlib.0.34.0  (cached)
-> installed ocamlfind.1.9.6
-> installed dune.3.17.2
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed menhirCST.20240715
-> installed sexplib0.v0.16.0
-> installed menhirSdk.20240715
-> installed mybuild.7
-> installed menhirLib.20240715
-> installed ounit2.2.2.7
-> installed ounit.2.2.7
-> installed cppo.1.8.0
-> installed extlib.1.8.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed menhir.20240715
-> installed ppxlib.0.34.0
-> installed ppx_deriving.6.0.3
Done.
# To update the current shell environment, run: eval $(opam env)
2025-01-25 18:55.06 ---> using "f0dd597d6801c881b58f9f3a6c362b4d88873f137e2b6d836f0f3b9b26c88742" from cache

/src: (copy (src .) (dst /src))
2025-01-25 18:55.07 ---> saved as "009e677493512560d428988911151d9be84f8656eb5a57e0ab5f6083b9402c3f"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/src && ./gen_version.exe version.ml)
fatal: not a git repository (or any of the parent directories): .git
(cd _build/default && /home/opam/.opam/5.3/bin/menhir lib/sql_parser.mly --base lib/sql_parser --infer-read-reply lib/sql_parser__mock.mli.inferred)
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.
(cd _build/default && /home/opam/.opam/5.3/bin/ocamlc -strict-sequence -strict-formats -short-paths -keep-locs -w +A@8-e-40-41-42-44-45-48-70 -g -bin-annot -bin-annot-occurrences -I src/.cli.eobjs/byte -I /home/opam/.opam/5.3/lib/extlib -I /home/opam/.opam/5.3/lib/oUnit -I /home/opam/.opam/5.3/lib/ocaml/unix -I /home/opam/.opam/5.3/lib/ounit2 -I /home/opam/.opam/5.3/lib/ounit2/advanced -I /home/opam/.opam/5.3/lib/ppx_deriving/runtime -I /home/opam/.opam/5.3/lib/seq -I /home/opam/.opam/5.3/lib/stdlib-shims -I lib/.sqlgg.objs/byte -no-alias-deps -opaque -open Dune__exe -o src/.cli.eobjs/byte/dune__exe__Gen.cmo -c -impl src/gen.pp.ml)
File "src/gen.ml", line 25, characters 17-24:
25 | let output fmt = kprintf indent_endline fmt
                      ^^^^^^^
Alert deprecated: Stdlib.Printf.kprintf
Use Printf.ksprintf instead.

File "src/gen.ml", line 27, characters 16-23:
27 | let print fmt = kprintf print_endline fmt
                     ^^^^^^^
Alert deprecated: Stdlib.Printf.kprintf
Use Printf.ksprintf instead.
(cd _build/default && /home/opam/.opam/5.3/bin/ocamlc -strict-sequence -strict-formats -short-paths -keep-locs -w +A@8-e-40-41-42-44-45-48-70 -g -bin-annot -bin-annot-occurrences -I src/.cli.eobjs/byte -I /home/opam/.opam/5.3/lib/extlib -I /home/opam/.opam/5.3/lib/oUnit -I /home/opam/.opam/5.3/lib/ocaml/unix -I /home/opam/.opam/5.3/lib/ounit2 -I /home/opam/.opam/5.3/lib/ounit2/advanced -I /home/opam/.opam/5.3/lib/ppx_deriving/runtime -I /home/opam/.opam/5.3/lib/seq -I /home/opam/.opam/5.3/lib/stdlib-shims -I lib/.sqlgg.objs/byte -no-alias-deps -opaque -open Dune__exe -o src/.cli.eobjs/byte/dune__exe__Gen_cxx.cmo -c -impl src/gen_cxx.pp.ml)
File "src/gen_cxx.ml", line 30, characters 21-35:
30 | let comment () fmt = Printf.kprintf (indent_endline $ quote_comment_inline $ (^) "// ") fmt
                          ^^^^^^^^^^^^^^
Alert deprecated: Stdlib.Printf.kprintf
Use Printf.ksprintf instead.
(cd _build/default && /home/opam/.opam/5.3/bin/ocamlc -strict-sequence -strict-formats -short-paths -keep-locs -w +A@8-e-40-41-42-44-45-48-70 -g -bin-annot -bin-annot-occurrences -I src/.cli.eobjs/byte -I /home/opam/.opam/5.3/lib/extlib -I /home/opam/.opam/5.3/lib/oUnit -I /home/opam/.opam/5.3/lib/ocaml/unix -I /home/opam/.opam/5.3/lib/ounit2 -I /home/opam/.opam/5.3/lib/ounit2/advanced -I /home/opam/.opam/5.3/lib/ppx_deriving/runtime -I /home/opam/.opam/5.3/lib/seq -I /home/opam/.opam/5.3/lib/stdlib-shims -I lib/.sqlgg.objs/byte -no-alias-deps -opaque -open Dune__exe -o src/.cli.eobjs/byte/dune__exe__Gen_caml.cmo -c -impl src/gen_caml.pp.ml)
File "src/gen_caml.ml", line 118, characters 21-35:
118 | let comment () fmt = Printf.kprintf (indent_endline $ make_comment) fmt
                           ^^^^^^^^^^^^^^
Alert deprecated: Stdlib.Printf.kprintf
Use Printf.ksprintf instead.
(cd _build/default && /home/opam/.opam/5.3/bin/ocamlc -strict-sequence -strict-formats -short-paths -keep-locs -w +A@8-e-40-41-42-44-45-48-70 -g -bin-annot -bin-annot-occurrences -I src/.cli.eobjs/byte -I /home/opam/.opam/5.3/lib/extlib -I /home/opam/.opam/5.3/lib/oUnit -I /home/opam/.opam/5.3/lib/ocaml/unix -I /home/opam/.opam/5.3/lib/ounit2 -I /home/opam/.opam/5.3/lib/ounit2/advanced -I /home/opam/.opam/5.3/lib/ppx_deriving/runtime -I /home/opam/.opam/5.3/lib/seq -I /home/opam/.opam/5.3/lib/stdlib-shims -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 145, characters 7-23:
145 |     if String.ends_with name "?" then
             ^^^^^^^^^^^^^^^^
Warning 6 [labels-omitted]: label suffix was omitted in the application of this function.
(cd _build/default/src && ./cli.exe -test)
......................T...........................................................................................................................
Ran: 146 tests in: 0.27 seconds.
FAILED: Cases: 146 Tried: 146 Errors: 0 Failures: 0 Skip:  0 Todo: 1 Timeouts: 0.
2025-01-25 18:55.35 ---> saved as "cdf8362c071e126f522e02a0eb717a0422c330e289d869f7ef4211ec2110145d"
Job succeeded
2025-01-25 18:55.36: Job succeeded