Organisationsocaml-opamocaml-mccs4bea74 ()(lint-doc)

(lint-doc)

Link Copied
Code Copied

Logs

2025-02-17 23:22.34: New job: test ocaml-opam/ocaml-mccs https://github.com/ocaml-opam/ocaml-mccs.git#refs/pull/57/head (4bea74ef933a369c4cc8886f1d658754e42cfa23) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-12-ocaml-4.03@sha256:88f97e8c3bd5da02f8c84e9be025445ea31ac3a7ffa4cef2cc1692ac0a23df42
Opam project lint documentation


To reproduce locally:


git clone --recursive "https://github.com/ocaml-opam/ocaml-mccs.git" && cd "ocaml-mccs" && git fetch origin "refs/pull/57/head" && git reset --hard 4bea74ef
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.03@sha256:88f97e8c3bd5da02f8c84e9be025445ea31ac3a7ffa4cef2cc1692ac0a23df42
# debian-12-4.03_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 e25af452e64b0bd6672dce5f38d878780362341d || git fetch origin master) && git reset -q --hard e25af452e64b0bd6672dce5f38d878780362341d && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mccs.opam ./
RUN opam pin add -yn mccs.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base conf-c++.1.0 cppo.1.8.0 cudf.0.9-1 dune.3.17.2 extlib.1.8.0 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y mccs.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-17 23:22.34: Using cache hint "ocaml-opam/ocaml-mccs-ocaml/opam:debian-12-ocaml-4.03@sha256:88f97e8c3bd5da02f8c84e9be025445ea31ac3a7ffa4cef2cc1692ac0a23df42-debian-12-4.03_opam-2.3-ae21735ac01d2f53e72bfe9e95be60da"
2025-02-17 23:22.34: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.03@sha256:88f97e8c3bd5da02f8c84e9be025445ea31ac3a7ffa4cef2cc1692ac0a23df42)
(comment debian-12-4.03_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 e25af452e64b0bd6672dce5f38d878780362341d || git fetch origin master) && git reset -q --hard e25af452e64b0bd6672dce5f38d878780362341d && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src mccs.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn mccs.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base conf-c++.1.0 cppo.1.8.0 cudf.0.9-1 dune.3.17.2 extlib.1.8.0 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6")
(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 mccs.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-17 23:22.34: Waiting for resource in pool OCluster
2025-02-17 23:56.14: Waiting for worker…
2025-02-18 00:02.25: Got resource from pool OCluster
Building on phoebe.caelum.ci.dev
All commits already cached
HEAD is now at 4bea74e Update to Dune 2.0


(from ocaml/opam:debian-12-ocaml-4.03@sha256:88f97e8c3bd5da02f8c84e9be025445ea31ac3a7ffa4cef2cc1692ac0a23df42)
2025-02-18 00:02.26 ---> using "50028533309a9b30b5e358b5046f0fe98e9d068fc76790dbf31ebe94498a6d14" from cache


/: (comment debian-12-4.03_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-18 00:02.26 ---> using "797d14ece813ebb10f86706bb88ad51fb2f71112dbe7f3e0eccfd4be15d198bb" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[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-18 00:02.26 ---> using "43bd7eea78bfbd7ec3513a675e526589c5d4e49b1817cba8a9f79afc9e897fa3" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-131-generic
The OCaml toplevel, version 4.03.0
2.2.1
2025-02-18 00:02.26 ---> using "f712a24bb3d459ada128d3ff43471b2c09d964ba980611aff212babd271a6f45" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-02-18 00:02.26 ---> using "32415b5119abac7f31d1b6fab8f7823b3495aef84d79753c0e041ce1508bf6dc" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e e25af452e64b0bd6672dce5f38d878780362341d || git fetch origin master) && git reset -q --hard e25af452e64b0bd6672dce5f38d878780362341d && git log --no-decorate -n1 --oneline && opam update -u"))
e25af452e6 Merge pull request #27273 from hannesm/archive-phase2


<><> 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-18 00:02.26 ---> using "5168efc70717a5dca27d79a159e4f3aee03ec05ac02bb4a919bef89ced66980d" from cache


/src: (copy (src mccs.opam) (dst ./))
2025-02-18 00:02.26 ---> saved as "5d100025b75a591ff3b109eea9e3b437fcf83bbae916c6485e1f603a07195720"


/src: (run (network host)
(shell "opam pin add -yn mccs.dev './'"))
[mccs.dev] synchronised (file:///src)
mccs is now pinned to file:///src (version dev)
2025-02-18 00:02.29 ---> saved as "03987321026803e2d4597bac9df89b1234abfd3676c27633c2409d9d4f187ba5"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-02-18 00:02.30 ---> saved as "384d6407ac0c2c61d17e7bc5b23afb793a2fbd30b0c81533ef1dcaa4406e21e5"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-c++.1.0 cppo.1.8.0 cudf.0.9-1 dune.3.17.2 extlib.1.8.0 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6")


/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 mccs.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 (608 kB/s)
- Reading package lists...
- 


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


[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.03.0).
[NOTE] Package ocaml is already installed (current version is 4.03.0).
[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-18 00:02.56 ---> saved as "7316dbed5f046bea46474137bb35252644c6be615137e8b0ec181e6fcbf8258e"


/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.03.0).
[NOTE] Package ocaml is already installed (current version is 4.03.0).
[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 8 packages
- install conf-c++            1.0
- install cppo                1.8.0
- install cudf                0.9-1
- install dune                3.17.2
- install extlib              1.8.0
- install ocamlbuild          0.14.3
- install ocamlfind           1.9.6
- install ocamlfind-secondary 1.9.6


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0  (cached)
-> retrieved cudf.0.9-1  (cached)
-> installed conf-c++.1.0
-> retrieved extlib.1.8.0  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved ocamlfind.1.9.6, ocamlfind-secondary.1.9.6  (cached)
-> retrieved dune.3.17.2  (cached)
-> installed ocamlbuild.0.14.3
-> installed ocamlfind.1.9.6
-> installed ocamlfind-secondary.1.9.6
-> installed dune.3.17.2
-> installed cppo.1.8.0
-> installed extlib.1.8.0
-> installed cudf.0.9-1
Done.
# Run eval $(opam env) to update the current shell environment
2025-02-18 00:05.12 ---> saved as "6268e9fb6004775159dc22a7116a90b86085aa3e423a10d0e4c743346238fd62"


/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 16 packages
- install astring       0.8.3  [required by odoc]
- install base-bytes    base   [required by astring]
- install camlp-streams 5.0.1  [required by odoc-parser]
- install cmdliner      1.0.4  [required by odoc]
- install crunch        1.4.1  [required by odoc]
- install fmt           0.8.6  [required by odoc]
- install fpath         0.7.3  [required by odoc]
- install odoc          2.4.1
- install odoc-parser   2.4.1  [required by odoc]
- install re            1.11.0 [required by tyxml]
- install result        1.5    [required by odoc]
- install seq           0.3.1  [required by fmt, tyxml]
- install stdlib-shims  0.3.0  [required by fmt]
- install topkg         1.0.4  [required by fmt, astring, fpath]
- install tyxml         4.5.0  [required by odoc]
- install uutf          1.0.3  [required by tyxml]


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bytes.base
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved astring.0.8.3  (cached)
-> retrieved cmdliner.1.0.4  (cached)
-> retrieved crunch.1.4.1  (cached)
-> retrieved fmt.0.8.6  (cached)
-> retrieved fpath.0.7.3  (cached)
-> installed camlp-streams.5.0.1
-> retrieved result.1.5  (cached)
-> retrieved seq.0.3.1  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved re.1.11.0  (cached)
-> retrieved topkg.1.0.4  (cached)
-> retrieved tyxml.4.5.0  (cached)
-> installed seq.0.3.1
-> installed result.1.5
-> retrieved uutf.1.0.3  (cached)
-> installed stdlib-shims.0.3.0
-> retrieved odoc.2.4.1, odoc-parser.2.4.1  (cached)
-> installed re.1.11.0
-> installed cmdliner.1.0.4
-> installed topkg.1.0.4
-> installed uutf.1.0.3
-> installed fmt.0.8.6
-> installed astring.0.8.3
-> installed fpath.0.7.3
-> installed odoc-parser.2.4.1
-> installed crunch.1.4.1
-> installed tyxml.4.5.0
-> installed odoc.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2025-02-18 00:06.04 ---> saved as "a425c6f3e022d60ad991594084e2cbc43cd4f14c0698d43076ad2e3de3f67084"


/src: (copy (src .) (dst /src/))
2025-02-18 00:06.05 ---> saved as "29c9ad301225e25d8bd8201a4df330389d2cb87b3c9e096113753edf4e86c29c"


/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
2025-02-18 00:06.05 ---> saved as "fa8ff7fe4a31c5c5b07daf0766797abe2fc7cd521d06184d815499d6f20e8e54"
Job succeeded
2025-02-18 00:06.06: Job succeeded