2024-11-19 19:06.19: New job: test ocaml-community/yojson https://github.com/ocaml-community/yojson.git#refs/heads/master (ce6e2505c52153b36989e1e36abb6dae96a7e703) (linux-x86_64:(lint-doc))
Base: ocaml/opam:debian-12-ocaml-4.02@sha256:22890c762ded7d3080875d91576770773078cabe55d318488c30fe5ae1ffd52a
Opam project lint documentation
To reproduce locally:
git clone --recursive "https://github.com/ocaml-community/yojson.git" -b "master" && cd "yojson" && git reset --hard ce6e2505
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.02@sha256:22890c762ded7d3080875d91576770773078cabe55d318488c30fe5ae1ffd52a
# debian-12-4.02_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 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 yojson.opam yojson-five.opam yojson-bench.opam ./
RUN opam pin add -yn yojson.dev './' && \
opam pin add -yn yojson-five.dev './' && \
opam pin add -yn yojson-bench.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.1 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 seq.0.3.1 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 yojson.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 --only-packages=yojson @doc || (echo "dune build @doc failed"; exit 2)
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2024-11-19 19:06.19: Using cache hint "ocaml-community/yojson-ocaml/opam:debian-12-ocaml-4.02@sha256:22890c762ded7d3080875d91576770773078cabe55d318488c30fe5ae1ffd52a-debian-12-4.02_opam-2.3-10ee7bc32252cfadfb0f39bfd72703ac"
2024-11-19 19:06.19: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.02@sha256:22890c762ded7d3080875d91576770773078cabe55d318488c30fe5ae1ffd52a)
(comment debian-12-4.02_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 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src yojson.opam yojson-five.opam yojson-bench.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn yojson.dev './' && \
\nopam pin add -yn yojson-five.dev './' && \
\nopam pin add -yn yojson-bench.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.1 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 seq.0.3.1 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 yojson.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 --only-packages=yojson @doc || (echo \"dune build @doc failed\"; exit 2)"))
)
2024-11-19 19:06.19: Waiting for resource in pool OCluster
2024-11-20 08:15.52: Waiting for worker…
2024-11-20 08:18.56: Got resource from pool OCluster
Building on x86-bm-c8.sw.ocaml.org
All commits already cached
HEAD is now at ce6e250 Merge pull request #158 from Leonidas-from-XIV/remove-tuple-variant
(from ocaml/opam:debian-12-ocaml-4.02@sha256:22890c762ded7d3080875d91576770773078cabe55d318488c30fe5ae1ffd52a)
2024-11-20 08:18.57 ---> using "66db15a17fd9d4c0c592b8e1f462864d8b97fdcd777d8938235ff4d0428679a7" from cache
/: (comment debian-12-4.02_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"))
2024-11-20 08:18.57 ---> using "9b351e9267a5296d228e1653a70c992c84f22072bf994d0ab5bbcb816c61ebe8" 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-11-20 08:18.57 ---> using "09baf7f5177fe93d779f3af4a023ca799d1e8f78a4153a14f951217dee69487c" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-125-generic
The OCaml toplevel, version 4.02.3
2.2.1
2024-11-20 08:18.57 ---> using "2d73389f88e9971da59ce4c71833b36fc7c6f9abe4c458fa5a36956a772e46f5" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-11-20 08:18.57 ---> using "9799044ec100528a284f2df6e06aea824048f8577d3abe5522c7fbc04a269f73" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && git log --no-decorate -n1 --oneline && opam update -u"))
371a52f4a8 Merge pull request #26816 from maiste/release-dune-3.16.1
<><> 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-11-20 08:18.57 ---> using "14e3d4f1db1c41ae2552350f44b907d8cecf855387c5bc0ca69a8cbd1700129a" from cache
/src: (copy (src yojson.opam yojson-five.opam yojson-bench.opam) (dst ./))
2024-11-20 08:18.57 ---> saved as "db6f4298aeda7fac21d07c1d6f017e64ec5649fa129340eafc8ce8e80f6c723e"
/src: (run (network host)
(shell "opam pin add -yn yojson.dev './' && \
\nopam pin add -yn yojson-five.dev './' && \
\nopam pin add -yn yojson-bench.dev './'"))
[yojson.dev] synchronised (file:///src)
yojson is now pinned to file:///src (version dev)
[yojson-five.dev] synchronised (file:///src)
yojson-five is now pinned to file:///src (version dev)
[yojson-bench.dev] synchronised (file:///src)
yojson-bench is now pinned to file:///src (version dev)
2024-11-20 08:19.06 ---> saved as "480f761ad1410c539f70c2086be618bf8a2ae5185f06dc914177f8882e644583"
/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.1 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 seq.0.3.1 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 yojson.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 [204 kB]
- Fetched 308 kB in 1s (556 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[yojson.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-11-20 08:19.38 ---> saved as "555f060076bb9f03282e69f61360ca61314afc41d1df1035ca4144741ae110f5"
/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 14 packages
- install alcotest 0.8.5
- install astring 0.8.3
- install base-bytes base
- install cmdliner 1.0.2
- install dune 3.16.1
- install fmt 0.8.5
- install ocamlbuild 0
- install ocamlfind 1.9.6
- install ocamlfind-secondary 1.9.6
- install result 1.4
- install seq 0.3.1
- install topkg 1.0.0
- install uchar 0.0.2
- install uuidm 0.9.6
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.3 (cached)
-> retrieved cmdliner.1.0.2 (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 seq.0.3.1 (cached)
-> retrieved uchar.0.0.2 (cached)
-> retrieved uuidm.0.9.6 (cached)
-> retrieved topkg.1.0.0 (cached)
-> installed uchar.0.0.2
-> retrieved dune.3.16.1 (cached)
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlfind-secondary.1.9.6
-> installed dune.3.16.1
-> installed result.1.4
-> installed seq.0.3.1
-> 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-11-20 08:21.33 ---> saved as "958fa46b17d5b4d61269631e79d0aa2bef07da17b88d02be07b049f0ebe43fdb"
/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.1).
The following actions will be performed:
=== install 9 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 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)
-> retrieved re.1.10.3 (cached)
-> retrieved uutf.1.0.2 (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 fpath.0.7.2
-> installed re.1.10.3
-> installed uutf.1.0.2
-> installed cppo.1.7.0
-> 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-11-20 08:22.18 ---> saved as "2733226c651c7045663a20c68d01ec47da6dec405b84cdf0c0afb3e1bc0bd50b"
/src: (copy (src .) (dst /src/))
2024-11-20 08:22.18 ---> saved as "3fc93d9858ca93f6d9eae39db9a6c0d9c75d956a4a3980f302079deacea566f6"
/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build --only-packages=yojson @doc || (echo \"dune build @doc failed\"; exit 2)"))
(cd _build/default/_doc/_html && /home/opam/.opam/4.02/bin/odoc link -I ../_odoc/pkg/yojson -I ../../lib/.yojson.objs/byte -o ../_odocls/yojson/yojson.odocl ../../lib/.yojson.objs/byte/yojson.odoc)
File "lib/raw.mli", line 516, characters 6-70:
Warning: Failed to resolve reference unresolvedroot(Invalid_argument) Couldn't find "Invalid_argument"
File "lib/raw.mli", line 197, characters 24-43:
Warning: Failed to resolve reference unresolvedroot(Format).formatter Couldn't find "Format"
File "lib/safe.mli", line 541, characters 6-70:
Warning: Failed to resolve reference unresolvedroot(Invalid_argument) Couldn't find "Invalid_argument"
File "lib/safe.mli", line 222, characters 24-43:
Warning: Failed to resolve reference unresolvedroot(Format).formatter Couldn't find "Format"
File "lib/basic.mli", line 521, characters 6-70:
Warning: Failed to resolve reference unresolvedroot(Invalid_argument) Couldn't find "Invalid_argument"
File "lib/basic.mli", line 202, characters 24-43:
Warning: Failed to resolve reference unresolvedroot(Format).formatter Couldn't find "Format"
File "lib/t.mli", line 199, characters 24-43:
Warning: While resolving the expansion of include at File "lib/yojson.mli", line 15, character 0
Failed to resolve reference unresolvedroot(Format).formatter Couldn't find "Format"
2024-11-20 08:22.19 ---> saved as "bfec61361d95200de04991c8decfb0e6334978250b82696b37847a9a781519f8"
Job succeeded
2024-11-20 08:22.19: Job succeeded