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 AsyncButton, reference main (8b21b3), with Swift 6.0 for macOS (Xcode) using Xcode 16.0 on 4 Nov 2024 13:37:11 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme AsyncButton -destination platform=macOS,arch=arm64 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/edonv/AsyncButton.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/edonv/AsyncButton
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8b21b38 Update README.md
Cloned https://github.com/edonv/AsyncButton.git
Revision (git rev-parse @):
8b21b38b6f3c372f5f5886e989a5b5bb0fba9473
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/edonv/AsyncButton.git at main
========================================
Build
========================================
Selected platform:         macosXcodebuild
Swift version:             6.0
Building package at path:  $PWD
https://github.com/edonv/AsyncButton.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
Resolve Package Graph
Fetching from https://github.com/shaps80/SwiftUIBackports.git
Fetching from https://github.com/shaps80/SwiftBackports
Creating working copy of package ‘SwiftBackports’
Checking out 1.0.3 of package ‘SwiftBackports’
Creating working copy of package ‘SwiftUIBackports’
Checking out 2.8.1 of package ‘SwiftUIBackports’
Resolve Package Graph
Resolved source packages:
  SwiftUIBackports: https://github.com/shaps80/SwiftUIBackports.git @ 2.8.1
  SwiftBackports: https://github.com/shaps80/SwiftBackports @ 1.0.3
  AsyncButton: /Users/admin/builder/spi-builder-workspace
resolved source packages: SwiftUIBackports, SwiftBackports, AsyncButton
{
  "dependencies" : [
    {
      "identity" : "swiftuibackports",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/shaps80/SwiftUIBackports.git"
    }
  ],
  "manifest_display_name" : "AsyncButton",
  "name" : "AsyncButton",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "AsyncButton",
      "targets" : [
        "AsyncButton"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AsyncButtonTests",
      "module_type" : "SwiftTarget",
      "name" : "AsyncButtonTests",
      "path" : "Tests/AsyncButtonTests",
      "sources" : [
        "AsyncButtonTests.swift"
      ],
      "target_dependencies" : [
        "AsyncButton"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AsyncButton",
      "module_type" : "SwiftTarget",
      "name" : "AsyncButton",
      "path" : "Sources/AsyncButton",
      "product_dependencies" : [
        "SwiftUIBackports"
      ],
      "product_memberships" : [
        "AsyncButton"
      ],
      "sources" : [
        "AsyncButton+Inits.swift",
        "AsyncButton.swift",
        "Backports/ProgressViewBackport.swift",
        "Backports/SwiftUIBackport Availability Wrappers.swift",
        "Supporting Types/AsyncButtonOptions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "AsyncButton",
      "Backports",
      "SwiftUIBackports"
    ]
  }
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "AsyncButton",
      "Backports",
      "SwiftUIBackports"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme AsyncButton -destination platform=macOS,arch=arm64 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 AsyncButton -destination platform=macOS,arch=arm64 "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
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
  SwiftUIBackports: https://github.com/shaps80/SwiftUIBackports.git @ 2.8.1
  SwiftBackports: https://github.com/shaps80/SwiftBackports @ 1.0.3
  AsyncButton: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (7 targets)
    Target 'AsyncButton' in project 'AsyncButton'
        ➜ Explicit dependency on target 'AsyncButton' in project 'AsyncButton'
        ➜ Explicit dependency on target 'SwiftUIBackports' in project 'SwiftUIBackports'
    Target 'AsyncButton' in project 'AsyncButton'
        ➜ Explicit dependency on target 'SwiftUIBackports' in project 'SwiftUIBackports'
    Target 'SwiftUIBackports' in project 'SwiftUIBackports'
        ➜ Explicit dependency on target 'SwiftUIBackports' in project 'SwiftUIBackports'
        ➜ Explicit dependency on target 'SwiftUIBackports_SwiftUIBackports' in project 'SwiftUIBackports'
        ➜ Explicit dependency on target 'SwiftBackports' in project 'SwiftBackports'
    Target 'SwiftUIBackports' in project 'SwiftUIBackports'
        ➜ Explicit dependency on target 'SwiftUIBackports_SwiftUIBackports' in project 'SwiftUIBackports'
        ➜ Explicit dependency on target 'SwiftBackports' in project 'SwiftBackports'
    Target 'SwiftBackports' in project 'SwiftBackports'
        ➜ Explicit dependency on target 'SwiftBackports' in project 'SwiftBackports'
    Target 'SwiftBackports' in project 'SwiftBackports' (no dependencies)
    Target 'SwiftUIBackports_SwiftUIBackports' in project 'SwiftUIBackports' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
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/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk -x c -c /dev/null
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/ld -version_details
Build description signature: 86149e3bab1f901dc78bcddc1c64d4f0
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/86149e3bab1f901dc78bcddc1c64d4f0.xcbuilddata
error: The package product 'SwiftUIBackports' requires minimum platform version 10.15 for the macOS platform, but this target supports 10.13 (in target 'AsyncButton' from project 'AsyncButton')
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:DriverKit, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:0000FE00-8C151E3703BE51BE, name:My Mac }
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme AsyncButton
(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 AsyncButton -destination platform=macOS,arch=arm64 "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
Resolve Package Graph
Resolved source packages:
  AsyncButton: /Users/admin/builder/spi-builder-workspace
  SwiftBackports: https://github.com/shaps80/SwiftBackports @ 1.0.3
  SwiftUIBackports: https://github.com/shaps80/SwiftUIBackports.git @ 2.8.1
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (7 targets)
    Target 'AsyncButton' in project 'AsyncButton'
        ➜ Explicit dependency on target 'AsyncButton' in project 'AsyncButton'
        ➜ Explicit dependency on target 'SwiftUIBackports' in project 'SwiftUIBackports'
    Target 'AsyncButton' in project 'AsyncButton'
        ➜ Explicit dependency on target 'SwiftUIBackports' in project 'SwiftUIBackports'
    Target 'SwiftUIBackports' in project 'SwiftUIBackports'
        ➜ Explicit dependency on target 'SwiftUIBackports' in project 'SwiftUIBackports'
        ➜ Explicit dependency on target 'SwiftUIBackports_SwiftUIBackports' in project 'SwiftUIBackports'
        ➜ Explicit dependency on target 'SwiftBackports' in project 'SwiftBackports'
    Target 'SwiftUIBackports' in project 'SwiftUIBackports'
        ➜ Explicit dependency on target 'SwiftUIBackports_SwiftUIBackports' in project 'SwiftUIBackports'
        ➜ Explicit dependency on target 'SwiftBackports' in project 'SwiftBackports'
    Target 'SwiftBackports' in project 'SwiftBackports'
        ➜ Explicit dependency on target 'SwiftBackports' in project 'SwiftBackports'
    Target 'SwiftBackports' in project 'SwiftBackports' (no dependencies)
    Target 'SwiftUIBackports_SwiftUIBackports' in project 'SwiftUIBackports' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
error: The package product 'SwiftUIBackports' requires minimum platform version 10.15 for the macOS platform, but this target supports 10.13 (in target 'AsyncButton' from project 'AsyncButton')
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:DriverKit, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:0000FE00-8C151E3703BE51BE, name:My Mac }
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme AsyncButton
(1 failure)
BUILD FAILURE 6.0 macosXcodebuild