Organisationsygreksqlgg5dab8c ()ubuntu-20.04-4.14_opam-2.3

ubuntu-20.04-4.14_opam-2.3

Link Copied
Code Copied

Logs

2025-03-17 10:26.40: New job: test ygrek/sqlgg https://github.com/ygrek/sqlgg.git#refs/heads/master (5dab8c05749baee2378ece8eec0778c1ba578a10) (linux-x86_64:ubuntu-20.04-4.14_opam-2.3)
Base: ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:df45ebe49b574a3556d225e8208622a70159b589318eea7463a0092c175251f6
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ygrek/sqlgg.git" -b "master" && cd "sqlgg" && git reset --hard 5dab8c05
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:df45ebe49b574a3556d225e8208622a70159b589318eea7463a0092c175251f6
# ubuntu-20.04-4.14_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 cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && 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.17.2 extlib.1.8.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 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.0.3 ppxlib.0.35.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-03-17 10:26.40: Using cache hint "ygrek/sqlgg-ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:df45ebe49b574a3556d225e8208622a70159b589318eea7463a0092c175251f6-ubuntu-20.04-4.14_opam-2.3-63c27f572bf3c097bf4ff031a8fa6367"
2025-03-17 10:26.40: Using OBuilder spec:
((from ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:df45ebe49b574a3556d225e8208622a70159b589318eea7463a0092c175251f6)
(comment ubuntu-20.04-4.14_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 cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && 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.17.2 extlib.1.8.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 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.0.3 ppxlib.0.35.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-03-17 10:26.40: Connecting to build cluster…
2025-03-17 10:26.40: Waiting for resource in pool OCluster
2025-03-17 13:24.11: Waiting for worker…
2025-03-17 13:30.24: Got resource from pool OCluster
Building on x86-bm-c7.sw.ocaml.org
All commits already cached
HEAD is now at 5dab8c0 factorise functions block in traits (#157)


(from ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:df45ebe49b574a3556d225e8208622a70159b589318eea7463a0092c175251f6)
Unable to find image 'ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:df45ebe49b574a3556d225e8208622a70159b589318eea7463a0092c175251f6' locally
docker.io/ocaml/opam@sha256:df45ebe49b574a3556d225e8208622a70159b589318eea7463a0092c175251f6: Pulling from ocaml/opam
eebf717b2591: Pulling fs layer
eebf717b2591: Verifying Checksum
eebf717b2591: Download complete
eebf717b2591: Pull complete
Digest: sha256:df45ebe49b574a3556d225e8208622a70159b589318eea7463a0092c175251f6
Status: Downloaded newer image for ocaml/opam@sha256:df45ebe49b574a3556d225e8208622a70159b589318eea7463a0092c175251f6
2025-03-17 13:30.25 ---> using "9485e9359a6d0a10619e9ffea7db3c22c41f2d6e7050298bc5122c3f0c555b5b" from cache


/: (comment ubuntu-20.04-4.14_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-03-17 13:30.25 ---> using "7ba611f3987f46219041a1533b9cb343bf3864cb50d3a544ca657bbcdcde6778" 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.


Continue? [y/n] y
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.


Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-03-17 13:30.25 ---> using "8ba4394a41d80adaec492afcb953f702b4f16ed846e3f461e4b33dddcc367338" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-03-17 13:30.25 ---> using "e4e34527d233db7d94c0eed2f683aa2d5cc3b804d7245cfc5f04f34a19928c0a" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-03-17 13:30.25 ---> using "2fc4a15e603f20ccc20b4eb8dbe4554b1f20d6b88f3324a16655ba4ffc27d57f" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
94514fa0d0..4f8517f5b7  master     -> origin/master
cb8df6db01 Merge pull request #27631 from dbuenzli/incompatible-cmdliner2


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from 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-03-17 13:30.25 ---> using "feee41f99f2c9c3e652958091ea04a3ea1e28e995e01ac8315079b34e6269860" from cache


/src: (copy (src sqlgg.opam) (dst ./))
2025-03-17 13:30.25 ---> saved as "ebcb1e6df7270b35d55de26d32bffe20ef5bafbfd97173276b064d7b335559e4"


/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-03-17 13:30.28 ---> saved as "a98690bcdf1f3449f118c181dd3aff9e3a8a5295b402b360a3629a07111704ce"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-03-17 13:30.28 ---> saved as "7deb1b0d52a89a26549c73312cf5d48e7f7b38b46f8d4bbd66ccca2a619cbdcd"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 dune.3.17.2 extlib.1.8.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 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.0.3 ppxlib.0.35.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 focal-security InRelease [128 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
- Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB]
- Get:4 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [42.0 kB]
- Get:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB]
- Get:6 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [4441 kB]
- Get:7 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1594 kB]
- Get:8 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [45.5 kB]
- Get:9 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4755 kB]
- Get:10 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1301 kB]
- Get:11 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [4269 kB]
- Get:12 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [4638 kB]
- Fetched 21.5 MB in 2s (9122 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-03-17 13:30.52 ---> saved as "7ca5a6c6de93a183008a05ce8c39ddbcc141d83fd130803f7bca80eb9fbeb1aa"


/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 18 packages
- install cppo                1.8.0
- install dune                3.17.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.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.0.3
- install ppxlib              0.35.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.12.4  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
-> retrieved dune.3.17.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.0.3  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.17.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 ocaml-compiler-libs.v0.12.4
-> installed cppo.1.8.0
-> installed ounit2.2.2.7
-> installed ounit.2.2.7
-> installed extlib.1.8.0
-> installed menhir.20240715
-> installed ppxlib.0.35.0
-> installed ppx_deriving.6.0.3
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-17 13:32.05 ---> saved as "1d1cb9cd73ea5d422b3103714732b592006c1a39b114fde5c02a994c3f0eefe7"


/src: (copy (src .) (dst /src))
2025-03-17 13:32.05 ---> saved as "2b80d1486efe40cedce71a10a02d727e764a4fd6ca550c73d2c7f702e25f84e1"


/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/4.14/bin/menhir lib/sql_parser.mly --base lib/sql_parser --infer-read-reply lib/sql_parser__mock.mli.inferred)
Warning: 30 states have shift/reduce conflicts.
Warning: 3 states have reduce/reduce conflicts.
Warning: 135 shift/reduce conflicts were arbitrarily resolved.
Warning: 18 reduce/reduce conflicts were arbitrarily resolved.
(cd _build/default/src && ./cli.exe -test)
......................T...........................................................................................................................
Ran: 146 tests in: 0.08 seconds.
FAILED: Cases: 146 Tried: 146 Errors: 0 Failures: 0 Skip:  0 Todo: 1 Timeouts: 0.
2025-03-17 13:32.14 ---> saved as "a18119741d7715cb4f894b7e79cab58a58277c3beef096d5a1a99cfd284a8968"
Job succeeded
2025-03-17 13:32.15: Job succeeded