2024-11-04 11:24.30: New job: test MisterDA/windows-version https://github.com/MisterDA/windows-version.git#refs/heads/main (1994f53476c9203ee587ea28e421dc8d1cde74bf) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-12-ocaml-4.04@sha256:05ac38f0a4df20f1959b487bdb35f18bfb62eef413a4e44a22ed361f2c32e14c
Opam project lint documentation
To reproduce locally:
git clone --recursive "https://github.com/MisterDA/windows-version.git" -b "main" && cd "windows-version" && git reset --hard 1994f534
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.04@sha256:05ac38f0a4df20f1959b487bdb35f18bfb62eef413a4e44a22ed361f2c32e14c
# debian-12-4.04_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 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 windows-version.opam ./
RUN opam pin add -yn windows-version.dev './'
ENV DEPS="astring.0.8.3 base.v0.13.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.7.0 csexp.1.5.2 dune.3.16.1 dune-configurator.3.16.1 fmt.0.8.6 host-arch-x86_64.1 host-system-other.1 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocaml-migrate-parsetree.1.8.0 ocaml-secondary-compiler.4.14.2 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ppx_derivers.1.2.1 ppx_deriving.4.5-1 ppx_sexp_conv.v0.13.0 ppx_tools.5.0 ppxfind.1.4 ppxlib.0.15.0 result.1.5 seq.0.3.1 sexplib0.v0.13.0 stdlib-shims.0.3.0 topkg.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y windows-version.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-11-04 11:24.30: Using cache hint "MisterDA/windows-version-ocaml/opam:debian-12-ocaml-4.04@sha256:05ac38f0a4df20f1959b487bdb35f18bfb62eef413a4e44a22ed361f2c32e14c-debian-12-4.04_opam-2.2-01e2cb7e74efcf18fdfd4031bc6ab555"
2024-11-04 11:24.30: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.04@sha256:05ac38f0a4df20f1959b487bdb35f18bfb62eef413a4e44a22ed361f2c32e14c)
(comment debian-12-4.04_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 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src windows-version.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn windows-version.dev './'"))
(env DEPS "astring.0.8.3 base.v0.13.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.7.0 csexp.1.5.2 dune.3.16.1 dune-configurator.3.16.1 fmt.0.8.6 host-arch-x86_64.1 host-system-other.1 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocaml-migrate-parsetree.1.8.0 ocaml-secondary-compiler.4.14.2 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ppx_derivers.1.2.1 ppx_deriving.4.5-1 ppx_sexp_conv.v0.13.0 ppx_tools.5.0 ppxfind.1.4 ppxlib.0.15.0 result.1.5 seq.0.3.1 sexplib0.v0.13.0 stdlib-shims.0.3.0 topkg.1.0.4")
(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 windows-version.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-11-04 11:24.30: Waiting for resource in pool OCluster
2024-11-04 17:19.21: Waiting for worker…
2024-11-04 17:21.24: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 1994f53 Initial import from ocaml-dockerfile
(from ocaml/opam:debian-12-ocaml-4.04@sha256:05ac38f0a4df20f1959b487bdb35f18bfb62eef413a4e44a22ed361f2c32e14c)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.04@sha256:05ac38f0a4df20f1959b487bdb35f18bfb62eef413a4e44a22ed361f2c32e14c' locally
docker.io/ocaml/opam@sha256:05ac38f0a4df20f1959b487bdb35f18bfb62eef413a4e44a22ed361f2c32e14c: Pulling from ocaml/opam
b6d3572696bb: Pulling fs layer
b6d3572696bb: Verifying Checksum
b6d3572696bb: Download complete
b6d3572696bb: Pull complete
Digest: sha256:05ac38f0a4df20f1959b487bdb35f18bfb62eef413a4e44a22ed361f2c32e14c
Status: Downloaded newer image for ocaml/opam@sha256:05ac38f0a4df20f1959b487bdb35f18bfb62eef413a4e44a22ed361f2c32e14c
2024-11-04 17:21.24 ---> using "cde1dbc7f05097470c7405ff4e8660d8ad301e5f5ecd15e45006ac1a889e5a5d" from cache
/: (comment debian-12-4.04_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-11-04 17:21.24 ---> using "5381a38470ba11abec03714fcef09685899a7b005532a91360985fb2ede7072f" 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-11-04 17:22.36 ---> saved as "d450578f5065bc3adebb2180f87ee5087ba0e73a071fa21ad20595d1c21887ce"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 4.04.2
2.2.1
2024-11-04 17:22.37 ---> saved as "42a6c8cb290c8bfe714bb365ef35ebd2a0decdb70d3e36c0e4d398e378866d72"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-11-04 17:22.37 ---> saved as "8622795eb9a3d4638a9a21f12adb22404844184a0ac918a7e7a7d625271711d0"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
4ffa00429a..8476aa70b7 master -> origin/master
371a52f4a8 Merge pull request #26816 from maiste/release-dune-3.16.1
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from 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
2024-11-04 17:23.51 ---> saved as "210708d0e4ee4dae2125235d0496887334e7d60d9abe2445201b136eea083fd9"
/src: (copy (src windows-version.opam) (dst ./))
2024-11-04 17:23.51 ---> saved as "8b2704754b7233f8fba4059ce1ffc591701e70fc714ea11868b9fba650726fbc"
/src: (run (network host)
(shell "opam pin add -yn windows-version.dev './'"))
Package windows-version does not exist, create as a NEW package? [y/n] y
[windows-version.dev] synchronised (file:///src)
windows-version is now pinned to file:///src (version dev)
2024-11-04 17:23.53 ---> saved as "e5611c6be94d5859cabbf256cd3f376c9adf9608f6df8c3c8a07c47be90ce280"
/src: (env DEPS "astring.0.8.3 base.v0.13.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base cppo.1.7.0 csexp.1.5.2 dune.3.16.1 dune-configurator.3.16.1 fmt.0.8.6 host-arch-x86_64.1 host-system-other.1 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocaml-migrate-parsetree.1.8.0 ocaml-secondary-compiler.4.14.2 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ppx_derivers.1.2.1 ppx_deriving.4.5-1 ppx_sexp_conv.v0.13.0 ppx_tools.5.0 ppxfind.1.4 ppxlib.0.15.0 result.1.5 seq.0.3.1 sexplib0.v0.13.0 stdlib-shims.0.3.0 topkg.1.0.4")
/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 windows-version.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-security bookworm-security/main amd64 Packages [190 kB]
- Fetched 293 kB in 0s (878 kB/s)
- Reading package lists...
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[windows-version.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.04.2).
[NOTE] Package ocaml is already installed (current version is 4.04.2).
[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-11-04 17:24.07 ---> saved as "54c78025901937ee089826c6f96ed429fec903a894a41397e5da248d29348db6"
/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.04.2).
[NOTE] Package ocaml is already installed (current version is 4.04.2).
[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 24 packages
- install astring 0.8.3
- install base v0.13.2
- install base-bytes base
- install cppo 1.7.0
- install csexp 1.5.2
- install dune 3.16.1
- install dune-configurator 3.16.1
- install fmt 0.8.6
- install ocaml-compiler-libs v0.12.4
- install ocaml-migrate-parsetree 1.8.0 (deprecated)
- install ocamlbuild 0.14.3
- install ocamlfind 1.9.6
- install ocamlfind-secondary 1.9.6
- install ppx_derivers 1.2.1
- install ppx_deriving 4.5-1
- install ppx_sexp_conv v0.13.0
- install ppx_tools 5.0
- install ppxfind 1.4
- install ppxlib 0.15.0
- install result 1.5
- install seq 0.3.1
- install sexplib0 v0.13.0
- install stdlib-shims 0.3.0
- install topkg 1.0.4
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.3 (cached)
-> retrieved cppo.1.7.0 (cached)
-> retrieved base.v0.13.2 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved fmt.0.8.6 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ocamlbuild.0.14.3 (cached)
-> retrieved ocaml-migrate-parsetree.1.8.0 (cached)
-> retrieved ocamlfind.1.9.6, ocamlfind-secondary.1.9.6 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_deriving.4.5-1 (cached)
-> retrieved ppx_sexp_conv.v0.13.0 (cached)
-> retrieved ppx_tools.5.0 (cached)
-> retrieved ppxfind.1.4 (cached)
-> retrieved result.1.5 (cached)
-> retrieved seq.0.3.1 (cached)
-> retrieved ppxlib.0.15.0 (cached)
-> retrieved sexplib0.v0.13.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved topkg.1.0.4 (cached)
-> retrieved dune.3.16.1, dune-configurator.3.16.1 (cached)
-> installed ocamlbuild.0.14.3
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlfind-secondary.1.9.6
-> installed ppx_tools.5.0
-> installed topkg.1.0.4
-> installed astring.0.8.3
-> installed dune.3.16.1
-> installed ppx_derivers.1.2.1
-> installed seq.0.3.1
-> installed result.1.5
-> installed csexp.1.5.2
-> installed cppo.1.7.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed sexplib0.v0.13.0
-> installed stdlib-shims.0.3.0
-> installed fmt.0.8.6
-> installed dune-configurator.3.16.1
-> installed ocaml-migrate-parsetree.1.8.0
-> installed ppxfind.1.4
-> installed ppx_deriving.4.5-1
-> installed base.v0.13.2
-> installed ppxlib.0.15.0
-> installed ppx_sexp_conv.v0.13.0
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-11-04 17:25.04 ---> saved as "ed08f36060fc9920d8f5d8780e1d36d4482da2b9d39b293f606c032111ff8459"
/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.1).
The following actions will be performed:
=== recompile 1 package
- recompile fmt 0.8.6 [uses cmdliner]
=== install 9 packages
- install camlp-streams 5.0.1 [required by odoc-parser]
- install cmdliner 1.0.4 [required by odoc]
- install crunch 2.2.0 [required by odoc]
- install fpath 0.7.3 [required by odoc]
- install odoc 2.4.3
- install odoc-parser 2.4.3 [required by odoc]
- install re 1.11.0 [required by tyxml]
- install tyxml 4.6.0 [required by odoc]
- install uutf 1.0.3 [required by tyxml]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved cmdliner.1.0.4 (cached)
-> retrieved crunch.2.2.0 (cached)
-> retrieved fmt.0.8.6 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved re.1.11.0 (cached)
-> retrieved tyxml.4.6.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> installed camlp-streams.5.0.1
-> retrieved odoc.2.4.3, odoc-parser.2.4.3 (cached)
-> installed fpath.0.7.3
-> installed re.1.11.0
-> removed fmt.0.8.6
-> installed cmdliner.1.0.4
-> installed odoc-parser.2.4.3
-> installed crunch.2.2.0
-> installed uutf.1.0.3
-> installed fmt.0.8.6
-> installed tyxml.4.6.0
-> installed odoc.2.4.3
Done.
# Run eval $(opam env) to update the current shell environment
2024-11-04 17:25.27 ---> saved as "c5e1b495f7c2ab5d7fbf91c20d5bd6086acbb39b3bd79257666adc872ade3198"
/src: (copy (src .) (dst /src/))
2024-11-04 17:25.28 ---> saved as "f7d558a2256b35fd1711cbaf6b691b178a51046665f4d1080ea251e1332506c0"
/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
2024-11-04 17:25.29 ---> saved as "e21ffb442b4837864c63be9d56a42ed4d4855001e264e8b3075e3eed8cec69ce"
Job succeeded
2024-11-04 17:25.29: Job succeeded