Build:
- 0
2025-12-07 16:17.26: New job: test ppx_parser.0.2.1, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29031/head (e3a5a492259d0b79f243d7da0a2c67779a8dd8a7)
on freebsd-14.3-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/29031/head" && git reset --hard e3a5a492
git fetch origin master
git merge --no-edit 2ab7464b16d46be89975bea0595240dd3fccf608
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-14.3-ocaml-4.14
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/local/bin/opam-dev /usr/local/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_parser.0.2.1 0.2.1
RUN opam reinstall ppx_parser.0.2.1; \
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 "\"freebsd-14.3\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ppx_parser.0.2.1' && 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_parser.0.2.1) || true
RUN opam reinstall --with-test --verbose ppx_parser.0.2.1; \
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 "\"freebsd-14.3\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ppx_parser.0.2.1' && 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-12-07 16:17.26: Using cache hint "freebsd-14.3-ocaml-4.14-ppx_parser.0.2.1-e3a5a492259d0b79f243d7da0a2c67779a8dd8a7"
2025-12-07 16:17.26: Using OBuilder spec:
((from freebsd-14.3-ocaml-4.14)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/local/bin/opam-dev /usr/local/bin/opam"))
(run (network host)
(shell "opam init --reinit -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_parser.0.2.1 0.2.1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ppx_parser.0.2.1;\
\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 \"\\\"freebsd-14.3\\\"\"; 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_parser.0.2.1' && 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_parser.0.2.1) || true"))
(run (shell "opam reinstall --with-test --verbose ppx_parser.0.2.1;\
\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 \"\\\"freebsd-14.3\\\"\"; 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_parser.0.2.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-12-07 16:17.26: Waiting for resource in pool OCluster
2025-12-07 16:17.27: Waiting for worker…
2025-12-07 16:17.27: Got resource from pool OCluster
Building on rosemary
All commits already cached
Updating files: 100% (18981/18981), done.
HEAD is now at 2ab7464b16 Merge pull request #29022 from thatportugueseguy/release-passage-0.3.1
Updating 2ab7464b16..e3a5a49225
Fast-forward
packages/ppx_parser/ppx_parser.0.2.1/opam | 52 +++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
create mode 100644 packages/ppx_parser/ppx_parser.0.2.1/opam
(from freebsd-14.3-ocaml-4.14)
2025-12-07 16:21.17 ---> using "7e5247e9853d1c2fb95ef9ffdfdb895ef70516f48155f08a9b10db936cb8c6c6" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/local/bin/opam-dev /usr/local/bin/opam"))
2025-12-07 16:21.17 ---> using "96677dfb826139d1d475397206e27cf90befca1f152a356651021947800ddc31" from cache
/home/opam: (run (network host)
(shell "opam init --reinit -ni"))
No configuration file found, using 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.1 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 1 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=1 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2025-12-07 16:21.18 ---> using "b7155bb4d9f0dfa9c383663e6516f5803e4c2ab438da3ab4eeccd3740ad9833f" 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.4.1
# self-upgrade no
# system arch=x86_64 os=freebsd os-distribution=freebsd os-version=1403000
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 39
# repositories 1 (version-controlled)
# pinned 0
# current-switch 4.14.2
# invariant ["ocaml-base-compiler" {= "4.14.2"} | "ocaml-system" {= "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.2/lib/ocaml/stublibs:/home/opam/.opam/4.14.2/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.14.2
2025-12-07 16:21.18 ---> using "b0effd5cf5c473eb9f84aee26e7221d934f437c21ca61c365f825913ca23d38c" 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-12-07 16:21.18 ---> using "2a5689f2ff4b86af979d0390fa2dfee1e6e92b3f4e476fbe79b59c6ee634de82" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-07 16:21.20 ---> using "1d7c38727fa71b1f5f747b72748ab634e693225254b32f024800905c41d98c5a" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-07 16:21.21 ---> using "e35e853b993eefed11a045cfbfcb5332ade2be6c2e7140e9a82ca60b04c0d520" from cache
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
[WARNING] Unknown update command for bsd, skipping system update
2025-12-07 16:21.21 ---> using "1ab9bb9e9cfea026aa629214afcf9b1771563769b564c99ff4a0e563df3bc7b9" from cache
/home/opam: (run (shell "opam pin add -k version -yn ppx_parser.0.2.1 0.2.1"))
ppx_parser is now pinned to version 0.2.1
2025-12-07 16:21.21 ---> using "c63fc48ed385ca8ff995b9c8791e0a3e9219e0bcaf3d845d94637fdac489cde0" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ppx_parser.0.2.1;\
\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 \"\\\"freebsd-14.3\\\"\"; 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_parser.0.2.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ppx_parser.0.2.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 7 packages
∗ dune 3.20.2 [required by ppx_parser]
∗ ocaml-compiler-libs v0.12.4 [required by ppxlib]
∗ ppx_derivers 1.2.1 [required by ppxlib]
∗ ppx_parser 0.2.1 (pinned)
∗ ppxlib 0.37.0 [required by ppx_parser]
∗ sexplib0 v0.17.0 [required by ppxlib]
∗ stdlib-shims 0.3.0 [required by ppxlib]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved dune.3.20.2 (cached)
⬇ retrieved ocaml-compiler-libs.v0.12.4 (cached)
⬇ retrieved ppx_derivers.1.2.1 (cached)
⬇ retrieved ppx_parser.0.2.1 (cached)
⬇ retrieved ppxlib.0.37.0 (cached)
⬇ retrieved sexplib0.v0.17.0 (cached)
⬇ retrieved stdlib-shims.0.3.0 (cached)
∗ installed dune.3.20.2
∗ installed ppx_derivers.1.2.1
∗ installed stdlib-shims.0.3.0
∗ installed ocaml-compiler-libs.v0.12.4
∗ installed sexplib0.v0.17.0
∗ installed ppxlib.0.37.0
∗ installed ppx_parser.0.2.1
Done.
2025-12-07 16:21.55 ---> saved as "d32ad01dd3549c31ff9bde27bf8740f0c2db0d99599cdb1fde9b49888d63c21c"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test ppx_parser.0.2.1) || true"))
The following actions will be performed:
=== recompile 1 package
↻ ppx_parser 0.2.1 (pinned)
=== install 13 packages
∗ alcotest 1.9.1 [required by ppx_parser]
∗ astring 0.8.5 [required by alcotest]
∗ camlp-streams 5.0.1 [required by ppx_parser]
∗ cmdliner 2.1.0 [required by alcotest]
∗ cppo 1.8.0 [required by ppx_deriving]
∗ fmt 0.11.0 [required by alcotest]
∗ ocaml-syntax-shims 1.0.0 [required by alcotest]
∗ ocamlbuild 0.16.1 [required by fmt, astring, uutf]
∗ ocamlfind 1.9.8 [required by ppx_deriving]
∗ ppx_deriving 6.1.1 [required by ppx_parser]
∗ re 1.14.0 [required by alcotest]
∗ topkg 1.1.1 [required by fmt, astring, uutf]
∗ uutf 1.0.4 [required by alcotest]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved alcotest.1.9.1 (https://github.com/mirage/alcotest/releases/download/1.9.1/alcotest-1.9.1.tbz)
⬇ retrieved astring.0.8.5 (https://erratique.ch/software/astring/releases/astring-0.8.5.tbz)
⬇ retrieved camlp-streams.5.0.1 (https://github.com/ocaml/camlp-streams/archive/v5.0.1.tar.gz)
⬇ retrieved cmdliner.2.1.0 (https://erratique.ch/software/cmdliner/releases/cmdliner-2.1.0.tbz)
⬇ retrieved cppo.1.8.0 (https://github.com/ocaml-community/cppo/archive/v1.8.0.tar.gz)
∗ installed camlp-streams.5.0.1
⬇ retrieved fmt.0.11.0 (https://erratique.ch/software/fmt/releases/fmt-0.11.0.tbz)
⬇ retrieved ocaml-syntax-shims.1.0.0 (https://github.com/ocaml-ppx/ocaml-syntax-shims/releases/download/1.0.0/ocaml-syntax-shims-1.0.0.tbz)
⬇ retrieved ocamlbuild.0.16.1 (https://github.com/ocaml/ocamlbuild/archive/refs/tags/0.16.1.tar.gz)
⬇ retrieved ocamlfind.1.9.8 (https://github.com/ocaml/ocamlfind/archive/refs/tags/findlib-1.9.8.tar.gz)
⬇ retrieved ppx_deriving.6.1.1 (https://github.com/ocaml-ppx/ppx_deriving/releases/download/v6.1.1/ppx_deriving-6.1.1.tar.gz)
∗ installed ocaml-syntax-shims.1.0.0
⬇ retrieved re.1.14.0 (https://github.com/ocaml/ocaml-re/archive/refs/tags/1.14.0.tar.gz)
⬇ retrieved topkg.1.1.1 (https://erratique.ch/software/topkg/releases/topkg-1.1.1.tbz)
⬇ retrieved uutf.1.0.4 (https://erratique.ch/software/uutf/releases/uutf-1.0.4.tbz)
∗ installed cppo.1.8.0
∗ installed re.1.14.0
∗ installed ocamlfind.1.9.8
∗ installed cmdliner.2.1.0
⊘ removed ppx_parser.0.2.1
∗ installed ocamlbuild.0.16.1
∗ installed ppx_deriving.6.1.1
∗ installed topkg.1.1.1
∗ installed uutf.1.0.4
∗ installed fmt.0.11.0
∗ installed astring.0.8.5
∗ installed alcotest.1.9.1
∗ installed ppx_parser.0.2.1
Done.
2025-12-07 16:22.21 ---> saved as "d47cd0f48b499108adf7550cf40f71684786b6c2a05d5bbea8d202b1fd7d7d47"
/home/opam: (run (shell "opam reinstall --with-test --verbose ppx_parser.0.2.1;\
\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 \"\\\"freebsd-14.3\\\"\"; 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_parser.0.2.1' && 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
↻ ppx_parser 0.2.1 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [ppx_parser: dune build]
+ /home/opam/.opam/4.14.2/bin/dune "build" "-p" "ppx_parser" "-j" "39" "--promote-install-files=false" "@install" "@runtest" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/ppx_parser.0.2.1)
- (cd _build/default/test && ./test.exe)
- Testing `ppx_parser'.
- This run has ID `90E3JGJ2'.
-
- [OK] %parser 0 empty.
- [OK] %parser 1 empty_match.
- [OK] %parser 2 bind_stream.
- [OK] %parser 3 bind_stream_error.
- [OK] %parser 4 pop_any.
- [OK] %parser 5 identity.
- [OK] %parser 6 seq.
- [OK] %parser 7 no_bind_call.
- [OK] %let 0 alias.
- [OK] %let 1 call_alias.
- [OK] %let 2 let_ext.
- [OK] %let 3 anom_parser.
- [OK] %let 4 let_parser.
- [OK] %let 5 multi_bind.
- [OK] %let 6 multi_bind_w_args.
- [OK] %let 7 parser_calls.
- [OK] %let 8 or_pat_alias.
- [OK] %let 9 bind_pats.
- [OK] %let 10 peek_call_alternate.
- [OK] calc1 0 1+8+3.
- [OK] calc1 1 2*3*6.
- [OK] calc1 2 1+4*3+6+2+5*2.
- [OK] calc1 3 1+3^2*2^3.
- [OK] calc2 0 1 + 2 - 5 + 3.
- [OK] calc2 1 (1 + 2 + 3 * 4) - 567.
- [OK] calc2 2 1 + (3 * 2 + 1 + 5 / 2) * 8 - 3.
- [OK] parsers 0 consume_spaces.
- [OK] parsers 1 bind_const.
- [OK] parsers 2 count_consumed_spaces.
- [OK] parsers 3 consume_spaces_get_char_codes.
- [OK] parsers 4 consume_spaces_get_char_code_anonymous_p...
- [OK] parsers 5 consume_spaces_get_char_code_let_parser.
- [OK] parsers 6 split_tuples.
- [OK] parsers 7 split_record_tuple_fields.
- [OK] parsers 8 guards.
-
- Full test results in `~/.opam/4.14.2/.opam-switch/build/ppx_parser.0.2.1/_build/default/test/_build/_tests/ppx_parser'.
- Test Successful in 0.007s. 35 tests run.
Processing 2/4: [ppx_parser: dune install]
+ /home/opam/.opam/4.14.2/bin/dune "install" "-p" "ppx_parser" "--create-install-files" "ppx_parser" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/ppx_parser.0.2.1)
λ compiled ppx_parser.0.2.1
⊘ removed ppx_parser.0.2.1
∗ installed ppx_parser.0.2.1
Done.
2025-12-07 16:22.30 ---> saved as "d9d834e543a495c77e651e1127cc24e70984807f26fc79e1bfbec0a9f134d20d"
Job succeeded
2025-12-07 16:22.23: Job succeeded