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 SRGenericNetworkLayer, reference main (49816a), with Swift 6.0 (beta) for macOS (SPM) on 16 Sep 2024 20:16:15 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.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.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/siamakrostami/SRGenericNetworkLayer.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/siamakrostami/SRGenericNetworkLayer
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 49816a1 Create swift.yml
Cloned https://github.com/siamakrostami/SRGenericNetworkLayer.git
Revision (git rev-parse @):
49816a19dd50e2ae4b3ef28f0054a1a7386180e6
SUCCESS checkout https://github.com/siamakrostami/SRGenericNetworkLayer.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/siamakrostami/SRGenericNetworkLayer.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.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-117DEE11B69C53C9.txt
[3/15] Compiling SRGenericNetworkLayer SRGenericNetworkLayer.swift
/Users/admin/builder/spi-builder-workspace/Sources/HeaderHandler/HeaderHandler.swift:3:8: error: no such module 'UIKit'
  1 |
  2 | import Foundation
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public enum ConnectionHeaders: String{
[4/15] Compiling SRGenericNetworkLayer LogResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/HeaderHandler/HeaderHandler.swift:3:8: error: no such module 'UIKit'
  1 |
  2 | import Foundation
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public enum ConnectionHeaders: String{
[5/15] Compiling SRGenericNetworkLayer NetworkRouter.swift
/Users/admin/builder/spi-builder-workspace/Sources/HeaderHandler/HeaderHandler.swift:3:8: error: no such module 'UIKit'
  1 |
  2 | import Foundation
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public enum ConnectionHeaders: String{
[6/15] Compiling SRGenericNetworkLayer MimeType.swift
/Users/admin/builder/spi-builder-workspace/Sources/HeaderHandler/HeaderHandler.swift:3:8: error: no such module 'UIKit'
  1 |
  2 | import Foundation
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public enum ConnectionHeaders: String{
[7/16] Compiling SRGenericNetworkLayer NetworkError.swift
/Users/admin/builder/spi-builder-workspace/Sources/HeaderHandler/HeaderHandler.swift:3:8: error: no such module 'UIKit'
  1 |
  2 | import Foundation
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public enum ConnectionHeaders: String{
[8/16] Compiling SRGenericNetworkLayer HeaderHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/HeaderHandler/HeaderHandler.swift:3:8: error: no such module 'UIKit'
  1 |
  2 | import Foundation
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public enum ConnectionHeaders: String{
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/16] Emitting module SRGenericNetworkLayer
/Users/admin/builder/spi-builder-workspace/Sources/HeaderHandler/HeaderHandler.swift:3:8: error: no such module 'UIKit'
  1 |
  2 | import Foundation
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public enum ConnectionHeaders: String{
[10/16] Compiling SRGenericNetworkLayer APIClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/HeaderHandler/HeaderHandler.swift:3:8: error: no such module 'UIKit'
  1 |
  2 | import Foundation
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public enum ConnectionHeaders: String{
[11/16] Compiling SRGenericNetworkLayer Interceptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/HeaderHandler/HeaderHandler.swift:3:8: error: no such module 'UIKit'
  1 |
  2 | import Foundation
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public enum ConnectionHeaders: String{
[12/16] Compiling SRGenericNetworkLayer NetworkParameterEncoding.swift
/Users/admin/builder/spi-builder-workspace/Sources/HeaderHandler/HeaderHandler.swift:3:8: error: no such module 'UIKit'
  1 |
  2 | import Foundation
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public enum ConnectionHeaders: String{
[13/16] Compiling SRGenericNetworkLayer CustomErrorProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/HeaderHandler/HeaderHandler.swift:3:8: error: no such module 'UIKit'
  1 |
  2 | import Foundation
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public enum ConnectionHeaders: String{
[14/16] Compiling SRGenericNetworkLayer GeneralErrorResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/HeaderHandler/HeaderHandler.swift:3:8: error: no such module 'UIKit'
  1 |
  2 | import Foundation
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public enum ConnectionHeaders: String{
[15/16] Compiling SRGenericNetworkLayer Data+Extentions.swift
/Users/admin/builder/spi-builder-workspace/Sources/HeaderHandler/HeaderHandler.swift:3:8: error: no such module 'UIKit'
  1 |
  2 | import Foundation
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public enum ConnectionHeaders: String{
[16/16] Compiling SRGenericNetworkLayer UploadProgressDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/HeaderHandler/HeaderHandler.swift:3:8: error: no such module 'UIKit'
  1 |
  2 | import Foundation
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public enum ConnectionHeaders: String{
BUILD FAILURE 6.0 macosSpm