Organisationsygreksqlgga93e08 ()(lint-doc)

(lint-doc)

Link Copied
Code Copied

Logs

2025-03-21 13:07.54: New job: test ygrek/sqlgg https://github.com/ygrek/sqlgg.git#refs/heads/ahrefs (a93e088679bfd11d629f3c1e0ca460670937fa78) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-12-ocaml-4.05@sha256:a55bca4befb0c3ec00078ecb83089efdee8a3ac0a76bdf70edd4f247015fae14
Opam project lint documentation


To reproduce locally:


git clone --recursive "https://github.com/ygrek/sqlgg.git" -b "ahrefs" && cd "sqlgg" && git reset --hard a93e0886
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.05@sha256:a55bca4befb0c3ec00078ecb83089efdee8a3ac0a76bdf70edd4f247015fae14
# 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.2 /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.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.2 --depext-only -y sqlgg.dev $DEPS
RUN opam install $DEPS
RUN opam install --yes dune 'odoc>=1.5.0'
COPY --chown=1000:1000 . /src/
RUN ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo "dune build @doc failed"; exit 2)


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2025-03-21 13:07.54: Using cache hint "ygrek/sqlgg-ocaml/opam:debian-12-ocaml-4.05@sha256:a55bca4befb0c3ec00078ecb83089efdee8a3ac0a76bdf70edd4f247015fae14-debian-12-4.05_opam-2.3-869e2725e2532d7415f425af0a57c4b9"
2025-03-21 13:07.54: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.05@sha256:a55bca4befb0c3ec00078ecb83089efdee8a3ac0a76bdf70edd4f247015fae14)
(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.2 /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.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.2 --depext-only -y sqlgg.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install --yes dune 'odoc>=1.5.0'"))
(copy (src .) (dst /src/))
(run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
)


2025-03-21 13:07.54: Waiting for resource in pool OCluster
2025-03-21 13:07.54: Waiting for worker…
2025-03-21 13:13.23: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at a93e088 factorise functions block in traits (#157)


(from ocaml/opam:debian-12-ocaml-4.05@sha256:a55bca4befb0c3ec00078ecb83089efdee8a3ac0a76bdf70edd4f247015fae14)
2025-03-21 13:13.23 ---> using "f489abf84b2bd9c48733192fde70aa1fbfa9ca4b20aab43ef114489ba23ee9e1" 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.2 /usr/bin/opam"))
2025-03-21 13:13.23 ---> saved as "129a2c66c2c125c98c7d808e50e6666e1f501fed810d8c8fd51e6088187562e0"


/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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[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-21 13:14.27 ---> saved as "f1b6cbe9a6ba56e6d1e69fef41b280e07803d58bacdc9e32d5a844a1d8ff513c"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.05.0
2.2.1
2025-03-21 13:14.27 ---> saved as "5c9d02de2e780534512d2f55dcca34edba5f3f50b6806a99af7d728344550d39"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-03-21 13:14.27 ---> saved as "f9ac1588ae4eceb522b854954242eaaad178acb861a6e979a7aba7c0f7d3e462"


/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
a8ed476033..6cf83229dd  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.
# Run eval $(opam env) to update the current shell environment
2025-03-21 13:15.23 ---> saved as "7a18291828d8d8656ed84b1eefbd502bc35ab627254e8977c8bf8464caa9ea1f"


/src: (copy (src sqlgg.opam) (dst ./))
2025-03-21 13:15.24 ---> saved as "2e68e07ca66a20ab97ffdbc677316d8b132020a9c9164edbd065167f76497858"


/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-21 13:15.29 ---> saved as "78cab21927824ca24d94881b293c77bbca254010e59ead7c4bd538289d87f527"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-03-21 13:15.29 ---> saved as "b053ad01c9f2aa3fac349ecf2a65de426f7ab1c7061df32b29fd3529ab409f6d"


/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.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.2 --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 [249 kB]
- Fetched 353 kB in 2s (184 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 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-21 13:15.45 ---> saved as "b3aca8be2a03dfa64be01e97b114173033ed6a5a4b751b76211288a652379157"


/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 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              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.2  (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.2
-> installed ppx_derivers.1.2.1
-> installed seq.0.3.1
-> installed stdlib-shims.0.3.0
-> installed mybuild.7
-> installed menhirSdk.20230608
-> installed sexplib0.v0.15.0
-> installed menhirLib.20230608
-> installed cppo.1.8.0
-> installed ocaml-compiler-libs.v0.12.4
-> 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.
# Run eval $(opam env) to update the current shell environment
2025-03-21 13:16.36 ---> saved as "17ebabac2010739941307048cfbf3f2ff2c7280cfe2ca289bb66d463a67d0ca2"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install --yes dune 'odoc>=1.5.0'"))
[NOTE] Package dune is already installed (current version is 3.17.2).
The following actions will be performed:
=== install 14 packages
- install astring       0.8.5  [required by odoc]
- install camlp-streams 5.0.1  [required by odoc-parser]
- install cmdliner      1.0.4  [required by odoc]
- install crunch        2.2.0  [required by odoc]
- install fmt           0.8.9  [required by odoc]
- install fpath         0.7.3  [required by odoc]
- install ocamlbuild    0.14.3 [required by fmt, astring, fpath]
- install odoc          2.4.4
- install odoc-parser   2.4.4  [required by odoc]
- install re            1.11.0 [required by tyxml]
- install result        1.5    [required by odoc]
- install topkg         1.0.7  [required by fmt, astring, fpath]
- install tyxml         4.6.0  [required by odoc]
- install uutf          1.0.3  [required by tyxml]


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved cmdliner.1.0.4  (cached)
-> retrieved crunch.2.2.0  (cached)
-> retrieved fmt.0.8.9  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> installed camlp-streams.5.0.1
-> retrieved re.1.11.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved tyxml.4.6.0  (cached)
-> retrieved odoc.2.4.4, odoc-parser.2.4.4  (cached)
-> installed re.1.11.0
-> installed result.1.5
-> installed cmdliner.1.0.4
-> installed crunch.2.2.0
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed fmt.0.8.9
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed odoc-parser.2.4.4
-> installed tyxml.4.6.0
-> installed odoc.2.4.4
Done.
# Run eval $(opam env) to update the current shell environment
2025-03-21 13:17.04 ---> saved as "77b4d6b40b0ae60131913894585057a0ce7bf8e1b5d8efd47352e1435136ea93"


/src: (copy (src .) (dst /src/))
2025-03-21 13:17.04 ---> saved as "c0b8bbcbb7eddb7396dcd182cc7a0d77cb3d48355b8ed9c79a2c0b62d19f1414"


/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
(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 impl/ocaml/.sqlgg_traits.objs/byte -no-alias-deps -opaque -o impl/ocaml/.sqlgg_traits.objs/byte/sqlgg_traits.cmo -c -impl impl/ocaml/sqlgg_traits.ml)
File "impl/ocaml/sqlgg_traits.ml", line 139, characters 9-32:
Error: Only type constructors with identical parameters can be substituted.
(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: 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.
dune build @doc failed
"/usr/bin/env" "bash" "-c" "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo "dune build @doc failed"; exit 2)" failed with exit status 2
2025-03-21 13:17.07: Job failed: Failed: Build failed