Organisationsygreksqlgg22d29d ()ubuntu-24.04-5.3_opam-2.4

ubuntu-24.04-5.3_opam-2.4

Logs

Show full logs
2025-08-18 19:18.55: New job: test ygrek/sqlgg https://github.com/ygrek/sqlgg.git#refs/heads/master (22d29df3b01a6b34045d993bf4701af737ca13c9) (linux-x86_64:ubuntu-24.04-5.3_opam-2.4)
Base: ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:11d41a21c416e8d4bd76fab308f0a6a2820331507db6d863564a63ceeef73a6f
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ygrek/sqlgg.git" -b "master" && cd "sqlgg" && git reset --hard 22d29df3
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:11d41a21c416e8d4bd76fab308f0a6a2820331507db6d863564a63ceeef73a6f
# ubuntu-24.04-5.3_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 c44248fe760182a13f686e82e49611e36beb937c || git fetch origin master) && git reset -q --hard c44248fe760182a13f686e82e49611e36beb937c && 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.19.1 extlib.1.8.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mybuild.7 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.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.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-08-18 19:18.55: Using cache hint "ygrek/sqlgg-ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:11d41a21c416e8d4bd76fab308f0a6a2820331507db6d863564a63ceeef73a6f-ubuntu-24.04-5.3_opam-2.4-0735a2f0ac08c880e63ef6632f17435e"
2025-08-18 19:18.55: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:11d41a21c416e8d4bd76fab308f0a6a2820331507db6d863564a63ceeef73a6f)
 (comment ubuntu-24.04-5.3_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 c44248fe760182a13f686e82e49611e36beb937c || git fetch origin master) && git reset -q --hard c44248fe760182a13f686e82e49611e36beb937c && 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.19.1 extlib.1.8.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mybuild.7 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.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.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-08-18 19:18.55: Waiting for resource in pool OCluster
2025-08-18 19:18.55: Waiting for worker…
2025-08-18 19:18.55: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 22d29df Merge pull request #227 from jongleb/endwithdialects

(from ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:11d41a21c416e8d4bd76fab308f0a6a2820331507db6d863564a63ceeef73a6f)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:11d41a21c416e8d4bd76fab308f0a6a2820331507db6d863564a63ceeef73a6f' locally
docker.io/ocaml/opam@sha256:11d41a21c416e8d4bd76fab308f0a6a2820331507db6d863564a63ceeef73a6f: Pulling from ocaml/opam
0053b2fe4443: Pulling fs layer
0053b2fe4443: Verifying Checksum
0053b2fe4443: Download complete
0053b2fe4443: Pull complete
Digest: sha256:11d41a21c416e8d4bd76fab308f0a6a2820331507db6d863564a63ceeef73a6f
Status: Downloaded newer image for ocaml/opam@sha256:11d41a21c416e8d4bd76fab308f0a6a2820331507db6d863564a63ceeef73a6f
2025-08-18 19:18.56 ---> using "8d5ac2c269860310678098568af4bb9a9415b8e574633846ef1c11cfe287bd6a" from cache

/: (comment ubuntu-24.04-5.3_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-08-18 19:18.56 ---> using "a8d4c96de20f390c451c53be2f7a83e4a5cec4afd786485243b8dd7a91afcebb" 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-08-18 19:18.56 ---> using "27c44e9006bd2b291857d8395b096a69a71dd0ec5f9711ec35ed5665dc7fb424" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 5.3.0
2.4.1
2025-08-18 19:18.56 ---> using "79fc9a9846653bbd36848c8ad222ac25cf4fb5d5d15cbb82c1370023caa39ad0" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-08-18 19:18.56 ---> using "ee5bafe912a4101bc4a788aee06fe0bde95393201283c91b82c39bb72b1e712d" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e c44248fe760182a13f686e82e49611e36beb937c || git fetch origin master) && git reset -q --hard c44248fe760182a13f686e82e49611e36beb937c && git log --no-decorate -n1 --oneline && opam update -u"))
c44248fe76 Merge pull request #28193 from kit-ty-kate/opam-publish-ppx_deriving.6.1.1

<><> 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-08-18 19:18.56 ---> using "a1ac3d6e9c7b465c487108d91249fd251aa2c13e68f51f35d759e6bc40fd2468" from cache

/src: (copy (src sqlgg.opam) (dst ./))
2025-08-18 19:18.56 ---> using "dfd6e200617e63aad4a8b391d9b01e401bf0922fffac60336e6769df54cca3e6" 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 43, column 4: while expecting versioned package: OpamPackage.of_string
sqlgg is now pinned to file:///src (version dev)
2025-08-18 19:18.56 ---> using "d7714e6e8dfa0f98128e7ba66b2a3b5adc73ba8a5d8f257973e8d138502a6cd7" from cache

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-08-18 19:18.56 ---> using "1373b0df716c74a835388d5e4106436d048fc714c7c6e9452853adfafe87f41b" from cache

/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.19.1 extlib.1.8.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mybuild.7 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.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.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://archive.ubuntu.com/ubuntu noble InRelease
- Get:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:3 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:4 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Get:5 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [2092 kB]
- Get:6 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1666 kB]
- Get:7 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1454 kB]
- Get:8 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [37.2 kB]
- Get:9 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1134 kB]
- Get:10 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [1982 kB]
- Get:11 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1328 kB]
- Fetched 10.1 MB in 1s (7085 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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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-08-18 19:18.56 ---> using "396163edbb8ac2bd853510a4f75d559afef28f36cff995d9a58c6b0393e4087b" 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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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 19 packages
  - install cppo                1.8.0
  - install dune                3.19.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.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.17.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
-> retrieved dune.3.19.1  (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.19.1
-> installed menhirCST.20240715
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed mybuild.7
-> installed menhirSdk.20240715
-> installed sexplib0.v0.17.0
-> installed menhirLib.20240715
-> installed cppo.1.8.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed yojson.3.0.0
-> installed ounit2.2.2.7
-> installed ounit.2.2.7
-> installed extlib.1.8.0
-> installed menhir.20240715
-> installed ppxlib.0.36.0
-> installed ppx_deriving.6.1.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-18 19:18.56 ---> using "18aadb7442eddf5ba668f3fb064aa7b231e5286be33622e5cca2ccc926fe434e" from cache

/src: (copy (src .) (dst /src))
2025-08-18 19:18.56 ---> using "19b2b18ebe8bf8695b5e572cb8672724fee74664acf84775904424233207b797" 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.01 seconds.
OK
(cd _build/default && /home/opam/.opam/5.3/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: 410 tests in: 0.35 seconds.
FAILED: Cases: 410 Tried: 410 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-08-18 19:18.56 ---> using "c1c4da49978fb948522cd8a61028647d71aebcaf9911592561d75eda2d27281d" from cache
Job succeeded
2025-08-18 19:18.56: Job succeeded