Skip to content
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

Toolchain build output regression: this repo no longer dumps much build info as part of the Swift toolchain build #8281

Open
finagolfin opened this issue Feb 6, 2025 · 6 comments · May be fixed by #8285
Assignees
Labels
bootstrap Bootstrapping script & swift-bootstrap continuous integration/deployment Changes to the Continuous Integration/Deployment system/pipelines

Comments

@finagolfin
Copy link
Member

A recent pull turned on some logging info in the Python Utilities/bootstrap script, #8161, but unfortunately that had other consequences:

  1. This build would normally pass through a bunch of SwiftPM build status info, which is no longer shown
  2. The -v flag when passed to the bootstrap script no longer does much

I had noticed 1. for awhile, but 2. particularly hit me now when passing in -v manually to try and debug an Android build failure I'm seeing. I ended up reverting the changes from that pull to the bootstrap script locally to get the proper verbose build output again.

@bkhouri, you made that logging change, do you happen to know how to fix this too?

@finagolfin finagolfin added bootstrap Bootstrapping script & swift-bootstrap continuous integration/deployment Changes to the Continuous Integration/Deployment system/pipelines labels Feb 6, 2025
@bkhouri
Copy link
Contributor

bkhouri commented Feb 7, 2025

  1. This build would normally pass through a bunch of SwiftPM build status info, which is no longer shown

So when the bootstrap invokes a subprocess, e.g. cmake or swift build, are you suggesting the output of the subprocess command is not seen? If so, then I don't know what is happening as #8161 only changed when the print call gets calls to a logging module. It would be helpful if you can provide a pipeline where the build status info is not shown, or if you have a simplified reproducible case

  1. The -v flag when passed to the bootstrap script no longer does much

Prior to #8161, the flag only emitted additional messages when set. This behaviour has been preserved when the conversion from print to logging. The -v or --verbose flag will also all logging.debug(...) call. Otherwise, they are omitted.

I applied the following patch

diff --git a/Utilities/bootstrap b/Utilities/bootstrap
index bc73dfca8..98cb777ca 100755
--- a/Utilities/bootstrap
+++ b/Utilities/bootstrap
@@ -88,6 +88,13 @@ def main():
     args = parser.parse_args()
     # update the root logger level based on the verbose flag
     logging.getLogger().setLevel(logging.DEBUG if args.verbose else logging.INFO)
+    logging.warning("warning log")
+    logging.info("info log")
+    logging.debug("debug log")
+    logging.critical("critical log")
+
+    print("print: Purposely exiting...")
+    sys.exit(1)
     args.func = args.func or build
     args.func(args)

and ran without --verbose

❯ ./Utilities/bootstrap  clean          
--- bootstrap | 2025-02-06 19:58:13,125 | INFO    | MainThread | bootstrap | <module> | Line:889 | start
--- bootstrap | 2025-02-06 19:58:13,126 | INFO    | MainThread | bootstrap | main | Line:87 | sys.argv: ['./Utilities/bootstrap', 'clean']
--- bootstrap | 2025-02-06 19:58:13,126 | WARNING | MainThread | bootstrap | main | Line:91 | warning log
--- bootstrap | 2025-02-06 19:58:13,126 | INFO    | MainThread | bootstrap | main | Line:92 | info log
--- bootstrap | 2025-02-06 19:58:13,126 | CRITICAL | MainThread | bootstrap | main | Line:94 | critical log
print: Purposely exiting...

with --verbose

❯ ./Utilities/bootstrap  clean --verbose
--- bootstrap | 2025-02-06 19:58:08,267 | INFO    | MainThread | bootstrap | <module> | Line:889 | start
--- bootstrap | 2025-02-06 19:58:08,268 | INFO    | MainThread | bootstrap | main | Line:87 | sys.argv: ['./Utilities/bootstrap', 'clean', '--verbose']
--- bootstrap | 2025-02-06 19:58:08,268 | WARNING | MainThread | bootstrap | main | Line:91 | warning log
--- bootstrap | 2025-02-06 19:58:08,268 | INFO    | MainThread | bootstrap | main | Line:92 | info log
--- bootstrap | 2025-02-06 19:58:08,268 | DEBUG   | MainThread | bootstrap | main | Line:93 | debug log
--- bootstrap | 2025-02-06 19:58:08,268 | CRITICAL | MainThread | bootstrap | main | Line:94 | critical log
print: Purposely exiting...

Notice that with --verbose, we see the DEBUG entry.

@finagolfin
Copy link
Member Author

So when the bootstrap invokes a subprocess, e.g. cmake or swift build, are you suggesting the output of the subprocess command is not seen? If so, then I don't know what is happening as #8161 only changed when the print call gets calls to a logging module.

Yes, unfortunately, your change did more than just add some logging, it also got the bootstrap script to stop putting out the normal build output from the SwiftPM subprocess, though it does still have the ninja build output from the first half of the bootstrap:

/home/build-user/swiftpm/Sources/PackageModel/BuildConfiguration.swift:14:13: note: 'BuildConfiguration' declares conformance to protocol 'CaseIterable' here
12 | 
13 | /// The configuration of the build environment.
14 | public enum BuildConfiguration: String, CaseIterable, Encodable, Sendable {
   |             `- note: 'BuildConfiguration' declares conformance to protocol 'CaseIterable' here
15 |     case debug
16 |     case release
--- bootstrap | 2025-02-06 17:14:10,453 | INFO    | MainThread | bootstrap | build_swiftpm_with_swiftpm | Line:683 | Building SwiftPM (with a freshly built swift-bootstrap)
--- bootstrap | 2025-02-06 17:14:10,453 | INFO    | MainThread | bootstrap | call_swiftpm | Line:722 | function args: Namespace(ar_path='/usr/bin/ar', bin_dir='/home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/release', bootstrap=True, bootstrap_dir='/home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/bootstrap', build_dir='/home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64', build_dirs={'llbuild': '/home/build-user/build/buildbot_incremental/llbuild-linux-x86_64', 'swift-system': '/home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/swift-system', 'tsc': '/home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/tsc', 'swift-argument-parser': '/home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/swift-argument-parser', 'swift-driver': '/home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/swift-driver', 'swift-collections': '/home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/swift-collections', 'swift-crypto': '/home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/swift-crypto', 'swift-asn1': '/home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/swift-asn1', 'swift-certificates': '/home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/swift-certificates'}, clang_path='/home/build-user/build/buildbot_incremental/toolchain-linux-x86_64/usr/bin/clang', clangxx_path='/opt/swift/5.8.1/usr/bin/clang++', cmake_path='/home/build-user/build/cmake-linux-x86_64/bin/cmake', command='build', conf='release', cross_compile_config=None, cross_compile_hosts=[], dispatch_build_dir='/home/build-user/build/buildbot_incremental/libdispatch-linux-x86_64', foundation_build_dir=None, func=<function build at 0x7f9b8ee0d670>, install_prefixes=['/tmp/swiftpm'], libswiftpm_install_dir=None, libswiftpmdatamodel_install_dir=None, llbuild_build_dir='/home/build-user/build/buildbot_incremental/llbuild-linux-x86_64', llbuild_link_framework=False, ninja_path='/home/build-user/build/buildbot_incremental/ninja-build/ninja', project_root='/home/build-user/swiftpm', ranlib_path='/usr/bin/ranlib', reconfigure=True, release=True, skip_cmake_bootstrap=False, source_dirs={'tsc': '/home/build-user/swiftpm/../swift-tools-support-core', 'swift-argument-parser': '/home/build-user/swiftpm/../swift-argument-parser', 'swift-crypto': '/home/build-user/swiftpm/../swift-crypto', 'swift-driver': '/home/build-user/swiftpm/../swift-driver', 'swift-system': '/home/build-user/swiftpm/../swift-system', 'swift-collections': '/home/build-user/swiftpm/../swift-collections', 'swift-certificates': '/home/build-user/swiftpm/../swift-certificates', 'swift-asn1': '/home/build-user/swiftpm/../swift-asn1', 'swift-syntax': '/home/build-user/swiftpm/../swift-syntax'}, source_root='/home/build-user/swiftpm/Sources', swift_build_path=None, swiftc_path='/home/build-user/build/buildbot_incremental/toolchain-linux-x86_64/usr/bin/swiftc', sysroot=None, target_dir='/home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu', target_info={'compilerVersion': 'Apple Swift version 6.2-dev (LLVM 5805166b4c9eb06, Swift e17556a54927001)', 'target': {'triple': 'x86_64-unknown-linux-gnu', 'unversionedTriple': 'x86_64-unknown-linux-gnu', 'moduleTriple': 'x86_64-unknown-linux-gnu', 'platform': 'linux', 'arch': 'x86_64', 'compatibilityLibraries': [], 'librariesRequireRPath': False}, 'paths': {'runtimeLibraryPaths': ['/home/build-user/build/buildbot_incremental/toolchain-linux-x86_64/usr/lib/swift/linux'], 'runtimeLibraryImportPaths': ['/home/build-user/build/buildbot_incremental/toolchain-linux-x86_64/usr/lib/swift/linux', '/home/build-user/build/buildbot_incremental/toolchain-linux-x86_64/usr/lib/swift/linux/x86_64'], 'runtimeResourcePath': '/home/build-user/build/buildbot_incremental/toolchain-linux-x86_64/usr/lib/swift'}}, verbose=False), cmd: ['SWIFTPM_CUSTOM_LIBS_DIR=/home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/bootstrap/pm', '/home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/bootstrap/bin/swift-bootstrap'], cwd: None
--- bootstrap | 2025-02-06 17:14:10,527 | INFO    | MainThread | helpers | call_output | Line:50 | env SWIFTCI_USE_LOCAL_DEPS=1 SWIFTPM_MACOS_DEPLOYMENT_TARGET=12.0 LD_LIBRARY_PATH=/home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/bootstrap/lib:/home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/tsc/lib:/home/build-user/build/buildbot_incremental/llbuild-linux-x86_64/lib:/home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/swift-argument-parser/lib:/home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/swift-crypto/lib:/home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/swift-driver/lib:/home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/swift-system/lib:/home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/swift-collections/lib:/home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/swift-asn1/lib:/home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/swift-certificates/lib:/home/build-user/build/buildbot_incremental/toolchain-linux-x86_64/usr/lib/swift/linux SWIFT_EXEC=/home/build-user/build/buildbot_incremental/toolchain-linux-x86_64/usr/bin/swiftc SWIFT_DRIVER_SWIFT_EXEC=/home/build-user/build/buildbot_incremental/toolchain-linux-x86_64/usr/bin/swiftc CC=/home/build-user/build/buildbot_incremental/toolchain-linux-x86_64/usr/bin/clang SWIFTPM_CUSTOM_LIBS_DIR=/home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/bootstrap/pm /home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/bootstrap/bin/swift-bootstrap --build-path /home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64 --configuration release -Xswiftc -module-cache-path -Xswiftc /home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/module-cache -Xbuild-tools-swiftc -module-cache-path -Xbuild-tools-swiftc /home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/module-cache
--- bootstrap | 2025-02-06 17:26:29,549 | INFO    | MainThread | bootstrap | <module> | Line:884 | end
--- Running tests for swiftpm ---

It would be helpful if you can provide a pipeline where the build status info is not shown, or if you have a simplified reproducible case

Sure, compare that minimal build output from building SwiftPM in the bootstrap script in a smoke test to this self-hosted run of that same pull, that calls SwiftPM directly without the bootstrap script. All that SwiftPM build info used to be in the smoke test runs before.

Prior to #8161, the flag only emitted additional messages when set. This behaviour has been preserved when the conversion from print to logging.

No, the bootstrap script has also always passed the --verbose flag to SwiftPM, which would then also dump out all the swiftc and other commands it was invoking. This is no longer possible now that the bootstrap script is swallowing up all such SwiftPM-produced build output, whether verbose or not.

Notice that with --verbose, we see the DEBUG entry.

Yes, I saw that you add some extra debug logging calls, and that that works fine. I'm not talking about that.

I'm talking about swallowing up SwiftPM build output after your logging changes. If you doubt anything I'm saying, try it for yourself: revert the bootstrap changes alone from #8161 and bootstrap SwiftPM. You will see much more build output, as I linked above and reproduced locally before filing this issue.

I don't much care about 1. in my OP, but your pull breaking 2., ie -v passed to the bootstrap script now doing nothing, is a regression for those working on SwiftPM.

@bkhouri bkhouri self-assigned this Feb 7, 2025
@bkhouri
Copy link
Contributor

bkhouri commented Feb 7, 2025

Maybe I was not clear, but I don't doubt an issue exists :). I was just trying to get clarity as to what has changed.

I understand this is an issue, and it needs to be rectified, but I don't understand how the original PR (#8161) could impact this as it does not make any changes to the actual subprocess.check_output(...) or subprocess.check_call(...). Though, there are changes to handling a subprocess error (see here and here).

Maybe that is the cause of the missing output, but that would not explain why the swifts commands are not streamed.

Looking at #8161, I do see some instances where the subprocess call were "modified"

I'll try to have a look asap.

@finagolfin
Copy link
Member Author

Thanks, I try to avoid Python so I was hoping you'd have a better idea. If you cannot find what changed to cause this, maybe someone else will chime in.

bkhouri added a commit to bkhouri/swift-package-manager that referenced this issue Feb 7, 2025
The `Utilities/bootstrap` script is no longer emitting Swift PM build
status information.

This change reverted the swiftlang#8161 and then converted the print calls to use
python's logging module.

Fixes swiftlang#8281
@bkhouri bkhouri linked a pull request Feb 7, 2025 that will close this issue
@bkhouri
Copy link
Contributor

bkhouri commented Feb 7, 2025

@finagolfin : Could you please give #8285 a try to see if it provides additional output - my testing revealed it did, but it would be great getting confirmation.

@finagolfin
Copy link
Member Author

Nothing for me to try, the linux CI shows you what it outputs now:

[16/16][100%][23.670s] Linking Swift executable bin/swift-bootstrap
/home/build-user/swiftpm/Sources/swift-bootstrap/main.swift:485:25: warning: 'retroactive' attribute does not apply; 'AbsolutePath' is declared in the same package; this is an error in the Swift 6 language mode
483 | extension BuildConfiguration: ExpressibleByArgument, CaseIterable {}
484 | #else
485 | extension AbsolutePath: @retroactive ExpressibleByArgument {}
    |                         `- warning: 'retroactive' attribute does not apply; 'AbsolutePath' is declared in the same package; this is an error in the Swift 6 language mode
486 | extension BuildConfiguration: @retroactive ExpressibleByArgument, CaseIterable {}
487 | #endif

/home/build-user/swiftpm/Sources/swift-bootstrap/main.swift:486:31: warning: 'retroactive' attribute does not apply; 'BuildConfiguration' is declared in the same package; this is an error in the Swift 6 language mode
484 | #else
485 | extension AbsolutePath: @retroactive ExpressibleByArgument {}
486 | extension BuildConfiguration: @retroactive ExpressibleByArgument, CaseIterable {}
    |                               `- warning: 'retroactive' attribute does not apply; 'BuildConfiguration' is declared in the same package; this is an error in the Swift 6 language mode
487 | #endif
488 | 

/home/build-user/swiftpm/Sources/swift-bootstrap/main.swift:486:67: warning: conformance of 'BuildConfiguration' to protocol 'CaseIterable' was already stated in the type's module 'PackageModel'
484 | #else
485 | extension AbsolutePath: @retroactive ExpressibleByArgument {}
486 | extension BuildConfiguration: @retroactive ExpressibleByArgument, CaseIterable {}
    |                                                                   `- warning: conformance of 'BuildConfiguration' to protocol 'CaseIterable' was already stated in the type's module 'PackageModel'
487 | #endif
488 | 

/home/build-user/swiftpm/Sources/PackageModel/BuildConfiguration.swift:14:13: note: 'BuildConfiguration' declares conformance to protocol 'CaseIterable' here
12 | 
13 | /// The configuration of the build environment.
14 | public enum BuildConfiguration: String, CaseIterable, Encodable, Sendable {
   |             `- note: 'BuildConfiguration' declares conformance to protocol 'CaseIterable' here
15 |     case debug
16 |     case release

/home/build-user/swiftpm/Sources/swift-bootstrap/main.swift:278:17: warning: variable 'buildFlags' was never mutated; consider changing to 'let' constant
276 |             logLevel: Basics.Diagnostic.Severity
277 |         ) throws -> BuildSystem {
278 |             var buildFlags = buildFlags
    |                 `- warning: variable 'buildFlags' was never mutated; consider changing to 'let' constant
279 | 
280 |             let dataPath = scratchDirectory.appending(
/home/build-user/swiftpm/Sources/swift-bootstrap/main.swift:485:25: warning: 'retroactive' attribute does not apply; 'AbsolutePath' is declared in the same package; this is an error in the Swift 6 language mode
483 | extension BuildConfiguration: ExpressibleByArgument, CaseIterable {}
484 | #else
485 | extension AbsolutePath: @retroactive ExpressibleByArgument {}
    |                         `- warning: 'retroactive' attribute does not apply; 'AbsolutePath' is declared in the same package; this is an error in the Swift 6 language mode
486 | extension BuildConfiguration: @retroactive ExpressibleByArgument, CaseIterable {}
487 | #endif

/home/build-user/swiftpm/Sources/swift-bootstrap/main.swift:486:31: warning: 'retroactive' attribute does not apply; 'BuildConfiguration' is declared in the same package; this is an error in the Swift 6 language mode
484 | #else
485 | extension AbsolutePath: @retroactive ExpressibleByArgument {}
486 | extension BuildConfiguration: @retroactive ExpressibleByArgument, CaseIterable {}
    |                               `- warning: 'retroactive' attribute does not apply; 'BuildConfiguration' is declared in the same package; this is an error in the Swift 6 language mode
487 | #endif
488 | 

/home/build-user/swiftpm/Sources/swift-bootstrap/main.swift:486:67: warning: conformance of 'BuildConfiguration' to protocol 'CaseIterable' was already stated in the type's module 'PackageModel'
484 | #else
485 | extension AbsolutePath: @retroactive ExpressibleByArgument {}
486 | extension BuildConfiguration: @retroactive ExpressibleByArgument, CaseIterable {}
    |                                                                   `- warning: conformance of 'BuildConfiguration' to protocol 'CaseIterable' was already stated in the type's module 'PackageModel'
487 | #endif
488 | 

/home/build-user/swiftpm/Sources/PackageModel/BuildConfiguration.swift:14:13: note: 'BuildConfiguration' declares conformance to protocol 'CaseIterable' here
12 | 
13 | /// The configuration of the build environment.
14 | public enum BuildConfiguration: String, CaseIterable, Encodable, Sendable {
   |             `- note: 'BuildConfiguration' declares conformance to protocol 'CaseIterable' here
15 |     case debug
16 |     case release
--- bootstrap | 2025-02-07 20:08:33,627 | INFO    | MainThread | bootstrap | build_swiftpm_with_swiftpm | Line:673 | Building SwiftPM (with a freshly built swift-bootstrap)
--- bootstrap | 2025-02-07 20:08:33,698 | INFO    | MainThread | helpers | call | Line:40 | executing command >>> 'env SWIFTCI_USE_LOCAL_DEPS=1 SWIFTPM_MACOS_DEPLOYMENT_TARGET=12.0 LD_LIBRARY_PATH=/home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/bootstrap/lib:/home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/tsc/lib:/home/build-user/build/buildbot_incremental/llbuild-linux-x86_64/lib:/home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/swift-argument-parser/lib:/home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/swift-crypto/lib:/home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/swift-driver/lib:/home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/swift-system/lib:/home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/swift-collections/lib:/home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/swift-asn1/lib:/home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/swift-certificates/lib:/home/build-user/build/buildbot_incremental/toolchain-linux-x86_64/usr/lib/swift/linux SWIFT_EXEC=/home/build-user/build/buildbot_incremental/toolchain-linux-x86_64/usr/bin/swiftc SWIFT_DRIVER_SWIFT_EXEC=/home/build-user/build/buildbot_incremental/toolchain-linux-x86_64/usr/bin/swiftc CC=/home/build-user/build/buildbot_incremental/toolchain-linux-x86_64/usr/bin/clang SWIFTPM_CUSTOM_LIBS_DIR=/home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/bootstrap/pm /home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/bootstrap/bin/swift-bootstrap --build-path /home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64 --configuration release -Xswiftc -module-cache-path -Xswiftc /home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/module-cache -Xbuild-tools-swiftc -module-cache-path -Xbuild-tools-swiftc /home/build-user/build/buildbot_incremental/swiftpm-linux-x86_64/module-cache'
[warning]: found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /home/build-user/swiftpm/Sources/PackageDescription/PackageDescription.docc

[warning]: found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /home/build-user/swift-certificates/Sources/X509/Docs.docc

[warning]: found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /home/build-user/swift-asn1/Sources/SwiftASN1/Docs.docc

[warning]: found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /home/build-user/swift-collections/Sources/OrderedCollections/OrderedCollections.docc

[warning]: found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /home/build-user/swift-collections/Sources/DequeModule/DequeModule.docc

[warning]: found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /home/build-user/swift-system/Sources/System/CMakeLists.txt

[warning]: found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /home/build-user/swift-driver/Sources/SwiftDriver/SwiftDriver.docc

[warning]: found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /home/build-user/swift-syntax/Sources/SwiftSyntaxBuilder/Documentation.docc

[warning]: found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /home/build-user/swift-syntax/Sources/SwiftParser/SwiftParser.docc

[warning]: found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /home/build-user/swift-syntax/Sources/SwiftBasicFormat/SwiftBasicFormat.docc

[warning]: found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /home/build-user/swift-syntax/Sources/SwiftSyntax/Documentation.docc

[warning]: found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /home/build-user/swift-argument-parser/Sources/ArgumentParser/Documentation.docc

[1/1] Compiling plugin GenerateManual
Building for production...
[1/620] Write sources
[60/620] Compiling tsan_utils tsan_utils.c
[61/620] Compiling ios.c
[62/620] Compiling thread_none.c
[62/620] Compiling llvmSupport Valgrind.cpp
[63/620] Compiling getentropy.c
[63/620] Compiling thread_win.c
[63/620] Compiling passive.c
[67/620] Compiling obj_xref.c
[68/620] Compiling poly_rq_mul.S
[69/620] Compiling thread_pthread.c
[69/620] Compiling trusty.c

That SwiftPM output after the build_swiftpm_with_swiftpm call hasn't been there in CI runs since your logging pull was merged. All I care about is that that build output is preserved: feel free to change your new pull in any way you like, provided that SwiftPM build output returns. 😉

bkhouri added a commit to bkhouri/swift-package-manager that referenced this issue Feb 10, 2025
The `Utilities/bootstrap` script is no longer emitting Swift PM build
status information.

This change reverted the swiftlang#8161 and then converted the print calls to use
python's logging module.

Fixes swiftlang#8281
bkhouri added a commit to bkhouri/swift-package-manager that referenced this issue Feb 11, 2025
The `Utilities/bootstrap` script is no longer emitting Swift PM build
status information.

This change reverted the swiftlang#8161 and then converted the print calls to use
python's logging module.

Fixes swiftlang#8281
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bootstrap Bootstrapping script & swift-bootstrap continuous integration/deployment Changes to the Continuous Integration/Deployment system/pipelines
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants