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 RatingControl, reference main (c2679e), with Swift 5.9 for macOS (SPM) on 19 Apr 2025 22:04:35 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yonat/RatingControl.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/yonat/RatingControl
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c2679e7 Fix value crop after changing maxValue
Cloned https://github.com/yonat/RatingControl.git
Revision (git rev-parse @):
c2679e725e2d0a4720db3aeaea81f0924fa5f6de
SUCCESS checkout https://github.com/yonat/RatingControl.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/yonat/RatingControl.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/1] Copying PrivacyInfo.xcprivacy
[2/5] Compiling RatingControl resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module RatingControl
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[4/5] Compiling RatingControl RatingView.swift
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
[5/5] Compiling RatingControl RatingControl.swift
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/RatingControl.swift:8:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.9 macosSpm