Organisationsygreksqlgge768e9 ()(lint-doc)

(lint-doc)

Link Copied
Code Copied

Logs

2024-09-19 07:52.18: New job: test ygrek/sqlgg https://github.com/ygrek/sqlgg.git#refs/pull/134/head (e768e91a2723ab6a5292f93bd0e396d050c930c9) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-12-ocaml-4.03@sha256:3429c9c83553ca69e96a9c37ad35f7d175a97ee54b9093e8a7f97859374dcd75
Opam project lint documentation


To reproduce locally:


git clone --recursive "https://github.com/ygrek/sqlgg.git" && cd "sqlgg" && git fetch origin "refs/pull/134/head" && git reset --hard e768e91a
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.03@sha256:3429c9c83553ca69e96a9c37ad35f7d175a97ee54b9093e8a7f97859374dcd75
# debian-12-4.03_opam-2.2
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 c719e6fe93b2bb00a385beeb0ff085f050f1baad || git fetch origin master) && git reset -q --hard c719e6fe93b2bb00a385beeb0ff085f050f1baad && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 sqlgg.opam ./
RUN opam pin add -yn sqlgg.dev './'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.7.0 dune.3.16.0 extlib.1.8.0 host-arch-x86_64.1 host-system-other.1 menhir.20230608 menhirLib.20230608 menhirSdk.20230608 mybuild.7 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-migrate-parsetree.1.8.0 ocaml-secondary-compiler.4.14.2 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ounit.2.2.2 ounit2.2.2.2 ppx_derivers.1.2.1 ppx_deriving.4.5-1 ppx_tools.5.0+4.03.0 ppxfind.1.4 result.1.5 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


2024-09-19 07:52.18: Using cache hint "ygrek/sqlgg-ocaml/opam:debian-12-ocaml-4.03@sha256:3429c9c83553ca69e96a9c37ad35f7d175a97ee54b9093e8a7f97859374dcd75-debian-12-4.03_opam-2.2-4bd4d0f320dca4eabafc1fc35d82743f"
2024-09-19 07:52.18: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.03@sha256:3429c9c83553ca69e96a9c37ad35f7d175a97ee54b9093e8a7f97859374dcd75)
 (comment debian-12-4.03_opam-2.2)
 (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 c719e6fe93b2bb00a385beeb0ff085f050f1baad || git fetch origin master) && git reset -q --hard c719e6fe93b2bb00a385beeb0ff085f050f1baad && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src sqlgg.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn sqlgg.dev './'"))
 (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.7.0 dune.3.16.0 extlib.1.8.0 host-arch-x86_64.1 host-system-other.1 menhir.20230608 menhirLib.20230608 menhirSdk.20230608 mybuild.7 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-migrate-parsetree.1.8.0 ocaml-secondary-compiler.4.14.2 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ounit.2.2.2 ounit2.2.2.2 ppx_derivers.1.2.1 ppx_deriving.4.5-1 ppx_tools.5.0+4.03.0 ppxfind.1.4 result.1.5 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)"))
)


2024-09-19 07:52.18: Waiting for resource in pool OCluster
2024-09-19 07:52.19: Waiting for worker…
2024-09-19 07:52.59: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at e768e91 error if missing non null and defaults fields


(from ocaml/opam:debian-12-ocaml-4.03@sha256:3429c9c83553ca69e96a9c37ad35f7d175a97ee54b9093e8a7f97859374dcd75)
2024-09-19 07:52.59 ---> using "3683a94cc60f1ddba4171b11aff425879ef9f25421871ba862b4d9963cbbd42b" from cache


/: (comment debian-12-4.03_opam-2.2)


/: (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"))
2024-09-19 07:52.59 ---> using "8e1a2c4d496430258807646f7f406abf0aa2fc0732054f8777bf92a644fec109" 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
[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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-09-19 07:54.08 ---> saved as "4b54ad255585a5ee86e4678696077deabab8b51df3105a575858e4bf7f54bc60"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-121-generic
The OCaml toplevel, version 4.03.0
2.2.1
2024-09-19 07:54.09 ---> saved as "4ee9256bec96f317dbc40ef56429079a93269f0c2866a5152e834cd8a59a1100"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-09-19 07:54.09 ---> saved as "338ce51253992400e047e2e34b7c836a4e143bd8c05bce3567abd15e20dcef17"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e c719e6fe93b2bb00a385beeb0ff085f050f1baad || git fetch origin master) && git reset -q --hard c719e6fe93b2bb00a385beeb0ff085f050f1baad && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   e89899ac28..c719e6fe93  master     -> origin/master
c719e6fe93 Merge pull request #26584 from kit-ty-kate/opam-publish-extlib.1.8.0


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository


The following actions will be performed:
=== upgrade 1 package
  - upgrade ocaml-secondary-compiler 4.08.1-1 to 4.14.2
=== install 2 packages
  - install host-arch-x86_64         1
  - install host-system-other        1


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed host-arch-x86_64.1
-> installed host-system-other.1
-> retrieved ocaml-secondary-compiler.4.14.2  (cached)
-> removed   ocaml-secondary-compiler.4.08.1-1
-> installed ocaml-secondary-compiler.4.14.2
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-19 07:56.47 ---> saved as "59a57b720f8b2e48cdf5a60f221a9db0b9dd67673fd256c36a8c456a438d374e"


/src: (copy (src sqlgg.opam) (dst ./))
2024-09-19 07:56.47 ---> saved as "bb0fb3dc9ab012dc93b8f538b152fa0e779e18fbbb59e5d101d859178a9677de"


/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)
2024-09-19 07:56.49 ---> saved as "7527eca0aeb53c52ec8cbb51c1ffa6d84535a9a8323291c92ad6f6d97cfd7848"


/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.7.0 dune.3.16.0 extlib.1.8.0 host-arch-x86_64.1 host-system-other.1 menhir.20230608 menhirLib.20230608 menhirSdk.20230608 mybuild.7 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-migrate-parsetree.1.8.0 ocaml-secondary-compiler.4.14.2 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ounit.2.2.2 ounit2.2.2.2 ppx_derivers.1.2.1 ppx_deriving.4.5-1 ppx_tools.5.0+4.03.0 ppxfind.1.4 result.1.5 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"
- 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/main amd64 Packages [8787 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index [11.7 kB]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [182 kB]
- Get:7 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1116 B]
- Get:7 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1116 B]
- Fetched 9237 kB in 17s (529 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[sqlgg.dev] synchronised (no changes)


[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.03.0).
[NOTE] Package ocaml is already installed (current version is 4.03.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 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).
2024-09-19 07:57.19 ---> saved as "cca6e0c3f9c28b6303e7008f00bd93945589a75e4e6a7980e30516555e633d02"


/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.03.0).
[NOTE] Package ocaml is already installed (current version is 4.03.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 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 base-bytes              base
  - install cppo                    1.7.0
  - install dune                    3.16.0
  - install extlib                  1.8.0
  - install menhir                  20230608
  - install menhirLib               20230608
  - install menhirSdk               20230608
  - install mybuild                 7
  - install ocaml-migrate-parsetree 1.8.0 (deprecated)
  - install ocamlfind               1.9.6
  - install ocamlfind-secondary     1.9.6
  - install ounit                   2.2.2
  - install ounit2                  2.2.2
  - install ppx_derivers            1.2.1
  - install ppx_deriving            4.5-1
  - install ppx_tools               5.0+4.03.0
  - install ppxfind                 1.4
  - install result                  1.5
  - install stdlib-shims            0.3.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.7.0  (cached)
-> retrieved extlib.1.8.0  (cached)
-> retrieved menhir.20230608, menhirLib.20230608, menhirSdk.20230608  (cached)
-> retrieved dune.3.16.0  (cached)
-> retrieved mybuild.7  (cached)
-> retrieved ocamlfind.1.9.6, ocamlfind-secondary.1.9.6  (cached)
-> retrieved ocaml-migrate-parsetree.1.8.0  (https://github.com/ocaml-ppx/ocaml-migrate-parsetree/releases/download/v1.8.0/ocaml-migrate-parsetree-v1.8.0.tbz)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_deriving.4.5-1  (https://github.com/ocaml-ppx/ppx_deriving/archive/v4.5.tar.gz)
-> retrieved ppx_tools.5.0+4.03.0  (https://github.com/ocaml-ppx/ppx_tools/archive/5.0+4.03.0.tar.gz)
-> retrieved result.1.5  (cached)
-> retrieved ounit.2.2.2, ounit2.2.2.2  (https://github.com/gildor478/ounit/releases/download/v2.2.2/ounit-v2.2.2.tbz)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ppxfind.1.4  (https://github.com/ocaml/opam-source-archives/raw/main/ppxfind-1.4.tbz)
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlfind-secondary.1.9.6
-> installed ppx_tools.5.0+4.03.0
-> installed dune.3.16.0
-> installed ppx_derivers.1.2.1
-> installed result.1.5
-> installed stdlib-shims.0.3.0
-> installed mybuild.7
-> installed menhirSdk.20230608
-> installed menhirLib.20230608
-> installed cppo.1.7.0
-> installed ounit2.2.2.2
-> installed ounit.2.2.2
-> installed extlib.1.8.0
-> installed ocaml-migrate-parsetree.1.8.0
-> installed ppxfind.1.4
-> installed ppx_deriving.4.5-1
-> installed menhir.20230608
Done.


<><> ocaml-migrate-parsetree.1.8.0 installed successfully <><><><><><><><><><><>
=> Note: This package is deprecated.
# Run eval $(opam env) to update the current shell environment
2024-09-19 07:58.12 ---> saved as "603c81ec920a2bb0cd482781df3e72240f1cbcd9fc608c49376b90df119684ed"


/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.16.0).
The following actions will be performed:
=== install 15 packages
  - install astring       0.8.3        [required by odoc]
  - install camlp-streams 5.0.1        [required by odoc-parser]
  - install cmdliner      1.0.4        [required by odoc]
  - install crunch        2.1.0        [required by odoc]
  - install fmt           0.8.6        [required by odoc]
  - install fpath         0.7.3        [required by odoc]
  - install jbuilder      1.0+beta20.2 [required by crunch]
  - install ocamlbuild    0.14.3       [required by fmt, astring, fpath]
  - install odoc          2.4.3
  - install odoc-parser   2.4.3        [required by odoc]
  - install re            1.11.0       [required by tyxml]
  - install seq           0.3.1        [required by fmt, tyxml]
  - install topkg         1.0.4        [required by fmt, astring, fpath]
  - install tyxml         4.5.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.3  (cached)
-> retrieved cmdliner.1.0.4  (cached)
-> retrieved crunch.2.1.0  (cached)
-> retrieved fmt.0.8.6  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved jbuilder.1.0+beta20.2  (cached)
-> installed camlp-streams.5.0.1
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved odoc.2.4.3, odoc-parser.2.4.3  (cached)
-> retrieved re.1.11.0  (cached)
-> retrieved seq.0.3.1  (cached)
-> retrieved topkg.1.0.4  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved tyxml.4.5.0  (cached)
-> installed seq.0.3.1
-> installed cmdliner.1.0.4
-> installed re.1.11.0
-> installed ocamlbuild.0.14.3
-> installed jbuilder.1.0+beta20.2
-> installed crunch.2.1.0
-> installed topkg.1.0.4
-> installed uutf.1.0.3
-> installed fmt.0.8.6
-> installed astring.0.8.3
-> installed fpath.0.7.3
-> installed odoc-parser.2.4.3
-> installed tyxml.4.5.0
-> installed odoc.2.4.3
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-19 07:58.37 ---> saved as "0a869d5c27ecb4ba0d6ee561407455090eccf95a2d0abc9b914900bf3393dbc4"


/src: (copy (src .) (dst /src/))
2024-09-19 07:58.37 ---> saved as "33f5d1b5236c8d10a5c02a8d9fb948dee0f8101eb4e29e9b1c549ff3c230a64a"


/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.03/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 lib/.sqlgg.objs/byte -I /home/opam/.opam/4.03/lib/extlib -I /home/opam/.opam/4.03/lib/ppx_deriving/runtime -I /home/opam/.opam/4.03/lib/result -no-alias-deps -opaque -open Sqlgg -o lib/.sqlgg.objs/byte/sqlgg__Sql.cmo -c -impl lib/sql.pp.ml)
File "lib/sql.ml", line 28, characters 2-89:
Warning 32: unused value show.
File "lib/sql.ml", line 294, characters 0-71:
Warning 32: unused value show_table_name.
(cd _build/default && /home/opam/.opam/4.03/bin/menhir lib/sql_parser.mly --base lib/sql_parser --infer-read-reply lib/sql_parser__mock.mli.inferred)
Warning: 26 states have shift/reduce conflicts.
Warning: 3 states have reduce/reduce conflicts.
Warning: 124 shift/reduce conflicts were arbitrarily resolved.
Warning: 17 reduce/reduce conflicts were arbitrarily resolved.
(cd _build/default/_doc/_html && /home/opam/.opam/4.03/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"
2024-09-19 07:58.39 ---> saved as "0b9c2cad9b626f81e78c10393232fcfe2fa87f66a222c852cd4b668ee9be2758"
Job succeeded
2024-09-19 07:58.39: Job succeeded