Organisationsygreksqlggbd80a5 ()ubuntu-24.04-4.14_opam-2.4

ubuntu-24.04-4.14_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:ubuntu-24.04-4.14_opam-2.4)
Base: ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:9d2f42756ef8cf973d01c51986955313a75b0ca711b018d3fdc03437298fe0b4
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:ubuntu-24.04-ocaml-4.14@sha256:9d2f42756ef8cf973d01c51986955313a75b0ca711b018d3fdc03437298fe0b4
# ubuntu-24.04-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 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-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.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:ubuntu-24.04-ocaml-4.14@sha256:9d2f42756ef8cf973d01c51986955313a75b0ca711b018d3fdc03437298fe0b4-ubuntu-24.04-4.14_opam-2.4-26c7c519410e89807be7f30c2592af85"
2025-09-04 00:47.08: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:9d2f42756ef8cf973d01c51986955313a75b0ca711b018d3fdc03437298fe0b4)
 (comment ubuntu-24.04-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 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-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.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.00: Waiting for worker…
2025-09-04 20:25.36: Got resource from pool OCluster
Building on doris.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:ubuntu-24.04-ocaml-4.14@sha256:9d2f42756ef8cf973d01c51986955313a75b0ca711b018d3fdc03437298fe0b4)
2025-09-04 20:25.36 ---> using "bb53dd596b697785929a16a17505aa8742015d47ee8ed4078608487107b4c8de" from cache

/: (comment ubuntu-24.04-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-09-04 20:25.36 ---> using "e6ba7673f880db98ea88b898b231cfdb529b59a000fbb56f4a1c5307dfb196e8" 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-09-04 20:25.36 ---> using "e558e73dcdd974ce625500e629117f86e20db0716fd525a25fbe09480a2bb9ca" 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:25.36 ---> using "efe2850e245c63ce5ac9dcb9edb7a9ac74a1163dd2730a6843325c2b9dec73c0" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-09-04 20:25.36 ---> using "5d130613cbc1609cc5e67d8cb8ec14959c00f4b096ac9e9a773b51d07f0c7235" 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
   ee24528071..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:25.36 ---> using "da2cfecf3cec8c27b1868437cf8213f32372e9d97f434ddcf8093ef0b18b0112" from cache

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

/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:25.38 ---> saved as "fb4fe1025b3c6dd53e293069edd5ad1c10977a069e59b01c0483ebf8e71bbb10"

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

/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-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.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 [2269 kB]
- Get:6 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1760 kB]
- Get:7 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1918 kB]
- Get:8 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1135 kB]
- Get:9 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1408 kB]
- Get:10 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [2159 kB]
- Fetched 11.0 MB in 1s (10.2 MB/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-09-04 20:25.48 ---> saved as "ef0c8b4c64c087ed70ace7e5f1d6b5956340d361cc4e745ed428a6d9ae90751c"

/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 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 menhir.20250903, menhirCST.20250903, menhirLib.20250903, menhirSdk.20250903  (cached)
-> retrieved dune.3.20.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.20.1
-> installed menhirCST.20250903
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed mybuild.7
-> installed menhirSdk.20250903
-> installed sexplib0.v0.17.0
-> installed menhirLib.20250903
-> 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.20250903
-> installed ppxlib.0.36.0
-> installed ppx_deriving.6.1.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-04 20:26.33 ---> saved as "359bb322ce04d9c75eed53c237cb2f19a2607eefe0abc723d962d8d1b6763246"

/src: (copy (src .) (dst /src))
2025-09-04 20:26.33 ---> saved as "2e84f995c32289b7e8573d9c27eb9bdfe46a37933cd707622c66b549d337541b"

/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.35 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:26.43 ---> saved as "9ac74a30e811e0d4844908e1618f5bbf59fd9d06739acb5637f4690b81788931"
Job succeeded
2025-09-04 20:26.43: Job succeeded