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 SwiftSystemd, reference 1.0.0 (d343aa), with Swift 6.0 for watchOS using Xcode 16.0 on 13 Oct 2024 10:00:25 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SwiftSystemd -destination generic/platform=watchOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MihaelIsaev/SwiftSystemd.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/MihaelIsaev/SwiftSystemd
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at d343aa2 🧹 Cleanup
Cloned https://github.com/MihaelIsaev/SwiftSystemd.git
Revision (git rev-parse @):
d343aa249d7ea6c3cb56e822204143caa07dfa33
SUCCESS checkout https://github.com/MihaelIsaev/SwiftSystemd.git at 1.0.0
========================================
Build
========================================
Selected platform:         watchOS
Swift version:             6.0
Building package at path:  $PWD
https://github.com/MihaelIsaev/SwiftSystemd.git
Command line invocation:
    /Applications/Xcode-16.0.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/vapor/console-kit
Fetching from https://github.com/MihaelIsaev/SwiftBash
Fetching from https://github.com/apple/swift-nio.git
Fetching from https://github.com/apple/swift-log.git
Fetching from https://github.com/apple/swift-collections.git
Fetching from https://github.com/apple/swift-atomics.git
Fetching from https://github.com/apple/swift-system.git
Creating working copy of package ‘swift-nio’
Checking out 2.74.0 of package ‘swift-nio’
Creating working copy of package ‘swift-system’
Checking out 1.3.2 of package ‘swift-system’
Creating working copy of package ‘swift-log’
Checking out 1.6.1 of package ‘swift-log’
Creating working copy of package ‘swift-collections’
Checking out 1.1.4 of package ‘swift-collections’
Creating working copy of package ‘SwiftBash’
Checking out 1.0.0 of package ‘SwiftBash’
Creating working copy of package ‘swift-atomics’
Checking out 1.2.0 of package ‘swift-atomics’
Creating working copy of package ‘console-kit’
Checking out 4.15.0 of package ‘console-kit’
Resolve Package Graph
Resolved source packages:
  swift-nio: https://github.com/apple/swift-nio.git @ 2.74.0
  swift-collections: https://github.com/apple/swift-collections.git @ 1.1.4
  swift-atomics: https://github.com/apple/swift-atomics.git @ 1.2.0
  console-kit: https://github.com/vapor/console-kit @ 4.15.0
  SwiftSystemd: /Users/admin/builder/spi-builder-workspace
  swift-log: https://github.com/apple/swift-log.git @ 1.6.1
  swift-system: https://github.com/apple/swift-system.git @ 1.3.2
  SwiftBash: https://github.com/MihaelIsaev/SwiftBash @ 1.0.0
resolved source packages: swift-nio, swift-collections, swift-atomics, console-kit, SwiftSystemd, swift-log, swift-system, SwiftBash
{
  "dependencies" : [
    {
      "identity" : "console-kit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.15.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/console-kit"
    },
    {
      "identity" : "swiftbash",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/MihaelIsaev/SwiftBash"
    }
  ],
  "manifest_display_name" : "SwiftSystemd",
  "name" : "SwiftSystemd",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "systemd",
      "targets" : [
        "systemd"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "systemdTests",
      "module_type" : "SwiftTarget",
      "name" : "systemdTests",
      "path" : "Tests/systemdTests",
      "sources" : [
        "XCTestManifests.swift",
        "systemdTests.swift"
      ],
      "target_dependencies" : [
        "systemd"
      ],
      "type" : "test"
    },
    {
      "c99name" : "systemd",
      "module_type" : "SwiftTarget",
      "name" : "systemd",
      "path" : "Sources/systemd",
      "product_dependencies" : [
        "ConsoleKit",
        "Bash"
      ],
      "product_memberships" : [
        "systemd"
      ],
      "sources" : [
        "Commands/DisableCommand.swift",
        "Commands/EditCommand.swift",
        "Commands/EnableCommand.swift",
        "Commands/InstallCommand.swift",
        "Commands/KillCommand.swift",
        "Commands/LogsCommand.swift",
        "Commands/ReloadDaemonCommand.swift",
        "Commands/RestartCommand.swift",
        "Commands/StartCommand.swift",
        "Commands/StatusCommand.swift",
        "Commands/StopCommand.swift",
        "Commands/UninstallCommand.swift",
        "Commands/VersionCommand.swift",
        "Extensions/Console+Abort.swift",
        "Extensions/String+Fragment.swift",
        "Helpers/Journalctl.swift",
        "Helpers/Swift.swift",
        "Helpers/Systemctl.swift",
        "Helpers/Users.swift",
        "main.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.8"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "SwiftSystemd"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SwiftSystemd -destination generic/platform=watchOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete
Command line invocation:
    /Applications/Xcode-16.0.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 SwiftSystemd -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:
  SwiftSystemd: /Users/admin/builder/spi-builder-workspace
  swift-atomics: https://github.com/apple/swift-atomics.git @ 1.2.0
  console-kit: https://github.com/vapor/console-kit @ 4.15.0
  swift-nio: https://github.com/apple/swift-nio.git @ 2.74.0
  swift-log: https://github.com/apple/swift-log.git @ 1.6.1
  swift-system: https://github.com/apple/swift-system.git @ 1.3.2
  swift-collections: https://github.com/apple/swift-collections.git @ 1.1.4
  SwiftBash: https://github.com/MihaelIsaev/SwiftBash @ 1.0.0
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (12 targets)
    Target 'systemd' in project 'SwiftSystemd'
        ➜ Explicit dependency on target 'ConsoleKit' in project 'console-kit'
        ➜ Explicit dependency on target 'Bash' in project 'SwiftBash'
    Target 'Bash' in project 'SwiftBash'
        ➜ Explicit dependency on target 'Bash' in project 'SwiftBash'
    Target 'Bash' in project 'SwiftBash' (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)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.0.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.0.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
ReadFileContents /Applications/Xcode-16.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
ExecuteExternalTool /Applications/Xcode-16.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch armv7k -isysroot /Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.0.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64_32 -isysroot /Applications/Xcode-16.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.0.sdk -x c -c /dev/null
Build description signature: 838f4315f134b99598805a9fa90663e9
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/838f4315f134b99598805a9fa90663e9.xcbuilddata
error: The package product 'ConsoleKit' requires minimum platform version 6.0 for the watchOS platform, but this target supports 5.0 (in target 'systemd' from project 'SwiftSystemd')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme SwiftSystemd
(1 failure)
Command line invocation:
    /Applications/Xcode-16.0.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 SwiftSystemd -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:
  swift-system: https://github.com/apple/swift-system.git @ 1.3.2
  swift-nio: https://github.com/apple/swift-nio.git @ 2.74.0
  SwiftSystemd: /Users/admin/builder/spi-builder-workspace
  swift-collections: https://github.com/apple/swift-collections.git @ 1.1.4
  SwiftBash: https://github.com/MihaelIsaev/SwiftBash @ 1.0.0
  swift-atomics: https://github.com/apple/swift-atomics.git @ 1.2.0
  console-kit: https://github.com/vapor/console-kit @ 4.15.0
  swift-log: https://github.com/apple/swift-log.git @ 1.6.1
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (12 targets)
    Target 'systemd' in project 'SwiftSystemd'
        ➜ Explicit dependency on target 'ConsoleKit' in project 'console-kit'
        ➜ Explicit dependency on target 'Bash' in project 'SwiftBash'
    Target 'Bash' in project 'SwiftBash'
        ➜ Explicit dependency on target 'Bash' in project 'SwiftBash'
    Target 'Bash' in project 'SwiftBash' (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)
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 'systemd' from project 'SwiftSystemd')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme SwiftSystemd
(1 failure)
BUILD FAILURE 6.0 watchOS