2025-05-02 14:54.08: New job: test ygrek/sqlgg https://github.com/ygrek/sqlgg.git#refs/pull/176/head (76decd846f2c45a404803d75251c17243ed8ff16) (linux-x86_64:ubuntu-24.10-5.3_opam-2.3)
Base: ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:22f39e3e5f29f784e37f5f4a7ac52d8c9943321f8eb6cff9d38c0a9f96f49ec1
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ygrek/sqlgg.git" && cd "sqlgg" && git fetch origin "refs/pull/176/head" && git reset --hard 76decd84
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:22f39e3e5f29f784e37f5f4a7ac52d8c9943321f8eb6cff9d38c0a9f96f49ec1
# ubuntu-24.10-5.3_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 35eb2f107a989a2d623b0bbe170696398fcb9b1e || git fetch origin master) && git reset -q --hard 35eb2f107a989a2d623b0bbe170696398fcb9b1e && 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.18.2 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.0 ppxlib.0.36.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --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-05-02 14:54.08: Using cache hint "ygrek/sqlgg-ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:22f39e3e5f29f784e37f5f4a7ac52d8c9943321f8eb6cff9d38c0a9f96f49ec1-ubuntu-24.10-5.3_opam-2.3-87de6ef605b13fada95a7a635df8645f"
2025-05-02 14:54.08: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:22f39e3e5f29f784e37f5f4a7ac52d8c9943321f8eb6cff9d38c0a9f96f49ec1)
(comment ubuntu-24.10-5.3_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 35eb2f107a989a2d623b0bbe170696398fcb9b1e || git fetch origin master) && git reset -q --hard 35eb2f107a989a2d623b0bbe170696398fcb9b1e && 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.18.2 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.0 ppxlib.0.36.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.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.3 --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-05-02 14:54.08: Waiting for resource in pool OCluster
2025-05-02 15:36.51: Waiting for worker…
2025-05-02 15:41.05: Got resource from pool OCluster
Building on x86-bm-c6.sw.ocaml.org
All commits already cached
HEAD is now at 76decd8 set_column_expr in choice_body
(from ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:22f39e3e5f29f784e37f5f4a7ac52d8c9943321f8eb6cff9d38c0a9f96f49ec1)
Unable to find image 'ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:22f39e3e5f29f784e37f5f4a7ac52d8c9943321f8eb6cff9d38c0a9f96f49ec1' locally
docker.io/ocaml/opam@sha256:22f39e3e5f29f784e37f5f4a7ac52d8c9943321f8eb6cff9d38c0a9f96f49ec1: Pulling from ocaml/opam
c5fa2b11a541: Pulling fs layer
c5fa2b11a541: Verifying Checksum
c5fa2b11a541: Download complete
c5fa2b11a541: Pull complete
Digest: sha256:22f39e3e5f29f784e37f5f4a7ac52d8c9943321f8eb6cff9d38c0a9f96f49ec1
Status: Downloaded newer image for ocaml/opam@sha256:22f39e3e5f29f784e37f5f4a7ac52d8c9943321f8eb6cff9d38c0a9f96f49ec1
2025-05-02 15:41.05 ---> using "dd273e3de70e583659f8e8c91b627b23420c9f4152fd7ac57266fd58f1351b81" from cache
/: (comment ubuntu-24.10-5.3_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-05-02 15:41.05 ---> using "2e253d97fec9d51787a54f9948a196763f3f76383b623a3a344f4b20b95a58ba" from cache
/src: (run (shell "opam init --reinit -ni"))
This development 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.
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.
Continue? [y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-05-02 15:41.05 ---> using "e555fb0ee4d31861e9efef58c4912cfbe860158166cd8c4ec06aae020298d8d5" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-05-02 15:41.05 ---> using "efb6255b77fd98d6d9acb022232308931f4578f3a0cdabd556ba86535d9cf94c" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-05-02 15:41.05 ---> using "bd60cdf9aefa2424db889c72da5e488873737ecfbc875cc5e2ab5f9da2c1e048" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 35eb2f107a989a2d623b0bbe170696398fcb9b1e || git fetch origin master) && git reset -q --hard 35eb2f107a989a2d623b0bbe170696398fcb9b1e && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
da74d7829f..35eb2f107a master -> origin/master
35eb2f107a Merge pull request #27838 from maiste/release-dune-3.18.2
<><> 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, 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-05-02 15:41.05 ---> using "2b656b8bba515862704dfe4a83ded69fa713d9366b87018108a7660ebb1d245a" from cache
/src: (copy (src sqlgg.opam) (dst ./))
2025-05-02 15:41.06 ---> saved as "42bf937103b9c691d69e51eeb9c2997c174fd0e62b1f6f8fbee52654fc88cb9f"
/src: (run (network host)
(shell "opam pin add -yn sqlgg.dev './'"))
[sqlgg.dev] synchronised (file:///src)
sqlgg is now pinned to file:///src (version dev)
2025-05-02 15:41.09 ---> saved as "bd3e21abf4a05d779123c4b892ab090c96be88d806a3e627a8b27c347ab2ac96"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-05-02 15:41.10 ---> saved as "11d0153f8f349eb559ad6b93c6c61b40adc34f6b74996daa77e0f8c2b61c1af0"
/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.18.2 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.0 ppxlib.0.36.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.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.3 --depext-only -y sqlgg.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu oracular-security InRelease [126 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu oracular InRelease
- Get:3 http://archive.ubuntu.com/ubuntu oracular-updates InRelease [126 kB]
- Get:4 http://security.ubuntu.com/ubuntu oracular-security/main amd64 Packages [358 kB]
- Get:5 http://security.ubuntu.com/ubuntu oracular-security/restricted amd64 Packages [236 kB]
- Get:6 http://security.ubuntu.com/ubuntu oracular-security/universe amd64 Packages [225 kB]
- Get:7 http://archive.ubuntu.com/ubuntu oracular-backports InRelease [126 kB]
- Get:8 http://archive.ubuntu.com/ubuntu oracular-updates/universe amd64 Packages [306 kB]
- Get:9 http://archive.ubuntu.com/ubuntu oracular-updates/restricted amd64 Packages [288 kB]
- Get:10 http://archive.ubuntu.com/ubuntu oracular-updates/main amd64 Packages [509 kB]
- Get:11 http://archive.ubuntu.com/ubuntu oracular-updates/multiverse amd64 Packages [12.8 kB]
- Get:12 http://archive.ubuntu.com/ubuntu oracular-backports/universe amd64 Packages [5423 B]
- Fetched 2319 kB in 1s (1914 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-05-02 15:41.38 ---> saved as "e1f5eca67330c663bffa5e4c6d4937596f6c9e11565b18880ca2ff695af0a0c8"
/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 18 packages
- install cppo 1.8.0
- install dune 3.18.2
- 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.0
- install ppxlib 0.36.0
- install seq base
- install sexplib0 v0.17.0
- install stdlib-shims 0.3.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 menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ounit.2.2.7, ounit2.2.2.7 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_deriving.6.1.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved dune.3.18.2 (cached)
-> retrieved ppxlib.0.36.0 (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.18.2
-> installed ppx_derivers.1.2.1
-> installed menhirCST.20240715
-> 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 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.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-05-02 15:43.22 ---> saved as "f64e4d668ab9819895f99466ca0f0c9d6746aa2516436bd6a889a98ebc334d2e"
/src: (copy (src .) (dst /src))
2025-05-02 15:43.22 ---> saved as "bc3a3e8298629ca6c1340c811228977c893d8f0e3089b87be4916f76a78c6435"
/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.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: 134 shift/reduce conflicts were arbitrarily resolved.
Warning: 18 reduce/reduce conflicts were arbitrarily resolved.
(cd _build/default/src && ./cli.exe -test)
......................T....................................................................................................................................................
Ran: 171 tests in: 0.20 seconds.
FAILED: Cases: 171 Tried: 171 Errors: 0 Failures: 0 Skip: 0 Todo: 1 Timeouts: 0.
2025-05-02 15:43.36 ---> saved as "f2b5c2d3979a1546c07b5c4744c02a00dc6deef5f1829a38ad4c9aeb5db495e1"
Job succeeded
2025-05-02 15:43.37: Job succeeded