Organisationsygreksqlgg5ff3e3 (master)debian-13-4.14_riscv64_opam-2.4

debian-13-4.14_riscv64_opam-2.4

Link Copied
Code Copied

Logs

2025-10-24 06:38.54: New job: test ygrek/sqlgg https://github.com/ygrek/sqlgg.git#refs/heads/master (5ff3e310354c66d94f58c36e54968c39881edbce) (linux-riscv64:debian-13-4.14_riscv64_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-4.14@sha256:2ec3acb358ede65444e2c01012b8324279d362d1b5a123d68f479f6dd50c48f4
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ygrek/sqlgg.git" -b "master" && cd "sqlgg" && git reset --hard 5ff3e310
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:2ec3acb358ede65444e2c01012b8324279d362d1b5a123d68f479f6dd50c48f4
# debian-13-4.14_riscv64_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 deb3de7fc5bdf4eb6ebbacd9c3207c8d6820bc64 || git fetch origin master) && git reset -q --hard deb3de7fc5bdf4eb6ebbacd9c3207c8d6820bc64 && 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.2 extlib.1.8.0 integers.0.7.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 mybuild.7 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ounit.2.2.7 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppxlib.0.37.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-10-24 06:38.54: Using cache hint "ygrek/sqlgg-ocaml/opam:debian-13-ocaml-4.14@sha256:2ec3acb358ede65444e2c01012b8324279d362d1b5a123d68f479f6dd50c48f4-debian-13-4.14_riscv64_opam-2.4-fdd7b421d007c328557066f2303c223e"
2025-10-24 06:38.54: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:2ec3acb358ede65444e2c01012b8324279d362d1b5a123d68f479f6dd50c48f4)
(comment debian-13-4.14_riscv64_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 deb3de7fc5bdf4eb6ebbacd9c3207c8d6820bc64 || git fetch origin master) && git reset -q --hard deb3de7fc5bdf4eb6ebbacd9c3207c8d6820bc64 && 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.2 extlib.1.8.0 integers.0.7.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 mybuild.7 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ounit.2.2.7 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppxlib.0.37.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-10-24 06:38.54: Waiting for resource in pool OCluster
2025-10-24 06:38.55: Waiting for worker…
2025-10-24 06:38.55: Got resource from pool OCluster
Building on riscv-bm-03.sw.ci.dev
HEAD is now at 7b90631 support REPLACE function
HEAD is now at 5ff3e31 Merge pull request #245 from jongleb/support-replace-fn


(from ocaml/opam:debian-13-ocaml-4.14@sha256:2ec3acb358ede65444e2c01012b8324279d362d1b5a123d68f479f6dd50c48f4)
2025-10-24 06:38.56 ---> using "55ae748f998e54835d3967fc6571b603b5ee1c5ff4e316d4c116f7c103a9c488" from cache


/: (comment debian-13-4.14_riscv64_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-10-24 06:38.56 ---> using "c00b7fb0f14ee1c4f7d61067bbfa694b3be6391e35e49cc0aaf32d7c4e3d53f8" 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
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-10-24 06:38.56 ---> using "855a2ad17f6bcf2293c394a91ad81b4660f67f6158dd85f342100a047bf5312e" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.10.113-scw1
The OCaml toplevel, version 4.14.2
2.4.1
2025-10-24 06:38.56 ---> using "a4ce8f05afc8d1524197ee77c40d77385ba3c1dd7324a7828030078cefe93e49" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-10-24 06:38.56 ---> using "b44f2387602157265122ccd9b42a9e7ae7bea0745aff65db47cf7ea002fcfa4d" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e deb3de7fc5bdf4eb6ebbacd9c3207c8d6820bc64 || git fetch origin master) && git reset -q --hard deb3de7fc5bdf4eb6ebbacd9c3207c8d6820bc64 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
1abfcdbf14..fa8c50615f  master     -> origin/master
deb3de7fc5 Merge pull request #28686 from NathanReb/release-ppxlib-0.37.0


<><> 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-10-24 06:38.56 ---> using "e6002337602b0f3658cd254d7fb3f4adca34be0bbf1769206742815e0ed89860" from cache


/src: (copy (src sqlgg.opam) (dst ./))
2025-10-24 06:38.56 ---> using "608f6380bbf644fda698f5c31294520cb646feda61fcb2fcf884fb85cf715842" from cache


/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 44, column 4: while expecting versioned package: OpamPackage.of_string
sqlgg is now pinned to file:///src (version dev)
2025-10-24 06:38.56 ---> using "1aad80ff1cf8c0dd718e459cc853dd8c12febafd49dc6fea10fbfd7b81cba49e" from cache


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-24 06:38.56 ---> using "b85bbb62f8128726b26f6ce0b5b571c1b90e47b3a15f161c2f421e41fea8284f" from cache


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 dune.3.20.2 extlib.1.8.0 integers.0.7.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 mybuild.7 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ounit.2.2.7 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppxlib.0.37.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 trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main riscv64 Packages [56.9 kB]
- Fetched 148 kB in 0s (299 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-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.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-10-24 06:38.56 ---> using "b777c993795b19e8eab06695420a618ed50442bd88ca3180c2973c51fce9767d" 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-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.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 20 packages
- install cppo                1.8.0
- install dune                3.20.2
- install extlib              1.8.0
- install integers            0.7.0
- install menhir              20250912
- install menhirCST           20250912
- install menhirLib           20250912
- install menhirSdk           20250912
- 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.37.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 integers.0.7.0  (cached)
-> retrieved mybuild.7  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved menhir.20250912, menhirCST.20250912, menhirLib.20250912, menhirSdk.20250912  (cached)
-> retrieved dune.3.20.2  (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.37.0  (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.20.2
-> installed menhirCST.20250912
-> installed menhirLib.20250912
-> installed menhirSdk.20250912
-> installed cppo.1.8.0
-> installed mybuild.7
-> installed extlib.1.8.0
-> installed ppx_derivers.1.2.1
-> installed ocaml-compiler-libs.v0.12.4
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.17.0
-> installed integers.0.7.0
-> installed yojson.3.0.0
-> installed ounit2.2.2.7
-> installed ounit.2.2.7
-> installed menhir.20250912
-> installed ppxlib.0.37.0
-> installed ppx_deriving.6.1.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-10-24 06:38.56 ---> using "9216cdc60e0e1bf9a0e53ddf74274d16948396beb19968bae00e8e4762f690d4" from cache


/src: (copy (src .) (dst /src))
2025-10-24 06:38.56 ---> using "2eba75054c469a4158ecfd4f1aa7f8e07ee3236c490337fa548d46aaaa9b6734" from cache


/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.05 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: 30 states have shift/reduce conflicts.
Warning: 3 states have reduce/reduce conflicts.
Warning: 120 shift/reduce conflicts were arbitrarily resolved.
Warning: 18 reduce/reduce conflicts were arbitrarily resolved.
(cd _build/default/src && ./cli.exe -test)
......................T.....................................................................................................................................................................................................................................................................................................................................................................................................................
Ran: 428 tests in: 3.35 seconds.
FAILED: Cases: 428 Tried: 428 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-10-24 06:38.56 ---> using "2567bb5895dff90b7b31ecd261c3368adbd5b8e96f584ffe34c74b21f0640b4d" from cache
Job succeeded
2025-10-24 06:38.57: Job succeeded