Organisationsygreksqlgg903011 ()debian-12-4.14_opam-2.4

debian-12-4.14_opam-2.4

Link Copied
Code Copied

Logs

2025-12-28 07:20.32: New job: test ygrek/sqlgg https://github.com/ygrek/sqlgg.git#refs/heads/ahrefs (9030115c758eaf4b2a8a2f5cf9209ed371480266) (linux-x86_64:debian-12-4.14_opam-2.4)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:a53df5177072d740150fd7867bf57ab82a04bbcdb53a31eb989e5210feb6a8fe
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ygrek/sqlgg.git" -b "ahrefs" && cd "sqlgg" && git reset --hard 9030115c
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:a53df5177072d740150fd7867bf57ab82a04bbcdb53a31eb989e5210feb6a8fe
# debian-12-4.14_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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && 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-12-28 07:20.32: Using cache hint "ygrek/sqlgg-ocaml/opam:debian-12-ocaml-4.14@sha256:a53df5177072d740150fd7867bf57ab82a04bbcdb53a31eb989e5210feb6a8fe-debian-12-4.14_opam-2.4-fdd7b421d007c328557066f2303c223e"
2025-12-28 07:20.32: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:a53df5177072d740150fd7867bf57ab82a04bbcdb53a31eb989e5210feb6a8fe)
(comment debian-12-4.14_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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && 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-12-28 07:20.32: Waiting for resource in pool OCluster
2025-12-28 07:20.49: Waiting for worker…
2025-12-28 07:20.49: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 9030115 check default expr in different dialects


(from ocaml/opam:debian-12-ocaml-4.14@sha256:a53df5177072d740150fd7867bf57ab82a04bbcdb53a31eb989e5210feb6a8fe)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:a53df5177072d740150fd7867bf57ab82a04bbcdb53a31eb989e5210feb6a8fe' locally
docker.io/ocaml/opam@sha256:a53df5177072d740150fd7867bf57ab82a04bbcdb53a31eb989e5210feb6a8fe: Pulling from ocaml/opam
c8443a297fa4: Already exists
3117594fcbaa: Already exists
85ca0e82a234: Already exists
1c1f02d52226: Already exists
fe9d3c2e10e2: Already exists
2217026faa73: Already exists
1fef585d5a09: Already exists
0d0070c18c6d: Already exists
c51172af0160: Already exists
df8875cc93ac: Already exists
67847aef0407: Already exists
36beb7078293: Already exists
191136a5f5c0: Already exists
714757d72e7f: Already exists
68234c5c011d: Already exists
8df6961c36fa: Already exists
afa495f7821e: Already exists
5f9643dc0d5e: Already exists
c5cd204c27b0: Already exists
7a188148750f: Already exists
0c4a275107e2: Already exists
3ce9f77add31: Already exists
4f4fb700ef54: Already exists
9b27f4cec1f5: Already exists
f13f8b8a6ebe: Already exists
7347d8d6169e: Already exists
d0faf52955c3: Already exists
02b89d433f3e: Already exists
1f88f6e46b0c: Already exists
345b324af9bd: Already exists
a95711b9c003: Already exists
f874b80e803a: Already exists
82c952ade8b1: Already exists
8c8b9ca5e561: Already exists
b34ef319e463: Already exists
888dc0bf1f1f: Already exists
083ae27b8914: Already exists
529d05c22b93: Already exists
0b92011566a7: Already exists
3e1d10060b32: Already exists
ee8d3043c790: Already exists
e3a60f552012: Pulling fs layer
653f55382a5b: Pulling fs layer
8d14638d4c9a: Pulling fs layer
ff60b4d2cd24: Pulling fs layer
8d14638d4c9a: Waiting
653f55382a5b: Waiting
ff60b4d2cd24: Waiting
e3a60f552012: Waiting
653f55382a5b: Verifying Checksum
653f55382a5b: Download complete
8d14638d4c9a: Download complete
ff60b4d2cd24: Verifying Checksum
ff60b4d2cd24: Download complete
e3a60f552012: Verifying Checksum
e3a60f552012: Download complete
e3a60f552012: Pull complete
653f55382a5b: Pull complete
8d14638d4c9a: Pull complete
ff60b4d2cd24: Pull complete
Digest: sha256:a53df5177072d740150fd7867bf57ab82a04bbcdb53a31eb989e5210feb6a8fe
Status: Downloaded newer image for ocaml/opam@sha256:a53df5177072d740150fd7867bf57ab82a04bbcdb53a31eb989e5210feb6a8fe
2025-12-28 07:21.51 ---> saved as "ec68c8b6664fb3aba59d0ad783bcdc1eb1d65a5507850508cc1bdde5936f87fd"


/: (comment debian-12-4.14_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-12-28 07:21.52 ---> saved as "b21ebd4923c52da99208fe235fb8e3cacf5ebba1bc29a36142fc70c358313373"


/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-12-28 07:22.12 ---> saved as "09b54d48463c2e0979d18a611ceda7206f251bf7793343cdcebdb89b5dcb11b4"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-87-generic
The OCaml toplevel, version 4.14.2
2.4.1
2025-12-28 07:22.12 ---> saved as "2b192a80da4bc753cd2a654eccfedd4d45185bc3771fe29c7b4cf5ba20c7bfbb"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-12-28 07:22.13 ---> saved as "e783ad3d454ad3a1c8517b980eb7264c086ed5ccfb5c5609d1c7e5e6a2d8ea6a"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u"))
c65fcb1165 Merge pull request #29080 from dra27/ocaml-config-urls


<><> 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.4.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-12-28 07:22.29 ---> saved as "ac073530853843ecfdead69e4bf7a4bdb1c65c6e7ca83ac276179fb4deed59c8"


/src: (copy (src sqlgg.opam) (dst ./))
2025-12-28 07:22.32 ---> saved as "29d07fa9d2518365ca7f430bbb1505b64af743605e24b2987e845ac9d1a68624"


/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-12-28 07:22.38 ---> saved as "b79fa3967e5ff0d1bbdaadf490d9b2dd7b182ae6663a27d0ae2de28d4443f2de"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-12-28 07:22.42 ---> saved as "d4c635ddc19de9a73ca6507b0e4bf92655f033fc6e7cb2bb6265ea1b7c98f434"


/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 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]
- Fetched 103 kB in 0s (495 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-12-28 07:22.54 ---> saved as "20ffa78aa7662126b3201d9cf7b6af9d1a4ad654aa6deb608b87b19819564063"


/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 ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed mybuild.7
-> installed menhirSdk.20250912
-> installed sexplib0.v0.17.0
-> installed integers.0.7.0
-> installed menhirLib.20250912
-> installed cppo.1.8.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed ounit2.2.2.7
-> installed ounit.2.2.7
-> installed yojson.3.0.0
-> installed extlib.1.8.0
-> 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-12-28 07:23.58 ---> saved as "2bdcdefb11a24ba025305169cde4ac9ce008abefd73c097caad4dcd972a1f902"


/src: (copy (src .) (dst /src))
2025-12-28 07:23.59 ---> saved as "e3a5f3252d23b2842f6153e64780f924a5aa6f3f728bee05b78054e82afca132"


/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: 31 states have shift/reduce conflicts.
Warning: 3 states have reduce/reduce conflicts.
Warning: 122 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: 0.28 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-12-28 07:24.10 ---> saved as "bb1290fbd4e887103ced146568ec10fe17e7a179390b60048c76509ad2d2b0ee"
Job succeeded
2025-12-28 07:24.11: Job succeeded