Build Information
Failed to build llbuild, reference 0.5.0 (5cd4df
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 11:48:29 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/swift-llbuild.git
Reference: 0.5.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swiftlang/swift-llbuild
* tag 0.5.0 -> FETCH_HEAD
HEAD is now at 5cd4df5 Merge pull request #731 from bnbarham/add-ninja-c-api
Cloned https://github.com/swiftlang/swift-llbuild.git
Revision (git rev-parse @):
5cd4df550b31301508a77064e3dfaa5c5628780e
SUCCESS checkout https://github.com/swiftlang/swift-llbuild.git at 0.5.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swift-llbuild",
"name": "llbuild",
"url": "https://github.com/swiftlang/swift-llbuild.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-llbuild",
"dependencies": [
]
}
]
}
Fetching https://github.com/swiftlang/swift-llbuild.git
[1/28305] Fetching swift-llbuild
Fetched https://github.com/swiftlang/swift-llbuild.git from cache (2.92s)
Creating working copy for https://github.com/swiftlang/swift-llbuild.git
Working copy of https://github.com/swiftlang/swift-llbuild.git resolved at 0.5.0 (5cd4df5)
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/swiftlang/swift-llbuild.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/154] Compiling libllbuild C-API.cpp
[1/154] Compiling llbuild main.cpp
[2/154] Compiling llbuildBasic ExecutionQueue.cpp
[3/154] Write swift-build-tool-entitlement.plist
[4/154] Compiling libllbuild BuildKey-C-API.cpp
[5/154] Compiling libllbuild Core-C-API.cpp
[6/154] Compiling libllbuild BuildValue-C-API.cpp
[7/154] Compiling llvmSupport Valgrind.cpp
[8/154] Compiling libllbuild Ninja-C-API.cpp
[9/154] Compiling llvmSupport UnicodeCaseFold.cpp
[10/154] Compiling libllbuild BuildDB-C-API.cpp
[11/154] Write swift-version--7754E27361AE5C74.txt
[12/154] Compiling libllbuild BuildSystem-C-API.cpp
[13/154] Compiling llvmSupport circular_raw_ostream.cpp
[14/154] Compiling llvmSupport Unicode.cpp
[15/154] Compiling llvmSupport Twine.cpp
[16/154] Compiling llvmSupport Threading.cpp
[17/154] Compiling llvmSupport raw_ostream.cpp
[18/154] Compiling llvmSupport Triple.cpp
[19/154] Compiling swift-build-tool main.cpp
[20/154] Compiling gtestlib gtest-all.cc
[21/154] Compiling llvmSupport TargetParser.cpp
[22/154] Compiling llvmSupport StringSaver.cpp
[23/154] Compiling llvmSupport YAMLParser.cpp
[24/154] Compiling llvmSupport SmallVector.cpp
[25/154] Compiling llvmSupport StringMap.cpp
[26/154] Compiling llvmSupport StringExtras.cpp
[27/154] Compiling llvmSupport StringRef.cpp
[28/154] Compiling llvmSupport SmallPtrSet.cpp
[29/154] Compiling llvmSupport Mutex.cpp
[30/154] Compiling llvmSupport Options.cpp
[31/154] Compiling llvmSupport SourceMgr.cpp
[32/154] Compiling llvmSupport NativeFormatting.cpp
[33/154] Compiling llvmSupport Process.cpp
[34/154] Compiling llvmSupport Signals.cpp
[35/154] Compiling llvmSupport Program.cpp
[36/154] Compiling llvmSupport MathExtras.cpp
[37/154] Compiling llvmSupport Memory.cpp
[38/154] Compiling llvmSupport MemoryBuffer.cpp
[39/154] Compiling llvmSupport Path.cpp
[40/154] Compiling llvmSupport ManagedStatic.cpp
[41/154] Compiling llvmSupport Locale.cpp
[42/154] Compiling llvmSupport MD5.cpp
[43/154] Compiling llvmSupport Hashing.cpp
[44/154] Compiling llvmSupport FormatVariadic.cpp
[45/154] Compiling llvmSupport FoldingSet.cpp
[46/154] Compiling llvmSupport ErrorHandling.cpp
[47/154] Compiling llvmSupport Host.cpp
[48/154] Compiling llvmSupport FileUtilities.cpp
[49/154] Compiling llvmSupport Atomic.cpp
[50/154] Compiling llvmSupport Errno.cpp
[51/154] Compiling llvmSupport Error.cpp
[52/154] Compiling llvmSupport Debug.cpp
[53/154] Compiling llvmSupport DJB.cpp
[54/154] Compiling llvmSupport ConvertUTF.cpp
[54/154] Write sources
[57/154] Compiling llvmSupport ConvertUTFWrapper.cpp
[58/156] Compiling llvmSupport Chrono.cpp
[59/156] Compiling llvmDemangle MicrosoftDemangle.cpp
[60/156] Compiling llvmSupport Allocator.cpp
[61/156] Compiling llvmSupport APSInt.cpp
[61/156] Write llbuildNinjaTests-entitlement.plist
[63/164] Compiling llvmSupport APInt.cpp
[64/164] Compiling llbuildNinjaTests main.cpp
[65/164] Compiling llvmSupport APFloat.cpp
[66/164] Compiling llvmDemangle ItaniumDemangle.cpp
[67/164] Compiling llvmSupport CommandLine.cpp
[68/164] Compiling llbuildNinja Parser.cpp
[69/164] Compiling llbuildNinjaTests LexerTest.cpp
[70/164] Compiling llbuildNinja Lexer.cpp
[71/164] Compiling llbuildNinjaTests ManifestTest.cpp
[72/164] Compiling llbuildNinja Manifest.cpp
[73/164] Compiling llbuildCoreTests main.cpp
[74/164] Compiling llbuildEvo EvoEngine.cpp
[75/164] Write llbuildCoreTests-entitlement.plist
[76/164] Compiling llbuildNinja ManifestLoader.cpp
[77/164] Compiling llbuildCoreTests SQLiteBuildDBTest.cpp
[78/164] Compiling llbuildCoreTests MakefileDepsParserTest.cpp
[79/164] Compiling llbuildCore MakefileDepsParser.cpp
[80/164] Compiling llbuildCoreTests DependencyInfoParserTest.cpp
[81/164] Compiling llbuildCore DependencyInfoParser.cpp
[82/164] Compiling llbuildCore SQLiteBuildDB.cpp
[83/164] Compiling llbuildCoreTests BuildEngineCancellationTest.cpp
[84/164] Compiling llbuildCoreTests DepsBuildEngineTest.cpp
/Users/admin/builder/spi-builder-workspace/lib/Core/BuildEngineTrace.cpp:80:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
80 | sprintf(name, "T%d", ++numNamedTasks);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/_stdio.h:274:1: note: 'sprintf' has been explicitly marked deprecated here
274 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg'
218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
| ^
/Users/admin/builder/spi-builder-workspace/lib/Core/BuildEngineTrace.cpp:99:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
99 | sprintf(name, "R%d", ++numNamedRules);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/_stdio.h:274:1: note: 'sprintf' has been explicitly marked deprecated here
274 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg'
218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
| ^
2 warnings generated.
[85/164] Compiling llbuildCore BuildEngineTrace.cpp
[86/164] Compiling llbuildCore BuildDB.cpp
[87/164] Compiling llbuildCommands CommandLineStatusOutput.cpp
[88/164] Compiling llbuildCommands CommandUtil.cpp
/Users/admin/builder/spi-builder-workspace/lib/Commands/BuildEngineCommand.cpp:109:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
109 | sprintf(inputKey, "ack(%d,%d)", m, n);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/_stdio.h:274:1: note: 'sprintf' has been explicitly marked deprecated here
274 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg'
218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
| ^
1 warning generated.
[89/164] Compiling llbuildCommands BuildEngineCommand.cpp
[90/164] Compiling llbuildCommands NinjaCommand.cpp
[91/164] Compiling llbuildCore BuildEngine.cpp
[92/164] Compiling llbuildBuildSystemTests main.cpp
[93/164] Compiling llbuildCommands BuildSystemCommand.cpp
[94/164] Write llbuildBuildSystemTests-entitlement.plist
[95/164] Compiling llbuildBuildSystemTests TempDir.cpp
[96/164] Compiling llbuildBuildSystemTests MockBuildSystemDelegate.cpp
[97/164] Compiling llbuildCommands NinjaBuildCommand.cpp
[98/164] Compiling llbuildBuildSystemTests BuildValueTest.cpp
[99/164] Compiling llbuildBuildSystem ShellCommand.cpp
[100/164] Compiling llbuildBuildSystem ExternalCommand.cpp
[101/164] Compiling llbuildBuildSystem BuildValue.cpp
[102/164] Compiling llbuildBuildSystemTests BuildSystemFrontendTest.cpp
/Users/admin/builder/spi-builder-workspace/unittests/Core/BuildEngineTest.cpp:558:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
558 | sprintf(name, "input-%d", i);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/_stdio.h:274:1: note: 'sprintf' has been explicitly marked deprecated here
274 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg'
218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
| ^
/Users/admin/builder/spi-builder-workspace/unittests/Core/BuildEngineTest.cpp:561:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
561 | sprintf(inputName, "input-%d", i+1);
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/_stdio.h:274:1: note: 'sprintf' has been explicitly marked deprecated here
274 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
| ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg'
218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
| ^
2 warnings generated.
[103/164] Compiling llbuildCoreTests BuildEngineTest.cpp
[104/164] Compiling llbuildBuildSystemTests BuildSystemTaskTests.cpp
[106/164] Emitting module llbuildTestSupport
[107/164] Compiling llbuildTestSupport XCTestCase+Extensions.swift
/Users/admin/builder/spi-builder-workspace/unittests/TestSupport/XCTestCase+Extensions.swift:28:9: error: 'addTeardownBlock' is only available in macOS 10.15 or newer
9 | import XCTest
10 |
11 | public extension XCTestCase {
| `- note: add @available attribute to enclosing extension
12 | /// Create a temporary file with the given contents and returns the path to the file.
13 | //
14 | // FIXME: Move to a shared location.
15 | func makeTemporaryFile(_ contents: String? = nil) -> String {
| `- note: add @available attribute to enclosing instance method
16 | let directory = NSTemporaryDirectory()
17 | let filename = UUID().uuidString
:
26 | }
27 |
28 | addTeardownBlock {
| |- error: 'addTeardownBlock' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | do {
30 | let fileManager = FileManager.default
[107/164] Compiling llbuildBasicTests main.cpp
[107/164] Compiling llbuildBuildSystem BuildDescription.cpp
[107/164] Compiling llbuildBuildSystem BuildFile.cpp
[107/164] Compiling llbuildBuildSystem BuildKey.cpp
[107/164] Compiling llbuildBuildSystem BuildSystemFrontend.cpp
[107/164] Compiling llbuildBuildSystem BuildNode.cpp
[107/164] Compiling llbuildBuildSystem BuildSystem.cpp
[107/164] Compiling llbuildBuildSystem BuildSystemExtensionManager.cpp
[108/164] Compiling llbuildSwift BuildKey.swift
[109/164] Compiling llbuildSwift Internals.swift
[110/164] Emitting module llbuildSwift
/Users/admin/builder/spi-builder-workspace/products/llbuildSwift/BuildSystemBindings.swift:280:1: warning: extension declares a conformance of imported type 'CommandStatusKind' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'llbuild' introduce this conformance in the future
278 | }
279 |
280 | extension CommandStatusKind: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'CommandStatusKind' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'llbuild' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
281 | public var description: String {
282 | switch self {
/Users/admin/builder/spi-builder-workspace/products/llbuildSwift/BuildSystemBindings.swift:295:1: warning: extension declares a conformance of imported type 'BuildKeyKind' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'llbuild' introduce this conformance in the future
293 | }
294 |
295 | extension BuildKeyKind: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'BuildKeyKind' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'llbuild' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
296 | public var description: String {
297 | switch self {
/Users/admin/builder/spi-builder-workspace/products/llbuildSwift/BuildSystemBindings.swift:324:1: warning: extension declares a conformance of imported type 'DiagnosticKind' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'llbuild' introduce this conformance in the future
322 | }
323 |
324 | extension DiagnosticKind: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'DiagnosticKind' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'llbuild' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
325 | public var description: String {
326 | switch self {
/Users/admin/builder/spi-builder-workspace/products/llbuildSwift/BuildValue.swift:30:1: warning: extension declares a conformance of imported type 'BuildValueKind' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'llbuild' introduce this conformance in the future
28 | #endif
29 |
30 | extension BuildValueKind: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'BuildValueKind' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'llbuild' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
31 | public var description: String {
32 | switch self {
/Users/admin/builder/spi-builder-workspace/products/llbuildSwift/BuildValue.swift:57:1: warning: extension declares a conformance of imported type 'llb_build_value_file_info_t_' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'llbuild' introduce this conformance in the future
55 | }
56 |
57 | extension BuildValueFileInfo: Equatable {
| |- warning: extension declares a conformance of imported type 'llb_build_value_file_info_t_' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'llbuild' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
58 | public static func == (lhs: BuildValueFileInfo, rhs: BuildValueFileInfo) -> Bool {
59 | return lhs.device == rhs.device && lhs.inode == rhs.inode && lhs.mode == rhs.mode && lhs.size == rhs.size && lhs.modTime == rhs.modTime
/Users/admin/builder/spi-builder-workspace/products/llbuildSwift/BuildValue.swift:63:1: warning: extension declares a conformance of imported type 'llb_build_value_file_info_t_' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'llbuild' introduce this conformance in the future
61 | }
62 |
63 | extension BuildValueFileInfo: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'llb_build_value_file_info_t_' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'llbuild' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
64 | public var description: String {
65 | return "<FileInfo device=\(device) inode=\(inode) mode=\(mode) size=\(size) modTime=\(modTime)>"
/Users/admin/builder/spi-builder-workspace/products/llbuildSwift/BuildValue.swift:69:1: warning: extension declares a conformance of imported type 'llb_build_value_file_timestamp_t_' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'llbuild' introduce this conformance in the future
67 | }
68 |
69 | extension BuildValueFileTimestamp: Equatable {
| |- warning: extension declares a conformance of imported type 'llb_build_value_file_timestamp_t_' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'llbuild' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
70 | public static func == (lhs: llb_build_value_file_timestamp_t_, rhs: BuildValueFileTimestamp) -> Bool {
71 | return lhs.seconds == rhs.seconds && lhs.nanoseconds == rhs.nanoseconds
/Users/admin/builder/spi-builder-workspace/products/llbuildSwift/BuildValue.swift:75:1: warning: extension declares a conformance of imported type 'llb_build_value_file_timestamp_t_' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'llbuild' introduce this conformance in the future
73 | }
74 |
75 | extension BuildValueFileTimestamp: Comparable {
| |- warning: extension declares a conformance of imported type 'llb_build_value_file_timestamp_t_' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'llbuild' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
76 | public static func < (lhs: BuildValueFileTimestamp, rhs: BuildValueFileTimestamp) -> Bool {
77 | if lhs.seconds != rhs.seconds { return lhs.seconds < rhs.seconds }
/Users/admin/builder/spi-builder-workspace/products/llbuildSwift/BuildValue.swift:82:1: warning: extension declares a conformance of imported type 'llb_build_value_file_timestamp_t_' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'llbuild' introduce this conformance in the future
80 | }
81 |
82 | extension BuildValueFileTimestamp: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'llb_build_value_file_timestamp_t_' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'llbuild' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
83 | public var description: String {
84 | return "<FileTimestamp seconds=\(seconds) nanoseconds=\(nanoseconds)>"
BUILD FAILURE 6.0 macosSpm