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

Successful build of TextViewPlus, reference 1.0.5 (dcd2e3), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 17:27:58 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChimeHQ/TextViewPlus.git
Reference: 1.0.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ChimeHQ/TextViewPlus
 * tag               1.0.5      -> FETCH_HEAD
HEAD is now at dcd2e33 update CI, some new docs
Cloned https://github.com/ChimeHQ/TextViewPlus.git
Revision (git rev-parse @):
dcd2e33c3d0a8305bbf9728716633d7f97fbe748
SUCCESS checkout https://github.com/ChimeHQ/TextViewPlus.git at 1.0.5
========================================
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": "textviewplus",
      "name": "TextViewPlus",
      "url": "https://github.com/ChimeHQ/TextViewPlus.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/TextViewPlus",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/ChimeHQ/TextViewPlus.git
[1/272] Fetching textviewplus
Fetched https://github.com/ChimeHQ/TextViewPlus.git from cache (0.74s)
Creating working copy for https://github.com/ChimeHQ/TextViewPlus.git
Working copy of https://github.com/ChimeHQ/TextViewPlus.git resolved at 1.0.5 (dcd2e33)
warning: '.resolve-product-dependencies': dependency 'textviewplus' 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/ChimeHQ/TextViewPlus.git
https://github.com/ChimeHQ/TextViewPlus.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "TextViewPlus",
  "name" : "TextViewPlus",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    }
  ],
  "products" : [
    {
      "name" : "TextViewPlus",
      "targets" : [
        "TextViewPlus"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TextViewPlusTests",
      "module_type" : "SwiftTarget",
      "name" : "TextViewPlusTests",
      "path" : "TextViewPlusTests",
      "sources" : [
        "TestableTextView.swift",
        "TextViewPlusTests.swift"
      ],
      "target_dependencies" : [
        "TextViewPlus"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TextViewPlus",
      "module_type" : "SwiftTarget",
      "name" : "TextViewPlus",
      "path" : "TextViewPlus",
      "product_memberships" : [
        "TextViewPlus"
      ],
      "sources" : [
        "NSLayoutManager+Geometry.swift",
        "NSTextView+AttributedString.swift",
        "NSTextView+Behavior.swift",
        "NSTextView+Bounding.swift",
        "NSTextView+Geometry.swift",
        "NSTextView+Ranges.swift",
        "NSTextView+Selection.swift",
        "NSTextView+Style.swift",
        "NSTextView+Workarounds.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
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
[3/12] Compiling TextViewPlus NSTextView+Workarounds.swift
[4/12] Compiling TextViewPlus NSTextView+Ranges.swift
[5/12] Compiling TextViewPlus NSTextView+Behavior.swift
[6/12] Compiling TextViewPlus NSTextView+Bounding.swift
[7/12] Emitting module TextViewPlus
[8/12] Compiling TextViewPlus NSLayoutManager+Geometry.swift
[9/12] Compiling TextViewPlus NSTextView+AttributedString.swift
/Users/admin/builder/spi-builder-workspace/TextViewPlus/NSTextView+AttributedString.swift:47:60: warning: capture of 'usableReplacementString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
45 |
46 |             manager.registerUndo(withTarget: self, handler: { (view) in
47 |                 view.replaceString(in: inverseRange, with: usableReplacementString)
   |                                                            `- warning: capture of 'usableReplacementString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
48 |             })
49 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:29:12: note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
 27 |
 28 | API_AVAILABLE(macos(10.0), ios(3.2), watchos(2.0), tvos(9.0))
 29 | @interface NSAttributedString : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
    |            `- note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
 30 |
 31 | // Override these two APIs when subclassing NSAttributedString
/Users/admin/builder/spi-builder-workspace/TextViewPlus/NSTextView+AttributedString.swift:47:22: warning: call to main actor-isolated instance method 'replaceString(in:with:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
36 |     }
37 |
38 |     func replaceString(in range: NSRange, with attributedString: NSAttributedString) {
   |          |- note: calls to instance method 'replaceString(in:with:)' from outside of its actor context are implicitly asynchronous
   |          `- note: main actor isolation inferred from inheritance from class 'NSText'
39 |         if let manager = undoManager {
40 |             let originalString = safeAttributedSubstring(forProposedRange: range, actualRange: nil)
   :
45 |
46 |             manager.registerUndo(withTarget: self, handler: { (view) in
47 |                 view.replaceString(in: inverseRange, with: usableReplacementString)
   |                      `- warning: call to main actor-isolated instance method 'replaceString(in:with:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
48 |             })
49 |         }
[10/12] Compiling TextViewPlus NSTextView+Style.swift
[11/12] Compiling TextViewPlus NSTextView+Geometry.swift
[12/12] Compiling TextViewPlus NSTextView+Selection.swift
Build complete! (7.75s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "TextViewPlus",
  "name" : "TextViewPlus",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    }
  ],
  "products" : [
    {
      "name" : "TextViewPlus",
      "targets" : [
        "TextViewPlus"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TextViewPlusTests",
      "module_type" : "SwiftTarget",
      "name" : "TextViewPlusTests",
      "path" : "TextViewPlusTests",
      "sources" : [
        "TestableTextView.swift",
        "TextViewPlusTests.swift"
      ],
      "target_dependencies" : [
        "TextViewPlus"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TextViewPlus",
      "module_type" : "SwiftTarget",
      "name" : "TextViewPlus",
      "path" : "TextViewPlus",
      "product_memberships" : [
        "TextViewPlus"
      ],
      "sources" : [
        "NSLayoutManager+Geometry.swift",
        "NSTextView+AttributedString.swift",
        "NSTextView+Behavior.swift",
        "NSTextView+Bounding.swift",
        "NSTextView+Geometry.swift",
        "NSTextView+Ranges.swift",
        "NSTextView+Selection.swift",
        "NSTextView+Style.swift",
        "NSTextView+Workarounds.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.