Organisationssqidssqids-ocamld6a7ce (main)(lint-doc)

(lint-doc)

Link Copied
Code Copied

Logs

2024-11-19 19:07.14: New job: test sqids/sqids-ocaml https://github.com/sqids/sqids-ocaml.git#refs/heads/main (d6a7ce6d19f8cef53f31dfc9fb6b0fd46ec4ab93) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-12-ocaml-4.11@sha256:40974e0742776255b849b96a14423b4d9b386033b30c2cc4631e4889f6201d34
Opam project lint documentation


To reproduce locally:


git clone --recursive "https://github.com/sqids/sqids-ocaml.git" -b "main" && cd "sqids-ocaml" && git reset --hard d6a7ce6d
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.11@sha256:40974e0742776255b849b96a14423b4d9b386033b30c2cc4631e4889f6201d34
# debian-12-4.11_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 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 sqids.opam ./
RUN opam pin add -yn sqids.dev './'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base dune.3.16.1 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-config.1 qcheck-core.0.22"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y sqids.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-19 19:07.14: Using cache hint "sqids/sqids-ocaml-ocaml/opam:debian-12-ocaml-4.11@sha256:40974e0742776255b849b96a14423b4d9b386033b30c2cc4631e4889f6201d34-debian-12-4.11_opam-2.3-5f0c6459ae9b8a358260e55f83bf1831"
2024-11-19 19:07.14: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.11@sha256:40974e0742776255b849b96a14423b4d9b386033b30c2cc4631e4889f6201d34)
(comment debian-12-4.11_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 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src sqids.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn sqids.dev './'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base dune.3.16.1 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-config.1 qcheck-core.0.22")
(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 sqids.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-19 19:07.14: Waiting for resource in pool OCluster
2024-11-20 08:19.03: Waiting for worker…
2024-11-20 08:22.03: Got resource from pool OCluster
Building on x86-bm-c5.sw.ocaml.org
All commits already cached
HEAD is now at d6a7ce6 CHANGELOG: update to `0.1.0`


(from ocaml/opam:debian-12-ocaml-4.11@sha256:40974e0742776255b849b96a14423b4d9b386033b30c2cc4631e4889f6201d34)
2024-11-20 08:22.08 ---> using "5c49f1326f90ed4c8e820712e22ecd28d518a2008cfdc4492960cae72c95b9d2" from cache


/: (comment debian-12-4.11_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"))
2024-11-20 08:22.08 ---> using "07a4cf81c5b26d5ca8b70ff4f85352fafa22be6f5ff5ca51a756c8c6c89d9586" 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-20 08:22.08 ---> using "d1950a67d6962f74c6f6319c38c8fff2409910c1376e4bb262550107661966f8" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-125-generic
The OCaml toplevel, version 4.11.2
2.2.1
2024-11-20 08:22.08 ---> using "5a1d8da778d29c7b2296cd34c1f508466051cfc766cb21773181e173ce338081" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-11-20 08:22.08 ---> using "c0f5f8797d3804a8920ea552707b00ed40b258ab2a81962ea0ea3f2805a5177f" from cache


/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"))
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-20 08:23.38 ---> saved as "8bc7e315aa9b00a2594bfadaa0636037a567a89321012415d627dd7da2c53b4f"


/src: (copy (src sqids.opam) (dst ./))
2024-11-20 08:23.38 ---> saved as "8a59f47814e6777d4da67018abb3a7aa92a556a8a84c1794158f3a80460a792d"


/src: (run (network host)
(shell "opam pin add -yn sqids.dev './'"))
[sqids.dev] synchronised (file:///src)
sqids is now pinned to file:///src (version dev)
2024-11-20 08:23.40 ---> saved as "4505141be66021adffcaeb33547f1ed28cc6300a977b41fc635e62b58c442d04"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base dune.3.16.1 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-config.1 qcheck-core.0.22")


/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 sqids.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 [204 kB]
- Fetched 308 kB in 0s (1138 kB/s)
- Reading package lists...


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


[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.11.2).
[NOTE] Package ocaml is already installed (current version is 4.11.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).
2024-11-20 08:23.58 ---> saved as "50b18480ee16963443a03426afd0cb59b4b0dd51caf8b9cdf51a7fa3feb1c456"


/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.11.2).
[NOTE] Package ocaml is already installed (current version is 4.11.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 2 packages
- install dune        3.16.1
- install qcheck-core 0.22


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved qcheck-core.0.22  (cached)
-> retrieved dune.3.16.1  (cached)
-> installed dune.3.16.1
-> installed qcheck-core.0.22
Done.
# Run eval $(opam env) to update the current shell environment
2024-11-20 08:24.52 ---> saved as "37804b196009c128fc12d795a446d462f7a9ccbb2a536ae175e6c8ce9240db02"


/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:
=== install 18 packages
- install astring       0.8.5  [required by odoc]
- install camlp-streams 5.0.1  [required by odoc-parser]
- install cmdliner      1.3.0  [required by odoc]
- install cppo          1.7.0  [required by odoc]
- install crunch        3.3.1  [required by odoc]
- install fmt           0.9.0  [required by odoc]
- install fpath         0.7.3  [required by odoc]
- install ocamlbuild    0.15.0 [required by fmt, astring, fpath]
- install ocamlfind     1.9.6  [required by fmt, astring, fpath]
- install odoc          2.4.3
- install odoc-parser   2.4.3  [required by odoc]
- install ptime         1.2.0  [required by crunch]
- install re            1.11.0 [required by tyxml]
- install result        1.5    [required by odoc]
- install seq           base   [required by tyxml]
- install topkg         1.0.7  [required by fmt, astring, fpath]
- 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 astring.0.8.5  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved cppo.1.7.0  (cached)
-> retrieved crunch.3.3.1  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved odoc.2.4.3, odoc-parser.2.4.3  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> installed camlp-streams.5.0.1
-> retrieved re.1.11.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved tyxml.4.6.0  (cached)
-> retrieved uutf.1.0.3  (cached)
-> installed result.1.5
-> installed cppo.1.7.0
-> installed re.1.11.0
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.15.0
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed crunch.3.3.1
-> installed fpath.0.7.3
-> installed odoc-parser.2.4.3
-> installed tyxml.4.6.0
-> installed odoc.2.4.3
Done.
# Run eval $(opam env) to update the current shell environment
2024-11-20 08:25.34 ---> saved as "44383d87ef7abca21e4af9ac789cedbd386a200ca2cef0d6610e051aedad0bf4"


/src: (copy (src .) (dst /src/))
2024-11-20 08:25.34 ---> saved as "ef7618728884896cf2c2b147e2d60192e031b3b58f40ff368097fbafe7241349"


/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
2024-11-20 08:25.34 ---> saved as "a705c64426cc01008f903421cc90cf781ffa2651a4812e958571dd51e8c49a47"
Job succeeded
2024-11-20 08:25.35: Job succeeded