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 5.10 for macOS (SPM) on 3 Sep 2024 21:32:43 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.52.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/91] Fetching networkconnectionmanager
Fetched https://github.com/Melsaeed276/NetworkConnectionManager.git from cache (1.14s)
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:             5.10
Building package at path:  $PWD
https://github.com/Melsaeed276/NetworkConnectionManager.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
[3/10] Compiling NetworkConnection StringExt.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkConnection/NetworkConnection.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[4/10] Compiling NetworkConnection InternetAlert.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkConnection/NetworkConnection.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[5/10] Compiling NetworkConnection UIKitExt.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkConnection/NetworkConnection.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[6/10] Compiling NetworkConnection SwiftUIExt.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkConnection/NetworkConnection.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/10] Emitting module NetworkConnection
/Users/admin/builder/spi-builder-workspace/Sources/NetworkConnection/NetworkConnection.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[8/10] Compiling NetworkConnection NetworkConnection.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkConnection/NetworkConnection.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[9/10] Compiling NetworkConnection NetworkStatusController.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkConnection/NetworkConnection.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[10/10] Compiling NetworkConnection FontExt.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkConnection/NetworkConnection.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
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 5.10 macosSpm