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 LHxHub, reference master (f10194), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 10:00:22 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/laohanme/LHxHub.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/laohanme/LHxHub
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at f101945 Bump to version 1.0.11
Cloned https://github.com/laohanme/LHxHub.git
Revision (git rev-parse @):
f1019455939fedcf77bf8b35283e0e323cb94854
SUCCESS checkout https://github.com/laohanme/LHxHub.git at master
========================================
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": "lhxhub",
      "name": "LHxHub",
      "url": "https://github.com/laohanme/LHxHub.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LHxHub",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/laohanme/LHxHub.git
[1/237] Fetching lhxhub
Fetched https://github.com/laohanme/LHxHub.git from cache (0.60s)
Creating working copy for https://github.com/laohanme/LHxHub.git
Working copy of https://github.com/laohanme/LHxHub.git resolved at master (f101945)
warning: '.resolve-product-dependencies': dependency 'lhxhub' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/laohanme/LHxHub.git
https://github.com/laohanme/LHxHub.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "LHxHub",
  "name" : "LHxHub",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "LHxHub",
      "targets" : [
        "LHxHub"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "LHxHubTests",
      "module_type" : "SwiftTarget",
      "name" : "LHxHubTests",
      "path" : "Tests/LHxHubTests",
      "sources" : [
        "LHxHubTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "LHxHub"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LHxHub",
      "module_type" : "SwiftTarget",
      "name" : "LHxHub",
      "path" : "Sources/LHxHub",
      "product_memberships" : [
        "LHxHub"
      ],
      "sources" : [
        "LHAlert.swift",
        "LHApp.swift",
        "LHAppStore.swift",
        "LHBadgeButton.swift",
        "LHColor.swift",
        "LHDateTime.swift",
        "LHLabel.swift",
        "LHNotificaion.swift",
        "LHService.swift",
        "LHString.swift",
        "LHTableView.swift",
        "LHView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/14] Compiling LHxHub LHNotificaion.swift
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
[4/15] Compiling LHxHub LHLabel.swift
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
[5/15] Compiling LHxHub LHTableView.swift
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
[6/15] Compiling LHxHub LHString.swift
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
[7/15] Compiling LHxHub LHDateTime.swift
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
[8/15] Compiling LHxHub LHService.swift
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
[9/15] Compiling LHxHub LHColor.swift
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
[10/15] Compiling LHxHub LHView.swift
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/15] Emitting module LHxHub
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
[12/15] Compiling LHxHub LHAlert.swift
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
[13/15] Compiling LHxHub LHApp.swift
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
[14/15] Compiling LHxHub LHAppStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
[15/15] Compiling LHxHub LHBadgeButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/13] Compiling LHxHub LHService.swift
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
[3/13] Compiling LHxHub LHTableView.swift
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
[4/14] Compiling LHxHub LHDateTime.swift
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
[5/14] Compiling LHxHub LHColor.swift
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
[6/14] Compiling LHxHub LHLabel.swift
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
[7/14] Compiling LHxHub LHNotificaion.swift
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
[8/14] Compiling LHxHub LHString.swift
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
[9/14] Compiling LHxHub LHView.swift
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/14] Emitting module LHxHub
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
[11/14] Compiling LHxHub LHAlert.swift
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
[12/14] Compiling LHxHub LHApp.swift
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
[13/14] Compiling LHxHub LHAppStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
[14/14] Compiling LHxHub LHBadgeButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/LHxHub/LHAlert.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | // MARK: Alert Type
BUILD FAILURE 6.1 macosSpm