Build Information
Failed to build llbuild, reference main (783aec
), with Swift 6.0 for macOS (SPM) on 15 Sep 2024 10:48:25 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.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.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/art-divin/swift-llbuild.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/art-divin/swift-llbuild
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 783aec2 Fix a few comment typos in the codebase (#906)
Cloned https://github.com/art-divin/swift-llbuild.git
Revision (git rev-parse @):
783aec21649a6c47d1a8314db4144bdceb11df30
SUCCESS checkout https://github.com/art-divin/swift-llbuild.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/art-divin/swift-llbuild.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.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] Compiling libllbuild BuildKey-C-API.cpp
[3/155] Write swift-build-tool-entitlement.plist
[4/155] Compiling libllbuild BuildValue-C-API.cpp
[5/155] Compiling libllbuild Core-C-API.cpp
[6/155] Compiling libllbuild Ninja-C-API.cpp
[7/155] Write swift-version-117DEE11B69C53C9.txt
[8/155] Compiling llvmSupport Valgrind.cpp
[9/155] Compiling libllbuild BuildDB-C-API.cpp
[10/155] Compiling llvmSupport UnicodeCaseFold.cpp
[11/155] Compiling gmocklib gmock-all.cc
[12/155] Compiling llvmSupport circular_raw_ostream.cpp
[13/155] Compiling libllbuild BuildSystem-C-API.cpp
[14/155] Compiling llvmSupport Unicode.cpp
[15/155] Compiling llvmSupport Twine.cpp
[16/155] Compiling llvmSupport raw_ostream.cpp
[17/155] Compiling llvmSupport Triple.cpp
[18/155] Compiling swift-build-tool main.cpp
[19/155] Compiling gtestlib gtest-all.cc
[20/155] Compiling llvmSupport Threading.cpp
[21/155] Compiling llvmSupport YAMLParser.cpp
[22/155] Compiling llvmSupport StringSaver.cpp
[23/155] Compiling llvmSupport StringMap.cpp
[24/155] Compiling llvmSupport TargetParser.cpp
[25/155] Compiling llvmSupport SmallVector.cpp
[26/155] Compiling llvmSupport StringRef.cpp
[27/155] Compiling llvmSupport StringExtras.cpp
[28/155] Compiling llvmSupport SmallPtrSet.cpp
[29/155] Compiling llvmSupport Mutex.cpp
[30/155] Compiling llvmSupport Options.cpp
[31/155] Compiling llvmSupport NativeFormatting.cpp
[32/155] Compiling llvmSupport SourceMgr.cpp
[33/155] Compiling llvmSupport Program.cpp
[34/155] Compiling llvmSupport Signals.cpp
[35/155] Compiling llvmSupport Process.cpp
[36/155] Compiling llvmSupport MathExtras.cpp
[37/155] Compiling llvmSupport MemoryBuffer.cpp
[38/155] Compiling llvmSupport Memory.cpp
[39/155] Compiling llvmSupport Path.cpp
[40/155] Compiling llvmSupport ManagedStatic.cpp
[41/155] Compiling llvmSupport Locale.cpp
[42/155] Compiling llvmSupport MD5.cpp
[43/155] Compiling llvmSupport Hashing.cpp
[44/155] Compiling llvmSupport FormatVariadic.cpp
[45/155] Compiling llvmSupport FoldingSet.cpp
[46/155] Compiling llvmSupport Host.cpp
[47/155] Compiling llvmSupport ErrorHandling.cpp
[48/155] Compiling llvmSupport FileUtilities.cpp
[49/155] Compiling llvmSupport Errno.cpp
[50/155] Compiling llvmSupport Error.cpp
[51/155] Compiling llvmSupport Atomic.cpp
[52/155] Compiling llvmSupport ConvertUTF.cpp
[53/155] Compiling llvmSupport DJB.cpp
[54/155] Compiling llvmSupport Debug.cpp
[55/155] Write sources
[57/155] Compiling llvmSupport ConvertUTFWrapper.cpp
[58/165] Compiling llvmDemangle MicrosoftDemangle.cpp
[59/165] Compiling llvmSupport Allocator.cpp
[60/165] Compiling llvmSupport Chrono.cpp
[61/165] Compiling llvmSupport APSInt.cpp
[62/165] Write llbuildNinjaTests-entitlement.plist
[63/165] Compiling llvmSupport APInt.cpp
[64/165] Compiling llvmDemangle ItaniumDemangle.cpp
[65/165] Compiling llvmSupport APFloat.cpp
[66/165] Compiling llvmSupport CommandLine.cpp
[67/165] Compiling llbuildNinja Parser.cpp
[68/165] Compiling llbuildNinjaTests LexerTest.cpp
[69/165] Compiling llbuildNinjaTests main.cpp
[70/165] Compiling llbuildNinja Lexer.cpp
[71/165] Compiling llbuildNinjaTests ManifestTest.cpp
[72/165] Compiling llbuildNinja Manifest.cpp
[73/165] Compiling llbuildNinja ManifestLoader.cpp
[74/165] Compiling llbuildCoreTests main.cpp
[74/165] Write llbuildCoreTests-entitlement.plist
[76/165] Compiling llbuildEvo EvoEngine.cpp
[77/165] Compiling llbuildCoreTests MakefileDepsParserTest.cpp
[78/165] Compiling llbuildCoreTests SQLiteBuildDBTest.cpp
[79/165] Compiling llbuildCoreTests DependencyInfoParserTest.cpp
[80/165] Compiling llbuildCore MakefileDepsParser.cpp
[81/165] Compiling llbuildCore DependencyInfoParser.cpp
[82/165] Compiling llbuildCore SQLiteBuildDB.cpp
[83/165] Compiling llbuildCoreTests DepsBuildEngineTest.cpp
[84/165] Compiling llbuildCoreTests BuildEngineCancellationTest.cpp
[85/165] Compiling llbuildCore BuildEngineTrace.cpp
[86/165] Compiling llbuildCore BuildDB.cpp
[87/165] Compiling llbuildCommands CommandLineStatusOutput.cpp
[88/165] Compiling llbuildCommands CommandUtil.cpp
[89/165] Compiling llbuildCommands BuildEngineCommand.cpp
[90/165] Compiling llbuildCommands NinjaCommand.cpp
[91/165] Compiling llbuildCore BuildEngine.cpp
[92/165] Compiling llbuildBuildSystemTests main.cpp
[93/165] Compiling llbuildCommands BuildSystemCommand.cpp
[94/165] Write llbuildBuildSystemTests-entitlement.plist
[95/165] Compiling llbuildBuildSystemTests TempDir.cpp
[96/165] Compiling llbuildCommands NinjaBuildCommand.cpp
[97/165] Compiling llbuildBuildSystemTests MockBuildSystemDelegate.cpp
[98/165] Compiling llbuildBuildSystemTests BuildValueTest.cpp
[99/165] Compiling llbuildBuildSystem BuildValue.cpp
[100/165] Compiling llbuildBuildSystem ShellCommand.cpp
[101/165] Compiling llbuildBuildSystem ExternalCommand.cpp
[103/165] Emitting module llbuildTestSupport
[104/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
[104/165] Compiling llbuildBuildSystem BuildKey.cpp
[104/165] Compiling llbuildBuildSystem BuildNode.cpp
[104/165] Compiling llbuildBuildSystem BuildSystem.cpp
[104/165] Compiling llbuildBuildSystem BuildSystemFrontend.cpp
[104/165] Compiling llbuildBuildSystem BuildSystemExtensionManager.cpp
[104/165] Compiling llbuildBuildSystemTests BuildSystemTaskTests.cpp
[104/165] Compiling llbuildBuildSystemTests BuildSystemFrontendTest.cpp
[105/165] Compiling llbuildSwift BuildKey.swift
[106/165] Compiling llbuildSwift Internals.swift
/Users/admin/builder/spi-builder-workspace/products/llbuildSwift/BuildValue.swift:32: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
30 | #endif
31 |
32 | 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
33 | public var description: String {
34 | switch self {
/Users/admin/builder/spi-builder-workspace/products/llbuildSwift/BuildValue.swift:59: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
57 | }
58 |
59 | 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
60 | public static func == (lhs: BuildValueFileInfo, rhs: BuildValueFileInfo) -> Bool {
61 | 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:65: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
63 | }
64 |
65 | 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
66 | public var description: String {
67 | return "<FileInfo device=\(device) inode=\(inode) mode=\(mode) size=\(size) modTime=\(modTime)>"
/Users/admin/builder/spi-builder-workspace/products/llbuildSwift/BuildValue.swift:71: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
69 | }
70 |
71 | 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
72 | public static func == (lhs: llb_build_value_file_timestamp_t_, rhs: BuildValueFileTimestamp) -> Bool {
73 | return lhs.seconds == rhs.seconds && lhs.nanoseconds == rhs.nanoseconds
/Users/admin/builder/spi-builder-workspace/products/llbuildSwift/BuildValue.swift:77: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
75 | }
76 |
77 | 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
78 | public static func < (lhs: BuildValueFileTimestamp, rhs: BuildValueFileTimestamp) -> Bool {
79 | if lhs.seconds != rhs.seconds { return lhs.seconds < rhs.seconds }
[106/165] Compiling llbuildCoreTests BuildEngineTest.cpp
BUILD FAILURE 6.0 macosSpm