Organisationsocaml-gospelgospel428325 ()(lint-doc)

(lint-doc)

Link Copied
Code Copied

Logs

2025-05-12 15:14.03: New job: test ocaml-gospel/gospel https://github.com/ocaml-gospel/gospel.git#refs/pull/449/head (42832547c1f2a6750043bcb513db1ddddef65420) (linux-x86_64:(lint-doc))
Base: ocaml/opam:alpine-3.21-ocaml-4.14@sha256:c46d6084a2d69602000f28df4e6676c70008fc18356b5e0da6cde79296e0b89c
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 42832547
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-4.14@sha256:c46d6084a2d69602000f28df4e6676c70008fc18356b5e0da6cde79296e0b89c
# 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 35eb2f107a989a2d623b0bbe170696398fcb9b1e || git fetch origin master) && git reset -q --hard 35eb2f107a989a2d623b0bbe170696398fcb9b1e && 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.2 dune-build-info.3.18.2 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-05-12 15:14.03: Using cache hint "ocaml-gospel/gospel-ocaml/opam:alpine-3.21-ocaml-4.14@sha256:c46d6084a2d69602000f28df4e6676c70008fc18356b5e0da6cde79296e0b89c-alpine-3.21-4.14_opam-2.3-71b8e1be5c9938f8d48eb894249631b5"
2025-05-12 15:14.03: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:c46d6084a2d69602000f28df4e6676c70008fc18356b5e0da6cde79296e0b89c)
(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 35eb2f107a989a2d623b0bbe170696398fcb9b1e || git fetch origin master) && git reset -q --hard 35eb2f107a989a2d623b0bbe170696398fcb9b1e && 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.2 dune-build-info.3.18.2 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-05-12 15:14.03: Waiting for resource in pool OCluster
2025-05-12 15:14.03: Waiting for worker…
2025-05-12 15:14.05: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 42832547 Track mutability of OCaml variables


(from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:c46d6084a2d69602000f28df4e6676c70008fc18356b5e0da6cde79296e0b89c)
Unable to find image 'ocaml/opam:alpine-3.21-ocaml-4.14@sha256:c46d6084a2d69602000f28df4e6676c70008fc18356b5e0da6cde79296e0b89c' locally
docker.io/ocaml/opam@sha256:c46d6084a2d69602000f28df4e6676c70008fc18356b5e0da6cde79296e0b89c: Pulling from ocaml/opam
724292bd7d2f: Pulling fs layer
724292bd7d2f: Waiting
724292bd7d2f: Verifying Checksum
724292bd7d2f: Download complete
724292bd7d2f: Pull complete
Digest: sha256:c46d6084a2d69602000f28df4e6676c70008fc18356b5e0da6cde79296e0b89c
Status: Downloaded newer image for ocaml/opam@sha256:c46d6084a2d69602000f28df4e6676c70008fc18356b5e0da6cde79296e0b89c
2025-05-12 15:14.07 ---> using "b31f8ea9b0da9063a13255c6536c5f85700cfe755ad07fbc6516da39211433c3" 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-05-12 15:14.07 ---> using "f3fb2c594ffb9f0cafdd97c79534f9ddeb93b46000a3d3ed6ef9a9f3dd49702b" 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-05-12 15:14.07 ---> using "3835235415d1e5820750520d4df602ea7f1e564ad08cea94f5ee83b2f13e4c37" 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-05-12 15:14.07 ---> using "66f3bb7de938d2ced11527e2ee954324a4b3d37d855994e3abd61b872532729e" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-05-12 15:14.07 ---> using "38f5ebb7c93dd1b7b29d4976ff079a9c0f2712ec3c0a3dc6c1cae7284f0ca882" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 35eb2f107a989a2d623b0bbe170696398fcb9b1e || git fetch origin master) && git reset -q --hard 35eb2f107a989a2d623b0bbe170696398fcb9b1e && git log --no-decorate -n1 --oneline && opam update -u"))
35eb2f107a Merge pull request #27838 from maiste/release-dune-3.18.2


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes 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-05-12 15:14.07 ---> using "699d2a1e6cb9b0ab09e17f9af8b2ac71bedc6675afb39054a06e151905e03baa" from cache


/src: (copy (src gospel.opam) (dst ./))
2025-05-12 15:14.07 ---> using "a71a8122cd486a07f125c82bca2be629e81515d721a5c0ebff075bd1f32d0b1a" 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-05-12 15:14.07 ---> using "52cd89d0a403605f8b2c13178caaa5f48ef70a39706f0f39a324ba9e2c00ecad" from cache


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-05-12 15:14.07 ---> using "dd61de145c32c0b50af1b953617583c95a59a2e8f6d1e855f91218e3f3614abb" 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.2 dune-build-info.3.18.2 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-452-gee5ce66b724 [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.3-459-gb091f834ac8 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v20250108-7846-g39271601b77 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20250108-7843-g6586b379a88 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20250108-7827-gb606fd1275d [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 58157 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-05-12 15:14.07 ---> using "c40179dab99d9d78f87d38be37404e1036fab114b4d314b6e37712350e596d1e" 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.2
- install dune-build-info     3.18.2
- 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 cmdliner.1.3.0  (cached)
-> retrieved cppo.1.8.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 ocamlbuild.0.16.1  (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
-> retrieved dune.3.18.2, dune-build-info.3.18.2  (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)
-> installed cmdliner.1.3.0
-> retrieved ppx_deriving.6.1.0  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved re.1.12.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved ppxlib.0.36.0  (cached)
-> retrieved tyxml.4.6.0  (cached)
-> retrieved unionFind.20220122  (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.2
-> 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 stdlib-shims.0.3.0
-> installed result.1.5
-> installed menhirSdk.20240715
-> installed pp_loc.2.1.0
-> installed pprint.20230830
-> installed sexplib0.v0.17.0
-> installed unionFind.20220122
-> installed menhirLib.20240715
-> installed dune-build-info.3.18.2
-> installed re.1.12.0
-> installed inferno.20220603
-> installed ocaml-compiler-libs.v0.12.4
-> 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-05-12 15:14.07 ---> using "f3523b5232b2e36012074a3cc407207f041f4d78b63dfa8ebb594685564b27f6" 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.2).
2025-05-12 15:14.07 ---> using "ac4910ccbfb23c74c13b42af5b33e544430c53c8804c62cd9bb92a28cb9e50b2" from cache


/src: (copy (src .) (dst /src/))
2025-05-12 15:14.07 Waiting for previous build to finish cancelling
Uncaught exception: Failure("\"rm\" \"-rf\" \"/var/cache/obuilder/merged/8f6927d2103a1aeded041a51bab91a70d93ef4523c385eb248b3c06d8411b7f0\" \"/var/cache/obuilder/work/8f6927d2103a1aeded041a51bab91a70d93ef4523c385eb248b3c06d8411b7f0\" \"/var/cache/obuilder/in-progress/8f6927d2103a1aeded041a51bab91a70d93ef4523c385eb248b3c06d8411b7f0\" failed with exit status 1")
2025-05-12 15:14.18: Job failed: Failed: Internal error