Organisationsocaml-gospelgospel098cdc ()(lint-doc)

(lint-doc)

Link Copied
Code Copied

Logs

2025-04-22 12:03.04: New job: test ocaml-gospel/gospel https://github.com/ocaml-gospel/gospel.git#refs/pull/449/head (098cdc0abf5f5d03e9865f772bbb190de83200a2) (linux-x86_64:(lint-doc))
Base: ocaml/opam:alpine-3.21-ocaml-4.14@sha256:700cef7086e5ab8f24a42fb371b7be0855051db65c822dc447f90adc9609dbb7
Opam project lint documentation


To reproduce locally:


git clone --recursive "https://github.com/ocaml-gospel/gospel.git" && cd "gospel" && git fetch origin "refs/pull/449/head" && git reset --hard 098cdc0a
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-4.14@sha256:700cef7086e5ab8f24a42fb371b7be0855051db65c822dc447f90adc9609dbb7
# alpine-3.21-4.14_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 442eddb8a363418dcb02e519972818da08bb7cd4 || git fetch origin master) && git reset -q --hard 442eddb8a363418dcb02e519972818da08bb7cd4 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 gospel.opam ./
RUN opam pin add -yn gospel.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="astring.0.8.5 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.8.0 crunch.4.0.0 dune.3.18.1 dune-build-info.3.18.1 fmt.0.10.0 fpath.0.7.3 inferno.20220603 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 odoc.3.0.0 odoc-parser.3.0.0 pp_loc.2.1.0 pprint.20230830 ppx_blob.0.9.0 ppx_derivers.1.2.1 ppx_deriving.6.1.0 ppxlib.0.36.0 ptime.1.2.0 re.1.12.0 result.1.5 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.8 tyxml.4.6.0 unionFind.20220122 uutf.1.0.4 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y gospel.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-22 12:03.04: Using cache hint "ocaml-gospel/gospel-ocaml/opam:alpine-3.21-ocaml-4.14@sha256:700cef7086e5ab8f24a42fb371b7be0855051db65c822dc447f90adc9609dbb7-alpine-3.21-4.14_opam-2.3-752c5eff9230d407c87abe60fda7c47c"
2025-04-22 12:03.04: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:700cef7086e5ab8f24a42fb371b7be0855051db65c822dc447f90adc9609dbb7)
(comment alpine-3.21-4.14_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 442eddb8a363418dcb02e519972818da08bb7cd4 || git fetch origin master) && git reset -q --hard 442eddb8a363418dcb02e519972818da08bb7cd4 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src gospel.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn gospel.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "astring.0.8.5 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.8.0 crunch.4.0.0 dune.3.18.1 dune-build-info.3.18.1 fmt.0.10.0 fpath.0.7.3 inferno.20220603 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 odoc.3.0.0 odoc-parser.3.0.0 pp_loc.2.1.0 pprint.20230830 ppx_blob.0.9.0 ppx_derivers.1.2.1 ppx_deriving.6.1.0 ppxlib.0.36.0 ptime.1.2.0 re.1.12.0 result.1.5 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.8 tyxml.4.6.0 unionFind.20220122 uutf.1.0.4 yojson.2.2.2")
(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 gospel.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-22 12:03.04: Waiting for resource in pool OCluster
2025-04-22 12:03.04: Waiting for worker…
2025-04-22 12:03.05: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 098cdc0 wip


(from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:700cef7086e5ab8f24a42fb371b7be0855051db65c822dc447f90adc9609dbb7)
Unable to find image 'ocaml/opam:alpine-3.21-ocaml-4.14@sha256:700cef7086e5ab8f24a42fb371b7be0855051db65c822dc447f90adc9609dbb7' locally
docker.io/ocaml/opam@sha256:700cef7086e5ab8f24a42fb371b7be0855051db65c822dc447f90adc9609dbb7: Pulling from ocaml/opam
47b08425ee9b: Pulling fs layer
47b08425ee9b: Verifying Checksum
47b08425ee9b: Download complete
47b08425ee9b: Pull complete
Digest: sha256:700cef7086e5ab8f24a42fb371b7be0855051db65c822dc447f90adc9609dbb7
Status: Downloaded newer image for ocaml/opam@sha256:700cef7086e5ab8f24a42fb371b7be0855051db65c822dc447f90adc9609dbb7
2025-04-22 12:03.07 ---> using "bd1a6ff8682763d02f6ea8340f8477bfdb4114ca8e4b584f0035829bd3e9edc4" from cache


/: (comment alpine-3.21-4.14_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-22 12:03.07 ---> using "1e768ab192c1ef233580be4401101bcec996970e8cfd76d51991ffbb6de0143d" 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-04-22 12:03.07 ---> using "552ec253a075eff7981fc1c5929d6fb443f7f0c32c407759f7add1e1a864f045" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.2.1
2025-04-22 12:03.07 ---> using "13bd868b1d370a8045beff632e34a1589bb99d25d144599ac3532ce4126e36bf" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-04-22 12:03.07 ---> using "9bbf3b927b6935ac26c5d007aee97900aca840330edfbeb00ab3be168e3015fd" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 442eddb8a363418dcb02e519972818da08bb7cd4 || git fetch origin master) && git reset -q --hard 442eddb8a363418dcb02e519972818da08bb7cd4 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
da74d7829f..999bff3ed8  master     -> origin/master
442eddb8a3 Merge pull request #27761 from maiste/release-dune-3.18.1


<><> 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-04-22 12:03.07 ---> using "d6cb7dbbf26daeb51f65c68a7e4a4877c95469c94bb7e86f6477e4483713d5b3" from cache


/src: (copy (src gospel.opam) (dst ./))
2025-04-22 12:03.07 ---> using "4390dd6d2c39256c8264d3ba8e0c3697af4bc9edd230b577ab9a8e169027926f" from cache


/src: (run (network host)
(shell "opam pin add -yn gospel.dev './'"))
[gospel.dev] synchronised (file:///src)
gospel is now pinned to file:///src (version dev)
2025-04-22 12:03.07 ---> using "b28c1ba311a87e01607c35dc29ca08718c946297c434ffa235b2bf1e9d442064" from cache


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-04-22 12:03.07 ---> using "9f53c9cb41a7b07c620a116cfb074a430c291a6cc102fb05c4407d8cf5dfc92b" from cache


/src: (env DEPS "astring.0.8.5 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.8.0 crunch.4.0.0 dune.3.18.1 dune-build-info.3.18.1 fmt.0.10.0 fpath.0.7.3 inferno.20220603 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 odoc.3.0.0 odoc-parser.3.0.0 pp_loc.2.1.0 pprint.20230830 ppx_blob.0.9.0 ppx_derivers.1.2.1 ppx_deriving.6.1.0 ppxlib.0.36.0 ptime.1.2.0 re.1.12.0 result.1.5 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.8 tyxml.4.6.0 unionFind.20220122 uutf.1.0.4 yojson.2.2.2")


/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 gospel.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.21.3-357-g39d49089a10 [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.3-358-g5686bc96b73 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v20250108-6143-g22de1756710 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20250108-6152-gc43bb8f5957 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20250108-6151-g2eddd08a087 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 57868 distinct packages available


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[gospel.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.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-22 12:03.07 ---> using "1cb30f6c1ce7f6afc72b90de676fa586bfebd1dd60a82cd3904a3788cca653cd" 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.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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 36 packages
- install astring             0.8.5
- install camlp-streams       5.0.1
- install cmdliner            1.3.0
- install cppo                1.8.0
- install crunch              4.0.0
- install dune                3.18.1
- install dune-build-info     3.18.1
- install fmt                 0.10.0
- install fpath               0.7.3
- install inferno             20220603
- install menhir              20240715
- install menhirCST           20240715
- install menhirLib           20240715
- install menhirSdk           20240715
- install ocaml-compiler-libs v0.12.4
- install ocamlbuild          0.16.1
- install ocamlfind           1.9.8
- install odoc                3.0.0
- install odoc-parser         3.0.0
- install pp_loc              2.1.0
- install pprint              20230830
- install ppx_blob            0.9.0
- install ppx_derivers        1.2.1
- install ppx_deriving        6.1.0
- install ppxlib              0.36.0
- install ptime               1.2.0
- install re                  1.12.0
- install result              1.5
- install seq                 base
- install sexplib0            v0.17.0
- install stdlib-shims        0.3.0
- install topkg               1.0.8
- install tyxml               4.6.0
- install unionFind           20220122
- install uutf                1.0.4
- install yojson              2.2.2


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved crunch.4.0.0  (cached)
-> retrieved fmt.0.10.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved inferno.20220603  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved dune.3.18.1, dune-build-info.3.18.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved odoc.3.0.0, odoc-parser.3.0.0  (cached)
-> retrieved pp_loc.2.1.0  (cached)
-> retrieved pprint.20230830  (cached)
-> retrieved ppx_blob.0.9.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_deriving.6.1.0  (cached)
-> installed cmdliner.1.3.0
-> retrieved ptime.1.2.0  (cached)
-> retrieved re.1.12.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved ppxlib.0.36.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved unionFind.20220122  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved tyxml.4.6.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved yojson.2.2.2  (cached)
-> installed ocamlfind.1.9.8
-> 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 fpath.0.7.3
-> installed dune.3.18.1
-> installed camlp-streams.5.0.1
-> installed cppo.1.8.0
-> installed crunch.4.0.0
-> installed menhirCST.20240715
-> installed ppx_derivers.1.2.1
-> installed pp_loc.2.1.0
-> installed stdlib-shims.0.3.0
-> installed result.1.5
-> installed menhirLib.20240715
-> installed menhirSdk.20240715
-> installed pprint.20230830
-> installed sexplib0.v0.17.0
-> installed unionFind.20220122
-> installed dune-build-info.3.18.1
-> installed re.1.12.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed inferno.20220603
-> installed odoc-parser.3.0.0
-> installed yojson.2.2.2
-> installed tyxml.4.6.0
-> installed odoc.3.0.0
-> installed menhir.20240715
-> installed ppxlib.0.36.0
-> installed ppx_blob.0.9.0
-> installed ppx_deriving.6.1.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-04-22 12:03.07 ---> using "af1850cb93823d65f4429eb7fae6467f77fd5a3a1c82e231b263a1e0ca1b5efc" 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 odoc is already installed (current version is 3.0.0).
[NOTE] Package dune is already installed (current version is 3.18.1).
2025-04-22 12:03.07 ---> using "8a7902b91184c5d96796e8d884341cdd7020f1a7988c67bc8d7b591a0f8cd1db" from cache


/src: (copy (src .) (dst /src/))
2025-04-22 12:03.07 ---> saved as "d0bbf1c70e99c66391fc8d6d16f74bec402bb1d38a0c8afd6e7d382a969ce167"


/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.14/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -I src/.gospel.objs/byte -I src/.gospel.objs/native -I /home/opam/.opam/4.14/lib/findlib -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/inferno -I /home/opam/.opam/4.14/lib/ocaml-compiler-libs/common -I /home/opam/.opam/4.14/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/4.14/lib/ocaml/compiler-libs -I /home/opam/.opam/4.14/lib/pp_loc -I /home/opam/.opam/4.14/lib/pprint -I /home/opam/.opam/4.14/lib/ppx_derivers -I /home/opam/.opam/4.14/lib/ppx_deriving/runtime -I /home/opam/.opam/4.14/lib/ppxlib -I /home/opam/.opam/4.14/lib/ppxlib/ast -I /home/opam/.opam/4.14/lib/ppxlib/astlib -I /home/opam/.opam/4.14/lib/ppxlib/print_diff -I /home/opam/.opam/4.14/lib/ppxlib/stdppx -I /home/opam/.opam/4.14/lib/ppxlib/traverse_builtins -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/unionFind -intf-suffix .ml -no-alias-deps -opaque -open Gospel -o src/.gospel.objs/native/gospel__Typing.cmx -c -impl src/typing.pp.ml)
File "src/typing.ml", line 648, characters 16-19:
648 | let ocaml_value env v =
^^^
Error (warning 27 [unused-var-strict]): unused variable env.
File "src/typing.ml", line 651, characters 6-12:
651 |   let header =
^^^^^^
Error (warning 26 [unused-var]): unused variable header.
dune build @doc failed
"/usr/bin/env" "bash" "-c" "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo "dune build @doc failed"; exit 2)" failed with exit status 2
2025-04-22 12:03.13: Job failed: Failed: Build failed