The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build llbuild, reference 0.5.0 (5cd4df), with Swift 5.10 for macOS (SPM) on 16 Jul 2024 06:49:27 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.46.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/22411] Fetching swift-llbuild
Fetched https://github.com/swiftlang/swift-llbuild.git from cache (2.64s)
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:             5.10
Building package at path:  $workDir
https://github.com/swiftlang/swift-llbuild.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/154] Write swift-build-tool-entitlement.plist
[1/154] Write swift-version-33747A42983211AE.txt
[2/154] Compiling llvmSupport MathExtras.cpp
[3/154] Compiling llvmSupport Mutex.cpp
[4/154] Compiling llvmSupport NativeFormatting.cpp
[5/154] Compiling llvmSupport Memory.cpp
[6/154] Compiling llvmSupport Valgrind.cpp
[7/154] Compiling llvmSupport UnicodeCaseFold.cpp
[8/154] Compiling llvmSupport MemoryBuffer.cpp
[9/154] Compiling llbuild main.cpp
[10/154] Compiling llvmSupport raw_ostream.cpp
[11/154] Compiling libllbuild Core-C-API.cpp
[12/154] Compiling libllbuild BuildValue-C-API.cpp
[13/154] Compiling llvmSupport circular_raw_ostream.cpp
[14/154] Compiling swift-build-tool main.cpp
[15/154] Compiling llvmSupport Unicode.cpp
[16/154] Compiling llvmSupport Twine.cpp
[17/154] Compiling llvmSupport Threading.cpp
[18/154] Compiling llvmSupport StringSaver.cpp
[19/154] Compiling llvmSupport StringMap.cpp
[20/154] Compiling llvmSupport Triple.cpp
[21/154] Compiling llvmSupport StringRef.cpp
[22/154] Compiling llvmSupport StringExtras.cpp
[23/154] Compiling llvmSupport TargetParser.cpp
[24/154] Compiling llvmSupport SmallVector.cpp
[25/154] Compiling llvmSupport YAMLParser.cpp
[26/154] Compiling llvmSupport SmallPtrSet.cpp
[27/154] Compiling llvmSupport ManagedStatic.cpp
[28/154] Compiling llvmSupport Locale.cpp
[29/154] Compiling llvmSupport Options.cpp
[30/154] Compiling llvmSupport MD5.cpp
[31/154] Compiling llvmSupport Program.cpp
[32/154] Compiling llvmSupport SourceMgr.cpp
[33/154] Compiling llvmSupport Process.cpp
[34/154] Compiling llvmSupport Signals.cpp
[35/154] Compiling llvmSupport Path.cpp
[36/154] Compiling llvmSupport Hashing.cpp
[37/154] Compiling llvmSupport FoldingSet.cpp
[38/154] Compiling llvmSupport Host.cpp
[39/154] Compiling llvmSupport FormatVariadic.cpp
[40/154] Compiling llvmSupport Errno.cpp
[41/154] Compiling llvmSupport FileUtilities.cpp
[42/154] Compiling llvmSupport ErrorHandling.cpp
[43/154] Compiling llvmSupport Atomic.cpp
[44/154] Compiling llvmSupport Debug.cpp
[45/154] Compiling llvmSupport Error.cpp
[46/154] Compiling llvmSupport DJB.cpp
[47/154] Compiling llvmSupport ConvertUTF.cpp
[47/154] Write sources
[50/154] Compiling llvmSupport ConvertUTFWrapper.cpp
[51/156] Compiling llvmSupport Chrono.cpp
[52/156] Compiling llvmDemangle MicrosoftDemangle.cpp
[53/156] Compiling llvmSupport Allocator.cpp
[53/156] Write llbuildNinjaTests-entitlement.plist
[55/156] Compiling llvmSupport APSInt.cpp
[56/156] Compiling llvmSupport APInt.cpp
[57/156] Compiling llvmDemangle ItaniumDemangle.cpp
[58/156] Compiling llvmSupport APFloat.cpp
[59/156] Compiling llbuildNinjaTests main.cpp
[60/156] Compiling llbuildNinja Parser.cpp
[61/156] Compiling llvmSupport CommandLine.cpp
[62/156] Compiling llbuildNinjaTests LexerTest.cpp
[63/156] Compiling llbuildNinja Lexer.cpp
[64/156] Compiling llbuildNinjaTests ManifestTest.cpp
[65/156] Compiling llbuildCoreTests main.cpp
[66/156] Compiling llbuildNinja Manifest.cpp
[67/156] Write llbuildCoreTests-entitlement.plist
[68/156] Compiling llbuildNinja ManifestLoader.cpp
[69/156] Compiling llbuildEvo EvoEngine.cpp
[70/156] Compiling llbuildCoreTests MakefileDepsParserTest.cpp
[71/156] Compiling llbuildCoreTests SQLiteBuildDBTest.cpp
[72/156] Compiling llbuildCore MakefileDepsParser.cpp
[73/156] Compiling llbuildCoreTests DependencyInfoParserTest.cpp
[74/156] Compiling llbuildCore DependencyInfoParser.cpp
[75/156] Compiling llbuildCore SQLiteBuildDB.cpp
[76/156] Compiling llbuildCoreTests BuildEngineCancellationTest.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]
  sprintf(name, "T%d", ++numNamedTasks);
  ^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__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-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg'
        #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]
  sprintf(name, "R%d", ++numNamedRules);
  ^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__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-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
2 warnings generated.
[77/156] Compiling llbuildCore BuildEngineTrace.cpp
[78/156] Compiling llbuildCore BuildDB.cpp
[79/156] Compiling llbuildCoreTests DepsBuildEngineTest.cpp
[80/156] Compiling llbuildCommands CommandLineStatusOutput.cpp
[81/156] Compiling llbuildCommands CommandUtil.cpp
[82/156] Compiling llbuildCommands NinjaCommand.cpp
[83/156] Compiling llbuildBuildSystemTests main.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]
    sprintf(inputKey, "ack(%d,%d)", m, n);
    ^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__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-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
1 warning generated.
[84/156] Compiling llbuildCommands BuildEngineCommand.cpp
[85/156] Compiling llbuildCore BuildEngine.cpp
[86/156] Write llbuildBuildSystemTests-entitlement.plist
[87/156] Compiling llbuildCommands BuildSystemCommand.cpp
[88/156] Compiling llbuildBuildSystemTests TempDir.cpp
[89/156] Compiling llbuildBuildSystemTests MockBuildSystemDelegate.cpp
[90/156] Compiling llbuildCommands NinjaBuildCommand.cpp
[91/156] Compiling llbuildBuildSystemTests BuildValueTest.cpp
[92/156] Compiling llbuildBuildSystem BuildValue.cpp
[93/156] Compiling llbuildBuildSystem ExternalCommand.cpp
[94/156] Compiling llbuildBuildSystem ShellCommand.cpp
[95/156] Compiling llbuildBuildSystemTests BuildSystemFrontendTest.cpp
[96/156] Compiling llbuildBuildSystem BuildSystemExtensionManager.cpp
[97/156] Compiling llbuildBuildSystemTests BuildSystemTaskTests.cpp
[98/156] Compiling llbuildBuildSystem BuildSystemFrontend.cpp
[99/156] Compiling llbuildBuildSystem BuildNode.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]
    sprintf(name, "input-%d", i);
    ^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__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-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg'
        #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]
      sprintf(inputName, "input-%d", i+1);
      ^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__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-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
2 warnings generated.
[100/156] Compiling llbuildCoreTests BuildEngineTest.cpp
[101/156] Compiling llbuildBuildSystem BuildKey.cpp
[102/156] Compiling llbuildBuildSystem BuildDescription.cpp
[103/156] Compiling llbuildBasicTests main.cpp
[104/156] Compiling llbuildBasicTests TempDir.cpp
[105/156] Compiling llbuildBasicTests ShellUtilityTest.cpp
[105/156] Write llbuildBasicTests-entitlement.plist
[107/156] Compiling llbuildBuildSystem BuildFile.cpp
[108/156] Compiling llbuildBasicTests SerialQueueTest.cpp
[109/156] Compiling llbuildBasicTests POSIXEnvironmentTest.cpp
[110/156] Compiling llbuildBasicTests Defer.cpp
[111/156] Compiling llbuildBasic Version.cpp
[112/156] Compiling llbuildBasic Tracing.cpp
[113/156] Compiling llbuildBasicTests BinaryCodingTests.cpp
[114/156] Compiling llbuildBasicTests FileSystemTest.cpp
[115/156] Compiling llbuildBasicTests LaneBasedExecutionQueueTest.cpp
[116/156] Compiling llbuildBasic ShellUtility.cpp
[117/156] Compiling llbuildBasic Subprocess.cpp
[118/156] Write sources
[119/156] Write llbuild-entitlement.plist
[120/156] Compiling llbuildBasic PlatformUtility.cpp
[121/156] Compiling llbuildBasic Hashing.cpp
[122/156] Compiling llbuildBasic FileSystem.cpp
[123/156] Compiling llbuildBasic FileInfo.cpp
[124/156] Compiling llbuildBasic ExecutionQueue.cpp
[126/156] Emitting module llbuildTestSupport
[127/156] 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
        addTeardownBlock {
        ^
/Users/admin/builder/spi-builder-workspace/unittests/TestSupport/XCTestCase+Extensions.swift:28:9: note: add 'if #available' version check
        addTeardownBlock {
        ^
/Users/admin/builder/spi-builder-workspace/unittests/TestSupport/XCTestCase+Extensions.swift:15:10: note: add @available attribute to enclosing instance method
    func makeTemporaryFile(_ contents: String? = nil) -> String {
         ^
/Users/admin/builder/spi-builder-workspace/unittests/TestSupport/XCTestCase+Extensions.swift:11:8: note: add @available attribute to enclosing extension
public extension XCTestCase {
       ^
[127/156] Compiling llbuildBasic SerialQueue.cpp
error: fatalError
[128/156] Compiling libllbuild BuildKey-C-API.cpp
[128/156] Compiling gtestlib gtest-all.cc
[128/156] Compiling libllbuild BuildDB-C-API.cpp
[128/156] Compiling libllbuild C-API.cpp
[128/156] Compiling llbuildBasic LaneBasedExecutionQueue.cpp
[128/156] Compiling libllbuild BuildSystem-C-API.cpp
[128/156] Compiling libllbuild Ninja-C-API.cpp
[128/156] Compiling llbuildBuildSystem BuildSystem.cpp
BUILD FAILURE 5.10 macosSpm