Open
Description
This has got to be a recent regression, now showing up with the installer
smoke tests (the DMD nightlies were broken since March 6th...): https://github.com/dlang/installer/actions/runs/15116939053/job/42490961516?pr=719#step:4:95
$ /d/a/installer/installer/installer/test/release/generated/dmd2/windows/bin/dub.exe run -n --arch=x86_64 --single -v /d/a/installer/installer/installer/test/release/dub_example.d
No valid package found in current working directory: No package file found in D:\a\installer\installer\, expected one of dub.json/dub.sdl/package.json
Generating using build
Configuring dependent dub_example, deps:
Starting Performing "debug" build using D:\a\installer\installer\installer\test\release\generated\dmd2\windows\bin\dmd.exe for x86_64.
Target 'C:\Users\runneradmin\AppData\Local\dub\cache\dub_example\~master\build\application-debug-105u1Pv9zPRBQp0jEUFdJQ\dub_example.exe' doesn't exist, need rebuild.
Building dub_example ~master: building configuration [application]
[cwd=D:\a\installer\installer] D:\a\installer\installer\installer\test\release\generated\dmd2\windows\bin\dmd.exe -debug -g -w -version=Have_dub_example installer/test/release/dub_example.d installer\test\release\dub_example.d -m64 -c -ofC:\Users\runneradmin\AppData\Local\dub\cache\dub_example\~master\build\application-debug-105u1Pv9zPRBQp0jEUFdJQ\dub_example.obj -vcolumns
installer\test\release\dub_example.d: Error: module `dub_example` from file installer\test\release\dub_example.d is specified twice on the command line
Note the installer/test/release/dub_example.d installer\test\release\dub_example.d
.