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 HapticsManager, reference main (106795), with Swift 6.0 for macOS (Xcode) using Xcode 16.0 on 16 Nov 2024 04:49:25 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme HapticsManager -destination platform=macOS,arch=arm64 OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/markbattistella/HapticsManager.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/markbattistella/HapticsManager
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 1067954 Merge branch 'main' of https://github.com/markbattistella/HapticsManager
Cloned https://github.com/markbattistella/HapticsManager.git
Revision (git rev-parse @):
1067954ae99d5bf4e58f5deaf018945a23d6f2bc
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/markbattistella/HapticsManager.git at main
========================================
Build
========================================
Selected platform:         macosXcodebuild
Swift version:             6.0
Building package at path:  $PWD
https://github.com/markbattistella/HapticsManager.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/markbattistella/SimpleLogger
Fetching from https://github.com/markbattistella/DefaultsKit
Creating working copy of package ‘SimpleLogger’
Checking out 1.1.0 of package ‘SimpleLogger’
Creating working copy of package ‘DefaultsKit’
Checking out 2.0.0 of package ‘DefaultsKit’
Resolve Package Graph
Resolved source packages:
  DefaultsKit: https://github.com/markbattistella/DefaultsKit @ 2.0.0
  HapticsManager: /Users/admin/builder/spi-builder-workspace
  SimpleLogger: https://github.com/markbattistella/SimpleLogger @ 1.1.0
resolved source packages: DefaultsKit, HapticsManager, SimpleLogger
{
  "dependencies" : [
    {
      "identity" : "defaultskit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/markbattistella/DefaultsKit"
    },
    {
      "identity" : "simplelogger",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/markbattistella/SimpleLogger"
    }
  ],
  "manifest_display_name" : "HapticsManager",
  "name" : "HapticsManager",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "HapticsManager",
      "targets" : [
        "HapticsManager"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HapticsManager",
      "module_type" : "SwiftTarget",
      "name" : "HapticsManager",
      "path" : "Sources/HapticsManager",
      "product_dependencies" : [
        "DefaultsKit",
        "SimpleLogger"
      ],
      "product_memberships" : [
        "HapticsManager"
      ],
      "sources" : [
        "Internal/HapticSettings.swift",
        "Internal/HapticUserDefaultsSettings.swift",
        "Internal/HapticsManager.swift",
        "Internal/ViewModifier.swift",
        "Public/HapticAction.swift",
        "Public/HapticUserDefaultKeys.swift",
        "Public/LoggingMode.swift",
        "Public/View+Ext.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "HapticsManager"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme HapticsManager -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 HapticsManager -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:
  HapticsManager: /Users/admin/builder/spi-builder-workspace
  DefaultsKit: https://github.com/markbattistella/DefaultsKit @ 2.0.0
  SimpleLogger: https://github.com/markbattistella/SimpleLogger @ 1.1.0
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (7 targets)
    Target 'HapticsManager' in project 'HapticsManager'
        ➜ Explicit dependency on target 'HapticsManager' in project 'HapticsManager'
        ➜ Explicit dependency on target 'DefaultsKit' in project 'DefaultsKit'
        ➜ Explicit dependency on target 'SimpleLogger' in project 'SimpleLogger'
    Target 'HapticsManager' in project 'HapticsManager'
        ➜ Explicit dependency on target 'DefaultsKit' in project 'DefaultsKit'
        ➜ Explicit dependency on target 'SimpleLogger' in project 'SimpleLogger'
    Target 'SimpleLogger' in project 'SimpleLogger'
        ➜ Explicit dependency on target 'SimpleLogger' in project 'SimpleLogger'
    Target 'SimpleLogger' in project 'SimpleLogger' (no dependencies)
    Target 'DefaultsKit' in project 'DefaultsKit'
        ➜ Explicit dependency on target 'DefaultsKit' in project 'DefaultsKit'
        ➜ Explicit dependency on target 'DefaultsKit_DefaultsKit' in project 'DefaultsKit'
    Target 'DefaultsKit' in project 'DefaultsKit'
        ➜ Explicit dependency on target 'DefaultsKit_DefaultsKit' in project 'DefaultsKit'
    Target 'DefaultsKit_DefaultsKit' in project 'DefaultsKit' (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: d7103a2f49feefd090bc0dc628c45e55
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/d7103a2f49feefd090bc0dc628c45e55.xcbuilddata
error: The package product 'DefaultsKit' requires minimum platform version 11.0 for the macOS platform, but this target supports 10.13 (in target 'HapticsManager' from project 'HapticsManager')
error: The package product 'SimpleLogger' requires minimum platform version 12.0 for the macOS platform, but this target supports 10.13 (in target 'HapticsManager' from project 'HapticsManager')
--- 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 HapticsManager
(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 HapticsManager -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:
  HapticsManager: /Users/admin/builder/spi-builder-workspace
  DefaultsKit: https://github.com/markbattistella/DefaultsKit @ 2.0.0
  SimpleLogger: https://github.com/markbattistella/SimpleLogger @ 1.1.0
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (7 targets)
    Target 'HapticsManager' in project 'HapticsManager'
        ➜ Explicit dependency on target 'HapticsManager' in project 'HapticsManager'
        ➜ Explicit dependency on target 'DefaultsKit' in project 'DefaultsKit'
        ➜ Explicit dependency on target 'SimpleLogger' in project 'SimpleLogger'
    Target 'HapticsManager' in project 'HapticsManager'
        ➜ Explicit dependency on target 'DefaultsKit' in project 'DefaultsKit'
        ➜ Explicit dependency on target 'SimpleLogger' in project 'SimpleLogger'
    Target 'SimpleLogger' in project 'SimpleLogger'
        ➜ Explicit dependency on target 'SimpleLogger' in project 'SimpleLogger'
    Target 'SimpleLogger' in project 'SimpleLogger' (no dependencies)
    Target 'DefaultsKit' in project 'DefaultsKit'
        ➜ Explicit dependency on target 'DefaultsKit' in project 'DefaultsKit'
        ➜ Explicit dependency on target 'DefaultsKit_DefaultsKit' in project 'DefaultsKit'
    Target 'DefaultsKit' in project 'DefaultsKit'
        ➜ Explicit dependency on target 'DefaultsKit_DefaultsKit' in project 'DefaultsKit'
    Target 'DefaultsKit_DefaultsKit' in project 'DefaultsKit' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
error: The package product 'DefaultsKit' requires minimum platform version 11.0 for the macOS platform, but this target supports 10.13 (in target 'HapticsManager' from project 'HapticsManager')
error: The package product 'SimpleLogger' requires minimum platform version 12.0 for the macOS platform, but this target supports 10.13 (in target 'HapticsManager' from project 'HapticsManager')
--- 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 HapticsManager
(1 failure)
BUILD FAILURE 6.0 macosXcodebuild