- github
- ocaml
- opam-repository
- 913ae0
- extras,opam-2.3-ocaml-5.4,ppx_repr.0.8.0,tests
(not at the head of any monitored branch or PR)
2025-11-25 15:40.39: New job: test ppx_repr.0.8.0, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/28963/head (913ae0345c6304f0663d1c952f124a1bcdb7ee1d)
on debian-13-ocaml-5.4/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/28963/head" && git reset --hard 913ae034
git fetch origin master
git merge --no-edit c80b5ac03487baaaf2f482adf2347e782d0b673c
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:57c83c9f9a1885d6982e64ff7d1de47223738f31f635056b0165042eaec3081f
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /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 ppx_repr.0.8.0 0.8.0
RUN opam reinstall ppx_repr.0.8.0; \
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" != 'ppx_repr.0.8.0' && 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 ppx_repr.0.8.0) || true
RUN opam reinstall --with-test --verbose ppx_repr.0.8.0; \
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" != 'ppx_repr.0.8.0' && 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 .
2025-11-25 15:40.39: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:57c83c9f9a1885d6982e64ff7d1de47223738f31f635056b0165042eaec3081f-ppx_repr.0.8.0-913ae0345c6304f0663d1c952f124a1bcdb7ee1d"
2025-11-25 15:40.39: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:57c83c9f9a1885d6982e64ff7d1de47223738f31f635056b0165042eaec3081f)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 ppx_repr.0.8.0 0.8.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ppx_repr.0.8.0;\
\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\" != 'ppx_repr.0.8.0' && 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 ppx_repr.0.8.0) || true"))
(run (shell "opam reinstall --with-test --verbose ppx_repr.0.8.0;\
\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\" != 'ppx_repr.0.8.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-11-25 15:40.39: Waiting for resource in pool OCluster
2025-11-25 15:43.26: Waiting for worker…
2025-11-25 15:47.29: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
Updating files: 59% (11279/18877)
Updating files: 60% (11327/18877)
Updating files: 61% (11515/18877)
Updating files: 62% (11704/18877)
Updating files: 63% (11893/18877)
Updating files: 64% (12082/18877)
Updating files: 65% (12271/18877)
Updating files: 66% (12459/18877)
Updating files: 67% (12648/18877)
Updating files: 68% (12837/18877)
Updating files: 69% (13026/18877)
Updating files: 70% (13214/18877)
Updating files: 71% (13403/18877)
Updating files: 72% (13592/18877)
Updating files: 73% (13781/18877)
Updating files: 74% (13969/18877)
Updating files: 75% (14158/18877)
Updating files: 76% (14347/18877)
Updating files: 77% (14536/18877)
Updating files: 78% (14725/18877)
Updating files: 79% (14913/18877)
Updating files: 80% (15102/18877)
Updating files: 81% (15291/18877)
Updating files: 82% (15480/18877)
Updating files: 83% (15668/18877)
Updating files: 84% (15857/18877)
Updating files: 85% (16046/18877)
Updating files: 86% (16235/18877)
Updating files: 87% (16423/18877)
Updating files: 88% (16612/18877)
Updating files: 89% (16801/18877)
Updating files: 90% (16990/18877)
Updating files: 91% (17179/18877)
Updating files: 92% (17367/18877)
Updating files: 93% (17556/18877)
Updating files: 94% (17745/18877)
Updating files: 95% (17934/18877)
Updating files: 96% (18122/18877)
Updating files: 97% (18311/18877)
Updating files: 98% (18500/18877)
Updating files: 99% (18689/18877)
Updating files: 100% (18877/18877)
Updating files: 100% (18877/18877), done.
HEAD is now at c80b5ac034 [MLCUDDIDL] supports 5.0 by removing modules (#28849)
Updating c80b5ac034..913ae0345c
Fast-forward
packages/ppx_repr/ppx_repr.0.8.0/opam | 47 ++++++++++++++++++++++++++++
packages/repr-bench/repr-bench.0.8.0/opam | 42 +++++++++++++++++++++++++
packages/repr-fuzz/repr-fuzz.0.8.0/opam | 40 ++++++++++++++++++++++++
packages/repr/repr.0.8.0/opam | 51 +++++++++++++++++++++++++++++++
4 files changed, 180 insertions(+)
create mode 100644 packages/ppx_repr/ppx_repr.0.8.0/opam
create mode 100644 packages/repr-bench/repr-bench.0.8.0/opam
create mode 100644 packages/repr-fuzz/repr-fuzz.0.8.0/opam
create mode 100644 packages/repr/repr.0.8.0/opam
(from ocaml/opam:debian-13-ocaml-5.4@sha256:57c83c9f9a1885d6982e64ff7d1de47223738f31f635056b0165042eaec3081f)
2025-11-25 15:47.33 ---> using "9e1915ffb50e2d100090b64fd44ae95ca325d8eb9d61c3d158d7a2820cdf10df" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-11-25 15:47.33 ---> using "1f50ca487c3b26863a1fee9ce0908b41ce308368b3ea9a6d58bd0dd2f4777aa5" 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 development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.
Continue? [y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-11-25 15:47.33 ---> using "098434dbf315f034a744b4ad0027d02e9e4a651efb6cdfc2dd006c430840a152" 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.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# 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 71
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.4
# invariant ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.4.0
2025-11-25 15:47.33 ---> using "f4bd231a3412ada66e07a9554570b02eb88f99b336bd76510cb6eea4d5017b6d" 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/"))
2025-11-25 15:47.33 ---> using "7e0f050e1fc092a48d1a64d0e8eaeb075195e5bafe4d8ec4de7d583a728e7934" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-11-25 15:47.57 ---> saved as "bd1623d336048b1ed9fc02e23db73a9a0becc43bd52f709c98581097c1f989b3"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-25 15:48.26 ---> saved as "a22e9b2cb41a5ae2966377f47bc93e6ec4f8355d707ca0f4dfe66540af03e34a"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
- 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 trixie/main amd64 Packages [9670 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [71.8 kB]
- Fetched 9973 kB in 1s (6777 kB/s)
- Reading package lists...
-
2025-11-25 15:48.29 ---> saved as "473181c9b6d429e100b161d6447724104b89057e626f2a2eac72514da30f7029"
/home/opam: (run (shell "opam pin add -k version -yn ppx_repr.0.8.0 0.8.0"))
ppx_repr is now pinned to version 0.8.0
2025-11-25 15:48.31 ---> saved as "af82ed5aacf32135c5a61e369ab53857ae33fb2db4d0615eeb5ba47bd7a72990"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ppx_repr.0.8.0;\
\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\" != 'ppx_repr.0.8.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ppx_repr.0.8.0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 19 packages
- install base64 3.5.2 [required by repr]
- install cppo 1.8.0 [required by ppx_deriving]
- install dune 3.20.2 [required by ppx_repr]
- install either 1.0.0 [required by repr]
- install fmt 0.11.0 [required by ppx_repr]
- install jsonm 1.0.2 [required by repr]
- install ocaml-compiler-libs v0.17.0 [required by ppxlib]
- install ocamlbuild 0.16.1 [required by fmt]
- install ocamlfind 1.9.8 [required by fmt, ppx_deriving]
- install optint 0.3.0 [required by repr]
- install ppx_derivers 1.2.1 [required by ppx_deriving]
- install ppx_deriving 6.1.1 [required by ppx_repr]
- install ppx_repr 0.8.0 (pinned)
- install ppxlib 0.37.0 [required by ppx_repr]
- install repr 0.8.0 [required by ppx_repr]
- install sexplib0 v0.17.0 [required by ppxlib]
- install stdlib-shims 0.3.0 [required by ppxlib]
- install topkg 1.1.1 [required by fmt]
- install uutf 1.0.4 [required by repr]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base64.3.5.2 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved dune.3.20.2 (cached)
-> retrieved either.1.0.0 (cached)
-> retrieved fmt.0.11.0 (cached)
-> retrieved jsonm.1.0.2 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved optint.0.3.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_deriving.6.1.1 (cached)
-> retrieved ppx_repr.0.8.0, repr.0.8.0 (cached)
-> retrieved ppxlib.0.37.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved topkg.1.1.1 (cached)
-> retrieved uutf.1.0.4 (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed jsonm.1.0.2
-> installed dune.3.20.2
-> installed ppx_derivers.1.2.1
-> installed base64.3.5.2
-> installed either.1.0.0
-> installed stdlib-shims.0.3.0
-> installed optint.0.3.0
-> installed sexplib0.v0.17.0
-> installed cppo.1.8.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed repr.0.8.0
-> installed ppxlib.0.37.0
-> installed ppx_deriving.6.1.1
-> installed ppx_repr.0.8.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-25 15:49.52 ---> saved as "9277d9dfbd248d69f833978966a336aadb43ceb8f57dc76403ab95e0082e8a93"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test ppx_repr.0.8.0) || true"))
The following actions will be performed:
=== recompile 5 packages
- recompile fmt 0.11.0 [uses cmdliner]
- recompile jsonm 1.0.2 [uses uutf]
- recompile ppx_repr 0.8.0 (pinned)
- recompile repr 0.8.0 [uses fmt, uutf]
- recompile uutf 1.0.4 [uses cmdliner]
=== install 7 packages
- install alcotest 1.9.1 [required by ppx_repr]
- install astring 0.8.5 [required by alcotest]
- install cmdliner 2.0.0 [required by alcotest]
- install cstruct 6.2.0 [required by hex]
- install hex 1.5.0 [required by ppx_repr]
- install ocaml-syntax-shims 1.0.0 [required by alcotest]
- install re 1.14.0 [required by alcotest]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1 (https://opam.ocaml.org/cache)
-> retrieved astring.0.8.5 (https://opam.ocaml.org/cache)
-> retrieved cmdliner.2.0.0 (https://opam.ocaml.org/cache)
-> retrieved cstruct.6.2.0 (https://opam.ocaml.org/cache)
-> retrieved fmt.0.11.0 (https://opam.ocaml.org/cache)
-> retrieved hex.1.5.0 (https://opam.ocaml.org/cache)
-> retrieved jsonm.1.0.2 (https://opam.ocaml.org/cache)
-> retrieved ocaml-syntax-shims.1.0.0 (https://opam.ocaml.org/cache)
-> retrieved ppx_repr.0.8.0, repr.0.8.0 (https://github.com/mirage/repr/releases/download/0.8.0/repr-0.8.0.tbz)
-> retrieved re.1.14.0 (https://opam.ocaml.org/cache)
-> retrieved uutf.1.0.4 (https://opam.ocaml.org/cache)
-> installed ocaml-syntax-shims.1.0.0
-> installed astring.0.8.5
-> installed re.1.14.0
-> removed ppx_repr.0.8.0
-> removed repr.0.8.0
-> removed fmt.0.11.0
-> removed jsonm.1.0.2
-> removed uutf.1.0.4
-> installed cmdliner.2.0.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed cstruct.6.2.0
-> installed hex.1.5.0
-> installed alcotest.1.9.1
-> installed jsonm.1.0.2
-> installed repr.0.8.0
-> installed ppx_repr.0.8.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-25 15:50.21 ---> saved as "4d03e7fac766e7350f9583dd3847fcf18113b607d4e8db7bf3fe5822690a68b1"
/home/opam: (run (shell "opam reinstall --with-test --verbose ppx_repr.0.8.0;\
\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\" != 'ppx_repr.0.8.0' && 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 ppx_repr 0.8.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [ppx_repr: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ppx_repr" "-j" "71" "@install" "@runtest" (CWD=/home/opam/.opam/5.4/.opam-switch/build/ppx_repr.0.8.0)
- (cd _build/default/test/repr && ./main.exe)
- Testing `repr'.
- This run has ID `VYFUWM7W'.
-
- [OK] main 0 base.
- [OK] main 1 boxing.
- [OK] main 2 json.
- [OK] main 3 json_option.
- [OK] main 4 json_float.
- [OK] main 5 json_assoc.
- [OK] main 6 bin.
- [OK] main 7 to_string.
- [OK] main 8 pp_dump.
- [OK] main 9 pp_ty.
- [OK] main 10 compare.
- [OK] main 11 equal.
- [OK] main 12 random.
- [OK] main 13 ints.
- [OK] main 14 decode.
- [OK] main 15 test_variants.
- [OK] main 16 test_duplicate_names.
- [OK] main 17 test_malformed_utf8.
- [OK] main 18 test_stdlib_containers.
- [OK] size_of 0 primitive.
- [OK] size_of 1 int.
- [OK] size_of 2 container.
- [OK] size_of 3 variant.
- [OK] size_of 4 recursive.
- [OK] size_of 5 unknown.
- [OK] pre_hash 0 nested custom.
- [OK] pre_hash 1 injective.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ppx_repr.0.8.0/_build/default/test/repr/_build/_tests/repr'.
- Test Successful in 0.414s. 27 tests run.
-> compiled ppx_repr.0.8.0
-> removed ppx_repr.0.8.0
-> installed ppx_repr.0.8.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-25 15:50.35 ---> saved as "2e1b284b40eabae3101e115c69f2abc0594cd33aa6a387e3bb2ccd7e63ac0c86"
Job succeeded
2025-11-25 15:50.44: Job succeeded