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 BerkananSDK, reference master (7bcbad), with Swift 6.0 for watchOS using Xcode 16.0 on 31 Oct 2024 07:44:11 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme BerkananSDK -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/zssz/BerkananSDK.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/zssz/BerkananSDK
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7bcbad7 Update README.md
Cloned https://github.com/zssz/BerkananSDK.git
Revision (git rev-parse @):
7bcbad726aa451e09860a0a9ae77414ded9a0f4f
SUCCESS checkout https://github.com/zssz/BerkananSDK.git at master
========================================
Build
========================================
Selected platform:         watchOS
Swift version:             6.0
Building package at path:  $PWD
https://github.com/zssz/BerkananSDK.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/apple/swift-protobuf.git
Fetching from https://github.com/zssz/BerkananCompression
Fetching from https://github.com/zssz/BerkananFoundation
Creating working copy of package ‘swift-protobuf’
Checking out 1.28.2 of package ‘swift-protobuf’
Creating working copy of package ‘BerkananCompression’
Checking out 1.0.3 of package ‘BerkananCompression’
Creating working copy of package ‘BerkananFoundation’
Checking out 1.0.0 of package ‘BerkananFoundation’
Resolve Package Graph
Resolved source packages:
  BerkananFoundation: https://github.com/zssz/BerkananFoundation @ 1.0.0
  BerkananCompression: https://github.com/zssz/BerkananCompression @ 1.0.3
  BerkananSDK: /Users/admin/builder/spi-builder-workspace
  SwiftProtobuf: https://github.com/apple/swift-protobuf.git @ 1.28.2
resolved source packages: BerkananFoundation, BerkananCompression, BerkananSDK, SwiftProtobuf
{
  "dependencies" : [
    {
      "identity" : "swift-protobuf",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.7.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-protobuf.git"
    },
    {
      "identity" : "berkananfoundation",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/zssz/BerkananFoundation"
    },
    {
      "identity" : "berkanancompression",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/zssz/BerkananCompression"
    }
  ],
  "manifest_display_name" : "BerkananSDK",
  "name" : "BerkananSDK",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "BerkananSDK",
      "targets" : [
        "BerkananSDK"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "CBerkananSDK",
      "module_type" : "ClangTarget",
      "name" : "CBerkananSDK",
      "path" : "Sources/CBerkananSDK",
      "product_memberships" : [
        "BerkananSDK"
      ],
      "sources" : [
        "CBMutableCharacteristic+Init.m",
        "CBMutableService+Init.m",
        "CBPeripheralManager+Init.m"
      ],
      "type" : "library"
    },
    {
      "c99name" : "BerkananSDKTests",
      "module_type" : "SwiftTarget",
      "name" : "BerkananSDKTests",
      "path" : "Tests/BerkananSDKTests",
      "sources" : [
        "BerkananSDKTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "BerkananSDK"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BerkananSDK",
      "module_type" : "SwiftTarget",
      "name" : "BerkananSDK",
      "path" : "Sources/BerkananSDK",
      "product_dependencies" : [
        "SwiftProtobuf",
        "BerkananFoundation",
        "BerkananCompression"
      ],
      "product_memberships" : [
        "BerkananSDK"
      ],
      "sources" : [
        "BerkananBluetoothService.swift",
        "Bluetooth/BluetoothController.swift",
        "Bluetooth/BluetoothService+CoreBluetooth.swift",
        "Bluetooth/BluetoothService.swift",
        "Bluetooth/CBPeripheral+Notifications.swift",
        "Foundation/UUID+Protobuf.swift",
        "Protobuf/Configuration+Additions.swift",
        "Protobuf/Configuration+PDU.swift",
        "Protobuf/Configuration.pb.swift",
        "Protobuf/Message+Additions.swift",
        "Protobuf/Message+PDU.swift",
        "Protobuf/Message.pb.swift",
        "Protobuf/PBUUID+Additions.swift",
        "Protobuf/PBUUID+PayloadTypes.swift",
        "Protobuf/PBUUID.pb.swift",
        "Protobuf/PublicMessage+Additions.swift",
        "Protobuf/PublicMessage.pb.swift",
        "Protobuf/User+Additions.swift",
        "Protobuf/User.pb.swift"
      ],
      "target_dependencies" : [
        "CBerkananSDK"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "BerkananSDK"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme BerkananSDK -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 BerkananSDK -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:
  BerkananCompression: https://github.com/zssz/BerkananCompression @ 1.0.3
  BerkananFoundation: https://github.com/zssz/BerkananFoundation @ 1.0.0
  SwiftProtobuf: https://github.com/apple/swift-protobuf.git @ 1.28.2
  BerkananSDK: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (10 targets)
    Target 'BerkananSDK' in project 'BerkananSDK'
        ➜ Explicit dependency on target 'BerkananSDK' in project 'BerkananSDK'
        ➜ Explicit dependency on target 'CBerkananSDK' in project 'BerkananSDK'
        ➜ Explicit dependency on target 'SwiftProtobuf' in project 'SwiftProtobuf'
        ➜ Explicit dependency on target 'BerkananFoundation' in project 'BerkananFoundation'
        ➜ Explicit dependency on target 'BerkananCompression' in project 'BerkananCompression'
    Target 'BerkananSDK' in project 'BerkananSDK'
        ➜ Explicit dependency on target 'CBerkananSDK' in project 'BerkananSDK'
        ➜ Explicit dependency on target 'SwiftProtobuf' in project 'SwiftProtobuf'
        ➜ Explicit dependency on target 'BerkananFoundation' in project 'BerkananFoundation'
        ➜ Explicit dependency on target 'BerkananCompression' in project 'BerkananCompression'
    Target 'BerkananCompression' in project 'BerkananCompression'
        ➜ Explicit dependency on target 'BerkananCompression' in project 'BerkananCompression'
    Target 'BerkananCompression' in project 'BerkananCompression' (no dependencies)
    Target 'BerkananFoundation' in project 'BerkananFoundation'
        ➜ Explicit dependency on target 'BerkananFoundation' in project 'BerkananFoundation'
    Target 'BerkananFoundation' in project 'BerkananFoundation' (no dependencies)
    Target 'SwiftProtobuf' in project 'SwiftProtobuf'
        ➜ Explicit dependency on target 'SwiftProtobuf' in project 'SwiftProtobuf'
        ➜ Explicit dependency on target 'SwiftProtobuf_SwiftProtobuf' in project 'SwiftProtobuf'
    Target 'SwiftProtobuf' in project 'SwiftProtobuf'
        ➜ Explicit dependency on target 'SwiftProtobuf_SwiftProtobuf' in project 'SwiftProtobuf'
    Target 'SwiftProtobuf_SwiftProtobuf' in project 'SwiftProtobuf' (no dependencies)
    Target 'CBerkananSDK' in project 'BerkananSDK' (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 objective-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 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 -arch armv7k -isysroot /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.1.sdk -x objective-c -c /dev/null
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 objective-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: 7915166c752e4faad6ee2453f0e2facd
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/7915166c752e4faad6ee2453f0e2facd.xcbuilddata
error: The package product 'SwiftProtobuf' requires minimum platform version 5.0 for the watchOS platform, but this target supports 4.0 (in target 'BerkananSDK' from project 'BerkananSDK')
error: The package product 'BerkananFoundation' requires minimum platform version 5.0 for the watchOS platform, but this target supports 4.0 (in target 'BerkananSDK' from project 'BerkananSDK')
error: The package product 'BerkananCompression' requires minimum platform version 5.0 for the watchOS platform, but this target supports 4.0 (in target 'BerkananSDK' from project 'BerkananSDK')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme BerkananSDK
(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 BerkananSDK -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:
  BerkananFoundation: https://github.com/zssz/BerkananFoundation @ 1.0.0
  BerkananCompression: https://github.com/zssz/BerkananCompression @ 1.0.3
  BerkananSDK: /Users/admin/builder/spi-builder-workspace
  SwiftProtobuf: https://github.com/apple/swift-protobuf.git @ 1.28.2
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (10 targets)
    Target 'BerkananSDK' in project 'BerkananSDK'
        ➜ Explicit dependency on target 'BerkananSDK' in project 'BerkananSDK'
        ➜ Explicit dependency on target 'CBerkananSDK' in project 'BerkananSDK'
        ➜ Explicit dependency on target 'SwiftProtobuf' in project 'SwiftProtobuf'
        ➜ Explicit dependency on target 'BerkananFoundation' in project 'BerkananFoundation'
        ➜ Explicit dependency on target 'BerkananCompression' in project 'BerkananCompression'
    Target 'BerkananSDK' in project 'BerkananSDK'
        ➜ Explicit dependency on target 'CBerkananSDK' in project 'BerkananSDK'
        ➜ Explicit dependency on target 'SwiftProtobuf' in project 'SwiftProtobuf'
        ➜ Explicit dependency on target 'BerkananFoundation' in project 'BerkananFoundation'
        ➜ Explicit dependency on target 'BerkananCompression' in project 'BerkananCompression'
    Target 'BerkananCompression' in project 'BerkananCompression'
        ➜ Explicit dependency on target 'BerkananCompression' in project 'BerkananCompression'
    Target 'BerkananCompression' in project 'BerkananCompression' (no dependencies)
    Target 'BerkananFoundation' in project 'BerkananFoundation'
        ➜ Explicit dependency on target 'BerkananFoundation' in project 'BerkananFoundation'
    Target 'BerkananFoundation' in project 'BerkananFoundation' (no dependencies)
    Target 'SwiftProtobuf' in project 'SwiftProtobuf'
        ➜ Explicit dependency on target 'SwiftProtobuf' in project 'SwiftProtobuf'
        ➜ Explicit dependency on target 'SwiftProtobuf_SwiftProtobuf' in project 'SwiftProtobuf'
    Target 'SwiftProtobuf' in project 'SwiftProtobuf'
        ➜ Explicit dependency on target 'SwiftProtobuf_SwiftProtobuf' in project 'SwiftProtobuf'
    Target 'SwiftProtobuf_SwiftProtobuf' in project 'SwiftProtobuf' (no dependencies)
    Target 'CBerkananSDK' in project 'BerkananSDK' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
error: The package product 'BerkananCompression' requires minimum platform version 5.0 for the watchOS platform, but this target supports 4.0 (in target 'BerkananSDK' from project 'BerkananSDK')
error: The package product 'BerkananFoundation' requires minimum platform version 5.0 for the watchOS platform, but this target supports 4.0 (in target 'BerkananSDK' from project 'BerkananSDK')
error: The package product 'SwiftProtobuf' requires minimum platform version 5.0 for the watchOS platform, but this target supports 4.0 (in target 'BerkananSDK' from project 'BerkananSDK')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme BerkananSDK
(1 failure)
BUILD FAILURE 6.0 watchOS