2025-07-25 21:32.39: 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:ce7c521de2e50e6ba02ecb769afb8f518fd84aef8447affa8b443c3175d9dc33
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:ce7c521de2e50e6ba02ecb769afb8f518fd84aef8447affa8b443c3175d9dc33
# 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 b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && 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-07-25 21:32.39: Using cache hint "gildor478/ocaml-gettext-ocaml/opam:alpine-3.21-ocaml-4.14@sha256:ce7c521de2e50e6ba02ecb769afb8f518fd84aef8447affa8b443c3175d9dc33-alpine-3.21-4.14_opam-2.3-c49c045a4d1704870ef3e1fd0a21e909"
2025-07-25 21:32.39: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:ce7c521de2e50e6ba02ecb769afb8f518fd84aef8447affa8b443c3175d9dc33)
(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 b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && 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-07-25 21:32.39: Waiting for resource in pool OCluster
2025-07-25 21:39.08: Waiting for worker…
2025-07-25 21:39.08: Got resource from pool OCluster
Building on asteria.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:ce7c521de2e50e6ba02ecb769afb8f518fd84aef8447affa8b443c3175d9dc33)
2025-07-25 21:45.45 ---> using "55d202f7fecfb1870e4e5ff40a2bf370c1ccb0b90b65ea9e954fa8fcf7fc2c95" 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-07-25 21:45.45 ---> using "c1d51d06920eacd71f2d4153227323d8a09e7beda6fa05378b451ec6ff01c78c" 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
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-07-25 21:45.45 ---> using "6fa3c7f3cfbbeedf3a00cfba3307159910bf2a55332e9be7a87b34e17d3df9ec" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 4.14.2
2.2.1
2025-07-25 21:45.45 ---> using "897c21cbf7bb963f010728dcde4e5d2d924e59be757b4f3c4f76a8669d5e1c44" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-07-25 21:45.45 ---> using "dc20facf3dc98e4a7c6ac0e8e4d08876a3cd713ed4d0adb776cdce3c5fadc13b" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
6dea2f9390..b8021439f8 master -> origin/master
b8021439f8 Merge pull request #28261 from kit-ty-kate/deploy-fix-25819
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
The following actions will be performed:
=== recompile 2 packages
- recompile ocaml 4.14.2 [upstream or system changes]
- recompile opam-depext 1.2.3 [uses ocaml]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-depext.1.2.3 (cached)
-> removed opam-depext.1.2.3
-> removed ocaml.4.14.2
-> installed ocaml.4.14.2
-> installed opam-depext.1.2.3
Done.
<><> opam-depext.1.2.3 installed successfully <><><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# Run eval $(opam env) to update the current shell environment
2025-07-25 21:45.45 ---> using "b32cb2cfe19dbfd7f59e3abfc2f523c8ebfc1a62028f53f56936aef7610eba03" from cache
/src: (copy (src gettext.opam gettext-stub.opam gettext-camomile.opam)
(dst ./))
2025-07-25 21:45.46 ---> saved as "6ff17ae4a351ce8a28e3197fb1bca55d3b808710911a184607e982b2d74da0fe"
/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-07-25 21:45.53 ---> saved as "8950f64eeb7102b41a010025b8748b57d1e3317835476d351a23a3cb79466e1b"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-25 21:45.53 ---> saved as "13d8c0b81fa21142bb3fdda34d38c87a98c63581574a3a3b98b2547af6830d1f"
/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.4-22-gaa6bf2dd9cc [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.4-22-gaa6bf2dd9cc [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v3.23.0_alpha20250612-3237-g7a047654ded [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.23.0_alpha20250612-3273-gead5c072304 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.23.0_alpha20250612-3231-gdb8f242edcc [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 59194 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-07-25 21:46.05 ---> saved as "bfc634edfd7db67412b59aac32d56f49daca54a4aa51f91994c56df873cd7b02"
/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 cppo.1.8.0 (cached)
-> retrieved csexp.1.5.2 (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 camomile.2.0.0 (cached)
-> retrieved stdlib-shims.0.3.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-07-25 21:47.27 ---> saved as "573dac426148570fcf68f78d2d995eb019656be1ca3522c8eeaa75f2b143d763"
/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 14 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.1.0
- install odoc-parser 3.1.0 [required by odoc]
- install ptime 1.2.0 [required by crunch]
- install re 1.13.2 [required by tyxml]
- install topkg 1.1.0 [required by fmt, astring, fpath]
- install tyxml 4.6.0 [required by odoc]
- install uutf 1.0.4 [required by tyxml]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved crunch.4.0.0 (cached)
-> retrieved fmt.0.10.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.13.2 (cached)
-> retrieved topkg.1.1.0 (cached)
-> retrieved tyxml.4.6.0 (cached)
-> retrieved uutf.1.0.4 (cached)
-> retrieved odoc.3.1.0, odoc-parser.3.1.0 (cached)
-> installed re.1.13.2
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.0
-> 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.1.0
-> installed tyxml.4.6.0
-> installed odoc.3.1.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-07-25 21:48.04 ---> saved as "55507668cc0e65680637819eee32f356815b17640fa7192edd93abdf25fd3feb"
/src: (copy (src .) (dst /src/))
2025-07-25 21:48.04 ---> saved as "a106f8c4f63d8208ff6700a2916aefa495f3a45d7addcf550893ba4c6a45da04"
/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-07-25 21:48.05 ---> saved as "557ca6f0103d769eededa7ce5bec09fc10bc4df43ea11fe0fa105b489a0dcb0f"
Job succeeded
2025-07-25 21:48.05: Job succeeded