Build:
- 0
2025-12-11 02:46.14: New job: test opam-dune-lint.0.3 with top-closure.3.21.0~alpha3, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29070/head (a95df9014bc79103fde668cf2adbe6680fd2f9cf)
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/29070/head" && git reset --hard a95df901
git fetch origin master
git merge --no-edit 810e1f14b7fa6411c66a3549f4c2aff47c52fc36
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04
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 top-closure.3.21.0~alpha3 3.21.0~alpha3
RUN opam reinstall top-closure.3.21.0~alpha3; \
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" != 'top-closure.3.21.0~alpha3' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN opam reinstall opam-dune-lint.0.3; \
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" != 'opam-dune-lint.0.3' && 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 opam-dune-lint.0.3) || true
RUN opam reinstall --with-test --verbose opam-dune-lint.0.3; \
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" != 'opam-dune-lint.0.3' && 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-11 02:46.14: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04-top-closure.3.21.0~alpha3-opam-dune-lint.0.3-a95df9014bc79103fde668cf2adbe6680fd2f9cf"
2025-12-11 02:46.14: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04)
(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 top-closure.3.21.0~alpha3 3.21.0~alpha3"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall top-closure.3.21.0~alpha3;\
\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\" != 'top-closure.3.21.0~alpha3' && 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 opam-dune-lint.0.3;\
\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\" != 'opam-dune-lint.0.3' && 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 opam-dune-lint.0.3) || true"))
(run (shell "opam reinstall --with-test --verbose opam-dune-lint.0.3;\
\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\" != 'opam-dune-lint.0.3' && 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-11 02:46.14: Waiting for resource in pool OCluster
2025-12-11 06:17.52: Waiting for worker…
2025-12-11 06:28.43: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 810e1f14b7 Merge pull request #29066 from gares/release-elpi-v3.4.4
Updating 810e1f14b7..a95df9014b
Fast-forward
.../chrome-trace/chrome-trace.3.21.0~alpha3/opam | 41 ++++++++++++
.../dune-action-plugin.3.21.0~alpha3/opam | 54 ++++++++++++++++
.../dune-build-info.3.21.0~alpha3/opam | 47 ++++++++++++++
.../dune-configurator.3.21.0~alpha3/opam | 51 +++++++++++++++
packages/dune-glob/dune-glob.3.21.0~alpha3/opam | 44 +++++++++++++
.../dune-private-libs.3.21.0~alpha3/opam | 52 +++++++++++++++
.../dune-rpc-lwt/dune-rpc-lwt.3.21.0~alpha3/opam | 43 +++++++++++++
packages/dune-rpc/dune-rpc.3.21.0~alpha3/opam | 46 +++++++++++++
packages/dune-site/dune-site.3.21.0~alpha3/opam | 39 +++++++++++
packages/dune/dune.3.21.0~alpha3/opam | 75 ++++++++++++++++++++++
packages/dyn/dyn.3.21.0~alpha3/opam | 42 ++++++++++++
packages/fs-io/fs-io.3.21.0~alpha3/opam | 40 ++++++++++++
packages/ocamlc-loc/ocamlc-loc.3.21.0~alpha3/opam | 45 +++++++++++++
packages/ordering/ordering.3.21.0~alpha3/opam | 40 ++++++++++++
packages/stdune/stdune.3.21.0~alpha3/opam | 48 ++++++++++++++
.../top-closure/top-closure.3.21.0~alpha3/opam | 39 +++++++++++
packages/xdg/xdg.3.21.0~alpha3/opam | 41 ++++++++++++
17 files changed, 787 insertions(+)
create mode 100644 packages/chrome-trace/chrome-trace.3.21.0~alpha3/opam
create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.21.0~alpha3/opam
create mode 100644 packages/dune-build-info/dune-build-info.3.21.0~alpha3/opam
create mode 100644 packages/dune-configurator/dune-configurator.3.21.0~alpha3/opam
create mode 100644 packages/dune-glob/dune-glob.3.21.0~alpha3/opam
create mode 100644 packages/dune-private-libs/dune-private-libs.3.21.0~alpha3/opam
create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.21.0~alpha3/opam
create mode 100644 packages/dune-rpc/dune-rpc.3.21.0~alpha3/opam
create mode 100644 packages/dune-site/dune-site.3.21.0~alpha3/opam
create mode 100644 packages/dune/dune.3.21.0~alpha3/opam
create mode 100644 packages/dyn/dyn.3.21.0~alpha3/opam
create mode 100644 packages/fs-io/fs-io.3.21.0~alpha3/opam
create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.21.0~alpha3/opam
create mode 100644 packages/ordering/ordering.3.21.0~alpha3/opam
create mode 100644 packages/stdune/stdune.3.21.0~alpha3/opam
create mode 100644 packages/top-closure/top-closure.3.21.0~alpha3/opam
create mode 100644 packages/xdg/xdg.3.21.0~alpha3/opam
(from ocaml/opam:debian-13-ocaml-5.4@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04)
2025-12-11 06:29.00 ---> using "5f87df8c1f6f0886e7311dfd3df40b8bbb961cc34c83c0d033c6dd248c84bc7d" 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-12-11 06:29.00 ---> using "f1296791f2d76481058db697105a569091a6b6345f05c94bbc5a650f1a364f9a" 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
2025-12-11 06:29.00 ---> using "0cac9a31b4750e6a46df8ed8d2f68352091a988199fdf62c52779549510cd6bf" 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 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-12-11 06:29.00 ---> using "1deb91dc3badca969976ed6f3bc5fe7c443d73a2cfa957be662fd6f93e30aa7b" 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-11 06:29.00 ---> using "1a02438c8753bf7228a9eb625e65b7af26778a022b9ce0b16be5ef4f294c58cd" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-11 06:29.01 ---> using "558efc5d1dade30f771ff827a323991d3b5dc8b22610995de52463f4460db41d" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-11 06:29.01 ---> using "58e0c9dd5022cd1436b8b1510f482b6baa4e8929f778f88439cff37971729a44" 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 [82.1 kB]
- Fetched 173 kB in 0s (2174 kB/s)
- Reading package lists...
2025-12-11 06:29.01 ---> using "de5cbb4e0f295ac93b57d57eef12f594db675884c8bd7983430c50e2fdd12f64" from cache
/home/opam: (run (shell "opam pin add -k version -yn top-closure.3.21.0~alpha3 3.21.0~alpha3"))
top-closure is now pinned to version 3.21.0~alpha3
2025-12-11 06:29.01 ---> using "8b58e1574fcadb74b1fba94471ed11b25383ad864e623cb8b071a5abc2d38594" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall top-closure.3.21.0~alpha3;\
\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\" != 'top-closure.3.21.0~alpha3' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
top-closure.3.21.0~alpha3 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 2 packages
- install dune 3.21.0~alpha3 [required by top-closure]
- install top-closure 3.21.0~alpha3 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.21.0~alpha3, top-closure.3.21.0~alpha3 (cached)
-> installed dune.3.21.0~alpha3
-> installed top-closure.3.21.0~alpha3
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-11 06:29.01 ---> using "b94a301e283512a98fc04425b9af58824780f3c4c212aaa8b8155d2d2057422d" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall opam-dune-lint.0.3;\
\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\" != 'opam-dune-lint.0.3' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
opam-dune-lint.0.3 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 39 packages
- install astring 0.8.5 [required by opam-dune-lint]
- install bos 0.2.1 [required by opam-dune-lint]
- install cmdliner 2.1.0 [required by opam-dune-lint]
- install csexp 1.5.2 [required by stdune]
- install dyn 3.21.0~alpha3 [required by stdune]
- install fmt 0.11.0 [required by opam-dune-lint]
- install fpath 0.7.3 [required by opam-dune-lint]
- install fs-io 3.21.0~alpha3 [required by stdune]
- install jsonm 1.0.2 [required by opam-core]
- install logs 0.10.0 [required by bos]
- install menhir 20250912 [required by opam-file-format]
- install menhirCST 20250912 [required by menhir]
- install menhirLib 20250912 [required by menhir]
- install menhirSdk 20250912 [required by menhir]
- install num 1.6 [required by sexplib]
- install ocamlbuild 0.16.1 [required by astring, bos]
- install ocamlfind 1.9.8 [required by astring, bos]
- install ocamlgraph 2.2.0 [required by opam-core]
- install opam-core 2.5.0 [required by opam-format]
- install opam-dune-lint 0.3
- install opam-file-format 2.2.0 [required by opam-format]
- install opam-format 2.5.0 [required by opam-dune-lint]
- install opam-repository 2.5.0 [required by opam-state]
- install opam-state 2.5.0 [required by opam-dune-lint]
- install ordering 3.21.0~alpha3 [required by stdune]
- install parsexp v0.17.0 [required by sexplib]
- install patch 3.1.0 [required by opam-state]
- install pp 2.0.0 [required by stdune]
- install re 1.14.0 [required by opam-format, opam-state]
- install rresult 0.7.0 [required by bos]
- install sexplib v0.17.0 [required by opam-dune-lint]
- install sexplib0 v0.17.0 [required by sexplib]
- install sha 1.15.4 [required by opam-core]
- install spdx_licenses 1.4.0 [required by opam-state]
- install stdlib-shims 0.3.0 [required by sha]
- install stdune 3.21.0~alpha3 [required by opam-dune-lint]
- install swhid_core 0.1 [required by opam-core]
- install topkg 1.1.1 [required by astring, bos]
- install uutf 1.0.4 [required by opam-core]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved bos.0.2.1 (cached)
-> retrieved cmdliner.2.1.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> installed csexp.1.5.2
-> retrieved dyn.3.21.0~alpha3, fs-io.3.21.0~alpha3, ordering.3.21.0~alpha3, stdune.3.21.0~alpha3 (cached)
-> retrieved fmt.0.11.0 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved jsonm.1.0.2 (cached)
-> retrieved logs.0.10.0 (cached)
-> retrieved menhir.20250912, menhirCST.20250912, menhirLib.20250912, menhirSdk.20250912 (cached)
-> retrieved num.1.6 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> installed cmdliner.2.1.0
-> installed fs-io.3.21.0~alpha3
-> installed ordering.3.21.0~alpha3
-> installed menhirCST.20250912
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocamlgraph.2.2.0 (cached)
-> retrieved opam-core.2.5.0, opam-format.2.5.0, opam-repository.2.5.0, opam-state.2.5.0 (cached)
-> installed menhirLib.20250912
-> installed menhirSdk.20250912
-> retrieved opam-dune-lint.0.3 (cached)
-> retrieved opam-file-format.2.2.0 (cached)
-> retrieved parsexp.v0.17.0 (cached)
-> retrieved patch.3.1.0 (cached)
-> retrieved pp.2.0.0 (cached)
-> retrieved re.1.14.0 (cached)
-> retrieved rresult.0.7.0 (cached)
-> retrieved sexplib.v0.17.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved sha.1.15.4 (cached)
-> retrieved spdx_licenses.1.4.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved swhid_core.0.1 (cached)
-> retrieved topkg.1.1.1 (cached)
-> retrieved uutf.1.0.4 (cached)
-> installed pp.2.0.0
-> installed num.1.6
-> installed ocamlgraph.2.2.0
-> installed patch.3.1.0
-> installed re.1.14.0
-> installed sexplib0.v0.17.0
-> installed spdx_licenses.1.4.0
-> installed stdlib-shims.0.3.0
-> installed swhid_core.0.1
-> installed dyn.3.21.0~alpha3
-> installed ocamlfind.1.9.8
-> installed parsexp.v0.17.0
-> installed sha.1.15.4
-> installed ocamlbuild.0.16.1
-> installed sexplib.v0.17.0
-> installed stdune.3.21.0~alpha3
-> installed topkg.1.1.1
-> installed rresult.0.7.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed jsonm.1.0.2
-> installed logs.0.10.0
-> installed fpath.0.7.3
-> installed menhir.20250912
-> installed opam-file-format.2.2.0
-> installed bos.0.2.1
-> installed opam-core.2.5.0
-> installed opam-format.2.5.0
-> installed opam-repository.2.5.0
-> installed opam-state.2.5.0
-> installed opam-dune-lint.0.3
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-11 06:30.00 ---> saved as "7f5691a6ab43e962747fd6f6e113fb43d6f741da0117996589defa835756c661"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test opam-dune-lint.0.3) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile opam-dune-lint 0.3
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-dune-lint.0.3 (https://opam.ocaml.org/cache)
[ERROR] The compilation of opam-dune-lint.0.3 failed at "dune build -p opam-dune-lint -j 255 @install @runtest".
#=== ERROR while compiling opam-dune-lint.0.3 =================================#
# context 2.5.0 | linux/x86_64 | ocaml-base-compiler.5.4.0 | file:///home/opam/opam-repository
# path ~/.opam/5.4/.opam-switch/build/opam-dune-lint.0.3
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p opam-dune-lint -j 255 @install @runtest
# exit-code 1
# env-file ~/.opam/log/opam-dune-lint-7-354bfc.env
# output-file ~/.opam/log/opam-dune-lint-7-354bfc.out
### output ###
# File "tests/test_empty_dune.t", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/tests/test_empty_dune.t _build/default/tests/test_empty_dune.t.corrected
# diff --git a/_build/default/tests/test_empty_dune.t b/_build/default/tests/test_empty_dune.t.corrected
# index 727a0c9..11d1512 100644
# --- a/_build/default/tests/test_empty_dune.t
# +++ b/_build/default/tests/test_empty_dune.t.corrected
# @@ -36,26 +36,11 @@ Check that all the libraries get added:
# "bos" {with-test & >= "1.0"} [from /]
# "opam-state" {with-test & >= "1.0"} [from /]
# Note: version numbers are just suggestions based on the currently installed version.
# - Wrote "dune-project"
# + File "dune-project", line 1, characters 0-0:
# + Error: Invalid first line, expected: (lang <lang> <version>)
# + opam-dune-lint: internal error, uncaught exception:
# + Failure("run ['dune' 'format-dune-file']: exited with 1")
# +
# + [125]
#
# $ cat dune-project | sed 's/= [^)}]*/= */g'
# - (lang dune 2.7)
# -
# - (generate_opam_files true)
# -
# - (package
# - (name test)
# - (synopsis "Test package")
# - (depends
# - (opam-state
# - (and
# - (>= *)
# - :with-test))
# - (bos
# - (and
# - (>= *)
# - :with-test))
# - (ocamlfind
# - (>= *))
# - (fmt
# - (>= *))))
# File "tests/test_opam_update.t", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/tests/test_opam_update.t _build/default/tests/test_opam_update.t.corrected
# diff --git a/_build/default/tests/test_opam_update.t b/_build/default/tests/test_opam_update.t.corrected
# index 15a9827..f4e57d4 100644
# --- a/_build/default/tests/test_opam_update.t
# +++ b/_build/default/tests/test_opam_update.t.corrected
# @@ -61,7 +61,12 @@ Check that the missing libraries get added:
# "bos" {with-test & >= "1.0"} [from /]
# "opam-state" {with-test & >= "1.0"} [from /]
# Note: version numbers are just suggestions based on the currently installed version.
# - Wrote "dune-project"
# + File "dune-project", line 1, characters 0-0:
# + Error: Invalid first line, expected: (lang <lang> <version>)
# + opam-dune-lint: internal error, uncaught exception:
# + Failure("run ['dune' 'format-dune-file']: exited with 1")
# +
# + [125]
#
# $ cat test.opam | sed 's/= [^&)}]*/= */g'
# # This file is generated by dune, edit dune-project instead
# @@ -69,10 +74,6 @@ Check that the missing libraries get added:
# synopsis: "Test package"
# depends: [
# "dune" {>= *}
# - "opam-state" {>= *& with-test}
# - "bos" {>= *& with-test}
# - "ocamlfind" {>= *}
# - "fmt" {>= *}
# "cmdliner"
# "odoc" {with-doc}
# ]
# File "tests/test_dune_same_exe_name.t", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/tests/test_dune_same_exe_name.t _build/default/tests/test_dune_same_exe_name.t.corrected
# diff --git a/_build/default/tests/test_dune_same_exe_name.t b/_build/default/tests/test_dune_same_exe_name.t.corrected
# index c25c319..fa72289 100644
# --- a/_build/default/tests/test_dune_same_exe_name.t
# +++ b/_build/default/tests/test_dune_same_exe_name.t.corrected
# @@ -58,4 +58,9 @@ Check that the missing libraries get added:
# "bos" {with-test & >= "1.0"} [from bin]
# "opam-state" {with-test & >= "1.0"} [from bin]
# Note: version numbers are just suggestions based on the currently installed version.
# - Wrote "dune-project"
# + File "dune-project", line 1, characters 0-0:
# + Error: Invalid first line, expected: (lang <lang> <version>)
# + opam-dune-lint: internal error, uncaught exception:
# + Failure("run ['dune' 'format-dune-file']: exited with 1")
# +
# + [125]
# File "tests/test_dune_stanza_install.t", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/tests/test_dune_stanza_install.t _build/default/tests/test_dune_stanza_install.t.corrected
# diff --git a/_build/default/tests/test_dune_stanza_install.t b/_build/default/tests/test_dune_stanza_install.t.corrected
# index 1e2ca25..a8d4e12 100644
# --- a/_build/default/tests/test_dune_stanza_install.t
# +++ b/_build/default/tests/test_dune_stanza_install.t.corrected
# @@ -50,30 +50,14 @@ Check that the missing libraries get added:
# "bos" {with-test & >= "1.0"} [from /]
# "opam-state" {with-test & >= "1.0"} [from /]
# Note: version numbers are just suggestions based on the currently installed version.
# - Wrote "dune-project"
# + File "dune-project", line 1, characters 0-0:
# + Error: Invalid first line, expected: (lang <lang> <version>)
# + opam-dune-lint: internal error, uncaught exception:
# + Failure("run ['dune' 'format-dune-file']: exited with 1")
# +
# + [125]
#
# $ cat dune-project | sed 's/= [^)}]*/= */g'
# - (lang dune 2.7)
# -
# - (generate_opam_files true)
# -
# - (package
# - (name test)
# - (synopsis "Test package")
# - (depends
# - (opam-state
# - (and
# - (>= *)
# - :with-test))
# - (bos
# - (and
# - (>= *)
# - :with-test))
# - (fmt
# - (>= *))
# - (ocamlfind
# - (>= *))
# - libfoo))
#
# Check adding and removing of test markers:
#
# @@ -99,26 +83,19 @@ Check adding and removing of test markers:
# "ocamlfind" [from /] (remove {with-test})
# "bos" {with-test} [from /] (missing {with-test} annotation)
# "opam-state" {with-test} [from /] (missing {with-test} annotation)
# - Wrote "dune-project"
# + File "dune-project", line 1, characters 0-0:
# + Error: Invalid first line, expected: (lang <lang> <version>)
# + opam-dune-lint: internal error, uncaught exception:
# + Failure("run ['dune' 'format-dune-file']: exited with 1")
# +
# + [125]
#
# $ cat dune-project | sed 's/= [^)}]*/= */g'
# - (lang dune 2.7)
# -
# - (generate_opam_files true)
# -
# - (package
# - (name test)
# - (synopsis "Test package")
# - (depends
# - (opam-state :with-test)
# - (bos
# - (and
# - :with-test
# - (>= *)))
# - fmt
# - (ocamlfind
# - (>= *))
# - libfoo))
#
# $ opam-dune-lint
# - test.opam: OK
# + File "dune-project", line 1, characters 0-0:
# + Error: Invalid first line, expected: (lang <lang> <version>)
# + opam-dune-lint: internal error, uncaught exception:
# + Failure("run ['dune' 'describe' 'opam-files']: exited with 1")
# +
# + [125]
# File "tests/test_dune_copy_install.t", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/tests/test_dune_copy_install.t _build/default/tests/test_dune_copy_install.t.corrected
# diff --git a/_build/default/tests/test_dune_copy_install.t b/_build/default/tests/test_dune_copy_install.t.corrected
# index edbcebd..e7a3004 100644
# --- a/_build/default/tests/test_dune_copy_install.t
# +++ b/_build/default/tests/test_dune_copy_install.t.corrected
# @@ -70,43 +70,14 @@ Check that the missing libraries get added:
# "bos" {with-test & >= "1.0"} [from /]
# "opam-state" {with-test & >= "1.0"} [from /]
# Note: version numbers are just suggestions based on the currently installed version.
# - Wrote "dune-project"
# + File "dune-project", line 1, characters 0-0:
# + Error: Invalid first line, expected: (lang <lang> <version>)
# + opam-dune-lint: internal error, uncaught exception:
# + Failure("run ['dune' 'format-dune-file']: exited with 1")
# +
# + [125]
#
# $ cat dune-project | sed 's/= [^)}]*/= */g'
# - (lang dune 2.7)
# -
# - (generate_opam_files true)
# -
# - (package
# - (name test)
# - (synopsis "Test package")
# - (depends
# - (opam-state
# - (and
# - (>= *)
# - :with-test))
# - (bos
# - (and
# - (>= *)
# - :with-test))
# - (fmt
# - (>= *))
# - (ocamlfind
# - (>= *))
# - libfoo))
# -
# - (package
# - (name zombie)
# - (synopsis "Zombie package")
# - (depends
# - (opam-state
# - (and
# - (>= *)
# - :with-test))
# - (bos
# - (and
# - (>= *)
# - :with-test))))
#
# Check adding and removing of test markers:
#
# @@ -139,40 +110,19 @@ Check adding and removing of test markers:
# "bos" {with-test & >= "1.0"} [from /]
# "opam-state" {with-test & >= "1.0"} [from /]
# Note: version numbers are just suggestions based on the currently installed version.
# - Wrote "dune-project"
# + File "dune-project", line 1, characters 0-0:
# + Error: Invalid first line, expected: (lang <lang> <version>)
# + opam-dune-lint: internal error, uncaught exception:
# + Failure("run ['dune' 'format-dune-file']: exited with 1")
# +
# + [125]
#
# $ cat dune-project | sed 's/= [^)}]*/= */g'
# - (lang dune 2.7)
# -
# - (generate_opam_files true)
# -
# - (package
# - (name test)
# - (synopsis "Test package")
# - (depends
# - (opam-state :with-test)
# - (bos
# - (and
# - :with-test
# - (>= *)))
# - fmt
# - (ocamlfind
# - (>= *))
# - libfoo))
# -
# - (package
# - (name zombie)
# - (synopsis "Zombie package")
# - (depends
# - (opam-state
# - (and
# - (>= *)
# - :with-test))
# - (bos
# - (and
# - (>= *)
# - :with-test))))
#
# $ opam-dune-lint
# - test.opam: OK
# - zombie.opam: OK
# + File "dune-project", line 1, characters 0-0:
# + Error: Invalid first line, expected: (lang <lang> <version>)
# + opam-dune-lint: internal error, uncaught exception:
# + Failure("run ['dune' 'describe' 'opam-files']: exited with 1")
# +
# + [125]
# File "tests/test_dune.t", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/tests/test_dune.t _build/default/tests/test_dune.t.corrected
# diff --git a/_build/default/tests/test_dune.t b/_build/default/tests/test_dune.t.corrected
# index ba4ac70..c1a9065 100644
# --- a/_build/default/tests/test_dune.t
# +++ b/_build/default/tests/test_dune.t.corrected
# @@ -47,30 +47,14 @@ Check that the missing libraries get added:
# "bos" {with-test & >= "1.0"} [from /]
# "opam-state" {with-test & >= "1.0"} [from /]
# Note: version numbers are just suggestions based on the currently installed version.
# - Wrote "dune-project"
# + File "dune-project", line 1, characters 0-0:
# + Error: Invalid first line, expected: (lang <lang> <version>)
# + opam-dune-lint: internal error, uncaught exception:
# + Failure("run ['dune' 'format-dune-file']: exited with 1")
# +
# + [125]
#
# $ cat dune-project | sed 's/= [^)}]*/= */g'
# - (lang dune 2.7)
# -
# - (generate_opam_files true)
# -
# - (package
# - (name test)
# - (synopsis "Test package")
# - (depends
# - (opam-state
# - (and
# - (>= *)
# - :with-test))
# - (bos
# - (and
# - (>= *)
# - :with-test))
# - (fmt
# - (>= *))
# - (ocamlfind
# - (>= *))
# - libfoo))
#
# Check adding and removing of test markers:
#
# @@ -96,26 +80,19 @@ Check adding and removing of test markers:
# "ocamlfind" [from /] (remove {with-test})
# "bos" {with-test} [from /] (missing {with-test} annotation)
# "opam-state" {with-test} [from /] (missing {with-test} annotation)
# - Wrote "dune-project"
# + File "dune-project", line 1, characters 0-0:
# + Error: Invalid first line, expected: (lang <lang> <version>)
# + opam-dune-lint: internal error, uncaught exception:
# + Failure("run ['dune' 'format-dune-file']: exited with 1")
# +
# + [125]
#
# $ cat dune-project | sed 's/= [^)}]*/= */g'
# - (lang dune 2.7)
# -
# - (generate_opam_files true)
# -
# - (package
# - (name test)
# - (synopsis "Test package")
# - (depends
# - (opam-state :with-test)
# - (bos
# - (and
# - :with-test
# - (>= *)))
# - fmt
# - (ocamlfind
# - (>= *))
# - libfoo))
#
# $ opam-dune-lint
# - test.opam: OK
# + File "dune-project", line 1, characters 0-0:
# + Error: Invalid first line, expected: (lang <lang> <version>)
# + opam-dune-lint: internal error, uncaught exception:
# + Failure("run ['dune' 'describe' 'opam-files']: exited with 1")
# +
# + [125]
# File "tests/test_public_lib.t", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/tests/test_public_lib.t _build/default/tests/test_public_lib.t.corrected
# diff --git a/_build/default/tests/test_public_lib.t b/_build/default/tests/test_public_lib.t.corrected
# index 661e56b..b0a6b45 100644
# --- a/_build/default/tests/test_public_lib.t
# +++ b/_build/default/tests/test_public_lib.t.corrected
# @@ -64,44 +64,14 @@ Check that the missing libraries get added:
# "bos" {with-test & >= "1.0"} [from /]
# "opam-state" {with-test & >= "1.0"} [from /]
# Note: version numbers are just suggestions based on the currently installed version.
# - Wrote "dune-project"
# + File "dune-project", line 1, characters 0-0:
# + Error: Invalid first line, expected: (lang <lang> <version>)
# + opam-dune-lint: internal error, uncaught exception:
# + Failure("run ['dune' 'format-dune-file']: exited with 1")
# +
# + [125]
#
# $ cat dune-project | sed 's/= [^)}]*/= */g'
# - (lang dune 2.7)
# -
# - (generate_opam_files true)
# -
# - (package
# - (name test)
# - (synopsis "Test package")
# - (depends
# - (opam-state
# - (and
# - (>= *)
# - :with-test))
# - (bos
# - (and
# - (>= *)
# - :with-test))
# - (fmt
# - (>= *))
# - (ocamlfind
# - (>= *))
# - libfoo))
# -
# - (package
# - (name lib)
# - (synopsis "Lib package")
# - (depends
# - (opam-state
# - (and
# - (>= *)
# - :with-test))
# - (bos
# - (and
# - (>= *)
# - :with-test))
# - sexplib))
#
# Check adding and removing of test markers:
#
# @@ -135,41 +105,19 @@ Check adding and removing of test markers:
# "bos" {with-test} [from /] (missing {with-test} annotation)
# "opam-state" {with-test} [from /] (missing {with-test} annotation)
# Note: version numbers are just suggestions based on the currently installed version.
# - Wrote "dune-project"
# + File "dune-project", line 1, characters 0-0:
# + Error: Invalid first line, expected: (lang <lang> <version>)
# + opam-dune-lint: internal error, uncaught exception:
# + Failure("run ['dune' 'format-dune-file']: exited with 1")
# +
# + [125]
#
# $ cat dune-project | sed 's/= [^)}]*/= */g'
# - (lang dune 2.7)
# -
# - (generate_opam_files true)
# -
# - (package
# - (name test)
# - (synopsis "Test package")
# - (depends
# - (opam-state :with-test)
# - (bos
# - (and
# - :with-test
# - (>= *)))
# - fmt
# - (ocamlfind
# - (>= *))
# - libfoo))
# -
# - (package
# - (name lib)
# - (synopsis "Lib package")
# - (depends
# - (opam-state
# - (and
# - (>= *)
# - :with-test))
# - (bos
# - (and
# - (>= *)
# - :with-test))
# - sexplib))
#
# $ opam-dune-lint
# - lib.opam: OK
# - test.opam: OK
# + File "dune-project", line 1, characters 0-0:
# + Error: Invalid first line, expected: (lang <lang> <version>)
# + opam-dune-lint: internal error, uncaught exception:
# + Failure("run ['dune' 'describe' 'opam-files']: exited with 1")
# +
# + [125]
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build opam-dune-lint 0.3
+-
- No changes have been performed
# To update the current shell environment, run: eval $(opam env)
2025-12-11 06:30.07 ---> saved as "8ab467a6a062cde4b3ea4a28c6813f2aac9cfff93f7b07b3a9e2ea001e9f3dd8"
/home/opam: (run (shell "opam reinstall --with-test --verbose opam-dune-lint.0.3;\
\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\" != 'opam-dune-lint.0.3' && 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 opam-dune-lint 0.3
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/4: [opam-dune-lint.0.3: extract]
-> retrieved opam-dune-lint.0.3 (cached)
Processing 2/4: [opam-dune-lint: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "opam-dune-lint" "-j" "255" "@install" "@runtest" (CWD=/home/opam/.opam/5.4/.opam-switch/build/opam-dune-lint.0.3)
- File "tests/test_empty_dune.t", line 1, characters 0-0:
- /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/tests/test_empty_dune.t _build/default/tests/test_empty_dune.t.corrected
- diff --git a/_build/default/tests/test_empty_dune.t b/_build/default/tests/test_empty_dune.t.corrected
- index 727a0c9..11d1512 100644
- --- a/_build/default/tests/test_empty_dune.t
- +++ b/_build/default/tests/test_empty_dune.t.corrected
- @@ -36,26 +36,11 @@ Check that all the libraries get added:
- "bos" {with-test & >= "1.0"} [from /]
- "opam-state" {with-test & >= "1.0"} [from /]
- Note: version numbers are just suggestions based on the currently installed version.
- - Wrote "dune-project"
- + File "dune-project", line 1, characters 0-0:
- + Error: Invalid first line, expected: (lang <lang> <version>)
- + opam-dune-lint: internal error, uncaught exception:
- + Failure("run ['dune' 'format-dune-file']: exited with 1")
- +
- + [125]
-
- $ cat dune-project | sed 's/= [^)}]*/= */g'
- - (lang dune 2.7)
- -
- - (generate_opam_files true)
- -
- - (package
- - (name test)
- - (synopsis "Test package")
- - (depends
- - (opam-state
- - (and
- - (>= *)
- - :with-test))
- - (bos
- - (and
- - (>= *)
- - :with-test))
- - (ocamlfind
- - (>= *))
- - (fmt
- - (>= *))))
- File "tests/test_opam_update.t", line 1, characters 0-0:
- /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/tests/test_opam_update.t _build/default/tests/test_opam_update.t.corrected
- diff --git a/_build/default/tests/test_opam_update.t b/_build/default/tests/test_opam_update.t.corrected
- index 15a9827..f4e57d4 100644
- --- a/_build/default/tests/test_opam_update.t
- +++ b/_build/default/tests/test_opam_update.t.corrected
- @@ -61,7 +61,12 @@ Check that the missing libraries get added:
- "bos" {with-test & >= "1.0"} [from /]
- "opam-state" {with-test & >= "1.0"} [from /]
- Note: version numbers are just suggestions based on the currently installed version.
- - Wrote "dune-project"
- + File "dune-project", line 1, characters 0-0:
- + Error: Invalid first line, expected: (lang <lang> <version>)
- + opam-dune-lint: internal error, uncaught exception:
- + Failure("run ['dune' 'format-dune-file']: exited with 1")
- +
- + [125]
-
- $ cat test.opam | sed 's/= [^&)}]*/= */g'
- # This file is generated by dune, edit dune-project instead
- @@ -69,10 +74,6 @@ Check that the missing libraries get added:
- synopsis: "Test package"
- depends: [
- "dune" {>= *}
- - "opam-state" {>= *& with-test}
- - "bos" {>= *& with-test}
- - "ocamlfind" {>= *}
- - "fmt" {>= *}
- "cmdliner"
- "odoc" {with-doc}
- ]
- File "tests/test_dune_same_exe_name.t", line 1, characters 0-0:
- /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/tests/test_dune_same_exe_name.t _build/default/tests/test_dune_same_exe_name.t.corrected
- diff --git a/_build/default/tests/test_dune_same_exe_name.t b/_build/default/tests/test_dune_same_exe_name.t.corrected
- index c25c319..fa72289 100644
- --- a/_build/default/tests/test_dune_same_exe_name.t
- +++ b/_build/default/tests/test_dune_same_exe_name.t.corrected
- @@ -58,4 +58,9 @@ Check that the missing libraries get added:
- "bos" {with-test & >= "1.0"} [from bin]
- "opam-state" {with-test & >= "1.0"} [from bin]
- Note: version numbers are just suggestions based on the currently installed version.
- - Wrote "dune-project"
- + File "dune-project", line 1, characters 0-0:
- + Error: Invalid first line, expected: (lang <lang> <version>)
- + opam-dune-lint: internal error, uncaught exception:
- + Failure("run ['dune' 'format-dune-file']: exited with 1")
- +
- + [125]
- File "tests/test_dune.t", line 1, characters 0-0:
- /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/tests/test_dune.t _build/default/tests/test_dune.t.corrected
- diff --git a/_build/default/tests/test_dune.t b/_build/default/tests/test_dune.t.corrected
- index ba4ac70..c1a9065 100644
- --- a/_build/default/tests/test_dune.t
- +++ b/_build/default/tests/test_dune.t.corrected
- @@ -47,30 +47,14 @@ Check that the missing libraries get added:
- "bos" {with-test & >= "1.0"} [from /]
- "opam-state" {with-test & >= "1.0"} [from /]
- Note: version numbers are just suggestions based on the currently installed version.
- - Wrote "dune-project"
- + File "dune-project", line 1, characters 0-0:
- + Error: Invalid first line, expected: (lang <lang> <version>)
- + opam-dune-lint: internal error, uncaught exception:
- + Failure("run ['dune' 'format-dune-file']: exited with 1")
- +
- + [125]
-
- $ cat dune-project | sed 's/= [^)}]*/= */g'
- - (lang dune 2.7)
- -
- - (generate_opam_files true)
- -
- - (package
- - (name test)
- - (synopsis "Test package")
- - (depends
- - (opam-state
- - (and
- - (>= *)
- - :with-test))
- - (bos
- - (and
- - (>= *)
- - :with-test))
- - (fmt
- - (>= *))
- - (ocamlfind
- - (>= *))
- - libfoo))
-
- Check adding and removing of test markers:
-
- @@ -96,26 +80,19 @@ Check adding and removing of test markers:
- "ocamlfind" [from /] (remove {with-test})
- "bos" {with-test} [from /] (missing {with-test} annotation)
- "opam-state" {with-test} [from /] (missing {with-test} annotation)
- - Wrote "dune-project"
- + File "dune-project", line 1, characters 0-0:
- + Error: Invalid first line, expected: (lang <lang> <version>)
- + opam-dune-lint: internal error, uncaught exception:
- + Failure("run ['dune' 'format-dune-file']: exited with 1")
- +
- + [125]
-
- $ cat dune-project | sed 's/= [^)}]*/= */g'
- - (lang dune 2.7)
- -
- - (generate_opam_files true)
- -
- - (package
- - (name test)
- - (synopsis "Test package")
- - (depends
- - (opam-state :with-test)
- - (bos
- - (and
- - :with-test
- - (>= *)))
- - fmt
- - (ocamlfind
- - (>= *))
- - libfoo))
-
- $ opam-dune-lint
- - test.opam: OK
- + File "dune-project", line 1, characters 0-0:
- + Error: Invalid first line, expected: (lang <lang> <version>)
- + opam-dune-lint: internal error, uncaught exception:
- + Failure("run ['dune' 'describe' 'opam-files']: exited with 1")
- +
- + [125]
- File "tests/test_dune_stanza_install.t", line 1, characters 0-0:
- /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/tests/test_dune_stanza_install.t _build/default/tests/test_dune_stanza_install.t.corrected
- diff --git a/_build/default/tests/test_dune_stanza_install.t b/_build/default/tests/test_dune_stanza_install.t.corrected
- index 1e2ca25..a8d4e12 100644
- --- a/_build/default/tests/test_dune_stanza_install.t
- +++ b/_build/default/tests/test_dune_stanza_install.t.corrected
- @@ -50,30 +50,14 @@ Check that the missing libraries get added:
- "bos" {with-test & >= "1.0"} [from /]
- "opam-state" {with-test & >= "1.0"} [from /]
- Note: version numbers are just suggestions based on the currently installed version.
- - Wrote "dune-project"
- + File "dune-project", line 1, characters 0-0:
- + Error: Invalid first line, expected: (lang <lang> <version>)
- + opam-dune-lint: internal error, uncaught exception:
- + Failure("run ['dune' 'format-dune-file']: exited with 1")
- +
- + [125]
-
- $ cat dune-project | sed 's/= [^)}]*/= */g'
- - (lang dune 2.7)
- -
- - (generate_opam_files true)
- -
- - (package
- - (name test)
- - (synopsis "Test package")
- - (depends
- - (opam-state
- - (and
- - (>= *)
- - :with-test))
- - (bos
- - (and
- - (>= *)
- - :with-test))
- - (fmt
- - (>= *))
- - (ocamlfind
- - (>= *))
- - libfoo))
-
- Check adding and removing of test markers:
-
- @@ -99,26 +83,19 @@ Check adding and removing of test markers:
- "ocamlfind" [from /] (remove {with-test})
- "bos" {with-test} [from /] (missing {with-test} annotation)
- "opam-state" {with-test} [from /] (missing {with-test} annotation)
- - Wrote "dune-project"
- + File "dune-project", line 1, characters 0-0:
- + Error: Invalid first line, expected: (lang <lang> <version>)
- + opam-dune-lint: internal error, uncaught exception:
- + Failure("run ['dune' 'format-dune-file']: exited with 1")
- +
- + [125]
-
- $ cat dune-project | sed 's/= [^)}]*/= */g'
- - (lang dune 2.7)
- -
- - (generate_opam_files true)
- -
- - (package
- - (name test)
- - (synopsis "Test package")
- - (depends
- - (opam-state :with-test)
- - (bos
- - (and
- - :with-test
- - (>= *)))
- - fmt
- - (ocamlfind
- - (>= *))
- - libfoo))
-
- $ opam-dune-lint
- - test.opam: OK
- + File "dune-project", line 1, characters 0-0:
- + Error: Invalid first line, expected: (lang <lang> <version>)
- + opam-dune-lint: internal error, uncaught exception:
- + Failure("run ['dune' 'describe' 'opam-files']: exited with 1")
- +
- + [125]
- File "tests/test_dune_copy_install.t", line 1, characters 0-0:
- /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/tests/test_dune_copy_install.t _build/default/tests/test_dune_copy_install.t.corrected
- diff --git a/_build/default/tests/test_dune_copy_install.t b/_build/default/tests/test_dune_copy_install.t.corrected
- index edbcebd..e7a3004 100644
- --- a/_build/default/tests/test_dune_copy_install.t
- +++ b/_build/default/tests/test_dune_copy_install.t.corrected
- @@ -70,43 +70,14 @@ Check that the missing libraries get added:
- "bos" {with-test & >= "1.0"} [from /]
- "opam-state" {with-test & >= "1.0"} [from /]
- Note: version numbers are just suggestions based on the currently installed version.
- - Wrote "dune-project"
- + File "dune-project", line 1, characters 0-0:
- + Error: Invalid first line, expected: (lang <lang> <version>)
- + opam-dune-lint: internal error, uncaught exception:
- + Failure("run ['dune' 'format-dune-file']: exited with 1")
- +
- + [125]
-
- $ cat dune-project | sed 's/= [^)}]*/= */g'
- - (lang dune 2.7)
- -
- - (generate_opam_files true)
- -
- - (package
- - (name test)
- - (synopsis "Test package")
- - (depends
- - (opam-state
- - (and
- - (>= *)
- - :with-test))
- - (bos
- - (and
- - (>= *)
- - :with-test))
- - (fmt
- - (>= *))
- - (ocamlfind
- - (>= *))
- - libfoo))
- -
- - (package
- - (name zombie)
- - (synopsis "Zombie package")
- - (depends
- - (opam-state
- - (and
- - (>= *)
- - :with-test))
- - (bos
- - (and
- - (>= *)
- - :with-test))))
-
- Check adding and removing of test markers:
-
- @@ -139,40 +110,19 @@ Check adding and removing of test markers:
- "bos" {with-test & >= "1.0"} [from /]
- "opam-state" {with-test & >= "1.0"} [from /]
- Note: version numbers are just suggestions based on the currently installed version.
- - Wrote "dune-project"
- + File "dune-project", line 1, characters 0-0:
- + Error: Invalid first line, expected: (lang <lang> <version>)
- + opam-dune-lint: internal error, uncaught exception:
- + Failure("run ['dune' 'format-dune-file']: exited with 1")
- +
- + [125]
-
- $ cat dune-project | sed 's/= [^)}]*/= */g'
- - (lang dune 2.7)
- -
- - (generate_opam_files true)
- -
- - (package
- - (name test)
- - (synopsis "Test package")
- - (depends
- - (opam-state :with-test)
- - (bos
- - (and
- - :with-test
- - (>= *)))
- - fmt
- - (ocamlfind
- - (>= *))
- - libfoo))
- -
- - (package
- - (name zombie)
- - (synopsis "Zombie package")
- - (depends
- - (opam-state
- - (and
- - (>= *)
- - :with-test))
- - (bos
- - (and
- - (>= *)
- - :with-test))))
-
- $ opam-dune-lint
- - test.opam: OK
- - zombie.opam: OK
- + File "dune-project", line 1, characters 0-0:
- + Error: Invalid first line, expected: (lang <lang> <version>)
- + opam-dune-lint: internal error, uncaught exception:
- + Failure("run ['dune' 'describe' 'opam-files']: exited with 1")
- +
- + [125]
- File "tests/test_public_lib.t", line 1, characters 0-0:
- /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/tests/test_public_lib.t _build/default/tests/test_public_lib.t.corrected
- diff --git a/_build/default/tests/test_public_lib.t b/_build/default/tests/test_public_lib.t.corrected
- index 661e56b..b0a6b45 100644
- --- a/_build/default/tests/test_public_lib.t
- +++ b/_build/default/tests/test_public_lib.t.corrected
- @@ -64,44 +64,14 @@ Check that the missing libraries get added:
- "bos" {with-test & >= "1.0"} [from /]
- "opam-state" {with-test & >= "1.0"} [from /]
- Note: version numbers are just suggestions based on the currently installed version.
- - Wrote "dune-project"
- + File "dune-project", line 1, characters 0-0:
- + Error: Invalid first line, expected: (lang <lang> <version>)
- + opam-dune-lint: internal error, uncaught exception:
- + Failure("run ['dune' 'format-dune-file']: exited with 1")
- +
- + [125]
-
- $ cat dune-project | sed 's/= [^)}]*/= */g'
- - (lang dune 2.7)
- -
- - (generate_opam_files true)
- -
- - (package
- - (name test)
- - (synopsis "Test package")
- - (depends
- - (opam-state
- - (and
- - (>= *)
- - :with-test))
- - (bos
- - (and
- - (>= *)
- - :with-test))
- - (fmt
- - (>= *))
- - (ocamlfind
- - (>= *))
- - libfoo))
- -
- - (package
- - (name lib)
- - (synopsis "Lib package")
- - (depends
- - (opam-state
- - (and
- - (>= *)
- - :with-test))
- - (bos
- - (and
- - (>= *)
- - :with-test))
- - sexplib))
-
- Check adding and removing of test markers:
-
- @@ -135,41 +105,19 @@ Check adding and removing of test markers:
- "bos" {with-test} [from /] (missing {with-test} annotation)
- "opam-state" {with-test} [from /] (missing {with-test} annotation)
- Note: version numbers are just suggestions based on the currently installed version.
- - Wrote "dune-project"
- + File "dune-project", line 1, characters 0-0:
- + Error: Invalid first line, expected: (lang <lang> <version>)
- + opam-dune-lint: internal error, uncaught exception:
- + Failure("run ['dune' 'format-dune-file']: exited with 1")
- +
- + [125]
-
- $ cat dune-project | sed 's/= [^)}]*/= */g'
- - (lang dune 2.7)
- -
- - (generate_opam_files true)
- -
- - (package
- - (name test)
- - (synopsis "Test package")
- - (depends
- - (opam-state :with-test)
- - (bos
- - (and
- - :with-test
- - (>= *)))
- - fmt
- - (ocamlfind
- - (>= *))
- - libfoo))
- -
- - (package
- - (name lib)
- - (synopsis "Lib package")
- - (depends
- - (opam-state
- - (and
- - (>= *)
- - :with-test))
- - (bos
- - (and
- - (>= *)
- - :with-test))
- - sexplib))
-
- $ opam-dune-lint
- - lib.opam: OK
- - test.opam: OK
- + File "dune-project", line 1, characters 0-0:
- + Error: Invalid first line, expected: (lang <lang> <version>)
- + opam-dune-lint: internal error, uncaught exception:
- + Failure("run ['dune' 'describe' 'opam-files']: exited with 1")
- +
- + [125]
[ERROR] The compilation of opam-dune-lint.0.3 failed at "dune build -p opam-dune-lint -j 255 @install @runtest".
#=== ERROR while compiling opam-dune-lint.0.3 =================================#
# context 2.5.0 | linux/x86_64 | ocaml-base-compiler.5.4.0 | file:///home/opam/opam-repository
# path ~/.opam/5.4/.opam-switch/build/opam-dune-lint.0.3
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p opam-dune-lint -j 255 @install @runtest
# exit-code 1
# env-file ~/.opam/log/opam-dune-lint-7-6b8824.env
# output-file ~/.opam/log/opam-dune-lint-7-6b8824.out
### output ###
# File "tests/test_empty_dune.t", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/tests/test_empty_dune.t _build/default/tests/test_empty_dune.t.corrected
# diff --git a/_build/default/tests/test_empty_dune.t b/_build/default/tests/test_empty_dune.t.corrected
# index 727a0c9..11d1512 100644
# --- a/_build/default/tests/test_empty_dune.t
# +++ b/_build/default/tests/test_empty_dune.t.corrected
# @@ -36,26 +36,11 @@ Check that all the libraries get added:
# "bos" {with-test & >= "1.0"} [from /]
# "opam-state" {with-test & >= "1.0"} [from /]
# Note: version numbers are just suggestions based on the currently installed version.
# - Wrote "dune-project"
# + File "dune-project", line 1, characters 0-0:
# + Error: Invalid first line, expected: (lang <lang> <version>)
# + opam-dune-lint: internal error, uncaught exception:
# + Failure("run ['dune' 'format-dune-file']: exited with 1")
# +
# + [125]
#
# $ cat dune-project | sed 's/= [^)}]*/= */g'
# - (lang dune 2.7)
# -
# - (generate_opam_files true)
# -
# - (package
# - (name test)
# - (synopsis "Test package")
# - (depends
# - (opam-state
# - (and
# - (>= *)
# - :with-test))
# - (bos
# - (and
# - (>= *)
# - :with-test))
# - (ocamlfind
# - (>= *))
# - (fmt
# - (>= *))))
# File "tests/test_opam_update.t", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/tests/test_opam_update.t _build/default/tests/test_opam_update.t.corrected
# diff --git a/_build/default/tests/test_opam_update.t b/_build/default/tests/test_opam_update.t.corrected
# index 15a9827..f4e57d4 100644
# --- a/_build/default/tests/test_opam_update.t
# +++ b/_build/default/tests/test_opam_update.t.corrected
# @@ -61,7 +61,12 @@ Check that the missing libraries get added:
# "bos" {with-test & >= "1.0"} [from /]
# "opam-state" {with-test & >= "1.0"} [from /]
# Note: version numbers are just suggestions based on the currently installed version.
# - Wrote "dune-project"
# + File "dune-project", line 1, characters 0-0:
# + Error: Invalid first line, expected: (lang <lang> <version>)
# + opam-dune-lint: internal error, uncaught exception:
# + Failure("run ['dune' 'format-dune-file']: exited with 1")
# +
# + [125]
#
# $ cat test.opam | sed 's/= [^&)}]*/= */g'
# # This file is generated by dune, edit dune-project instead
# @@ -69,10 +74,6 @@ Check that the missing libraries get added:
# synopsis: "Test package"
# depends: [
# "dune" {>= *}
# - "opam-state" {>= *& with-test}
# - "bos" {>= *& with-test}
# - "ocamlfind" {>= *}
# - "fmt" {>= *}
# "cmdliner"
# "odoc" {with-doc}
# ]
# File "tests/test_dune_same_exe_name.t", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/tests/test_dune_same_exe_name.t _build/default/tests/test_dune_same_exe_name.t.corrected
# diff --git a/_build/default/tests/test_dune_same_exe_name.t b/_build/default/tests/test_dune_same_exe_name.t.corrected
# index c25c319..fa72289 100644
# --- a/_build/default/tests/test_dune_same_exe_name.t
# +++ b/_build/default/tests/test_dune_same_exe_name.t.corrected
# @@ -58,4 +58,9 @@ Check that the missing libraries get added:
# "bos" {with-test & >= "1.0"} [from bin]
# "opam-state" {with-test & >= "1.0"} [from bin]
# Note: version numbers are just suggestions based on the currently installed version.
# - Wrote "dune-project"
# + File "dune-project", line 1, characters 0-0:
# + Error: Invalid first line, expected: (lang <lang> <version>)
# + opam-dune-lint: internal error, uncaught exception:
# + Failure("run ['dune' 'format-dune-file']: exited with 1")
# +
# + [125]
# File "tests/test_dune.t", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/tests/test_dune.t _build/default/tests/test_dune.t.corrected
# diff --git a/_build/default/tests/test_dune.t b/_build/default/tests/test_dune.t.corrected
# index ba4ac70..c1a9065 100644
# --- a/_build/default/tests/test_dune.t
# +++ b/_build/default/tests/test_dune.t.corrected
# @@ -47,30 +47,14 @@ Check that the missing libraries get added:
# "bos" {with-test & >= "1.0"} [from /]
# "opam-state" {with-test & >= "1.0"} [from /]
# Note: version numbers are just suggestions based on the currently installed version.
# - Wrote "dune-project"
# + File "dune-project", line 1, characters 0-0:
# + Error: Invalid first line, expected: (lang <lang> <version>)
# + opam-dune-lint: internal error, uncaught exception:
# + Failure("run ['dune' 'format-dune-file']: exited with 1")
# +
# + [125]
#
# $ cat dune-project | sed 's/= [^)}]*/= */g'
# - (lang dune 2.7)
# -
# - (generate_opam_files true)
# -
# - (package
# - (name test)
# - (synopsis "Test package")
# - (depends
# - (opam-state
# - (and
# - (>= *)
# - :with-test))
# - (bos
# - (and
# - (>= *)
# - :with-test))
# - (fmt
# - (>= *))
# - (ocamlfind
# - (>= *))
# - libfoo))
#
# Check adding and removing of test markers:
#
# @@ -96,26 +80,19 @@ Check adding and removing of test markers:
# "ocamlfind" [from /] (remove {with-test})
# "bos" {with-test} [from /] (missing {with-test} annotation)
# "opam-state" {with-test} [from /] (missing {with-test} annotation)
# - Wrote "dune-project"
# + File "dune-project", line 1, characters 0-0:
# + Error: Invalid first line, expected: (lang <lang> <version>)
# + opam-dune-lint: internal error, uncaught exception:
# + Failure("run ['dune' 'format-dune-file']: exited with 1")
# +
# + [125]
#
# $ cat dune-project | sed 's/= [^)}]*/= */g'
# - (lang dune 2.7)
# -
# - (generate_opam_files true)
# -
# - (package
# - (name test)
# - (synopsis "Test package")
# - (depends
# - (opam-state :with-test)
# - (bos
# - (and
# - :with-test
# - (>= *)))
# - fmt
# - (ocamlfind
# - (>= *))
# - libfoo))
#
# $ opam-dune-lint
# - test.opam: OK
# + File "dune-project", line 1, characters 0-0:
# + Error: Invalid first line, expected: (lang <lang> <version>)
# + opam-dune-lint: internal error, uncaught exception:
# + Failure("run ['dune' 'describe' 'opam-files']: exited with 1")
# +
# + [125]
# File "tests/test_dune_stanza_install.t", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/tests/test_dune_stanza_install.t _build/default/tests/test_dune_stanza_install.t.corrected
# diff --git a/_build/default/tests/test_dune_stanza_install.t b/_build/default/tests/test_dune_stanza_install.t.corrected
# index 1e2ca25..a8d4e12 100644
# --- a/_build/default/tests/test_dune_stanza_install.t
# +++ b/_build/default/tests/test_dune_stanza_install.t.corrected
# @@ -50,30 +50,14 @@ Check that the missing libraries get added:
# "bos" {with-test & >= "1.0"} [from /]
# "opam-state" {with-test & >= "1.0"} [from /]
# Note: version numbers are just suggestions based on the currently installed version.
# - Wrote "dune-project"
# + File "dune-project", line 1, characters 0-0:
# + Error: Invalid first line, expected: (lang <lang> <version>)
# + opam-dune-lint: internal error, uncaught exception:
# + Failure("run ['dune' 'format-dune-file']: exited with 1")
# +
# + [125]
#
# $ cat dune-project | sed 's/= [^)}]*/= */g'
# - (lang dune 2.7)
# -
# - (generate_opam_files true)
# -
# - (package
# - (name test)
# - (synopsis "Test package")
# - (depends
# - (opam-state
# - (and
# - (>= *)
# - :with-test))
# - (bos
# - (and
# - (>= *)
# - :with-test))
# - (fmt
# - (>= *))
# - (ocamlfind
# - (>= *))
# - libfoo))
#
# Check adding and removing of test markers:
#
# @@ -99,26 +83,19 @@ Check adding and removing of test markers:
# "ocamlfind" [from /] (remove {with-test})
# "bos" {with-test} [from /] (missing {with-test} annotation)
# "opam-state" {with-test} [from /] (missing {with-test} annotation)
# - Wrote "dune-project"
# + File "dune-project", line 1, characters 0-0:
# + Error: Invalid first line, expected: (lang <lang> <version>)
# + opam-dune-lint: internal error, uncaught exception:
# + Failure("run ['dune' 'format-dune-file']: exited with 1")
# +
# + [125]
#
# $ cat dune-project | sed 's/= [^)}]*/= */g'
# - (lang dune 2.7)
# -
# - (generate_opam_files true)
# -
# - (package
# - (name test)
# - (synopsis "Test package")
# - (depends
# - (opam-state :with-test)
# - (bos
# - (and
# - :with-test
# - (>= *)))
# - fmt
# - (ocamlfind
# - (>= *))
# - libfoo))
#
# $ opam-dune-lint
# - test.opam: OK
# + File "dune-project", line 1, characters 0-0:
# + Error: Invalid first line, expected: (lang <lang> <version>)
# + opam-dune-lint: internal error, uncaught exception:
# + Failure("run ['dune' 'describe' 'opam-files']: exited with 1")
# +
# + [125]
# File "tests/test_dune_copy_install.t", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/tests/test_dune_copy_install.t _build/default/tests/test_dune_copy_install.t.corrected
# diff --git a/_build/default/tests/test_dune_copy_install.t b/_build/default/tests/test_dune_copy_install.t.corrected
# index edbcebd..e7a3004 100644
# --- a/_build/default/tests/test_dune_copy_install.t
# +++ b/_build/default/tests/test_dune_copy_install.t.corrected
# @@ -70,43 +70,14 @@ Check that the missing libraries get added:
# "bos" {with-test & >= "1.0"} [from /]
# "opam-state" {with-test & >= "1.0"} [from /]
# Note: version numbers are just suggestions based on the currently installed version.
# - Wrote "dune-project"
# + File "dune-project", line 1, characters 0-0:
# + Error: Invalid first line, expected: (lang <lang> <version>)
# + opam-dune-lint: internal error, uncaught exception:
# + Failure("run ['dune' 'format-dune-file']: exited with 1")
# +
# + [125]
#
# $ cat dune-project | sed 's/= [^)}]*/= */g'
# - (lang dune 2.7)
# -
# - (generate_opam_files true)
# -
# - (package
# - (name test)
# - (synopsis "Test package")
# - (depends
# - (opam-state
# - (and
# - (>= *)
# - :with-test))
# - (bos
# - (and
# - (>= *)
# - :with-test))
# - (fmt
# - (>= *))
# - (ocamlfind
# - (>= *))
# - libfoo))
# -
# - (package
# - (name zombie)
# - (synopsis "Zombie package")
# - (depends
# - (opam-state
# - (and
# - (>= *)
# - :with-test))
# - (bos
# - (and
# - (>= *)
# - :with-test))))
#
# Check adding and removing of test markers:
#
# @@ -139,40 +110,19 @@ Check adding and removing of test markers:
# "bos" {with-test & >= "1.0"} [from /]
# "opam-state" {with-test & >= "1.0"} [from /]
# Note: version numbers are just suggestions based on the currently installed version.
# - Wrote "dune-project"
# + File "dune-project", line 1, characters 0-0:
# + Error: Invalid first line, expected: (lang <lang> <version>)
# + opam-dune-lint: internal error, uncaught exception:
# + Failure("run ['dune' 'format-dune-file']: exited with 1")
# +
# + [125]
#
# $ cat dune-project | sed 's/= [^)}]*/= */g'
# - (lang dune 2.7)
# -
# - (generate_opam_files true)
# -
# - (package
# - (name test)
# - (synopsis "Test package")
# - (depends
# - (opam-state :with-test)
# - (bos
# - (and
# - :with-test
# - (>= *)))
# - fmt
# - (ocamlfind
# - (>= *))
# - libfoo))
# -
# - (package
# - (name zombie)
# - (synopsis "Zombie package")
# - (depends
# - (opam-state
# - (and
# - (>= *)
# - :with-test))
# - (bos
# - (and
# - (>= *)
# - :with-test))))
#
# $ opam-dune-lint
# - test.opam: OK
# - zombie.opam: OK
# + File "dune-project", line 1, characters 0-0:
# + Error: Invalid first line, expected: (lang <lang> <version>)
# + opam-dune-lint: internal error, uncaught exception:
# + Failure("run ['dune' 'describe' 'opam-files']: exited with 1")
# +
# + [125]
# File "tests/test_public_lib.t", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/tests/test_public_lib.t _build/default/tests/test_public_lib.t.corrected
# diff --git a/_build/default/tests/test_public_lib.t b/_build/default/tests/test_public_lib.t.corrected
# index 661e56b..b0a6b45 100644
# --- a/_build/default/tests/test_public_lib.t
# +++ b/_build/default/tests/test_public_lib.t.corrected
# @@ -64,44 +64,14 @@ Check that the missing libraries get added:
# "bos" {with-test & >= "1.0"} [from /]
# "opam-state" {with-test & >= "1.0"} [from /]
# Note: version numbers are just suggestions based on the currently installed version.
# - Wrote "dune-project"
# + File "dune-project", line 1, characters 0-0:
# + Error: Invalid first line, expected: (lang <lang> <version>)
# + opam-dune-lint: internal error, uncaught exception:
# + Failure("run ['dune' 'format-dune-file']: exited with 1")
# +
# + [125]
#
# $ cat dune-project | sed 's/= [^)}]*/= */g'
# - (lang dune 2.7)
# -
# - (generate_opam_files true)
# -
# - (package
# - (name test)
# - (synopsis "Test package")
# - (depends
# - (opam-state
# - (and
# - (>= *)
# - :with-test))
# - (bos
# - (and
# - (>= *)
# - :with-test))
# - (fmt
# - (>= *))
# - (ocamlfind
# - (>= *))
# - libfoo))
# -
# - (package
# - (name lib)
# - (synopsis "Lib package")
# - (depends
# - (opam-state
# - (and
# - (>= *)
# - :with-test))
# - (bos
# - (and
# - (>= *)
# - :with-test))
# - sexplib))
#
# Check adding and removing of test markers:
#
# @@ -135,41 +105,19 @@ Check adding and removing of test markers:
# "bos" {with-test} [from /] (missing {with-test} annotation)
# "opam-state" {with-test} [from /] (missing {with-test} annotation)
# Note: version numbers are just suggestions based on the currently installed version.
# - Wrote "dune-project"
# + File "dune-project", line 1, characters 0-0:
# + Error: Invalid first line, expected: (lang <lang> <version>)
# + opam-dune-lint: internal error, uncaught exception:
# + Failure("run ['dune' 'format-dune-file']: exited with 1")
# +
# + [125]
#
# $ cat dune-project | sed 's/= [^)}]*/= */g'
# - (lang dune 2.7)
# -
# - (generate_opam_files true)
# -
# - (package
# - (name test)
# - (synopsis "Test package")
# - (depends
# - (opam-state :with-test)
# - (bos
# - (and
# - :with-test
# - (>= *)))
# - fmt
# - (ocamlfind
# - (>= *))
# - libfoo))
# -
# - (package
# - (name lib)
# - (synopsis "Lib package")
# - (depends
# - (opam-state
# - (and
# - (>= *)
# - :with-test))
# - (bos
# - (and
# - (>= *)
# - :with-test))
# - sexplib))
#
# $ opam-dune-lint
# - lib.opam: OK
# - test.opam: OK
# + File "dune-project", line 1, characters 0-0:
# + Error: Invalid first line, expected: (lang <lang> <version>)
# + opam-dune-lint: internal error, uncaught exception:
# + Failure("run ['dune' 'describe' 'opam-files']: exited with 1")
# +
# + [125]
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build opam-dune-lint 0.3
+-
- No changes have been performed
# To update the current shell environment, run: eval $(opam env)
'opam reinstall --with-test --verbose opam-dune-lint.0.3' failed.
[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 --with-test --verbose opam-dune-lint.0.3;
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" != 'opam-dune-lint.0.3' && 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-12-11 06:30.42: Job failed: Failed: Build failed
2025-12-11 06:30.42: Log analysis:
2025-12-11 06:30.42: >>>
[ERROR] The compilation of opam-dune-lint.0.3 failed at "dune build -p opam-dune-lint -j 255 @install @runtest".
(score = 20)
2025-12-11 06:30.42: >>>
[ERROR] The compilation of opam-dune-lint.0.3 failed at "dune build -p opam-dune-lint -j 255 @install @runtest".
(score = 20)
2025-12-11 06:30.42: The compilation of opam-dune-lint.0.3 failed at "dune build -p opam-dune-lint -j 255 @install @runtest".