- github
- ocaml
- opam-repository
- 118a69
- compilers,4.08,dune-action-trace.3.22.0~alpha0
(not at the head of any monitored branch or PR)
2026-03-02 18:35.29: New job: build dune-action-trace.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.08/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.08@sha256:18a47a9bb3063d7bddee6fac4099338ba3ef3be6e1d9e9d7358e7cd37bdcb084
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-action-trace.3.22.0~alpha0 3.22.0~alpha0
RUN opam reinstall dune-action-trace.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-action-trace.3.22.0~alpha0' && 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 18:35.29: Using cache hint "ocaml/opam:debian-13-ocaml-4.08@sha256:18a47a9bb3063d7bddee6fac4099338ba3ef3be6e1d9e9d7358e7cd37bdcb084-dune-action-trace.3.22.0~alpha0-118a690db616b1df5c53d5fa00eb70791a80ae2c"
2026-03-02 18:35.29: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.08@sha256:18a47a9bb3063d7bddee6fac4099338ba3ef3be6e1d9e9d7358e7cd37bdcb084)
(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-action-trace.3.22.0~alpha0 3.22.0~alpha0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dune-action-trace.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-action-trace.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"))
)
2026-03-02 18:35.29: Waiting for resource in pool OCluster
2026-03-02 18:35.35: Waiting for worker…
2026-03-02 18:36.14: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
Updating files: 75% (13814/18363)
Updating files: 76% (13956/18363)
Updating files: 77% (14140/18363)
Updating files: 78% (14324/18363)
Updating files: 79% (14507/18363)
Updating files: 80% (14691/18363)
Updating files: 81% (14875/18363)
Updating files: 82% (15058/18363)
Updating files: 83% (15242/18363)
Updating files: 84% (15425/18363)
Updating files: 85% (15609/18363)
Updating files: 86% (15793/18363)
Updating files: 87% (15976/18363)
Updating files: 88% (16160/18363)
Updating files: 89% (16344/18363)
Updating files: 90% (16527/18363)
Updating files: 91% (16711/18363)
Updating files: 92% (16894/18363)
Updating files: 93% (17078/18363)
Updating files: 94% (17262/18363)
Updating files: 95% (17445/18363)
Updating files: 96% (17629/18363)
Updating files: 97% (17813/18363)
Updating files: 98% (17996/18363)
Updating files: 99% (18180/18363)
Updating files: 100% (18363/18363)
Updating files: 100% (18363/18363), done.
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.08@sha256:18a47a9bb3063d7bddee6fac4099338ba3ef3be6e1d9e9d7358e7cd37bdcb084)
2026-03-02 18:36.27 ---> saved as "656c160f5558f01310cdfdce3abf9f8878a2273b4df3dfd118b711c43cefef15"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-03-02 18:36.27 ---> saved as "2bc0fe13c8890bbcff43b43adabb86d7ad1ec5bf0a9e2f3aead119954e59d1bd"
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
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.
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.
Continue? [Y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-03-02 18:37.04 ---> saved as "061561fbd4afd2143bad38174128f766087ded72e0d106bf119b6b2cb912fb48"
/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 71
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 4.08
# invariant ["ocaml-base-compiler" {= "4.08.1"}]
# compiler-packages ocaml-base-compiler.4.08.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.08/lib/ocaml/stublibs:/home/opam/.opam/4.08/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.08.1
2026-03-02 18:37.06 ---> saved as "0a33bb8c70b87b1063ee6195adcd0148e4c3b71acd3e2c695b9094e88e1ecfcb"
/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-02 18:37.13 ---> saved as "472fe3cddccec3c17e81ba90c2639ef983cd8d87b92f8d4b28cbd11de31e5d10"
/home/opam: (copy (src .) (dst opam-repository/))
2026-03-02 18:37.25 ---> saved as "c6cd46446cc369ec4135ebc9cd59dd3551c7abc4ee04024ac771fc628edd1bfd"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-02 18:37.45 ---> saved as "0f057870cb354211d4e2bf4f2935ecc8b56fbe5ff7ff30eabfa8418a79c56972"
/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 (2148 kB/s)
- Reading package lists...
2026-03-02 18:37.47 ---> saved as "16ae35b46200388326e8c7a4425b7c499a48243d9c65ba63f79ad44e3bb4d13d"
/home/opam: (run (shell "opam pin add -k version -yn dune-action-trace.3.22.0~alpha0 3.22.0~alpha0"))
dune-action-trace is now pinned to version 3.22.0~alpha0
2026-03-02 18:37.47 ---> saved as "df37820b8b16e624a368ee780cde22a500abbfb2fba5888d085e0ba5500cfb45"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dune-action-trace.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-action-trace.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-action-trace.3.22.0~alpha0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 3 packages
- install csexp 1.5.2 [required by dune-action-trace]
- install dune 3.22.0~alpha0 [required by dune-action-trace]
- install dune-action-trace 3.22.0~alpha0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2 (cached)
-> retrieved dune.3.22.0~alpha0, dune-action-trace.3.22.0~alpha0 (https://github.com/ocaml/dune/releases/download/3.22.0_alpha0/dune-3.22.0.alpha0.tbz)
-> installed dune.3.22.0~alpha0
-> installed csexp.1.5.2
[ERROR] The compilation of dune-action-trace.3.22.0~alpha0 failed at "dune build -p dune-action-trace -j 71 @install".
#=== ERROR while compiling dune-action-trace.3.22.0~alpha0 ====================#
# context 2.5.0 | linux/x86_64 | ocaml-base-compiler.4.08.1 | pinned(https://github.com/ocaml/dune/releases/download/3.22.0_alpha0/dune-3.22.0.alpha0.tbz)
# path ~/.opam/4.08/.opam-switch/build/dune-action-trace.3.22.0~alpha0
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p dune-action-trace -j 71 @install
# exit-code 1
# env-file ~/.opam/log/dune-action-trace-7-1fc7f7.env
# output-file ~/.opam/log/dune-action-trace-7-1fc7f7.out
### output ###
# (cd _build/default && /home/opam/.opam/4.08/bin/ocamlc.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -alert -unstable -g -bin-annot -I otherlibs/dune-action-trace/.dune_action_trace.objs/byte -I /home/opam/.opam/4.08/lib/csexp -intf-suffix .ml -no-alias-deps -o otherlibs/dune-action-trace/.dune_action_trace.objs/byte/dune_action_trace.cmo -c -impl otherlibs/dune-action-trace/dune_action_trace.ml)
# File "otherlibs/dune-action-trace/dune_action_trace.ml", line 56, characters 29-34:
# 56 | match Sys.mkdir dir 0o777 with
# ^^^^^
# Error (warning 20): this argument will not be used by the function.
# (cd _build/default && /home/opam/.opam/4.08/bin/ocamlopt.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -alert -unstable -g -I otherlibs/dune-action-trace/.dune_action_trace.objs/byte -I otherlibs/dune-action-trace/.dune_action_trace.objs/native -I /home/opam/.opam/4.08/lib/csexp -intf-suffix .ml -no-alias-deps -o otherlibs/dune-action-trace/.dune_action_trace.objs/native/dune_action_trace.cmx -c -impl otherlibs/dune-action-trace/dune_action_trace.ml)
# File "otherlibs/dune-action-trace/dune_action_trace.ml", line 56, characters 29-34:
# 56 | match Sys.mkdir dir 0o777 with
# ^^^^^
# Error (warning 20): this argument will not be used by the function.
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build dune-action-trace 3.22.0~alpha0
+-
+- The following changes have been performed
| - install csexp 1.5.2
| - install dune 3.22.0~alpha0
+-
# To update the current shell environment, run: eval $(opam env)
The former state can be restored with:
/usr/bin/opam switch import "/home/opam/.opam/4.08/.opam-switch/backup/state-20260302183748.export"
[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.
"/usr/bin/env" "bash" "-c" "opam reinstall dune-action-trace.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-action-trace.3.22.0~alpha0' && 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
2026-03-02 18:38.34: Job failed: Failed: Build failed
2026-03-02 18:38.34: Log analysis:
2026-03-02 18:38.34: >>>
[ERROR] The compilation of dune-action-trace.3.22.0~alpha0 failed at "dune build -p dune-action-trace -j 71 @install".
(score = 20)
2026-03-02 18:38.34: The compilation of dune-action-trace.3.22.0~alpha0 failed at "dune build -p dune-action-trace -j 71 @install".