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 DeviceAuthority, reference main (6e9f5a), with Swift 6.0 for watchOS using Xcode 16.2 on 29 Nov 2024 08:30:07 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme DeviceAuthority-Package -destination generic/platform=watchOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/getsidetrack/swift-device-authority.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/getsidetrack/swift-device-authority
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6e9f5ac Merge pull request #7 from 0xWDG/patch-1
Cloned https://github.com/getsidetrack/swift-device-authority.git
Revision (git rev-parse @):
6e9f5ac67e8ed9a252cbe1abd6aa5985fe772b0b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/getsidetrack/swift-device-authority.git at main
========================================
Build
========================================
Selected platform:         watchOS
Swift version:             6.0
Building package at path:  $PWD
https://github.com/getsidetrack/swift-device-authority.git
{
  "dependencies" : [
    {
      "identity" : "console-kit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.5.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/console-kit.git"
    },
    {
      "identity" : "shellout",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.3.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/JohnSundell/ShellOut.git"
    }
  ],
  "manifest_display_name" : "DeviceAuthority",
  "name" : "DeviceAuthority",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "DeviceAuthority",
      "targets" : [
        "DeviceAuthority"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "swift-device-authority",
      "targets" : [
        "CommandLine"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DeviceAuthorityTests",
      "module_type" : "SwiftTarget",
      "name" : "DeviceAuthorityTests",
      "path" : "Tests/DeviceAuthorityTests",
      "sources" : [
        "DeviceAuthorityTests.swift"
      ],
      "target_dependencies" : [
        "DeviceAuthority"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DeviceAuthority",
      "module_type" : "SwiftTarget",
      "name" : "DeviceAuthority",
      "path" : "Sources/DeviceAuthority",
      "product_memberships" : [
        "DeviceAuthority"
      ],
      "sources" : [
        "DeviceAuthority.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CommandLine",
      "module_type" : "SwiftTarget",
      "name" : "CommandLine",
      "path" : "Sources/CommandLine",
      "product_dependencies" : [
        "ConsoleKit",
        "ShellOut"
      ],
      "product_memberships" : [
        "swift-device-authority"
      ],
      "sources" : [
        "Command.swift",
        "CreateAuthorityCommand.swift",
        "CreateLeafCommand.swift",
        "MobileConfiguration.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.6"
}
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/JohnSundell/ShellOut.git
Fetching from https://github.com/vapor/console-kit.git
Fetching from https://github.com/apple/swift-log.git
Fetching from https://github.com/apple/swift-nio.git
Fetching from https://github.com/apple/swift-system.git
Fetching from https://github.com/apple/swift-atomics.git
Fetching from https://github.com/apple/swift-collections.git
Creating working copy of package ‘swift-collections’
Checking out 1.1.4 of package ‘swift-collections’
Creating working copy of package ‘ShellOut’
Checking out 2.3.0 of package ‘ShellOut’
Creating working copy of package ‘console-kit’
Checking out 4.15.1 of package ‘console-kit’
Creating working copy of package ‘swift-system’
Checking out 1.4.0 of package ‘swift-system’
Creating working copy of package ‘swift-log’
Checking out 1.6.2 of package ‘swift-log’
Creating working copy of package ‘swift-nio’
Checking out 2.77.0 of package ‘swift-nio’
Creating working copy of package ‘swift-atomics’
Checking out 1.2.0 of package ‘swift-atomics’
Resolve Package Graph
Resolved source packages:
  console-kit: https://github.com/vapor/console-kit.git @ 4.15.1
  ShellOut: https://github.com/JohnSundell/ShellOut.git @ 2.3.0
  DeviceAuthority: /Users/admin/builder/spi-builder-workspace
  swift-collections: https://github.com/apple/swift-collections.git @ 1.1.4
  swift-atomics: https://github.com/apple/swift-atomics.git @ 1.2.0
  swift-system: https://github.com/apple/swift-system.git @ 1.4.0
  swift-nio: https://github.com/apple/swift-nio.git @ 2.77.0
  swift-log: https://github.com/apple/swift-log.git @ 1.6.2
resolved source packages: console-kit, ShellOut, DeviceAuthority, swift-collections, swift-atomics, swift-system, swift-nio, swift-log
{
  "dependencies" : [
    {
      "identity" : "console-kit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.5.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/console-kit.git"
    },
    {
      "identity" : "shellout",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.3.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/JohnSundell/ShellOut.git"
    }
  ],
  "manifest_display_name" : "DeviceAuthority",
  "name" : "DeviceAuthority",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "DeviceAuthority",
      "targets" : [
        "DeviceAuthority"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "swift-device-authority",
      "targets" : [
        "CommandLine"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DeviceAuthorityTests",
      "module_type" : "SwiftTarget",
      "name" : "DeviceAuthorityTests",
      "path" : "Tests/DeviceAuthorityTests",
      "sources" : [
        "DeviceAuthorityTests.swift"
      ],
      "target_dependencies" : [
        "DeviceAuthority"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DeviceAuthority",
      "module_type" : "SwiftTarget",
      "name" : "DeviceAuthority",
      "path" : "Sources/DeviceAuthority",
      "product_memberships" : [
        "DeviceAuthority"
      ],
      "sources" : [
        "DeviceAuthority.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CommandLine",
      "module_type" : "SwiftTarget",
      "name" : "CommandLine",
      "path" : "Sources/CommandLine",
      "product_dependencies" : [
        "ConsoleKit",
        "ShellOut"
      ],
      "product_memberships" : [
        "swift-device-authority"
      ],
      "sources" : [
        "Command.swift",
        "CreateAuthorityCommand.swift",
        "CreateLeafCommand.swift",
        "MobileConfiguration.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.6"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "DeviceAuthority",
      "DeviceAuthority-Package",
      "swift-device-authority"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme DeviceAuthority-Package -destination generic/platform=watchOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures
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 DeviceAuthority-Package -destination generic/platform=watchOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures"
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 -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
  swift-system: https://github.com/apple/swift-system.git @ 1.4.0
  console-kit: https://github.com/vapor/console-kit.git @ 4.15.1
  swift-nio: https://github.com/apple/swift-nio.git @ 2.77.0
  DeviceAuthority: /Users/admin/builder/spi-builder-workspace
  swift-atomics: https://github.com/apple/swift-atomics.git @ 1.2.0
  swift-collections: https://github.com/apple/swift-collections.git @ 1.1.4
  ShellOut: https://github.com/JohnSundell/ShellOut.git @ 2.3.0
  swift-log: https://github.com/apple/swift-log.git @ 1.6.2
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (16 targets)
    Target 'CommandLine' in project 'DeviceAuthority'
        ➜ Explicit dependency on target 'ConsoleKit' in project 'console-kit'
        ➜ Explicit dependency on target 'ShellOut' in project 'ShellOut'
    Target 'DeviceAuthorityTests' in project 'DeviceAuthority'
        ➜ Explicit dependency on target 'DeviceAuthority' in project 'DeviceAuthority'
    Target 'swift-device-authority' in project 'DeviceAuthority'
        ➜ Explicit dependency on target 'ConsoleKit' in project 'console-kit'
        ➜ Explicit dependency on target 'ShellOut' in project 'ShellOut'
    Target 'ShellOut' in project 'ShellOut'
        ➜ Explicit dependency on target 'ShellOut' in project 'ShellOut'
    Target 'ShellOut' in project 'ShellOut' (no dependencies)
    Target 'ConsoleKit' in project 'console-kit'
        ➜ Explicit dependency on target 'ConsoleKit' in project 'console-kit'
        ➜ Explicit dependency on target 'ConsoleKitTerminal' in project 'console-kit'
        ➜ Explicit dependency on target 'ConsoleKitCommands' in project 'console-kit'
        ➜ Explicit dependency on target 'Logging' in project 'swift-log'
        ➜ Explicit dependency on target 'NIOConcurrencyHelpers' in project 'swift-nio'
    Target 'ConsoleKit' in project 'console-kit'
        ➜ Explicit dependency on target 'ConsoleKitTerminal' in project 'console-kit'
        ➜ Explicit dependency on target 'ConsoleKitCommands' in project 'console-kit'
        ➜ Explicit dependency on target 'Logging' in project 'swift-log'
        ➜ Explicit dependency on target 'NIOConcurrencyHelpers' in project 'swift-nio'
    Target 'ConsoleKitCommands' in project 'console-kit'
        ➜ Explicit dependency on target 'ConsoleKitTerminal' in project 'console-kit'
        ➜ Explicit dependency on target 'Logging' in project 'swift-log'
        ➜ Explicit dependency on target 'NIOConcurrencyHelpers' in project 'swift-nio'
    Target 'ConsoleKitTerminal' in project 'console-kit'
        ➜ Explicit dependency on target 'Logging' in project 'swift-log'
        ➜ Explicit dependency on target 'NIOConcurrencyHelpers' in project 'swift-nio'
    Target 'NIOConcurrencyHelpers' in project 'swift-nio'
        ➜ Explicit dependency on target 'NIOConcurrencyHelpers' in project 'swift-nio'
        ➜ Explicit dependency on target 'CNIOAtomics' in project 'swift-nio'
    Target 'NIOConcurrencyHelpers' in project 'swift-nio'
        ➜ Explicit dependency on target 'CNIOAtomics' in project 'swift-nio'
    Target 'CNIOAtomics' in project 'swift-nio' (no dependencies)
    Target 'Logging' in project 'swift-log'
        ➜ Explicit dependency on target 'Logging' in project 'swift-log'
    Target 'Logging' in project 'swift-log' (no dependencies)
    Target 'DeviceAuthority' in project 'DeviceAuthority'
        ➜ Explicit dependency on target 'DeviceAuthority' in project 'DeviceAuthority'
    Target 'DeviceAuthority' in project 'DeviceAuthority' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
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 -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 -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
ReadFileContents /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
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 c -c /dev/null
Build description signature: f83322dc594c425acab144ec3723c19c
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/f83322dc594c425acab144ec3723c19c.xcbuilddata
error: The package product 'ConsoleKit' requires minimum platform version 6.0 for the watchOS platform, but this target supports 5.0 (in target 'swift-device-authority' from project 'DeviceAuthority')
error: The package product 'ConsoleKit' requires minimum platform version 6.0 for the watchOS platform, but this target supports 5.0 (in target 'CommandLine' from project 'DeviceAuthority')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme DeviceAuthority-Package
(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 DeviceAuthority-Package -destination generic/platform=watchOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures"
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 -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures
Resolve Package Graph
Resolved source packages:
  swift-system: https://github.com/apple/swift-system.git @ 1.4.0
  swift-atomics: https://github.com/apple/swift-atomics.git @ 1.2.0
  console-kit: https://github.com/vapor/console-kit.git @ 4.15.1
  swift-nio: https://github.com/apple/swift-nio.git @ 2.77.0
  ShellOut: https://github.com/JohnSundell/ShellOut.git @ 2.3.0
  swift-collections: https://github.com/apple/swift-collections.git @ 1.1.4
  swift-log: https://github.com/apple/swift-log.git @ 1.6.2
  DeviceAuthority: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (16 targets)
    Target 'CommandLine' in project 'DeviceAuthority'
        ➜ Explicit dependency on target 'ConsoleKit' in project 'console-kit'
        ➜ Explicit dependency on target 'ShellOut' in project 'ShellOut'
    Target 'DeviceAuthorityTests' in project 'DeviceAuthority'
        ➜ Explicit dependency on target 'DeviceAuthority' in project 'DeviceAuthority'
    Target 'swift-device-authority' in project 'DeviceAuthority'
        ➜ Explicit dependency on target 'ConsoleKit' in project 'console-kit'
        ➜ Explicit dependency on target 'ShellOut' in project 'ShellOut'
    Target 'ShellOut' in project 'ShellOut'
        ➜ Explicit dependency on target 'ShellOut' in project 'ShellOut'
    Target 'ShellOut' in project 'ShellOut' (no dependencies)
    Target 'ConsoleKit' in project 'console-kit'
        ➜ Explicit dependency on target 'ConsoleKit' in project 'console-kit'
        ➜ Explicit dependency on target 'ConsoleKitTerminal' in project 'console-kit'
        ➜ Explicit dependency on target 'ConsoleKitCommands' in project 'console-kit'
        ➜ Explicit dependency on target 'Logging' in project 'swift-log'
        ➜ Explicit dependency on target 'NIOConcurrencyHelpers' in project 'swift-nio'
    Target 'ConsoleKit' in project 'console-kit'
        ➜ Explicit dependency on target 'ConsoleKitTerminal' in project 'console-kit'
        ➜ Explicit dependency on target 'ConsoleKitCommands' in project 'console-kit'
        ➜ Explicit dependency on target 'Logging' in project 'swift-log'
        ➜ Explicit dependency on target 'NIOConcurrencyHelpers' in project 'swift-nio'
    Target 'ConsoleKitCommands' in project 'console-kit'
        ➜ Explicit dependency on target 'ConsoleKitTerminal' in project 'console-kit'
        ➜ Explicit dependency on target 'Logging' in project 'swift-log'
        ➜ Explicit dependency on target 'NIOConcurrencyHelpers' in project 'swift-nio'
    Target 'ConsoleKitTerminal' in project 'console-kit'
        ➜ Explicit dependency on target 'Logging' in project 'swift-log'
        ➜ Explicit dependency on target 'NIOConcurrencyHelpers' in project 'swift-nio'
    Target 'NIOConcurrencyHelpers' in project 'swift-nio'
        ➜ Explicit dependency on target 'NIOConcurrencyHelpers' in project 'swift-nio'
        ➜ Explicit dependency on target 'CNIOAtomics' in project 'swift-nio'
    Target 'NIOConcurrencyHelpers' in project 'swift-nio'
        ➜ Explicit dependency on target 'CNIOAtomics' in project 'swift-nio'
    Target 'CNIOAtomics' in project 'swift-nio' (no dependencies)
    Target 'Logging' in project 'swift-log'
        ➜ Explicit dependency on target 'Logging' in project 'swift-log'
    Target 'Logging' in project 'swift-log' (no dependencies)
    Target 'DeviceAuthority' in project 'DeviceAuthority'
        ➜ Explicit dependency on target 'DeviceAuthority' in project 'DeviceAuthority'
    Target 'DeviceAuthority' in project 'DeviceAuthority' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
error: The package product 'ConsoleKit' requires minimum platform version 6.0 for the watchOS platform, but this target supports 5.0 (in target 'CommandLine' from project 'DeviceAuthority')
error: The package product 'ConsoleKit' requires minimum platform version 6.0 for the watchOS platform, but this target supports 5.0 (in target 'swift-device-authority' from project 'DeviceAuthority')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme DeviceAuthority-Package
(1 failure)
BUILD FAILURE 6.0 watchOS