Organisationsygreksqlgg804da7 ()(lint-doc)

(lint-doc)

Link Copied
Code Copied

Logs

2025-07-31 07:25.40: New job: test ygrek/sqlgg https://github.com/ygrek/sqlgg.git#refs/heads/ahrefs (804da7d2e7e9c07897f47750ba75b1403ed7f305) (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 "ahrefs" && cd "sqlgg" && git reset --hard 804da7d2
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 b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && 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.19.1 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-07-31 07:25.40: Using cache hint "ygrek/sqlgg-ocaml/opam:debian-12-ocaml-4.13@sha256:1724e002db502cc9263886f9b877b24d901b9d2e470d641b4ae8d6d6d06f4a2b-debian-12-4.13_opam-2.4-f2c4e96e3c986a68068bb8d2e38eff29"
2025-07-31 07:25.40: 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 b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && 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.19.1 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-07-31 07:25.40: Waiting for resource in pool OCluster
2025-07-31 11:29.15: Waiting for worker…
2025-07-31 11:34.23: Got resource from pool OCluster
Building on phoebe
All commits already cached
HEAD is now at 804da7d Merge pull request #210 from jongleb/fix-type-json


(from ocaml/opam:debian-12-ocaml-4.13@sha256:1724e002db502cc9263886f9b877b24d901b9d2e470d641b4ae8d6d6d06f4a2b)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.13@sha256:1724e002db502cc9263886f9b877b24d901b9d2e470d641b4ae8d6d6d06f4a2b' locally
docker.io/ocaml/opam@sha256:1724e002db502cc9263886f9b877b24d901b9d2e470d641b4ae8d6d6d06f4a2b: Pulling from ocaml/opam
2b437dab448b: Already exists
80a145014258: Pulling fs layer
a7a04205cbfe: Pulling fs layer
b6ad3a1fea2a: Pulling fs layer
b785b2baee50: Pulling fs layer
80a145014258: Waiting
a7a04205cbfe: Waiting
b6ad3a1fea2a: Waiting
b785b2baee50: Waiting
80a145014258: Verifying Checksum
80a145014258: Download complete
a7a04205cbfe: Verifying Checksum
a7a04205cbfe: Download complete
80a145014258: Pull complete
a7a04205cbfe: Pull complete
b6ad3a1fea2a: Download complete
b6ad3a1fea2a: Pull complete
b785b2baee50: Verifying Checksum
b785b2baee50: Download complete
b785b2baee50: Pull complete
Digest: sha256:1724e002db502cc9263886f9b877b24d901b9d2e470d641b4ae8d6d6d06f4a2b
Status: Downloaded newer image for ocaml/opam@sha256:1724e002db502cc9263886f9b877b24d901b9d2e470d641b4ae8d6d6d06f4a2b
2025-07-31 11:34.24 ---> 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-07-31 11:34.25 ---> saved as "d6eb05498c07bbd01507e2968c8bae43096372e140cbd279f42e60ddf0fd7721"


/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-07-31 11:35.15 ---> saved as "89426fc87c9777e06247465f1464097e1ae48fe89b57b5c2d15156897fe458b6"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-63-generic
The OCaml toplevel, version 4.13.1
2.2.1
2025-07-31 11:35.16 ---> saved as "89c0d5b2fe570feb263b6b877f4a74fc7852848742c1e7bf67376a49e67c91a9"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-07-31 11:35.17 ---> saved as "a4579bc2738a1c75f55f8833c4b1e7b890e43640aa0ba7182d28021317a6e051"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && git log --no-decorate -n1 --oneline && opam update -u"))
b8021439f8 Merge pull request #28261 from kit-ty-kate/deploy-fix-25819


<><> 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-07-31 11:35.53 ---> saved as "9c64315dd7bbc0a04319b3a9bb98d274e75da101e1731d0e032e971d5d286446"


/src: (copy (src sqlgg.opam) (dst ./))
2025-07-31 11:35.54 ---> saved as "7731330835830540f67394a19ee88768c3bc2b5c797f72a47868584090da5a62"


/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-07-31 11:35.57 ---> saved as "bee9e61f3e31871601cbb0a29e464df35c57482a137c209fcc3f6a0920e22bc7"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-31 11:35.57 ---> saved as "034d6899d68f3ee584a7867e3c2f255e50a0fdff1d1f31b0b095da10e5940392"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 dune.3.19.1 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"
- 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 [19.6 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 [6916 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [272 kB]
- Fetched 402 kB in 1s (691 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-07-31 11:36.20 ---> saved as "a47e7305b9330187b3b1d11b762442cb5adb31a54a05e6fdc04f1ab2e7838052"


/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.19.1
- 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 menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (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 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.19.1  (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.19.1
-> installed menhirCST.20240715
-> installed ppx_derivers.1.2.1
-> 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 menhir.20240715
-> installed ppxlib.0.36.0
-> installed ppx_deriving.6.1.1
Done.
# Run eval $(opam env) to update the current shell environment
2025-07-31 11:39.00 ---> saved as "ed05e4b04bd88e21ca428fbe1d5861e335c5af7db358ec1290efdec3c221407a"


/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.19.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.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.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.10.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.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.1.0
-> installed tyxml.4.6.0
-> installed odoc.3.1.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-07-31 11:40.22 ---> saved as "b78505b974b06b3b2a8c22d5947253f2c39496b5c9af4d3d511e7a622af8cf96"


/src: (copy (src .) (dst /src/))
2025-07-31 11:40.23 ---> saved as "61ac811df01c3e2be6b987cf27c6fc752d17b7fc1433dd3ea8f37d734646221f"


/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: 131 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-07-31 11:40.33 ---> saved as "50f0569fd01e13cc678a3d89b798e09eb0e8912c58b06b46eb1fc4ed6b3932da"
Job succeeded
2025-07-31 11:40.33: Job succeeded