The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build ResizingTextView, reference 4.2.2 (fc6975), with Swift 6.0 for macOS (SPM) on 19 Sep 2025 12:18:45 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mshibanami/ResizingTextView.git
Reference: 4.2.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mshibanami/ResizingTextView
 * tag               4.2.2      -> FETCH_HEAD
HEAD is now at fc69756 Fix that the content offset is sometimes at the bottom
Cloned https://github.com/mshibanami/ResizingTextView.git
Revision (git rev-parse @):
fc69756d54d8304b653b8fa13ecfbd483f88276e
SUCCESS checkout https://github.com/mshibanami/ResizingTextView.git at 4.2.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/mshibanami/ResizingTextView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
[3/8] Compiling ResizingTextView TextView (UIKit).swift
[4/8] Compiling ResizingTextView View+Extensions.swift
[5/8] Compiling ResizingTextView ResizingTextView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/ResizingTextView.swift:7:50: error: unknown attribute 'MainActor'
  5 | import SwiftUI
  6 |
  7 | @MainActor public struct ResizingTextView: View, @MainActor Equatable {
    |                                                  `- error: unknown attribute 'MainActor'
  8 | #if canImport(AppKit)
  9 |     @Environment(\.controlActiveState) private var controlActiveState
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/ResizingTextView.swift:253:24: warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
  5 | import SwiftUI
  6 |
  7 | @MainActor public struct ResizingTextView: View, @MainActor Equatable {
    |                                                             `- note: add '@preconcurrency' to the 'Equatable' conformance to defer isolation checking to run time
  8 | #if canImport(AppKit)
  9 |     @Environment(\.controlActiveState) private var controlActiveState
    :
251 |     }
252 |
253 |     public static func == (lhs: ResizingTextView, rhs: ResizingTextView) -> Bool {
    |                        |- warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |                        `- note: add 'nonisolated' to '==' to make this operator function not isolated to the actor
254 |         var result = lhs.text == rhs.text
255 |             && lhs.placeholder == rhs.placeholder
Swift.Equatable:2:17: note: '==' declared here
1 | public protocol Equatable {
2 |     static func == (lhs: Self, rhs: Self) -> Bool
  |                 `- note: '==' declared here
3 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/8] Compiling ResizingTextView TextView (AppKit).swift
[7/8] Compiling ResizingTextView CrossPlatformAliases.swift
[8/8] Emitting module ResizingTextView
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/ResizingTextView.swift:7:50: error: unknown attribute 'MainActor'
  5 | import SwiftUI
  6 |
  7 | @MainActor public struct ResizingTextView: View, @MainActor Equatable {
    |                                                  `- error: unknown attribute 'MainActor'
  8 | #if canImport(AppKit)
  9 |     @Environment(\.controlActiveState) private var controlActiveState
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/ResizingTextView.swift:253:24: warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
  5 | import SwiftUI
  6 |
  7 | @MainActor public struct ResizingTextView: View, @MainActor Equatable {
    |                                                             `- note: add '@preconcurrency' to the 'Equatable' conformance to defer isolation checking to run time
  8 | #if canImport(AppKit)
  9 |     @Environment(\.controlActiveState) private var controlActiveState
    :
251 |     }
252 |
253 |     public static func == (lhs: ResizingTextView, rhs: ResizingTextView) -> Bool {
    |                        |- warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |                        `- note: add 'nonisolated' to '==' to make this operator function not isolated to the actor
254 |         var result = lhs.text == rhs.text
255 |             && lhs.placeholder == rhs.placeholder
Swift.Equatable:2:17: note: '==' declared here
1 | public protocol Equatable {
2 |     static func == (lhs: Self, rhs: Self) -> Bool
  |                 `- note: '==' declared here
3 | }
BUILD FAILURE 6.0 macosSpm