Organisationsygreksqlggbd80a5 ()(lint-doc)

(lint-doc)

Link Copied
Code Copied

Logs

2025-09-04 00:47.08: New job: test ygrek/sqlgg https://github.com/ygrek/sqlgg.git#refs/heads/master (bd80a51c80d8cd748f97610ce7b8ae9a082cf2ad) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-12-ocaml-4.13@sha256:82995650716dfa5571ab27cef4daad7a51dcacc741efbc8840b1acc0c1e76892
Opam project lint documentation


To reproduce locally:


git clone --recursive "https://github.com/ygrek/sqlgg.git" -b "master" && cd "sqlgg" && git reset --hard bd80a51c
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.13@sha256:82995650716dfa5571ab27cef4daad7a51dcacc741efbc8840b1acc0c1e76892
# 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 e28312d8e0d10f256ec9998ff7e868cb6e010778 || git fetch origin master) && git reset -q --hard e28312d8e0d10f256ec9998ff7e868cb6e010778 && 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.1 extlib.1.8.0 menhir.20250903 menhirCST.20250903 menhirLib.20250903 menhirSdk.20250903 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-09-04 00:47.08: Using cache hint "ygrek/sqlgg-ocaml/opam:debian-12-ocaml-4.13@sha256:82995650716dfa5571ab27cef4daad7a51dcacc741efbc8840b1acc0c1e76892-debian-12-4.13_opam-2.4-d0b59bec37c790ac596f8dea23819e44"
2025-09-04 00:47.08: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.13@sha256:82995650716dfa5571ab27cef4daad7a51dcacc741efbc8840b1acc0c1e76892)
(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 e28312d8e0d10f256ec9998ff7e868cb6e010778 || git fetch origin master) && git reset -q --hard e28312d8e0d10f256ec9998ff7e868cb6e010778 && 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.1 extlib.1.8.0 menhir.20250903 menhirCST.20250903 menhirLib.20250903 menhirSdk.20250903 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-09-04 00:47.08: Waiting for resource in pool OCluster
2025-09-04 20:10.42: Waiting for worker…
2025-09-04 20:26.57: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at bd80a51 Merge pull request #231 from jongleb/add-single-module-with-labeled


(from ocaml/opam:debian-12-ocaml-4.13@sha256:82995650716dfa5571ab27cef4daad7a51dcacc741efbc8840b1acc0c1e76892)
2025-09-04 20:26.58 ---> using "49636d2f622f617764c020caa9f13c4dca5229262c8d8f0f9db7a8295b25df12" 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-09-04 20:26.58 ---> saved as "6d3e004f4ca1d90691f8516bde217f18c00a1b0b0e4e0296766e1751362e4c55"


/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 71 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=71 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-09-04 20:27.26 ---> saved as "716f382d2decb2823c0ccecccc0a368ca5ac0e10a32a3535c3599a35e9019d26"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 4.13.1
2.2.1
2025-09-04 20:27.26 ---> saved as "36a1dd6b542487736c9d12c3a3c37c832c7dce8e0bcb94edb6bbaa7fbb895de2"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-09-04 20:27.27 ---> saved as "3db45bc4b1bbc0f78b12760daa6b6191599442bd9d7c04c8705367b3c8060da0"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e e28312d8e0d10f256ec9998ff7e868cb6e010778 || git fetch origin master) && git reset -q --hard e28312d8e0d10f256ec9998ff7e868cb6e010778 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
ee24528071..8793cd66e3  master     -> origin/master
e28312d8e0 Merge pull request #28436 from fpottier/opam-publish-menhir.20250903


<><> 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-09-04 20:27.55 ---> saved as "9f9a29939dbb50a68d48712af0b559da01024ffbbfa64f13df9e3a62c455d8fb"


/src: (copy (src sqlgg.opam) (dst ./))
2025-09-04 20:27.55 ---> saved as "f8b347b6f3129b9a5523ac37df2aaa1dad12e5cf7cdd6f0cb59c34e1ffda980e"


/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-09-04 20:27.57 ---> saved as "f1d3cec2a969016ab58b603a2e7218d882f0c79b90ca187bb4e3fdb965a2821a"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-04 20:27.58 ---> saved as "0ff1249b56268880b1da406cb0317144e7a23f39dabb18d0530eb986a9cf4fa2"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 dune.3.20.1 extlib.1.8.0 menhir.20250903 menhirCST.20250903 menhirLib.20250903 menhirSdk.20250903 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"
- 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 [277 kB]
- Fetched 380 kB in 0s (917 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-09-04 20:28.07 ---> saved as "c670b9d529798f9eb37a2e325ec6b254e5b2e90838276184f0ebddf9d75739cd"


/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.1
- install extlib              1.8.0
- install menhir              20250903
- install menhirCST           20250903
- install menhirLib           20250903
- install menhirSdk           20250903
- 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 menhir.20250903, menhirCST.20250903, menhirLib.20250903, menhirSdk.20250903  (cached)
-> retrieved dune.3.20.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ounit.2.2.7, ounit2.2.2.7  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved ppx_deriving.6.1.1  (cached)
-> 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)
-> installed ocamlfind.1.9.8
-> installed dune.3.20.1
-> installed menhirCST.20250903
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed mybuild.7
-> installed menhirSdk.20250903
-> installed sexplib0.v0.16.0
-> installed menhirLib.20250903
-> installed cppo.1.8.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed ounit2.2.2.7
-> installed ounit.2.2.7
-> installed yojson.3.0.0
-> installed extlib.1.8.0
-> installed menhir.20250903
-> installed ppxlib.0.36.0
-> installed ppx_deriving.6.1.1
Done.
# Run eval $(opam env) to update the current shell environment
2025-09-04 20:29.04 ---> saved as "1838b2dd7e23afc0772df1bc288d0896657b5f09d7bc2ade50aa1385c97caea2"


/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.1).
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 cmdliner.1.3.0  (cached)
-> retrieved crunch.4.0.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 uutf.1.0.4  (cached)
-> retrieved tyxml.4.6.0  (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 ptime.1.2.0
-> installed astring.0.8.5
-> 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-09-04 20:29.37 ---> saved as "ea9e2f1efe2d719945a71f362cec80f47127bc57cf63ac72f3e9965fde2e38ff"


/src: (copy (src .) (dst /src/))
2025-09-04 20:29.37 ---> saved as "fdb6bdddc7e2de01ed4167d566806bd67b757bc87ca960079f9c67652426947b"


/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-09-04 20:29.41 ---> saved as "8a8e1ff9021e9f3cb309c4fe211afc167785fb2e798f181e4e9f31c0d17a09a4"
Job succeeded
2025-09-04 20:29.41: Job succeeded