-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
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 package
etc.
Description
Eversince we had issues upgrading to Swift 6.1 (we still can't use 6.1) we run scheduled nightly tests so we can catch compile issues ahead of Swift minor releases.
The project has recently stopped compiling on 6.2 with these errors:
2025-08-26T08:36:50.2378012Z /usr/bin/ld.gold: error: /__w/my-proj/my-proj/.build/prebuilts/swift-syntax/600.0.1/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-08-21-a-MacroSupport-ubuntu_noble_x86_64/lib/libMacroSupport.a(DeclSyntaxParseable.swift.o): multiple definition of '$s11SwiftSyntax013TypeAliasDeclB0V0aB7Builder0eB9ParseableADMc'
2025-08-26T08:36:50.2379173Z /usr/bin/ld.gold: /__w/my-proj/my-proj/.build/x86_64-unknown-linux-gnu/debug/SwiftSyntaxBuilder-tool.build/DeclSyntaxParseable.swift.o: previous definition here
2025-08-26T08:36:50.2380425Z /usr/bin/ld.gold: error: /__w/my-proj/my-proj/.build/prebuilts/swift-syntax/600.0.1/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-08-21-a-MacroSupport-ubuntu_noble_x86_64/lib/libMacroSupport.a(DeclSyntaxParseable.swift.o): multiple definition of '$s18SwiftSyntaxBuilder04DeclB9ParseableTL'
2025-08-26T08:36:50.2381537Z /usr/bin/ld.gold: /__w/my-proj/my-proj/.build/x86_64-unknown-linux-gnu/debug/SwiftSyntaxBuilder-tool.build/DeclSyntaxParseable.swift.o: previous definition here
Expected behavior
No errors.
Actual behavior
Errors.
Steps to reproduce
Private project. I can share the full verbose logs privately.
Swift Package Manager version/commit hash
Not sure of the exact hash
Swift & OS version (output of swift --version ; uname -a
)
Latest official nightly Docker images for Swift 6.2.