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 IBeam, reference main (b0271a), with Swift 6.2 (beta) for macOS (SPM) on 24 Jun 2025 07:23:05 UTC.

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/ChimeHQ/IBeam.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ChimeHQ/IBeam
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b0271ae support for deleteToEndOfLine; warn on unhandled selector, and trim the list
Cloned https://github.com/ChimeHQ/IBeam.git
Revision (git rev-parse @):
b0271ae37c14bc38def2459f8d803b1736a9a9cd
SUCCESS checkout https://github.com/ChimeHQ/IBeam.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ChimeHQ/IBeam.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/15] Compiling Rearrange String+NSRange.swift
[5/15] Compiling Rearrange TextRangeCalculating.swift
[6/16] Compiling Rearrange UITextRange+Convenience.swift
[7/16] Emitting module Rearrange
[8/16] Compiling Rearrange NSRange+Shift.swift
[9/16] Compiling Rearrange NSRange+Convenience.swift
[10/16] Compiling Rearrange Bounded.swift
[11/16] Compiling Rearrange IndexSet+ApplyMutation.swift
[12/16] Compiling Rearrange NSTextRange+NSRange.swift
[13/16] Compiling Rearrange IndexSet+NSRange.swift
[14/16] Compiling Rearrange NSRange+ApplyMutation.swift
[15/16] Compiling Rearrange NSTextRange+Bounded.swift
[16/16] Compiling Rearrange RangeMutation.swift
[17/29] Compiling IBeam Cursor.swift
[18/29] Compiling IBeam CursorOperation.swift
[19/29] Emitting module IBeam
[20/30] Compiling IBeam UndoManager+GroupActions.swift
/Users/admin/builder/spi-builder-workspace/Sources/IBeam/UndoManager+GroupActions.swift:36:16: error: call to main actor-isolated instance method 'withUndoGrouping(target:actions:_:)' in a synchronous nonisolated context [#ActorIsolatedCall]
26 | 		///
27 | 		/// The actions will run even if the UndoManager argument is nil. If you don't want this behavior, check out the `UndoManager.withUndoGrouping` variant.
28 | 		public func withUndoGrouping(for undoManager: UndoManager?, target: T, _ block: () -> Void) {
   |               `- note: add '@MainActor' to make instance method 'withUndoGrouping(for:target:_:)' part of global actor 'MainActor'
29 | 			guard let undoManager else {
30 | 				enter(target)
   :
34 | 			}
35 |
36 | 			undoManager.withUndoGrouping(target: target, actions: self, block)
   |                `- error: call to main actor-isolated instance method 'withUndoGrouping(target:actions:_:)' in a synchronous nonisolated context [#ActorIsolatedCall]
37 | 		}
38 | 	}
   :
48 | 	}
49 |
50 | 	public func withUndoGrouping<T: AnyObject>(target: T, actions: GroupActions<T>, _ block: () -> Void) {
   |              `- note: calls to instance method 'withUndoGrouping(target:actions:_:)' from outside of its actor context are implicitly asynchronous
51 | 		beginUndoGrouping()
52 |
[#ActorIsolatedCall]: <https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call>
[21/30] Compiling IBeam InputOperation.swift
[22/30] Compiling IBeam InputOperationProcessor.swift
[23/30] Compiling IBeam NSResponder+CursorSelectors.swift
[24/30] Compiling IBeam TextViewIndicatorState.swift
[25/30] Compiling IBeam TextSystemCursorCoordinator.swift
/Users/admin/builder/spi-builder-workspace/Sources/IBeam/TextSystemCursorCoordinator.swift:34:19: warning: capture of non-sendable type 'System.Type' in an isolated closure
 32 | 			object: textView,
 33 | 			queue: .main,
 34 | 			using: { [weak self] _ in
    |                   `- warning: capture of non-sendable type 'System.Type' in an isolated closure
 35 | 				MainActor.assumeIsolated {
 36 | 					self?.selectionChanged()
[26/30] Compiling IBeam MutableStringPartialSystem.swift
/Users/admin/builder/spi-builder-workspace/Sources/IBeam/MutableStringPartialSystem.swift:80:4: warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'UndoManager', consider removing it
 78 | 		if let undoManager {
 79 | 			nonisolated(unsafe) let existingString = content.attributedSubstring(from: range)
 80 | 			nonisolated(unsafe) let capturedUndoManager = undoManager
    |    `- warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'UndoManager', consider removing it
 81 |
 82 | 			let inverseRange = NSRange(
/Users/admin/builder/spi-builder-workspace/Sources/IBeam/MutableStringPartialSystem.swift:87:16: error: call to main actor-isolated instance method 'registerUndo(withTarget:handler:)' in a synchronous nonisolated context [#ActorIsolatedCall]
 69 | 	}
 70 |
 71 | 	public func applyMutation(_ range: NSRange, string: NSAttributedString, undoManager: UndoManager?) -> MutationOutput<NSRange> {
    |              `- note: add '@MainActor' to make instance method 'applyMutation(_:string:undoManager:)' part of global actor 'MainActor'
 72 | 		let plainString = string.string
 73 | 		let length = plainString.utf16.count
    :
 85 | 			)
 86 |
 87 | 			undoManager.registerUndo(withTarget: self) { target in
    |                `- error: call to main actor-isolated instance method 'registerUndo(withTarget:handler:)' in a synchronous nonisolated context [#ActorIsolatedCall]
 88 | 				_ = target.applyMutation(inverseRange, string: existingString, undoManager: capturedUndoManager)
 89 | 			}
Foundation.UndoManager.registerUndo:3:42: note: calls to instance method 'registerUndo(withTarget:handler:)' from outside of its actor context are implicitly asynchronous
1 | class UndoManager {
2 | @available(macOS 10.11, iOS 9.0, watchOS 2.0, tvOS 9.0, *)
3 |   @MainActor @preconcurrency public func registerUndo<TargetType>(withTarget target: TargetType, handler: @escaping @MainActor (TargetType) -> Void) where TargetType : AnyObject}
  |                                          `- note: calls to instance method 'registerUndo(withTarget:handler:)' from outside of its actor context are implicitly asynchronous
4 |
[#ActorIsolatedCall]: <https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call>
[27/30] Compiling IBeam SelectionSet.swift
[28/30] Compiling IBeam TextSystemInterface.swift
/Users/admin/builder/spi-builder-workspace/Sources/IBeam/TextSystemInterface.swift:135:15: error: call to main actor-isolated instance method 'registerUndo(withTarget:handler:)' in a synchronous nonisolated context [#ActorIsolatedCall]
112 |
113 | extension TextSystemInterface where Self: AnyObject, TextRange: Sendable {
114 | 	func registerMutationUndo(
    |       `- note: add '@MainActor' to make instance method 'registerMutationUndo(with:range:substringProvider:)' part of global actor 'MainActor'
115 | 		with undoManager: UndoManager?,
116 | 		range: TextRange,
    :
133 | 		}
134 |
135 | 		undoManager.registerUndo(withTarget: self, handler: { target in
    |               `- error: call to main actor-isolated instance method 'registerUndo(withTarget:handler:)' in a synchronous nonisolated context [#ActorIsolatedCall]
136 | 			_ = try! target.applyMutation(inverseRange, string: existing)
137 | 		})
Foundation.UndoManager.registerUndo:3:42: note: calls to instance method 'registerUndo(withTarget:handler:)' from outside of its actor context are implicitly asynchronous
1 | class UndoManager {
2 | @available(macOS 10.11, iOS 9.0, watchOS 2.0, tvOS 9.0, *)
3 |   @MainActor @preconcurrency public func registerUndo<TargetType>(withTarget target: TargetType, handler: @escaping @MainActor (TargetType) -> Void) where TargetType : AnyObject}
  |                                          `- note: calls to instance method 'registerUndo(withTarget:handler:)' from outside of its actor context are implicitly asynchronous
4 |
[#ActorIsolatedCall]: <https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call>
[29/30] Compiling IBeam MockTextSystem.swift
/Users/admin/builder/spi-builder-workspace/Sources/IBeam/MultiCursorState.swift:96:16: error: call to main actor-isolated instance method 'registerUndo(withTarget:handler:)' in a synchronous nonisolated context [#ActorIsolatedCall]
 90 | 	}
 91 |
 92 | 	private func commitCursorChange(_ newCursors: [Cursor<System.TextRange>], affectsContent: Bool) {
    |               `- note: add '@MainActor' to make instance method 'commitCursorChange(_:affectsContent:)' part of global actor 'MainActor'
 93 | 		if let undoManager, affectsContent {
 94 | 			nonisolated(unsafe) let cursorSnapshot = cursors
 95 |
 96 | 			undoManager.registerUndo(withTarget: self) { target in
    |                `- error: call to main actor-isolated instance method 'registerUndo(withTarget:handler:)' in a synchronous nonisolated context [#ActorIsolatedCall]
 97 | 				target.commitCursorChange(cursorSnapshot, affectsContent: true)
 98 | 			}
Foundation.UndoManager.registerUndo:3:42: note: calls to instance method 'registerUndo(withTarget:handler:)' from outside of its actor context are implicitly asynchronous
1 | class UndoManager {
2 | @available(macOS 10.11, iOS 9.0, watchOS 2.0, tvOS 9.0, *)
3 |   @MainActor @preconcurrency public func registerUndo<TargetType>(withTarget target: TargetType, handler: @escaping @MainActor (TargetType) -> Void) where TargetType : AnyObject}
  |                                          `- note: calls to instance method 'registerUndo(withTarget:handler:)' from outside of its actor context are implicitly asynchronous
4 |
/Users/admin/builder/spi-builder-workspace/Sources/IBeam/MultiCursorState.swift:172:31: error: main actor-isolated property 'isActive' can not be referenced from a nonisolated context
170 |
171 | 				// this is *only* necessary when undo operations are occuring
172 | 				guard target.undoManager?.isActive == true else { return }
    |                               `- error: main actor-isolated property 'isActive' can not be referenced from a nonisolated context
173 |
174 | 				let currentSet = Set(self.internalCursors.map({ $0.id }))
/Users/admin/builder/spi-builder-workspace/Sources/IBeam/UndoManager+GroupActions.swift:4:6: note: property declared here
 2 |
 3 | extension UndoManager {
 4 | 	var isActive: Bool {
   |      `- note: property declared here
 5 | 		isUndoing || isRedoing
 6 | 	}
[#ActorIsolatedCall]: <https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call>
[30/30] Compiling IBeam MultiCursorState.swift
/Users/admin/builder/spi-builder-workspace/Sources/IBeam/MultiCursorState.swift:96:16: error: call to main actor-isolated instance method 'registerUndo(withTarget:handler:)' in a synchronous nonisolated context [#ActorIsolatedCall]
 90 | 	}
 91 |
 92 | 	private func commitCursorChange(_ newCursors: [Cursor<System.TextRange>], affectsContent: Bool) {
    |               `- note: add '@MainActor' to make instance method 'commitCursorChange(_:affectsContent:)' part of global actor 'MainActor'
 93 | 		if let undoManager, affectsContent {
 94 | 			nonisolated(unsafe) let cursorSnapshot = cursors
 95 |
 96 | 			undoManager.registerUndo(withTarget: self) { target in
    |                `- error: call to main actor-isolated instance method 'registerUndo(withTarget:handler:)' in a synchronous nonisolated context [#ActorIsolatedCall]
 97 | 				target.commitCursorChange(cursorSnapshot, affectsContent: true)
 98 | 			}
Foundation.UndoManager.registerUndo:3:42: note: calls to instance method 'registerUndo(withTarget:handler:)' from outside of its actor context are implicitly asynchronous
1 | class UndoManager {
2 | @available(macOS 10.11, iOS 9.0, watchOS 2.0, tvOS 9.0, *)
3 |   @MainActor @preconcurrency public func registerUndo<TargetType>(withTarget target: TargetType, handler: @escaping @MainActor (TargetType) -> Void) where TargetType : AnyObject}
  |                                          `- note: calls to instance method 'registerUndo(withTarget:handler:)' from outside of its actor context are implicitly asynchronous
4 |
/Users/admin/builder/spi-builder-workspace/Sources/IBeam/MultiCursorState.swift:172:31: error: main actor-isolated property 'isActive' can not be referenced from a nonisolated context
170 |
171 | 				// this is *only* necessary when undo operations are occuring
172 | 				guard target.undoManager?.isActive == true else { return }
    |                               `- error: main actor-isolated property 'isActive' can not be referenced from a nonisolated context
173 |
174 | 				let currentSet = Set(self.internalCursors.map({ $0.id }))
/Users/admin/builder/spi-builder-workspace/Sources/IBeam/UndoManager+GroupActions.swift:4:6: note: property declared here
 2 |
 3 | extension UndoManager {
 4 | 	var isActive: Bool {
   |      `- note: property declared here
 5 | 		isUndoing || isRedoing
 6 | 	}
[#ActorIsolatedCall]: <https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call>
Fetching https://github.com/ChimeHQ/Rearrange
[1/569] Fetching rearrange
Fetched https://github.com/ChimeHQ/Rearrange from cache (0.68s)
Creating working copy for https://github.com/ChimeHQ/Rearrange
Working copy of https://github.com/ChimeHQ/Rearrange resolved at main (e22fe9d)
BUILD FAILURE 6.2 macosSpm