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 CtrlHub, reference main (c33168), with Swift 6.0 for macOS (SPM) on 14 Nov 2024 01:51:10 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ctrl-hub/sdk.swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ctrl-hub/sdk.swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c331688 Adds manufacturers, models and specs to vehicles
Cloned https://github.com/ctrl-hub/sdk.swift.git
Revision (git rev-parse @):
c331688168575ab2f9f3f1a0dec5a5d32cd8495b
SUCCESS checkout https://github.com/ctrl-hub/sdk.swift.git at main
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/DataDog/swift-jsonapi.git
[10/915] Fetching swift-jsonapi
[916/67417] Fetching swift-jsonapi, swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (3.41s)
Fetched https://github.com/DataDog/swift-jsonapi.git from cache (3.41s)
Creating working copy for https://github.com/DataDog/swift-jsonapi.git
Working copy of https://github.com/DataDog/swift-jsonapi.git resolved at 0.1.1
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 510.0.3
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "sdk.swift",
      "name": "CtrlHub",
      "url": "https://github.com/ctrl-hub/sdk.swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/sdk.swift",
      "dependencies": [
        {
          "identity": "swift-jsonapi",
          "name": "swift-jsonapi",
          "url": "https://github.com/DataDog/swift-jsonapi.git",
          "version": "0.1.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-jsonapi",
          "dependencies": [
            {
              "identity": "swift-syntax",
              "name": "swift-syntax",
              "url": "https://github.com/swiftlang/swift-syntax",
              "version": "510.0.3",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/ctrl-hub/sdk.swift.git
[5/476] Fetching sdk.swift
Fetched https://github.com/ctrl-hub/sdk.swift.git from cache (0.78s)
Fetching https://github.com/DataDog/swift-jsonapi.git from cache
Fetched https://github.com/DataDog/swift-jsonapi.git from cache (0.45s)
Computing version for https://github.com/DataDog/swift-jsonapi.git
Computed https://github.com/DataDog/swift-jsonapi.git at 0.1.1 (0.42s)
Fetching https://github.com/swiftlang/swift-syntax from cache
Fetched https://github.com/swiftlang/swift-syntax from cache (0.88s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 510.0.3 (0.59s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 510.0.3
Creating working copy for https://github.com/ctrl-hub/sdk.swift.git
Working copy of https://github.com/ctrl-hub/sdk.swift.git resolved at main (c331688)
Creating working copy for https://github.com/DataDog/swift-jsonapi.git
Working copy of https://github.com/DataDog/swift-jsonapi.git resolved at 0.1.1
warning: '.resolve-product-dependencies': dependency 'sdk.swift' is not used by any target
Found 1 product dependencies
  - swift-jsonapi
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/ctrl-hub/sdk.swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
error: the library 'CtrlHub' requires macos 10.13, but depends on the product 'JSONAPI' which requires macos 10.15; consider changing the library 'CtrlHub' to require macos 10.15 or later, or the product 'JSONAPI' to require macos 10.13 or earlier.
BUILD FAILURE 6.0 macosSpm