2024-12-19 22:55.44: New job: test ygrek/sqlgg https://github.com/ygrek/sqlgg.git#refs/heads/ahrefs (6b0f90a28d85c697c64b97c2cccfcd390d1d8e84) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.03@sha256:85aa80f8c12e9ebc7bdf9c4e4fa224ebe1143d7fc1b8cf928b7751a516dcb91b
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ygrek/sqlgg.git" -b "ahrefs" && cd "sqlgg" && git reset --hard 6b0f90a2
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.03@sha256:85aa80f8c12e9ebc7bdf9c4e4fa224ebe1143d7fc1b8cf928b7751a516dcb91b
# debian-12-4.03_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 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && 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-bytes.base base-threads.base base-unix.base camlp4.4.03+1 conf-m4.1 conf-which.1 cppo.1.2.2 dune.2.0.1 extlib.1.7.8 jbuilder.1.0+beta16 menhir.20180528 mybuild.5 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-migrate-parsetree.1.2.0 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.9.0 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 ounit.1.1.2 ppx_derivers.1.0 ppx_deriving.4.3 ppx_tools.4.03.0 ppxfind.1.2 result.1.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
2024-12-19 22:55.44: Using cache hint "ygrek/sqlgg-ocaml/opam:debian-12-ocaml-4.03@sha256:85aa80f8c12e9ebc7bdf9c4e4fa224ebe1143d7fc1b8cf928b7751a516dcb91b-debian-12-4.03_opam-2.3-b90b5666af60b4942cf816ce6e1e199c"
2024-12-19 22:55.44: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.03@sha256:85aa80f8c12e9ebc7bdf9c4e4fa224ebe1143d7fc1b8cf928b7751a516dcb91b)
(comment debian-12-4.03_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 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && 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-bytes.base base-threads.base base-unix.base camlp4.4.03+1 conf-m4.1 conf-which.1 cppo.1.2.2 dune.2.0.1 extlib.1.7.8 jbuilder.1.0+beta16 menhir.20180528 mybuild.5 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-migrate-parsetree.1.2.0 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.9.0 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 ounit.1.1.2 ppx_derivers.1.0 ppx_deriving.4.3 ppx_tools.4.03.0 ppxfind.1.2 result.1.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"))
)
2024-12-19 22:55.44: Waiting for resource in pool OCluster
2024-12-20 19:39.37: Waiting for worker…
2024-12-20 19:42.51: Got resource from pool OCluster
Building on x86-bm-c3.sw.ocaml.org
All commits already cached
HEAD is now at 6b0f90a Merge pull request #147 from jongleb/fix-cte-vars-concat-order
(from ocaml/opam:debian-12-ocaml-4.03@sha256:85aa80f8c12e9ebc7bdf9c4e4fa224ebe1143d7fc1b8cf928b7751a516dcb91b)
2024-12-20 19:42.52 ---> using "ad7c77b8e9f6692a8e878ef01c846b1250ca3f835e08b4667893f0c4fe702a2a" from cache
/: (comment debian-12-4.03_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"))
2024-12-20 19:42.52 ---> using "cc628367c73cd45fdc0a59c3e1fbfdab45691a0b99e8359ba3d54ef6118d97ce" 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 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.
Continue? [y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-12-20 19:44.05 ---> saved as "05780d759c7e98c77f2b222fdeca065a8ff3c6c61c096e83960e8944ccb5baa5"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-126-generic
The OCaml toplevel, version 4.03.0
2.3.0
2024-12-20 19:44.05 ---> saved as "0219ea8514c77e2c80e05d0f5f5ff482ff4e657d28948fca94cc03132ca6d79b"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-12-20 19:44.05 ---> saved as "d613e44cef476dc480454bc377e15c313ab54b9b635a38ba4ad84897fb230916"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && git log --no-decorate -n1 --oneline && opam update -u"))
28daeff6f3 Merge pull request #26814 from mtelvers/m4
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[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)
2024-12-20 19:45.13 ---> saved as "ab5d18e884d45db0d604acafcbf1d07fc1078357b522422f6db8a850beb4bb5a"
/src: (copy (src sqlgg.opam) (dst ./))
2024-12-20 19:45.13 ---> saved as "12eb6f6b0f483ce479d7b8fde2fc7c2acd82ee1c5bb2fc31f5c6487337385cc8"
/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)
2024-12-20 19:45.15 ---> saved as "62dc455cf7dbbe89ae70c63b49a6b7f3658f7e406903aaf1f25eb20941974f8b"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2024-12-20 19:45.15 ---> saved as "e611863f60d2d2858c8c8dfd98505edb80ec1d390f4358a102311b82fee5b70c"
/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base camlp4.4.03+1 conf-m4.1 conf-which.1 cppo.1.2.2 dune.2.0.1 extlib.1.7.8 jbuilder.1.0+beta16 menhir.20180528 mybuild.5 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-migrate-parsetree.1.2.0 ocaml-secondary-compiler.4.08.1 ocamlbuild.0.9.0 ocamlfind.1.8.1 ocamlfind-secondary.1.8.1 ounit.1.1.2 ppx_derivers.1.0 ppx_deriving.4.3 ppx_tools.4.03.0 ppxfind.1.2 result.1.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"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [236 kB]
- Fetched 339 kB in 0s (1174 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[sqlgg.dev] synchronised (file:///src)
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.03.0).
[NOTE] Package ocaml is already installed (current version is 4.03.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-bigarray is already installed (current version is base).
The following system packages will first need to be installed:
m4
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package m4.
- (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18745 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-3_amd64.deb ...
- Unpacking m4 (1.4.19-3) ...
- Setting up m4 (1.4.19-3) ...
2024-12-20 19:45.33 ---> saved as "896a23c979a2a6853d0481a99d41ff88a190c97e41e97565bc8e2eaf79fdeeaa"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.03.0).
[NOTE] Package ocaml is already installed (current version is 4.03.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-bigarray is already installed (current version is base).
The following actions will be performed:
=== downgrade 1 package
- downgrade ocaml-secondary-compiler 4.14.2 to 4.08.1
=== install 20 packages
- install base-bytes base
- install camlp4 4.03+1
- install conf-m4 1
- install conf-which 1
- install cppo 1.2.2
- install dune 2.0.1
- install extlib 1.7.8
- install jbuilder 1.0+beta16
- install menhir 20180528
- install mybuild 5
- install ocaml-migrate-parsetree 1.2.0 (deprecated)
- install ocamlbuild 0.9.0
- install ocamlfind 1.8.1
- install ocamlfind-secondary 1.8.1
- install ounit 1.1.2
- install ppx_derivers 1.0
- install ppx_deriving 4.3
- install ppx_tools 4.03.0
- install ppxfind 1.2
- install result 1.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.2.2 (cached)
-> retrieved camlp4.4.03+1 (cached)
-> installed conf-m4.1
-> installed conf-which.1
-> retrieved extlib.1.7.8 (cached)
-> retrieved menhir.20180528 (cached)
-> retrieved jbuilder.1.0+beta16 (cached)
-> retrieved dune.2.0.1 (cached)
-> retrieved ocaml-migrate-parsetree.1.2.0 (cached)
-> retrieved mybuild.5 (https://github.com/ygrek/mybuild/archive/v5.tar.gz)
-> retrieved ocamlbuild.0.9.0 (cached)
-> retrieved ocamlfind.1.8.1, ocamlfind-secondary.1.8.1 (cached)
-> retrieved ocaml-secondary-compiler.4.08.1 (cached)
-> retrieved ounit.1.1.2 (cached)
-> retrieved ppx_derivers.1.0 (cached)
-> retrieved ppx_deriving.4.3 (cached)
-> retrieved ppx_tools.4.03.0 (cached)
-> retrieved result.1.0 (cached)
-> retrieved ppxfind.1.2 (https://github.com/ocaml/opam-source-archives/raw/main/ppxfind-1.2.tbz)
-> installed result.1.0
-> installed ocamlbuild.0.9.0
-> installed ocamlfind.1.8.1
-> installed base-bytes.base
-> installed mybuild.5
-> installed cppo.1.2.2
-> installed ppx_tools.4.03.0
-> installed jbuilder.1.0+beta16
-> installed ppx_derivers.1.0
-> installed extlib.1.7.8
-> installed menhir.20180528
-> installed camlp4.4.03+1
-> installed ounit.1.1.2
-> removed ocaml-secondary-compiler.4.14.2
-> installed ocaml-secondary-compiler.4.08.1
-> installed ocamlfind-secondary.1.8.1
-> installed dune.2.0.1
-> installed ocaml-migrate-parsetree.1.2.0
-> installed ppxfind.1.2
-> installed ppx_deriving.4.3
Done.
<><> ocaml-migrate-parsetree.1.2.0 installed successfully <><><><><><><><><><><>
=> Note: This package is deprecated.
# To update the current shell environment, run: eval $(opam env)
2024-12-20 19:49.32 ---> saved as "e12e8ec9d8c2eb2d1ca5a0c3ae475c03b06b29c9be1df098e0c141df61484510"
/src: (copy (src .) (dst /src))
2024-12-20 19:49.33 ---> saved as "5d3a9d0098a22029d8278f9386d5fda3ce619f8514a9125813e34e3efce84266"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
gen_version src/version.ml
fatal: not a git repository (or any of the parent directories): .git
ocamlc lib/.sqlgg.objs/byte/sqlgg__Sql.{cmi,cmo,cmt}
File "lib/sql.ml", line 28, characters 2-89:
Warning 32: unused value show.
File "lib/sql.ml", line 338, characters 0-71:
Warning 32: unused value show_table_name.
ocamlopt lib/.sqlgg.objs/native/sqlgg__Sql.{cmx,o}
File "lib/sql.ml", line 28, characters 2-89:
Warning 32: unused value show.
File "lib/sql.ml", line 338, characters 0-71:
Warning 32: unused value show_table_name.
menhir lib/sql_parser.{ml,mli}
Warning: 30 states have shift/reduce conflicts.
Warning: 3 states have reduce/reduce conflicts.
Warning: 133 shift/reduce conflicts were arbitrarily resolved.
Warning: 18 reduce/reduce conflicts were arbitrarily resolved.
ocamlopt lib/.sqlgg.objs/native/sqlgg__Syntax.{cmx,o} (exit 2)
(cd _build/default && /home/opam/.opam/4.03/bin/ocamlopt.opt -strict-sequence -strict-formats -short-paths -keep-locs -w +A@8-e-40-41-42-44-45-48-70 -g -I lib/.sqlgg.objs/byte -I lib/.sqlgg.objs/native -I /home/opam/.opam/4.03/lib/bytes -I /home/opam/.opam/4.03/lib/extlib -I /home/opam/.opam/4.03/lib/ppx_deriving/runtime -I /home/opam/.opam/4.03/lib/result -intf-suffix .ml -no-alias-deps -opaque -open Sqlgg -o lib/.sqlgg.objs/native/sqlgg__Syntax.cmx -c -impl lib/syntax.pp.ml)
File "lib/syntax.ml", line 338, characters 46-55:
Error: Unbound module Fun
ocamlc lib/.sqlgg.objs/byte/sqlgg__Syntax.{cmo,cmt} (exit 2)
(cd _build/default && /home/opam/.opam/4.03/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 -I lib/.sqlgg.objs/byte -I /home/opam/.opam/4.03/lib/bytes -I /home/opam/.opam/4.03/lib/extlib -I /home/opam/.opam/4.03/lib/ppx_deriving/runtime -I /home/opam/.opam/4.03/lib/result -intf-suffix .ml -no-alias-deps -opaque -open Sqlgg -o lib/.sqlgg.objs/byte/sqlgg__Syntax.cmo -c -impl lib/syntax.pp.ml)
File "lib/syntax.ml", line 338, characters 46-55:
Error: Unbound module Fun
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-12-20 19:49.39: Job failed: Failed: Build failed