Organisationssqidssqids-ocamld6a7ce (main)(lint-doc)

(lint-doc)

Link Copied
Code Copied

Logs

2025-02-27 15:21.26: 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:bd27fb972940fd9287244670b577a915bef66f91ef22d74712618c15ad3ab90e
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:bd27fb972940fd9287244670b577a915bef66f91ef22d74712618c15ad3ab90e
# 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 77714bd58759d6cd963e396164d1cff83314648c || git fetch origin master) && git reset -q --hard 77714bd58759d6cd963e396164d1cff83314648c && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 sqids.opam ./
RUN opam pin add -yn sqids.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base dune.3.17.2 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-config.1 qcheck-core.0.24"
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


2025-02-27 15:21.26: Using cache hint "sqids/sqids-ocaml-ocaml/opam:debian-12-ocaml-4.11@sha256:bd27fb972940fd9287244670b577a915bef66f91ef22d74712618c15ad3ab90e-debian-12-4.11_opam-2.3-bad20faed038bfffa77b277c0e7d87af"
2025-02-27 15:21.26: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.11@sha256:bd27fb972940fd9287244670b577a915bef66f91ef22d74712618c15ad3ab90e)
(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 77714bd58759d6cd963e396164d1cff83314648c || git fetch origin master) && git reset -q --hard 77714bd58759d6cd963e396164d1cff83314648c && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src sqids.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn sqids.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base dune.3.17.2 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-config.1 qcheck-core.0.24")
(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)"))
)


2025-02-27 15:21.26: Waiting for resource in pool OCluster
2025-02-27 20:50.35: Waiting for worker…
2025-02-27 20:55.33: Got resource from pool OCluster
Building on x86-bm-c6.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:bd27fb972940fd9287244670b577a915bef66f91ef22d74712618c15ad3ab90e)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.11@sha256:bd27fb972940fd9287244670b577a915bef66f91ef22d74712618c15ad3ab90e' locally
docker.io/ocaml/opam@sha256:bd27fb972940fd9287244670b577a915bef66f91ef22d74712618c15ad3ab90e: Pulling from ocaml/opam
ebd72b18d531: Pulling fs layer
ebd72b18d531: Verifying Checksum
ebd72b18d531: Download complete
ebd72b18d531: Pull complete
Digest: sha256:bd27fb972940fd9287244670b577a915bef66f91ef22d74712618c15ad3ab90e
Status: Downloaded newer image for ocaml/opam@sha256:bd27fb972940fd9287244670b577a915bef66f91ef22d74712618c15ad3ab90e
2025-02-27 20:57.48 ---> saved as "da62f3c950d43dcc3f9894916ce8294da1bc1ec116a4781c87f29b9e670656d3"


/: (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"))
2025-02-27 20:57.48 ---> saved as "cc443ecfb2a99f77eefb53271d759f903571616df555ddbec5f906c3785de5c4"


/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.


Continue? [y/n] y
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.


Format upgrade done.
[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


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-02-27 20:59.36 ---> saved as "b811eeea2b65d864d5ce483f2f094743a5049f20603e56e0d3c31931f5879ce6"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 4.11.2
2.2.1
2025-02-27 20:59.36 ---> saved as "b910f6d5f4af9dfa7a95a37c42f4d6ae1c3eb9f37312e393a71ab8da56a3aa30"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-02-27 20:59.37 ---> saved as "1d8c489bc1dafacaff16ab1bab18bd2a47a71d31bc3549b89e5280f7687da8f8"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 77714bd58759d6cd963e396164d1cff83314648c || git fetch origin master) && git reset -q --hard 77714bd58759d6cd963e396164d1cff83314648c && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
94514fa0d0..0cc239352a  master     -> origin/master
77714bd587 Merge pull request #27468 from jmid/opam-publish-qcheck.0.24


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[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
2025-02-27 21:01.11 ---> saved as "ffaf2361b696d1f800937476f747d1580b324d2ea85017a33c5b53a135f8ab8c"


/src: (copy (src sqids.opam) (dst ./))
2025-02-27 21:01.11 ---> saved as "9718b66c14abd482b83af865580b1242d4a684b1538cb7de274a1a663ffa55b7"


/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)
2025-02-27 21:01.14 ---> saved as "ac7b65d8dfa227f6481ef1af509ea6aeba331235fc48653ebf9dbb2e2b1c34a6"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-02-27 21:01.15 ---> saved as "53e3988da368adcae162adeeb190ab51b54c577b3a94ea36ec732101af2fcccb"


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


/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 [246 kB]
- Fetched 349 kB in 1s (661 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[sqids.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.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).
2025-02-27 21:01.46 ---> saved as "94abd4343e3e8b7673cb732efab8dda4937e85766eb4f3fd3021b02ceab79a53"


/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.17.2
- install qcheck-core 0.24


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved qcheck-core.0.24  (cached)
-> retrieved dune.3.17.2  (cached)
-> installed dune.3.17.2
-> installed qcheck-core.0.24
Done.
# Run eval $(opam env) to update the current shell environment
2025-02-27 21:02.42 ---> saved as "6de012e35c4ae6c43accea2ead221394358bcffc14e3903aeaba587fd13e8733"


/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.17.2).
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.8.0  [required by odoc]
- install crunch        4.0.0  [required by odoc]
- install fmt           0.9.0  [required by odoc]
- install fpath         0.7.3  [required by odoc]
- install ocamlbuild    0.16.1 [required by fmt, astring, fpath]
- install ocamlfind     1.9.8  [required by fmt, astring, fpath]
- install odoc          2.4.4
- install odoc-parser   2.4.4  [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.8.0  (cached)
-> retrieved crunch.4.0.0  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved re.1.11.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved result.1.5  (cached)
-> retrieved topkg.1.0.7  (cached)
-> installed camlp-streams.5.0.1
-> retrieved odoc.2.4.4, odoc-parser.2.4.4  (cached)
-> retrieved tyxml.4.6.0  (cached)
-> installed result.1.5
-> retrieved uutf.1.0.3  (cached)
-> installed re.1.11.0
-> installed cppo.1.8.0
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> 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.4.0.0
-> installed fpath.0.7.3
-> installed odoc-parser.2.4.4
-> installed tyxml.4.6.0
-> installed odoc.2.4.4
Done.
# Run eval $(opam env) to update the current shell environment
2025-02-27 21:03.22 ---> saved as "67d4c3313d3f2aa0d44fe263a09ef5a913e3bbd5ed83e5af47a782c33fbfa094"


/src: (copy (src .) (dst /src/))
2025-02-27 21:03.22 ---> saved as "f15e1059ea3fca08b8119da4c04fd50cf42ded4be3056a5a3db74c94c5d73518"


/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
2025-02-27 21:03.23 ---> saved as "58cf02bf4370a249ef0178d89a19ca207f8ced125669f8c2111f9d42e6f1d868"
Job succeeded
2025-02-27 21:03.23: Job succeeded