Organisationsocamlopam-file-format519683 ()(lint-doc)

(lint-doc)

Logs

Show full logs
2024-09-05 12:28.30: New job: test ocaml/opam-file-format https://github.com/ocaml/opam-file-format.git#refs/pull/42/head (519683af0e0eb2f72e44c51c466e4fb1328cec38) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-12-ocaml-4.02@sha256:ff3c74f76e05c9946bc36351e4ed8b681a4cbb23a62fbd2a0bd79da63ce99407
Opam project lint documentation

To reproduce locally:

git clone --recursive "https://github.com/ocaml/opam-file-format.git" && cd "opam-file-format" && git fetch origin "refs/pull/42/head" && git reset --hard 519683af
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.02@sha256:ff3c74f76e05c9946bc36351e4ed8b681a4cbb23a62fbd2a0bd79da63ce99407
# debian-12-4.02_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 e90d00913cec22ea90c21ecb282c1f0b955a7959 || git fetch origin master) && git reset -q --hard e90d00913cec22ea90c21ecb282c1f0b955a7959 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 opam-file-format.opam ./
RUN opam pin add -yn opam-file-format.dev './'
ENV DEPS="alcotest.0.8.5 astring.0.8.3 base-bigarray.base base-bytes.base base-ocamlbuild.base base-threads.base base-unix.base cmdliner.1.0.2 dune.3.16.0 fmt.0.8.5 host-arch-x86_64.1 host-system-other.1 ocaml.4.02.3 ocaml-base-compiler.4.02.3 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocamlbuild.0 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 result.1.4 topkg.1.0.0 uchar.0.0.2 uuidm.0.9.6"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y opam-file-format.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-09-05 12:28.30: Using cache hint "ocaml/opam-file-format-ocaml/opam:debian-12-ocaml-4.02@sha256:ff3c74f76e05c9946bc36351e4ed8b681a4cbb23a62fbd2a0bd79da63ce99407-debian-12-4.02_opam-2.2-578a89279a5b28fe1331042acec6234f"
2024-09-05 12:28.30: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.02@sha256:ff3c74f76e05c9946bc36351e4ed8b681a4cbb23a62fbd2a0bd79da63ce99407)
 (comment debian-12-4.02_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 e90d00913cec22ea90c21ecb282c1f0b955a7959 || git fetch origin master) && git reset -q --hard e90d00913cec22ea90c21ecb282c1f0b955a7959 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src opam-file-format.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn opam-file-format.dev './'"))
 (env DEPS "alcotest.0.8.5 astring.0.8.3 base-bigarray.base base-bytes.base base-ocamlbuild.base base-threads.base base-unix.base cmdliner.1.0.2 dune.3.16.0 fmt.0.8.5 host-arch-x86_64.1 host-system-other.1 ocaml.4.02.3 ocaml-base-compiler.4.02.3 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocamlbuild.0 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 result.1.4 topkg.1.0.0 uchar.0.0.2 uuidm.0.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 opam-file-format.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-09-05 12:28.30: Waiting for resource in pool OCluster
2024-09-05 21:46.10: Waiting for worker…
2024-09-05 22:02.06: Got resource from pool OCluster
Building on x86-bm-c20.sw.ocaml.org
All commits already cached
HEAD is now at 519683a tests for new operator

(from ocaml/opam:debian-12-ocaml-4.02@sha256:ff3c74f76e05c9946bc36351e4ed8b681a4cbb23a62fbd2a0bd79da63ce99407)
2024-09-05 22:02.06 ---> using "246366219ef4f081cfd01b9dc33020df77cdf06d7298b441f117b8b192ee5b7b" from cache

/: (comment debian-12-4.02_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-09-05 22:02.06 ---> using "fadb62dd753b9ce472ae51c7fc52deb86f534c3523328ec3da1cba362677336c" 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-09-05 22:02.06 ---> using "a493cef0ca65c463c51269f5da3976d8e498d7a1ea3b1ebdfb28918637589615" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-119-generic
The OCaml toplevel, version 4.02.3
2.2.1
2024-09-05 22:02.06 ---> using "faa8f2ff2d8189a7ae95e6dd9404af24381960f2d7e2a702abc96b69bc3e0e0c" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2024-09-05 22:02.06 ---> using "f17bf612a8aaa3e06e39c5ae10f2d2947121a187627cf587b3059fe46d43f3ee" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e e90d00913cec22ea90c21ecb282c1f0b955a7959 || git fetch origin master) && git reset -q --hard e90d00913cec22ea90c21ecb282c1f0b955a7959 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   e89899ac28..2c9b57d0d2  master     -> origin/master
e90d00913c Merge pull request #26471 from dkalinichenko-js/js-comp

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository

The following actions will be performed:
=== upgrade 1 package
  - upgrade ocaml-secondary-compiler 4.08.1-1 to 4.14.2
=== install 2 packages
  - install host-arch-x86_64         1
  - install host-system-other        1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed host-arch-x86_64.1
-> installed host-system-other.1
-> retrieved ocaml-secondary-compiler.4.14.2  (cached)
-> removed   ocaml-secondary-compiler.4.08.1-1
-> installed ocaml-secondary-compiler.4.14.2
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-05 22:02.06 ---> using "eac64d16fa84d2f9f5cb96442bdeecd1ca111272c43e3a5a5448ff581c7957bf" from cache

/src: (copy (src opam-file-format.opam) (dst ./))
2024-09-05 22:02.06 ---> using "3dd6cb86ecdeba23d81bcfbec797eba6d6aa5ca383c8cfc092ece4faaece79f5" from cache

/src: (run (network host)
           (shell "opam pin add -yn opam-file-format.dev './'"))
[opam-file-format.dev] synchronised (file:///src)
opam-file-format is now pinned to file:///src (version dev)
2024-09-05 22:02.06 ---> using "a9c5bdf8f08a2bf9e94488f430dfe7fd275f496e2c08fdb176a3809ba02a18c3" from cache

/src: (env DEPS "alcotest.0.8.5 astring.0.8.3 base-bigarray.base base-bytes.base base-ocamlbuild.base base-threads.base base-unix.base cmdliner.1.0.2 dune.3.16.0 fmt.0.8.5 host-arch-x86_64.1 host-system-other.1 ocaml.4.02.3 ocaml-base-compiler.4.02.3 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocamlbuild.0 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 result.1.4 topkg.1.0.0 uchar.0.0.2 uuidm.0.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 opam-file-format.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- 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 bookworm/main amd64 Packages [8787 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [179 kB]
- Fetched 9221 kB in 1s (7164 kB/s)
- Reading package lists...

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[opam-file-format.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.02.3).
[NOTE] Package ocaml is already installed (current version is 4.02.3).
[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-ocamlbuild is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2024-09-05 22:02.06 ---> using "83ef9033ecbd47c0b43177b8cfce7d1d1eb72dae4f54a7ccc075539464e70934" from cache

/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.02.3).
[NOTE] Package ocaml is already installed (current version is 4.02.3).
[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-ocamlbuild 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 13 packages
  - install alcotest            0.8.5
  - install astring             0.8.3
  - install base-bytes          base
  - install cmdliner            1.0.2
  - install dune                3.16.0
  - install fmt                 0.8.5
  - install ocamlbuild          0
  - install ocamlfind           1.9.6
  - install ocamlfind-secondary 1.9.6
  - install result              1.4
  - install topkg               1.0.0
  - install uchar               0.0.2
  - install uuidm               0.9.6

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.1.0.2  (cached)
-> retrieved astring.0.8.3  (cached)
-> retrieved fmt.0.8.5  (cached)
-> installed ocamlbuild.0
-> retrieved ocamlfind.1.9.6, ocamlfind-secondary.1.9.6  (cached)
-> retrieved alcotest.0.8.5  (cached)
-> retrieved result.1.4  (cached)
-> retrieved uchar.0.0.2  (cached)
-> retrieved topkg.1.0.0  (cached)
-> retrieved uuidm.0.9.6  (cached)
-> retrieved dune.3.16.0  (cached)
-> installed uchar.0.0.2
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlfind-secondary.1.9.6
-> installed dune.3.16.0
-> installed result.1.4
-> installed topkg.1.0.0
-> installed astring.0.8.3
-> installed cmdliner.1.0.2
-> installed uuidm.0.9.6
-> installed fmt.0.8.5
-> installed alcotest.0.8.5
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-05 22:02.39 ---> saved as "7d1272ca1d05ece30ef8820fb1f4d41a097d0976721888e9e75ddd56660f598d"

/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.0).
The following actions will be performed:
=== install 10 packages
  - install camlp-streams 5.0.1  [required by odoc-parser]
  - install cppo          1.7.0  [required by odoc]
  - install crunch        1.4.1  [required by odoc]
  - install fpath         0.7.2  [required by odoc]
  - install odoc          2.4.1
  - install odoc-parser   2.4.1  [required by odoc]
  - install re            1.10.3 [required by tyxml]
  - install seq           0.3.1  [required by tyxml]
  - install tyxml         4.5.0  [required by odoc]
  - install uutf          1.0.2  [required by tyxml]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved cppo.1.7.0  (cached)
-> retrieved crunch.1.4.1  (cached)
-> retrieved fpath.0.7.2  (cached)
-> installed camlp-streams.5.0.1
-> retrieved re.1.10.3  (cached)
-> retrieved seq.0.3.1  (cached)
-> retrieved uutf.1.0.2  (cached)
-> retrieved tyxml.4.5.0  (cached)
-> retrieved odoc.2.4.1, odoc-parser.2.4.1  (cached)
-> installed fpath.0.7.2
-> installed seq.0.3.1
-> installed uutf.1.0.2
-> installed cppo.1.7.0
-> installed re.1.10.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
2024-09-05 22:03.11 ---> saved as "0f9a732f8ef01cbb10d40dfc1f92ddfced0e294d93c7d053d2de9fe26071ca72"

/src: (copy (src .) (dst /src/))
2024-09-05 22:03.11 ---> saved as "8f4a6e030a082032e523f32d8c619191cf3086c5515278bd2dbe795f8ba3f916"

/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
(cd _build/default/_doc/_html && /home/opam/.opam/4.02/bin/odoc link -I ../_odoc/pkg/opam-file-format -I ../../src/.opam_file_format.objs/byte -o ../_odocls/opam-file-format/opamPrinter.odocl ../../src/.opam_file_format.objs/byte/opamPrinter.odoc)
File "src/opamPrinter.mli", line 129, character 8 to line 132, character 39:
Warning: Failed to resolve reference unresolvedroot(Invalid_argument) Couldn't find "Invalid_argument"
File "src/opamPrinter.mli", line 121, character 8 to line 122, character 77:
Warning: Failed to resolve reference unresolvedroot(Invalid_argument) Couldn't find "Invalid_argument"
File "src/opamPrinter.mli", line 82, character 6 to line 83, character 60:
Warning: Failed to resolve reference unresolvedroot(Invalid_argument) Couldn't find "Invalid_argument"
File "src/opamPrinter.mli", line 72, character 6 to line 73, character 60:
Warning: Failed to resolve reference unresolvedroot(Invalid_argument) Couldn't find "Invalid_argument"
File "src/opamPrinter.mli", line 66, character 6 to line 67, character 60:
Warning: Failed to resolve reference unresolvedroot(Invalid_argument) Couldn't find "Invalid_argument"
2024-09-05 22:03.12 ---> saved as "35e4a1563ca4163bb24bb20cae6f3c916e7b6c05f8c134f3856bb3d1964ce3a3"
Job succeeded
2024-09-05 22:03.12: Job succeeded