Build Information
Failed to build llbuild, reference master (4cc1ea
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 02:14:00 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/SDGGiesbrecht/swift-llbuild.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SDGGiesbrecht/swift-llbuild
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 4cc1ea4 Merge pull request #874 from compnerd/build
Cloned https://github.com/SDGGiesbrecht/swift-llbuild.git
Revision (git rev-parse @):
4cc1ea448e236c2f4dfe622cec786bce4bd56c45
SUCCESS checkout https://github.com/SDGGiesbrecht/swift-llbuild.git at master
========================================
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/SDGGiesbrecht/swift-llbuild.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-llbuild",
"dependencies": [
]
}
]
}
Fetching https://github.com/SDGGiesbrecht/swift-llbuild.git
[1/18377] Fetching swift-llbuild
Fetched https://github.com/SDGGiesbrecht/swift-llbuild.git from cache (1.79s)
Creating working copy for https://github.com/SDGGiesbrecht/swift-llbuild.git
Working copy of https://github.com/SDGGiesbrecht/swift-llbuild.git resolved at master (4cc1ea4)
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/SDGGiesbrecht/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/155] Compiling libllbuild C-API.cpp
[1/155] Compiling llbuild main.cpp
[2/155] Write swift-build-tool-entitlement.plist
[3/155] Compiling llbuildBasic ExecutionQueue.cpp
[4/155] Compiling llbuildBasic FileInfo.cpp
[5/155] Compiling libllbuild BuildKey-C-API.cpp
[6/155] Compiling libllbuild BuildValue-C-API.cpp
[7/155] Compiling llvmSupport Valgrind.cpp
[8/155] Compiling libllbuild Core-C-API.cpp
[9/155] Write swift-version--7754E27361AE5C74.txt
[10/155] Compiling llvmSupport UnicodeCaseFold.cpp
[11/155] Compiling libllbuild Ninja-C-API.cpp
[12/155] Compiling swift-build-tool main.cpp
[13/155] Compiling llvmSupport circular_raw_ostream.cpp
[14/155] Compiling libllbuild BuildSystem-C-API.cpp
[15/155] Compiling llvmSupport Unicode.cpp
[16/155] Compiling llvmSupport Twine.cpp
[17/155] Compiling llvmSupport Threading.cpp
[18/155] Compiling llvmSupport StringSaver.cpp
[19/155] Compiling llvmSupport raw_ostream.cpp
[20/155] Compiling llvmSupport Triple.cpp
[21/155] Compiling llvmSupport TargetParser.cpp
[22/155] Compiling llvmSupport SmallVector.cpp
[23/155] Compiling llvmSupport StringMap.cpp
[24/155] Compiling llvmSupport StringRef.cpp
[25/155] Compiling llvmSupport YAMLParser.cpp
[26/155] Compiling llvmSupport StringExtras.cpp
[27/155] Compiling llvmSupport SmallPtrSet.cpp
[28/155] Compiling llvmSupport Program.cpp
[29/155] Compiling llvmSupport Process.cpp
[30/155] Compiling llvmSupport Mutex.cpp
[31/155] Compiling llvmSupport SourceMgr.cpp
[32/155] Compiling llvmSupport Signals.cpp
[33/155] Compiling llvmSupport Options.cpp
[34/155] Compiling llvmSupport NativeFormatting.cpp
[35/155] Compiling llvmSupport MathExtras.cpp
[36/155] Compiling llvmSupport Memory.cpp
[37/155] Compiling llvmSupport MemoryBuffer.cpp
[38/155] Compiling llvmSupport Path.cpp
[39/155] Compiling llvmSupport ManagedStatic.cpp
[40/155] Compiling llvmSupport Locale.cpp
[41/155] Compiling llvmSupport MD5.cpp
[42/155] Compiling llvmSupport Hashing.cpp
[43/155] Compiling llvmSupport FormatVariadic.cpp
[44/155] Compiling llvmSupport FoldingSet.cpp
[45/155] Compiling llvmSupport Host.cpp
[46/155] Compiling llvmSupport ErrorHandling.cpp
[47/155] Compiling llvmSupport FileUtilities.cpp
[48/155] Compiling llvmSupport Errno.cpp
[49/155] Compiling llvmSupport Atomic.cpp
[50/155] Compiling llvmSupport ConvertUTF.cpp
[51/155] Compiling llvmSupport Error.cpp
[52/155] Compiling llvmSupport DJB.cpp
[53/155] Compiling llvmSupport Debug.cpp
[53/155] Write sources
[56/155] Compiling llvmSupport ConvertUTFWrapper.cpp
[57/157] Compiling llvmDemangle MicrosoftDemangle.cpp
[58/157] Compiling llvmSupport Chrono.cpp
[59/157] Compiling llvmSupport Allocator.cpp
[59/157] Write llbuildNinjaTests-entitlement.plist
[61/157] Compiling llvmSupport APSInt.cpp
[62/157] Compiling llvmSupport APInt.cpp
[63/157] Compiling llvmDemangle ItaniumDemangle.cpp
[64/157] Compiling llvmSupport APFloat.cpp
[65/157] Compiling llbuildNinja Parser.cpp
[66/157] Compiling llbuildNinjaTests main.cpp
[67/157] Compiling llvmSupport CommandLine.cpp
[68/157] Compiling llbuildNinjaTests LexerTest.cpp
[69/157] Compiling llbuildNinja Lexer.cpp
[70/157] Compiling llbuildNinjaTests ManifestTest.cpp
[71/157] Compiling llbuildNinja Manifest.cpp
[72/157] Compiling llbuildNinja ManifestLoader.cpp
[73/157] Write llbuildCoreTests-entitlement.plist
[74/157] Compiling llbuildEvo EvoEngine.cpp
[75/157] Compiling llbuildCoreTests main.cpp
[76/157] Compiling llbuildCoreTests MakefileDepsParserTest.cpp
[77/157] Compiling llbuildCoreTests SQLiteBuildDBTest.cpp
[78/157] Compiling llbuildCoreTests DependencyInfoParserTest.cpp
[79/157] Compiling llbuildCore DependencyInfoParser.cpp
[80/157] Compiling llbuildCore MakefileDepsParser.cpp
[81/157] Compiling llbuildCore SQLiteBuildDB.cpp
[82/157] Compiling llbuildCoreTests BuildEngineCancellationTest.cpp
[83/157] Compiling llbuildCore BuildEngineTrace.cpp
[84/157] Compiling llbuildCore BuildDB.cpp
[85/157] Compiling llbuildCoreTests DepsBuildEngineTest.cpp
[86/157] Compiling llbuildCommands CommandLineStatusOutput.cpp
[87/157] Compiling llbuildCommands CommandUtil.cpp
[88/157] Compiling llbuildCommands BuildEngineCommand.cpp
[89/157] Compiling llbuildCommands NinjaCommand.cpp
[90/157] Compiling llbuildBuildSystemTests main.cpp
[91/157] Compiling llbuildCore BuildEngine.cpp
[91/157] Write llbuildBuildSystemTests-entitlement.plist
[93/157] Compiling llbuildCommands BuildSystemCommand.cpp
[94/157] Compiling llbuildBuildSystemTests TempDir.cpp
[95/157] Compiling llbuildCommands NinjaBuildCommand.cpp
[96/157] Compiling llbuildBuildSystemTests MockBuildSystemDelegate.cpp
[97/157] Compiling llbuildBuildSystem BuildValue.cpp
[98/157] Compiling llbuildBuildSystemTests BuildValueTest.cpp
[99/157] Compiling llbuildBuildSystem ExternalCommand.cpp
[100/157] Compiling llbuildBuildSystem ShellCommand.cpp
[101/157] Compiling llbuildBuildSystemTests BuildSystemFrontendTest.cpp
[102/157] Compiling llbuildBuildSystem BuildSystemExtensionManager.cpp
[103/157] Compiling llbuildBuildSystemTests BuildSystemTaskTests.cpp
[104/157] Compiling llbuildCoreTests BuildEngineTest.cpp
[105/157] Compiling llbuildBuildSystem BuildSystemFrontend.cpp
[106/157] Compiling llbuildBuildSystem BuildNode.cpp
[107/157] Compiling llbuildBuildSystem BuildKey.cpp
[108/157] Compiling llbuildBuildSystem BuildDescription.cpp
[109/157] Compiling llbuildBasicTests TempDir.cpp
[110/157] Compiling llbuildBasicTests ShellUtilityTest.cpp
[111/157] Compiling llbuildBasicTests main.cpp
[111/157] Write llbuildBasicTests-entitlement.plist
[113/157] Compiling llbuildBasicTests SerialQueueTest.cpp
[114/157] Compiling llbuildBasicTests POSIXEnvironmentTest.cpp
[115/157] Compiling llbuildBuildSystem BuildFile.cpp
[116/157] Compiling llbuildBasic Version.cpp
[117/157] Compiling llbuildBasic Tracing.cpp
[118/157] Compiling llbuildBasicTests Defer.cpp
[119/157] Compiling llbuildBasic ShellUtility.cpp
[120/157] Compiling llbuildBasicTests LaneBasedExecutionQueueTest.cpp
[121/157] Compiling llbuildBasicTests BinaryCodingTests.cpp
[121/157] Write sources
[123/157] Write llbuild-entitlement.plist
[124/157] Compiling llbuildBasicTests FileSystemTest.cpp
[125/157] Compiling llbuildBasic Subprocess.cpp
[126/157] Compiling llbuildBasic Hashing.cpp
[127/157] Compiling llbuildBasic PlatformUtility.cpp
[128/157] Compiling llbuildBasic FileSystem.cpp
[129/157] Compiling llbuildBasic SerialQueue.cpp
[130/157] Compiling libllbuild BuildDB-C-API.cpp
[131/165] Compiling llbuildBasic LaneBasedExecutionQueue.cpp
[132/165] Compiling llbuildBuildSystem BuildSystem.cpp
[133/165] Write Objects.LinkFileList
[135/165] Compiling gmocklib gmock-all.cc
[136/165] Compiling gtestlib gtest-all.cc
[137/165] Write Objects.LinkFileList
[141/165] Linking llbuildBasicTests
[142/165] Linking llbuildNinjaTests
[143/165] Linking swift-build-tool
[144/165] Applying llbuildNinjaTests
[144/165] Applying llbuildBasicTests
[146/165] Applying swift-build-tool
[147/165] Linking llbuild
[148/165] Applying llbuild
[149/165] Linking llbuildCoreTests
[150/165] Applying llbuildCoreTests
[151/165] Linking llbuildBuildSystemTests
[152/165] Applying llbuildBuildSystemTests
[154/165] Emitting module llbuildTestSupport
[155/165] 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
[156/165] Emitting module llbuildSwift
/Users/admin/builder/spi-builder-workspace/products/llbuildSwift/BuildSystemBindings.swift:472: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
470 | }
471 |
472 | 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
473 | public var description: String {
474 | switch self {
/Users/admin/builder/spi-builder-workspace/products/llbuildSwift/BuildSystemBindings.swift:487: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
485 | }
486 |
487 | 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
488 | public var description: String {
489 | switch self {
/Users/admin/builder/spi-builder-workspace/products/llbuildSwift/BuildSystemBindings.swift:516: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
514 | }
515 |
516 | 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
517 | public var description: String {
518 | 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