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 SwiftySensors, reference master (334b9a), with Swift 6.0 for watchOS using Xcode 16.0 on 1 Nov 2024 00:05:29 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SwiftySensors -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/codeinversion/sensors-swift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/codeinversion/sensors-swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 334b9a4 Adding additional platforms to SPM Package file
Cloned https://github.com/codeinversion/sensors-swift.git
Revision (git rev-parse @):
334b9a4636501bc10daae26ecef23dd667fc3054
SUCCESS checkout https://github.com/codeinversion/sensors-swift.git at master
========================================
Build
========================================
Selected platform:         watchOS
Swift version:             6.0
Building package at path:  $PWD
https://github.com/codeinversion/sensors-swift.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" : "signals",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.1.0",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/artman/Signals"
    }
  ],
  "manifest_display_name" : "SwiftySensors",
  "name" : "SwiftySensors",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftySensors",
      "targets" : [
        "SwiftySensors"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftySensors",
      "module_type" : "SwiftTarget",
      "name" : "SwiftySensors",
      "path" : "Sources/SwiftySensors",
      "product_dependencies" : [
        "Signals"
      ],
      "product_memberships" : [
        "SwiftySensors"
      ],
      "sources" : [
        "Characteristic.swift",
        "CoreBluetooth.swift",
        "CyclingPowerSerializer.swift",
        "CyclingPowerService.swift",
        "CyclingSerializer.swift",
        "CyclingSpeedCadenceSerializer.swift",
        "CyclingSpeedCadenceService.swift",
        "DeviceInformationService.swift",
        "FitnessMachineSerializer.swift",
        "FitnessMachineService.swift",
        "HeartRateSerializer.swift",
        "HeartRateService.swift",
        "Operators.swift",
        "RSSINormalizer.swift",
        "Sensor.swift",
        "SensorManager.swift",
        "Service.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
{
  "project" : {
    "configurations" : [
      "Debug",
      "Release"
    ],
    "name" : "SwiftySensors",
    "schemes" : [
      "SwiftySensors iOS",
      "SwiftySensors macOS",
      "SwiftySensors tvOS",
      "SwiftySensorsExample"
    ],
    "targets" : [
      "SwiftySensors iOS",
      "SwiftySensors macOS",
      "SwiftySensors tvOS",
      "SwiftySensorsExample"
    ]
  }
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "SwiftySensors"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SwiftySensors -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 SwiftySensors -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:
  SwiftySensors: /Users/admin/builder/spi-builder-workspace
  Signals: https://github.com/artman/Signals @ 6.1.0
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (4 targets)
    Target 'SwiftySensors' in project 'SwiftySensors'
        ➜ Explicit dependency on target 'SwiftySensors' in project 'SwiftySensors'
        ➜ Explicit dependency on target 'Signals' in project 'Signals'
    Target 'SwiftySensors' in project 'SwiftySensors'
        ➜ Explicit dependency on target 'Signals' in project 'Signals'
    Target 'Signals' in project 'Signals'
        ➜ Explicit dependency on target 'Signals' in project 'Signals'
    Target 'Signals' in project 'Signals' (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/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/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 2729c5f0c3f3fb995421c9a09e3a57e2
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/2729c5f0c3f3fb995421c9a09e3a57e2.xcbuilddata
error: The package product 'Signals' requires minimum platform version 5.0 for the watchOS platform, but this target supports 4.0 (in target 'SwiftySensors' from project 'SwiftySensors')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme SwiftySensors
(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 SwiftySensors -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:
  Signals: https://github.com/artman/Signals @ 6.1.0
  SwiftySensors: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (4 targets)
    Target 'SwiftySensors' in project 'SwiftySensors'
        ➜ Explicit dependency on target 'SwiftySensors' in project 'SwiftySensors'
        ➜ Explicit dependency on target 'Signals' in project 'Signals'
    Target 'SwiftySensors' in project 'SwiftySensors'
        ➜ Explicit dependency on target 'Signals' in project 'Signals'
    Target 'Signals' in project 'Signals'
        ➜ Explicit dependency on target 'Signals' in project 'Signals'
    Target 'Signals' in project 'Signals' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
error: The package product 'Signals' requires minimum platform version 5.0 for the watchOS platform, but this target supports 4.0 (in target 'SwiftySensors' from project 'SwiftySensors')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme SwiftySensors
(1 failure)
BUILD FAILURE 6.0 watchOS