This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 ActivityIndicatorView with Swift 6.0 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ericlewis/ActivityIndicatorView.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ericlewis/ActivityIndicatorView
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 4f3270a chore: add MIT license
Cloned https://github.com/ericlewis/ActivityIndicatorView.git
Revision (git rev-parse @):
4f3270aa7113594d3792a420b4ed4c9ae0a8a16d
SUCCESS checkout https://github.com/ericlewis/ActivityIndicatorView.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/ericlewis/ActivityIndicatorView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module ActivityIndicatorView
<unknown>:0: error: invalid value '5.1' in '-swift-version 5.1'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
/Users/admin/builder/spi-builder-workspace/Sources/ActivityIndicatorView/ActivityIndicatorView.swift:5:16: error: cannot find type 'UIColor' in scope
 3 | public struct ActivityIndicatorView: UIViewRepresentable {
 4 |     @Binding var isAnimating: Bool
 5 |     var color: UIColor
   |                `- error: cannot find type 'UIColor' in scope
 6 |     var style: UIActivityIndicatorView.Style
 7 |
/Users/admin/builder/spi-builder-workspace/Sources/ActivityIndicatorView/ActivityIndicatorView.swift:6:16: error: cannot find type 'UIActivityIndicatorView' in scope
 4 |     @Binding var isAnimating: Bool
 5 |     var color: UIColor
 6 |     var style: UIActivityIndicatorView.Style
   |                `- error: cannot find type 'UIActivityIndicatorView' in scope
 7 |
 8 |     public init(isAnimating: Binding<Bool> = .constant(true), style: UIActivityIndicatorView.Style = .medium, color: UIColor = .systemGray) {
/Users/admin/builder/spi-builder-workspace/Sources/ActivityIndicatorView/ActivityIndicatorView.swift:8:70: error: cannot find type 'UIActivityIndicatorView' in scope
 6 |     var style: UIActivityIndicatorView.Style
 7 |
 8 |     public init(isAnimating: Binding<Bool> = .constant(true), style: UIActivityIndicatorView.Style = .medium, color: UIColor = .systemGray) {
   |                                                                      `- error: cannot find type 'UIActivityIndicatorView' in scope
 9 |         _isAnimating = isAnimating
10 |         self.style = style
/Users/admin/builder/spi-builder-workspace/Sources/ActivityIndicatorView/ActivityIndicatorView.swift:8:118: error: cannot find type 'UIColor' in scope
 6 |     var style: UIActivityIndicatorView.Style
 7 |
 8 |     public init(isAnimating: Binding<Bool> = .constant(true), style: UIActivityIndicatorView.Style = .medium, color: UIColor = .systemGray) {
   |                                                                                                                      `- error: cannot find type 'UIColor' in scope
 9 |         _isAnimating = isAnimating
10 |         self.style = style
/Users/admin/builder/spi-builder-workspace/Sources/ActivityIndicatorView/ActivityIndicatorView.swift:14:49: error: cannot find type 'UIActivityIndicatorView' in scope
12 |     }
13 |
14 |     public func makeUIView(context: Context) -> UIActivityIndicatorView {
   |                                                 `- error: cannot find type 'UIActivityIndicatorView' in scope
15 |         UIActivityIndicatorView(style: style)
16 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ActivityIndicatorView/ActivityIndicatorView.swift:14:37: error: cannot find type 'Context' in scope
12 |     }
13 |
14 |     public func makeUIView(context: Context) -> UIActivityIndicatorView {
   |                                     `- error: cannot find type 'Context' in scope
15 |         UIActivityIndicatorView(style: style)
16 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ActivityIndicatorView/ActivityIndicatorView.swift:18:40: error: cannot find type 'UIActivityIndicatorView' in scope
16 |     }
17 |
18 |     public func updateUIView(_ uiView: UIActivityIndicatorView, context: Context) {
   |                                        `- error: cannot find type 'UIActivityIndicatorView' in scope
19 |         uiView.color = self.color
20 |         self.isAnimating ? uiView.startAnimating() : uiView.stopAnimating()
/Users/admin/builder/spi-builder-workspace/Sources/ActivityIndicatorView/ActivityIndicatorView.swift:18:74: error: cannot find type 'Context' in scope
16 |     }
17 |
18 |     public func updateUIView(_ uiView: UIActivityIndicatorView, context: Context) {
   |                                                                          `- error: cannot find type 'Context' in scope
19 |         uiView.color = self.color
20 |         self.isAnimating ? uiView.startAnimating() : uiView.stopAnimating()
/Users/admin/builder/spi-builder-workspace/Sources/ActivityIndicatorView/ActivityIndicatorView.swift:3:38: error: cannot find type 'UIViewRepresentable' in scope
 1 | import SwiftUI
 2 |
 3 | public struct ActivityIndicatorView: UIViewRepresentable {
   |                                      `- error: cannot find type 'UIViewRepresentable' in scope
 4 |     @Binding var isAnimating: Bool
 5 |     var color: UIColor
[4/4] Compiling ActivityIndicatorView ActivityIndicatorView.swift
<unknown>:0: error: invalid value '5.1' in '-swift-version 5.1'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
/Users/admin/builder/spi-builder-workspace/Sources/ActivityIndicatorView/ActivityIndicatorView.swift:5:16: error: cannot find type 'UIColor' in scope
 3 | public struct ActivityIndicatorView: UIViewRepresentable {
 4 |     @Binding var isAnimating: Bool
 5 |     var color: UIColor
   |                `- error: cannot find type 'UIColor' in scope
 6 |     var style: UIActivityIndicatorView.Style
 7 |
/Users/admin/builder/spi-builder-workspace/Sources/ActivityIndicatorView/ActivityIndicatorView.swift:6:16: error: cannot find type 'UIActivityIndicatorView' in scope
 4 |     @Binding var isAnimating: Bool
 5 |     var color: UIColor
 6 |     var style: UIActivityIndicatorView.Style
   |                `- error: cannot find type 'UIActivityIndicatorView' in scope
 7 |
 8 |     public init(isAnimating: Binding<Bool> = .constant(true), style: UIActivityIndicatorView.Style = .medium, color: UIColor = .systemGray) {
/Users/admin/builder/spi-builder-workspace/Sources/ActivityIndicatorView/ActivityIndicatorView.swift:8:70: error: cannot find type 'UIActivityIndicatorView' in scope
 6 |     var style: UIActivityIndicatorView.Style
 7 |
 8 |     public init(isAnimating: Binding<Bool> = .constant(true), style: UIActivityIndicatorView.Style = .medium, color: UIColor = .systemGray) {
   |                                                                      `- error: cannot find type 'UIActivityIndicatorView' in scope
 9 |         _isAnimating = isAnimating
10 |         self.style = style
/Users/admin/builder/spi-builder-workspace/Sources/ActivityIndicatorView/ActivityIndicatorView.swift:8:118: error: cannot find type 'UIColor' in scope
 6 |     var style: UIActivityIndicatorView.Style
 7 |
 8 |     public init(isAnimating: Binding<Bool> = .constant(true), style: UIActivityIndicatorView.Style = .medium, color: UIColor = .systemGray) {
   |                                                                                                                      `- error: cannot find type 'UIColor' in scope
 9 |         _isAnimating = isAnimating
10 |         self.style = style
/Users/admin/builder/spi-builder-workspace/Sources/ActivityIndicatorView/ActivityIndicatorView.swift:14:49: error: cannot find type 'UIActivityIndicatorView' in scope
12 |     }
13 |
14 |     public func makeUIView(context: Context) -> UIActivityIndicatorView {
   |                                                 `- error: cannot find type 'UIActivityIndicatorView' in scope
15 |         UIActivityIndicatorView(style: style)
16 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ActivityIndicatorView/ActivityIndicatorView.swift:14:37: error: cannot find type 'Context' in scope
12 |     }
13 |
14 |     public func makeUIView(context: Context) -> UIActivityIndicatorView {
   |                                     `- error: cannot find type 'Context' in scope
15 |         UIActivityIndicatorView(style: style)
16 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ActivityIndicatorView/ActivityIndicatorView.swift:18:40: error: cannot find type 'UIActivityIndicatorView' in scope
16 |     }
17 |
18 |     public func updateUIView(_ uiView: UIActivityIndicatorView, context: Context) {
   |                                        `- error: cannot find type 'UIActivityIndicatorView' in scope
19 |         uiView.color = self.color
20 |         self.isAnimating ? uiView.startAnimating() : uiView.stopAnimating()
/Users/admin/builder/spi-builder-workspace/Sources/ActivityIndicatorView/ActivityIndicatorView.swift:18:74: error: cannot find type 'Context' in scope
16 |     }
17 |
18 |     public func updateUIView(_ uiView: UIActivityIndicatorView, context: Context) {
   |                                                                          `- error: cannot find type 'Context' in scope
19 |         uiView.color = self.color
20 |         self.isAnimating ? uiView.startAnimating() : uiView.stopAnimating()
/Users/admin/builder/spi-builder-workspace/Sources/ActivityIndicatorView/ActivityIndicatorView.swift:3:38: error: cannot find type 'UIViewRepresentable' in scope
 1 | import SwiftUI
 2 |
 3 | public struct ActivityIndicatorView: UIViewRepresentable {
   |                                      `- error: cannot find type 'UIViewRepresentable' in scope
 4 |     @Binding var isAnimating: Bool
 5 |     var color: UIColor
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.