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 snap-settings-service, reference 0.1.0 (6fa3bd), with Swift 6.0 for macOS (Xcode) using Xcode 16.0 on 4 Nov 2024 19:56:48 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme snap-settings-service -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/simonnickel/snap-settings-service.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/simonnickel/snap-settings-service
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 6fa3bd1 Update readme
Cloned https://github.com/simonnickel/snap-settings-service.git
Revision (git rev-parse @):
6fa3bd1844e2581f1157ecb96c05ba2637247968
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/simonnickel/snap-settings-service.git at 0.1.0
========================================
Build
========================================
Selected platform:         macosXcodebuild
Swift version:             6.0
Building package at path:  $PWD
https://github.com/simonnickel/snap-settings-service.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/simonnickel/snap-core.git
Fetching from https://github.com/simonnickel/snap-foundation.git
Creating working copy of package ‘snap-core’
Checking out main (f1dc2e7) of package ‘snap-core’
Creating working copy of package ‘snap-foundation’
Checking out main (cb8215e) of package ‘snap-foundation’
Resolve Package Graph
Resolved source packages:
  snap-core: https://github.com/simonnickel/snap-core.git @ main (f1dc2e7)
  snap-foundation: https://github.com/simonnickel/snap-foundation.git @ main (cb8215e)
  snap-settings-service: /Users/admin/builder/spi-builder-workspace
resolved source packages: snap-core, snap-foundation, snap-settings-service
{
  "dependencies" : [
    {
      "identity" : "snap-core",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/simonnickel/snap-core.git"
    }
  ],
  "manifest_display_name" : "snap-settings-service",
  "name" : "snap-settings-service",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "SnapSettingsService",
      "targets" : [
        "SnapSettingsService"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SnapSettingsServiceTests",
      "module_type" : "SwiftTarget",
      "name" : "SnapSettingsServiceTests",
      "path" : "Tests/SnapSettingsServiceTests",
      "sources" : [
        "SnapSettingsServiceTests.swift"
      ],
      "target_dependencies" : [
        "SnapSettingsService"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SnapSettingsService",
      "module_type" : "SwiftTarget",
      "name" : "SnapSettingsService",
      "path" : "Sources/SnapSettingsService",
      "product_dependencies" : [
        "SnapCore"
      ],
      "product_memberships" : [
        "SnapSettingsService"
      ],
      "sources" : [
        "Environment.swift",
        "Settings+Logger.swift",
        "Settings+Scope.swift",
        "Settings+Setting.swift",
        "Settings+StorageKey.swift",
        "Settings+Value.swift",
        "SettingsService.swift",
        "SettingsStore+NSUbiquitousKeyValueStore.swift",
        "SettingsStore+UserDefaults.swift",
        "SettingsStore.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "snap-settings-service"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme snap-settings-service -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 snap-settings-service -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:
  snap-settings-service: /Users/admin/builder/spi-builder-workspace
  snap-foundation: https://github.com/simonnickel/snap-foundation.git @ main (cb8215e)
  snap-core: https://github.com/simonnickel/snap-core.git @ main (f1dc2e7)
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (6 targets)
    Target 'SnapSettingsService' in project 'snap-settings-service'
        ➜ Explicit dependency on target 'SnapSettingsService' in project 'snap-settings-service'
        ➜ Explicit dependency on target 'SnapCore' in project 'snap-core'
    Target 'SnapSettingsService' in project 'snap-settings-service'
        ➜ Explicit dependency on target 'SnapCore' in project 'snap-core'
    Target 'SnapCore' in project 'snap-core'
        ➜ Explicit dependency on target 'SnapCore' in project 'snap-core'
        ➜ Explicit dependency on target 'SnapFoundation' in project 'snap-foundation'
    Target 'SnapCore' in project 'snap-core'
        ➜ Explicit dependency on target 'SnapFoundation' in project 'snap-foundation'
    Target 'SnapFoundation' in project 'snap-foundation'
        ➜ Explicit dependency on target 'SnapFoundation' in project 'snap-foundation'
    Target 'SnapFoundation' in project 'snap-foundation' (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: ee50c68955b73ac920e1c13ae3bcaf7c
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/ee50c68955b73ac920e1c13ae3bcaf7c.xcbuilddata
error: The package product 'SnapCore' requires minimum platform version 15.0 for the macOS platform, but this target supports 14.0 (in target 'SnapSettingsService' from project 'snap-settings-service')
--- 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 snap-settings-service
(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 snap-settings-service -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:
  snap-foundation: https://github.com/simonnickel/snap-foundation.git @ main (cb8215e)
  snap-core: https://github.com/simonnickel/snap-core.git @ main (f1dc2e7)
  snap-settings-service: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (6 targets)
    Target 'SnapSettingsService' in project 'snap-settings-service'
        ➜ Explicit dependency on target 'SnapSettingsService' in project 'snap-settings-service'
        ➜ Explicit dependency on target 'SnapCore' in project 'snap-core'
    Target 'SnapSettingsService' in project 'snap-settings-service'
        ➜ Explicit dependency on target 'SnapCore' in project 'snap-core'
    Target 'SnapCore' in project 'snap-core'
        ➜ Explicit dependency on target 'SnapCore' in project 'snap-core'
        ➜ Explicit dependency on target 'SnapFoundation' in project 'snap-foundation'
    Target 'SnapCore' in project 'snap-core'
        ➜ Explicit dependency on target 'SnapFoundation' in project 'snap-foundation'
    Target 'SnapFoundation' in project 'snap-foundation'
        ➜ Explicit dependency on target 'SnapFoundation' in project 'snap-foundation'
    Target 'SnapFoundation' in project 'snap-foundation' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
error: The package product 'SnapCore' requires minimum platform version 15.0 for the macOS platform, but this target supports 14.0 (in target 'SnapSettingsService' from project 'snap-settings-service')
--- 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 snap-settings-service
(1 failure)
BUILD FAILURE 6.0 macosXcodebuild