2025-01-08 12:54.53: New job: test ygrek/sqlgg https://github.com/ygrek/sqlgg.git#refs/heads/ahrefs (6b0f90a28d85c697c64b97c2cccfcd390d1d8e84) (linux-x86_64:debian-12-5.2_x86_32_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.2@sha256:07c25be624e24c8beda066ce00a18266688ff4c2f1f36b46412f4f13880259a7
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ygrek/sqlgg.git" -b "ahrefs" && cd "sqlgg" && git reset --hard 6b0f90a2
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.2@sha256:07c25be624e24c8beda066ce00a18266688ff4c2f1f36b46412f4f13880259a7
# debian-12-5.2_x86_32_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 e566c29b12a9c284b68b3f6cbe7fbd4e8452406f || git fetch origin master) && git reset -q --hard e566c29b12a9c284b68b3f6cbe7fbd4e8452406f && 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-nnp.base base-threads.base base-unix.base cppo.1.8.0 dune.3.17.1 extlib.1.8.0 host-arch-x86_32.1 host-system-other.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mybuild.7 ocaml.5.2.1 ocaml-base-compiler.5.2.1 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-08 12:54.53: Using cache hint "ygrek/sqlgg-ocaml/opam:debian-12-ocaml-5.2@sha256:07c25be624e24c8beda066ce00a18266688ff4c2f1f36b46412f4f13880259a7-debian-12-5.2_x86_32_opam-2.3-6720d00e14cfcb6a9c0c898b2f7fd582"
2025-01-08 12:54.53: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.2@sha256:07c25be624e24c8beda066ce00a18266688ff4c2f1f36b46412f4f13880259a7)
(comment debian-12-5.2_x86_32_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 e566c29b12a9c284b68b3f6cbe7fbd4e8452406f || git fetch origin master) && git reset -q --hard e566c29b12a9c284b68b3f6cbe7fbd4e8452406f && 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-nnp.base base-threads.base base-unix.base cppo.1.8.0 dune.3.17.1 extlib.1.8.0 host-arch-x86_32.1 host-system-other.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mybuild.7 ocaml.5.2.1 ocaml-base-compiler.5.2.1 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-08 12:54.53: Waiting for resource in pool OCluster
2025-01-08 14:04.25: Waiting for worker…
2025-01-08 14:12.32: Got resource from pool OCluster
Building on x86-bm-c1.sw.ocaml.org
All commits already cached
HEAD is now at 6b0f90a Merge pull request #147 from jongleb/fix-cte-vars-concat-order
(from ocaml/opam:debian-12-ocaml-5.2@sha256:07c25be624e24c8beda066ce00a18266688ff4c2f1f36b46412f4f13880259a7)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.2@sha256:07c25be624e24c8beda066ce00a18266688ff4c2f1f36b46412f4f13880259a7' locally
docker.io/ocaml/opam@sha256:07c25be624e24c8beda066ce00a18266688ff4c2f1f36b46412f4f13880259a7: Pulling from ocaml/opam
f1cc5a0cfa24: Pulling fs layer
f1cc5a0cfa24: Verifying Checksum
f1cc5a0cfa24: Download complete
f1cc5a0cfa24: Pull complete
Digest: sha256:07c25be624e24c8beda066ce00a18266688ff4c2f1f36b46412f4f13880259a7
Status: Downloaded newer image for ocaml/opam@sha256:07c25be624e24c8beda066ce00a18266688ff4c2f1f36b46412f4f13880259a7
WARNING: The requested image's platform (linux/386) does not match the detected host platform (linux/amd64) and no specific platform was requested
2025-01-08 14:12.32 ---> using "5bac931032593e99ef9cab9841dee26c2b2dc3ba13a729c45e435e0e0b90728b" from cache
/: (comment debian-12-5.2_x86_32_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-08 14:12.32 ---> using "9a355787b8450c37cb46bf56a715bea45a838f065b34259219af9e739eef87e9" 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-01-08 14:12.32 ---> using "294eb94fbb1fb12b6753017941c9ef15782c8d9fe4ad29eb4bd4712c07aaea8c" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 5.2.1
2.3.0
2025-01-08 14:12.32 ---> using "90bd5cb21d0bf131bb1eabb3d5f68f4ef51abd3e1d79edbbf05b8696de7debab" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-01-08 14:12.32 ---> using "abcc4a2b306b2bc1e266b4f381e370ed8a976b7fb4edfd458c4c5cb475db32bd" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e e566c29b12a9c284b68b3f6cbe7fbd4e8452406f || git fetch origin master) && git reset -q --hard e566c29b12a9c284b68b3f6cbe7fbd4e8452406f && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
de786e28db..2e81d1953c master -> origin/master
e566c29b12 Merge pull request #27141 from NathanReb/release-ppxlib-0.34.0
<><> 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-08 14:12.32 ---> using "b4670f12a8ea749d81a3ef1de19ef9cb5574f7a7c0aaeef3984833c2c9f9eb92" from cache
/src: (copy (src sqlgg.opam) (dst ./))
2025-01-08 14:12.32 ---> using "bc4057c4aec60efe0be1f475c3f2946cd1159fe5c1ed51f81374f38b3b15097e" 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-08 14:12.32 ---> using "570bc62997624a597863054b66480b6d3ffdecd20ae84438ec0f032f86ce62b2" from cache
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-01-08 14:12.32 ---> using "f425f80cbe98c35ab0e8eebce3f8f7751907531a047abd186189192d7d2455aa" from cache
/src: (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cppo.1.8.0 dune.3.17.1 extlib.1.8.0 host-arch-x86_32.1 host-system-other.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mybuild.7 ocaml.5.2.1 ocaml-base-compiler.5.2.1 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"
- 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 i386 Packages [233 kB]
- Fetched 336 kB in 0s (769 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-base-compiler is already installed (current version is 5.2.1).
[NOTE] Package ocaml is already installed (current version is 5.2.1).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_32 is already installed (current version is 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-nnp 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-08 14:12.32 ---> using "03497399644e2258d18f1c9828363581dc9758ac1aad00275685fab96509088f" 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-base-compiler is already installed (current version is 5.2.1).
[NOTE] Package ocaml is already installed (current version is 5.2.1).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_32 is already installed (current version is 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-nnp 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.1
- 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 mybuild.7 (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached)
-> retrieved dune.3.17.1 (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.1
-> 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-08 14:15.54 ---> saved as "063eee1a763e06ee0f90cd7006299c15ab77d73a36565fd91034b8a5cc50846d"
/src: (copy (src .) (dst /src))
2025-01-08 14:15.56 ---> saved as "fa1e3d5bfc343fc0aae4259360a941863de131957f82271478c2d9f46d9ca640"
/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.2/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: 133 shift/reduce conflicts were arbitrarily resolved.
Warning: 18 reduce/reduce conflicts were arbitrarily resolved.
(cd _build/default && /home/opam/.opam/5.2/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.2/lib/extlib -I /home/opam/.opam/5.2/lib/oUnit -I /home/opam/.opam/5.2/lib/ocaml/unix -I /home/opam/.opam/5.2/lib/ounit2 -I /home/opam/.opam/5.2/lib/ounit2/advanced -I /home/opam/.opam/5.2/lib/ppx_deriving/runtime -I /home/opam/.opam/5.2/lib/seq -I /home/opam/.opam/5.2/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.2/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.2/lib/extlib -I /home/opam/.opam/5.2/lib/oUnit -I /home/opam/.opam/5.2/lib/ocaml/unix -I /home/opam/.opam/5.2/lib/ounit2 -I /home/opam/.opam/5.2/lib/ounit2/advanced -I /home/opam/.opam/5.2/lib/ppx_deriving/runtime -I /home/opam/.opam/5.2/lib/seq -I /home/opam/.opam/5.2/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.2/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.2/lib/extlib -I /home/opam/.opam/5.2/lib/oUnit -I /home/opam/.opam/5.2/lib/ocaml/unix -I /home/opam/.opam/5.2/lib/ounit2 -I /home/opam/.opam/5.2/lib/ounit2/advanced -I /home/opam/.opam/5.2/lib/ppx_deriving/runtime -I /home/opam/.opam/5.2/lib/seq -I /home/opam/.opam/5.2/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.2/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.2/lib/extlib -I /home/opam/.opam/5.2/lib/oUnit -I /home/opam/.opam/5.2/lib/ocaml/unix -I /home/opam/.opam/5.2/lib/ounit2 -I /home/opam/.opam/5.2/lib/ounit2/advanced -I /home/opam/.opam/5.2/lib/ppx_deriving/runtime -I /home/opam/.opam/5.2/lib/seq -I /home/opam/.opam/5.2/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.51 seconds.
FAILED: Cases: 146 Tried: 146 Errors: 0 Failures: 0 Skip: 0 Todo: 1 Timeouts: 0.
2025-01-08 14:17.29 ---> saved as "ea91caa8bedaaa3c18bdc01fc18cd16e2d739a9f12f127e82398843eca5f624b"
Job succeeded
2025-01-08 14:17.29: Job succeeded