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 NetworkConnection, reference main (ed299c), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 23:45:38 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/Melsaeed276/NetworkConnectionManager.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Melsaeed276/NetworkConnectionManager
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ed299ca bugfix
Cloned https://github.com/Melsaeed276/NetworkConnectionManager.git
Revision (git rev-parse @):
ed299cac162f9e934502b9d9fa7ca463b2041020
SUCCESS checkout https://github.com/Melsaeed276/NetworkConnectionManager.git at main
========================================
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": "networkconnectionmanager",
      "name": "NetworkConnection",
      "url": "https://github.com/Melsaeed276/NetworkConnectionManager.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/NetworkConnectionManager",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Melsaeed276/NetworkConnectionManager.git
[1/97] Fetching networkconnectionmanager
Fetched https://github.com/Melsaeed276/NetworkConnectionManager.git from cache (0.67s)
Creating working copy for https://github.com/Melsaeed276/NetworkConnectionManager.git
Working copy of https://github.com/Melsaeed276/NetworkConnectionManager.git resolved at main (ed299ca)
warning: '.resolve-product-dependencies': dependency 'networkconnectionmanager' 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/Melsaeed276/NetworkConnectionManager.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
[3/10] Compiling NetworkConnection SwiftUIExt.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkConnection/NetworkConnection.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import SwiftUI
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 | import Combine
 11 | import Network
[4/10] Compiling NetworkConnection InternetAlert.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkConnection/NetworkConnection.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import SwiftUI
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 | import Combine
 11 | import Network
[5/10] Compiling NetworkConnection UIKitExt.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkConnection/NetworkConnection.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import SwiftUI
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 | import Combine
 11 | import Network
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/10] Emitting module NetworkConnection
/Users/admin/builder/spi-builder-workspace/Sources/NetworkConnection/NetworkConnection.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import SwiftUI
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 | import Combine
 11 | import Network
[7/10] Compiling NetworkConnection FontExt.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkConnection/NetworkConnection.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import SwiftUI
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 | import Combine
 11 | import Network
[8/10] Compiling NetworkConnection NetworkConnection.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkConnection/NetworkConnection.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import SwiftUI
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 | import Combine
 11 | import Network
[9/10] Compiling NetworkConnection NetworkStatusController.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkConnection/NetworkConnection.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import SwiftUI
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 | import Combine
 11 | import Network
[10/10] Compiling NetworkConnection StringExt.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkConnection/NetworkConnection.swift:9:8: error: no such module 'UIKit'
  7 |
  8 | import SwiftUI
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 | import Combine
 11 | import Network
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/NetworkConnection/Resources/Localizable.xcstrings
BUILD FAILURE 6.0 macosSpm