- github
- ocaml
- opam-repository
- 4b95ad
- compilers,4.14,ppxlib.0.36.0,revdeps,treeprint.2.1.1
(not at the head of any monitored branch or PR)
2025-02-24 11:06.44: New job: test treeprint.2.1.1 with ppxlib.0.36.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/27478/head (4b95ada6c11ef12719238c1b5587b6e3b0f5c33e)
on debian-12-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/27478/head" && git reset --hard 4b95ada6
git fetch origin master
git merge --no-edit 4022a684b64be8161a05cf897f492f8680792469
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098
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 ppxlib.0.36.0 0.36.0
RUN opam reinstall ppxlib.0.36.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-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ppxlib.0.36.0' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN opam reinstall treeprint.2.1.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 "\"debian-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'treeprint.2.1.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 treeprint.2.1.1) || true
RUN opam reinstall --with-test --verbose treeprint.2.1.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 "\"debian-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'treeprint.2.1.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-02-24 11:06.44: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098-ppxlib.0.36.0-treeprint.2.1.1-4b95ada6c11ef12719238c1b5587b6e3b0f5c33e"
2025-02-24 11:06.44: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098)
(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 ppxlib.0.36.0 0.36.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ppxlib.0.36.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-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ppxlib.0.36.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 (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall treeprint.2.1.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 \"\\\"debian-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'treeprint.2.1.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 treeprint.2.1.1) || true"))
(run (shell "opam reinstall --with-test --verbose treeprint.2.1.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 \"\\\"debian-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'treeprint.2.1.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-02-24 11:06.44: Waiting for resource in pool OCluster
2025-02-24 12:33.40: Waiting for worker…
2025-02-24 12:36.27: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at 4022a684b6 Merge pull request #27464 from hannesm/release-crunch-v4.0.0
Merge made by the 'ort' strategy.
packages/ppxlib-tools/ppxlib-tools.0.36.0/opam | 44 ++++++++++++++++++
packages/ppxlib/ppxlib.0.36.0/opam | 62 ++++++++++++++++++++++++++
2 files changed, 106 insertions(+)
create mode 100644 packages/ppxlib-tools/ppxlib-tools.0.36.0/opam
create mode 100644 packages/ppxlib/ppxlib.0.36.0/opam
(from ocaml/opam:debian-12-ocaml-4.14@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098)
2025-02-24 12:36.29 ---> using "fd8c1dcac8c3a6cd3ee8edd679de5f3384de62d6f587d449e00238111470ab75" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-02-24 12:36.29 ---> using "63348f49024352af4df51181a4d2b78015b336e78bdb909884d7d69472d901a3" 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
[NOTE] The 'jobs' option was reset, its value was 39 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=39 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
2025-02-24 12:36.29 ---> using "43a9673a4da24840797129b74017b6eb598863ba09d5d1a9bc3d3bd190bc8651" 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.0~alpha1~dev (34b7b4ec4af0ebd3c8fc4aee8088471be2ad48c7)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=12
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 71
# repositories 1 (local), 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
2025-02-24 12:36.29 ---> using "5b9fc6f723d0065251ab5d52aa7740a229f8f438bf79f559d9f8db36ee599317" 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-02-24 12:36.29 ---> using "a874c49896169ec02e95177c8b5fb923a0e02dbc7bef07316a52b7ca53832295" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-02-24 12:36.30 ---> using "539fc681cd6a9759e64fd26922b4a98bd319e60dafe227568b825be85df20f48" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-02-24 12:36.30 ---> using "58aada6d5322e1607dc00e12bb8d3fde1b7ec0117af5e3ecbe18eba2fa43c612" 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 bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [246 kB]
- Fetched 349 kB in 0s (987 kB/s)
- Reading package lists...
-
2025-02-24 12:36.30 ---> using "16eb46377265897c8564a6a2d8229c87d254e13a84ba27ef35d654e570330e19" from cache
/home/opam: (run (shell "opam pin add -k version -yn ppxlib.0.36.0 0.36.0"))
ppxlib is now pinned to version 0.36.0
2025-02-24 12:36.30 ---> using "3e7a3b3560225795ecb64272090574b4b9d18a5b7187fec5107787242520ae0e" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ppxlib.0.36.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-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ppxlib.0.36.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ppxlib.0.36.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 6 packages
- install dune 3.17.2 [required by ppxlib]
- install ocaml-compiler-libs v0.12.4 [required by ppxlib]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppxlib 0.36.0 (pinned)
- install sexplib0 v0.17.0 [required by ppxlib]
- install stdlib-shims 0.3.0 [required by ppxlib]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.17.2 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppxlib.0.36.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> installed dune.3.17.2
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.17.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed ppxlib.0.36.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-24 12:36.30 ---> using "c60850bfb37524eb630516331b72504ada14bcb94bd8259bf5a94f0df61d8f64" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall treeprint.2.1.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 \"\\\"debian-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'treeprint.2.1.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
treeprint.2.1.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 11 packages
- install cppo 1.8.0 [required by ppx_deriving]
- install ocamlfind 1.9.8 [required by treeprint]
- install omake 0.10.7 [required by treeprint]
- install ppx_deriving 6.0.3 [required by ppx_meta_conv]
- install ppx_meta_conv 4.1.0 [required by treeprint]
- install ppx_test 1.8.0 [required by spotlib]
- install ppxx 2.5.0 [required by ppx_meta_conv]
- install re 1.12.0 [required by ppx_test]
- install seq base [required by re]
- install spotlib 4.2.0 [required by treeprint]
- install treeprint 2.1.1
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved omake.0.10.7 (cached)
-> retrieved ppx_deriving.6.0.3 (cached)
-> retrieved ppx_meta_conv.4.1.0 (cached)
-> retrieved ppx_test.1.8.0 (cached)
-> retrieved ppxx.2.5.0 (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved spotlib.4.2.0 (cached)
-> retrieved treeprint.2.1.1 (cached)
-> installed cppo.1.8.0
-> installed ppxx.2.5.0
-> installed re.1.12.0
-> installed ocamlfind.1.9.8
-> installed ppx_test.1.8.0
[ERROR] The compilation of ppx_deriving.6.0.3 failed at "dune build -p ppx_deriving -j 71".
-> installed spotlib.4.2.0
-> installed omake.0.10.7
#=== ERROR while compiling ppx_deriving.6.0.3 =================================#
# context 2.4.0~alpha1~dev | linux/x86_64 | ocaml-base-compiler.4.14.2 | file:///home/opam/opam-repository
# path ~/.opam/4.14/.opam-switch/build/ppx_deriving.6.0.3
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p ppx_deriving -j 71
# exit-code 1
# env-file ~/.opam/log/ppx_deriving-7-601c4e.env
# output-file ~/.opam/log/ppx_deriving-7-601c4e.out
### output ###
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -w -27-9 -g -bin-annot -I src_plugins/iter/.ppx_deriving_iter.objs/byte -I /home/opam/.opam/4.14/lib/ocaml-compiler-libs/common -I /home/opam/.opam/4.14/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/4.14/lib/ocaml/compiler-libs -I /home/opam/.opam/4.14/lib/ppx_derivers -I /home/opam/.opam/4.14/lib/ppxlib -I /home/opam/.opam/4.14/lib/ppxlib/ast -I /home/opam/.opam/4.14/lib/ppxlib/astlib -I /home/opam/.opam/4.14/lib/ppxlib/print_diff -I /home/opam/.opam/4.14/lib/ppxlib/stdppx -I /home/opam/.opam/4.14/lib/ppxlib/traverse_builtins -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/api/.ppx_deriving_api.objs/byte -no-alias-deps -o src_plugins/iter/.ppx_deriving_iter.objs/byte/ppx_deriving_iter.cmo -c -impl src_plugins/iter/ppx_deriving_iter.pp.ml)
# File "src_plugins/iter/ppx_deriving_iter.ml", line 73, characters 38-42:
# 73 | [%expr fun x -> [%e evar ("poly_"^name)] x; [%e expr_of_typ typ] x]
# ^^^^
# Error: This expression has type
# string Ppxlib_ast__Versions.OCaml_502.Ast.Asttypes.loc =
# string Location.loc
# but an expression was expected of type string
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -w -27-9 -g -bin-annot -I src/api/.ppx_deriving_api.objs/byte -I /home/opam/.opam/4.14/lib/ocaml-compiler-libs/common -I /home/opam/.opam/4.14/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/4.14/lib/ocaml/compiler-libs -I /home/opam/.opam/4.14/lib/ppx_derivers -I /home/opam/.opam/4.14/lib/ppxlib -I /home/opam/.opam/4.14/lib/ppxlib/ast -I /home/opam/.opam/4.14/lib/ppxlib/astlib -I /home/opam/.opam/4.14/lib/ppxlib/print_diff -I /home/opam/.opam/4.14/lib/ppxlib/stdppx -I /home/opam/.opam/4.14/lib/ppxlib/traverse_builtins -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o src/api/.ppx_deriving_api.objs/byte/ppx_deriving.cmo -c -impl src/api/ppx_deriving.pp.ml)
# File "ppx_deriving.cppo.ml", line 468, characters 8-17:
# Error: This expression has type string Ocaml_common.Location.loc list
# but an expression was expected of type
# string Ppxlib.loc Ocaml_common.Location.loc list
# Type string Ocaml_common.Location.loc = string Location.loc
# is not compatible with type
# string Ppxlib.loc Ocaml_common.Location.loc =
# string Ppxlib.loc Location.loc
# Type string is not compatible with type
# string Ppxlib.loc = string Location.loc
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -w -27-9 -g -bin-annot -I src_plugins/map/.ppx_deriving_map.objs/byte -I /home/opam/.opam/4.14/lib/ocaml-compiler-libs/common -I /home/opam/.opam/4.14/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/4.14/lib/ocaml/compiler-libs -I /home/opam/.opam/4.14/lib/ppx_derivers -I /home/opam/.opam/4.14/lib/ppxlib -I /home/opam/.opam/4.14/lib/ppxlib/ast -I /home/opam/.opam/4.14/lib/ppxlib/astlib -I /home/opam/.opam/4.14/lib/ppxlib/print_diff -I /home/opam/.opam/4.14/lib/ppxlib/stdppx -I /home/opam/.opam/4.14/lib/ppxlib/traverse_builtins -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/api/.ppx_deriving_api.objs/byte -no-alias-deps -o src_plugins/map/.ppx_deriving_map.objs/byte/ppx_deriving_map.cmo -c -impl src_plugins/map/ppx_deriving_map.pp.ml)
# File "src_plugins/map/ppx_deriving_map.ml", line 79, characters 38-42:
# 79 | [%expr fun x -> [%e evar ("poly_"^name)] ([%e expr_of_typ ?decl typ] x)]
# ^^^^
# Error: This expression has type
# string Ppxlib_ast__Versions.OCaml_502.Ast.Asttypes.loc =
# string Location.loc
# but an expression was expected of type string
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -w -27-9 -g -bin-annot -I src_plugins/eq/.ppx_deriving_eq.objs/byte -I /home/opam/.opam/4.14/lib/ocaml-compiler-libs/common -I /home/opam/.opam/4.14/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/4.14/lib/ocaml/compiler-libs -I /home/opam/.opam/4.14/lib/ppx_derivers -I /home/opam/.opam/4.14/lib/ppxlib -I /home/opam/.opam/4.14/lib/ppxlib/ast -I /home/opam/.opam/4.14/lib/ppxlib/astlib -I /home/opam/.opam/4.14/lib/ppxlib/print_diff -I /home/opam/.opam/4.14/lib/ppxlib/stdppx -I /home/opam/.opam/4.14/lib/ppxlib/traverse_builtins -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/api/.ppx_deriving_api.objs/byte -no-alias-deps -o src_plugins/eq/.ppx_deriving_eq.objs/byte/ppx_deriving_eq.cmo -c -impl src_plugins/eq/ppx_deriving_eq.pp.ml)
# File "src_plugins/eq/ppx_deriving_eq.ml", line 185, characters 20-28:
# 185 | | { pexp_desc = Pexp_fun _; _ } -> expr
# ^^^^^^^^
# Error: This variant pattern is expected to have type
# Ppxlib.Parsetree.expression_desc
# There is no constructor Pexp_fun within type Ppxlib.Parsetree.expression_desc
# Hint: Did you mean Pexp_for?
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -w -27-9 -g -bin-annot -I src_plugins/fold/.ppx_deriving_fold.objs/byte -I /home/opam/.opam/4.14/lib/ocaml-compiler-libs/common -I /home/opam/.opam/4.14/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/4.14/lib/ocaml/compiler-libs -I /home/opam/.opam/4.14/lib/ppx_derivers -I /home/opam/.opam/4.14/lib/ppxlib -I /home/opam/.opam/4.14/lib/ppxlib/ast -I /home/opam/.opam/4.14/lib/ppxlib/astlib -I /home/opam/.opam/4.14/lib/ppxlib/print_diff -I /home/opam/.opam/4.14/lib/ppxlib/stdppx -I /home/opam/.opam/4.14/lib/ppxlib/traverse_builtins -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/api/.ppx_deriving_api.objs/byte -no-alias-deps -o src_plugins/fold/.ppx_deriving_fold.objs/byte/ppx_deriving_fold.cmo -c -impl src_plugins/fold/ppx_deriving_fold.pp.ml)
# File "src_plugins/fold/ppx_deriving_fold.ml", line 77, characters 42-46:
# 77 | [%expr fun acc x -> [%e evar ("poly_"^name)] ([%e expr_of_typ typ] acc x) x]
# ^^^^
# Error: This expression has type
# string Ppxlib_ast__Versions.OCaml_502.Ast.Asttypes.loc =
# string Location.loc
# but an expression was expected of type string
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -w -27-9 -g -I src/api/.ppx_deriving_api.objs/byte -I src/api/.ppx_deriving_api.objs/native -I /home/opam/.opam/4.14/lib/ocaml-compiler-libs/common -I /home/opam/.opam/4.14/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/4.14/lib/ocaml/compiler-libs -I /home/opam/.opam/4.14/lib/ppx_derivers -I /home/opam/.opam/4.14/lib/ppxlib -I /home/opam/.opam/4.14/lib/ppxlib/ast -I /home/opam/.opam/4.14/lib/ppxlib/astlib -I /home/opam/.opam/4.14/lib/ppxlib/print_diff -I /home/opam/.opam/4.14/lib/ppxlib/stdppx -I /home/opam/.opam/4.14/lib/ppxlib/traverse_builtins -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o src/api/.ppx_deriving_api.objs/native/ppx_deriving.cmx -c -impl src/api/ppx_deriving.pp.ml)
# File "ppx_deriving.cppo.ml", line 468, characters 8-17:
# Error: This expression has type string Ocaml_common.Location.loc list
# but an expression was expected of type
# string Ppxlib.loc Ocaml_common.Location.loc list
# Type string Ocaml_common.Location.loc = string Location.loc
# is not compatible with type
# string Ppxlib.loc Ocaml_common.Location.loc =
# string Ppxlib.loc Location.loc
# Type string is not compatible with type
# string Ppxlib.loc = string Location.loc
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -w -27-9 -g -bin-annot -I src_plugins/ord/.ppx_deriving_ord.objs/byte -I /home/opam/.opam/4.14/lib/ocaml-compiler-libs/common -I /home/opam/.opam/4.14/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/4.14/lib/ocaml/compiler-libs -I /home/opam/.opam/4.14/lib/ppx_derivers -I /home/opam/.opam/4.14/lib/ppxlib -I /home/opam/.opam/4.14/lib/ppxlib/ast -I /home/opam/.opam/4.14/lib/ppxlib/astlib -I /home/opam/.opam/4.14/lib/ppxlib/print_diff -I /home/opam/.opam/4.14/lib/ppxlib/stdppx -I /home/opam/.opam/4.14/lib/ppxlib/traverse_builtins -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/api/.ppx_deriving_api.objs/byte -no-alias-deps -o src_plugins/ord/.ppx_deriving_ord.objs/byte/ppx_deriving_ord.cmo -c -impl src_plugins/ord/ppx_deriving_ord.pp.ml)
# File "src_plugins/ord/ppx_deriving_ord.ml", line 222, characters 20-28:
# 222 | | { pexp_desc = Pexp_fun _; _ } -> expr
# ^^^^^^^^
# Error: This variant pattern is expected to have type
# Ppxlib.Parsetree.expression_desc
# There is no constructor Pexp_fun within type Ppxlib.Parsetree.expression_desc
# Hint: Did you mean Pexp_for?
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ppx_deriving 6.0.3
+-
+- The following changes have been performed (the rest was aborted)
| - install cppo 1.8.0
| - install ocamlfind 1.9.8
| - install omake 0.10.7
| - install ppx_test 1.8.0
| - install ppxx 2.5.0
| - install re 1.12.0
| - install seq base
| - install spotlib 4.2.0
+-
The former state can be restored with:
/usr/bin/opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20250224123631.export"
# To update the current shell environment, run: eval $(opam env)
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
opam-repo-ci detected dependencies failing: ppx_deriving.6.0.3
"/usr/bin/env" "bash" "-c" "opam reinstall treeprint.2.1.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 "\"debian-12\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'treeprint.2.1.1' && partial_fails="$partial_fails $pkg";
done;
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
exit 1" failed with exit status 1
2025-02-24 12:40.23: Job failed: Failed: Build failed
2025-02-24 12:40.23: Log analysis:
2025-02-24 12:40.23: >>>
[ERROR] The compilation of ppx_deriving.6.0.3 failed at "dune build -p ppx_deriving -j 71".
(score = 20)
2025-02-24 12:40.23: >>>
# Error: This expression has type
(score = 48)
2025-02-24 12:40.23: >>>
# Error: This expression has type string Ocaml_common.Location.loc list
(score = 48)
2025-02-24 12:40.23: >>>
# Error: This expression has type
(score = 48)
2025-02-24 12:40.23: >>>
# Error: This variant pattern is expected to have type
(score = 48)
2025-02-24 12:40.23: >>>
# Error: This expression has type
(score = 48)
2025-02-24 12:40.23: >>>
# Error: This expression has type string Ocaml_common.Location.loc list
(score = 48)
2025-02-24 12:40.23: >>>
# Error: This variant pattern is expected to have type
(score = 48)
2025-02-24 12:40.23: >>>
opam-repo-ci detected dependencies failing: ppx_deriving.6.0.3
(score = 75)
2025-02-24 12:40.23: ppx_deriving.6.0.3 failed to build