Organisationsocaml-gospelgospel8bbeff ()(lint-doc)

(lint-doc)

Link Copied
Code Copied

Logs

2026-03-20 06:56.43: New job: test ocaml-gospel/gospel https://github.com/ocaml-gospel/gospel.git#refs/heads/implementations_gospel (8bbeffff9db0ba8976938e118f9f7081fa016608) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-13-ocaml-4.09@sha256:41e6dcf5676516f92abac434470e80894b320cb1a1eec6b73d3502806da6053a
Opam project lint documentation


To reproduce locally:


git clone --recursive "https://github.com/ocaml-gospel/gospel.git" -b "implementations_gospel" && cd "gospel" && git reset --hard 8bbeffff
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.09@sha256:41e6dcf5676516f92abac434470e80894b320cb1a1eec6b73d3502806da6053a
# debian-13-4.09_opam-2.5
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 9f189ca4f94fbb5f0045820bf3c4ffafb21145ef || git fetch origin master) && git reset -q --hard 9f189ca4f94fbb5f0045820bf3c4ffafb21145ef && 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="base-bigarray.base base-threads.base base-unix.base cmdliner.2.1.0 cppo.1.8.0 dune.3.22.0 fmt.0.11.0 menhir.20260209 menhirCST.20260209 menhirGLR.20260209 menhirLib.20260209 menhirSdk.20260209 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppxlib.0.37.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.1"
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


2026-03-20 06:56.43: Using cache hint "ocaml-gospel/gospel-ocaml/opam:debian-13-ocaml-4.09@sha256:41e6dcf5676516f92abac434470e80894b320cb1a1eec6b73d3502806da6053a-debian-13-4.09_opam-2.5-fe5c3538ab3d45a698bb147291f3d94a"
2026-03-20 06:56.43: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.09@sha256:41e6dcf5676516f92abac434470e80894b320cb1a1eec6b73d3502806da6053a)
(comment debian-13-4.09_opam-2.5)
(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 9f189ca4f94fbb5f0045820bf3c4ffafb21145ef || git fetch origin master) && git reset -q --hard 9f189ca4f94fbb5f0045820bf3c4ffafb21145ef && 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 (shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base cmdliner.2.1.0 cppo.1.8.0 dune.3.22.0 fmt.0.11.0 menhir.20260209 menhirCST.20260209 menhirGLR.20260209 menhirLib.20260209 menhirSdk.20260209 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppxlib.0.37.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.1")
(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)"))
)


2026-03-20 06:56.43: Waiting for resource in pool OCluster
2026-03-20 06:56.43: Waiting for worker…
2026-03-20 06:56.43: Got resource from pool OCluster
Building on phoebe
All commits already cached
HEAD is now at 8bbefff Specification under match-with cases


(from ocaml/opam:debian-13-ocaml-4.09@sha256:41e6dcf5676516f92abac434470e80894b320cb1a1eec6b73d3502806da6053a)
2026-03-20 06:57.56 ---> saved as "28cee70f2eb4fa8fb33112744eaac147d7365d8f1114c87e4f5433c6be525f95"


/: (comment debian-13-4.09_opam-2.5)


/: (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"))
2026-03-20 06:57.56 ---> saved as "b218a5937719b88d767e1805b6d9f4816018c3f77b0310d260855a452b7509b9"


/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
2026-03-20 06:58.39 ---> saved as "f9c3c54183378e1425d2ef79c3b8793586326a3768071b9b25df8e9f6de804ab"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-90-generic
The OCaml toplevel, version 4.09.1
2.2.1
2026-03-20 06:58.40 ---> saved as "097532b4e511a8fdc53c8b1ae9ef5d8c8a6230819091cb8c15aa9855e06cecac"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-03-20 06:58.40 ---> saved as "893ffe889397e839419471dc50a951cca91e36943d07791acac1953697cc2045"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 9f189ca4f94fbb5f0045820bf3c4ffafb21145ef || git fetch origin master) && git reset -q --hard 9f189ca4f94fbb5f0045820bf3c4ffafb21145ef && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
ffb54b9bdd..9f189ca4f9  master     -> origin/master
9f189ca4f9 Merge pull request #29562 from shonfeder/release-dune-3.22.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
2026-03-20 06:59.05 ---> saved as "b890c2c5bb64991c73ae2b22c97a932771a84795d23fad6cec1559ef2a79f2e8"


/src: (copy (src gospel.opam) (dst ./))
2026-03-20 06:59.05 ---> saved as "f98a8f30d876f5b73857691cea1bf5c0252a593295e5e75013321bf4c6a22b8d"


/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)
2026-03-20 06:59.06 ---> saved as "131e720daf6ab1f3db49a168c13b04eae29dd21f6f9b71fd341fe07c574cb61d"


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-03-20 06:59.06 ---> saved as "f0734875d7bb567d45ed180d0807889122cd55bb3c9de36aa6aca4bd170590b2"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base cmdliner.2.1.0 cppo.1.8.0 dune.3.22.0 fmt.0.11.0 menhir.20260209 menhirCST.20260209 menhirGLR.20260209 menhirLib.20260209 menhirSdk.20260209 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppxlib.0.37.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.1")


/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 "apt-get" "update"
- Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian trixie/main amd64 Packages [9671 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [116 kB]
- Fetched 10.0 MB in 1s (7677 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[gospel.dev] synchronised (file:///src)


[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.09.1).
[NOTE] Package ocaml is already installed (current version is 4.09.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).
2026-03-20 06:59.17 ---> saved as "e211aca9851382b0d851757007cd035e7dbf5f1b675663b97b20ad31f5fe82f3"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.09.1).
[NOTE] Package ocaml is already installed (current version is 4.09.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 18 packages
- install cmdliner            2.1.0
- install cppo                1.8.0
- install dune                3.22.0
- install fmt                 0.11.0
- install menhir              20260209
- install menhirCST           20260209
- install menhirGLR           20260209
- install menhirLib           20260209
- install menhirSdk           20260209
- install ocaml-compiler-libs v0.12.4
- install ocamlbuild          0.16.1
- install ocamlfind           1.9.8
- install ppx_derivers        1.2.1
- install ppx_deriving        6.1.1
- install ppxlib              0.37.0
- install sexplib0            v0.16.0
- install stdlib-shims        0.3.0
- install topkg               1.1.1


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved menhir.20260209, menhirCST.20260209, menhirGLR.20260209, menhirLib.20260209, menhirSdk.20260209  (cached)
-> retrieved dune.3.22.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_deriving.6.1.1  (cached)
-> retrieved ppxlib.0.37.0  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> installed cmdliner.2.1.0
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed fmt.0.11.0
-> installed dune.3.22.0
-> installed menhirCST.20260209
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed menhirLib.20260209
-> installed menhirGLR.20260209
-> installed menhirSdk.20260209
-> installed cppo.1.8.0
-> installed sexplib0.v0.16.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed menhir.20260209
-> installed ppxlib.0.37.0
-> installed ppx_deriving.6.1.1
Done.
# Run eval $(opam env) to update the current shell environment
2026-03-20 07:00.08 ---> saved as "ab4420bf8ae498fc57fcee2f117614f8faa8ff8207826fa5d371b44e612ce3f2"


/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.22.0).
The following actions will be performed:
=== install 11 packages
- install astring       0.8.5  [required by odoc]
- install camlp-streams 5.0.1  [required by odoc-parser]
- install crunch        4.0.0  [required by odoc]
- install fpath         0.7.3  [required by odoc]
- 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.11.0 [required by tyxml]
- install seq           base   [required by tyxml]
- 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 fpath.0.7.3  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved re.1.11.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 ptime.1.2.0
-> installed re.1.11.0
-> installed uutf.1.0.4
-> 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
2026-03-20 07:00.25 ---> saved as "05b5a0fc6e740be0e394a4967ecbb4cd974001edf1c08ca2d2e0114a21db42b3"


/src: (copy (src .) (dst /src/))
2026-03-20 07:00.26 ---> saved as "55c27f31adcedd3706103f821da635e792473cb75e7171698c8f0c101d2e41a8"


/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.09/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -open Ocaml_shadow -w -9 -g -bin-annot -I src/.gospel.objs/byte -I /home/opam/.opam/4.09/lib/fmt -I /home/opam/.opam/4.09/lib/ocaml-compiler-libs/common -I /home/opam/.opam/4.09/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/4.09/lib/ocaml/compiler-libs -I /home/opam/.opam/4.09/lib/ppx_derivers -I /home/opam/.opam/4.09/lib/ppx_deriving/runtime -I /home/opam/.opam/4.09/lib/ppxlib -I /home/opam/.opam/4.09/lib/ppxlib/ast -I /home/opam/.opam/4.09/lib/ppxlib/astlib -I /home/opam/.opam/4.09/lib/ppxlib/print_diff -I /home/opam/.opam/4.09/lib/ppxlib/stdppx -I /home/opam/.opam/4.09/lib/ppxlib/traverse_builtins -I /home/opam/.opam/4.09/lib/sexplib0 -I /home/opam/.opam/4.09/lib/stdlib-shims -no-alias-deps -opaque -open Gospel -o src/.gospel.objs/byte/gospel__Opprintast.cmo -c -impl src/Opprintast.pp.ml)
File "src/Opprintast.ml", line 59, characters 46-52:
59 |           check_variable var_names t.ptyp_loc string;
^^^^^^
Error: This expression has type string loc
but an expression was expected of type string
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
2026-03-20 07:00.28: Job failed: Failed: Build failed