The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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
========================================
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": "resizingtextview",
      "name": "ResizingTextView",
      "url": "https://github.com/mshibanami/ResizingTextView.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ResizingTextView",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/mshibanami/ResizingTextView.git
[1/617] Fetching resizingtextview
Fetched https://github.com/mshibanami/ResizingTextView.git from cache (0.70s)
Creating working copy for https://github.com/mshibanami/ResizingTextView.git
Working copy of https://github.com/mshibanami/ResizingTextView.git resolved at 4.2.2 (fc69756)
warning: '.resolve-product-dependencies': dependency 'resizingtextview' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mshibanami/ResizingTextView.git
https://github.com/mshibanami/ResizingTextView.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ResizingTextView",
  "name" : "ResizingTextView",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "ResizingTextView",
      "targets" : [
        "ResizingTextView"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ResizingTextViewTests",
      "module_type" : "SwiftTarget",
      "name" : "ResizingTextViewTests",
      "path" : "Tests/ResizingTextViewTests",
      "sources" : [
        "ResizingTextViewTests.swift"
      ],
      "target_dependencies" : [
        "ResizingTextView"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ResizingTextView",
      "module_type" : "SwiftTarget",
      "name" : "ResizingTextView",
      "path" : "Sources/ResizingTextView",
      "product_memberships" : [
        "ResizingTextView"
      ],
      "sources" : [
        "CrossPlatformAliases.swift",
        "ResizingTextView.swift",
        "TextView (AppKit).swift",
        "TextView (UIKit).swift",
        "View+Extensions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/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 requirement from protocol 'Equatable'; 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 requirement from protocol 'Equatable'; 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
[4/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 requirement from protocol 'Equatable'; 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 requirement from protocol 'Equatable'; 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
[5/8] Compiling ResizingTextView TextView (UIKit).swift
[6/8] Compiling ResizingTextView TextView (AppKit).swift
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/TextView (AppKit).swift:205:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
203 |             // The `textDidChange()` delegate method is not called when the view is not focused AND the text is changed by undo/redo.
204 |             // This code is a fallback for when it happens.
205 |             Task { [weak self] in
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
206 |                 guard let self,
    |                           `- note: closure captures 'self' which is accessible to code in the current task
207 |                       let nsView,
208 |                       let window = await nsView.window,
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/TextView (AppKit).swift:213:23: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
211 |                     return
212 |                 }
213 |                 await updateTextView()
    |                       |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                       `- note: sending task-isolated 'self' to main actor-isolated instance method 'updateTextView()' risks causing data races between main actor-isolated and task-isolated uses
214 |             }
215 |         }
[7/8] Compiling ResizingTextView CrossPlatformAliases.swift
[8/8] Compiling ResizingTextView View+Extensions.swift
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/7] Compiling ResizingTextView View+Extensions.swift
[3/7] Compiling ResizingTextView TextView (UIKit).swift
[4/7] Compiling ResizingTextView CrossPlatformAliases.swift
[5/7] Compiling ResizingTextView TextView (AppKit).swift
[6/7] 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 requirement from protocol 'Equatable'; 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 requirement from protocol 'Equatable'; 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
[7/7] 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 requirement from protocol 'Equatable'; 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 requirement from protocol 'Equatable'; 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
BUILD FAILURE 6.1 macosSpm