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

Successful build of ResizingTextView, reference main (e00c35), with Swift 6.2 (beta) for macOS (SPM) on 23 Jun 2025 15:36:53 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mshibanami/ResizingTextView.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mshibanami/ResizingTextView
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e00c35d Support tvOS
Cloned https://github.com/mshibanami/ResizingTextView.git
Revision (git rev-parse @):
e00c35d288218092715a06f40aa24ef942d6386a
SUCCESS checkout https://github.com/mshibanami/ResizingTextView.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/mshibanami/ResizingTextView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/8] Compiling ResizingTextView View+Extensions.swift
[4/8] Compiling ResizingTextView TextView (UIKit).swift
[5/8] Compiling ResizingTextView ResizingTextView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/ResizingTextView.swift:7:50: warning: conformance of 'ResizingTextView' to protocol 'Equatable' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
  5 | import SwiftUI
  6 |
  7 | @MainActor public struct ResizingTextView: View, Equatable {
    |                          |                       |- warning: conformance of 'ResizingTextView' to protocol 'Equatable' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
    |                          |                       |- note: isolate this conformance to the main actor with '@MainActor'
    |                          |                       `- note: turn data races into runtime errors with '@preconcurrency'
    |                          `- note: mark all declarations used in the conformance 'nonisolated'
  8 |     @Binding var text: String
  9 |     var placeholder: String?
    :
245 |     }
246 |
247 |     public static func == (lhs: ResizingTextView, rhs: ResizingTextView) -> Bool {
    |                        `- note: main actor-isolated operator function '==' cannot satisfy nonisolated requirement
248 |         var result = lhs.text == rhs.text
249 |             && lhs.placeholder == rhs.placeholder
[#ConformanceIsolation]: <https://docs.swift.org/compiler/documentation/diagnostics/conformance-isolation>
[6/8] Compiling ResizingTextView CrossPlatformAliases.swift
[7/8] Compiling ResizingTextView TextView (AppKit).swift
[8/8] Emitting module ResizingTextView
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/ResizingTextView.swift:7:50: warning: conformance of 'ResizingTextView' to protocol 'Equatable' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
  5 | import SwiftUI
  6 |
  7 | @MainActor public struct ResizingTextView: View, Equatable {
    |                          |                       |- warning: conformance of 'ResizingTextView' to protocol 'Equatable' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode [#ConformanceIsolation]
    |                          |                       |- note: isolate this conformance to the main actor with '@MainActor'
    |                          |                       `- note: turn data races into runtime errors with '@preconcurrency'
    |                          `- note: mark all declarations used in the conformance 'nonisolated'
  8 |     @Binding var text: String
  9 |     var placeholder: String?
    :
245 |     }
246 |
247 |     public static func == (lhs: ResizingTextView, rhs: ResizingTextView) -> Bool {
    |                        `- note: main actor-isolated operator function '==' cannot satisfy nonisolated requirement
248 |         var result = lhs.text == rhs.text
249 |             && lhs.placeholder == rhs.placeholder
[#ConformanceIsolation]: <https://docs.swift.org/compiler/documentation/diagnostics/conformance-isolation>
Build complete! (6.56s)
Build complete.
{
  "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"
}
Done.