Organisationsygreksqlgg6b0f90 ()debian-12-4.05_opam-2.3

debian-12-4.05_opam-2.3

Link Copied
Code Copied

Logs

2025-01-08 12:54.53: New job: test ygrek/sqlgg https://github.com/ygrek/sqlgg.git#refs/heads/ahrefs (6b0f90a28d85c697c64b97c2cccfcd390d1d8e84) (linux-x86_64:debian-12-4.05_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.05@sha256:f9176fc8094ad7f27aed2c5a4d3cb88f774a2893c3b29ab47b8004469a53f684
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.05@sha256:f9176fc8094ad7f27aed2c5a4d3cb88f774a2893c3b29ab47b8004469a53f684
# debian-12-4.05_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 e566c29b12a9c284b68b3f6cbe7fbd4e8452406f || git fetch origin master) && git reset -q --hard e566c29b12a9c284b68b3f6cbe7fbd4e8452406f && 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.1 extlib.1.8.0 host-arch-x86_64.1 host-system-other.1 menhir.20230608 menhirLib.20230608 menhirSdk.20230608 mybuild.7 ocaml.4.05.0 ocaml-base-compiler.4.05.0 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ounit.2.2.7 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppxlib.0.34.0 seq.0.3.1 sexplib0.v0.15.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-01-08 12:54.53: Using cache hint "ygrek/sqlgg-ocaml/opam:debian-12-ocaml-4.05@sha256:f9176fc8094ad7f27aed2c5a4d3cb88f774a2893c3b29ab47b8004469a53f684-debian-12-4.05_opam-2.3-9087512746df65a0c0c805063d86997c"
2025-01-08 12:54.53: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.05@sha256:f9176fc8094ad7f27aed2c5a4d3cb88f774a2893c3b29ab47b8004469a53f684)
(comment debian-12-4.05_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 e566c29b12a9c284b68b3f6cbe7fbd4e8452406f || git fetch origin master) && git reset -q --hard e566c29b12a9c284b68b3f6cbe7fbd4e8452406f && 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.1 extlib.1.8.0 host-arch-x86_64.1 host-system-other.1 menhir.20230608 menhirLib.20230608 menhirSdk.20230608 mybuild.7 ocaml.4.05.0 ocaml-base-compiler.4.05.0 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ounit.2.2.7 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppxlib.0.34.0 seq.0.3.1 sexplib0.v0.15.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-01-08 12:54.53: Waiting for resource in pool OCluster
2025-01-08 14:04.44: Waiting for worker…
2025-01-08 14:11.21: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
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.05@sha256:f9176fc8094ad7f27aed2c5a4d3cb88f774a2893c3b29ab47b8004469a53f684)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.05@sha256:f9176fc8094ad7f27aed2c5a4d3cb88f774a2893c3b29ab47b8004469a53f684' locally
docker.io/ocaml/opam@sha256:f9176fc8094ad7f27aed2c5a4d3cb88f774a2893c3b29ab47b8004469a53f684: Pulling from ocaml/opam
a2df0e56fd28: Pulling fs layer
a2df0e56fd28: Verifying Checksum
a2df0e56fd28: Download complete
a2df0e56fd28: Pull complete
Digest: sha256:f9176fc8094ad7f27aed2c5a4d3cb88f774a2893c3b29ab47b8004469a53f684
Status: Downloaded newer image for ocaml/opam@sha256:f9176fc8094ad7f27aed2c5a4d3cb88f774a2893c3b29ab47b8004469a53f684
2025-01-08 14:11.21 ---> using "3007a3c8f9b58271e7badddd7b965d35065b824925e16445edd980e5c2fc7f6c" from cache


/: (comment debian-12-4.05_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-01-08 14:11.21 ---> using "4e22ac539cd061059ea090c3b78e766fa8ba492e88a53769971e21dc86771502" 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
[NOTE] The 'jobs' option was reset, its value was 39 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=39 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2025-01-08 14:11.21 ---> using "a6d52bf856cd14fe13d56625e12288b3d757bb9c8686e958b449e3725446b129" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 4.05.0
2.3.0
2025-01-08 14:11.21 ---> using "4b82ea725e45b10814a69eead08675245f22dd013ad0c0f6e4fa4a9212da908a" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-01-08 14:11.21 ---> using "38483d57c8635812a48a4b3981dbaaa47c40349459fa520d33b7323c39c42e2b" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e e566c29b12a9c284b68b3f6cbe7fbd4e8452406f || git fetch origin master) && git reset -q --hard e566c29b12a9c284b68b3f6cbe7fbd4e8452406f && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
de786e28db..2e81d1953c  master     -> origin/master
e566c29b12 Merge pull request #27141 from NathanReb/release-ppxlib-0.34.0


<><> 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)
2025-01-08 14:11.21 ---> using "e3f89fd930584955ee240a10de4ca67641950ae09f15e12243bf8a9ca9fa1202" from cache


/src: (copy (src sqlgg.opam) (dst ./))
2025-01-08 14:11.21 ---> using "cfff4bbec60691f79aaa5e117d57d016751a9650a297f67a952ca623464403ac" from cache


/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-01-08 14:11.21 ---> using "bd77a81c941c4dacbe9aadbc08fe765f2977ccad818323f8973816ab87647a03" from cache


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-01-08 14:11.21 ---> using "619d9571b148657e979e77aa992ef49d7555f6b052967707f85e4b85ddcfb42c" from cache


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 dune.3.17.1 extlib.1.8.0 host-arch-x86_64.1 host-system-other.1 menhir.20230608 menhirLib.20230608 menhirSdk.20230608 mybuild.7 ocaml.4.05.0 ocaml-base-compiler.4.05.0 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ounit.2.2.7 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppxlib.0.34.0 seq.0.3.1 sexplib0.v0.15.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"
- 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 [240 kB]
- Fetched 343 kB in 0s (860 kB/s)
- Reading package lists...


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[sqlgg.dev] synchronised (file:///src)


[NOTE] Package ocaml-secondary-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.05.0).
[NOTE] Package ocaml is already installed (current version is 4.05.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[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-01-08 14:11.21 ---> using "106e86d8807d2e1a216c1e5bca6cddead362a01ac3b3c633899305b4131cf1f5" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-secondary-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.05.0).
[NOTE] Package ocaml is already installed (current version is 4.05.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[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.1
- install extlib              1.8.0
- install menhir              20230608
- install menhirLib           20230608
- install menhirSdk           20230608
- install mybuild             7
- install ocaml-compiler-libs v0.12.4
- install ocamlfind           1.9.6
- install ocamlfind-secondary 1.9.6
- 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.34.0
- install seq                 0.3.1
- install sexplib0            v0.15.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 menhir.20230608, menhirLib.20230608, menhirSdk.20230608  (cached)
-> retrieved ocamlfind.1.9.6, ocamlfind-secondary.1.9.6  (cached)
-> retrieved dune.3.17.1  (cached)
-> retrieved ounit.2.2.7, ounit2.2.2.7  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_deriving.6.0.3  (cached)
-> retrieved seq.0.3.1  (cached)
-> retrieved sexplib0.v0.15.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ppxlib.0.34.0  (cached)
-> installed ocamlfind.1.9.6
-> installed ocamlfind-secondary.1.9.6
-> installed dune.3.17.1
-> installed ppx_derivers.1.2.1
-> installed seq.0.3.1
-> installed stdlib-shims.0.3.0
-> installed mybuild.7
-> installed menhirSdk.20230608
-> installed menhirLib.20230608
-> installed sexplib0.v0.15.0
-> 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.20230608
-> installed ppxlib.0.34.0
-> installed ppx_deriving.6.0.3
Done.
# To update the current shell environment, run: eval $(opam env)
2025-01-08 14:11.39 ---> saved as "76b27479cb09671a13e4c46cafbaf24887db17bd0f9b8e26b25a88eaa2d6d643"


/src: (copy (src .) (dst /src))
2025-01-08 14:11.40 ---> saved as "c282c3ef96fc94d55312e71745145590678f85efcb60ab2cc03d7f1f28db1e7e"


/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.05/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: 133 shift/reduce conflicts were arbitrarily resolved.
Warning: 18 reduce/reduce conflicts were arbitrarily resolved.
(cd _build/default && /home/opam/.opam/4.05/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.05/lib/extlib -I /home/opam/.opam/4.05/lib/ppx_deriving/runtime -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
(cd _build/default && /home/opam/.opam/4.05/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.05/lib/extlib -I /home/opam/.opam/4.05/lib/ppx_deriving/runtime -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
(cd _build/default && /home/opam/.opam/4.05/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 src/.cli.eobjs/byte -I /home/opam/.opam/4.05/lib/extlib -I /home/opam/.opam/4.05/lib/oUnit -I /home/opam/.opam/4.05/lib/ounit2 -I /home/opam/.opam/4.05/lib/ounit2/advanced -I /home/opam/.opam/4.05/lib/ppx_deriving/runtime -I /home/opam/.opam/4.05/lib/seq -I /home/opam/.opam/4.05/lib/stdlib-shims -I lib/.sqlgg.objs/byte -no-alias-deps -opaque -open Dune__exe -o src/.cli.eobjs/byte/dune__exe__Test.cmo -c -impl src/test.pp.ml)
File "src/test.ml", line 145, characters 7-23:
Warning 6: label suffix was omitted in the application of this function.
(cd _build/default && /home/opam/.opam/4.05/bin/ocamlopt.opt -strict-sequence -strict-formats -short-paths -keep-locs -w +A@8-e-40-41-42-44-45-48-70 -g -I src/.cli.eobjs/byte -I src/.cli.eobjs/native -I /home/opam/.opam/4.05/lib/extlib -I /home/opam/.opam/4.05/lib/oUnit -I /home/opam/.opam/4.05/lib/ounit2 -I /home/opam/.opam/4.05/lib/ounit2/advanced -I /home/opam/.opam/4.05/lib/ppx_deriving/runtime -I /home/opam/.opam/4.05/lib/seq -I /home/opam/.opam/4.05/lib/stdlib-shims -I lib/.sqlgg.objs/byte -I lib/.sqlgg.objs/native -intf-suffix .ml -no-alias-deps -opaque -open Dune__exe -o src/.cli.eobjs/native/dune__exe__Test.cmx -c -impl src/test.pp.ml)
File "src/test.ml", line 145, characters 7-23:
Warning 6: label suffix was omitted in the application of this function.
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-01-08 14:11.49: Job failed: Failed: Build failed