2025-03-31 14:28.53: New job: test realworldocaml/mdx https://github.com/realworldocaml/mdx.git#refs/heads/main (774f28dd76a2b08312beafba2f01858b960f5a75) (linux-x86_64:(lint-doc))Base: ocaml/opam:debian-12-ocaml-4.08@sha256:a7c06d659921ac2c9eb6cf997eb3a48300686cce5d1aeb393c0eb201644f0112Opam project lint documentationTo reproduce locally:git clone --recursive "https://github.com/realworldocaml/mdx.git" -b "main" && cd "mdx" && git reset --hard 774f28ddcat > Dockerfile <<'END-OF-DOCKERFILE'FROM ocaml/opam:debian-12-ocaml-4.08@sha256:a7c06d659921ac2c9eb6cf997eb3a48300686cce5d1aeb393c0eb201644f0112# debian-12-4.08_opam-2.3USER 1000:1000ENV CLICOLOR_FORCE="1"ENV OPAMCOLOR="always"WORKDIR /srcRUN sudo ln -f /usr/bin/opam-2.2 /usr/bin/opamRUN opam init --reinit -niRUN uname -rs && opam exec -- ocaml -version && opam --versionWORKDIR /srcRUN sudo chown opam /srcRUN cd ~/opam-repository && (git cat-file -e 48e47466f5898fbf475b71788bcf587634373afa || git fetch origin master) && git reset -q --hard 48e47466f5898fbf475b71788bcf587634373afa && git log --no-decorate -n1 --oneline && opam update -uCOPY --chown=1000:1000 mdx.opam ./RUN opam pin add -yn mdx.dev './'RUN echo '(lang dune 3.0)' > './dune-project'ENV DEPS="alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 fmt.0.10.0 logs.0.8.0 lwt.5.9.1 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.11.0 result.1.5 seq.base stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4"ENV CI="true"ENV OCAMLCI="true"RUN opam update --depexts && opam install --cli=2.2 --depext-only -y mdx.dev $DEPSRUN opam install $DEPSRUN 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-DOCKERFILEdocker build .END-REPRO-BLOCK2025-03-31 14:28.53: Using cache hint "realworldocaml/mdx-ocaml/opam:debian-12-ocaml-4.08@sha256:a7c06d659921ac2c9eb6cf997eb3a48300686cce5d1aeb393c0eb201644f0112-debian-12-4.08_opam-2.3-21b6f4b24144298a738318246b280e30"2025-03-31 14:28.53: Using OBuilder spec:((from ocaml/opam:debian-12-ocaml-4.08@sha256:a7c06d659921ac2c9eb6cf997eb3a48300686cce5d1aeb393c0eb201644f0112)(comment debian-12-4.08_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 48e47466f5898fbf475b71788bcf587634373afa || git fetch origin master) && git reset -q --hard 48e47466f5898fbf475b71788bcf587634373afa && git log --no-decorate -n1 --oneline && opam update -u"))(copy (src mdx.opam) (dst ./))(run (network host)(shell "opam pin add -yn mdx.dev './'"))(run (network host)(shell "echo '(lang dune 3.0)' > './dune-project'"))(env DEPS "alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 fmt.0.10.0 logs.0.8.0 lwt.5.9.1 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.11.0 result.1.5 seq.base stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4")(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 mdx.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-03-31 14:28.53: Waiting for resource in pool OCluster2025-03-31 14:28.53: Waiting for worker…2025-03-31 14:28.53: Got resource from pool OClusterBuilding on x86-bm-c2.sw.ocaml.orgAll commits already cachedHEAD is now at 774f28d Merge pull request #466 from jonludlam/error_in_mli_parser(from ocaml/opam:debian-12-ocaml-4.08@sha256:a7c06d659921ac2c9eb6cf997eb3a48300686cce5d1aeb393c0eb201644f0112)2025-03-31 14:28.55 ---> using "212a1b8e3ddbfd9f9183e74007cf11c0bf064a0a89cec366fca17516e11ae032" from cache/: (comment debian-12-4.08_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-03-31 14:28.55 ---> using "413629085e7f18f9fbd6a9a1af3ee336debb3916f3d8e2c7c11c572c5ffbfb6e" 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] yFormat 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-repository2025-03-31 14:28.55 ---> using "414411a4eddae4a348b8c0b8cb649ef7fd3f8a0a425c387f8be114faa72a9923" from cache/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))Linux 5.15.0-134-genericThe OCaml toplevel, version 4.08.12.2.12025-03-31 14:28.55 ---> using "57da383ccbd01e422665241ed1ebfd12f2446a7280523b949361faaecca46580" from cache/src: (workdir /src)/src: (run (shell "sudo chown opam /src"))2025-03-31 14:28.55 ---> using "e9f0c43149b5617f1cde9944ca5930091b34b4189d8816a5e14ac6eda5ffb8d3" from cache/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))(network host)(shell "cd ~/opam-repository && (git cat-file -e 48e47466f5898fbf475b71788bcf587634373afa || git fetch origin master) && git reset -q --hard 48e47466f5898fbf475b71788bcf587634373afa && git log --no-decorate -n1 --oneline && opam update -u"))From https://github.com/ocaml/opam-repository* branch master -> FETCH_HEADa8ed476033..a8a89f62d8 master -> origin/master48e47466f5 Merge pull request #27676 from mtelvers/opam-publish-ocaml-version.4.0.0<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive[default] synchronised from file:///home/opam/opam-repositoryEverything 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 environment2025-03-31 14:28.55 ---> using "3ca0f4945db2f43532cb44a53ffbe32122cc0f2d82d8a7d5569173f4bfa38925" from cache/src: (copy (src mdx.opam) (dst ./))2025-03-31 14:28.55 ---> using "9bc7460bbf83b62e47df98d378fdebe0e9bed0d4854a3699dcf049ee2a5f4d7d" from cache/src: (run (network host)(shell "opam pin add -yn mdx.dev './'"))[mdx.dev] synchronised (file:///src)mdx is now pinned to file:///src (version dev)2025-03-31 14:28.55 ---> using "6839e8bae25538f79eb440605a432650c8efab09326defc301496c6c63b73982" from cache/src: (run (network host)(shell "echo '(lang dune 3.0)' > './dune-project'"))2025-03-31 14:28.55 ---> using "e718a416767ab8cab0f2fa67db5aa65b5d999b3828658794ec2dee519e1376a0" from cache/src: (env DEPS "alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 fmt.0.10.0 logs.0.8.0 lwt.5.9.1 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.11.0 result.1.5 seq.base stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4")/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 mdx.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 bookworm-updates/main amd64 Packages.diff/Index [16.2 kB]- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2025-03-27-1414.15-F-2025-03-27-1414.15.pdiff [187 B]- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2025-03-27-1414.15-F-2025-03-27-1414.15.pdiff [187 B]- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [250 kB]- Fetched 370 kB in 0s (1254 kB/s)- Reading package lists...<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>[mdx.dev] synchronised (file:///src)[NOTE] Package ocaml-config is already installed (current version is 1).[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).[NOTE] Package ocaml is already installed (current version is 4.08.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-bigarray is already installed (current version is base).2025-03-31 14:28.55 ---> using "0c8faa48b43fcdaaf3c66fb6c4f10a7c70cb9cf598cf22fd973ea0b324fd046f" from cache/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))(network host)(shell "opam install $DEPS"))[NOTE] Package ocaml-config is already installed (current version is 1).[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).[NOTE] Package ocaml is already installed (current version is 4.08.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-bigarray is already installed (current version is base).The following actions will be performed:=== install 23 packages- install alcotest 1.9.0- install astring 0.8.5- install base-bytes base- install camlp-streams 5.0.1- install cmdliner 1.3.0- install cppo 1.8.0- install csexp 1.5.2- install dune 3.17.2- install dune-configurator 3.17.2- install fmt 0.10.0- install logs 0.8.0- install lwt 5.9.1- install ocaml-syntax-shims 1.0.0- install ocaml-version 4.0.0- install ocamlbuild 0.16.1- install ocamlfind 1.9.8- install ocplib-endian 1.2- install re 1.11.0- install result 1.5- install seq base- install stdlib-shims 0.3.0- install topkg 1.0.8- install uutf 1.0.4<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>-> retrieved camlp-streams.5.0.1 (cached)-> retrieved astring.0.8.5 (cached)-> retrieved cppo.1.8.0 (cached)-> retrieved cmdliner.1.3.0 (cached)-> retrieved alcotest.1.9.0 (cached)-> retrieved csexp.1.5.2 (cached)-> retrieved fmt.0.10.0 (cached)-> retrieved logs.0.8.0 (cached)-> retrieved ocaml-syntax-shims.1.0.0 (cached)-> retrieved lwt.5.9.1 (cached)-> retrieved ocaml-version.4.0.0 (cached)-> retrieved ocamlfind.1.9.8 (cached)-> retrieved ocamlbuild.0.16.1 (cached)-> retrieved ocplib-endian.1.2 (cached)-> retrieved re.1.11.0 (cached)-> retrieved seq.base (cached)-> installed seq.base-> retrieved result.1.5 (cached)-> retrieved stdlib-shims.0.3.0 (cached)-> retrieved uutf.1.0.4 (cached)-> retrieved topkg.1.0.8 (cached)-> retrieved dune.3.17.2, dune-configurator.3.17.2 (cached)-> installed cmdliner.1.3.0-> installed ocamlbuild.0.16.1-> installed ocamlfind.1.9.8-> installed base-bytes.base-> installed topkg.1.0.8-> installed uutf.1.0.4-> installed fmt.0.10.0-> installed astring.0.8.5-> installed dune.3.17.2-> installed csexp.1.5.2-> installed camlp-streams.5.0.1-> installed cppo.1.8.0-> installed ocaml-syntax-shims.1.0.0-> installed ocaml-version.4.0.0-> installed re.1.11.0-> installed result.1.5-> installed stdlib-shims.0.3.0-> installed ocplib-endian.1.2-> installed alcotest.1.9.0-> installed dune-configurator.3.17.2-> installed lwt.5.9.1-> installed logs.0.8.0Done.# Run eval $(opam env) to update the current shell environment2025-03-31 14:28.55 ---> using "16622a41fd109a27767bf44cfb24cdd792085118ba3691f7bdb93e29902c10af" from cache/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 7 packages- install crunch 4.0.0 [required by odoc]- install fpath 0.7.3 [required by odoc]- install odoc 3.0.0- install odoc-parser 3.0.0 [required by odoc]- install ptime 1.2.0 [required by crunch]- install tyxml 4.6.0 [required by odoc]- install yojson 2.2.2 [required by odoc]<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>-> retrieved crunch.4.0.0 (cached)-> retrieved fpath.0.7.3 (cached)-> retrieved ptime.1.2.0 (cached)-> retrieved tyxml.4.6.0 (cached)-> retrieved yojson.2.2.2 (cached)-> retrieved odoc.3.0.0, odoc-parser.3.0.0 (cached)-> installed fpath.0.7.3-> installed ptime.1.2.0-> installed yojson.2.2.2-> installed crunch.4.0.0-> installed odoc-parser.3.0.0-> installed tyxml.4.6.0-> installed odoc.3.0.0Done.# Run eval $(opam env) to update the current shell environment2025-03-31 14:28.55 ---> using "5612a20bd1c8e4014424d50c50cf06a0722753460cba67f3e80cfa7de496603b" from cache/src: (copy (src .) (dst /src/))2025-03-31 14:28.55 ---> using "0114701df48ea69581298ca84c5e7eeb2b1a8b03af051a71a562897082358ce7" from cache/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.08/bin/odoc link -I ../_odoc/pkg/mdx -I ../../lib/.mdx.objs/byte -I ../../lib/test/.mdx_test.objs/byte -I ../../lib/top/.mdx_top.objs/byte -I ../../vendor/odoc-parser/src/.odoc_parser.objs/byte -o ../_odocls/mdx/mdx.odocl ../../lib/.mdx.objs/byte/mdx.odoc)File "lib/mdx.mli", line 20, characters 9-25:Warning: Reference to 'Block' is ambiguous. Please specify its kind: constructor-Block, module-Block.File "lib/util.mli", line 65, characters 6-60:Warning: Failed to resolve reference unresolvedroot(Invalid_argument) Couldn't find "Invalid_argument"2025-03-31 14:28.55 ---> using "e0f0868895df92673131cfd6974a15e3026d487320399b086c1ed8be089a7bc8" from cacheJob succeeded2025-03-31 14:28.55: Job succeeded