Organisationsocamlopam-file-formatc52ffe ()(lint-doc)

(lint-doc)

Link Copied
Code Copied

Logs

2024-08-21 14:40.59: New job: test ocaml/opam-file-format https://github.com/ocaml/opam-file-format.git#refs/pull/60/head (c52ffe781c7885d3cfe916b646807557a4d0e686) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-12-ocaml-4.03@sha256:e3d2f651cd1c2cdd36756fa50b9213a2dfd751fe9e4af143eb06fdc539bc4c8c
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/60/head" && git reset --hard c52ffe78
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.03@sha256:e3d2f651cd1c2cdd36756fa50b9213a2dfd751fe9e4af143eb06fdc539bc4c8c
# debian-12-4.03_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 3cf30a1f05a1256914dd9182c534718dab6cf30c || git fetch origin master) && git reset -q --hard 3cf30a1f05a1256914dd9182c534718dab6cf30c && 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.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.16.0 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.08.1-1 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


2024-08-21 14:40.59: Using cache hint "ocaml/opam-file-format-ocaml/opam:debian-12-ocaml-4.03@sha256:e3d2f651cd1c2cdd36756fa50b9213a2dfd751fe9e4af143eb06fdc539bc4c8c-debian-12-4.03_opam-2.2-d97c481394225e0e8367fb517db5f2b9"
2024-08-21 14:40.59: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.03@sha256:e3d2f651cd1c2cdd36756fa50b9213a2dfd751fe9e4af143eb06fdc539bc4c8c)
 (comment debian-12-4.03_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 3cf30a1f05a1256914dd9182c534718dab6cf30c || git fetch origin master) && git reset -q --hard 3cf30a1f05a1256914dd9182c534718dab6cf30c && 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.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.16.0 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.08.1-1 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)"))
)


2024-08-21 14:40.59: Waiting for resource in pool OCluster
2024-08-21 19:40.49: Waiting for worker…
2024-08-21 19:45.37: Got resource from pool OCluster
Building on x86-bm-c20.sw.ocaml.org
All commits already cached
HEAD is now at c52ffe7 Remove hash-consing


(from ocaml/opam:debian-12-ocaml-4.03@sha256:e3d2f651cd1c2cdd36756fa50b9213a2dfd751fe9e4af143eb06fdc539bc4c8c)
2024-08-21 19:45.37 ---> using "d6ece13968201cded3598a7df6e76afeaf82f437a76f7b44a3113ff16380cf6e" from cache


/: (comment debian-12-4.03_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-08-21 19:45.37 ---> using "7c361458b06aaf8406b3ba2e0106d874423336151a3dab58968204c2a16e6c56" 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-08-21 19:45.37 ---> using "eeb3c758b790db6a71c36dfaa6369ee1e7778d35d3b1c10e351004aa348e56c7" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-117-generic
The OCaml toplevel, version 4.03.0
2.2.0
2024-08-21 19:45.37 ---> using "1ad197a40ccbf7d423a4ebbc1c800e1a3202dda264b2d7ecd9fc431b97d13e37" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-08-21 19:45.37 ---> using "0f59a61aa1f139c9a82c5fcc3c2221a72d44d5d8c5bd32d507700f7489d672f9" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 3cf30a1f05a1256914dd9182c534718dab6cf30c || git fetch origin master) && git reset -q --hard 3cf30a1f05a1256914dd9182c534718dab6cf30c && git log --no-decorate -n1 --oneline && opam update -u"))
3cf30a1f05 Merge pull request #26101 from emillon/release-dune-3.16.0


<><> 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-08-21 19:46.25 ---> saved as "092221ff40916b816340adb3ff72615567a4ae6953f24460b6e9b48b58a7e2f0"


/src: (copy (src opam-file-format.opam) (dst ./))
2024-08-21 19:46.25 ---> saved as "2906f71c3b07bbcbd1a17c16b8c50e323bd10f702e22f797fd3654c804592bb3"


/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-08-21 19:46.27 ---> saved as "9a1b20617ab918348a671341254001ee96bf31bb88d2e7ec58daf1c6b7e35d3c"


/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.16.0 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.08.1-1 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 [176 kB]
- Fetched 279 kB in 0s (1112 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.08.1-1).
[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).
2024-08-21 19:46.47 ---> saved as "a36c606f6ffda69a1078c69c1310f818fa7c9fa21b909c31f217c90d2b3ead3c"


/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.08.1-1).
[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.16.0
  - 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.16.0  (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.16.0
-> 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
2024-08-21 19:48.37 ---> saved as "d1b22b6090306f7db441cb5b0599b4131b0f0b24727bb0a62805adf399ffae88"


/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.6.9        [required by odoc]
  - install crunch        2.1.0        [required by odoc]
  - install fpath         0.7.3        [required by odoc]
  - install jbuilder      1.0+beta20.2 [required by crunch]
  - install odoc          2.4.2
  - install odoc-parser   2.4.2        [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.6.9  (cached)
-> retrieved crunch.2.1.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved result.1.5  (cached)
-> retrieved jbuilder.1.0+beta20.2  (cached)
-> installed camlp-streams.5.0.1
-> retrieved odoc.2.4.2, odoc-parser.2.4.2  (cached)
-> installed fpath.0.7.3
-> retrieved tyxml.4.5.0  (cached)
-> installed result.1.5
-> retrieved uutf.1.0.3  (cached)
-> installed cppo.1.6.9
-> installed odoc-parser.2.4.2
-> installed uutf.1.0.3
-> installed tyxml.4.5.0
-> installed jbuilder.1.0+beta20.2
-> installed crunch.2.1.0
-> installed odoc.2.4.2
Done.
# Run eval $(opam env) to update the current shell environment
2024-08-21 19:49.35 ---> saved as "34df2054bec6b5fe2f3031079d9cb135f8f3bf2cbd1e743a89d227017d8173ac"


/src: (copy (src .) (dst /src/))
2024-08-21 19:49.35 ---> saved as "7307345f23394aafcecbe7af587287ac829ef9b960153aeb1f2fc228d422e27e"


/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"
2024-08-21 19:49.35 ---> saved as "38425ba8471e2f9e3c6dea1576f2fbd76a85f33fa1d5ea77af7af990954daf3b"
Job succeeded
2024-08-21 19:49.35: Job succeeded