Organisationsygreksqlggbd80a5 ()debian-12-4.14+flambda_opam-2.4

debian-12-4.14+flambda_opam-2.4

Logs

Show full logs
2025-09-04 00:47.08: New job: test ygrek/sqlgg https://github.com/ygrek/sqlgg.git#refs/heads/master (bd80a51c80d8cd748f97610ce7b8ae9a082cf2ad) (linux-x86_64:debian-12-4.14+flambda_opam-2.4)
Base: ocaml/opam:debian-12-ocaml-4.14-flambda@sha256:de6b757a4cd7e73757c5ae33de91e53bdf187f6dafe2da2f190eb3f28213a4c2
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ygrek/sqlgg.git" -b "master" && cd "sqlgg" && git reset --hard bd80a51c
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14-flambda@sha256:de6b757a4cd7e73757c5ae33de91e53bdf187f6dafe2da2f190eb3f28213a4c2
# debian-12-4.14+flambda_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /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 e28312d8e0d10f256ec9998ff7e868cb6e010778 || git fetch origin master) && git reset -q --hard e28312d8e0d10f256ec9998ff7e868cb6e010778 && 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-threads.base base-unix.base cppo.1.8.0 dune.3.20.1 extlib.1.8.0 menhir.20250903 menhirCST.20250903 menhirLib.20250903 menhirSdk.20250903 mybuild.7 ocaml.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-variants.4.14.2+options ocamlfind.1.9.8 ounit.2.2.7 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppxlib.0.36.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --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-09-04 00:47.08: Using cache hint "ygrek/sqlgg-ocaml/opam:debian-12-ocaml-4.14-flambda@sha256:de6b757a4cd7e73757c5ae33de91e53bdf187f6dafe2da2f190eb3f28213a4c2-debian-12-4.14+flambda_opam-2.4-774703e93dd1f99d8cd7a38b5f778a50"
2025-09-04 00:47.08: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14-flambda@sha256:de6b757a4cd7e73757c5ae33de91e53bdf187f6dafe2da2f190eb3f28213a4c2)
 (comment debian-12-4.14+flambda_opam-2.4)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.4 /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 e28312d8e0d10f256ec9998ff7e868cb6e010778 || git fetch origin master) && git reset -q --hard e28312d8e0d10f256ec9998ff7e868cb6e010778 && 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-threads.base base-unix.base cppo.1.8.0 dune.3.20.1 extlib.1.8.0 menhir.20250903 menhirCST.20250903 menhirLib.20250903 menhirSdk.20250903 mybuild.7 ocaml.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-variants.4.14.2+options ocamlfind.1.9.8 ounit.2.2.7 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppxlib.0.36.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 yojson.3.0.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.4 --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-09-04 00:47.08: Waiting for resource in pool OCluster
2025-09-04 20:10.32: Waiting for worker…
2025-09-04 20:26.39: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at bd80a51 Merge pull request #231 from jongleb/add-single-module-with-labeled

(from ocaml/opam:debian-12-ocaml-4.14-flambda@sha256:de6b757a4cd7e73757c5ae33de91e53bdf187f6dafe2da2f190eb3f28213a4c2)
2025-09-04 20:26.39 ---> using "f5b76c2986a36ec168ef7c2521c5446f39e26a45759b2ebba68c80c27af409b9" from cache

/: (comment debian-12-4.14+flambda_opam-2.4)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-09-04 20:26.39 ---> using "32c1cd9065b85a9ed121b8a6cee09f37135d952a244c16ad2a7b68e92aff685d" 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 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 71 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=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-09-04 20:26.39 ---> using "f456c22bfed3ad86ac639b02e7b72212d6638a67038a98fa86b78d38b62c7889" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 4.14.2
2.4.1
2025-09-04 20:26.39 ---> using "987480212a42457c918db45775513031310b322806cb64df84a9bf1472645544" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-09-04 20:26.39 ---> using "7044fe625766f95f8bdc2e9cea6b77ea15c14814c6492679601c59f8a63171a3" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e e28312d8e0d10f256ec9998ff7e868cb6e010778 || git fetch origin master) && git reset -q --hard e28312d8e0d10f256ec9998ff7e868cb6e010778 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   b3b872a94f..8793cd66e3  master     -> origin/master
e28312d8e0 Merge pull request #28436 from fpottier/opam-publish-menhir.20250903

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+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 at these versions (e.g. "opam upgrade ocaml.5.3.0"), 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-09-04 20:26.39 ---> using "5934e5d13f09c468ca2f857d300b1e20930a9a9060f186eb700a1fabefab35b5" from cache

/src: (copy (src sqlgg.opam) (dst ./))
2025-09-04 20:26.39 ---> saved as "ae93d056c9d2313e8f06dc1fd0afa672d9394074c25b7bab91d4b6f9a099b258"

/src: (run (network host)
           (shell "opam pin add -yn sqlgg.dev './'"))
[sqlgg.dev] synchronised (file:///src)
[WARNING] Failed checks on sqlgg package definition from source at file:///src:
    error  3: File format error in 'pin-depends' at line 43, column 4: while expecting versioned package: OpamPackage.of_string
sqlgg is now pinned to file:///src (version dev)
2025-09-04 20:26.41 ---> saved as "e61140780d4aa477d8bd50c97048815dafd062023cccc2e1dcbc732fcc35bd74"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-04 20:26.41 ---> saved as "6f2c38f234e5a40292e960500fde85a85b47ea8029f260bc3f95e9fdd365cd19"

/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 dune.3.20.1 extlib.1.8.0 menhir.20250903 menhirCST.20250903 menhirLib.20250903 menhirSdk.20250903 mybuild.7 ocaml.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-variants.4.14.2+options ocamlfind.1.9.8 ounit.2.2.7 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppxlib.0.36.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 yojson.3.0.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.4 --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 [277 kB]
- Fetched 380 kB in 0s (952 kB/s)
- Reading package lists...
- 

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

[NOTE] Package ocaml-variants is already installed (current version is 4.14.2+options).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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).
2025-09-04 20:26.51 ---> saved as "ea52cf0997f119b301bea41fa1296912e0885cfeffb61146e86bdba118d7fce3"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-variants is already installed (current version is 4.14.2+options).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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:
=== install 19 packages
  - install cppo                1.8.0
  - install dune                3.20.1
  - install extlib              1.8.0
  - install menhir              20250903
  - install menhirCST           20250903
  - install menhirLib           20250903
  - install menhirSdk           20250903
  - install mybuild             7
  - install ocaml-compiler-libs v0.12.4
  - install ocamlfind           1.9.8
  - install ounit               2.2.7
  - install ounit2              2.2.7
  - install ppx_derivers        1.2.1
  - install ppx_deriving        6.1.1
  - install ppxlib              0.36.0
  - install seq                 base
  - install sexplib0            v0.17.0
  - install stdlib-shims        0.3.0
  - install yojson              3.0.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0  (cached)
-> retrieved extlib.1.8.0  (cached)
-> retrieved mybuild.7  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved dune.3.20.1  (cached)
-> retrieved menhir.20250903, menhirCST.20250903, menhirLib.20250903, menhirSdk.20250903  (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.1.1  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved yojson.3.0.0  (cached)
-> retrieved ppxlib.0.36.0  (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.20.1
-> installed menhirCST.20250903
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed mybuild.7
-> installed menhirSdk.20250903
-> installed menhirLib.20250903
-> installed sexplib0.v0.17.0
-> installed cppo.1.8.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed ounit2.2.2.7
-> installed ounit.2.2.7
-> installed extlib.1.8.0
-> installed yojson.3.0.0
-> installed ppxlib.0.36.0
-> installed ppx_deriving.6.1.1
-> installed menhir.20250903
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-04 20:28.07 ---> saved as "5139d10fb753867e19fe8ce9b0e1209ba8fb7b92209875741f059cbf0e2e0b65"

/src: (copy (src .) (dst /src))
2025-09-04 20:28.07 ---> saved as "d366873614e20d6e0fdc0abb67ee66d1781e09d4e6e074dd04d840d34ef9f68d"

/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/json_path && ./test_json_path.exe)
............................................
Ran: 44 tests in: 0.01 seconds.
OK
(cd _build/default && /home/opam/.opam/4.14/bin/menhir lib/sql_parser.mly --base lib/sql_parser --infer-read-reply lib/sql_parser__mock.mli.inferred)
Warning: 29 states have shift/reduce conflicts.
Warning: 3 states have reduce/reduce conflicts.
Warning: 117 shift/reduce conflicts were arbitrarily resolved.
Warning: 18 reduce/reduce conflicts were arbitrarily resolved.
(cd _build/default/src && ./cli.exe -test)
......................T...............................................................................................................................................................................................................................................................................................................................................................................................................
Ran: 422 tests in: 0.27 seconds.
FAILED: Cases: 422 Tried: 422 Errors: 0 Failures: 0 Skip:  0 Todo: 1 Timeouts: 0.
Feature OnConflict is not supported for dialect MySQL (supported by: SQLite, PostgreSQL) at ON CONFLICT(col_1) DO UPDATE SET
      col_2 = excluded.col_2,
      col_3 = col_3
2025-09-04 20:28.20 ---> saved as "22608211e0b300cb14b1a5f5c2cc1732ac52b3abd3287fbf2f60a50f23bbcdab"
Job succeeded
2025-09-04 20:28.20: Job succeeded