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 ConsulSwift, reference master (b4480c), with Swift 6.0 for iOS using Xcode 16.0 on 31 Oct 2024 21:14:38 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ConsulSwift-Package -destination generic/platform=iOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cpageler93/consulswift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/cpageler93/consulswift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at b4480c9 Update to Quack 1.3.1 for Linux Support
Cloned https://github.com/cpageler93/consulswift.git
Revision (git rev-parse @):
b4480c9ce94c209777bb4f3acfbd810e811fb24d
SUCCESS checkout https://github.com/cpageler93/consulswift.git at master
========================================
Build
========================================
Selected platform:         iOS
Swift version:             6.0
Building package at path:  $PWD
https://github.com/cpageler93/consulswift.git
Command line invocation:
    /Applications/Xcode-16.1.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEPackageSupportUseBuiltinSCM = YES
resolved source packages:
{
  "dependencies" : [
    {
      "identity" : "quack",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/cpageler93/quack"
    }
  ],
  "manifest_display_name" : "ConsulSwift",
  "name" : "ConsulSwift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ConsulSwift",
      "targets" : [
        "ConsulSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ConsulSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "ConsulSwiftTests",
      "path" : "Tests/ConsulSwiftTests",
      "sources" : [
        "ConsulAgentTests.swift",
        "ConsulCatalogTests.swift",
        "ConsulEventTests.swift",
        "ConsulHealthTests.swift",
        "ConsulKeyValueTests.swift",
        "ConsulSwiftTests.swift"
      ],
      "target_dependencies" : [
        "ConsulSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ConsulSwift",
      "module_type" : "SwiftTarget",
      "name" : "ConsulSwift",
      "path" : "Sources/ConsulSwift",
      "product_dependencies" : [
        "Quack"
      ],
      "product_memberships" : [
        "ConsulSwift"
      ],
      "sources" : [
        "Consul+AgentBase.swift",
        "Consul+AgentChecks.swift",
        "Consul+AgentServices.swift",
        "Consul+Catalog.swift",
        "Consul+Events.swift",
        "Consul+Health.swift",
        "Consul+KVStore.swift",
        "Consul.swift",
        "ConsulAgentCheck.swift",
        "ConsulAgentConfiguration.swift",
        "ConsulAgentMember.swift",
        "ConsulAgentService.swift",
        "ConsulCatalogDatacenter.swift",
        "ConsulCatalogNode.swift",
        "ConsulCatalogService.swift",
        "ConsulEvent.swift",
        "ConsulKeyValuePair.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.1"
}
{
  "project" : {
    "configurations" : [
      "Debug",
      "Release"
    ],
    "name" : "ConsulSwift",
    "schemes" : [
      "AlamofirePackageDescription",
      "ConsulSwift-Package",
      "ConsulSwiftPackageDescription",
      "ConsulSwiftPackageTests",
      "QuackPackageDescription",
      "ResultPackageDescription",
      "SwiftyJSONPackageDescription"
    ],
    "targets" : [
      "Alamofire",
      "AlamofirePackageDescription",
      "ConsulSwift",
      "ConsulSwiftPackageDescription",
      "ConsulSwiftPackageTests",
      "ConsulSwiftTests",
      "Quack",
      "QuackPackageDescription",
      "Result",
      "ResultPackageDescription",
      "SwiftyJSON",
      "SwiftyJSONPackageDescription"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ConsulSwift-Package -destination generic/platform=iOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete
Command line invocation:
    /Applications/Xcode-16.1.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme ConsulSwift-Package -destination generic/platform=iOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete"
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
    OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (5 targets)
    Target 'ConsulSwift' in project 'ConsulSwift'
        ➜ Explicit dependency on target 'Quack' in project 'ConsulSwift'
        ➜ Explicit dependency on target 'Result' in project 'ConsulSwift'
        ➜ Explicit dependency on target 'SwiftyJSON' in project 'ConsulSwift'
        ➜ Explicit dependency on target 'Alamofire' in project 'ConsulSwift'
    Target 'Quack' in project 'ConsulSwift'
        ➜ Explicit dependency on target 'Result' in project 'ConsulSwift'
        ➜ Explicit dependency on target 'SwiftyJSON' in project 'ConsulSwift'
        ➜ Explicit dependency on target 'Alamofire' in project 'ConsulSwift'
    Target 'Result' in project 'ConsulSwift' (no dependencies)
    Target 'Alamofire' in project 'ConsulSwift' (no dependencies)
    Target 'SwiftyJSON' in project 'ConsulSwift' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.1.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 671c95edf272b15521f56df8a0e113cf
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/671c95edf272b15521f56df8a0e113cf.xcbuilddata
error: SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0, 6.0. (in target 'Result' from project 'ConsulSwift')
error: SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0, 6.0. (in target 'SwiftyJSON' from project 'ConsulSwift')
error: SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0, 6.0. (in target 'Alamofire' from project 'ConsulSwift')
** BUILD FAILED **
The following build commands failed:
	Building project ConsulSwift with scheme ConsulSwift-Package
(1 failure)
Command line invocation:
    /Applications/Xcode-16.1.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme ConsulSwift-Package -destination generic/platform=iOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete"
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
    OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (5 targets)
    Target 'ConsulSwift' in project 'ConsulSwift'
        ➜ Explicit dependency on target 'Quack' in project 'ConsulSwift'
        ➜ Explicit dependency on target 'Result' in project 'ConsulSwift'
        ➜ Explicit dependency on target 'SwiftyJSON' in project 'ConsulSwift'
        ➜ Explicit dependency on target 'Alamofire' in project 'ConsulSwift'
    Target 'Quack' in project 'ConsulSwift'
        ➜ Explicit dependency on target 'Result' in project 'ConsulSwift'
        ➜ Explicit dependency on target 'SwiftyJSON' in project 'ConsulSwift'
        ➜ Explicit dependency on target 'Alamofire' in project 'ConsulSwift'
    Target 'Result' in project 'ConsulSwift' (no dependencies)
    Target 'Alamofire' in project 'ConsulSwift' (no dependencies)
    Target 'SwiftyJSON' in project 'ConsulSwift' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
error: SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0, 6.0. (in target 'Result' from project 'ConsulSwift')
error: SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0, 6.0. (in target 'SwiftyJSON' from project 'ConsulSwift')
error: SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0, 6.0. (in target 'Alamofire' from project 'ConsulSwift')
** BUILD FAILED **
The following build commands failed:
	Building project ConsulSwift with scheme ConsulSwift-Package
(1 failure)
BUILD FAILURE 6.0 iOS