2025-06-12 14:20.21: New job: test gildor478/ocaml-gettext https://github.com/gildor478/ocaml-gettext.git#refs/heads/master (86ed8809490a5226f225fab58971179e2162da43) (linux-x86_64:(lint-doc))
Base: ocaml/opam:alpine-3.21-ocaml-4.14@sha256:2a715c092c4ab201120243e7efc44191d8c5aef3c1bf63ab56cfedfe3a662ad3
Opam project lint documentation
To reproduce locally:
git clone --recursive "https://github.com/gildor478/ocaml-gettext.git" -b "master" && cd "ocaml-gettext" && git reset --hard 86ed8809
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-4.14@sha256:2a715c092c4ab201120243e7efc44191d8c5aef3c1bf63ab56cfedfe3a662ad3
# alpine-3.21-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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 gettext.opam gettext-stub.opam gettext-camomile.opam ./
RUN opam pin add -yn gettext.dev './' && \
opam pin add -yn gettext-stub.dev './' && \
opam pin add -yn gettext-camomile.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 camomile.2.0.0 cppo.1.8.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 dune-private-libs.3.19.1 dune-site.3.19.1 dyn.3.19.1 fileutils.0.6.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ordering.3.19.1 ounit2.2.2.7 pp.2.0.0 seq.base stdlib-shims.0.3.0 stdune.3.19.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y gettext.dev gettext-stub.dev gettext-camomile.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-06-12 14:20.21: Using cache hint "gildor478/ocaml-gettext-ocaml/opam:alpine-3.21-ocaml-4.14@sha256:2a715c092c4ab201120243e7efc44191d8c5aef3c1bf63ab56cfedfe3a662ad3-alpine-3.21-4.14_opam-2.3-c49c045a4d1704870ef3e1fd0a21e909"
2025-06-12 14:20.21: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:2a715c092c4ab201120243e7efc44191d8c5aef3c1bf63ab56cfedfe3a662ad3)
(comment alpine-3.21-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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src gettext.opam gettext-stub.opam gettext-camomile.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn gettext.dev './' && \
\nopam pin add -yn gettext-stub.dev './' && \
\nopam pin add -yn gettext-camomile.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 camomile.2.0.0 cppo.1.8.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 dune-private-libs.3.19.1 dune-site.3.19.1 dyn.3.19.1 fileutils.0.6.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ordering.3.19.1 ounit2.2.2.7 pp.2.0.0 seq.base stdlib-shims.0.3.0 stdune.3.19.1")
(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 gettext.dev gettext-stub.dev gettext-camomile.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-06-12 14:20.21: Waiting for resource in pool OCluster
2025-06-12 18:25.53: Waiting for worker…
2025-06-12 18:29.45: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at 86ed880 Merge pull request #37 from glondu/no-dune-site
(from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:2a715c092c4ab201120243e7efc44191d8c5aef3c1bf63ab56cfedfe3a662ad3)
2025-06-12 18:29.47 ---> using "cae3f84721b1d1626d38afde4577807843a0da8ba3807fc3f5f4606864be9e98" from cache
/: (comment alpine-3.21-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"))
2025-06-12 18:29.47 ---> using "97da814219561b6495e4f91a5720e950e1146f08f3e65eb0f6762e4ae273cd54" 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 255 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=255 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-06-12 18:29.47 ---> using "86f45a7e2368db5fa7485019a1c8f7a49b6f53b96e1a96ab1fb9448873d4bc05" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.2.1
2025-06-12 18:29.47 ---> using "3eedd80b70838925d21433b6c8f824a77394d95b51be2c32b594251313a2bc97" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-06-12 18:29.47 ---> using "86082a16f7d5bfb7953bdc073375569a575d01b10811b773e1dc9d4c0f0a5b98" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
bc726805e3..a28eb8a148 master -> origin/master
a28eb8a148 Merge pull request #28017 from maiste/release-dune-3.19.1
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+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-06-12 18:29.47 ---> using "7ef1d3293b16416476f21fcf5ca91167ba39cf75ee939aed08fec64bb9527480" from cache
/src: (copy (src gettext.opam gettext-stub.opam gettext-camomile.opam)
(dst ./))
2025-06-12 18:29.47 ---> saved as "4a5dcfe2dc81b7578bf43a2870433cbf3d1f85136fa836265e49166f34f02617"
/src: (run (network host)
(shell "opam pin add -yn gettext.dev './' && \
\nopam pin add -yn gettext-stub.dev './' && \
\nopam pin add -yn gettext-camomile.dev './'"))
[gettext.dev] synchronised (file:///src)
gettext is now pinned to file:///src (version dev)
[gettext-stub.dev] synchronised (file:///src)
gettext-stub is now pinned to file:///src (version dev)
[gettext-camomile.dev] synchronised (file:///src)
gettext-camomile is now pinned to file:///src (version dev)
2025-06-12 18:30.01 ---> saved as "17dcad4a35e3e5de5fe7b46e4821e28e4787963efdaa14c6a7c0432383ac1435"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-12 18:30.02 ---> saved as "4cf5cc8951d681a7ea5106803f2bebeccee3135b12e7d320ce1960701db1a8eb"
/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 camomile.2.0.0 cppo.1.8.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 dune-private-libs.3.19.1 dune-site.3.19.1 dyn.3.19.1 fileutils.0.6.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ordering.3.19.1 ounit2.2.2.7 pp.2.0.0 seq.base stdlib-shims.0.3.0 stdune.3.19.1")
/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 gettext.dev gettext-stub.dev gettext-camomile.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/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.21.3-603-g364e1f9788f [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.3-602-gf01bbdd96f0 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v3.23.0_alpha20250612-31-g27f3e5633d0 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.23.0_alpha20250612-4-g040ffd45b32 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.23.0_alpha20250612-4-g040ffd45b32 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 58711 distinct packages available
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[gettext.dev] synchronised (file:///src)
[gettext-camomile.dev] synchronised (file:///src)
[gettext-stub.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 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 system packages will first need to be installed:
gettext-dev
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apk" "add" "gettext-dev"
- (1/7) Installing gettext-asprintf (0.22.5-r0)
- (2/7) Installing libintl (0.22.5-r0)
- (3/7) Installing gettext-libs (0.22.5-r0)
- (4/7) Installing gettext-envsubst (0.22.5-r0)
- (5/7) Installing libxml2 (2.13.4-r6)
- (6/7) Installing gettext (0.22.5-r0)
- (7/7) Installing gettext-dev (0.22.5-r0)
- Executing busybox-1.37.0-r12.trigger
- OK: 310 MiB in 108 packages
2025-06-12 18:30.35 ---> saved as "0c3bf915c472abf065f24801c7d98afe642849fde5a92853112eff19399c0ccd"
/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 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 16 packages
- install camlp-streams 5.0.1
- install camomile 2.0.0
- install cppo 1.8.0
- install csexp 1.5.2
- install dune 3.19.1
- install dune-configurator 3.19.1
- install dune-private-libs 3.19.1
- install dune-site 3.19.1
- install dyn 3.19.1
- install fileutils 0.6.6
- install ordering 3.19.1
- install ounit2 2.2.7
- install pp 2.0.0
- install seq base
- install stdlib-shims 0.3.0
- install stdune 3.19.1
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved fileutils.0.6.6 (cached)
-> retrieved ounit2.2.2.7 (cached)
-> retrieved pp.2.0.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved camomile.2.0.0 (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1, dune-private-libs.3.19.1, dune-site.3.19.1, dyn.3.19.1, ordering.3.19.1, stdune.3.19.1 (cached)
-> installed dune.3.19.1
-> installed camlp-streams.5.0.1
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed pp.2.0.0
-> installed stdlib-shims.0.3.0
-> installed fileutils.0.6.6
-> installed ordering.3.19.1
-> installed ounit2.2.2.7
-> installed dune-configurator.3.19.1
-> installed dyn.3.19.1
-> installed stdune.3.19.1
-> installed dune-private-libs.3.19.1
-> installed dune-site.3.19.1
-> installed camomile.2.0.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-06-12 18:33.35 ---> saved as "a425684f00e5f95c4ccb7c86787865106ea846f10f9431222f4327b76181446c"
/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.19.1).
The following actions will be performed:
=== install 16 packages
- install astring 0.8.5 [required by odoc]
- install cmdliner 1.3.0 [required by odoc]
- install crunch 4.0.0 [required by odoc]
- install fmt 0.10.0 [required by odoc]
- install fpath 0.7.3 [required by odoc]
- install ocamlbuild 0.16.1 [required by fmt, astring, fpath]
- install ocamlfind 1.9.8 [required by fmt, astring, fpath]
- install odoc 3.0.0
- install odoc-parser 3.0.0 [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.8 [required by fmt, astring, fpath]
- install tyxml 4.6.0 [required by odoc]
- install uutf 1.0.4 [required by tyxml]
- install yojson 3.0.0 [required by odoc]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved crunch.4.0.0 (cached)
-> retrieved fmt.0.10.0 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ptime.1.2.0 (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved result.1.5 (cached)
-> retrieved topkg.1.0.8 (cached)
-> retrieved uutf.1.0.4 (cached)
-> retrieved yojson.3.0.0 (cached)
-> retrieved tyxml.4.6.0 (cached)
-> installed result.1.5
-> retrieved odoc.3.0.0, odoc-parser.3.0.0 (cached)
-> installed re.1.12.0
-> installed yojson.3.0.0
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.0.8
-> installed uutf.1.0.4
-> installed fmt.0.10.0
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed crunch.4.0.0
-> installed fpath.0.7.3
-> installed odoc-parser.3.0.0
-> installed tyxml.4.6.0
-> installed odoc.3.0.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-06-12 18:35.03 ---> saved as "4d4296d31a1839cf3dfc8a8b76057b24fe735f38ebcda447fdd711428d51cc26"
/src: (copy (src .) (dst /src/))
2025-06-12 18:35.04 ---> saved as "624aea4733330d9a0f13945db5ba4caae088c49ca09e590affa154b239ea7295"
/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
(cd _build/default/_doc/_odoc/pkg/gettext && /home/opam/.opam/4.14/bin/odoc compile --pkg gettext -o page-index.odoc ../../../_mlds/gettext/index.mld)
File "../../../_mlds/gettext/index.mld", line 4, characters 0-11:
Warning: '{!modules ...}' should not be empty.
(cd _build/default && /home/opam/.opam/4.14/bin/ocamlyacc src/lib/gettext/base/gettextMo_parser.mly)
14 shift/reduce conflicts.
(cd _build/default && /home/opam/.opam/4.14/bin/ocamlyacc src/lib/gettext/extension/gettextPo_parser.mly)
12 shift/reduce conflicts.
(cd _build/default/_doc/_html && /home/opam/.opam/4.14/bin/odoc link -I ../_odoc/pkg/gettext -I ../../src/lib/gettext/.gettext.objs/byte -I ../../src/lib/gettext/base/.gettextBase.objs/byte -I ../../src/lib/gettext/extension/.gettextExtension.objs/byte -o ../_odocls/gettext/gettext.odocl ../../src/lib/gettext/base/.gettextBase.objs/byte/gettext.odoc)
File "src/lib/gettext/base/gettext.mli", line 54, characters 6-26:
Warning: Failed to resolve reference unresolvedroot(GettextTypes).Init Couldn't find "Init"
File "src/lib/gettext/base/gettext.mli", line 36, characters 6-20:
Warning: Failed to resolve reference unresolvedroot(GettextStub) Couldn't find "GettextStub"
File "src/lib/gettext/base/gettext.mli", line 35, characters 6-24:
Warning: Failed to resolve reference unresolvedroot(GettextCamomile) Couldn't find "GettextCamomile"
(cd _build/default/_doc/_html && /home/opam/.opam/4.14/bin/odoc link -I ../_odoc/pkg/gettext -I ../../src/lib/gettext/.gettext.objs/byte -I ../../src/lib/gettext/base/.gettextBase.objs/byte -I ../../src/lib/gettext/extension/.gettextExtension.objs/byte -o ../_odocls/gettext/gettextTypes.odocl ../../src/lib/gettext/base/.gettextBase.objs/byte/gettextTypes.odoc)
File "../../src/lib/gettext/base/.gettextBase.objs/byte/gettextTypes.odoc":
Warning: Hidden fields in type 'GettextTypes.po_content'
File "../../src/lib/gettext/base/.gettextBase.objs/byte/gettextTypes.odoc":
Warning: Hidden fields in type 'GettextTypes.po_commented_translation'
File "../../src/lib/gettext/base/.gettextBase.objs/byte/gettextTypes.odoc":
Warning: Hidden fields in type 'GettextTypes.mo_header'
File "../../src/lib/gettext/base/.gettextBase.objs/byte/gettextTypes.odoc":
Warning: Hidden fields in type 'GettextTypes.t'
2025-06-12 18:35.07 ---> saved as "76a0c9407e9e5a2a2922f281577db971266d3e9a5ed12e222192f7deb9164655"
Job succeeded
2025-06-12 18:35.07: Job succeeded