Organisationsygreksqlggae9493 ()fedora-43-5.4_opam-2.4

fedora-43-5.4_opam-2.4

Link Copied
Code Copied

Logs

2025-12-19 12:33.54: New job: test ygrek/sqlgg https://github.com/ygrek/sqlgg.git#refs/heads/master (ae9493cb6e286749761a80ef6bf7036293177d5c) (linux-x86_64:fedora-43-5.4_opam-2.4)
Base: ocaml/opam:fedora-43-ocaml-5.4@sha256:51857b77e14453184f8e7d44a9a7171bcfa8c2affcfc6df48a5bb08522abc6a2
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ygrek/sqlgg.git" -b "master" && cd "sqlgg" && git reset --hard ae9493cb
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-43-ocaml-5.4@sha256:51857b77e14453184f8e7d44a9a7171bcfa8c2affcfc6df48a5bb08522abc6a2
# fedora-43-5.4_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
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-domains.base base-effects.base base-nnp.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.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 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-19 12:33.54: Using cache hint "ygrek/sqlgg-ocaml/opam:fedora-43-ocaml-5.4@sha256:51857b77e14453184f8e7d44a9a7171bcfa8c2affcfc6df48a5bb08522abc6a2-fedora-43-5.4_opam-2.4-4c3fe522be3f2958b418fd0d5732ec39"
2025-12-19 12:33.54: Using OBuilder spec:
((from ocaml/opam:fedora-43-ocaml-5.4@sha256:51857b77e14453184f8e7d44a9a7171bcfa8c2affcfc6df48a5bb08522abc6a2)
(comment fedora-43-5.4_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (network host)
(shell "sudo dnf install -y findutils"))
(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-domains.base base-effects.base base-nnp.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.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 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-19 12:33.54: Waiting for resource in pool OCluster
2025-12-19 12:33.54: Waiting for worker…
2025-12-19 12:39.01: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at ae9493c Merge pull request #254 from jongleb/support-json_arrayagg


(from ocaml/opam:fedora-43-ocaml-5.4@sha256:51857b77e14453184f8e7d44a9a7171bcfa8c2affcfc6df48a5bb08522abc6a2)
Unable to find image 'ocaml/opam:fedora-43-ocaml-5.4@sha256:51857b77e14453184f8e7d44a9a7171bcfa8c2affcfc6df48a5bb08522abc6a2' locally
docker.io/ocaml/opam@sha256:51857b77e14453184f8e7d44a9a7171bcfa8c2affcfc6df48a5bb08522abc6a2: Pulling from ocaml/opam
1216d224fefc: Already exists
1ae211ec70df: Already exists
e3c845545bdd: Already exists
adbbce15b35d: Already exists
fec0b2730855: Already exists
d42b256333b3: Already exists
347b5da763ef: Already exists
ee8e1ee5d3b3: Already exists
1407c9d94463: Already exists
912b3cfa4b1c: Already exists
9bb0f03cebf5: Already exists
da26c7f15afe: Already exists
d9356a09c9bc: Already exists
b6f2d11ffba1: Already exists
e9d79416de7e: Already exists
d8fc23752670: Already exists
043479df29c2: Already exists
bde0248f5af4: Already exists
3cb4199e5c40: Already exists
f7f8c0cc272b: Already exists
099c8f0f8aa7: Already exists
4f4fb700ef54: Already exists
2dcbf8eb3274: Already exists
aec4178fd2c9: Already exists
ffeea0bca746: Already exists
694e9f03259b: Already exists
0f53dbd64c41: Already exists
e9a84c20d545: Already exists
60cd93f167b9: Already exists
6ac93c253746: Already exists
b4fc515f2633: Already exists
b9d45f820f99: Already exists
a6ef8e91a762: Already exists
ed335a59ac60: Already exists
00a065e4dcbc: Already exists
2de645a87852: Already exists
a98b93793621: Already exists
6f61dd37808d: Already exists
f6aefcff6474: Already exists
4f33e294934e: Already exists
2510ccd2111b: Pulling fs layer
823e9b29c019: Pulling fs layer
2510ccd2111b: Waiting
671c0e95d3f2: Pulling fs layer
f0171be3832d: Pulling fs layer
823e9b29c019: Waiting
26c77b2444c9: Pulling fs layer
f0171be3832d: Waiting
26c77b2444c9: Waiting
2510ccd2111b: Verifying Checksum
2510ccd2111b: Download complete
2510ccd2111b: Pull complete
823e9b29c019: Verifying Checksum
823e9b29c019: Download complete
671c0e95d3f2: Download complete
f0171be3832d: Verifying Checksum
f0171be3832d: Download complete
26c77b2444c9: Download complete
823e9b29c019: Pull complete
671c0e95d3f2: Pull complete
f0171be3832d: Pull complete
26c77b2444c9: Pull complete
Digest: sha256:51857b77e14453184f8e7d44a9a7171bcfa8c2affcfc6df48a5bb08522abc6a2
Status: Downloaded newer image for ocaml/opam@sha256:51857b77e14453184f8e7d44a9a7171bcfa8c2affcfc6df48a5bb08522abc6a2
2025-12-19 12:39.03 ---> using "71487916328e2521e9b3eace51b2d612b3cb065793b43d1600de6f3b03cd399e" from cache


/: (comment fedora-43-5.4_opam-2.4)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (network host)
(shell "sudo dnf install -y findutils"))
Updating and loading repositories:
Fedora 43 - x86_64 - Updates           100% |  81.8 KiB/s |  20.8 KiB |  00m00s
Repositories loaded.
Package "findutils-1:4.10.0-6.fc43.x86_64" is already installed.


Nothing to do.
2025-12-19 12:39.03 ---> using "0b34afd4e3087d469b73a6367d196bb2e8240ba8587cb3dff0225a61fbc4d704" from cache


/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-12-19 12:39.03 ---> using "eff381b6acde799f0cf8811a2a634ee7261dbbd7c8cae96db8222ad6061d16cf" 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-12-19 12:39.03 ---> using "ff9b7e7ac43f46fd6d64d69d2af4f8e0b48e1f90e74bd79bbcb23578c636bc56" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-87-generic
The OCaml toplevel, version 5.4.0
2.4.1
2025-12-19 12:39.03 ---> using "aea334f2ed48189558aff4fecbb0b55f5fe5b8f24986c2f41c2ec959302edda2" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-12-19 12:39.03 ---> using "6af9b970c82539fdadc7d48bb4527b0bf97300c418aa71af935e92440cbaf378" from cache


/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"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
ee48e882f0..2aead33854  master     -> origin/master
c65fcb1165 Merge pull request #29080 from dra27/ocaml-config-urls


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository


Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-12-19 12:39.03 ---> using "469d00398a8880bf7acff0803569998c0caf2ae4fdb189f2bea28b7497ad7979" from cache


/src: (copy (src sqlgg.opam) (dst ./))
2025-12-19 12:39.03 ---> saved as "0d9445bf0ba12a239c78ed4a68bf4afd28c94570af95fc02d6025b7afe62616a"


/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-19 12:39.04 ---> saved as "a6cd68fbdd9debe056b05e2f5e614ec06396e5f67a512e9ebfb2241aafeeac0d"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-12-19 12:39.04 ---> saved as "12824b96d81816fc4e1e5e952cf76644c67f914dc25a5b748f70063acc06f3b7"


/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.20.2 extlib.1.8.0 integers.0.7.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 mybuild.7 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 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/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
- Repositories loaded.
- Metadata cache created.


<><> 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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.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-12-19 12:39.13 ---> saved as "aa54a547089a2ee4b2f1f1552e5e8d07074a7c429a8467ed61d3891fa8de111b"


/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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.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 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.17.0
- 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.17.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved dune.3.20.2  (cached)
-> retrieved menhir.20250912, menhirCST.20250912, menhirLib.20250912, menhirSdk.20250912  (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 menhirLib.20250912
-> installed cppo.1.8.0
-> installed integers.0.7.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed ounit2.2.2.7
-> installed ounit.2.2.7
-> installed extlib.1.8.0
-> installed yojson.3.0.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-19 12:40.03 ---> saved as "98ff2461a0c92924ff048dca9c972fc66add4d24d16dac7fbcd4ba14e3879799"


/src: (copy (src .) (dst /src))
2025-12-19 12:40.03 ---> saved as "0e957036a99f8ca4bf146a5e27f9fe6b1ff761fcd2bcecfe77a7f773d140f7fe"


/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.4/bin/ocamlc.opt -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 impl/ocaml/.sqlgg_traits.objs/byte -I /home/opam/.opam/5.4/lib/integers -I /home/opam/.opam/5.4/lib/ppx_deriving/runtime -I /home/opam/.opam/5.4/lib/stdlib-shims -I json_path/.sqlgg_json_path.objs/byte -no-alias-deps -opaque -o impl/ocaml/.sqlgg_traits.objs/byte/sqlgg_stmt_cache.cmo -c -impl impl/ocaml/sqlgg_stmt_cache.ml)
File "_none_", line 1:
Alert ocaml_deprecated_auto_include:
OCaml's lib directory layout changed in 5.0. The unix subdirectory has been
automatically added to the search path, but you should add -I +unix to the
command-line to silence this alert (e.g. by adding unix to the list of
libraries in your dune file, or adding use_unix to your _tags file for
ocamlbuild, or using -package unix for ocamlfind).
(cd _build/default && /home/opam/.opam/5.4/bin/ocamlopt.opt -strict-sequence -strict-formats -short-paths -keep-locs -w +A@8-e-40-41-42-44-45-48-70 -g -I impl/ocaml/.sqlgg_traits.objs/byte -I impl/ocaml/.sqlgg_traits.objs/native -I /home/opam/.opam/5.4/lib/integers -I /home/opam/.opam/5.4/lib/ppx_deriving/runtime -I /home/opam/.opam/5.4/lib/stdlib-shims -I json_path/.sqlgg_json_path.objs/byte -I json_path/.sqlgg_json_path.objs/native -cmi-file impl/ocaml/.sqlgg_traits.objs/byte/sqlgg_stmt_cache.cmi -no-alias-deps -opaque -o impl/ocaml/.sqlgg_traits.objs/native/sqlgg_stmt_cache.cmx -c -impl impl/ocaml/sqlgg_stmt_cache.ml)
File "_none_", line 1:
Alert ocaml_deprecated_auto_include:
OCaml's lib directory layout changed in 5.0. The unix subdirectory has been
automatically added to the search path, but you should add -I +unix to the
command-line to silence this alert (e.g. by adding unix to the list of
libraries in your dune file, or adding use_unix to your _tags file for
ocamlbuild, or using -package unix for ocamlfind).
(cd _build/default/json_path && ./test_json_path.exe)
............................................
Ran: 44 tests in: 0.01 seconds.
OK
(cd _build/default && /home/opam/.opam/5.4/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.43 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-19 12:40.13 ---> saved as "58b9892f2214175c1339c283e85806481869abe5d981d835592f10a0012a7e53"
Job succeeded
2025-12-19 12:40.13: Job succeeded