The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build hcitool, reference master (52fa8a), with Swift 6.0 for watchOS using Xcode 16.2 on 26 Nov 2024 13:40:44 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme hcitool -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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/millertechnologyperu/hcitool.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/millertechnologyperu/hcitool
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 52fa8a2 Updated GitHub CI
Cloned https://github.com/millertechnologyperu/hcitool.git
Revision (git rev-parse @):
52fa8a281a43914e699c383753072df46914cdbc
SUCCESS checkout https://github.com/millertechnologyperu/hcitool.git at master
========================================
Build
========================================
Selected platform:         watchOS
Swift version:             6.0
Building package at path:  $PWD
https://github.com/millertechnologyperu/hcitool.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/PureSwift/BluetoothLinux.git
Fetching from https://github.com/PureSwift/Bluetooth.git
Fetching from https://github.com/PureSwift/Socket.git
Fetching from https://github.com/apple/swift-argument-parser
Fetching from https://github.com/apple/swift-system
Creating working copy of package ‘swift-system’
Checking out 1.4.0 of package ‘swift-system’
Creating working copy of package ‘BluetoothLinux’
Checking out master (d102e1b) of package ‘BluetoothLinux’
Creating working copy of package ‘swift-argument-parser’
Checking out 1.1.4 of package ‘swift-argument-parser’
Creating working copy of package ‘Socket’
Checking out main (253aef8) of package ‘Socket’
Creating working copy of package ‘Bluetooth’
Checking out master (47b7d33) of package ‘Bluetooth’
Resolve Package Graph
Resolved source packages:
  swift-argument-parser: https://github.com/apple/swift-argument-parser @ 1.1.4
  swift-system: https://github.com/apple/swift-system @ 1.4.0
  BluetoothLinux: https://github.com/PureSwift/BluetoothLinux.git @ master (d102e1b)
  hcitool: /Users/admin/builder/spi-builder-workspace
  Socket: https://github.com/PureSwift/Socket.git @ main (253aef8)
  Bluetooth: https://github.com/PureSwift/Bluetooth.git @ master (47b7d33)
resolved source packages: swift-argument-parser, swift-system, BluetoothLinux, hcitool, Socket, Bluetooth
{
  "dependencies" : [
    {
      "identity" : "bluetoothlinux",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/PureSwift/BluetoothLinux.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "1.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "hcitool",
  "name" : "hcitool",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "hcitool",
      "targets" : [
        "hcitool"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "hcitool",
      "module_type" : "SwiftTarget",
      "name" : "hcitool",
      "path" : "Sources/hcitool",
      "product_dependencies" : [
        "BluetoothLinux",
        "ArgumentParser"
      ],
      "product_memberships" : [
        "hcitool"
      ],
      "sources" : [
        "Argument.swift",
        "DeviceCommand.swift",
        "LEScan.swift",
        "ListDevices.swift",
        "hcitool.swift",
        "iBeacon.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "HCIToolTests",
      "module_type" : "SwiftTarget",
      "name" : "HCIToolTests",
      "path" : "Tests/HCIToolTests",
      "sources" : [
        "HCIToolTests.swift"
      ],
      "target_dependencies" : [
        "hcitool"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "5.5"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "hcitool"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme hcitool -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 hcitool -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:
  BluetoothLinux: https://github.com/PureSwift/BluetoothLinux.git @ master (d102e1b)
  swift-argument-parser: https://github.com/apple/swift-argument-parser @ 1.1.4
  swift-system: https://github.com/apple/swift-system @ 1.4.0
  Socket: https://github.com/PureSwift/Socket.git @ main (253aef8)
  Bluetooth: https://github.com/PureSwift/Bluetooth.git @ master (47b7d33)
  hcitool: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (18 targets)
    Target 'hcitool' in project 'hcitool'
        ➜ Explicit dependency on target 'BluetoothLinux' in project 'BluetoothLinux'
        ➜ Explicit dependency on target 'ArgumentParser' in project 'swift-argument-parser'
    Target 'ArgumentParser' in project 'swift-argument-parser'
        ➜ Explicit dependency on target 'ArgumentParser' in project 'swift-argument-parser'
        ➜ Explicit dependency on target 'ArgumentParserToolInfo' in project 'swift-argument-parser'
    Target 'ArgumentParser' in project 'swift-argument-parser'
        ➜ Explicit dependency on target 'ArgumentParserToolInfo' in project 'swift-argument-parser'
    Target 'ArgumentParserToolInfo' in project 'swift-argument-parser' (no dependencies)
    Target 'BluetoothLinux' in project 'BluetoothLinux'
        ➜ Explicit dependency on target 'BluetoothLinux' in project 'BluetoothLinux'
        ➜ Explicit dependency on target 'CBluetoothLinux' in project 'BluetoothLinux'
        ➜ Explicit dependency on target 'Bluetooth' in project 'Bluetooth'
        ➜ Explicit dependency on target 'BluetoothHCI' in project 'Bluetooth'
        ➜ Explicit dependency on target 'Socket' in project 'Socket'
    Target 'BluetoothLinux' in project 'BluetoothLinux'
        ➜ Explicit dependency on target 'CBluetoothLinux' in project 'BluetoothLinux'
        ➜ Explicit dependency on target 'Bluetooth' in project 'Bluetooth'
        ➜ Explicit dependency on target 'BluetoothHCI' in project 'Bluetooth'
        ➜ Explicit dependency on target 'Socket' in project 'Socket'
    Target 'Socket' in project 'Socket'
        ➜ Explicit dependency on target 'Socket' in project 'Socket'
        ➜ Explicit dependency on target 'CSocket' in project 'Socket'
        ➜ Explicit dependency on target 'SystemPackage' in project 'swift-system'
    Target 'Socket' in project 'Socket'
        ➜ Explicit dependency on target 'CSocket' in project 'Socket'
        ➜ Explicit dependency on target 'SystemPackage' in project 'swift-system'
    Target 'SystemPackage' in project 'swift-system'
        ➜ Explicit dependency on target 'SystemPackage' in project 'swift-system'
        ➜ Explicit dependency on target 'CSystem' in project 'swift-system'
    Target 'SystemPackage' in project 'swift-system'
        ➜ Explicit dependency on target 'CSystem' in project 'swift-system'
    Target 'CSystem' in project 'swift-system' (no dependencies)
    Target 'CSocket' in project 'Socket' (no dependencies)
    Target 'BluetoothHCI' in project 'Bluetooth'
        ➜ Explicit dependency on target 'BluetoothHCI' in project 'Bluetooth'
        ➜ Explicit dependency on target 'Bluetooth' in project 'Bluetooth'
        ➜ Explicit dependency on target 'BluetoothGAP' in project 'Bluetooth'
    Target 'BluetoothHCI' in project 'Bluetooth'
        ➜ Explicit dependency on target 'Bluetooth' in project 'Bluetooth'
        ➜ Explicit dependency on target 'BluetoothGAP' in project 'Bluetooth'
    Target 'BluetoothGAP' in project 'Bluetooth'
        ➜ Explicit dependency on target 'Bluetooth' in project 'Bluetooth'
    Target 'Bluetooth' in project 'Bluetooth'
        ➜ Explicit dependency on target 'Bluetooth' in project 'Bluetooth'
    Target 'Bluetooth' in project 'Bluetooth' (no dependencies)
    Target 'CBluetoothLinux' in project 'BluetoothLinux' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
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/swiftc --version
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: 18cffd921e43d1f2d113e0b47501b6a9
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/18cffd921e43d1f2d113e0b47501b6a9.xcbuilddata
error: The package product 'BluetoothLinux' requires minimum platform version 6.0 for the watchOS platform, but this target supports 5.0 (in target 'hcitool' from project 'hcitool')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme hcitool
(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 hcitool -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:
  hcitool: /Users/admin/builder/spi-builder-workspace
  swift-argument-parser: https://github.com/apple/swift-argument-parser @ 1.1.4
  swift-system: https://github.com/apple/swift-system @ 1.4.0
  Socket: https://github.com/PureSwift/Socket.git @ main (253aef8)
  Bluetooth: https://github.com/PureSwift/Bluetooth.git @ master (47b7d33)
  BluetoothLinux: https://github.com/PureSwift/BluetoothLinux.git @ master (d102e1b)
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (18 targets)
    Target 'hcitool' in project 'hcitool'
        ➜ Explicit dependency on target 'BluetoothLinux' in project 'BluetoothLinux'
        ➜ Explicit dependency on target 'ArgumentParser' in project 'swift-argument-parser'
    Target 'ArgumentParser' in project 'swift-argument-parser'
        ➜ Explicit dependency on target 'ArgumentParser' in project 'swift-argument-parser'
        ➜ Explicit dependency on target 'ArgumentParserToolInfo' in project 'swift-argument-parser'
    Target 'ArgumentParser' in project 'swift-argument-parser'
        ➜ Explicit dependency on target 'ArgumentParserToolInfo' in project 'swift-argument-parser'
    Target 'ArgumentParserToolInfo' in project 'swift-argument-parser' (no dependencies)
    Target 'BluetoothLinux' in project 'BluetoothLinux'
        ➜ Explicit dependency on target 'BluetoothLinux' in project 'BluetoothLinux'
        ➜ Explicit dependency on target 'CBluetoothLinux' in project 'BluetoothLinux'
        ➜ Explicit dependency on target 'Bluetooth' in project 'Bluetooth'
        ➜ Explicit dependency on target 'BluetoothHCI' in project 'Bluetooth'
        ➜ Explicit dependency on target 'Socket' in project 'Socket'
    Target 'BluetoothLinux' in project 'BluetoothLinux'
        ➜ Explicit dependency on target 'CBluetoothLinux' in project 'BluetoothLinux'
        ➜ Explicit dependency on target 'Bluetooth' in project 'Bluetooth'
        ➜ Explicit dependency on target 'BluetoothHCI' in project 'Bluetooth'
        ➜ Explicit dependency on target 'Socket' in project 'Socket'
    Target 'Socket' in project 'Socket'
        ➜ Explicit dependency on target 'Socket' in project 'Socket'
        ➜ Explicit dependency on target 'CSocket' in project 'Socket'
        ➜ Explicit dependency on target 'SystemPackage' in project 'swift-system'
    Target 'Socket' in project 'Socket'
        ➜ Explicit dependency on target 'CSocket' in project 'Socket'
        ➜ Explicit dependency on target 'SystemPackage' in project 'swift-system'
    Target 'SystemPackage' in project 'swift-system'
        ➜ Explicit dependency on target 'SystemPackage' in project 'swift-system'
        ➜ Explicit dependency on target 'CSystem' in project 'swift-system'
    Target 'SystemPackage' in project 'swift-system'
        ➜ Explicit dependency on target 'CSystem' in project 'swift-system'
    Target 'CSystem' in project 'swift-system' (no dependencies)
    Target 'CSocket' in project 'Socket' (no dependencies)
    Target 'BluetoothHCI' in project 'Bluetooth'
        ➜ Explicit dependency on target 'BluetoothHCI' in project 'Bluetooth'
        ➜ Explicit dependency on target 'Bluetooth' in project 'Bluetooth'
        ➜ Explicit dependency on target 'BluetoothGAP' in project 'Bluetooth'
    Target 'BluetoothHCI' in project 'Bluetooth'
        ➜ Explicit dependency on target 'Bluetooth' in project 'Bluetooth'
        ➜ Explicit dependency on target 'BluetoothGAP' in project 'Bluetooth'
    Target 'BluetoothGAP' in project 'Bluetooth'
        ➜ Explicit dependency on target 'Bluetooth' in project 'Bluetooth'
    Target 'Bluetooth' in project 'Bluetooth'
        ➜ Explicit dependency on target 'Bluetooth' in project 'Bluetooth'
    Target 'Bluetooth' in project 'Bluetooth' (no dependencies)
    Target 'CBluetoothLinux' in project 'BluetoothLinux' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
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/swiftc --version
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: 18cffd921e43d1f2d113e0b47501b6a9
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/18cffd921e43d1f2d113e0b47501b6a9.xcbuilddata
error: The package product 'BluetoothLinux' requires minimum platform version 6.0 for the watchOS platform, but this target supports 5.0 (in target 'hcitool' from project 'hcitool')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme hcitool
(1 failure)
BUILD FAILURE 6.0 watchOS