Organisationsocamlopam-file-format976d8e (master)(lint-doc)

(lint-doc)

Logs

Show full logs
2025-02-01 17:11.33: New job: test ocaml/opam-file-format https://github.com/ocaml/opam-file-format.git#refs/heads/master (976d8ec1157913b2d36b2705d650a5e0fd6fc092) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-12-ocaml-4.03@sha256:802b51ab1562b3741617a9f1700349f22cfb51a73b1add602814b2f31436d806
Opam project lint documentation

To reproduce locally:

git clone --recursive "https://github.com/ocaml/opam-file-format.git" -b "master" && cd "opam-file-format" && git reset --hard 976d8ec1
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.03@sha256:802b51ab1562b3741617a9f1700349f22cfb51a73b1add602814b2f31436d806
# 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 opam-file-format.opam ./
RUN opam pin add -yn opam-file-format.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.1.0 astring.0.8.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.0.4 dune.3.17.2 fmt.0.8.6 menhir.20230608 menhirLib.20230608 menhirSdk.20230608 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 re.1.11.0 seq.0.3.1 stdlib-shims.0.3.0 topkg.1.0.4 uuidm.0.9.7"
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

2025-02-01 17:11.33: Using cache hint "ocaml/opam-file-format-ocaml/opam:debian-12-ocaml-4.03@sha256:802b51ab1562b3741617a9f1700349f22cfb51a73b1add602814b2f31436d806-debian-12-4.03_opam-2.3-ed8ac02a6a20433672422c585388c091"
2025-02-01 17:11.33: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.03@sha256:802b51ab1562b3741617a9f1700349f22cfb51a73b1add602814b2f31436d806)
 (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 opam-file-format.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn opam-file-format.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "alcotest.1.1.0 astring.0.8.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.0.4 dune.3.17.2 fmt.0.8.6 menhir.20230608 menhirLib.20230608 menhirSdk.20230608 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 re.1.11.0 seq.0.3.1 stdlib-shims.0.3.0 topkg.1.0.4 uuidm.0.9.7")
 (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)"))
)

2025-02-01 17:11.33: Waiting for resource in pool OCluster
2025-02-01 17:13.05: Waiting for worker…
2025-02-01 17:14.35: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 976d8ec Merge pull request #61 from kit-ty-kate/rel-2.2.0-alpha1

(from ocaml/opam:debian-12-ocaml-4.03@sha256:802b51ab1562b3741617a9f1700349f22cfb51a73b1add602814b2f31436d806)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.03@sha256:802b51ab1562b3741617a9f1700349f22cfb51a73b1add602814b2f31436d806' locally
docker.io/ocaml/opam@sha256:802b51ab1562b3741617a9f1700349f22cfb51a73b1add602814b2f31436d806: Pulling from ocaml/opam
46e35eb005a6: Pulling fs layer
46e35eb005a6: Verifying Checksum
46e35eb005a6: Download complete
46e35eb005a6: Pull complete
Digest: sha256:802b51ab1562b3741617a9f1700349f22cfb51a73b1add602814b2f31436d806
Status: Downloaded newer image for ocaml/opam@sha256:802b51ab1562b3741617a9f1700349f22cfb51a73b1add602814b2f31436d806
2025-02-01 17:34.10 ---> using "1a689143ea134c88ba740cf6c4224b335a7ad49d5eed0cadfda0a4734062da5c" 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-01 17:34.10 ---> using "45b9780e5ff780ec9f606ad6995ca1f64bb355dd54475d9f19c70b1be7265447" 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
2025-02-01 17:34.10 ---> using "d5185e8a3e9e9cfac2ad310ef8c50464d6006e7f924495ee5923946a1c9d8b82" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 4.03.0
2.2.1
2025-02-01 17:34.10 ---> using "bd9b758f78d2b228e8099a9cc8e3452adb4b7b921caaa33098def600349551b1" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-02-01 17:34.10 ---> using "52dea28b65a573f30941bb2fc7ec64ebe1880de07719842cb51f27fdc191df30" 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"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   3e681a81f6..e25af452e6  master     -> origin/master
e25af452e6 Merge pull request #27273 from hannesm/archive-phase2

<><> 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
2025-02-01 17:34.10 ---> using "57218c0317fb5a4e107a5214b130888d878af547aa7510988452e4b9f180b071" from cache

/src: (copy (src opam-file-format.opam) (dst ./))
2025-02-01 17:34.10 ---> saved as "b19405e82036d9978225079a9c470b197786d0251adc4dfef9bb502682cc54ae"

/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)
2025-02-01 17:34.12 ---> saved as "ba566a006a90502f311a76b15100e772eb0f8fc2b47cf321350bcc2c6d929c8b"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-02-01 17:34.12 ---> saved as "da95e3f24d11e9f573ec232341c66fa6ccd7d0337e30250388e7d332f1fd24e0"

/src: (env DEPS "alcotest.1.1.0 astring.0.8.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.0.4 dune.3.17.2 fmt.0.8.6 menhir.20230608 menhirLib.20230608 menhirSdk.20230608 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 re.1.11.0 seq.0.3.1 stdlib-shims.0.3.0 topkg.1.0.4 uuidm.0.9.7")

/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"
- 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 [243 kB]
- Fetched 346 kB in 0s (890 kB/s)
- Reading package lists...
- 

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[opam-file-format.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-01 17:34.24 ---> saved as "a947016fee6c012d1ca0e75bd2368bf048d14e485886ce7993b395a3c4d40be1"

/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 17 packages
  - install alcotest            1.1.0
  - install astring             0.8.3
  - install base-bytes          base
  - install cmdliner            1.0.4
  - install dune                3.17.2
  - install fmt                 0.8.6
  - install menhir              20230608
  - install menhirLib           20230608
  - install menhirSdk           20230608
  - install ocamlbuild          0.14.3
  - install ocamlfind           1.9.6
  - install ocamlfind-secondary 1.9.6
  - install re                  1.11.0
  - install seq                 0.3.1
  - install stdlib-shims        0.3.0
  - install topkg               1.0.4
  - install uuidm               0.9.7

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.3  (cached)
-> retrieved cmdliner.1.0.4  (cached)
-> retrieved fmt.0.8.6  (cached)
-> retrieved menhir.20230608, menhirLib.20230608, menhirSdk.20230608  (cached)
-> retrieved alcotest.1.1.0  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved dune.3.17.2  (cached)
-> retrieved ocamlfind.1.9.6, ocamlfind-secondary.1.9.6  (cached)
-> retrieved re.1.11.0  (cached)
-> retrieved seq.0.3.1  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved uuidm.0.9.7  (cached)
-> retrieved topkg.1.0.4  (cached)
-> installed cmdliner.1.0.4
-> installed ocamlbuild.0.14.3
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlfind-secondary.1.9.6
-> installed topkg.1.0.4
-> installed uuidm.0.9.7
-> installed astring.0.8.3
-> installed dune.3.17.2
-> installed seq.0.3.1
-> installed stdlib-shims.0.3.0
-> installed menhirSdk.20230608
-> installed menhirLib.20230608
-> installed re.1.11.0
-> installed fmt.0.8.6
-> installed alcotest.1.1.0
-> installed menhir.20230608
Done.
# Run eval $(opam env) to update the current shell environment
2025-02-01 17:35.10 ---> saved as "dc8ef22939d86505f1468081b59985901d42014a8487085496c1338dd5a73656"

/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 9 packages
  - install camlp-streams 5.0.1 [required by odoc-parser]
  - install cppo          1.8.0 [required by odoc]
  - install crunch        1.4.1 [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 result        1.5   [required by odoc]
  - install tyxml         4.5.0 [required by odoc]
  - install uutf          1.0.3 [required by tyxml]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved crunch.1.4.1  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved result.1.5  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved tyxml.4.5.0  (cached)
-> installed camlp-streams.5.0.1
-> retrieved odoc.2.4.1, odoc-parser.2.4.1  (cached)
-> installed cppo.1.8.0
-> installed fpath.0.7.3
-> installed result.1.5
-> installed uutf.1.0.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-01 17:35.32 ---> saved as "974d15a5490c141f7e223e56ffd7aaa20977be4263cf944391314b22c62653bc"

/src: (copy (src .) (dst /src/))
2025-02-01 17:35.32 ---> saved as "528311297e99a75de99f653dc707dadc2c45ff601846f48492f4b79bba31103b"

/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.03/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"
2025-02-01 17:35.33 ---> saved as "a1a8ecc5d702c17b1e0e65a909f06e1f2be885a3f30a9595a7a4ba28051cf7ce"
Job succeeded
2025-02-01 17:35.33: Job succeeded