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 sXPC, reference main (6d743b), with Swift 6.0 for watchOS using Xcode 16.0 on 4 Nov 2024 06:18:57 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme sXPC -destination generic/platform=watchOS 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/Alkenso/sXPC.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Alkenso/sXPC
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6d743ba Update README.md
Cloned https://github.com/Alkenso/sXPC.git
Revision (git rev-parse @):
6d743ba952197e02468f2a3a51bf13be27ddbdee
SUCCESS checkout https://github.com/Alkenso/sXPC.git at main
========================================
Build
========================================
Selected platform:         watchOS
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Alkenso/sXPC.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/Alkenso/SwiftSpellbook.git
Creating working copy of package ‘SwiftSpellbook’
Checking out 0.4.2 of package ‘SwiftSpellbook’
Resolve Package Graph
Resolved source packages:
  sXPC: /Users/admin/builder/spi-builder-workspace
  SwiftSpellbook: https://github.com/Alkenso/SwiftSpellbook.git @ 0.4.2
resolved source packages: sXPC, SwiftSpellbook
{
  "dependencies" : [
    {
      "identity" : "swiftspellbook",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.3",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Alkenso/SwiftSpellbook.git"
    }
  ],
  "manifest_display_name" : "sXPC",
  "name" : "sXPC",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "sXPC",
      "targets" : [
        "sXPC"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "sXPCTests",
      "module_type" : "SwiftTarget",
      "name" : "sXPCTests",
      "path" : "Tests/sXPCTests",
      "product_dependencies" : [
        "SpellbookFoundation",
        "SpellbookTestUtils"
      ],
      "sources" : [
        "XPCClientTests.swift",
        "XPCTransportTests.swift"
      ],
      "target_dependencies" : [
        "sXPC"
      ],
      "type" : "test"
    },
    {
      "c99name" : "sXPC",
      "module_type" : "SwiftTarget",
      "name" : "sXPC",
      "path" : "Sources/sXPC",
      "product_dependencies" : [
        "SpellbookFoundation"
      ],
      "product_memberships" : [
        "sXPC"
      ],
      "sources" : [
        "XPC Transport/XPCTransportConnection.swift",
        "XPC Transport/XPCTransportListener.swift",
        "XPC Transport/XPCTransportMessage.swift",
        "XPC Transport/XPCTransportUtils.swift",
        "XPCConnection/Utils.swift",
        "XPCConnection/XPCClient.swift",
        "XPCConnection/XPCConnection.swift",
        "XPCConnection/XPCInterface.swift",
        "XPCConnection/XPCListener.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "sXPC"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme sXPC -destination generic/platform=watchOS 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 sXPC -destination generic/platform=watchOS "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:
  sXPC: /Users/admin/builder/spi-builder-workspace
  SwiftSpellbook: https://github.com/Alkenso/SwiftSpellbook.git @ 0.4.2
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (5 targets)
    Target 'sXPC' in project 'sXPC'
        ➜ Explicit dependency on target 'sXPC' in project 'sXPC'
        ➜ Explicit dependency on target 'SpellbookFoundation' in project 'SwiftSpellbook'
    Target 'sXPC' in project 'sXPC'
        ➜ Explicit dependency on target 'SpellbookFoundation' in project 'SwiftSpellbook'
    Target 'SpellbookFoundation' in project 'SwiftSpellbook'
        ➜ Explicit dependency on target 'SpellbookFoundation' in project 'SwiftSpellbook'
        ➜ Explicit dependency on target 'SpellbookFoundationObjC' in project 'SwiftSpellbook'
    Target 'SpellbookFoundation' in project 'SwiftSpellbook'
        ➜ Explicit dependency on target 'SpellbookFoundationObjC' in project 'SwiftSpellbook'
    Target 'SpellbookFoundationObjC' in project 'SwiftSpellbook' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.1.sdk -x objective-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/clang -v -E -dM -isysroot /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.1.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.1.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch armv7k -isysroot /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.1.sdk -x objective-c++ -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch armv7k -isysroot /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.1.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64_32 -isysroot /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.1.sdk -x objective-c++ -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64_32 -isysroot /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.1.sdk -x c -c /dev/null
Build description signature: 349c96022ce72d8b2d77969bd7a2f4a6
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/349c96022ce72d8b2d77969bd7a2f4a6.xcbuilddata
error: The package product 'SpellbookFoundation' requires minimum platform version 6.0 for the watchOS platform, but this target supports 5.0 (in target 'sXPC' from project 'sXPC')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme sXPC
(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 sXPC -destination generic/platform=watchOS "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:
  SwiftSpellbook: https://github.com/Alkenso/SwiftSpellbook.git @ 0.4.2
  sXPC: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (5 targets)
    Target 'sXPC' in project 'sXPC'
        ➜ Explicit dependency on target 'sXPC' in project 'sXPC'
        ➜ Explicit dependency on target 'SpellbookFoundation' in project 'SwiftSpellbook'
    Target 'sXPC' in project 'sXPC'
        ➜ Explicit dependency on target 'SpellbookFoundation' in project 'SwiftSpellbook'
    Target 'SpellbookFoundation' in project 'SwiftSpellbook'
        ➜ Explicit dependency on target 'SpellbookFoundation' in project 'SwiftSpellbook'
        ➜ Explicit dependency on target 'SpellbookFoundationObjC' in project 'SwiftSpellbook'
    Target 'SpellbookFoundation' in project 'SwiftSpellbook'
        ➜ Explicit dependency on target 'SpellbookFoundationObjC' in project 'SwiftSpellbook'
    Target 'SpellbookFoundationObjC' in project 'SwiftSpellbook' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
error: The package product 'SpellbookFoundation' requires minimum platform version 6.0 for the watchOS platform, but this target supports 5.0 (in target 'sXPC' from project 'sXPC')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme sXPC
(1 failure)
BUILD FAILURE 6.0 watchOS