Organisationsygreksqlggec4fbd ()(lint-doc)

(lint-doc)

Link Copied
Code Copied

Logs

2025-08-21 11:53.02: New job: test ygrek/sqlgg https://github.com/ygrek/sqlgg.git#refs/heads/master (ec4fbdb5a59da1877b4ae3143279fd2caf48bcc0) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-12-ocaml-4.13@sha256:1724e002db502cc9263886f9b877b24d901b9d2e470d641b4ae8d6d6d06f4a2b
Opam project lint documentation


To reproduce locally:


git clone --recursive "https://github.com/ygrek/sqlgg.git" -b "master" && cd "sqlgg" && git reset --hard ec4fbdb5
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.13@sha256:1724e002db502cc9263886f9b877b24d901b9d2e470d641b4ae8d6d6d06f4a2b
# debian-12-4.13_opam-2.4
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 f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 || git fetch origin master) && git reset -q --hard f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 && 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.20.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.1 ppxlib.0.36.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 yojson.3.0.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-08-21 11:53.02: Using cache hint "ygrek/sqlgg-ocaml/opam:debian-12-ocaml-4.13@sha256:1724e002db502cc9263886f9b877b24d901b9d2e470d641b4ae8d6d6d06f4a2b-debian-12-4.13_opam-2.4-e87a524a1b93ff741e727271ebd81bbb"
2025-08-21 11:53.02: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.13@sha256:1724e002db502cc9263886f9b877b24d901b9d2e470d641b4ae8d6d6d06f4a2b)
(comment debian-12-4.13_opam-2.4)
(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 f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 || git fetch origin master) && git reset -q --hard f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 && 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.20.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.1 ppxlib.0.36.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 yojson.3.0.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-08-21 11:53.02: Waiting for resource in pool OCluster
2025-08-21 11:53.02: Waiting for worker…
2025-08-21 11:53.04: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
HEAD is now at ec4fbdb Merge pull request #230


(from ocaml/opam:debian-12-ocaml-4.13@sha256:1724e002db502cc9263886f9b877b24d901b9d2e470d641b4ae8d6d6d06f4a2b)
2025-08-21 11:53.05 ---> using "c4c1b5db9fe59eaf1484dd30a2598dff99065aff84866e36a1bfc25db0ab69b9" from cache


/: (comment debian-12-4.13_opam-2.4)


/: (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-08-21 11:53.05 ---> using "d6eb05498c07bbd01507e2968c8bae43096372e140cbd279f42e60ddf0fd7721" 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] Initialised
2025-08-21 11:53.05 ---> using "89426fc87c9777e06247465f1464097e1ae48fe89b57b5c2d15156897fe458b6" from cache


/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-08-21 11:53.05 ---> using "89c0d5b2fe570feb263b6b877f4a74fc7852848742c1e7bf67376a49e67c91a9" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-08-21 11:53.05 ---> using "a4579bc2738a1c75f55f8833c4b1e7b890e43640aa0ba7182d28021317a6e051" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 || git fetch origin master) && git reset -q --hard f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
ee8b9193dd..3578e50709  master     -> origin/master
f9d23e5cb1 Merge pull request #28357 from maiste/release-dune-3.20.0


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+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-08-21 11:53.05 ---> using "15d549419e554f065bae0d5fc451344b356f7197843233fd058b91a658f8507e" from cache


/src: (copy (src sqlgg.opam) (dst ./))
2025-08-21 11:53.05 ---> using "10747132ee3c8f18e6dabe270120258f7471654ebd6e58bd2123dcd946cb8c8d" from cache


/src: (run (network host)
(shell "opam pin add -yn sqlgg.dev './'"))
[sqlgg.dev] synchronised (file:///src)
[WARNING] Failed checks on sqlgg package definition from source at file:///src:
error  3: File format error in 'pin-depends' at line 43, column 4: while expecting versioned package: OpamPackage.of_string
sqlgg is now pinned to file:///src (version dev)
2025-08-21 11:53.05 ---> using "90b3c66a8fb5c493b227ede07237e476f952ec8a9469cf543113e359ad689f56" from cache


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-08-21 11:53.05 ---> using "94264893544f989f404d9ca3231fbcd31460b0c1173fae359ab84d5dc7d0886e" from cache


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 dune.3.20.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.1 ppxlib.0.36.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 yojson.3.0.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"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- 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 [21.8 kB]
- Ign:4 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [6924 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [274 kB]
- Fetched 558 kB in 0s (1382 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-08-21 11:53.05 ---> using "40290a09fdd9ed0771301c916815283eb5c345fb176dc49f9f6bbdd9f7c3dac2" from cache


/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 19 packages
- install cppo                1.8.0
- install dune                3.20.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.1
- install ppxlib              0.36.0
- install seq                 base
- install sexplib0            v0.16.0
- install stdlib-shims        0.3.0
- install yojson              3.0.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.1  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved yojson.3.0.0  (cached)
-> retrieved ppxlib.0.36.0  (cached)
-> retrieved dune.3.20.0  (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.20.0
-> installed ppx_derivers.1.2.1
-> installed menhirCST.20240715
-> installed stdlib-shims.0.3.0
-> installed mybuild.7
-> installed menhirSdk.20240715
-> 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 yojson.3.0.0
-> installed extlib.1.8.0
-> installed ppxlib.0.36.0
-> installed menhir.20240715
-> installed ppx_deriving.6.1.1
Done.
# Run eval $(opam env) to update the current shell environment
2025-08-21 11:53.05 ---> using "3f8f113b1c1613f7fe6c5bd91cfd4bdd8d78524594dc105160efc2cd0e97812c" from cache


/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.20.0).
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.3.0  [required by odoc]
- install crunch        4.0.0  [required by odoc]
- install fmt           0.11.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.1.0
- install odoc-parser   3.1.0  [required by odoc]
- install ptime         1.2.0  [required by crunch]
- install re            1.13.2 [required by tyxml]
- install topkg         1.1.0  [required by fmt, astring, fpath]
- install tyxml         4.6.0  [required by odoc]
- install uutf          1.0.4  [required by tyxml]


<><> 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.11.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved re.1.13.2  (cached)
-> retrieved topkg.1.1.0  (cached)
-> retrieved tyxml.4.6.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> installed camlp-streams.5.0.1
-> retrieved odoc.3.1.0, odoc-parser.3.1.0  (cached)
-> installed re.1.13.2
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed ptime.1.2.0
-> installed crunch.4.0.0
-> installed fpath.0.7.3
-> installed odoc-parser.3.1.0
-> installed tyxml.4.6.0
-> installed odoc.3.1.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-08-21 11:53.05 ---> using "5aba160d89a10e2fb233445105fc0d4a0fc87d8acfa1e0ff25da333b66ef4271" from cache


/src: (copy (src .) (dst /src/))
2025-08-21 11:53.05 ---> using "20a6a2c4b517557d6a02ac99a90f2d5516ffe7acba64ab1c5a077e324a693437" from cache


/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: 117 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 ../../json_path/.sqlgg_json_path.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 66, characters 4-24:
Warning: Failed to resolve reference unresolvedroot(Oops) Couldn't find "Oops"
File "impl/ocaml/sqlgg_traits.ml", line 61, characters 4-24:
Warning: Failed to resolve reference unresolvedroot(Oops) Couldn't find "Oops"
File "impl/ocaml/sqlgg_traits.ml", line 55, characters 4-24:
Warning: Failed to resolve reference unresolvedroot(Oops) Couldn't find "Oops"
File "impl/ocaml/sqlgg_traits.ml", line 49, 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 ../../json_path/.sqlgg_json_path.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-08-21 11:53.05 ---> using "5beafbd5f7fba6b3407211dd5bce01fcd9415123927149b562f8bf4b122796b7" from cache
Job succeeded
2025-08-21 11:53.05: Job succeeded