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, reference 2.0.0 (4f3270), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 19:23:52 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/ericlewis/ActivityIndicatorView.git
Reference: 2.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ericlewis/ActivityIndicatorView
 * tag               2.0.0      -> FETCH_HEAD
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 2.0.0
========================================
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": "activityindicatorview",
      "name": "ActivityIndicatorView",
      "url": "https://github.com/ericlewis/ActivityIndicatorView.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ActivityIndicatorView",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/ericlewis/ActivityIndicatorView.git
[1/68] Fetching activityindicatorview
Fetched https://github.com/ericlewis/ActivityIndicatorView.git from cache (0.62s)
Creating working copy for https://github.com/ericlewis/ActivityIndicatorView.git
Working copy of https://github.com/ericlewis/ActivityIndicatorView.git resolved at 2.0.0 (4f3270a)
warning: '.resolve-product-dependencies': dependency 'activityindicatorview' 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/ericlewis/ActivityIndicatorView.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.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