2025-04-11 13:47.19: New job: test ygrek/sqlgg https://github.com/ygrek/sqlgg.git#refs/pull/177/head (c9fd0b241aac122662b7c6b40bda46015f8c46f6) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-12-ocaml-4.13@sha256:e0d8c80a3d05139965f0003792761d3564511228635126bb2382666c6dac03e0
Opam project lint documentation
To reproduce locally:
git clone --recursive "https://github.com/ygrek/sqlgg.git" && cd "sqlgg" && git fetch origin "refs/pull/177/head" && git reset --hard c9fd0b24
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.13@sha256:e0d8c80a3d05139965f0003792761d3564511228635126bb2382666c6dac03e0
# debian-12-4.13_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 1b767795a4e028a4d45f916f1598c24ee7a7b6cb || git fetch origin master) && git reset -q --hard 1b767795a4e028a4d45f916f1598c24ee7a7b6cb && 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.18.0 extlib.1.8.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mybuild.7 ocaml.4.13.1 ocaml-base-compiler.4.13.1 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.1.0 ppxlib.0.36.0 seq.base sexplib0.v0.16.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-04-11 13:47.19: Using cache hint "ygrek/sqlgg-ocaml/opam:debian-12-ocaml-4.13@sha256:e0d8c80a3d05139965f0003792761d3564511228635126bb2382666c6dac03e0-debian-12-4.13_opam-2.3-d5ae07a0a8095e6a57bbdbcaf0164b54"
2025-04-11 13:47.19: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.13@sha256:e0d8c80a3d05139965f0003792761d3564511228635126bb2382666c6dac03e0)
(comment debian-12-4.13_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 1b767795a4e028a4d45f916f1598c24ee7a7b6cb || git fetch origin master) && git reset -q --hard 1b767795a4e028a4d45f916f1598c24ee7a7b6cb && 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.18.0 extlib.1.8.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mybuild.7 ocaml.4.13.1 ocaml-base-compiler.4.13.1 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.1.0 ppxlib.0.36.0 seq.base sexplib0.v0.16.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-04-11 13:47.19: Waiting for resource in pool OCluster
2025-04-11 13:47.19: Waiting for worker…
2025-04-11 13:47.20: Got resource from pool OCluster
Building on phoebe.caelum.ci.dev
All commits already cached
HEAD is now at c9fd0b2 wip
(from ocaml/opam:debian-12-ocaml-4.13@sha256:e0d8c80a3d05139965f0003792761d3564511228635126bb2382666c6dac03e0)
2025-04-11 13:47.21 ---> using "bc7e70fe2f4e209c389e823cf314129bf937fa34663c198287707d3090531d0b" from cache
/: (comment debian-12-4.13_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-04-11 13:47.22 ---> saved as "110a424b2b83ab6a7bb09a5bf2e7c6a6e06b58ee998ed95464129a8f72f67261"
/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-04-11 13:48.29 ---> saved as "a54a12ac3be1ea9fa65e9f8595d9fe9f30b879e3f45bd314ae145c2f18d179e0"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.13.1
2.2.1
2025-04-11 13:48.29 ---> saved as "b4371b3ea582f2f4c2fd946d656c9384a11da3237275f8cf90f77dd4a7e99a08"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-04-11 13:48.29 ---> saved as "81e5c6c1d7af63b1b8ca09ebe16c9de31dff2d4ba27cb5a97f02cab60cefdc89"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 1b767795a4e028a4d45f916f1598c24ee7a7b6cb || git fetch origin master) && git reset -q --hard 1b767795a4e028a4d45f916f1598c24ee7a7b6cb && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
a8ed476033..7c88ab6125 master -> origin/master
1b767795a4 Merge pull request #27704 from maiste/release-dune-3.18.0
<><> 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-04-11 13:49.23 ---> saved as "17a12f68aaf597fd8cf2087f794f69c55ca0cfdaf125613d8c968c7bf331493a"
/src: (copy (src sqlgg.opam) (dst ./))
2025-04-11 13:49.23 ---> saved as "49f1517797ac01e01a4f816d105d6244690f8eb99471e03e26938ad7e500c11d"
/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-04-11 13:49.26 ---> saved as "5291be19a7ab1c4fd31b5a0f98f8f2aa3c4d13d910099fef953362b44853f31b"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-04-11 13:49.26 ---> saved as "fb557a28a479957f1e44fe298370b8659e247ad6e5f3f520a0a26f59923d88fb"
/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 dune.3.18.0 extlib.1.8.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mybuild.7 ocaml.4.13.1 ocaml-base-compiler.4.13.1 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.1.0 ppxlib.0.36.0 seq.base sexplib0.v0.16.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 bookworm-updates/main amd64 Packages.diff/Index [16.2 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2025-03-27-1414.15-F-2025-03-27-1414.15.pdiff [187 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2025-03-27-1414.15-F-2025-03-27-1414.15.pdiff [187 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [252 kB]
- Fetched 372 kB in 1s (664 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.13.1).
[NOTE] Package ocaml is already installed (current version is 4.13.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-04-11 13:49.42 ---> saved as "8890c7f0dab1a53943e75633bfa45bcf1567dc6ab41dc7ece00646d931cef54f"
/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.13.1).
[NOTE] Package ocaml is already installed (current version is 4.13.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.18.0
- 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.1.0
- install ppxlib 0.36.0
- install seq base
- install sexplib0 v0.16.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 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.16.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved dune.3.18.0 (cached)
-> retrieved ppxlib.0.36.0 (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.18.0
-> installed ppx_derivers.1.2.1
-> installed menhirCST.20240715
-> installed stdlib-shims.0.3.0
-> installed menhirSdk.20240715
-> installed mybuild.7
-> installed sexplib0.v0.16.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 ppxlib.0.36.0
-> installed menhir.20240715
-> installed ppx_deriving.6.1.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-04-11 13:50.48 ---> saved as "d550efdea121dba6a9f39a28ff851e03944b49565349b7c2a204f83b157fc544"
/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.18.0).
The following actions will be performed:
=== install 16 packages
- install astring 0.8.5 [required by odoc]
- install camlp-streams 5.0.1 [required by odoc-parser]
- install cmdliner 1.3.0 [required by odoc]
- install crunch 4.0.0 [required by odoc]
- install fmt 0.10.0 [required by odoc]
- install fpath 0.7.3 [required by odoc]
- install ocamlbuild 0.16.1 [required by fmt, astring, fpath]
- install odoc 3.0.0
- install odoc-parser 3.0.0 [required by odoc]
- install ptime 1.2.0 [required by crunch]
- install re 1.12.0 [required by tyxml]
- install result 1.5 [required by odoc]
- install topkg 1.0.8 [required by fmt, astring, fpath]
- install tyxml 4.6.0 [required by odoc]
- install uutf 1.0.4 [required by tyxml]
- install yojson 2.2.2 [required by odoc]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved crunch.4.0.0 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved fmt.0.10.0 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ptime.1.2.0 (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved result.1.5 (cached)
-> retrieved topkg.1.0.8 (cached)
-> retrieved uutf.1.0.4 (cached)
-> retrieved tyxml.4.6.0 (cached)
-> retrieved yojson.2.2.2 (cached)
-> installed camlp-streams.5.0.1
-> retrieved odoc.3.0.0, odoc-parser.3.0.0 (cached)
-> installed result.1.5
-> installed re.1.12.0
-> installed yojson.2.2.2
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.16.1
-> installed topkg.1.0.8
-> installed uutf.1.0.4
-> installed fmt.0.10.0
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed crunch.4.0.0
-> installed fpath.0.7.3
-> installed odoc-parser.3.0.0
-> installed tyxml.4.6.0
-> installed odoc.3.0.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-04-11 13:51.31 ---> saved as "a22ba6a371b8657087c6d84089cd613d49692529b9ec516cecb7c63fc10a1683"
/src: (copy (src .) (dst /src/))
2025-04-11 13:51.31 ---> saved as "753185704e63edcaf98d1c715de04ac393e36da2717b37991a7e975eac93c058"
/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.13/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/_doc/_html && /home/opam/.opam/4.13/bin/odoc link -I ../_odoc/pkg/sqlgg -I ../../impl/ocaml/.sqlgg_traits.objs/byte -I ../../lib/.sqlgg.objs/byte -o ../_odocls/sqlgg/sqlgg_traits.odocl ../../impl/ocaml/.sqlgg_traits.objs/byte/sqlgg_traits.odoc)
File "impl/ocaml/sqlgg_traits.ml", line 64, characters 4-24:
Warning: Failed to resolve reference unresolvedroot(Oops) Couldn't find "Oops"
File "impl/ocaml/sqlgg_traits.ml", line 59, characters 4-24:
Warning: Failed to resolve reference unresolvedroot(Oops) Couldn't find "Oops"
File "impl/ocaml/sqlgg_traits.ml", line 53, characters 4-24:
Warning: Failed to resolve reference unresolvedroot(Oops) Couldn't find "Oops"
File "impl/ocaml/sqlgg_traits.ml", line 47, characters 4-24:
Warning: Failed to resolve reference unresolvedroot(Oops) Couldn't find "Oops"
(cd _build/default/_doc/_html && /home/opam/.opam/4.13/bin/odoc link -I ../_odoc/pkg/sqlgg -I ../../impl/ocaml/.sqlgg_traits.objs/byte -I ../../lib/.sqlgg.objs/byte -o ../_odocls/sqlgg/sqlgg.odocl ../../lib/.sqlgg.objs/byte/sqlgg.odoc)
File "lib/tables.ml", line 14, characters 4-35:
Warning: Failed to resolve reference unresolvedroot(Error) Couldn't find "Error"
2025-04-11 13:51.35 ---> saved as "9288227aa42647a678a1f92f7884c628c4aea04a8e8d3ca7f05bdb396f7d689e"
Job succeeded
2025-04-11 13:51.35: Job succeeded