2024-12-28 17:30.09: New job: test gildor478/ocaml-fileutils https://github.com/gildor478/ocaml-fileutils.git#refs/heads/master (366a3c52ac9d860220dddde64988ebdd644d9257) (linux-x86_64:(lint-doc)) Base: ocaml/opam:alpine-3.20-ocaml-4.14@sha256:1373fc17e4d358b445e2642e92df91c019d7c9372b501e18374f891e87f709b0 Opam project lint documentation To reproduce locally: git clone --recursive "https://github.com/gildor478/ocaml-fileutils.git" -b "master" && cd "ocaml-fileutils" && git reset --hard 366a3c52 cat > Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:alpine-3.20-ocaml-4.14@sha256:1373fc17e4d358b445e2642e92df91c019d7c9372b501e18374f891e87f709b0 # alpine-3.20-4.14_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 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 || git fetch origin master) && git reset -q --hard 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 && git log --no-decorate -n1 --oneline && opam update -u COPY --chown=1000:1000 fileutils.opam ./ RUN opam pin add -yn fileutils.dev './' RUN echo '(lang dune 3.0)' > './dune-project' ENV DEPS="base-bigarray.base base-threads.base base-unix.base dune.3.17.1 host-arch-x86_64.1 host-system-other.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ounit2.2.2.7 seq.base stdlib-shims.0.3.0" ENV CI="true" ENV OCAMLCI="true" RUN opam update --depexts && opam install --cli=2.2 --depext-only -y fileutils.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-12-28 17:30.09: Using cache hint "gildor478/ocaml-fileutils-ocaml/opam:alpine-3.20-ocaml-4.14@sha256:1373fc17e4d358b445e2642e92df91c019d7c9372b501e18374f891e87f709b0-alpine-3.20-4.14_opam-2.3-7f863a9a2127a7886e476bcb320fdce3" 2024-12-28 17:30.09: Using OBuilder spec: ((from ocaml/opam:alpine-3.20-ocaml-4.14@sha256:1373fc17e4d358b445e2642e92df91c019d7c9372b501e18374f891e87f709b0) (comment alpine-3.20-4.14_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 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 || git fetch origin master) && git reset -q --hard 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 && git log --no-decorate -n1 --oneline && opam update -u")) (copy (src fileutils.opam) (dst ./)) (run (network host) (shell "opam pin add -yn fileutils.dev './'")) (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) (env DEPS "base-bigarray.base base-threads.base base-unix.base dune.3.17.1 host-arch-x86_64.1 host-system-other.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ounit2.2.2.7 seq.base stdlib-shims.0.3.0") (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 fileutils.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-12-28 17:30.09: Waiting for resource in pool OCluster 2024-12-28 17:30.10: Waiting for worker… 2024-12-28 17:30.11: Got resource from pool OCluster Building on asteria.caelum.ci.dev All commits already cached HEAD is now at 366a3c5 Auto-generate fileutils.opam and get rid of stdlib-shims and seq, which are not needed anymore for OCaml 4.14. (from ocaml/opam:alpine-3.20-ocaml-4.14@sha256:1373fc17e4d358b445e2642e92df91c019d7c9372b501e18374f891e87f709b0) 2024-12-28 17:30.37 ---> saved as "a3e9f67bc1ee9201c96140c65f9dc31519ebfb933f158b75d3a6cace968f8f0b" /: (comment alpine-3.20-4.14_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-12-28 17:30.37 ---> saved as "66308d773b43ba3898c93af64bd73b8da6117c95b8fe0b7ae4d8a07716c3a93d" /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 Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from file:///home/opam/opam-repository 2024-12-28 17:31.49 ---> saved as "9e3731307851315ce47020bb2427b1002f81a8fb4c630ee7bfffd0fccf87d047" /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-130-generic The OCaml toplevel, version 4.14.2 2.2.1 2024-12-28 17:31.50 ---> saved as "ea3dab102ac768feea5b43c1fa21fd44b86b32965a9e27dee81ee1a5225631ba" /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2024-12-28 17:31.50 ---> saved as "a38d882d6fc122636748889519237a4069617c5306dbeed636f36e16db39aa53" /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 || git fetch origin master) && git reset -q --hard 5c7ffb23c89c6943b51f8e215548b72a12e3abd1 && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD de786e28db..bc512a2d75 master -> origin/master 5c7ffb23c8 Merge pull request #27137 from maiste/release-dune-3.17.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-12-28 17:32.55 ---> saved as "eabe45ac13969828ea709d14a209e2cb7ca7eac8c40ef2479c1c9a8012db282a" /src: (copy (src fileutils.opam) (dst ./)) 2024-12-28 17:32.56 ---> saved as "072dace260c22516d55475aee5d2d11dab72969a350daf458163d56c68edc364" /src: (run (network host) (shell "opam pin add -yn fileutils.dev './'")) [fileutils.dev] synchronised (file:///src) fileutils is now pinned to file:///src (version dev) 2024-12-28 17:32.58 ---> saved as "6e3759471564e8dbd9a9f6fa61acd318baa07a65fe9d087d3e5e8dd22eb77d1c" /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2024-12-28 17:32.58 ---> saved as "007c514dddf99fdc98cb3776d718e6d68e469b62a9ffa299d1a981f4bd05c858" /src: (env DEPS "base-bigarray.base base-threads.base base-unix.base dune.3.17.1 host-arch-x86_64.1 host-system-other.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ounit2.2.2.7 seq.base stdlib-shims.0.3.0") /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 fileutils.dev $DEPS")) + /usr/bin/sudo "apk" "update" - fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz - fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz - fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz - fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz - fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz - v3.20.3-440-gfd1129d1e18 [https://dl-cdn.alpinelinux.org/alpine/v3.20/main] - v3.20.3-445-gd6142f9d872 [https://dl-cdn.alpinelinux.org/alpine/v3.20/community] - v3.22.0_alpha20241224-276-g179b4c6c71d [https://dl-cdn.alpinelinux.org/alpine/edge/main] - v3.22.0_alpha20241224-285-g32eb1211278 [https://dl-cdn.alpinelinux.org/alpine/edge/community] - v3.22.0_alpha20241224-272-gf4e2aa1147d [https://dl-cdn.alpinelinux.org/alpine/edge/testing] - OK: 56363 distinct packages available <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [fileutils.dev] synchronised (file:///src) [NOTE] Package ocaml-options-vanilla is already installed (current version is 1). [NOTE] Package ocaml-config is already installed (current version is 2). [NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2). [NOTE] Package ocaml is already installed (current version is 4.14.2). [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-bigarray is already installed (current version is base). 2024-12-28 17:33.12 ---> saved as "ce9bce528f846ca3d2aebe89a7ab34638d7f3a85f0e24b8888fb1a635daa76f9" /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam install $DEPS")) [NOTE] Package ocaml-options-vanilla is already installed (current version is 1). [NOTE] Package ocaml-config is already installed (current version is 2). [NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2). [NOTE] Package ocaml is already installed (current version is 4.14.2). [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-bigarray is already installed (current version is base). The following actions will be performed: === install 4 packages - install dune 3.17.1 - install ounit2 2.2.7 - install seq base - install stdlib-shims 0.3.0 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved seq.base (cached) -> installed seq.base -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved ounit2.2.2.7 (cached) -> retrieved dune.3.17.1 (cached) -> installed dune.3.17.1 -> installed stdlib-shims.0.3.0 -> installed ounit2.2.2.7 Done. # Run eval $(opam env) to update the current shell environment 2024-12-28 17:33.46 ---> saved as "5cfae86ce967b88e32e991d4ba07250215fa829907378d95f11a415bee37f282" /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.1). The following actions will be performed: === install 17 packages - install astring 0.8.5 [required by odoc] - install camlp-streams 5.0.1 [required by odoc-parser] - install cmdliner 1.3.0 [required by odoc] - install cppo 1.8.0 [required by odoc] - install crunch 3.3.1 [required by odoc] - install fmt 0.9.0 [required by odoc] - install fpath 0.7.3 [required by odoc] - install ocamlbuild 0.15.0 [required by fmt, astring, fpath] - install ocamlfind 1.9.6 [required by fmt, astring, fpath] - install odoc 2.4.4 - install odoc-parser 2.4.4 [required by odoc] - install ptime 1.2.0 [required by crunch] - install re 1.12.0 [required by tyxml] - install result 1.5 [required by odoc] - install topkg 1.0.7 [required by fmt, astring, fpath] - install tyxml 4.6.0 [required by odoc] - install uutf 1.0.3 [required by tyxml] <><> 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 crunch.3.3.1 (cached) -> retrieved fmt.0.9.0 (cached) -> retrieved fpath.0.7.3 (cached) -> retrieved ocamlbuild.0.15.0 (cached) -> retrieved ocamlfind.1.9.6 (cached) -> installed camlp-streams.5.0.1 -> retrieved ptime.1.2.0 (cached) -> retrieved re.1.12.0 (cached) -> retrieved result.1.5 (cached) -> retrieved topkg.1.0.7 (cached) -> retrieved uutf.1.0.3 (cached) -> retrieved tyxml.4.6.0 (cached) -> retrieved odoc.2.4.4, odoc-parser.2.4.4 (cached) -> installed result.1.5 -> installed cppo.1.8.0 -> installed re.1.12.0 -> installed cmdliner.1.3.0 -> installed ocamlfind.1.9.6 -> installed ocamlbuild.0.15.0 -> installed topkg.1.0.7 -> installed uutf.1.0.3 -> installed fmt.0.9.0 -> installed ptime.1.2.0 -> installed astring.0.8.5 -> installed crunch.3.3.1 -> installed fpath.0.7.3 -> installed odoc-parser.2.4.4 -> installed tyxml.4.6.0 -> installed odoc.2.4.4 Done. # Run eval $(opam env) to update the current shell environment 2024-12-28 17:34.17 ---> saved as "72a7ecc486971a836057e4a16982dd4dc24e23af21c01c6dea6900669b098774" /src: (copy (src .) (dst /src/)) 2024-12-28 17:34.17 ---> saved as "5a26f0217451b5afabddb7c454390c528c36bb90b13b0704ba490c94a0101f14" /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.14/bin/odoc link -I ../_odoc/pkg/fileutils -I ../../src/lib/fileutils/.fileutils.objs/byte -I ../../src/lib/fileutils/str/.fileutils_str.objs/byte -o ../_odocls/fileutils/fileUtilStr.odocl ../../src/lib/fileutils/str/.fileutils_str.objs/byte/fileUtilStr.odoc) File "src/lib/fileutils/str/FileUtilStr.ml", line 33, characters 8-24: Warning: Reference to 'test' is ambiguous. Please specify its kind: section-test, val-test. 2024-12-28 17:34.18 ---> saved as "f0220f016f11299241121ad2b9e242255fcd4c16e9d271d8df0a3440e50c3404" Job succeeded 2024-12-28 17:34.18: Job succeeded