Organisationsocurrentopam-dune-lint04aed0 (master)windows-server-2022-amd64-4.14_opam-2.3

windows-server-2022-amd64-4.14_opam-2.3

Link Copied
Code Copied

Logs

2025-07-04 15:12.42: New job: test ocurrent/opam-dune-lint https://github.com/ocurrent/opam-dune-lint.git#refs/heads/master (04aed0bd0e3e766f8e45c4af55a2051afd0b3b36) (windows-amd64:windows-server-2022-amd64-4.14_opam-2.3)
Base: windows-server-2022-amd64-ocaml-4.14
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocurrent/opam-dune-lint.git" -b "master" && cd "opam-dune-lint" && git reset --hard 04aed0bd
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM windows-server-2022-amd64-ocaml-4.14
# windows-server-2022-amd64-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e 382e02b4c17b5b59d503254784ac3a5d78916d5a || git fetch origin master) && git reset -q --hard 382e02b4c17b5b59d503254784ac3a5d78916d5a && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 opam-dune-lint.opam /Users/opam/src/./
RUN opam pin add -yn opam-dune-lint.dev '/Users/opam/src/./'
RUN echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'
ENV DEPS="arch-x86_64.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base bos.0.2.1 cmdliner.1.3.0 conf-mingw-w64-gcc-i686.1 conf-mingw-w64-gcc-x86_64.1 csexp.1.5.2 dune.3.19.1 dyn.3.19.1 flexdll.0.44 fmt.0.10.0 fpath.0.7.3 host-arch-x86_64.1 host-system-mingw.1 jsonm.1.0.2 logs.0.8.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mingw-w64-shims.0.2.0 num.1.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 opam-core.2.3.0 opam-file-format.2.2.0 opam-format.2.3.0 opam-repository.2.3.0 opam-state.2.3.0 ordering.3.19.1 parsexp.v0.16.0 pp.2.0.0 re.1.13.2 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 spdx_licenses.1.4.0 stdlib-shims.0.3.0 stdune.3.19.1 swhid_core.0.1 system-mingw.1 topkg.1.0.8 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y opam-dune-lint.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /Users/opam/src
RUN cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2025-07-04 15:12.42: Using cache hint "ocurrent/opam-dune-lint-windows-server-2022-amd64-ocaml-4.14-windows-server-2022-amd64-4.14_opam-2.3-7bbdf04ea49e620de2528a6a9d734d9b"
2025-07-04 15:12.42: Using OBuilder spec:
((from windows-server-2022-amd64-ocaml-4.14)
(comment windows-server-2022-amd64-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 382e02b4c17b5b59d503254784ac3a5d78916d5a || git fetch origin master) && git reset -q --hard 382e02b4c17b5b59d503254784ac3a5d78916d5a && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src opam-dune-lint.opam) (dst /Users/opam/src/./))
(run (network host)
(shell "opam pin add -yn opam-dune-lint.dev '/Users/opam/src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
(env DEPS "arch-x86_64.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base bos.0.2.1 cmdliner.1.3.0 conf-mingw-w64-gcc-i686.1 conf-mingw-w64-gcc-x86_64.1 csexp.1.5.2 dune.3.19.1 dyn.3.19.1 flexdll.0.44 fmt.0.10.0 fpath.0.7.3 host-arch-x86_64.1 host-system-mingw.1 jsonm.1.0.2 logs.0.8.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mingw-w64-shims.0.2.0 num.1.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 opam-core.2.3.0 opam-file-format.2.2.0 opam-format.2.3.0 opam-repository.2.3.0 opam-state.2.3.0 ordering.3.19.1 parsexp.v0.16.0 pp.2.0.0 re.1.13.2 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 spdx_licenses.1.4.0 stdlib-shims.0.3.0 stdune.3.19.1 swhid_core.0.1 system-mingw.1 topkg.1.0.8 uutf.1.0.4")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y opam-dune-lint.dev $DEPS"))
(run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /Users/opam/src))
(run (shell "cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2025-07-04 15:12.42: Waiting for resource in pool OCluster
2025-07-04 17:58.54: Waiting for worker…
2025-07-04 21:26.08: Got resource from pool OCluster
Building on thyme
All commits already cached
HEAD is now at 04aed0b Merge pull request #72 from amongonz/newline-patch


(from windows-server-2022-amd64-ocaml-4.14)
2025-07-04 21:26.08 ---> using "55c9cbebb0e098c78ccc09b1cc6e84ec9f0bd2275b7cebf331cc913575946dc0" from cache


/: (comment windows-server-2022-amd64-4.14_opam-2.3)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (run (shell "ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-07-04 21:26.08 ---> using "fe3978d598c814685c6ee8922c3ae17147a3127f83af70ca6588d6b26847cd93" from cache


/: (run (shell "opam init --reinit -ni"))
No configuration file found, using built-in defaults.


<><> Unix support infrastructure ><><><><><><><><><><><><><><><><><><><><><><><>


opam and the OCaml ecosystem in general require various Unix tools in order to operate correctly. At present, this requires the installation of Cygwin to provide these tools.


How should opam obtain Unix tools?
> 1. Use tools found in PATH (Cygwin installation at C:\cygwin64)
2. Automatically create an internal Cygwin installation that will be managed by opam (recommended)
3. Use Cygwin installation found in C:\cygwin64
4. Use another existing Cygwin/MSYS2 installation
5. Abort initialisation


[1/2/3/4/5] 1
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.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from file://C:/Users/opam/opam-repository
2025-07-04 21:26.08 ---> using "0caf41f56a7e1f8a9ba062ae44d7d1f50471f3874e543c30c0d1c2b229f1e062" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
CYGWIN_NT-10.0-20348 3.5.4-1.x86_64
The OCaml toplevel, version 4.14.2
2.3.0
2025-07-04 21:26.08 ---> using "6a7802e4db8e302e8ba8d87ff4e9376ae777099db0cd03bdab21ff27a442740c" from cache


/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 382e02b4c17b5b59d503254784ac3a5d78916d5a || git fetch origin master) && git reset -q --hard 382e02b4c17b5b59d503254784ac3a5d78916d5a && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
11bdbee611..ee56c84f60  master     -> origin/master
382e02b4c1 Merge pull request #28124 from kit-ty-kate/opam-publish-re.1.13.2


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file://C:/Users/opam/opam-repository


The following actions will be performed:
=== recompile 3 packages
- recompile ocaml               4.14.2          [uses ocaml-base-compiler]
- recompile ocaml-base-compiler 4.14.2 (pinned) [uses flexdll]
- recompile ocaml-config        3               [uses ocaml-base-compiler]
=== upgrade 1 package
- upgrade   flexdll             0.43 to 0.44


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-config.3  (cached)
-> retrieved flexdll.0.44  (cached)
-> removed   ocaml.4.14.2
-> removed   ocaml-config.3
-> retrieved ocaml-base-compiler.4.14.2  (cached)
-> removed   ocaml-base-compiler.4.14.2
-> removed   flexdll.0.43
-> installed flexdll.0.44
-> installed ocaml-base-compiler.4.14.2
-> installed ocaml-config.3
-> installed ocaml.4.14.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-04 21:26.08 ---> using "9648acc6366e571b62111178267a7ced65ec372ce471660d686779925250de3f" from cache


/: (copy (src opam-dune-lint.opam) (dst /Users/opam/src/./))
2025-07-04 21:26.50 ---> saved as "bfa66383979ca03746dd29cb2d03022ee2784b85294388ca214108cf06608934"


/: (run (network host)
(shell "opam pin add -yn opam-dune-lint.dev '/Users/opam/src/./'"))
[opam-dune-lint.dev] synchronised (file://C:/Users/opam/src/.)
opam-dune-lint is now pinned to file://C:/Users/opam/src/. (version dev)
2025-07-04 21:27.28 ---> saved as "ddca423b69ec315507ab04f4a25f15c8ba3fc464bb0e61e7c987ab0eca5e84c2"


/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
2025-07-04 21:28.03 ---> saved as "fbe6ab8ec07c36c6bc5c660a34f2bfd26bd7945b16f1e03187fa91b0f14c61b8"


/: (env DEPS "arch-x86_64.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base bos.0.2.1 cmdliner.1.3.0 conf-mingw-w64-gcc-i686.1 conf-mingw-w64-gcc-x86_64.1 csexp.1.5.2 dune.3.19.1 dyn.3.19.1 flexdll.0.44 fmt.0.10.0 fpath.0.7.3 host-arch-x86_64.1 host-system-mingw.1 jsonm.1.0.2 logs.0.8.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mingw-w64-shims.0.2.0 num.1.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlgraph.2.2.0 opam-core.2.3.0 opam-file-format.2.2.0 opam-format.2.3.0 opam-repository.2.3.0 opam-state.2.3.0 ordering.3.19.1 parsexp.v0.16.0 pp.2.0.0 re.1.13.2 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 spdx_licenses.1.4.0 stdlib-shims.0.3.0 stdune.3.19.1 swhid_core.0.1 system-mingw.1 topkg.1.0.8 uutf.1.0.4")


/: (env CI true)


/: (env OCAMLCI true)


/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y opam-dune-lint.dev $DEPS"))


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[opam-dune-lint.dev] synchronised (file://C:/Users/opam/src/.)


[NOTE] Package system-mingw is already installed (current version is 1).
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-env-mingw64 is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package mingw-w64-shims is already installed (current version is 0.2.0).
[NOTE] Package host-system-mingw is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package flexdll is already installed (current version is 0.44).
[NOTE] Package conf-mingw-w64-gcc-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
[NOTE] Package arch-x86_64 is already installed (current version is 1).


The following system packages will first need to be installed:
mingw64-i686-gcc-core


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>


+ C:\Users\opam\AppData\Local\opam\.cygwin\setup-x86_64.exe "--root" "C:\\cygwin64" "--quiet-mode" "unattended" "--no-shortcuts" "--no-startmenu" "--no-desktop" "--no-admin" "--no-version-check" "--no-write-registry" "--packages" "mingw64-i686-gcc-core"
- Starting cygwin install, version 2.934
- User has backup/restore rights
- User has symlink creation right
- Current Directory: C:\Windows\system32
- root: C:\cygwin64 system
- Changing gid to Administrators
- Selected local directory: C:\Windows\system32
- net: Preconfig
- site: https://cygwin.mirror.constant.com/
- solving: 1 tasks, update: no, use test packages: no
- solving: 6 tasks, update: no, use test packages: no
- Augmented Transaction List:
-    0 install mingw64-i686-binutils                 2.44-1
-    1 install mingw64-i686-windows-default-manifest 6.4-1
-    2 install mingw64-i686-winpthreads              13.0.0-1
-    3 install mingw64-i686-headers                  13.0.0-1
-    4 install mingw64-i686-runtime                  13.0.0-1
-    5 install mingw64-i686-gcc-core                 12.4.0-1
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/x86_64/release/mingw64-i686-binutils/mingw64-i686-binutils-2.44-1.tar.zst
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-i686-windows-default-manifest/mingw64-i686-windows-default-manifest-6.4-1.tar.xz
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-i686-winpthreads/mingw64-i686-winpthreads-13.0.0-1-noarch.tar.xz
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-i686-headers/mingw64-i686-headers-13.0.0-1-noarch.tar.xz
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-i686-runtime/mingw64-i686-runtime-13.0.0-1-noarch.tar.xz
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/x86_64/release/mingw64-i686-gcc/mingw64-i686-gcc-core/mingw64-i686-gcc-core-12.4.0-1.tar.zst
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/x86_64/release/mingw64-i686-binutils/mingw64-i686-binutils-2.44-1.tar.zst
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-i686-windows-default-manifest/mingw64-i686-windows-default-manifest-6.4-1.tar.xz
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-i686-winpthreads/mingw64-i686-winpthreads-13.0.0-1-noarch.tar.xz
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-i686-headers/mingw64-i686-headers-13.0.0-1-noarch.tar.xz
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-i686-runtime/mingw64-i686-runtime-13.0.0-1-noarch.tar.xz
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/x86_64/release/mingw64-i686-gcc/mingw64-i686-gcc-core/mingw64-i686-gcc-core-12.4.0-1.tar.zst
- running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_000_autorebase.dash"
- running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_update-info-dir.dash"
- running: C:\cygwin64\bin\dash.exe "/etc/postinstall/zp_man-db-update-index.dash"
- Ending cygwin install
- NOTE: you should run 'diskperf -y' to enable the disk statistics
- NOTE: you should run 'diskperf -y' to enable the disk statistics
2025-07-04 21:29.57 ---> saved as "e6961ceff0df4327bf40f892f0e3c9eabf9deb67467f31d4fa85245120b50fff"


/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package system-mingw is already installed (current version is 1).
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-env-mingw64 is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package mingw-w64-shims is already installed (current version is 0.2.0).
[NOTE] Package host-system-mingw is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package flexdll is already installed (current version is 0.44).
[NOTE] Package conf-mingw-w64-gcc-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
[NOTE] Package arch-x86_64 is already installed (current version is 1).
The following actions will be performed:
=== recompile 1 package
- recompile mingw-w64-shims         0.2.0
=== install 39 packages
- install   astring                 0.8.5
- install   bos                     0.2.1
- install   cmdliner                1.3.0
- install   conf-mingw-w64-gcc-i686 1
- install   csexp                   1.5.2
- install   dune                    3.19.1
- install   dyn                     3.19.1
- install   fmt                     0.10.0
- install   fpath                   0.7.3
- install   jsonm                   1.0.2
- install   logs                    0.8.0
- install   menhir                  20240715
- install   menhirCST               20240715
- install   menhirLib               20240715
- install   menhirSdk               20240715
- install   num                     1.6
- install   ocamlbuild              0.16.1
- install   ocamlfind               1.9.8
- install   ocamlgraph              2.2.0
- install   opam-core               2.3.0
- install   opam-file-format        2.2.0
- install   opam-format             2.3.0
- install   opam-repository         2.3.0
- install   opam-state              2.3.0
- install   ordering                3.19.1
- install   parsexp                 v0.16.0
- install   pp                      2.0.0
- install   re                      1.13.2
- install   rresult                 0.7.0
- install   seq                     base
- install   sexplib                 v0.16.0
- install   sexplib0                v0.16.0
- install   sha                     1.15.4
- install   spdx_licenses           1.4.0
- install   stdlib-shims            0.3.0
- install   stdune                  3.19.1
- install   swhid_core              0.1
- install   topkg                   1.0.8
- install   uutf                    1.0.4


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved fmt.0.10.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved jsonm.1.0.2  (cached)
-> installed conf-mingw-w64-gcc-i686.1
-> retrieved logs.0.8.0  (cached)
-> retrieved mingw-w64-shims.0.2.0  (cached)
-> removed   mingw-w64-shims.0.2.0
-> installed mingw-w64-shims.0.2.0
-> retrieved num.1.6  (https://github.com/ocaml/num/archive/refs/tags/v1.6.tar.gz)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlgraph.2.2.0  (cached)
-> retrieved opam-core.2.3.0, opam-format.2.3.0, opam-repository.2.3.0, opam-state.2.3.0  (cached)
-> retrieved dune.3.19.1, dyn.3.19.1, ordering.3.19.1, stdune.3.19.1  (https://github.com/ocaml/dune/releases/download/3.19.1/dune-3.19.1.tbz)
-> retrieved parsexp.v0.16.0  (cached)
-> retrieved opam-file-format.2.2.0  (https://github.com/ocaml/opam-file-format/releases/download/2.2.0/opam-file-format-2.2.0.tar.gz)
-> retrieved pp.2.0.0  (cached)
-> retrieved seq.base  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved sexplib.v0.16.0  (cached)
-> retrieved re.1.13.2  (https://github.com/ocaml/ocaml-re/archive/refs/tags/1.13.2.tar.gz)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved sha.1.15.4  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved swhid_core.0.1  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved spdx_licenses.1.4.0  (https://github.com/kit-ty-kate/spdx_licenses/releases/download/v1.4.0/spdx_licenses-1.4.0.tar.gz)
-> installed cmdliner.1.3.0
-> installed num.1.6
-> installed seq.base
[WARNING] .install file is missing .exe extension for src/findlib/ocamlfind
[WARNING] .install file is missing .exe extension for src/findlib/ocamlfind_opt
[WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\4.14.2\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind.exe
[WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\4.14.2\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind_opt.exe
[WARNING] C:\Users\opam\AppData\Local\opam\4.14.2\bin\safe_camlp4 is a script; the command won't be available
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.0.8
-> installed rresult.0.7.0
-> installed uutf.1.0.4
-> installed astring.0.8.5
-> installed fmt.0.10.0
-> installed jsonm.1.0.2
-> installed fpath.0.7.3
-> installed logs.0.8.0
-> installed bos.0.2.1
-> installed dune.3.19.1
-> installed csexp.1.5.2
-> installed menhirCST.20240715
-> installed menhirLib.20240715
-> installed menhirSdk.20240715
-> installed ocamlgraph.2.2.0
-> installed pp.2.0.0
-> installed sexplib0.v0.16.0
-> installed spdx_licenses.1.4.0
-> installed stdlib-shims.0.3.0
-> installed re.1.13.2
-> installed ordering.3.19.1
-> installed parsexp.v0.16.0
-> installed swhid_core.0.1
-> installed sha.1.15.4
-> installed dyn.3.19.1
-> installed sexplib.v0.16.0
-> installed opam-core.2.3.0
-> installed stdune.3.19.1
-> installed menhir.20240715
-> installed opam-file-format.2.2.0
-> installed opam-format.2.3.0
-> installed opam-repository.2.3.0
-> installed opam-state.2.3.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-04 21:44.04 ---> saved as "bddc0257e49f9b57fecf5a3bdbef01f36ad8362b943e19aab4ce740172ecd9f6"


/: (copy (src .) (dst /Users/opam/src))
2025-07-04 21:44.41 ---> saved as "336bcd0d968b75c9569d7ede73ef552b93a525b6649c3a22b7db238912491465"


/: (run (shell "cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "tests/test_fix_bug_66.t", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/.sandbox/e016a5fd2686d5fa904df5b35f88aff0/default/tests/test_fix_bug_66.t _build/.sandbox/e016a5fd2686d5fa904df5b35f88aff0/default/tests/test_fix_bug_66.t.corrected
diff --git a/_build/.sandbox/e016a5fd2686d5fa904df5b35f88aff0/default/tests/test_fix_bug_66.t b/_build/.sandbox/e016a5fd2686d5fa904df5b35f88aff0/default/tests/test_fix_bug_66.t.corrected
index b99c5e0..0bd4cd3 100644
--- a/_build/.sandbox/e016a5fd2686d5fa904df5b35f88aff0/default/tests/test_fix_bug_66.t
+++ b/_build/.sandbox/e016a5fd2686d5fa904df5b35f88aff0/default/tests/test_fix_bug_66.t.corrected
@@ -14,7 +14,6 @@ wrapping it up as "(__dune_project";`dune_project_file_string`;")" S-expression.


$ touch dune
$ opam-dune-lint
-  empty.opam: changed after its upgrade from 'dune describe opam-files'!
-  empty.opam: OK
-  Warning in empty: The package has a dune-project file but no explicit dependency on dune was found.
+  Error parsing '"dune" "describe" "opam-files" "--format" "csexp"' output:

+  "invalid character '{', expected '(', ')' or '0'..'9'"

[1]
File "tests/test_dune_describe.t", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/.sandbox/9ae06772431375487bef45532f0e1431/default/tests/test_dune_describe.t _build/.sandbox/9ae06772431375487bef45532f0e1431/default/tests/test_dune_describe.t.corrected
diff --git a/_build/.sandbox/9ae06772431375487bef45532f0e1431/default/tests/test_dune_describe.t b/_build/.sandbox/9ae06772431375487bef45532f0e1431/default/tests/test_dune_describe.t.corrected
index b9ac6d5..2a92526 100644
--- a/_build/.sandbox/9ae06772431375487bef45532f0e1431/default/tests/test_dune_describe.t
+++ b/_build/.sandbox/9ae06772431375487bef45532f0e1431/default/tests/test_dune_describe.t.corrected
@@ -83,9 +83,9 @@ Create a simple dune project:
(pos_cnum 184))))))
(entry
((src
-         (In_build_dir default/.lib.objs/byte/lib.cmi))
+         (In_build_dir default/lib.cma))

(kind file)
-        (dst __private__/lib/.public_cmi/lib.cmi)
+        (dst __private__/lib/lib.cma)

(section LIB)
(optional false))))
((source
@@ -101,9 +101,9 @@ Create a simple dune project:
(pos_cnum 184))))))
(entry
((src
-         (In_build_dir default/.lib.objs/byte/lib.cmt))
+         (In_build_dir default/lib.ml))

(kind file)
-        (dst __private__/lib/.public_cmi/lib.cmt)
+        (dst __private__/lib/lib.ml)

(section LIB)
(optional false))))
((source
@@ -119,9 +119,9 @@ Create a simple dune project:
(pos_cnum 184))))))
(entry
((src
-         (In_build_dir default/lib.cma))
+         (In_build_dir default/.lib.objs/byte/lib.cmi))

(kind file)
-        (dst __private__/lib/lib.cma)
+        (dst __private__/lib\.public_cmi/lib.cmi)

(section LIB)
(optional false))))
((source
@@ -137,9 +137,9 @@ Create a simple dune project:
(pos_cnum 184))))))
(entry
((src
-         (In_build_dir default/lib.ml))
+         (In_build_dir default/.lib.objs/byte/lib.cmt))

(kind file)
-        (dst __private__/lib/lib.ml)
+        (dst __private__/lib\.public_cmi/lib.cmt)

(section LIB)
(optional false))))
((source Dune)
@@ -173,7 +173,7 @@ Create a simple dune project:
((src
(In_build_dir default/main.bc))
(kind file)
-        (dst main)
+        (dst main.exe)

(section BIN)
(optional false)))))))
$ dune describe opam-files
File "tests/test_fix_bug_59.t", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/.sandbox/783d76d6d04a8e894912402d426d2a94/default/tests/test_fix_bug_59.t _build/.sandbox/783d76d6d04a8e894912402d426d2a94/default/tests/test_fix_bug_59.t.corrected
diff --git a/_build/.sandbox/783d76d6d04a8e894912402d426d2a94/default/tests/test_fix_bug_59.t b/_build/.sandbox/783d76d6d04a8e894912402d426d2a94/default/tests/test_fix_bug_59.t.corrected
index e48ab91..0078586 100644
--- a/_build/.sandbox/783d76d6d04a8e894912402d426d2a94/default/tests/test_fix_bug_59.t
+++ b/_build/.sandbox/783d76d6d04a8e894912402d426d2a94/default/tests/test_fix_bug_59.t.corrected
@@ -15,7 +15,9 @@ opam-dune-lint does not need the description section.


$ dune build
$ opam-dune-lint -f
-  dummy.opam: OK
+  Error parsing '"dune" "describe" "opam-files" "--format" "csexp"' output:

+  "invalid character 'c', expected '(', ')' or '0'..'9'"

+  [1]



$ cat > dune-project << EOF
> (lang dune 2.7)
@@ -32,7 +34,9 @@ opam-dune-lint does not need the description section.


$ dune build
$ opam-dune-lint -f
-  dummy.opam: OK
+  Error parsing '"dune" "describe" "opam-files" "--format" "csexp"' output:

+  "invalid character 'o', expected '(', ')' or '0'..'9'"

+  [1]



$ cat > dune-project << EOF
> (lang dune 2.7)
@@ -50,4 +54,6 @@ opam-dune-lint does not need the description section.


$ dune build
$ opam-dune-lint -f
-  dummy.opam: OK
+  Error parsing '"dune" "describe" "opam-files" "--format" "csexp"' output:

+  "invalid character 'd', expected '(', ')' or '0'..'9'"

+  [1]

File "tests/test_empty_dune.t", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/.sandbox/7e7c8e3f379d25aa5361fa676feb3942/default/tests/test_empty_dune.t _build/.sandbox/7e7c8e3f379d25aa5361fa676feb3942/default/tests/test_empty_dune.t.corrected
diff --git a/_build/.sandbox/7e7c8e3f379d25aa5361fa676feb3942/default/tests/test_empty_dune.t b/_build/.sandbox/7e7c8e3f379d25aa5361fa676feb3942/default/tests/test_empty_dune.t.corrected
index 727a0c9..4929896 100644
--- a/_build/.sandbox/7e7c8e3f379d25aa5361fa676feb3942/default/tests/test_empty_dune.t
+++ b/_build/.sandbox/7e7c8e3f379d25aa5361fa676feb3942/default/tests/test_empty_dune.t.corrected
@@ -30,32 +30,13 @@ Replace all version numbers with "1.0" to get predictable outut.
Check that all the libraries get added:


$ opam-dune-lint -f
-  test.opam: changes needed:
-    "fmt" {>= "1.0"}                         [from /]
-    "ocamlfind" {>= "1.0"}                   [from /]
-    "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"
+  Error parsing '"dune" "describe" "opam-files" "--format" "csexp"' output:

+  "invalid character ' ', expected '(', ')' or '0'..'9'"

+  [1]



$ 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
-     (>= *))))
+   (synopsis "Test package"))

File "tests/test_fix_bug_68.t", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/.sandbox/6b9dbc37010a44d83c4e3187eb5471d6/default/tests/test_fix_bug_68.t _build/.sandbox/6b9dbc37010a44d83c4e3187eb5471d6/default/tests/test_fix_bug_68.t.corrected
diff --git a/_build/.sandbox/6b9dbc37010a44d83c4e3187eb5471d6/default/tests/test_fix_bug_68.t b/_build/.sandbox/6b9dbc37010a44d83c4e3187eb5471d6/default/tests/test_fix_bug_68.t.corrected
index cce16d7..a2e2b68 100644
--- a/_build/.sandbox/6b9dbc37010a44d83c4e3187eb5471d6/default/tests/test_fix_bug_68.t
+++ b/_build/.sandbox/6b9dbc37010a44d83c4e3187eb5471d6/default/tests/test_fix_bug_68.t.corrected
@@ -45,10 +45,6 @@ Replace all version numbers with "1.0" to get predictable output.
Check that the missing libraries get added:


$ opam-dune-lint -f
-  test.opam: changes needed:
-    "fmt" {>= "1.0"}                         [from /]
-    "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 "./test.opam"
-  Warning in test: The package has a dune-project file but no explicit dependency on dune was found.
+  Error parsing '"dune" "describe" "opam-files" "--format" "csexp"' output:

+  "invalid character 'b', expected '(', ')' or '0'..'9'"

+  [1]

File "tests/test_opam_update.t", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/.sandbox/b54d9d1e8dc38ef5a9714122710c9351/default/tests/test_opam_update.t _build/.sandbox/b54d9d1e8dc38ef5a9714122710c9351/default/tests/test_opam_update.t.corrected
diff --git a/_build/.sandbox/b54d9d1e8dc38ef5a9714122710c9351/default/tests/test_opam_update.t b/_build/.sandbox/b54d9d1e8dc38ef5a9714122710c9351/default/tests/test_opam_update.t.corrected
index 15a9827..f85e323 100644
--- a/_build/.sandbox/b54d9d1e8dc38ef5a9714122710c9351/default/tests/test_opam_update.t
+++ b/_build/.sandbox/b54d9d1e8dc38ef5a9714122710c9351/default/tests/test_opam_update.t.corrected
@@ -55,13 +55,9 @@ Replace all version numbers with "1.0" to get predictable output.
Check that the missing libraries get added:


$ opam-dune-lint -f
-  test.opam: changes needed:
-    "fmt" {>= "1.0"}                         [from /]
-    "ocamlfind" {>= "1.0"}                   [from /]
-    "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"
+  Error parsing '"dune" "describe" "opam-files" "--format" "csexp"' output:

+  "invalid character '\"', expected '(', ')' or '0'..'9'"

+  [1]



$ cat test.opam | sed 's/= [^&)}]*/= */g'
# This file is generated by dune, edit dune-project instead
@@ -69,10 +65,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_opam.t", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/.sandbox/c41b7545a21b35ffb857afe572bd6735/default/tests/test_opam.t _build/.sandbox/c41b7545a21b35ffb857afe572bd6735/default/tests/test_opam.t.corrected
diff --git a/_build/.sandbox/c41b7545a21b35ffb857afe572bd6735/default/tests/test_opam.t b/_build/.sandbox/c41b7545a21b35ffb857afe572bd6735/default/tests/test_opam.t.corrected
index 34d1e3a..f39df15 100644
--- a/_build/.sandbox/c41b7545a21b35ffb857afe572bd6735/default/tests/test_opam.t
+++ b/_build/.sandbox/c41b7545a21b35ffb857afe572bd6735/default/tests/test_opam.t.corrected
@@ -43,12 +43,9 @@ Replace all version numbers with "1.0" to get predictable output.
Check that the missing libraries get added:


$ opam-dune-lint -f
-  test.opam: changes needed:
-    "fmt" {>= "1.0"}                         [from /]
-    "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 "./test.opam"
+  Error parsing '"dune" "describe" "opam-files" "--format" "csexp"' output:

+  "invalid character '\"', expected '(', ')' or '0'..'9'"

+  [1]



$ cat test.opam | sed 's/= [^&)}]*/= */g'
# Preserve comments
@@ -61,7 +58,4 @@ Check that the missing libraries get added:
"ocamlfind" {>= *}
"libfoo"
"dune" {>= *}
-    "fmt" {>= *}
-    "bos" {>= *& with-test}
-    "opam-state" {>= *& with-test}
]
File "tests/test_fix_bug.t", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/.sandbox/dbabc34f98e2ae10689e21f1747cace4/default/tests/test_fix_bug.t _build/.sandbox/dbabc34f98e2ae10689e21f1747cace4/default/tests/test_fix_bug.t.corrected
diff --git a/_build/.sandbox/dbabc34f98e2ae10689e21f1747cace4/default/tests/test_fix_bug.t b/_build/.sandbox/dbabc34f98e2ae10689e21f1747cace4/default/tests/test_fix_bug.t.corrected
index afe0def..343ddd6 100644
--- a/_build/.sandbox/dbabc34f98e2ae10689e21f1747cace4/default/tests/test_fix_bug.t
+++ b/_build/.sandbox/dbabc34f98e2ae10689e21f1747cace4/default/tests/test_fix_bug.t.corrected
@@ -41,12 +41,9 @@ Replace all version numbers with "1.0" to get predictable output.
Check that the missing libraries get added:


$ opam-dune-lint -f
-  test.opam: changes needed:
-    "fmt" {>= "1.0"}                         [from /]
-    "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 "./test.opam"
+  Error parsing '"dune" "describe" "opam-files" "--format" "csexp"' output:

+  "invalid character '\"', expected '(', ')' or '0'..'9'"

+  [1]



$ sed 's/= [^&)}]*/= */g' test.opam
# Preserve comments
@@ -59,7 +56,4 @@ Check that the missing libraries get added:
"ocamlfind" {>= *}
"libfoo"
"dune" {>= *}
-    "fmt" {>= *}
-    "bos" {>= *& with-test}
-    "opam-state" {>= *& with-test}
]
File "tests/test_optional_public_lib.t", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/.sandbox/42a1f720f92efdbd19cb731c416d254b/default/tests/test_optional_public_lib.t _build/.sandbox/42a1f720f92efdbd19cb731c416d254b/default/tests/test_optional_public_lib.t.corrected
diff --git a/_build/.sandbox/42a1f720f92efdbd19cb731c416d254b/default/tests/test_optional_public_lib.t b/_build/.sandbox/42a1f720f92efdbd19cb731c416d254b/default/tests/test_optional_public_lib.t.corrected
index 5628132..1e2430a 100644
--- a/_build/.sandbox/42a1f720f92efdbd19cb731c416d254b/default/tests/test_optional_public_lib.t
+++ b/_build/.sandbox/42a1f720f92efdbd19cb731c416d254b/default/tests/test_optional_public_lib.t.corrected
@@ -58,9 +58,6 @@ Check that the missing findlib for "lib" is detected, but not "optional"'s depen
on "bos":


$ opam-dune-lint </dev/null
-  main.opam: changes needed:
-    "ocamlfind" {>= "1.0"}                   [from lib]
-  optional.opam: OK
-  Note: version numbers are just suggestions based on the currently installed version.
-  Run with -f to apply changes in non-interactive mode.
+  Error parsing '"dune" "describe" "opam-files" "--format" "csexp"' output:

+  "invalid character '\"', expected '(', ')' or '0'..'9'"

[1]
File "tests/test_dune_same_exe_name.t", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/.sandbox/4e346fdc1582b1ce411844759135ea83/default/tests/test_dune_same_exe_name.t _build/.sandbox/4e346fdc1582b1ce411844759135ea83/default/tests/test_dune_same_exe_name.t.corrected
diff --git a/_build/.sandbox/4e346fdc1582b1ce411844759135ea83/default/tests/test_dune_same_exe_name.t b/_build/.sandbox/4e346fdc1582b1ce411844759135ea83/default/tests/test_dune_same_exe_name.t.corrected
index c25c319..bf00bda 100644
--- a/_build/.sandbox/4e346fdc1582b1ce411844759135ea83/default/tests/test_dune_same_exe_name.t
+++ b/_build/.sandbox/4e346fdc1582b1ce411844759135ea83/default/tests/test_dune_same_exe_name.t.corrected
@@ -42,20 +42,13 @@ taking the deps from the private library.
Check that the missing libraries are detected:


$ opam-dune-lint </dev/null
-  test.opam: changes needed:
-    "fmt" {>= "1.0"}                         [from bin]
-    "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.
-  Run with -f to apply changes in non-interactive mode.
+  Error parsing '"dune" "describe" "opam-files" "--format" "csexp"' output:

+  "invalid character 'c', expected '(', ')' or '0'..'9'"

[1]


Check that the missing libraries get added:


$ opam-dune-lint -f
-  test.opam: changes needed:
-    "fmt" {>= "1.0"}                         [from bin]
-    "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"
+  Error parsing '"dune" "describe" "opam-files" "--format" "csexp"' output:

+  "invalid character 'c', expected '(', ')' or '0'..'9'"

+  [1]

File "tests/test_vendoring.t", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/.sandbox/2552c5bf03059b2828e963756e067b45/default/tests/test_vendoring.t _build/.sandbox/2552c5bf03059b2828e963756e067b45/default/tests/test_vendoring.t.corrected
diff --git a/_build/.sandbox/2552c5bf03059b2828e963756e067b45/default/tests/test_vendoring.t b/_build/.sandbox/2552c5bf03059b2828e963756e067b45/default/tests/test_vendoring.t.corrected
index ac3dbd2..46c18d5 100644
--- a/_build/.sandbox/2552c5bf03059b2828e963756e067b45/default/tests/test_vendoring.t
+++ b/_build/.sandbox/2552c5bf03059b2828e963756e067b45/default/tests/test_vendoring.t.corrected
@@ -61,8 +61,6 @@ Check that the missing findlib for "lib" is detected, but not "vendored"'s depen
on "bos":


$ opam-dune-lint </dev/null
-  main.opam: changes needed:
-    "ocamlfind" {>= "1.0"}                   [from lib]
-  Note: version numbers are just suggestions based on the currently installed version.
-  Run with -f to apply changes in non-interactive mode.
+  Error parsing '"dune" "describe" "opam-files" "--format" "csexp"' output:

+  "invalid character '\"', expected '(', ')' or '0'..'9'"

[1]
File "tests/test_dune_copy_install.t", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/.sandbox/072e634107697b19718661afb2560f60/default/tests/test_dune_copy_install.t _build/.sandbox/072e634107697b19718661afb2560f60/default/tests/test_dune_copy_install.t.corrected
diff --git a/_build/.sandbox/072e634107697b19718661afb2560f60/default/tests/test_dune_copy_install.t b/_build/.sandbox/072e634107697b19718661afb2560f60/default/tests/test_dune_copy_install.t.corrected
index edbcebd..b7c6e11 100644
--- a/_build/.sandbox/072e634107697b19718661afb2560f60/default/tests/test_dune_copy_install.t
+++ b/_build/.sandbox/072e634107697b19718661afb2560f60/default/tests/test_dune_copy_install.t.corrected
@@ -48,65 +48,29 @@ Create a simple dune project and use "install" stanza:
Check that the missing libraries are detected:


$ opam-dune-lint </dev/null
-  test.opam: changes needed:
-    "fmt" {>= "1.0"}                         [from /]
-    "bos" {with-test & >= "1.0"}             [from /]
-    "opam-state" {with-test & >= "1.0"}      [from /]
-  zombie.opam: changes needed:
-    "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.
-  Run with -f to apply changes in non-interactive mode.
+  Error parsing '"dune" "describe" "opam-files" "--format" "csexp"' output:

+  "invalid character 'c', expected '(', ')' or '0'..'9'"

[1]


Check that the missing libraries get added:


$ opam-dune-lint -f
-  test.opam: changes needed:
-    "fmt" {>= "1.0"}                         [from /]
-    "bos" {with-test & >= "1.0"}             [from /]
-    "opam-state" {with-test & >= "1.0"}      [from /]
-  zombie.opam: changes needed:
-    "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"
+  Error parsing '"dune" "describe" "opam-files" "--format" "csexp"' output:

+  "invalid character 'c', expected '(', ')' or '0'..'9'"

+  [1]



$ 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
-     (>= *))
+    (ocamlfind (>= *))

libfoo))
-  
(package
(name zombie)
-   (synopsis "Zombie package")
-   (depends
-    (opam-state
-     (and
-      (>= *)
-      :with-test))
-    (bos
-     (and
-      (>= *)
-      :with-test))))
+   (synopsis "Zombie package"))



Check adding and removing of test markers:


@@ -130,49 +94,27 @@ Check adding and removing of test markers:
$ dune build @install


$ opam-dune-lint -f
-  test.opam: changes needed:
-    "fmt"                                    [from /] (remove {with-test})
-    "ocamlfind"                              [from /] (remove {with-test})
-    "bos" {with-test}                        [from /] (missing {with-test} annotation)
-    "opam-state" {with-test}                 [from /] (missing {with-test} annotation)
-  zombie.opam: changes needed:
-    "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"
+  Error parsing '"dune" "describe" "opam-files" "--format" "csexp"' output:

+  "invalid character '@', expected '(', ')' or '0'..'9'"

+  [1]



$ 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
-     (>= *))
+    opam-state

+    (bos (>= *))

+    (fmt :with-test)

+    (ocamlfind (and (>= *) :with-test))

libfoo))
-  
(package
(name zombie)
-   (synopsis "Zombie package")
-   (depends
-    (opam-state
-     (and
-      (>= *)
-      :with-test))
-    (bos
-     (and
-      (>= *)
-      :with-test))))
+   (synopsis "Zombie package"))



$ opam-dune-lint
-  test.opam: OK
-  zombie.opam: OK
+  Error parsing '"dune" "describe" "opam-files" "--format" "csexp"' output:

+  "invalid character '@', expected '(', ')' or '0'..'9'"

+  [1]

File "tests/test_dune.t", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/.sandbox/fd2d492045f445afaee92f56c08750e4/default/tests/test_dune.t _build/.sandbox/fd2d492045f445afaee92f56c08750e4/default/tests/test_dune.t.corrected
diff --git a/_build/.sandbox/fd2d492045f445afaee92f56c08750e4/default/tests/test_dune.t b/_build/.sandbox/fd2d492045f445afaee92f56c08750e4/default/tests/test_dune.t.corrected
index ba4ac70..71fbd9f 100644
--- a/_build/.sandbox/fd2d492045f445afaee92f56c08750e4/default/tests/test_dune.t
+++ b/_build/.sandbox/fd2d492045f445afaee92f56c08750e4/default/tests/test_dune.t.corrected
@@ -31,45 +31,25 @@ Create a simple dune project:
Check that the missing libraries are detected:


$ opam-dune-lint </dev/null
-  test.opam: changes needed:
-    "fmt" {>= "1.0"}                         [from /]
-    "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.
-  Run with -f to apply changes in non-interactive mode.
+  Error parsing '"dune" "describe" "opam-files" "--format" "csexp"' output:

+  "invalid character 'c', expected '(', ')' or '0'..'9'"

[1]


Check that the missing libraries get added:


$ opam-dune-lint -f
-  test.opam: changes needed:
-    "fmt" {>= "1.0"}                         [from /]
-    "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"
+  Error parsing '"dune" "describe" "opam-files" "--format" "csexp"' output:

+  "invalid character 'c', expected '(', ')' or '0'..'9'"

+  [1]



$ 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
-     (>= *))
+    (ocamlfind (>= *))

libfoo))


Check adding and removing of test markers:
@@ -91,31 +71,24 @@ Check adding and removing of test markers:
$ dune build @install


$ opam-dune-lint -f
-  test.opam: changes needed:
-    "fmt"                                    [from /] (remove {with-test})
-    "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"
+  Error parsing '"dune" "describe" "opam-files" "--format" "csexp"' output:

+  "invalid character '@', expected '(', ')' or '0'..'9'"

+  [1]



$ 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
-     (>= *))
+    opam-state

+    (bos (>= *))

+    (fmt :with-test)

+    (ocamlfind (and (>= *) :with-test))

libfoo))


$ opam-dune-lint
-  test.opam: OK
+  Error parsing '"dune" "describe" "opam-files" "--format" "csexp"' output:

+  "invalid character '@', expected '(', ')' or '0'..'9'"

+  [1]

File "tests/test_dune_constraints.t", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/.sandbox/124fd7af739196efcf6a4b7d491c0e34/default/tests/test_dune_constraints.t _build/.sandbox/124fd7af739196efcf6a4b7d491c0e34/default/tests/test_dune_constraints.t.corrected
diff --git a/_build/.sandbox/124fd7af739196efcf6a4b7d491c0e34/default/tests/test_dune_constraints.t b/_build/.sandbox/124fd7af739196efcf6a4b7d491c0e34/default/tests/test_dune_constraints.t.corrected
index c2b05da..22af92e 100644
--- a/_build/.sandbox/124fd7af739196efcf6a4b7d491c0e34/default/tests/test_dune_constraints.t
+++ b/_build/.sandbox/124fd7af739196efcf6a4b7d491c0e34/default/tests/test_dune_constraints.t.corrected
@@ -44,13 +44,9 @@ Replace all version numbers with "1.0" to get predictable output.
Check that the missing libraries get added:


$ opam-dune-lint -f
-  test.opam: changes needed:
-    "fmt" {>= "1.0"}                         [from /]
-    "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 "./test.opam"
-  Warning in test: The package has a dune-project file but no explicit dependency on dune was found.
+  Error parsing '"dune" "describe" "opam-files" "--format" "csexp"' output:

+  "invalid character 'b', expected '(', ')' or '0'..'9'"

+  [1]



$ cat test.opam | sed 's/= [^&)}]*/= */g'
# Preserve comments
@@ -62,9 +58,6 @@ Check that the missing libraries get added:
depends: [
"ocamlfind" {>= *}
"libfoo"
-    "fmt" {>= *}
-    "bos" {>= *& with-test}
-    "opam-state" {>= *& with-test}
]


$ cat > test.opam << EOF
@@ -85,13 +78,9 @@ Check that the missing libraries get added:
Check that the missing libraries get added:


$ opam-dune-lint -f
-  test.opam: changes needed:
-    "fmt" {>= "1.0"}                         [from /]
-    "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 "./test.opam"
-  Warning in test: The package tagged dune as a build dependency. Due to a bug in dune (https://github.com/ocaml/dune/issues/2147) this should never be the case. Please remove the {build} tag from its filter.
+  Error parsing '"dune" "describe" "opam-files" "--format" "csexp"' output:

+  "invalid character 'b', expected '(', ')' or '0'..'9'"

+  [1]



$ cat > test.opam << EOF
> # Preserve comments
@@ -148,18 +137,6 @@ Check that the missing libraries get added:
Check that the missing libraries get added and print all errors before the exit:


$ opam-dune-lint -f
-  test.opam: changes needed:
-    "fmt" {>= "1.0"}                         [from /]
-    "bos" {with-test & >= "1.0"}             [from /]
-    "opam-state" {with-test & >= "1.0"}      [from /]
-  test1.opam: changes needed:
-    "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 "./test.opam"
-  Wrote "./test1.opam"
-  Warning in test: The package tagged dune as a build dependency. Due to a bug in dune (https://github.com/ocaml/dune/issues/2147) this should never be the case. Please remove the {build} tag from its filter.
-  Error in test: Your dune-project file indicates that this package requires at least dune 2.7 but your opam file only requires dune >= 1.0. Please check which requirement is the right one, and fix the other.
-  Warning in test1: The package tagged dune as a build dependency. Due to a bug in dune (https://github.com/ocaml/dune/issues/2147) this should never be the case. Please remove the {build} tag from its filter.
-  Error in test1: Your dune-project file indicates that this package requires at least dune 2.7 but your opam file only requires dune >= 1.0. Please check which requirement is the right one, and fix the other.
+  Error parsing '"dune" "describe" "opam-files" "--format" "csexp"' output:

+  "invalid character 'b', expected '(', ')' or '0'..'9'"

[1]
File "tests/test_dune_stanza_install.t", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/.sandbox/e587e19ef2c3f4014d018d55aa4a322f/default/tests/test_dune_stanza_install.t _build/.sandbox/e587e19ef2c3f4014d018d55aa4a322f/default/tests/test_dune_stanza_install.t.corrected
diff --git a/_build/.sandbox/e587e19ef2c3f4014d018d55aa4a322f/default/tests/test_dune_stanza_install.t b/_build/.sandbox/e587e19ef2c3f4014d018d55aa4a322f/default/tests/test_dune_stanza_install.t.corrected
index 1e2ca25..5bb6eba 100644
--- a/_build/.sandbox/e587e19ef2c3f4014d018d55aa4a322f/default/tests/test_dune_stanza_install.t
+++ b/_build/.sandbox/e587e19ef2c3f4014d018d55aa4a322f/default/tests/test_dune_stanza_install.t.corrected
@@ -34,45 +34,25 @@ Create a simple dune project and use "install" stanza:
Check that the missing libraries are detected:


$ opam-dune-lint </dev/null
-  test.opam: changes needed:
-    "fmt" {>= "1.0"}                         [from /]
-    "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.
-  Run with -f to apply changes in non-interactive mode.
+  Error parsing '"dune" "describe" "opam-files" "--format" "csexp"' output:

+  "invalid character 'c', expected '(', ')' or '0'..'9'"

[1]


Check that the missing libraries get added:


$ opam-dune-lint -f
-  test.opam: changes needed:
-    "fmt" {>= "1.0"}                         [from /]
-    "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"
+  Error parsing '"dune" "describe" "opam-files" "--format" "csexp"' output:

+  "invalid character 'c', expected '(', ')' or '0'..'9'"

+  [1]



$ 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
-     (>= *))
+    (ocamlfind (>= *))

libfoo))


Check adding and removing of test markers:
@@ -94,31 +74,24 @@ Check adding and removing of test markers:
$ dune build @install


$ opam-dune-lint -f
-  test.opam: changes needed:
-    "fmt"                                    [from /] (remove {with-test})
-    "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"
+  Error parsing '"dune" "describe" "opam-files" "--format" "csexp"' output:

+  "invalid character '@', expected '(', ')' or '0'..'9'"

+  [1]



$ 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
-     (>= *))
+    opam-state

+    (bos (>= *))

+    (fmt :with-test)

+    (ocamlfind (and (>= *) :with-test))

libfoo))


$ opam-dune-lint
-  test.opam: OK
+  Error parsing '"dune" "describe" "opam-files" "--format" "csexp"' output:

+  "invalid character '@', expected '(', ')' or '0'..'9'"

+  [1]

File "tests/test_public_lib.t", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/.sandbox/b6d566277cd1cd8ebeb2ccae030f1560/default/tests/test_public_lib.t _build/.sandbox/b6d566277cd1cd8ebeb2ccae030f1560/default/tests/test_public_lib.t.corrected
diff --git a/_build/.sandbox/b6d566277cd1cd8ebeb2ccae030f1560/default/tests/test_public_lib.t b/_build/.sandbox/b6d566277cd1cd8ebeb2ccae030f1560/default/tests/test_public_lib.t.corrected
index 661e56b..4b8fe71 100644
--- a/_build/.sandbox/b6d566277cd1cd8ebeb2ccae030f1560/default/tests/test_public_lib.t
+++ b/_build/.sandbox/b6d566277cd1cd8ebeb2ccae030f1560/default/tests/test_public_lib.t.corrected
@@ -42,66 +42,30 @@ Create a simple dune project and test when a public library as internal dep is n
Check that the missing libraries are detected:


$ opam-dune-lint </dev/null
-  lib.opam: changes needed:
-    "bos" {with-test & >= "1.0"}             [from /]
-    "opam-state" {with-test & >= "1.0"}      [from /]
-  test.opam: changes needed:
-    "fmt" {>= "1.0"}                         [from /]
-    "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.
-  Run with -f to apply changes in non-interactive mode.
+  Error parsing '"dune" "describe" "opam-files" "--format" "csexp"' output:

+  "invalid character '\"', expected '(', ')' or '0'..'9'"

[1]


Check that the missing libraries get added:


$ opam-dune-lint -f
-  lib.opam: changes needed:
-    "bos" {with-test & >= "1.0"}             [from /]
-    "opam-state" {with-test & >= "1.0"}      [from /]
-  test.opam: changes needed:
-    "fmt" {>= "1.0"}                         [from /]
-    "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"
+  Error parsing '"dune" "describe" "opam-files" "--format" "csexp"' output:

+  "invalid character '\"', expected '(', ')' or '0'..'9'"

+  [1]



$ 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
-     (>= *))
+    (ocamlfind (>= *))

libfoo))
-  
(package
(name lib)
(synopsis "Lib package")
-   (depends
-    (opam-state
-     (and
-      (>= *)
-      :with-test))
-    (bos
-     (and
-      (>= *)
-      :with-test))
-    sexplib))
+   (depends sexplib))



Check adding and removing of test markers:


@@ -126,50 +90,28 @@ Check adding and removing of test markers:
$ dune build @install


$ opam-dune-lint -f
-  lib.opam: changes needed:
-    "bos" {with-test & >= "1.0"}             [from /]
-    "opam-state" {with-test & >= "1.0"}      [from /]
-  test.opam: changes needed:
-    "fmt"                                    [from /] (remove {with-test})
-    "ocamlfind"                              [from /] (remove {with-test})
-    "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"
+  Error parsing '"dune" "describe" "opam-files" "--format" "csexp"' output:

+  "invalid character '\"', expected '(', ')' or '0'..'9'"

+  [1]



$ 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
-     (>= *))
+    opam-state

+    (bos (>= *))

+    (fmt :with-test)

+    (ocamlfind (and (>= *) :with-test))

libfoo))
-  
(package
(name lib)
(synopsis "Lib package")
-   (depends
-    (opam-state
-     (and
-      (>= *)
-      :with-test))
-    (bos
-     (and
-      (>= *)
-      :with-test))
-    sexplib))
+   (depends sexplib))



$ opam-dune-lint
-  lib.opam: OK
-  test.opam: OK
+  Error parsing '"dune" "describe" "opam-files" "--format" "csexp"' output:

+  "invalid character '\"', expected '(', ')' or '0'..'9'"

+  [1]

"cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-07-04 21:45.41: Job failed: Failed: Build failed