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 HCSlider, reference 0.1.1 (af6d14), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 10:23:53 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/0xdea110c8d/HCSlider.git
Reference: 0.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/0xdea110c8d/HCSlider
 * tag               0.1.1      -> FETCH_HEAD
HEAD is now at af6d143 minor improvements
Cloned https://github.com/0xdea110c8d/HCSlider.git
Revision (git rev-parse @):
af6d143c6f70c12b0c187bba6a36bc415c8dd800
SUCCESS checkout https://github.com/0xdea110c8d/HCSlider.git at 0.1.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": "hcslider",
      "name": "HCSlider",
      "url": "https://github.com/0xdea110c8d/HCSlider.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/HCSlider",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/0xdea110c8d/HCSlider.git
[1/193] Fetching hcslider
Fetched https://github.com/0xdea110c8d/HCSlider.git from cache (0.67s)
Creating working copy for https://github.com/0xdea110c8d/HCSlider.git
Working copy of https://github.com/0xdea110c8d/HCSlider.git resolved at 0.1.1 (af6d143)
warning: '.resolve-product-dependencies': dependency 'hcslider' 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/0xdea110c8d/HCSlider.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/3] Write sources
[1/3] Copying Assets.xcassets
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/13] Compiling HCSlider HCThumb.swift
/Users/admin/builder/spi-builder-workspace/Sources/HCSlider/Sources/Common/HCColoredView.swift:28:8: error: no such module 'UIKit'
26 | //
27 |
28 | import UIKit
   |        `- error: no such module 'UIKit'
29 |
30 | class HCColoredView: UIView {
[5/13] Compiling HCSlider resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/HCSlider/Sources/Common/HCColoredView.swift:28:8: error: no such module 'UIKit'
26 | //
27 |
28 | import UIKit
   |        `- error: no such module 'UIKit'
29 |
30 | class HCColoredView: UIView {
[6/13] Compiling HCSlider HCTrack.swift
/Users/admin/builder/spi-builder-workspace/Sources/HCSlider/Sources/Common/HCColoredView.swift:28:8: error: no such module 'UIKit'
26 | //
27 |
28 | import UIKit
   |        `- error: no such module 'UIKit'
29 |
30 | class HCColoredView: UIView {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/13] Compiling HCSlider CGPoint+Clamp.swift
/Users/admin/builder/spi-builder-workspace/Sources/HCSlider/Sources/Common/HCColoredView.swift:28:8: error: no such module 'UIKit'
26 | //
27 |
28 | import UIKit
   |        `- error: no such module 'UIKit'
29 |
30 | class HCColoredView: UIView {
[8/13] Compiling HCSlider CGFloat+Half.swift
/Users/admin/builder/spi-builder-workspace/Sources/HCSlider/Sources/Common/HCColoredView.swift:28:8: error: no such module 'UIKit'
26 | //
27 |
28 | import UIKit
   |        `- error: no such module 'UIKit'
29 |
30 | class HCColoredView: UIView {
[9/13] Compiling HCSlider HCSubtrack.swift
/Users/admin/builder/spi-builder-workspace/Sources/HCSlider/Sources/Common/HCColoredView.swift:28:8: error: no such module 'UIKit'
26 | //
27 |
28 | import UIKit
   |        `- error: no such module 'UIKit'
29 |
30 | class HCColoredView: UIView {
[10/13] Compiling HCSlider UIColor+.swift
/Users/admin/builder/spi-builder-workspace/Sources/HCSlider/Sources/Common/HCColoredView.swift:28:8: error: no such module 'UIKit'
26 | //
27 |
28 | import UIKit
   |        `- error: no such module 'UIKit'
29 |
30 | class HCColoredView: UIView {
[11/13] Emitting module HCSlider
/Users/admin/builder/spi-builder-workspace/Sources/HCSlider/Sources/Common/HCColoredView.swift:28:8: error: no such module 'UIKit'
26 | //
27 |
28 | import UIKit
   |        `- error: no such module 'UIKit'
29 |
30 | class HCColoredView: UIView {
[12/13] Compiling HCSlider HCSlider.swift
/Users/admin/builder/spi-builder-workspace/Sources/HCSlider/Sources/Common/HCColoredView.swift:28:8: error: no such module 'UIKit'
26 | //
27 |
28 | import UIKit
   |        `- error: no such module 'UIKit'
29 |
30 | class HCColoredView: UIView {
[13/13] Compiling HCSlider HCColoredView.swift
/Users/admin/builder/spi-builder-workspace/Sources/HCSlider/Sources/Common/HCColoredView.swift:28:8: error: no such module 'UIKit'
26 | //
27 |
28 | import UIKit
   |        `- error: no such module 'UIKit'
29 |
30 | class HCColoredView: UIView {
BUILD FAILURE 6.0 macosSpm