swiftlang / swift-package-manager

The Package Manager for the Swift Programming Language
Apache License 2.0
9.71k stars 1.33k forks source link

[SR-14616] swift package manager sometimes shows "Build completed" at the start of the build #4421

Open swift-ci opened 3 years ago

swift-ci commented 3 years ago
Previous ID SR-14616
Radar rdar://problem/77853090
Original Reporter cukier (JIRA User)
Type Bug
Additional Detail from JIRA | | | |------------------|-----------------| |Votes | 0 | |Component/s | Package Manager | |Labels | Bug | |Assignee | None | |Priority | Medium | md5: 98589872521984f000abd56460579b15

Issue Description:

When running `swift build -Xcxx -I/home/cukier/Desktop/swift-5.4-RELEASE-ubuntu20.04/usr/lib/swift -Xcxx -I/home/cukier/Desktop/swift-5.4-RELEASE-ubuntu20.04/usr/lib/swift/Block` sometimes I'm getting "* Build Completed![](" shown for a split second, even though the build isn't completed yet, and it's just starting) When I redirect stdout to a file, it looks like this:

[1/1] Planning build
[1/1] Planning build

* Build Completed!
[1/632] Wrapping AST for tibs for debugging
[2/632] Compiling llvmSupport raw_ostream.cpp
[3/632] Compiling llvmSupport circular_raw_ostream.cpp
[4/632] Compiling llvmSupport YAMLParser.cpp
[5/632] Compiling llvmSupport Valgrind.cpp
[6/632] Compiling llvmSupport UnicodeCaseFold.cpp
[7/632] Compiling llvmSupport Unicode.cpp
...
typesanitizer commented 3 years ago

Based on https://bugs.swift.org/browse/SR-14615 , this seems to be happening when building sourcekit-lsp.

@swift-ci create