Build:
- 0
2026-03-02 19:23.56: New job: test piqi.0.7.6 with dune.3.22.0~alpha0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29497/head (118a690db616b1df5c53d5fa00eb70791a80ae2c)
on debian-13-ocaml-4.14/amd64
To reproduce locally:
cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29497/head" && git reset --hard 118a690d
git fetch origin master
git merge --no-edit a7b8d1036328cf727af175b657f3d2b732b4d868
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:ae45d5e5a934874dc44b0d004f6b8a813fba3f355216f78a39ed4f25a53e478a
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn dune.3.22.0~alpha0 3.22.0~alpha0
RUN opam reinstall dune.3.22.0~alpha0; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'dune.3.22.0~alpha0' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN opam reinstall piqi.0.7.6; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'piqi.0.7.6' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN (opam reinstall --with-test piqi.0.7.6) || true
RUN opam reinstall --with-test --verbose piqi.0.7.6; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'piqi.0.7.6' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
END-OF-DOCKERFILE
docker build -f ../Dockerfile .
2026-03-02 19:23.56: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:ae45d5e5a934874dc44b0d004f6b8a813fba3f355216f78a39ed4f25a53e478a-dune.3.22.0~alpha0-piqi.0.7.6-118a690db616b1df5c53d5fa00eb70791a80ae2c"
2026-03-02 19:23.56: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:ae45d5e5a934874dc44b0d004f6b8a813fba3f355216f78a39ed4f25a53e478a)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "opam option solver=builtin-0install && opam config report"))
(env OPAMDOWNLOADJOBS 1)
(env OPAMERRLOGLEN 0)
(env OPAMPRECISETRACKING 1)
(env CI true)
(env OPAM_REPO_CI true)
(run (shell "rm -rf opam-repository/"))
(copy (src .) (dst opam-repository/))
(run (shell "opam repository set-url --strict default opam-repository/"))
(run (network host)
(shell "opam update --depexts || true"))
(run (shell "opam pin add -k version -yn dune.3.22.0~alpha0 3.22.0~alpha0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dune.3.22.0~alpha0;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'dune.3.22.0~alpha0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall piqi.0.7.6;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'piqi.0.7.6' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (network host)
(shell "(opam reinstall --with-test piqi.0.7.6) || true"))
(run (shell "opam reinstall --with-test --verbose piqi.0.7.6;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'piqi.0.7.6' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-03-02 19:23.56: Waiting for resource in pool OCluster
2026-03-03 04:23.17: Waiting for worker…
2026-03-03 04:25.05: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at a7b8d10363 Merge pull request #29489 from anuragsoni/opam-publish-kqueue.0.7.0
Updating a7b8d10363..118a690db6
Fast-forward
.../chrome-trace/chrome-trace.3.22.0~alpha0/opam | 39 +++++++++++
.../dune-action-plugin.3.22.0~alpha0/opam | 52 +++++++++++++++
.../dune-action-trace.3.22.0~alpha0/opam | 40 ++++++++++++
.../dune-build-info.3.22.0~alpha0/opam | 45 +++++++++++++
.../dune-configurator.3.22.0~alpha0/opam | 49 ++++++++++++++
packages/dune-glob/dune-glob.3.22.0~alpha0/opam | 42 ++++++++++++
.../dune-private-libs.3.22.0~alpha0/opam | 50 +++++++++++++++
.../dune-rpc-lwt/dune-rpc-lwt.3.22.0~alpha0/opam | 41 ++++++++++++
packages/dune-rpc/dune-rpc.3.22.0~alpha0/opam | 44 +++++++++++++
packages/dune-site/dune-site.3.22.0~alpha0/opam | 37 +++++++++++
packages/dune/dune.3.22.0~alpha0/opam | 75 ++++++++++++++++++++++
packages/dyn/dyn.3.22.0~alpha0/opam | 40 ++++++++++++
packages/fs-io/fs-io.3.22.0~alpha0/opam | 39 +++++++++++
packages/ocamlc-loc/ocamlc-loc.3.22.0~alpha0/opam | 43 +++++++++++++
packages/ordering/ordering.3.22.0~alpha0/opam | 38 +++++++++++
packages/stdune/stdune.3.22.0~alpha0/opam | 46 +++++++++++++
.../top-closure/top-closure.3.22.0~alpha0/opam | 38 +++++++++++
packages/xdg/xdg.3.22.0~alpha0/opam | 39 +++++++++++
18 files changed, 797 insertions(+)
create mode 100644 packages/chrome-trace/chrome-trace.3.22.0~alpha0/opam
create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.22.0~alpha0/opam
create mode 100644 packages/dune-action-trace/dune-action-trace.3.22.0~alpha0/opam
create mode 100644 packages/dune-build-info/dune-build-info.3.22.0~alpha0/opam
create mode 100644 packages/dune-configurator/dune-configurator.3.22.0~alpha0/opam
create mode 100644 packages/dune-glob/dune-glob.3.22.0~alpha0/opam
create mode 100644 packages/dune-private-libs/dune-private-libs.3.22.0~alpha0/opam
create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.22.0~alpha0/opam
create mode 100644 packages/dune-rpc/dune-rpc.3.22.0~alpha0/opam
create mode 100644 packages/dune-site/dune-site.3.22.0~alpha0/opam
create mode 100644 packages/dune/dune.3.22.0~alpha0/opam
create mode 100644 packages/dyn/dyn.3.22.0~alpha0/opam
create mode 100644 packages/fs-io/fs-io.3.22.0~alpha0/opam
create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.22.0~alpha0/opam
create mode 100644 packages/ordering/ordering.3.22.0~alpha0/opam
create mode 100644 packages/stdune/stdune.3.22.0~alpha0/opam
create mode 100644 packages/top-closure/top-closure.3.22.0~alpha0/opam
create mode 100644 packages/xdg/xdg.3.22.0~alpha0/opam
(from ocaml/opam:debian-13-ocaml-4.14@sha256:ae45d5e5a934874dc44b0d004f6b8a813fba3f355216f78a39ed4f25a53e478a)
2026-03-03 04:25.19 ---> using "40de8e47c13dd397f7466181b47c70cd31f6d05f624f7f51643a7089a29a5322" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-03-03 04:25.19 ---> using "11e955cadb21ab08a7e8407d7e49d7e8b8232723aa9e80323bab6a7d993e9a38" from cache
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally 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 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 71 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=71 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-03-03 04:25.19 ---> using "b84411f14b612833c97eea3b0fb49d7afb0294cf8c4774caaff1f8b0f1bd5849" from cache
/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version 2.5.0
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=13
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 255
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 4.14
# invariant ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.14.2
2026-03-03 04:25.19 ---> using "bc1392749f7c1b1568053e91f3061e53f54f3bf6892fcf3fa14761d0f2fabccc" from cache
/home/opam: (env OPAMDOWNLOADJOBS 1)
/home/opam: (env OPAMERRLOGLEN 0)
/home/opam: (env OPAMPRECISETRACKING 1)
/home/opam: (env CI true)
/home/opam: (env OPAM_REPO_CI true)
/home/opam: (run (shell "rm -rf opam-repository/"))
2026-03-03 04:25.19 ---> using "0f88aad717079fee185cb5f7b0853d5dede0158dafac18dc05292641ad1318aa" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-03-03 04:25.20 ---> using "cf2f29575da4e00ad2c0e3200eaf5375ace45ec778f515d81ffd2e5eb96c41f1" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-03 04:25.20 ---> using "c517023779902244dbe5c8fbf440d1dd4569daf367c1e2ee7dd7eb370c41d91c" from cache
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [113 kB]
- Fetched 203 kB in 0s (1833 kB/s)
- Reading package lists...
2026-03-03 04:25.20 ---> using "a2e6599fe15f34bfd0a71de19dbfccfacdc1f910f7a37fea793bb8ff67d4ba47" from cache
/home/opam: (run (shell "opam pin add -k version -yn dune.3.22.0~alpha0 3.22.0~alpha0"))
dune is now pinned to version 3.22.0~alpha0
2026-03-03 04:25.20 ---> using "9ecf7f496eb9b328aa3c8f7333a40a30e123b33b9d8b5606b7ac6bfc2b62fac7" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dune.3.22.0~alpha0;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'dune.3.22.0~alpha0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
dune.3.22.0~alpha0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
- install dune 3.22.0~alpha0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.22.0~alpha0 (cached)
-> installed dune.3.22.0~alpha0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-03 04:25.20 ---> using "1d093925996c7908c33a8109d0c1a7be5172d79d6a00aabc511d552ee2499f33" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall piqi.0.7.6;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'piqi.0.7.6' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
piqi.0.7.6 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 17 packages
- install base64 3.5.2 [required by piqilib]
- install easy-format 1.3.4 [required by piqilib]
- install gen 1.1 [required by sedlex]
- install ocaml-compiler-libs v0.12.4 [required by ppxlib]
- install ocamlbuild 0.16.1 [required by xmlm]
- install ocamlfind 1.9.8 [required by piqi]
- install piqi 0.7.6
- install piqilib 0.6.16 [required by piqi]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppxlib 0.35.0 [required by sedlex]
- install sedlex 2.6 [required by piqilib]
- install seq base [required by gen]
- install sexplib0 v0.17.0 [required by ppxlib]
- install stdlib-shims 0.3.0 [required by ppxlib]
- install topkg 1.1.1 [required by xmlm]
- install uchar 0.0.2 [required by sedlex]
- install xmlm 1.4.0 [required by piqilib]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base64.3.5.2 (cached)
-> retrieved easy-format.1.3.4 (cached)
-> retrieved gen.1.1 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved piqi.0.7.6 (cached)
-> installed base64.3.5.2
-> retrieved piqilib.0.6.16 (cached)
-> installed easy-format.1.3.4
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppxlib.0.35.0 (cached)
-> retrieved sedlex.2.6 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> installed ppx_derivers.1.2.1
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved topkg.1.1.1 (cached)
-> retrieved uchar.0.0.2 (cached)
-> retrieved xmlm.1.4.0 (cached)
-> installed stdlib-shims.0.3.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed sexplib0.v0.17.0
-> installed gen.1.1
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed uchar.0.0.2
-> installed topkg.1.1.1
-> installed xmlm.1.4.0
-> installed ppxlib.0.35.0
-> installed sedlex.2.6
-> installed piqilib.0.6.16
-> installed piqi.0.7.6
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-03 04:25.42 ---> saved as "6d0a5002e5ff8ad8c3931e1eff6ba1c9e72c2da32da31197dd61ddb4eec72cbe"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test piqi.0.7.6) || true"))
The following actions will be performed:
=== downgrade 2 packages
- downgrade base64 3.5.2 to 2.3.0 [required by piqilib]
- downgrade piqilib 0.6.16 to 0.6.14 [required by piqi]
=== recompile 1 package
- recompile piqi 0.7.6
=== upgrade 2 packages
- upgrade ppxlib 0.35.0 to 0.37.0
- upgrade sedlex 2.6 to 3.7 [uses ppxlib]
=== install 4 packages
- install base-bytes base [required by base64, ulex]
- install camlp4 4.14+1 [required by ulex]
- install num 1.6 [required by piqi]
- install ulex 1.2 [required by piqilib]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bytes.base
-> retrieved base64.2.3.0 (https://opam.ocaml.org/cache)
-> retrieved camlp4.4.14+1 (https://opam.ocaml.org/cache)
-> retrieved num.1.6 (https://opam.ocaml.org/cache)
-> retrieved piqi.0.7.6 (https://opam.ocaml.org/cache)
-> retrieved piqilib.0.6.14 (https://opam.ocaml.org/cache)
-> retrieved ppxlib.0.37.0 (https://opam.ocaml.org/cache)
-> retrieved sedlex.3.7 (https://opam.ocaml.org/cache)
-> retrieved ulex.1.2 (https://opam.ocaml.org/cache)
-> installed num.1.6
-> removed piqi.0.7.6
-> removed piqilib.0.6.16
-> removed base64.3.5.2
-> removed sedlex.2.6
-> removed ppxlib.0.35.0
-> installed base64.2.3.0
-> installed camlp4.4.14+1
-> installed ppxlib.0.37.0
-> installed ulex.1.2
-> installed sedlex.3.7
-> installed piqilib.0.6.14
-> installed piqi.0.7.6
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-03 04:27.06 ---> saved as "6f43afbefcf32b2fd85cadea03c46e9a949e527cf621a3734758d66cf1a338b6"
/home/opam: (run (shell "opam reinstall --with-test --verbose piqi.0.7.6;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'piqi.0.7.6' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
The following actions will be performed:
=== recompile 1 package
- recompile piqi 0.7.6
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/4: [piqi.0.7.6: extract]
-> retrieved piqi.0.7.6 (cached)
Processing 2/4: [piqi: make]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" (CWD=/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6)
- set -e; \
- for dir in piqirun piqic-ocaml; do \
- make -C $dir ; \
- done
- make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/piqirun'
- echo "version = \"`head -1 ../VERSION`\"" >META
- cat META.in >>META
- make[2]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/piqirun'
- ocamlfind ocamldep piqirun.ml > ._d/piqirun.d
- ocamlfind ocamldep piqirun_ext.ml > ._d/piqirun_ext.d
- ocamlfind ocamldep piqirun_ext.mli > ._bcdi/piqirun_ext.di
- ../make/OCamlMakefile:1144: warning: pattern recipe did not update peer target '._ncdi/piqirun_ext.di'.
- ocamlfind ocamlc -package piqilib -c piqirun.ml
- File "piqirun.ml", line 206, characters 17-40:
- 206 | (try Pervasives.really_input x s 0 length
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- ocamlfind ocamlc -package piqilib -c piqirun_ext.mli
- ocamlfind ocamlc -package piqilib -c piqirun_ext.ml
- ocamlfind ocamlc -a -o piqirun.cma piqirun.cmo piqirun_ext.cmo
- make[2]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/piqirun'
- make[2]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/piqirun'
- ocamlfind ocamldep -native piqirun_ext.mli > ._ncdi/piqirun_ext.di
- ocamlfind ocamlopt -package piqilib -c piqirun.ml
- File "piqirun.ml", line 206, characters 17-40:
- 206 | (try Pervasives.really_input x s 0 length
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- ocamlfind ocamlopt -package piqilib -c piqirun_ext.ml
- File "_none_", line 1:
- Warning 58 [no-cmx-file]: no cmx file was found in path for module Piqi, and its interface was not compiled with -opaque
- File "_none_", line 1:
- Warning 58 [no-cmx-file]: no cmx file was found in path for module Piqi_convert, and its interface was not compiled with -opaque
- File "_none_", line 1:
- Warning 58 [no-cmx-file]: no cmx file was found in path for module Piqi_db, and its interface was not compiled with -opaque
- File "_none_", line 1:
- Warning 58 [no-cmx-file]: no cmx file was found in path for module Piqi_piqirun, and its interface was not compiled with -opaque
- ocamlfind ocamlopt -a -o piqirun.cmxa piqirun.cmx piqirun_ext.cmx
- make[2]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/piqirun'
- make[1]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/piqirun'
- make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/piqic-ocaml'
- ../make/OCamlMakefile:1034: warning: ignoring prerequisites on suffix rule definition
- ../make/OCamlMakefile:1054: warning: ignoring prerequisites on suffix rule definition
- ../make/OCamlMakefile:1054: warning: ignoring prerequisites on suffix rule definition
- ../make/OCamlMakefile:1054: warning: ignoring prerequisites on suffix rule definition
- ../make/OCamlMakefile:1054: warning: ignoring prerequisites on suffix rule definition
- ../make/OCamlMakefile:1054: warning: ignoring prerequisites on suffix rule definition
- echo "let version = \"`head -1 ../VERSION`\"" >piqic_ocaml_version.ml
- make[2]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/piqic-ocaml'
- ../make/OCamlMakefile:1034: warning: ignoring prerequisites on suffix rule definition
- ../make/OCamlMakefile:1054: warning: ignoring prerequisites on suffix rule definition
- ../make/OCamlMakefile:1054: warning: ignoring prerequisites on suffix rule definition
- ../make/OCamlMakefile:1054: warning: ignoring prerequisites on suffix rule definition
- ../make/OCamlMakefile:1054: warning: ignoring prerequisites on suffix rule definition
- ocamlfind ocamldep piqic_piqi.ml > ._d/piqic_piqi.d
- ocamlfind ocamldep piqic_common.ml > ._d/piqic_common.d
- ocamlfind ocamldep piqic_ocaml_types.ml > ._d/piqic_ocaml_types.d
- ocamlfind ocamldep piqic_ocaml_out.ml > ._d/piqic_ocaml_out.d
- ocamlfind ocamldep piqic_ocaml_in.ml > ._d/piqic_ocaml_in.d
- ocamlfind ocamldep piqic_ocaml_defaults.ml > ._d/piqic_ocaml_defaults.d
- ocamlfind ocamldep piqic_ocaml_ext.ml > ._d/piqic_ocaml_ext.d
- ocamlfind ocamldep piqic_ocaml_version.ml > ._d/piqic_ocaml_version.d
- ocamlfind ocamldep piqic_ocaml.ml > ._d/piqic_ocaml.d
- ../make/OCamlMakefile:1034: warning: ignoring prerequisites on suffix rule definition
- ../make/OCamlMakefile:1054: warning: ignoring prerequisites on suffix rule definition
- ../make/OCamlMakefile:1054: warning: ignoring prerequisites on suffix rule definition
- ../make/OCamlMakefile:1054: warning: ignoring prerequisites on suffix rule definition
- ../make/OCamlMakefile:1054: warning: ignoring prerequisites on suffix rule definition
- ocamlfind ocamlopt -package piqilib,bytes -c -I ../piqirun piqic_piqi.ml
- ocamlfind ocamlopt -package piqilib,bytes -c -I ../piqirun piqic_common.ml
- File "piqic_common.ml", line 522, characters 2-21:
- 522 | String.uncapitalize (ocaml_name n)
- ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.uncapitalize
- Use String.uncapitalize_ascii/StringLabels.uncapitalize_ascii instead.
- File "piqic_common.ml", line 526, characters 2-19:
- 526 | String.capitalize (ocaml_name n)
- ^^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.capitalize
- Use String.capitalize_ascii/StringLabels.capitalize_ascii instead.
- File "_none_", line 1:
- Warning 58 [no-cmx-file]: no cmx file was found in path for module Piqi_common, and its interface was not compiled with -opaque
- ocamlfind ocamlopt -package piqilib,bytes -c -I ../piqirun piqic_ocaml_types.ml
- File "piqic_ocaml_types.ml", line 110, characters 16-33:
- 110 | let modname = String.capitalize (some_of r.R.ocaml_name) in
- ^^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.capitalize
- Use String.capitalize_ascii/StringLabels.capitalize_ascii instead.
- File "piqic_ocaml_types.ml", line 221, characters 16-33:
- 221 | let modname = String.capitalize name in
- ^^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.capitalize
- Use String.capitalize_ascii/StringLabels.capitalize_ascii instead.
- ocamlfind ocamlopt -package piqilib,bytes -c -I ../piqirun piqic_ocaml_out.ml
- File "piqic_ocaml_out.ml", line 103, characters 14-31:
- 103 | let rname = String.capitalize (some_of r.R.ocaml_name) in
- ^^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.capitalize
- Use String.capitalize_ascii/StringLabels.capitalize_ascii instead.
- ocamlfind ocamlopt -package piqilib,bytes -c -I ../piqirun piqic_ocaml_in.ml
- File "piqic_ocaml_in.ml", line 163, characters 14-31:
- 163 | let rname = String.capitalize (some_of r.R.ocaml_name) in
- ^^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.capitalize
- Use String.capitalize_ascii/StringLabels.capitalize_ascii instead.
- ocamlfind ocamlopt -package piqilib,bytes -c -I ../piqirun piqic_ocaml_defaults.ml
- File "piqic_ocaml_defaults.ml", line 128, characters 14-31:
- 128 | let rname = String.capitalize (some_of r.R.ocaml_name) in
- ^^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.capitalize
- Use String.capitalize_ascii/StringLabels.capitalize_ascii instead.
- ocamlfind ocamlopt -package piqilib,bytes -c -I ../piqirun piqic_ocaml_ext.ml
- ocamlfind ocamlopt -package piqilib,bytes -c -I ../piqirun piqic_ocaml_version.ml
- ocamlfind ocamlopt -package piqilib,bytes -c -I ../piqirun piqic_ocaml.ml
- File "piqic_ocaml.ml", line 153, characters 14-33:
- 153 | let ofile = String.uncapitalize modname ^ ".ml" in
- ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.uncapitalize
- Use String.uncapitalize_ascii/StringLabels.uncapitalize_ascii instead.
- File "piqic_ocaml.ml", line 164, characters 14-33:
- 164 | let ofile = String.uncapitalize modname ^ "_ext.ml" in
- ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.uncapitalize
- Use String.uncapitalize_ascii/StringLabels.uncapitalize_ascii instead.
- File "_none_", line 1:
- Warning 58 [no-cmx-file]: no cmx file was found in path for module Piqi_command, and its interface was not compiled with -opaque
- File "_none_", line 1:
- Warning 58 [no-cmx-file]: no cmx file was found in path for module Piqi_compile, and its interface was not compiled with -opaque
- File "_none_", line 1:
- Warning 58 [no-cmx-file]: no cmx file was found in path for module Piqi_version, and its interface was not compiled with -opaque
- ocamlfind ocamlopt \
- -package piqilib,bytes -linkpkg \
- -I ../piqirun ../piqirun/piqirun.cmxa -o piqic-ocaml \
- piqic_piqi.cmx piqic_common.cmx piqic_ocaml_types.cmx piqic_ocaml_out.cmx piqic_ocaml_in.cmx piqic_ocaml_defaults.cmx piqic_ocaml_ext.cmx piqic_ocaml_version.cmx piqic_ocaml.cmx
- make[2]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/piqic-ocaml'
- make[1]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/piqic-ocaml'
Processing 2/4: [piqi: make test]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "test" (CWD=/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6)
- make -C tests
- make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/tests'
- set -e; \
- for dir in piqirun addressbook piqi perf packed array misc misc1 custom-types piq-config ; do \
- make -C $dir ; \
- done
- make[2]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/tests/piqirun'
- make[3]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/tests/piqirun'
- ocamlfind ocamldep test.ml > ._d/test.d
- ocamlfind ocamlc -package piqirun.pb -c test.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- ocamlfind ocamlc \
- -package piqirun.pb -linkpkg \
- -o test \
- test.cmo
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- make[3]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/tests/piqirun'
- ./test
- make[2]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/tests/piqirun'
- make[2]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/examples/addressbook'
- GOAL=add_person make -f Makefile.ocaml
- make[3]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/examples/addressbook'
- ../../piqic-ocaml/piqic-ocaml addressbook.proto.piqi
- make[4]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/examples/addressbook'
- ocamlfind ocamldep addressbook_piqi.ml > ._d/addressbook_piqi.d
- ocamlfind ocamldep add_person.ml > ._d/add_person.d
- ocamlfind ocamlopt -package piqirun.pb -c addressbook_piqi.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- ocamlfind ocamlopt -package piqirun.pb -c add_person.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- ocamlfind ocamlopt \
- -package piqirun.pb -linkpkg \
- -o add_person \
- addressbook_piqi.cmx add_person.cmx
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- make[4]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/examples/addressbook'
- make[3]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/examples/addressbook'
- GOAL=list_people make -f Makefile.ocaml
- make[3]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/examples/addressbook'
- make[4]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/examples/addressbook'
- ocamlfind ocamldep list_people.ml > ._d/list_people.d
- ocamlfind ocamlopt -package piqirun.pb -c list_people.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- ocamlfind ocamlopt \
- -package piqirun.pb -linkpkg \
- -o list_people \
- addressbook_piqi.cmx list_people.cmx
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- make[4]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/examples/addressbook'
- make[3]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/examples/addressbook'
- ./test
- + piqi convert -t pb addressbook.piq
- + ./add_person addressbook.pb
- ./add_person: File not found. Creating a new file.
- Enter person ID number:
- Enter name:
- Enter email address (blank for none):
- Enter a phone number (or leave blank to finish):
- Is this a mobile, home, or work phone?
- Is this a mobile, home, or work phone?
- Is this a mobile, home, or work phone?
- Is this a mobile, home, or work phone?
- + ./add_person addressbook.pb
- Enter person ID number:
- Enter name:
- Enter email address (blank for none):
- Enter a phone number (or leave blank to finish):
- + ./add_person addressbook.pb
- Enter person ID number:
- Enter name:
- Enter email address (blank for none):
- Enter a phone number (or leave blank to finish):
- + ./add_person addressbook.pb
- Enter person ID number:
- Enter name:
- Enter email address (blank for none):
- Enter a phone number (or leave blank to finish):
- Is this a mobile, home, or work phone?
- Is this a mobile, home, or work phone?
- + ./list_people addressbook.piq.pb
- + ./list_people addressbook.pb
- + cmp l1 l2
- + piqi convert --type addressbook/address-book addressbook.pb
- + rm addressbook.pb
- rm -f addressbook_piqi.cm? # forcing make to rebuild it
- make -f Makefile.ocaml_ext
- make[3]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/examples/addressbook'
- set -e; \
- for i in addressbook.proto.piqi; do \
- ../../piqic-ocaml/piqic-ocaml --multi-format $i ; \
- done
- make[4]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/examples/addressbook'
- ocamlfind ocamldep addressbook_piqi.ml > ._d/addressbook_piqi.d
- ocamlfind ocamldep addressbook_piqi_ext.ml > ._d/addressbook_piqi_ext.d
- ocamlfind ocamldep io_json_xml_pb.ml > ._d/io_json_xml_pb.d
- ocamlfind ocamlopt -package piqirun.ext -c addressbook_piqi.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- ocamlfind ocamlopt -package piqirun.ext -c addressbook_piqi_ext.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- File "addressbook_piqi_ext.ml", line 56, characters 2-26:
- 56 | Pervasives.print_endline (gen_person x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "addressbook_piqi_ext.ml", line 58, characters 2-26:
- 58 | Pervasives.prerr_endline (gen_person x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "addressbook_piqi_ext.ml", line 61, characters 2-26:
- 61 | Pervasives.print_endline (gen_person_phone_number x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "addressbook_piqi_ext.ml", line 63, characters 2-26:
- 63 | Pervasives.prerr_endline (gen_person_phone_number x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "addressbook_piqi_ext.ml", line 66, characters 2-26:
- 66 | Pervasives.print_endline (gen_person_phone_type x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "addressbook_piqi_ext.ml", line 68, characters 2-26:
- 68 | Pervasives.prerr_endline (gen_person_phone_type x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "addressbook_piqi_ext.ml", line 71, characters 2-26:
- 71 | Pervasives.print_endline (gen_address_book x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "addressbook_piqi_ext.ml", line 73, characters 2-26:
- 73 | Pervasives.prerr_endline (gen_address_book x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- ocamlfind ocamlopt -package piqirun.ext -c io_json_xml_pb.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- ocamlfind ocamlopt \
- -package piqirun.ext -linkpkg \
- -o io_json_xml_pb \
- addressbook_piqi.cmx addressbook_piqi_ext.cmx io_json_xml_pb.cmx
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- make[4]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/examples/addressbook'
- make[3]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/examples/addressbook'
- ./io_json_xml_pb addressbook.piq.pb
-
-
- JSON:
-
- {"person":[{"name":"J. Random Hacker","id":0,"email":"j.r.hacker@example.com","phone":[{"number":"(111) 123 45 67","type":"home"},{"number":"(222) 123 45 67","type":"mobile"},{"number":"(333) 123 45 67","type":"work"},{"number":"(444) 123 45 67","type":"mobile"}]},{"name":"Joe User","id":1},{"name":"Joe User Jr","id":2},{"name":"Joe User II","id":3,"email":"joe.user@example.com","phone":[{"number":"(444) 123 45 67","type":"home"},{"number":"(555) 123 45 67","type":"work"}]}]}
-
-
- pretty-printed JSON:
-
- {
- "person": [
- {
- "name": "J. Random Hacker",
- "id": 0,
- "email": "j.r.hacker@example.com",
- "phone": [
- { "number": "(111) 123 45 67", "type": "home" },
- { "number": "(222) 123 45 67", "type": "mobile" },
- { "number": "(333) 123 45 67", "type": "work" },
- { "number": "(444) 123 45 67", "type": "mobile" }
- ]
- },
- { "name": "Joe User", "id": 1 },
- { "name": "Joe User Jr", "id": 2 },
- {
- "name": "Joe User II",
- "id": 3,
- "email": "joe.user@example.com",
- "phone": [
- { "number": "(444) 123 45 67", "type": "home" },
- { "number": "(555) 123 45 67", "type": "work" }
- ]
- }
- ]
- }
-
-
- JSON with null fields:
-
- {
- "person": [
- {
- "name": "J. Random Hacker",
- "id": 0,
- "email": "j.r.hacker@example.com",
- "phone": [
- { "number": "(111) 123 45 67", "type": "home" },
- { "number": "(222) 123 45 67", "type": "mobile" },
- { "number": "(333) 123 45 67", "type": "work" },
- { "number": "(444) 123 45 67", "type": "mobile" }
- ]
- },
- { "name": "Joe User", "id": 1, "email": null, "phone": [] },
- { "name": "Joe User Jr", "id": 2, "email": null, "phone": [] },
- {
- "name": "Joe User II",
- "id": 3,
- "email": "joe.user@example.com",
- "phone": [
- { "number": "(444) 123 45 67", "type": "home" },
- { "number": "(555) 123 45 67", "type": "work" }
- ]
- }
- ]
- }
-
-
- XML:
-
- <?xml version="1.0" encoding="UTF-8"?>
- <value><person><name>J. Random Hacker</name><id>0</id><email>j.r.hacker@example.com</email><phone><number>(111) 123 45 67</number><type>home</type></phone><phone><number>(222) 123 45 67</number><type>mobile</type></phone><phone><number>(333) 123 45 67</number><type>work</type></phone><phone><number>(444) 123 45 67</number><type>mobile</type></phone></person><person><name>Joe User</name><id>1</id></person><person><name>Joe User Jr</name><id>2</id></person><person><name>Joe User II</name><id>3</id><email>joe.user@example.com</email><phone><number>(444) 123 45 67</number><type>home</type></phone><phone><number>(555) 123 45 67</number><type>work</type></phone></person></value>
-
-
- pretty-printed XML:
-
- <?xml version="1.0" encoding="UTF-8"?>
- <value>
- <person>
- <name>J. Random Hacker</name>
- <id>0</id>
- <email>j.r.hacker@example.com</email>
- <phone>
- <number>(111) 123 45 67</number>
- <type>home</type>
- </phone>
- <phone>
- <number>(222) 123 45 67</number>
- <type>mobile</type>
- </phone>
- <phone>
- <number>(333) 123 45 67</number>
- <type>work</type>
- </phone>
- <phone>
- <number>(444) 123 45 67</number>
- <type>mobile</type>
- </phone>
- </person>
- <person>
- <name>Joe User</name>
- <id>1</id>
- </person>
- <person>
- <name>Joe User Jr</name>
- <id>2</id>
- </person>
- <person>
- <name>Joe User II</name>
- <id>3</id>
- <email>joe.user@example.com</email>
- <phone>
- <number>(444) 123 45 67</number>
- <type>home</type>
- </phone>
- <phone>
- <number>(555) 123 45 67</number>
- <type>work</type>
- </phone>
- </person>
- </value>
-
-
- Piq:
-
- :addressbook/address-book [
- .person [
- .name "J. Random Hacker"
- .id 0
- .email "j.r.hacker@example.com"
- .phone [
- .number "(111) 123 45 67"
- .type.home
- ]
- .phone [
- .number "(222) 123 45 67"
- .type.mobile
- ]
- .phone [
- .number "(333) 123 45 67"
- .type.work
- ]
- .phone [
- .number "(444) 123 45 67"
- .type.mobile
- ]
- ]
- .person [
- .name "Joe User"
- .id 1
- ]
- .person [
- .name "Joe User Jr"
- .id 2
- ]
- .person [
- .name "Joe User II"
- .id 3
- .email "joe.user@example.com"
- .phone [
- .number "(444) 123 45 67"
- .type.home
- ]
- .phone [
- .number "(555) 123 45 67"
- .type.work
- ]
- ]
- ]
-
-
-
- Printing to stdout:
-
- :addressbook/address-book [
- .person [
- .name "J. Random Hacker"
- .id 0
- .email "j.r.hacker@example.com"
- .phone [
- .number "(111) 123 45 67"
- .type.home
- ]
- .phone [
- .number "(222) 123 45 67"
- .type.mobile
- ]
- .phone [
- .number "(333) 123 45 67"
- .type.work
- ]
- .phone [
- .number "(444) 123 45 67"
- .type.mobile
- ]
- ]
- .person [
- .name "Joe User"
- .id 1
- ]
- .person [
- .name "Joe User Jr"
- .id 2
- ]
- .person [
- .name "Joe User II"
- .id 3
- .email "joe.user@example.com"
- .phone [
- .number "(444) 123 45 67"
- .type.home
- ]
- .phone [
- .number "(555) 123 45 67"
- .type.work
- ]
- ]
- ]
-
-
-
- Printing to stderr:
-
- :addressbook/address-book [
- .person [
- .name "J. Random Hacker"
- .id 0
- .email "j.r.hacker@example.com"
- .phone [
- .number "(111) 123 45 67"
- .type.home
- ]
- .phone [
- .number "(222) 123 45 67"
- .type.mobile
- ]
- .phone [
- .number "(333) 123 45 67"
- .type.work
- ]
- .phone [
- .number "(444) 123 45 67"
- .type.mobile
- ]
- ]
- .person [
- .name "Joe User"
- .id 1
- ]
- .person [
- .name "Joe User Jr"
- .id 2
- ]
- .person [
- .name "Joe User II"
- .id 3
- .email "joe.user@example.com"
- .phone [
- .number "(444) 123 45 67"
- .type.home
- ]
- .phone [
- .number "(555) 123 45 67"
- .type.work
- ]
- ]
- ]
-
- make[2]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/examples/addressbook'
- make[2]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/tests/piqi'
- piqi cc > piqi.piqi
- piqi convert --add-defaults -t pb piqi.piqi
- make -f Makefile.ocaml
- make[3]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/tests/piqi'
- ../../piqic-ocaml/piqic-ocaml piqi.piqi
- ../../piqic-ocaml/piqic-ocaml piqobj.piqi
- make[4]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/tests/piqi'
- ocamlfind ocamldep piqi_piqi.ml > ._d/piqi_piqi.d
- ocamlfind ocamldep piqobj_piqi.ml > ._d/piqobj_piqi.d
- ocamlfind ocamldep test.ml > ._d/test.d
- ocamlfind ocamlc -package piqirun.pb -c piqi_piqi.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- ocamlfind ocamlc -package piqirun.pb -c piqobj_piqi.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- ocamlfind ocamlc -package piqirun.pb -c test.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- ocamlfind ocamlc \
- -package piqirun.pb -linkpkg \
- -o otest \
- piqi_piqi.cmo piqobj_piqi.cmo test.cmo
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- make[4]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/tests/piqi'
- make[3]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/tests/piqi'
- ./otest
- cmp *.pb
- make[2]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/tests/piqi'
- make[2]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/tests/perf'
- piqi cc | sed -e 's/\.module .*//;s/\.code .*//' > piqi.piqi
- ln -sf ../../piqic-ocaml/piqi.ocaml.piqi
- piqi expand -e ocaml piqi.piqi > piqi-obj.piqi
- make -f Makefile.ocaml
- make[3]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/tests/perf'
- set -e; \
- for i in addressbook.proto.piqi piqi.piqi piqi-obj.piqi; do \
- ../../piqic-ocaml/piqic-ocaml --multi-format --no-warnings $i ; \
- done
- make[4]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/tests/perf'
- ocamlfind ocamldep addressbook_piqi.ml > ._d/addressbook_piqi.d
- ocamlfind ocamldep addressbook_piqi_ext.ml > ._d/addressbook_piqi_ext.d
- ocamlfind ocamldep piqi_piqi.ml > ._d/piqi_piqi.d
- ocamlfind ocamldep piqi_piqi_ext.ml > ._d/piqi_piqi_ext.d
- ocamlfind ocamldep piqi_obj_piqi.ml > ._d/piqi_obj_piqi.d
- ocamlfind ocamldep piqi_obj_piqi_ext.ml > ._d/piqi_obj_piqi_ext.d
- ocamlfind ocamldep test.ml > ._d/test.d
- ocamlfind ocamlopt -package unix,piqirun.ext -c addressbook_piqi.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- ocamlfind ocamlopt -package unix,piqirun.ext -c addressbook_piqi_ext.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- File "addressbook_piqi_ext.ml", line 56, characters 2-26:
- 56 | Pervasives.print_endline (gen_person x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "addressbook_piqi_ext.ml", line 58, characters 2-26:
- 58 | Pervasives.prerr_endline (gen_person x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "addressbook_piqi_ext.ml", line 61, characters 2-26:
- 61 | Pervasives.print_endline (gen_person_phone_number x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "addressbook_piqi_ext.ml", line 63, characters 2-26:
- 63 | Pervasives.prerr_endline (gen_person_phone_number x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "addressbook_piqi_ext.ml", line 66, characters 2-26:
- 66 | Pervasives.print_endline (gen_person_phone_type x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "addressbook_piqi_ext.ml", line 68, characters 2-26:
- 68 | Pervasives.prerr_endline (gen_person_phone_type x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "addressbook_piqi_ext.ml", line 71, characters 2-26:
- 71 | Pervasives.print_endline (gen_address_book x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "addressbook_piqi_ext.ml", line 73, characters 2-26:
- 73 | Pervasives.prerr_endline (gen_address_book x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- ocamlfind ocamlopt -package unix,piqirun.ext -c piqi_piqi.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- ocamlfind ocamlopt -package unix,piqirun.ext -c piqi_piqi_ext.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- findlib: [WARNING] Interface piqi_piqi.cmi occurs in several directories: ., /home/opam/.opam/4.14/lib/piqilib
- File "piqi_piqi_ext.ml", line 232, characters 2-26:
- 232 | Pervasives.print_endline (gen_piq_format x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 234, characters 2-26:
- 234 | Pervasives.prerr_endline (gen_piq_format x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 237, characters 2-26:
- 237 | Pervasives.print_endline (gen_protobuf_wire_type x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 239, characters 2-26:
- 239 | Pervasives.prerr_endline (gen_protobuf_wire_type x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 242, characters 2-26:
- 242 | Pervasives.print_endline (gen_word x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 244, characters 2-26:
- 244 | Pervasives.prerr_endline (gen_word x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 247, characters 2-26:
- 247 | Pervasives.print_endline (gen_name x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 249, characters 2-26:
- 249 | Pervasives.prerr_endline (gen_name x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 252, characters 2-26:
- 252 | Pervasives.print_endline (gen_typedef x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 254, characters 2-26:
- 254 | Pervasives.prerr_endline (gen_typedef x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 257, characters 2-26:
- 257 | Pervasives.print_endline (gen_piqi_type x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 259, characters 2-26:
- 259 | Pervasives.prerr_endline (gen_piqi_type x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 262, characters 2-26:
- 262 | Pervasives.print_endline (gen_typename x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 264, characters 2-26:
- 264 | Pervasives.prerr_endline (gen_typename x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 267, characters 2-26:
- 267 | Pervasives.print_endline (gen_record x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 269, characters 2-26:
- 269 | Pervasives.prerr_endline (gen_record x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 272, characters 2-26:
- 272 | Pervasives.print_endline (gen_field x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 274, characters 2-26:
- 274 | Pervasives.prerr_endline (gen_field x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 277, characters 2-26:
- 277 | Pervasives.print_endline (gen_field_mode x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 279, characters 2-26:
- 279 | Pervasives.prerr_endline (gen_field_mode x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 282, characters 2-26:
- 282 | Pervasives.print_endline (gen_variant x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 284, characters 2-26:
- 284 | Pervasives.prerr_endline (gen_variant x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 287, characters 2-26:
- 287 | Pervasives.print_endline (gen_option x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 289, characters 2-26:
- 289 | Pervasives.prerr_endline (gen_option x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 292, characters 2-26:
- 292 | Pervasives.print_endline (gen_enum x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 294, characters 2-26:
- 294 | Pervasives.prerr_endline (gen_enum x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 297, characters 2-26:
- 297 | Pervasives.print_endline (gen_alias x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 299, characters 2-26:
- 299 | Pervasives.prerr_endline (gen_alias x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 302, characters 2-26:
- 302 | Pervasives.print_endline (gen_piqi_list x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 304, characters 2-26:
- 304 | Pervasives.prerr_endline (gen_piqi_list x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 307, characters 2-26:
- 307 | Pervasives.print_endline (gen_piqi x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 309, characters 2-26:
- 309 | Pervasives.prerr_endline (gen_piqi x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 312, characters 2-26:
- 312 | Pervasives.print_endline (gen_import x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 314, characters 2-26:
- 314 | Pervasives.prerr_endline (gen_import x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 317, characters 2-26:
- 317 | Pervasives.print_endline (gen_any x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 319, characters 2-26:
- 319 | Pervasives.prerr_endline (gen_any x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 322, characters 2-26:
- 322 | Pervasives.print_endline (gen_func x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 324, characters 2-26:
- 324 | Pervasives.prerr_endline (gen_func x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 327, characters 2-26:
- 327 | Pervasives.print_endline (gen_piqi_bundle x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_piqi_ext.ml", line 329, characters 2-26:
- 329 | Pervasives.prerr_endline (gen_piqi_bundle x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- ocamlfind ocamlopt -package unix,piqirun.ext -c piqi_obj_piqi.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- findlib: [WARNING] Interface piqi_piqi.cmi occurs in several directories: ., /home/opam/.opam/4.14/lib/piqilib
- ocamlfind ocamlopt -package unix,piqirun.ext -c piqi_obj_piqi_ext.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- findlib: [WARNING] Interface piqi_piqi.cmi occurs in several directories: ., /home/opam/.opam/4.14/lib/piqilib
- File "piqi_obj_piqi_ext.ml", line 232, characters 2-26:
- 232 | Pervasives.print_endline (gen_piq_format x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 234, characters 2-26:
- 234 | Pervasives.prerr_endline (gen_piq_format x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 237, characters 2-26:
- 237 | Pervasives.print_endline (gen_protobuf_wire_type x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 239, characters 2-26:
- 239 | Pervasives.prerr_endline (gen_protobuf_wire_type x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 242, characters 2-26:
- 242 | Pervasives.print_endline (gen_word x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 244, characters 2-26:
- 244 | Pervasives.prerr_endline (gen_word x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 247, characters 2-26:
- 247 | Pervasives.print_endline (gen_name x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 249, characters 2-26:
- 249 | Pervasives.prerr_endline (gen_name x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 252, characters 2-26:
- 252 | Pervasives.print_endline (gen_typedef x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 254, characters 2-26:
- 254 | Pervasives.prerr_endline (gen_typedef x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 257, characters 2-26:
- 257 | Pervasives.print_endline (gen_piqi_type x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 259, characters 2-26:
- 259 | Pervasives.prerr_endline (gen_piqi_type x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 262, characters 2-26:
- 262 | Pervasives.print_endline (gen_typename x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 264, characters 2-26:
- 264 | Pervasives.prerr_endline (gen_typename x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 267, characters 2-26:
- 267 | Pervasives.print_endline (gen_record x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 269, characters 2-26:
- 269 | Pervasives.prerr_endline (gen_record x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 272, characters 2-26:
- 272 | Pervasives.print_endline (gen_field x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 274, characters 2-26:
- 274 | Pervasives.prerr_endline (gen_field x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 277, characters 2-26:
- 277 | Pervasives.print_endline (gen_field_mode x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 279, characters 2-26:
- 279 | Pervasives.prerr_endline (gen_field_mode x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 282, characters 2-26:
- 282 | Pervasives.print_endline (gen_variant x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 284, characters 2-26:
- 284 | Pervasives.prerr_endline (gen_variant x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 287, characters 2-26:
- 287 | Pervasives.print_endline (gen_option x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 289, characters 2-26:
- 289 | Pervasives.prerr_endline (gen_option x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 292, characters 2-26:
- 292 | Pervasives.print_endline (gen_enum x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 294, characters 2-26:
- 294 | Pervasives.prerr_endline (gen_enum x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 297, characters 2-26:
- 297 | Pervasives.print_endline (gen_alias x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 299, characters 2-26:
- 299 | Pervasives.prerr_endline (gen_alias x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 302, characters 2-26:
- 302 | Pervasives.print_endline (gen_piqi_list x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 304, characters 2-26:
- 304 | Pervasives.prerr_endline (gen_piqi_list x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 307, characters 2-26:
- 307 | Pervasives.print_endline (gen_piqi x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 309, characters 2-26:
- 309 | Pervasives.prerr_endline (gen_piqi x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 312, characters 2-26:
- 312 | Pervasives.print_endline (gen_import x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 314, characters 2-26:
- 314 | Pervasives.prerr_endline (gen_import x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 317, characters 2-26:
- 317 | Pervasives.print_endline (gen_any x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 319, characters 2-26:
- 319 | Pervasives.prerr_endline (gen_any x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 322, characters 2-26:
- 322 | Pervasives.print_endline (gen_func x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 324, characters 2-26:
- 324 | Pervasives.prerr_endline (gen_func x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 327, characters 2-26:
- 327 | Pervasives.print_endline (gen_piqi_bundle x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "piqi_obj_piqi_ext.ml", line 329, characters 2-26:
- 329 | Pervasives.prerr_endline (gen_piqi_bundle x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- ocamlfind ocamlopt -package unix,piqirun.ext -c test.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- findlib: [WARNING] Interface piqi_piqi.cmi occurs in several directories: ., /home/opam/.opam/4.14/lib/piqilib
- File "test.ml", line 154, characters 8-26:
- 154 | opt.Gc.minor_heap_size <- 4 * 1024 * 1024; (* Minor heap size: 4m *)
- ^^^^^^^^^^^^^^^^^^
- Alert deprecated: mutating field minor_heap_size
- Use {(Gc.get()) with Gc.minor_heap_size = ...}
- File "test.ml", line 155, characters 8-25:
- 155 | opt.Gc.space_overhead <- 200; (* run major GC less frequently, but waste more RAM *)
- ^^^^^^^^^^^^^^^^^
- Alert deprecated: mutating field space_overhead
- Use {(Gc.get()) with Gc.space_overhead = ...}
- ocamlfind ocamlopt \
- -package unix,piqirun.ext -linkpkg \
- -o test \
- addressbook_piqi.cmx addressbook_piqi_ext.cmx piqi_piqi.cmx piqi_piqi_ext.cmx piqi_obj_piqi.cmx piqi_obj_piqi_ext.cmx test.cmx
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- findlib: [WARNING] Interface piqi_piqi.cmi occurs in several directories: ., /home/opam/.opam/4.14/lib/piqilib
- make[4]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/tests/perf'
- make[3]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/tests/perf'
- piqi convert -t pb addressbook.piq
- echo ":piqi-obj/piqi [" > piqi.piq
- cat piqi-obj.piqi >> piqi.piq
- echo "]" >> piqi.piq
- piqi convert --no-warnings --add-defaults -t pb piqi.piq
- #./test
- make[2]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/tests/perf'
- make[2]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/tests/packed'
- cat packed.piqi | sed -e 's/\.protobuf-packed//' > unpacked.piqi
- cat test-all.piq | sed -e 's/:packed/:unpacked/' > test-all-unpacked.piq
- make -f Makefile.ocaml
- make[3]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/tests/packed'
- set -e; \
- for i in packed-nocompat.piqi packed.piqi packed-array.piqi; do \
- ../../piqic-ocaml/piqic-ocaml $i ; \
- done
- make[4]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/tests/packed'
- ocamlfind ocamldep packed_nocompat_piqi.ml > ._d/packed_nocompat_piqi.d
- ocamlfind ocamldep packed_piqi.ml > ._d/packed_piqi.d
- ocamlfind ocamldep packed_array_piqi.ml > ._d/packed_array_piqi.d
- ocamlfind ocamldep test_packed.ml > ._d/test_packed.d
- ocamlfind ocamldep test_packed_array.ml > ._d/test_packed_array.d
- ocamlfind ocamlopt -package piqirun.pb -c packed_nocompat_piqi.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- ocamlfind ocamlopt -package piqirun.pb -c packed_piqi.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- ocamlfind ocamlopt -package piqirun.pb -c packed_array_piqi.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- ocamlfind ocamlopt -package piqirun.pb -c test_packed.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- ocamlfind ocamlopt -package piqirun.pb -c test_packed_array.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- ocamlfind ocamlopt \
- -package piqirun.pb -linkpkg \
- -o test \
- packed_nocompat_piqi.cmx packed_piqi.cmx packed_array_piqi.cmx test_packed.cmx test_packed_array.cmx
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- make[4]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/tests/packed'
- make[3]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/tests/packed'
- piqi convert -t pb test-all.piq
- Warning: test-all.piq:3:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all.piq:6:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all.piq:8:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all.piq:11:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all.piq:13:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all.piq:18:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all.piq:20:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all.piq:25:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all.piq:27:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all.piq:30:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all.piq:32:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all.piq:38:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all.piq:40:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all.piq:43:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all.piq:45:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all.piq:47:6: this style of named expansion form is deprecated, use <name>* [...] instead
- ./test
- testing packed repeated fields
- testing packed repeated fields represented as OCaml arrays
- cmp test-all.piq.pb test-all.piq.pb.packed
- cmp test-all.piq.pb test-all.piq.pb.packed-array
- cp test-all.piq.pb test-all.piq.pb.orig
- piqi convert -t pb -o test-all.piq.pb test-all-unpacked.piq
- Warning: test-all-unpacked.piq:3:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all-unpacked.piq:6:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all-unpacked.piq:8:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all-unpacked.piq:11:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all-unpacked.piq:13:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all-unpacked.piq:18:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all-unpacked.piq:20:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all-unpacked.piq:25:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all-unpacked.piq:27:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all-unpacked.piq:30:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all-unpacked.piq:32:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all-unpacked.piq:38:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all-unpacked.piq:40:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all-unpacked.piq:43:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all-unpacked.piq:45:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all-unpacked.piq:47:6: this style of named expansion form is deprecated, use <name>* [...] instead
- ./test
- testing packed repeated fields
- testing packed repeated fields represented as OCaml arrays
- cmp test-all.piq.pb.orig test-all.piq.pb.packed
- cmp test-all.piq.pb.orig test-all.piq.pb.packed-array
- make[2]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/tests/packed'
- make[2]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/tests/array'
- make -f Makefile.ocaml
- make[3]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/tests/array'
- set -e; \
- for i in packed.piqi; do \
- ../../piqic-ocaml/piqic-ocaml $i ; \
- done
- make[4]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/tests/array'
- ocamlfind ocamldep packed_piqi.ml > ._d/packed_piqi.d
- ocamlfind ocamldep test.ml > ._d/test.d
- ocamlfind ocamlopt -package piqirun.pb -c packed_piqi.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- ocamlfind ocamlopt -package piqirun.pb -c test.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- ocamlfind ocamlopt \
- -package piqirun.pb -linkpkg \
- -o test \
- packed_piqi.cmx test.cmx
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- make[4]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/tests/array'
- make[3]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/tests/array'
- piqi convert -t pb test-all.piq
- Warning: test-all.piq:3:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all.piq:6:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all.piq:8:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all.piq:11:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all.piq:13:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all.piq:18:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all.piq:20:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all.piq:25:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all.piq:27:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all.piq:30:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all.piq:32:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all.piq:38:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all.piq:40:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all.piq:43:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all.piq:45:6: this style of named expansion form is deprecated, use <name>* [...] instead
- Warning: test-all.piq:47:6: this style of named expansion form is deprecated, use <name>* [...] instead
- ./test
- testing Piqi repeated fields and Piqi lists represented as OCaml arrays
- cmp test-all.piq.pb test-all.piq.pb.array
- make[2]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/tests/array'
- make[2]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/tests/misc'
- set -e; \
- for i in empty-record.piqi Ad.piqi P.piqi Protocol.piqi variant-1.piqi variant-2.piqi; do \
- ../../piqic-ocaml/piqic-ocaml $i ; \
- done
- Warning: P.piqi:2:2: this style of named expansion form is deprecated, use <name>* [...] instead
- make[3]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/tests/misc'
- ocamlfind ocamldep empty_record_piqi.ml > ._d/empty_record_piqi.d
- ocamlfind ocamldep ad.ml > ._d/ad.d
- ocamlfind ocamldep p.ml > ._d/p.d
- ocamlfind ocamldep protocol.ml > ._d/protocol.d
- ocamlfind ocamldep variant_1_piqi.ml > ._d/variant_1_piqi.d
- ocamlfind ocamldep variant_2_piqi.ml > ._d/variant_2_piqi.d
- ocamlfind ocamlopt -package piqirun.pb -c empty_record_piqi.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- ocamlfind ocamlopt -package piqirun.pb -c ad.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- ocamlfind ocamlopt -package piqirun.pb -c p.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- ocamlfind ocamlopt -package piqirun.pb -c protocol.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- ocamlfind ocamlopt -package piqirun.pb -c variant_1_piqi.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- ocamlfind ocamlopt -package piqirun.pb -c variant_2_piqi.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- ocamlfind ocamlopt \
- -package piqirun.pb -linkpkg \
- -o test \
- empty_record_piqi.cmx ad.cmx p.cmx protocol.cmx variant_1_piqi.cmx variant_2_piqi.cmx
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- make[3]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/tests/misc'
- make[2]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/tests/misc'
- make[2]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/tests/misc1'
- ../../piqic-ocaml/piqic-ocaml --ext id.proto.piqi
- ../../piqic-ocaml/piqic-ocaml --ext example.proto.piqi
- make[3]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/tests/misc1'
- ocamlfind ocamldep id_piqi.ml > ._d/id_piqi.d
- ocamlfind ocamldep id_piqi_ext.ml > ._d/id_piqi_ext.d
- ocamlfind ocamldep example_piqi.ml > ._d/example_piqi.d
- ocamlfind ocamldep example_piqi_ext.ml > ._d/example_piqi_ext.d
- ocamlfind ocamldep test.ml > ._d/test.d
- ocamlfind ocamlopt -package piqirun.ext -c id_piqi.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- ocamlfind ocamlopt -package piqirun.ext -c id_piqi_ext.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- File "id_piqi_ext.ml", line 23, characters 2-26:
- 23 | Pervasives.print_endline (gen_id x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "id_piqi_ext.ml", line 25, characters 2-26:
- 25 | Pervasives.prerr_endline (gen_id x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- ocamlfind ocamlopt -package piqirun.ext -c example_piqi.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- ocamlfind ocamlopt -package piqirun.ext -c example_piqi_ext.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- File "example_piqi_ext.ml", line 24, characters 2-26:
- 24 | Pervasives.print_endline (gen_example x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "example_piqi_ext.ml", line 26, characters 2-26:
- 26 | Pervasives.prerr_endline (gen_example x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- ocamlfind ocamlopt -package piqirun.ext -c test.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- ocamlfind ocamlopt \
- -package piqirun.ext -linkpkg \
- -o t \
- id_piqi.cmx id_piqi_ext.cmx example_piqi.cmx example_piqi_ext.cmx test.cmx
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- make[3]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/tests/misc1'
- ./t
- :example/example [
- .id [ .id 0 ]
- ]
-
- make[2]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/tests/misc1'
- make[2]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/examples/custom-types'
- set -e; \
- for i in example.piqi skvl.piqi; do \
- ../../piqic-ocaml/piqic-ocaml $i ; \
- done
- make[3]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/examples/custom-types'
- ocamlfind ocamldep skvl_piqi.ml > ._d/skvl_piqi.d
- ocamlfind ocamldep piqirun_custom.ml > ._d/piqirun_custom.d
- ocamlfind ocamldep example_piqi.ml > ._d/example_piqi.d
- ocamlfind ocamlopt -package piqirun.pb,num -c skvl_piqi.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- findlib: [WARNING] Interface big_int.cmi occurs in several directories: /home/opam/.opam/4.14/lib/ocaml, /home/opam/.opam/4.14/lib/num
- findlib: [WARNING] Interface num.cmi occurs in several directories: /home/opam/.opam/4.14/lib/ocaml, /home/opam/.opam/4.14/lib/num
- findlib: [WARNING] Interface nat.cmi occurs in several directories: /home/opam/.opam/4.14/lib/ocaml, /home/opam/.opam/4.14/lib/num
- findlib: [WARNING] Interface ratio.cmi occurs in several directories: /home/opam/.opam/4.14/lib/ocaml, /home/opam/.opam/4.14/lib/num
- findlib: [WARNING] Interface arith_status.cmi occurs in several directories: /home/opam/.opam/4.14/lib/ocaml, /home/opam/.opam/4.14/lib/num
- ocamlfind ocamlopt -package piqirun.pb,num -c piqirun_custom.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- findlib: [WARNING] Interface big_int.cmi occurs in several directories: /home/opam/.opam/4.14/lib/ocaml, /home/opam/.opam/4.14/lib/num
- findlib: [WARNING] Interface num.cmi occurs in several directories: /home/opam/.opam/4.14/lib/ocaml, /home/opam/.opam/4.14/lib/num
- findlib: [WARNING] Interface nat.cmi occurs in several directories: /home/opam/.opam/4.14/lib/ocaml, /home/opam/.opam/4.14/lib/num
- findlib: [WARNING] Interface ratio.cmi occurs in several directories: /home/opam/.opam/4.14/lib/ocaml, /home/opam/.opam/4.14/lib/num
- findlib: [WARNING] Interface arith_status.cmi occurs in several directories: /home/opam/.opam/4.14/lib/ocaml, /home/opam/.opam/4.14/lib/num
- ocamlfind ocamlopt -package piqirun.pb,num -c example_piqi.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- findlib: [WARNING] Interface big_int.cmi occurs in several directories: /home/opam/.opam/4.14/lib/ocaml, /home/opam/.opam/4.14/lib/num
- findlib: [WARNING] Interface num.cmi occurs in several directories: /home/opam/.opam/4.14/lib/ocaml, /home/opam/.opam/4.14/lib/num
- findlib: [WARNING] Interface nat.cmi occurs in several directories: /home/opam/.opam/4.14/lib/ocaml, /home/opam/.opam/4.14/lib/num
- findlib: [WARNING] Interface ratio.cmi occurs in several directories: /home/opam/.opam/4.14/lib/ocaml, /home/opam/.opam/4.14/lib/num
- findlib: [WARNING] Interface arith_status.cmi occurs in several directories: /home/opam/.opam/4.14/lib/ocaml, /home/opam/.opam/4.14/lib/num
- ocamlfind ocamlopt \
- -package piqirun.pb,num -linkpkg \
- -o a.out \
- skvl_piqi.cmx piqirun_custom.cmx example_piqi.cmx
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- findlib: [WARNING] Interface big_int.cmi occurs in several directories: /home/opam/.opam/4.14/lib/ocaml, /home/opam/.opam/4.14/lib/num
- findlib: [WARNING] Interface num.cmi occurs in several directories: /home/opam/.opam/4.14/lib/ocaml, /home/opam/.opam/4.14/lib/num
- findlib: [WARNING] Interface nat.cmi occurs in several directories: /home/opam/.opam/4.14/lib/ocaml, /home/opam/.opam/4.14/lib/num
- findlib: [WARNING] Interface ratio.cmi occurs in several directories: /home/opam/.opam/4.14/lib/ocaml, /home/opam/.opam/4.14/lib/num
- findlib: [WARNING] Interface arith_status.cmi occurs in several directories: /home/opam/.opam/4.14/lib/ocaml, /home/opam/.opam/4.14/lib/num
- make[3]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/examples/custom-types'
- make[2]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/examples/custom-types'
- make[2]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/examples/piq-config'
- set -e; \
- for i in config.piqi; do \
- ../../piqic-ocaml/piqic-ocaml --multi-format $i ; \
- done
- make[3]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/examples/piq-config'
- ocamlfind ocamldep config_piqi.ml > ._d/config_piqi.d
- ocamlfind ocamldep config_piqi_ext.ml > ._d/config_piqi_ext.d
- ocamlfind ocamldep config.ml > ._d/config.d
- ocamlfind ocamlopt -package piqirun.ext -c config_piqi.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- ocamlfind ocamlopt -package piqirun.ext -c config_piqi_ext.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- File "config_piqi_ext.ml", line 45, characters 2-26:
- 45 | Pervasives.print_endline (gen_generator x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "config_piqi_ext.ml", line 47, characters 2-26:
- 47 | Pervasives.prerr_endline (gen_generator x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "config_piqi_ext.ml", line 50, characters 2-26:
- 50 | Pervasives.print_endline (gen_entry x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "config_piqi_ext.ml", line 52, characters 2-26:
- 52 | Pervasives.prerr_endline (gen_entry x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "config_piqi_ext.ml", line 55, characters 2-26:
- 55 | Pervasives.print_endline (gen_config x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "config_piqi_ext.ml", line 57, characters 2-26:
- 57 | Pervasives.prerr_endline (gen_config x `piq ?opts)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- ocamlfind ocamlopt -package piqirun.ext -c config.ml
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- File "_none_", line 1:
- Warning 58 [no-cmx-file]: no cmx file was found in path for module Piqi_common, and its interface was not compiled with -opaque
- ocamlfind ocamlopt \
- -package piqirun.ext -linkpkg \
- -o config \
- config_piqi.cmx config_piqi_ext.cmx config.cmx
- findlib: [WARNING] Package piqirun has multiple definitions in ../../piqirun/META, /home/opam/.opam/4.14/lib/piqirun/META
- make[3]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/examples/piq-config'
- make[2]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/examples/piq-config'
- make[1]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/tests'
-> compiled piqi.0.7.6
Processing 3/4: [piqi: rm]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "remove" "rm" "-f" "/home/opam/.opam/4.14/bin/piqic-ocaml" (CWD=/home/opam/.opam/4.14/.opam-switch/remove/piqi.0.7.6)
Processing 3/4: [piqi: ocamlfind remove]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "remove" "ocamlfind" "remove" "piqirun" (CWD=/home/opam/.opam/4.14/.opam-switch/remove/piqi.0.7.6)
- Removed /home/opam/.opam/4.14/lib/piqirun/META
- Removed /home/opam/.opam/4.14/lib/piqirun
-> removed piqi.0.7.6
Processing 4/4: [piqi: make install]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "DESTDIR=/home/opam/.opam/4.14" "install" (CWD=/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6)
- make -C piqirun install
- make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/piqirun'
-
- Uninstalling library with ocamlfind
- ocamlfind remove piqirun
- ocamlfind: [WARNING] No such file: /home/opam/.opam/4.14/lib/piqirun/META
-
- Uninstallation successful.
- make[2]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/piqirun'
- ocamlfind ocamlc -a -o piqirun.cma piqirun.cmo piqirun_ext.cmo
- make[2]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/piqirun'
- make[2]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/piqirun'
- make[2]: 'piqirun.cmxa' is up to date.
- make[2]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/piqirun'
-
- Installing library with ocamlfind
- ocamlfind install piqirun META piqirun.cmi piqirun.cmo piqirun.cmx piqirun.o piqirun_ext.mli piqirun_ext.cmi piqirun_ext.cmo piqirun_ext.cmx piqirun_ext.o piqirun.ml
- Installed /home/opam/.opam/4.14/lib/piqirun/piqirun.ml
- Installed /home/opam/.opam/4.14/lib/piqirun/piqirun_ext.o
- Installed /home/opam/.opam/4.14/lib/piqirun/piqirun_ext.cmx
- Installed /home/opam/.opam/4.14/lib/piqirun/piqirun_ext.cmo
- Installed /home/opam/.opam/4.14/lib/piqirun/piqirun_ext.cmi
- Installed /home/opam/.opam/4.14/lib/piqirun/piqirun_ext.mli
- Installed /home/opam/.opam/4.14/lib/piqirun/piqirun.o
- Installed /home/opam/.opam/4.14/lib/piqirun/piqirun.cmx
- Installed /home/opam/.opam/4.14/lib/piqirun/piqirun.cmo
- Installed /home/opam/.opam/4.14/lib/piqirun/piqirun.cmi
- Installed /home/opam/.opam/4.14/lib/piqirun/META
-
- Installation successful.
- make[1]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/piqi.0.7.6/piqirun'
- install -d /home/opam/.opam/4.14/bin
- install piqic-ocaml/piqic-ocaml /home/opam/.opam/4.14/bin
-> installed piqi.0.7.6
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-03 04:27.17 ---> saved as "3e1fb5b91dd661f4606d9fa3cbeaebf62abcb8b3017c7eea2e215d0711e4e191"
Job succeeded
2026-03-03 04:27.21: Job succeeded