-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"swift build" command duplicates error messages #1387
Comments
Shorter — @hamishknight Please see to the transfer. |
Interesting, we appear to be creating two ❯ ./swiftc -emit-module -enable-batch-mode ~/src/swift-test-arena/swift-test-arena/main.swift -###
/Users/hamish/src/swift-dev/build/Release/swift-macosx-x86_64/bin/swift-frontend -frontend -emit-module -primary-file /Users/hamish/src/swift-test-arena/swift-test-arena/main.swift -target x86_64-apple-macosx13.0 -warn-on-potentially-unavailable-enum-case -enable-objc-interop -color-diagnostics -new-driver-path /Users/hamish/src/swift-dev/build/Release/swift-macosx-x86_64/bin/swift-driver -empty-abi-descriptor -resource-dir /Users/hamish/src/swift-dev/build/Release/swift-macosx-x86_64/lib/swift -module-name main -plugin-path /Users/hamish/src/swift-dev/build/Release/swift-macosx-x86_64/lib/swift/host/plugins -plugin-path /Users/hamish/src/swift-dev/build/Release/swift-macosx-x86_64/local/lib/swift/host/plugins -o /var/folders/3m/l5fbv4dn6wz112cw2nhjq69h0000gn/T/TemporaryDirectory.jKvDlg/main-2.swiftmodule
/Users/hamish/src/swift-dev/build/Release/swift-macosx-x86_64/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/hamish/src/swift-test-arena/swift-test-arena/main.swift -target x86_64-apple-macosx13.0 -warn-on-potentially-unavailable-enum-case -enable-objc-interop -color-diagnostics -new-driver-path /Users/hamish/src/swift-dev/build/Release/swift-macosx-x86_64/bin/swift-driver -empty-abi-descriptor -resource-dir /Users/hamish/src/swift-dev/build/Release/swift-macosx-x86_64/lib/swift -module-name main -plugin-path /Users/hamish/src/swift-dev/build/Release/swift-macosx-x86_64/lib/swift/host/plugins -plugin-path /Users/hamish/src/swift-dev/build/Release/swift-macosx-x86_64/local/lib/swift/host/plugins -emit-module-doc-path main.swiftdoc -emit-module-source-info-path main.swiftsourceinfo -o main.swiftmodule -emit-abi-descriptor-path main.abi.json
Without
|
Hi @artemcm. I'm seeing a similar issue with xcodebuild and an Xcode project. Is this likely the same issue? Should I file a separate GitHub issue? I already filed a TSI and FB report with the logs for reference. |
@cpisciotta could you please post the FB number here? |
@artemcm FB12568959 |
Hey, @artemcm! Just checking in...
|
Hey, @artemcm. Checking in on this again... Is there any progress or update on this issue? It's causing some issues for my team when we use |
Description
swift build
command prints the same error multiple times. Example output:EDIT: In one of my projects (can't share the source) the error has been duplicated 16 times.
Steps to reproduce
mkdir Dupe
cd Dupe
swift package init
echo "let this is error" > Sources/Dupe/Dupe.swift
swift build
Expected behavior
Each error is displayed only once.
The text was updated successfully, but these errors were encountered: