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 Router, reference 1.3.1 (2e9630), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 00:15:41 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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/freshOS/Router-deprecated.git
Reference: 1.3.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/freshOS/Router-deprecated
 * tag               1.3.1      -> FETCH_HEAD
HEAD is now at 2e96309 Updates Package.swift
Cloned https://github.com/freshOS/Router-deprecated.git
Revision (git rev-parse @):
2e9630986637f2911e32a6748d63e5c10ea93fe4
SUCCESS checkout https://github.com/freshOS/Router-deprecated.git at 1.3.1
========================================
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": "router-deprecated",
      "name": "Router",
      "url": "https://github.com/freshOS/Router-deprecated.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Router-deprecated",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/freshOS/Router-deprecated.git
[1/200] Fetching router-deprecated
Fetched https://github.com/freshOS/Router-deprecated.git from cache (1.16s)
Creating working copy for https://github.com/freshOS/Router-deprecated.git
Working copy of https://github.com/freshOS/Router-deprecated.git resolved at 1.3.1 (2e96309)
warning: '.resolve-product-dependencies': dependency 'router-deprecated' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/freshOS/Router-deprecated.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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module Router
/Users/admin/builder/spi-builder-workspace/Sources/Router/Router.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | public class Router {
[4/4] Compiling Router Router.swift
/Users/admin/builder/spi-builder-workspace/Sources/Router/Router.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | public class Router {
BUILD FAILURE 6.0 macosSpm