-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
bugbuild systemChanges to interactions with build systemsChanges to interactions with build systemsswift buildChanges impacting `swift build`Changes impacting `swift build`swiftbuild backendwindows
Description
Is it reproducible with SwiftPM command-line tools: swift build, swift test, swift package etc?
- Confirmed reproduction steps with SwiftPM CLI. The description text must include reproduction steps with either of command-line SwiftPM commands,
swift build,swift test,swift packageetc.
Description
https://github.com/apple/swift-collections-benchmark.git
Windows
The following package does not build using the 'swifbuild' backend but does with 'native'
swift build `--buildsystem=swiftbuild` fails to build package
info: Discovering Swift tasks after 'Compiling test_entry_point.swift'
info: Wrapping Swift module CollectionsBenchmarkTests_test_runner
info: Discovering Swift tasks after 'Wrapping Swift module CollectionsBenchmarkTests_test_runner'
info: Compile CollectionsBenchmarkTests-test-runner (aarch64)
cd S:\\
builtin-Swift-Compilation -- C:\\Users\\jenkins\\AppData\\Local\\Programs\\Swift\\Toolchains\\6.2.1+Asserts\\usr\\bin\\swiftc.exe -module-name CollectionsBenchmarkTests_test_runner -Onone -enforce-exclusivity\=checked @S:\\swift-collections-benchmark\\.build-swiftbuild\\aarch64-unknown-windows-msvc\\Intermediates.noindex\\swift-collections-benchmark.build\\Debug-windows\\CollectionsBenchmarkTests-test-runner.build\\Objects-normal\\aarch64\\CollectionsBenchmarkTests-test-runner.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -Xcc -fmodule-map-file\=S:\\swift-collections-benchmark\\.build-swiftbuild\\checkouts\\swift-system\\Sources\\CSystem\\include\\module.modulemap -v -libc MD -DXcode -sdk C:/Users/jenkins/AppData/Local/Programs/Swift/Platforms/6.2.1/Windows.platform/Developer/SDKs/Windows.sdk/ -libc MD -I C:/Users/jenkins/AppData/Local/Programs/Swift/Platforms/6.2.1/Windows.platform/Developer/Library/XCTest-6.2.1/usr/lib/swift/windows -I C:/Users/jenkins/AppData/Local/Programs/Swift/Platforms/6.2.1/Windows.platform/Developer/Library/XCTest-6.2.1/usr/lib/swift/windows/aarch64 -L C:/Users/jenkins/AppData/Local/Programs/Swift/Platforms/6.2.1/Windows.platform/Developer/Library/XCTest-6.2.1/usr/lib/swift/windows/aarch64 -I C:/Users/jenkins/AppData/Local/Programs/Swift/Platforms/6.2.1/Windows.platform/Developer/Library/Testing-6.2.1/usr/lib/swift/windows -L C:/Users/jenkins/AppData/Local/Programs/Swift/Platforms/6.2.1/Windows.platform/Developer/Library/Testing-6.2.1/usr/lib/swift/windows/aarch64 -use-ld\=lld -g -use-ld\=lld -external-plugin-path C:\\Users\\jenkins\\AppData\\Local\\Programs\\Swift\\Toolchains\\6.2.1+Asserts/usr/lib/swift/host/plugins/testing\#C:\\Users\\jenkins\\AppData\\Local\\Programs\\Swift\\Toolchains\\6.2.1+Asserts/usr/bin/swift-plugin-server -enable-bare-slash-regex -enable-experimental-feature DebugDescriptionMacro -sdk C:\\Users\\jenkins\\AppData\\Local\\Programs\\Swift\\Platforms\\6.2.1\\Windows.platform\\Developer\\SDKs\\Windows.sdk -target aarch64-unknown-windows-msvc -module-cache-path S:\\swift-collections-benchmark\\.build-swiftbuild\\aarch64-unknown-windows-msvc\\ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I S:\\swift-collections-benchmark\\.build-swiftbuild\\aarch64-unknown-windows-msvc\\Products\\Debug-windows -Isystem C:\\Users\\jenkins\\AppData\\Local\\Programs\\Swift\\Platforms\\6.2.1\\Windows.platform\\Developer\\Library\\Testing-6.2.1\\usr\\lib\\swift\\windows\\aarch64 -Isystem C:\\Users\\jenkins\\AppData\\Local\\Programs\\Swift\\Platforms\\6.2.1\\Windows.platform\\Developer\\Library\\XCTest-6.2.1\\usr\\lib\\swift\\windows\\aarch64 -parse-as-library -c -j8 -enable-batch-mode -incremental -output-file-map S:\\swift-collections-benchmark\\.build-swiftbuild\\aarch64-unknown-windows-msvc\\Intermediates.noindex\\swift-collections-benchmark.build\\Debug-windows\\CollectionsBenchmarkTests-test-runner.build\\Objects-normal\\aarch64\\CollectionsBenchmarkTests-test-runner-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path S:\\swift-collections-benchmark\\.build-swiftbuild\\aarch64-unknown-windows-msvc\\Intermediates.noindex\\swift-collections-benchmark.build\\Debug-windows\\CollectionsBenchmarkTests-test-runner.build\\Objects-normal\\aarch64\\Modules\\CollectionsBenchmarkTests_test_runner.swiftmodule -validate-clang-modules-once -clang-build-session-file S:\\swift-collections-benchmark\\.build-swiftbuild\\aarch64-unknown-windows-msvc\\ModuleCache.noindex\\Session.modulevalidation -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend S:\\swift-collections-benchmark\\.build-swiftbuild\\aarch64-unknown-windows-msvc\\Intermediates.noindex\\swift-collections-benchmark.build\\Debug-windows\\CollectionsBenchmarkTests-test-runner.build\\Objects-normal\\aarch64\\CollectionsBenchmarkTests-test-runner_const_extract_protocols.json -Xcc -IS:\\swift-collections-benchmark\\.build-swiftbuild\\checkouts\\swift-system\\Sources\\CSystem\\include -Xcc -IS:\\swift-collections-benchmark\\.build-swiftbuild\\aarch64-unknown-windows-msvc\\Products\\Debug-windows\\include -Xcc -IS:\\swift-collections-benchmark\\.build-swiftbuild\\aarch64-unknown-windows-msvc\\Intermediates.noindex\\swift-collections-benchmark.build\\Debug-windows\\CollectionsBenchmarkTests-test-runner.build\\DerivedSources-normal\\aarch64 -Xcc -IS:\\swift-collections-benchmark\\.build-swiftbuild\\aarch64-unknown-windows-msvc\\Intermediates.noindex\\swift-collections-benchmark.build\\Debug-windows\\CollectionsBenchmarkTests-test-runner.build\\DerivedSources\\aarch64 -Xcc -IS:\\swift-collections-benchmark\\.build-swiftbuild\\aarch64-unknown-windows-msvc\\Intermediates.noindex\\swift-collections-benchmark.build\\Debug-windows\\CollectionsBenchmarkTests-test-runner.build\\DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -working-directory S:\\ -experimental-emit-module-separately -disable-cmo
info: Link CollectionsBenchmarkTests-test-runner.exe (aarch64)
cd S:\\swift-collections-benchmark
C:\\Users\\jenkins\\AppData\\Local\\Programs\\Swift\\Toolchains\\6.2.1+Asserts\\usr\\bin\\swiftc.exe -target aarch64-unknown-windows-msvc -emit-executable -sdk C:\\Users\\jenkins\\AppData\\Local\\Programs\\Swift\\Platforms\\6.2.1\\Windows.platform\\Developer\\SDKs\\Windows.sdk -LS:\\swift-collections-benchmark\\.build-swiftbuild\\aarch64-unknown-windows-msvc\\Intermediates.noindex\\EagerLinkingTBDs\\Debug-windows -LS:\\swift-collections-benchmark\\.build-swiftbuild\\aarch64-unknown-windows-msvc\\Products\\Debug-windows -LC:\\Users\\jenkins\\AppData\\Local\\Programs\\Swift\\Platforms\\6.2.1\\Windows.platform\\Developer\\SDKs\\Windows.sdk\\usr\\lib\\swift\\windows\\aarch64 -LC:UsersjenkinsAppDataLocalProgramsSwiftToolchains6.2.1+Assertsusrlib -LC:\\Users\\jenkins\\AppData\\Local\\Programs\\Swift\\Platforms\\6.2.1\\Windows.platform\\Developer\\Library\\Testing-6.2.1\\usr\\lib\\swift\\windows\\aarch64 -LC:\\Users\\jenkins\\AppData\\Local\\Programs\\Swift\\Platforms\\6.2.1\\Windows.platform\\Developer\\Library\\XCTest-6.2.1\\usr\\lib\\swift\\windows\\aarch64 @S:\\swift-collections-benchmark\\.build-swiftbuild\\aarch64-unknown-windows-msvc\\Intermediates.noindex\\swift-collections-benchmark.build\\Debug-windows\\CollectionsBenchmarkTests-test-runner.build\\Objects-normal\\aarch64\\CollectionsBenchmarkTests-test-runner.LinkFileList -Xlinker /OPT:REF -Xclang-linker -rdynamic -LC:\\Users\\jenkins\\AppData\\Local\\Programs\\Swift\\Toolchains\\6.2.1+Asserts\\usr\\lib\\swift -L/usr/lib/swift -v -Xlinker -debug:dwarf -use-ld\=lld-link S:\\swift-collections-benchmark\\.build-swiftbuild\\aarch64-unknown-windows-msvc\\Products\\Debug-windows\\CollectionsBenchmarkTests.dll -o S:\\swift-collections-benchmark\\.build-swiftbuild\\aarch64-unknown-windows-msvc\\Products\\Debug-windows\\CollectionsBenchmarkTests-test-runner.exe
info: error: FileSystemError(kind: TSCBasic.FileSystemError.Kind.noEntry, path: Optional(<AbsolutePath:"S:\swift-collections-benchmark\.build-swiftbuild\aarch64-unknown-windows-msvc\Intermediates.noindex\swift-collections-benchmark.build\Debug-windows\CollectionsBenchmarkTests-test-runner.build\Objects-normal\aarch64\CollectionsBenchmarkTests-test-runner.LinkFileList">))
Expected behaviour
Builds
Actual behavior
Fails to build
Steps to reproduce
git clone https://github.com/apple/swift-collections-benchmark.git
swift build --build-system=swiftbuild
Swift Package Manager version/commit hash
No response
Swift & OS version (output of swift --version ; uname -a)
No response
Metadata
Metadata
Assignees
Labels
bugbuild systemChanges to interactions with build systemsChanges to interactions with build systemsswift buildChanges impacting `swift build`Changes impacting `swift build`swiftbuild backendwindows