Build Information
Failed to build combine-cocoa, reference 0.3.3 (f5e2b0), with Swift 6.1 for macOS (SPM) on 4 Sep 2026 05:32:29 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/capturecontext/combine-cocoa.git
Reference: 0.3.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/capturecontext/combine-cocoa
* tag 0.3.3 -> FETCH_HEAD
HEAD is now at f5e2b04 chore: update Combine Extensions dependency
Cloned https://github.com/capturecontext/combine-cocoa.git
Revision (git rev-parse @):
f5e2b047b708191cadf0b44fb85477b24ee2a7a1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/capturecontext/combine-cocoa.git at 0.3.3
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/capturecontext/combine-cocoa.git
https://github.com/capturecontext/combine-cocoa.git
{
"dependencies" : [
{
"identity" : "combine-extensions",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.4",
"upper_bound" : "0.4.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/capturecontext/combine-extensions.git"
}
],
"manifest_display_name" : "combine-cocoa",
"name" : "combine-cocoa",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "maccatalyst",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "CombineCocoa",
"targets" : [
"CombineCocoa"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CombineCocoaMacros",
"targets" : [
"CombineCocoaMacros"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"6"
],
"targets" : [
{
"c99name" : "CombineCocoaMacros",
"module_type" : "SwiftTarget",
"name" : "CombineCocoaMacros",
"path" : "Sources/CombineCocoaMacros",
"product_dependencies" : [
"CombineExtensionsMacros"
],
"product_memberships" : [
"CombineCocoaMacros"
],
"sources" : [
"Exports.swift"
],
"target_dependencies" : [
"CombineCocoa"
],
"type" : "library"
},
{
"c99name" : "CombineCocoa",
"module_type" : "SwiftTarget",
"name" : "CombineCocoa",
"path" : "Sources/CombineCocoa",
"product_dependencies" : [
"CombineExtensions"
],
"product_memberships" : [
"CombineCocoa",
"CombineCocoaMacros"
],
"sources" : [
"AppKit/NSControl+ActionHandler.swift",
"CombineControlEvent.swift",
"CombineControlTarget.swift",
"Exports.swift",
"UIKit/AnimatedAssignSubscriber.swift",
"UIKit/Controllers/UIViewController+Presentation.swift",
"UIKit/Controls/NSTextStorage+Combine.swift",
"UIKit/Controls/UIBarButtonItem+Combine.swift",
"UIKit/Controls/UICollectionView+Combine.swift",
"UIKit/Controls/UIControl+Combine.swift",
"UIKit/Controls/UIGestureRecognizer+Combine.swift",
"UIKit/Controls/UIScrollView+Combine.swift",
"UIKit/Controls/UISearchBar+Combine.swift",
"UIKit/Controls/UITableView+Combine.swift",
"UIKit/Controls/UITextView+Combine.swift",
"UIKit/Keyboard/Keyboard+Combine.swift",
"UIKit/Keyboard/KeyboardChangeContext.swift",
"UIKit/Keyboard/KeyboardEvent.swift"
],
"type" : "library"
}
],
"tools_version" : "6.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
Building for debugging...
[0/50] Write sources
[33/50] Write swift-version-2F0A5646E1D333AE.txt
[35/88] Emitting module SwiftSyntax510
[36/88] Compiling SwiftSyntax510 Empty.swift
[37/88] Emitting module SwiftSyntax602
[38/88] Emitting module SwiftSyntax600
[39/88] Compiling SwiftSyntax602 Empty.swift
[40/88] Compiling SwiftSyntax600 Empty.swift
[41/88] Emitting module SwiftSyntax603
[42/88] Emitting module SwiftSyntax509
[43/88] Emitting module SwiftSyntax601
[44/88] Compiling SwiftSyntax509 Empty.swift
[45/88] Compiling SwiftSyntax603 Empty.swift
[46/88] Compiling SwiftSyntax601 Empty.swift
[46/88] Compiling _SwiftSyntaxCShims PlatformMutex.c
[47/88] Compiling _InterceptionUtilsObjc ObjcRuntimeAliases.m
[49/173] Compiling SwiftSyntax AbsolutePosition.swift
[50/173] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[51/173] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[52/173] Compiling SwiftSyntax Assert.swift
[53/173] Compiling SwiftSyntax BumpPtrAllocator.swift
[54/173] Compiling SwiftSyntax CommonAncestor.swift
[55/173] Compiling SwiftSyntax Convenience.swift
[56/180] Compiling SwiftSyntax SyntaxProtocol.swift
[57/180] Compiling SwiftSyntax SyntaxText.swift
[58/182] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[59/182] Compiling SwiftSyntax TokenDiagnostic.swift
[60/182] Compiling SwiftSyntax TokenSequence.swift
[61/182] Compiling SwiftSyntax TokenSyntax.swift
[62/182] Emitting module IssueReporting
[63/182] Compiling IssueReporting WithExpectedIssue.swift
[64/182] Compiling IssueReporting WithIssueContext.swift
[65/182] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[69/182] Emitting module _InterceptionCustomSelectors
[70/183] Compiling ConcurrencyExtras MainSerialExecutor.swift
[71/183] Compiling ConcurrencyExtras Locking.swift
[72/183] Compiling _InterceptionCustomSelectors _PropertySelector.swift
[73/183] Compiling _InterceptionCustomSelectors _MutablePropertySelector.swift
[74/183] Compiling SwiftSyntax TriviaPieces.swift
[75/183] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[77/183] Compiling SwiftSyntax Tokens.swift
[83/183] Compiling _InterceptionCustomSelectors KeyPath+.swift
[84/183] Compiling _InterceptionCustomSelectors _MethodSelector.swift
[85/183] Emitting module ConcurrencyExtras
[86/183] Compiling ConcurrencyExtras AsyncStream.swift
[87/183] Compiling _InterceptionUtils ObjC+RuntimeSubclassing.swift
[88/183] Compiling _InterceptionUtils Synchronizing.swift
[89/183] Compiling _InterceptionUtils ObjC+Runtime.swift
[90/183] Compiling _InterceptionUtils ObjC+Constants.swift
[91/183] Compiling _InterceptionUtils NSObject+ObjCRuntime.swift
[92/183] Compiling _InterceptionUtils ObjC+Messages.swift
[93/183] Compiling _InterceptionUtils NSObject+Association.swift
[94/183] Compiling _InterceptionUtils Exports.swift
[95/183] Compiling _InterceptionUtils ObjC+Selector.swift
[96/183] Emitting module _InterceptionUtils
[97/183] Compiling ConcurrencyExtras LockIsolated.swift
[98/183] Compiling ConcurrencyExtras Result.swift
[99/183] Compiling ConcurrencyExtras Task.swift
[100/183] Compiling ConcurrencyExtras UncheckedBox.swift
[101/183] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[102/183] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[103/183] Compiling SwiftSyntax RawSyntaxNodesC.swift
[104/183] Compiling SwiftSyntax RawSyntaxNodesD.swift
[105/183] Compiling ConcurrencyExtras UncheckedSendable.swift
[106/200] Compiling Interception InterceptionResult.swift
[107/200] Compiling Interception Exports.swift
[108/200] Emitting module Interception
[109/200] Compiling Interception NSObject+Interception.swift
[109/200] Write Objects.LinkFileList
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'Exports.swift.o' from '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/_InterceptionUtils.build/Exports.swift.o(Exports.swift.o)' and '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Interception.build/Exports.swift.o(Exports.swift.o)'
[110/200] Archiving libInterception.a
[112/203] Emitting module CombineInterception
[113/203] Compiling CombineInterception Exports.swift
[114/203] Compiling CombineInterception NSObject+Interception.swift
[114/203] Write Objects.LinkFileList
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'Exports.swift.o' from '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/CombineInterception.build/Exports.swift.o(Exports.swift.o)' and '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Interception.build/Exports.swift.o(Exports.swift.o)'
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'Exports.swift.o' from '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Interception.build/Exports.swift.o(Exports.swift.o)' and '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/_InterceptionUtils.build/Exports.swift.o(Exports.swift.o)'
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'NSObject+Interception.swift.o' from '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Interception.build/NSObject+Interception.swift.o(NSObject+Interception.swift.o)' and '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/CombineInterception.build/NSObject+Interception.swift.o(NSObject+Interception.swift.o)'
[115/203] Archiving libCombineInterception.a
[117/203] Emitting module SwiftSyntax
[125/203] Compiling SwiftSyntax SyntaxCollections.swift
[126/203] Compiling SwiftSyntax SyntaxEnum.swift
[127/203] Compiling SwiftSyntax SyntaxKind.swift
[128/203] Compiling SwiftSyntax SyntaxRewriter.swift
[129/203] Compiling SwiftSyntax SyntaxTraits.swift
[130/203] Compiling SwiftSyntax SyntaxVisitor.swift
[131/203] Compiling SwiftSyntax TokenKind.swift
[132/203] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[133/203] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[134/203] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[135/203] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[136/203] Compiling SwiftSyntax RawSyntaxValidation.swift
[137/203] Compiling SwiftSyntax SyntaxNodesAB.swift
[138/203] Compiling SwiftSyntax SyntaxNodesC.swift
[139/203] Compiling CombineSchedulers UIScheduler.swift
[140/203] Compiling CombineSchedulers Timer.swift
[141/203] Compiling CombineSchedulers UIKit.swift
[142/203] Compiling CombineSchedulers TestScheduler.swift
[143/203] Compiling CombineSchedulers Lock.swift
[144/203] Compiling CombineSchedulers NSRecursiveLock.swift
[145/203] Compiling CombineSchedulers Platform.swift
[146/203] Compiling CombineSchedulers ImmediateScheduler.swift
[147/203] Compiling CombineSchedulers Deprecations.swift
[148/203] Compiling CombineSchedulers AnyScheduler.swift
[149/203] Compiling CombineSchedulers Concurrency.swift
[150/203] Emitting module CombineSchedulers
[151/203] Compiling CombineSchedulers SwiftUI.swift
[152/204] Compiling CombineSchedulers UnimplementedScheduler.swift
[153/227] Compiling CombineExtensions Publisher+Concurrency.swift
[154/227] Compiling CombineExtensions Publisher+Errors.swift
[155/227] Compiling CombineExtensions Publisher+UncheckedSendable.swift
[156/227] Compiling CombineExtensions AnySubject.swift
[157/227] Compiling CombineExtensions DefaultInnerPublishSubject.swift
[158/227] Compiling CombineExtensions DispatchQueue+.swift
[159/227] Compiling CombineExtensions NoOptionsSchedulerOf.swift
[160/229] Compiling CombineExtensions PublishSubject+Deprecated.swift
[161/229] Compiling CombineExtensions Publisher+SinkOnce.swift
[162/229] Compiling CombineExtensions Exports.swift
[163/229] Compiling CombineExtensions SubjectProxy.swift
[164/229] Compiling CombineExtensions AnySubscriber.swift
[165/229] Compiling CombineExtensions PublishSubject.swift
[166/229] Compiling CombineExtensions Subject+.swift
[167/229] Compiling CombineExtensions Publishers.Sink+.swift
[168/229] Compiling CombineExtensions PublishersProxy.swift
[169/229] Emitting module CombineExtensions
[170/229] Compiling CombineExtensions Cancellable+.swift
[171/229] Compiling CombineExtensions NonScopedCancellable.swift
[172/229] Compiling CombineExtensions DelegateProxy.swift
[173/229] Compiling CombineExtensions AnyObject+Lifetime.swift
[174/229] Compiling CombineExtensions Lifetime.swift
[175/229] Compiling CombineExtensions Publisher+.swift
[176/229] Compiling CombineExtensions CancellationTrackingSubscriber.swift
[177/229] Compiling CombineExtensions CancellationTrackingSubscription.swift
[177/229] Write Objects.LinkFileList
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'Deprecations.swift.o' from '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/IssueReporting.build/Deprecations.swift.o(Deprecations.swift.o)' and '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/CombineSchedulers.build/Deprecations.swift.o(Deprecations.swift.o)'
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'Exports.swift.o' from '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/CombineExtensions.build/Exports.swift.o(Exports.swift.o)' and '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/_InterceptionUtils.build/Exports.swift.o(Exports.swift.o)'
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'Exports.swift.o' from '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/_InterceptionUtils.build/Exports.swift.o(Exports.swift.o)' and '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/CombineInterception.build/Exports.swift.o(Exports.swift.o)'
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'Exports.swift.o' from '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/CombineInterception.build/Exports.swift.o(Exports.swift.o)' and '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Interception.build/Exports.swift.o(Exports.swift.o)'
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'LockIsolated.swift.o' from '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/ConcurrencyExtras.build/LockIsolated.swift.o(LockIsolated.swift.o)' and '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/IssueReporting.build/LockIsolated.swift.o(LockIsolated.swift.o)'
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'NSObject+Interception.swift.o' from '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/CombineInterception.build/NSObject+Interception.swift.o(NSObject+Interception.swift.o)' and '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Interception.build/NSObject+Interception.swift.o(NSObject+Interception.swift.o)'
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'UncheckedSendable.swift.o' from '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/IssueReporting.build/UncheckedSendable.swift.o(UncheckedSendable.swift.o)' and '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/ConcurrencyExtras.build/UncheckedSendable.swift.o(UncheckedSendable.swift.o)'
[178/229] Archiving libCombineExtensions.a
[180/247] Compiling SwiftSyntax CustomTraits.swift
[181/247] Compiling SwiftSyntax EditorPlaceholder.swift
[182/247] Compiling SwiftSyntax Identifier.swift
[183/247] Compiling SwiftSyntax MemoryLayout.swift
[184/247] Compiling SwiftSyntax MissingNodeInitializers.swift
[185/247] Compiling SwiftSyntax RawSyntax.swift
[186/247] Compiling SwiftSyntax RawSyntaxArena.swift
[190/247] Compiling SwiftSyntax SourceEdit.swift
[191/247] Compiling SwiftSyntax SourceLength.swift
[192/247] Compiling SwiftSyntax SourceLocation.swift
[193/247] Compiling SwiftSyntax SourcePresence.swift
[194/247] Compiling CombineCocoa UITextView+Combine.swift
[195/247] Compiling CombineCocoa Keyboard+Combine.swift
[201/247] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[202/247] Compiling SwiftSyntax Syntax.swift
[203/247] Compiling SwiftSyntax SyntaxChildren.swift
[204/247] Compiling SwiftSyntax SyntaxCollection.swift
[205/247] Compiling SwiftSyntax SyntaxHashable.swift
[206/247] Compiling SwiftSyntax SyntaxIdentifier.swift
[207/247] Compiling SwiftSyntax SyntaxNodeStructure.swift
[208/247] Compiling SwiftSyntax Utils.swift
[209/247] Compiling SwiftSyntax ChildNameForKeyPath.swift
[210/247] Compiling SwiftSyntax Keyword.swift
[211/247] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[212/247] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[213/247] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[214/247] Compiling SwiftSyntax SyntaxBaseNodes.swift
[215/247] Compiling SwiftSyntax SyntaxNodesD.swift
[216/247] Compiling SwiftSyntax SyntaxNodesEF.swift
[217/247] Compiling SwiftSyntax SyntaxNodesGHI.swift
[218/247] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[219/247] Compiling SwiftSyntax SyntaxNodesOP.swift
[220/247] Compiling SwiftSyntax SyntaxNodesQRS.swift
[221/247] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[222/247] Compiling CombineCocoa NSTextStorage+Combine.swift
[223/247] Compiling CombineCocoa UIBarButtonItem+Combine.swift
[224/247] Compiling CombineCocoa UIGestureRecognizer+Combine.swift
[225/247] Compiling CombineCocoa UIScrollView+Combine.swift
[226/247] Compiling CombineCocoa KeyboardChangeContext.swift
[227/247] Compiling CombineCocoa UISearchBar+Combine.swift
[228/247] Compiling CombineCocoa UITableView+Combine.swift
[231/271] Compiling CombineCocoa KeyboardEvent.swift
[232/308] Compiling SwiftParser Cursor.swift
[233/308] Compiling SwiftParser Lexeme.swift
[234/308] Compiling SwiftParser CompilerFiles.swift
[235/308] Compiling SwiftParser IsValidIdentifier.swift
[236/308] Compiling SwiftParser CharacterInfo.swift
[237/308] Compiling SwiftParser CollectionNodes+Parsable.swift
[238/308] Emitting module CombineCocoa
[239/308] Compiling SwiftParser Attributes.swift
/Users/admin/builder/spi-builder-workspace/Sources/CombineCocoa/AppKit/NSControl+ActionHandler.swift:23:12: error: main actor-isolated property 'target' can not be mutated from a nonisolated context
20 | }
21 |
22 | func attach(to control: NSControl) {
| `- note: add '@MainActor' to make instance method 'attach(to:)' part of global actor 'MainActor'
23 | control.target = self
| `- error: main actor-isolated property 'target' can not be mutated from a nonisolated context
24 | control.action = #selector(handle)
25 | control.sendAction(on: .any)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:24:31: note: mutation of this property is only permitted within the actor
22 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
23 |
24 | @property (nullable, weak) id target; // Target is weak for zeroing-weak compatible objects in apps linked on 10.10 or later. Otherwise the behavior of this property is 'assign’.
| `- note: mutation of this property is only permitted within the actor
25 | @property (nullable) SEL action;
26 | @property NSInteger tag;
/Users/admin/builder/spi-builder-workspace/Sources/CombineCocoa/AppKit/NSControl+ActionHandler.swift:24:12: error: main actor-isolated property 'action' can not be mutated from a nonisolated context
20 | }
21 |
22 | func attach(to control: NSControl) {
| `- note: add '@MainActor' to make instance method 'attach(to:)' part of global actor 'MainActor'
23 | control.target = self
24 | control.action = #selector(handle)
| `- error: main actor-isolated property 'action' can not be mutated from a nonisolated context
25 | control.sendAction(on: .any)
26 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:25:26: note: mutation of this property is only permitted within the actor
23 |
24 | @property (nullable, weak) id target; // Target is weak for zeroing-weak compatible objects in apps linked on 10.10 or later. Otherwise the behavior of this property is 'assign’.
25 | @property (nullable) SEL action;
| `- note: mutation of this property is only permitted within the actor
26 | @property NSInteger tag;
27 | @property BOOL ignoresMultiClick;
/Users/admin/builder/spi-builder-workspace/Sources/CombineCocoa/AppKit/NSControl+ActionHandler.swift:25:12: error: call to main actor-isolated instance method 'sendAction(on:)' in a synchronous nonisolated context
20 | }
21 |
22 | func attach(to control: NSControl) {
| `- note: add '@MainActor' to make instance method 'attach(to:)' part of global actor 'MainActor'
23 | control.target = self
24 | control.action = #selector(handle)
25 | control.sendAction(on: .any)
| `- error: call to main actor-isolated instance method 'sendAction(on:)' in a synchronous nonisolated context
26 | }
27 | }
AppKit.NSControl.sendAction:2:22: note: calls to instance method 'sendAction(on:)' from outside of its actor context are implicitly asynchronous
1 | class NSControl {
2 | @MainActor open func sendAction(on mask: NSEvent.EventTypeMask) -> Int}
| |- note: calls to instance method 'sendAction(on:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSView'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CombineCocoa/AppKit/NSControl+ActionHandler.swift:32:24: error: main actor-isolated property 'currentEvent' can not be referenced from a nonisolated context
30 | extension NSEvent {
31 | internal static var current: NSEvent? {
32 | NSApplication.shared.currentEvent
| `- error: main actor-isolated property 'currentEvent' can not be referenced from a nonisolated context
33 | }
34 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:349:49: note: property declared here
347 | - (void)sendEvent:(NSEvent *)event;
348 | - (void)postEvent:(NSEvent *)event atStart:(BOOL)atStart;
349 | @property (nullable, readonly, strong) NSEvent *currentEvent;
| `- note: property declared here
350 | - (nullable NSEvent *)nextEventMatchingMask:(NSEventMask)mask untilDate:(nullable NSDate *)expiration inMode:(NSRunLoopMode)mode dequeue:(BOOL)deqFlag;
351 | - (void)discardEventsMatchingMask:(NSEventMask)mask beforeEvent:(nullable NSEvent *)lastEvent;
/Users/admin/builder/spi-builder-workspace/Sources/CombineCocoa/AppKit/NSControl+ActionHandler.swift:32:17: error: main actor-isolated class property 'shared' can not be referenced from a nonisolated context
30 | extension NSEvent {
31 | internal static var current: NSEvent? {
32 | NSApplication.shared.currentEvent
| `- error: main actor-isolated class property 'shared' can not be referenced from a nonisolated context
33 | }
34 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:193:61: note: class property declared here
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
| `- note: class property declared here
194 | @property (nullable, weak) id<NSApplicationDelegate> delegate;
195 |
/Users/admin/builder/spi-builder-workspace/Sources/CombineCocoa/CombineControlEvent.swift:136:29: error: main actor-isolated property 'target' can not be referenced from a nonisolated context
134 | self.events = events
135 |
136 | if let handler = control.target as? NSControl.ActionHandler {
| `- error: main actor-isolated property 'target' can not be referenced from a nonisolated context
137 | self.handler = handler
138 | } else {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:24:31: note: property declared here
22 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
23 |
24 | @property (nullable, weak) id target; // Target is weak for zeroing-weak compatible objects in apps linked on 10.10 or later. Otherwise the behavior of this property is 'assign’.
| `- note: property declared here
25 | @property (nullable) SEL action;
26 | @property NSInteger tag;
[240/308] Compiling SwiftParser Availability.swift
/Users/admin/builder/spi-builder-workspace/Sources/CombineCocoa/AppKit/NSControl+ActionHandler.swift:23:12: error: main actor-isolated property 'target' can not be mutated from a nonisolated context
20 | }
21 |
22 | func attach(to control: NSControl) {
| `- note: add '@MainActor' to make instance method 'attach(to:)' part of global actor 'MainActor'
23 | control.target = self
| `- error: main actor-isolated property 'target' can not be mutated from a nonisolated context
24 | control.action = #selector(handle)
25 | control.sendAction(on: .any)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:24:31: note: mutation of this property is only permitted within the actor
22 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
23 |
24 | @property (nullable, weak) id target; // Target is weak for zeroing-weak compatible objects in apps linked on 10.10 or later. Otherwise the behavior of this property is 'assign’.
| `- note: mutation of this property is only permitted within the actor
25 | @property (nullable) SEL action;
26 | @property NSInteger tag;
/Users/admin/builder/spi-builder-workspace/Sources/CombineCocoa/AppKit/NSControl+ActionHandler.swift:24:12: error: main actor-isolated property 'action' can not be mutated from a nonisolated context
20 | }
21 |
22 | func attach(to control: NSControl) {
| `- note: add '@MainActor' to make instance method 'attach(to:)' part of global actor 'MainActor'
23 | control.target = self
24 | control.action = #selector(handle)
| `- error: main actor-isolated property 'action' can not be mutated from a nonisolated context
25 | control.sendAction(on: .any)
26 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:25:26: note: mutation of this property is only permitted within the actor
23 |
24 | @property (nullable, weak) id target; // Target is weak for zeroing-weak compatible objects in apps linked on 10.10 or later. Otherwise the behavior of this property is 'assign’.
25 | @property (nullable) SEL action;
| `- note: mutation of this property is only permitted within the actor
26 | @property NSInteger tag;
27 | @property BOOL ignoresMultiClick;
/Users/admin/builder/spi-builder-workspace/Sources/CombineCocoa/AppKit/NSControl+ActionHandler.swift:25:12: error: call to main actor-isolated instance method 'sendAction(on:)' in a synchronous nonisolated context
20 | }
21 |
22 | func attach(to control: NSControl) {
| `- note: add '@MainActor' to make instance method 'attach(to:)' part of global actor 'MainActor'
23 | control.target = self
24 | control.action = #selector(handle)
25 | control.sendAction(on: .any)
| `- error: call to main actor-isolated instance method 'sendAction(on:)' in a synchronous nonisolated context
26 | }
27 | }
AppKit.NSControl.sendAction:2:22: note: calls to instance method 'sendAction(on:)' from outside of its actor context are implicitly asynchronous
1 | class NSControl {
2 | @MainActor open func sendAction(on mask: NSEvent.EventTypeMask) -> Int}
| |- note: calls to instance method 'sendAction(on:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSView'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CombineCocoa/AppKit/NSControl+ActionHandler.swift:32:24: error: main actor-isolated property 'currentEvent' can not be referenced from a nonisolated context
30 | extension NSEvent {
31 | internal static var current: NSEvent? {
32 | NSApplication.shared.currentEvent
| `- error: main actor-isolated property 'currentEvent' can not be referenced from a nonisolated context
33 | }
34 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:349:49: note: property declared here
347 | - (void)sendEvent:(NSEvent *)event;
348 | - (void)postEvent:(NSEvent *)event atStart:(BOOL)atStart;
349 | @property (nullable, readonly, strong) NSEvent *currentEvent;
| `- note: property declared here
350 | - (nullable NSEvent *)nextEventMatchingMask:(NSEventMask)mask untilDate:(nullable NSDate *)expiration inMode:(NSRunLoopMode)mode dequeue:(BOOL)deqFlag;
351 | - (void)discardEventsMatchingMask:(NSEventMask)mask beforeEvent:(nullable NSEvent *)lastEvent;
/Users/admin/builder/spi-builder-workspace/Sources/CombineCocoa/AppKit/NSControl+ActionHandler.swift:32:17: error: main actor-isolated class property 'shared' can not be referenced from a nonisolated context
30 | extension NSEvent {
31 | internal static var current: NSEvent? {
32 | NSApplication.shared.currentEvent
| `- error: main actor-isolated class property 'shared' can not be referenced from a nonisolated context
33 | }
34 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:193:61: note: class property declared here
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
| `- note: class property declared here
194 | @property (nullable, weak) id<NSApplicationDelegate> delegate;
195 |
/Users/admin/builder/spi-builder-workspace/Sources/CombineCocoa/CombineControlEvent.swift:136:29: error: main actor-isolated property 'target' can not be referenced from a nonisolated context
134 | self.events = events
135 |
136 | if let handler = control.target as? NSControl.ActionHandler {
| `- error: main actor-isolated property 'target' can not be referenced from a nonisolated context
137 | self.handler = handler
138 | } else {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:24:31: note: property declared here
22 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
23 |
24 | @property (nullable, weak) id target; // Target is weak for zeroing-weak compatible objects in apps linked on 10.10 or later. Otherwise the behavior of this property is 'assign’.
| `- note: property declared here
25 | @property (nullable) SEL action;
26 | @property NSInteger tag;
[241/308] Compiling SwiftDiagnostics Convenience.swift
Fetching https://github.com/capturecontext/combine-extensions.git
[1/474] Fetching combine-extensions
Fetched https://github.com/capturecontext/combine-extensions.git from cache (0.92s)
Computing version for https://github.com/capturecontext/combine-extensions.git
Computed https://github.com/capturecontext/combine-extensions.git at 0.3.4 (1.45s)
Fetching https://github.com/capturecontext/combine-interception.git
Fetching https://github.com/pointfreeco/swift-concurrency-extras.git from cache
Fetching https://github.com/pointfreeco/combine-schedulers.git from cache
[1/304] Fetching combine-interception
Fetched https://github.com/capturecontext/combine-interception.git from cache (0.84s)
Fetched https://github.com/pointfreeco/combine-schedulers.git from cache (0.95s)
Fetched https://github.com/pointfreeco/swift-concurrency-extras.git from cache (0.95s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras.git
Computed https://github.com/pointfreeco/swift-concurrency-extras.git at 1.4.1 (1.50s)
Computing version for https://github.com/pointfreeco/combine-schedulers.git
Computed https://github.com/pointfreeco/combine-schedulers.git at 1.2.2 (0.50s)
Fetching https://github.com/OpenCombine/OpenCombine.git
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay from cache
[1/8284] Fetching opencombine
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.01s)
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (1.48s)
Computing version for https://github.com/capturecontext/combine-interception.git
Computed https://github.com/capturecontext/combine-interception.git at 0.4.3 (1.99s)
Fetching https://github.com/capturecontext/swift-interception.git
[1/463] Fetching swift-interception
Fetched https://github.com/capturecontext/swift-interception.git from cache (0.90s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (4.54s)
Computing version for https://github.com/capturecontext/swift-interception.git
Computed https://github.com/capturecontext/swift-interception.git at 0.4.7 (0.49s)
Fetching https://github.com/stackotter/swift-macro-toolkit.git
Fetching https://github.com/swiftlang/swift-syntax.git from cache
[1/996] Fetching swift-macro-toolkit
Fetched https://github.com/stackotter/swift-macro-toolkit.git from cache (1.01s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (2.72s)
Computing version for https://github.com/stackotter/swift-macro-toolkit.git
Computed https://github.com/stackotter/swift-macro-toolkit.git at 0.9.0 (3.39s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.13.1 (2.43s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (0.63s)
Creating working copy for https://github.com/stackotter/swift-macro-toolkit.git
Working copy of https://github.com/stackotter/swift-macro-toolkit.git resolved at 0.9.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.13.1
Creating working copy for https://github.com/pointfreeco/combine-schedulers.git
Working copy of https://github.com/pointfreeco/combine-schedulers.git resolved at 1.2.2
Creating working copy for https://github.com/capturecontext/combine-interception.git
Working copy of https://github.com/capturecontext/combine-interception.git resolved at 0.4.3
Creating working copy for https://github.com/capturecontext/combine-extensions.git
Working copy of https://github.com/capturecontext/combine-extensions.git resolved at 0.3.4
Creating working copy for https://github.com/OpenCombine/OpenCombine.git
Working copy of https://github.com/OpenCombine/OpenCombine.git resolved at 0.14.0
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras.git
Working copy of https://github.com/pointfreeco/swift-concurrency-extras.git resolved at 1.4.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
Creating working copy for https://github.com/capturecontext/swift-interception.git
Working copy of https://github.com/capturecontext/swift-interception.git resolved at 0.4.7
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/12] Write swift-version-2F0A5646E1D333AE.txt
[2/71] Emitting module SwiftSyntax601
[3/71] Compiling SwiftSyntax601 Empty.swift
[4/71] Compiling SwiftSyntax603 Empty.swift
[5/71] Emitting module SwiftSyntax603
[6/71] Emitting module SwiftSyntax509
[7/71] Compiling SwiftSyntax509 Empty.swift
[8/71] Compiling SwiftSyntax602 Empty.swift
[9/71] Emitting module SwiftSyntax602
[10/71] Compiling SwiftSyntax510 Empty.swift
[11/71] Emitting module SwiftSyntax510
[12/71] Emitting module SwiftSyntax600
[13/71] Compiling SwiftSyntax600 Empty.swift
[14/135] Compiling _InterceptionCustomSelectors _PropertySelector.swift
[15/135] Compiling _InterceptionCustomSelectors _MethodSelector.swift
[16/135] Compiling _InterceptionCustomSelectors _MutablePropertySelector.swift
[17/135] Emitting module _InterceptionCustomSelectors
[18/135] Compiling _InterceptionCustomSelectors KeyPath+.swift
[19/135] Compiling _InterceptionUtils Synchronizing.swift
[20/135] Compiling _InterceptionUtils ObjC+Selector.swift
[21/135] Compiling ConcurrencyExtras AsyncStream.swift
[22/135] Compiling ConcurrencyExtras Result.swift
[23/135] Compiling ConcurrencyExtras MainSerialExecutor.swift
[24/135] Compiling ConcurrencyExtras LockIsolated.swift
[25/135] Compiling ConcurrencyExtras Locking.swift
[26/135] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[27/135] Compiling ConcurrencyExtras UncheckedBox.swift
[28/135] Compiling ConcurrencyExtras Task.swift
[29/136] Compiling SwiftSyntax AbsolutePosition.swift
[30/136] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[31/136] Emitting module ConcurrencyExtras
[32/136] Compiling _InterceptionUtils ObjC+Runtime.swift
[33/136] Compiling _InterceptionUtils ObjC+Constants.swift
[34/136] Compiling _InterceptionUtils NSObject+ObjCRuntime.swift
[35/136] Compiling _InterceptionUtils ObjC+RuntimeSubclassing.swift
[36/136] Compiling _InterceptionUtils NSObject+Association.swift
[37/136] Compiling _InterceptionUtils ObjC+Messages.swift
[38/136] Compiling _InterceptionUtils Exports.swift
[39/136] Emitting module _InterceptionUtils
[40/136] Compiling SwiftSyntax TokenSequence.swift
[41/136] Compiling SwiftSyntax TokenSyntax.swift
[42/136] Compiling SwiftSyntax SyntaxCollection.swift
[43/136] Compiling SwiftSyntax SyntaxHashable.swift
[44/136] Compiling SwiftSyntax SyntaxIdentifier.swift
[45/136] Compiling SwiftSyntax SyntaxNodeStructure.swift
[46/136] Compiling SwiftSyntax SyntaxProtocol.swift
[47/136] Compiling SwiftSyntax SyntaxText.swift
[48/136] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[49/136] Compiling SwiftSyntax TokenDiagnostic.swift
[50/138] Compiling SwiftSyntax BumpPtrAllocator.swift
[51/138] Compiling SwiftSyntax CommonAncestor.swift
[52/138] Compiling ConcurrencyExtras UncheckedSendable.swift
[53/142] Compiling SwiftSyntax Syntax.swift
[54/142] Compiling SwiftSyntax SyntaxChildren.swift
[55/142] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[56/142] Compiling SwiftSyntax Assert.swift
[57/142] Compiling SwiftSyntax Convenience.swift
[58/142] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[61/142] Emitting module IssueReporting
[62/142] Compiling IssueReporting WithExpectedIssue.swift
[63/142] Compiling IssueReporting WithIssueContext.swift
[71/162] Compiling Interception Exports.swift
[72/162] Compiling Interception InterceptionResult.swift
[73/162] Compiling Interception NSObject+Interception.swift
[74/162] Emitting module Interception
[82/164] Compiling CombineSchedulers Lock.swift
[83/164] Compiling CombineSchedulers NSRecursiveLock.swift
[84/164] Compiling CombineSchedulers UIKit.swift
[85/165] Compiling CombineInterception Exports.swift
[86/165] Compiling CombineInterception NSObject+Interception.swift
[87/165] Emitting module CombineInterception
[88/164] Compiling CombineSchedulers UIScheduler.swift
[89/164] Emitting module CombineSchedulers
[90/164] Compiling CombineSchedulers AnyScheduler.swift
[91/164] Compiling CombineSchedulers Concurrency.swift
[92/164] Compiling CombineSchedulers SwiftUI.swift
[93/164] Compiling CombineSchedulers TestScheduler.swift
[94/164] Compiling CombineSchedulers Platform.swift
[95/164] Compiling CombineSchedulers ImmediateScheduler.swift
[96/164] Compiling CombineSchedulers Deprecations.swift
[97/164] Compiling CombineSchedulers Timer.swift
[98/164] Compiling CombineSchedulers UnimplementedScheduler.swift
[99/187] Compiling CombineExtensions SubjectProxy.swift
[100/187] Compiling CombineExtensions AnySubscriber.swift
[101/187] Compiling CombineExtensions PublishSubject+Deprecated.swift
[102/187] Compiling CombineExtensions Publisher+SinkOnce.swift
[103/187] Compiling CombineExtensions Exports.swift
[104/187] Compiling CombineExtensions AnySubject.swift
[105/187] Compiling CombineExtensions DefaultInnerPublishSubject.swift
[106/187] Compiling CombineExtensions Publishers.Sink+.swift
[107/187] Compiling CombineExtensions PublishersProxy.swift
[108/189] Compiling CombineExtensions Cancellable+.swift
[109/189] Compiling CombineExtensions NonScopedCancellable.swift
[110/189] Compiling CombineExtensions DelegateProxy.swift
[111/189] Compiling CombineExtensions PublishSubject.swift
[112/189] Compiling CombineExtensions Subject+.swift
[113/189] Compiling CombineExtensions DispatchQueue+.swift
[114/189] Compiling CombineExtensions NoOptionsSchedulerOf.swift
[115/189] Compiling CombineExtensions Publisher+Concurrency.swift
[116/189] Compiling CombineExtensions Publisher+Errors.swift
[117/189] Compiling CombineExtensions Publisher+UncheckedSendable.swift
[118/189] Compiling CombineExtensions AnyObject+Lifetime.swift
[119/189] Compiling CombineExtensions Lifetime.swift
[120/189] Compiling CombineExtensions Publisher+.swift
[121/189] Emitting module CombineExtensions
[122/189] Compiling CombineExtensions CancellationTrackingSubscriber.swift
[123/189] Compiling CombineExtensions CancellationTrackingSubscription.swift
[124/206] Compiling CombineCocoa KeyboardChangeContext.swift
[125/207] Compiling CombineCocoa UITextView+Combine.swift
[126/207] Compiling CombineCocoa Keyboard+Combine.swift
[127/207] Compiling CombineCocoa UISearchBar+Combine.swift
[128/207] Compiling CombineCocoa UITableView+Combine.swift
[129/207] Compiling CombineCocoa UIGestureRecognizer+Combine.swift
[130/207] Compiling CombineCocoa UIScrollView+Combine.swift
[131/207] Compiling CombineCocoa AnimatedAssignSubscriber.swift
[132/207] Compiling CombineCocoa UIViewController+Presentation.swift
[133/207] Compiling CombineCocoa UICollectionView+Combine.swift
[134/207] Compiling CombineCocoa UIControl+Combine.swift
[135/207] Compiling CombineCocoa NSTextStorage+Combine.swift
[136/207] Compiling CombineCocoa UIBarButtonItem+Combine.swift
[137/207] Emitting module CombineCocoa
[138/207] Compiling CombineCocoa CombineControlTarget.swift
[139/207] Compiling CombineCocoa Exports.swift
[140/207] Compiling CombineCocoa NSControl+ActionHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/CombineCocoa/AppKit/NSControl+ActionHandler.swift:23:12: error: main actor-isolated property 'target' can not be mutated from a nonisolated context
20 | }
21 |
22 | func attach(to control: NSControl) {
| `- note: add '@MainActor' to make instance method 'attach(to:)' part of global actor 'MainActor'
23 | control.target = self
| `- error: main actor-isolated property 'target' can not be mutated from a nonisolated context
24 | control.action = #selector(handle)
25 | control.sendAction(on: .any)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:24:31: note: mutation of this property is only permitted within the actor
22 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
23 |
24 | @property (nullable, weak) id target; // Target is weak for zeroing-weak compatible objects in apps linked on 10.10 or later. Otherwise the behavior of this property is 'assign’.
| `- note: mutation of this property is only permitted within the actor
25 | @property (nullable) SEL action;
26 | @property NSInteger tag;
/Users/admin/builder/spi-builder-workspace/Sources/CombineCocoa/AppKit/NSControl+ActionHandler.swift:24:12: error: main actor-isolated property 'action' can not be mutated from a nonisolated context
20 | }
21 |
22 | func attach(to control: NSControl) {
| `- note: add '@MainActor' to make instance method 'attach(to:)' part of global actor 'MainActor'
23 | control.target = self
24 | control.action = #selector(handle)
| `- error: main actor-isolated property 'action' can not be mutated from a nonisolated context
25 | control.sendAction(on: .any)
26 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:25:26: note: mutation of this property is only permitted within the actor
23 |
24 | @property (nullable, weak) id target; // Target is weak for zeroing-weak compatible objects in apps linked on 10.10 or later. Otherwise the behavior of this property is 'assign’.
25 | @property (nullable) SEL action;
| `- note: mutation of this property is only permitted within the actor
26 | @property NSInteger tag;
27 | @property BOOL ignoresMultiClick;
/Users/admin/builder/spi-builder-workspace/Sources/CombineCocoa/AppKit/NSControl+ActionHandler.swift:25:12: error: call to main actor-isolated instance method 'sendAction(on:)' in a synchronous nonisolated context
20 | }
21 |
22 | func attach(to control: NSControl) {
| `- note: add '@MainActor' to make instance method 'attach(to:)' part of global actor 'MainActor'
23 | control.target = self
24 | control.action = #selector(handle)
25 | control.sendAction(on: .any)
| `- error: call to main actor-isolated instance method 'sendAction(on:)' in a synchronous nonisolated context
26 | }
27 | }
AppKit.NSControl.sendAction:2:22: note: calls to instance method 'sendAction(on:)' from outside of its actor context are implicitly asynchronous
1 | class NSControl {
2 | @MainActor open func sendAction(on mask: NSEvent.EventTypeMask) -> Int}
| |- note: calls to instance method 'sendAction(on:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSView'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CombineCocoa/AppKit/NSControl+ActionHandler.swift:32:24: error: main actor-isolated property 'currentEvent' can not be referenced from a nonisolated context
30 | extension NSEvent {
31 | internal static var current: NSEvent? {
32 | NSApplication.shared.currentEvent
| `- error: main actor-isolated property 'currentEvent' can not be referenced from a nonisolated context
33 | }
34 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:349:49: note: property declared here
347 | - (void)sendEvent:(NSEvent *)event;
348 | - (void)postEvent:(NSEvent *)event atStart:(BOOL)atStart;
349 | @property (nullable, readonly, strong) NSEvent *currentEvent;
| `- note: property declared here
350 | - (nullable NSEvent *)nextEventMatchingMask:(NSEventMask)mask untilDate:(nullable NSDate *)expiration inMode:(NSRunLoopMode)mode dequeue:(BOOL)deqFlag;
351 | - (void)discardEventsMatchingMask:(NSEventMask)mask beforeEvent:(nullable NSEvent *)lastEvent;
/Users/admin/builder/spi-builder-workspace/Sources/CombineCocoa/AppKit/NSControl+ActionHandler.swift:32:17: error: main actor-isolated class property 'shared' can not be referenced from a nonisolated context
30 | extension NSEvent {
31 | internal static var current: NSEvent? {
32 | NSApplication.shared.currentEvent
| `- error: main actor-isolated class property 'shared' can not be referenced from a nonisolated context
33 | }
34 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:193:61: note: class property declared here
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
| `- note: class property declared here
194 | @property (nullable, weak) id<NSApplicationDelegate> delegate;
195 |
/Users/admin/builder/spi-builder-workspace/Sources/CombineCocoa/CombineControlEvent.swift:136:29: error: main actor-isolated property 'target' can not be referenced from a nonisolated context
134 | self.events = events
135 |
136 | if let handler = control.target as? NSControl.ActionHandler {
| `- error: main actor-isolated property 'target' can not be referenced from a nonisolated context
137 | self.handler = handler
138 | } else {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:24:31: note: property declared here
22 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
23 |
24 | @property (nullable, weak) id target; // Target is weak for zeroing-weak compatible objects in apps linked on 10.10 or later. Otherwise the behavior of this property is 'assign’.
| `- note: property declared here
25 | @property (nullable) SEL action;
26 | @property NSInteger tag;
[141/207] Compiling CombineCocoa CombineControlEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/CombineCocoa/AppKit/NSControl+ActionHandler.swift:23:12: error: main actor-isolated property 'target' can not be mutated from a nonisolated context
20 | }
21 |
22 | func attach(to control: NSControl) {
| `- note: add '@MainActor' to make instance method 'attach(to:)' part of global actor 'MainActor'
23 | control.target = self
| `- error: main actor-isolated property 'target' can not be mutated from a nonisolated context
24 | control.action = #selector(handle)
25 | control.sendAction(on: .any)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:24:31: note: mutation of this property is only permitted within the actor
22 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
23 |
24 | @property (nullable, weak) id target; // Target is weak for zeroing-weak compatible objects in apps linked on 10.10 or later. Otherwise the behavior of this property is 'assign’.
| `- note: mutation of this property is only permitted within the actor
25 | @property (nullable) SEL action;
26 | @property NSInteger tag;
/Users/admin/builder/spi-builder-workspace/Sources/CombineCocoa/AppKit/NSControl+ActionHandler.swift:24:12: error: main actor-isolated property 'action' can not be mutated from a nonisolated context
20 | }
21 |
22 | func attach(to control: NSControl) {
| `- note: add '@MainActor' to make instance method 'attach(to:)' part of global actor 'MainActor'
23 | control.target = self
24 | control.action = #selector(handle)
| `- error: main actor-isolated property 'action' can not be mutated from a nonisolated context
25 | control.sendAction(on: .any)
26 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:25:26: note: mutation of this property is only permitted within the actor
23 |
24 | @property (nullable, weak) id target; // Target is weak for zeroing-weak compatible objects in apps linked on 10.10 or later. Otherwise the behavior of this property is 'assign’.
25 | @property (nullable) SEL action;
| `- note: mutation of this property is only permitted within the actor
26 | @property NSInteger tag;
27 | @property BOOL ignoresMultiClick;
/Users/admin/builder/spi-builder-workspace/Sources/CombineCocoa/AppKit/NSControl+ActionHandler.swift:25:12: error: call to main actor-isolated instance method 'sendAction(on:)' in a synchronous nonisolated context
20 | }
21 |
22 | func attach(to control: NSControl) {
| `- note: add '@MainActor' to make instance method 'attach(to:)' part of global actor 'MainActor'
23 | control.target = self
24 | control.action = #selector(handle)
25 | control.sendAction(on: .any)
| `- error: call to main actor-isolated instance method 'sendAction(on:)' in a synchronous nonisolated context
26 | }
27 | }
AppKit.NSControl.sendAction:2:22: note: calls to instance method 'sendAction(on:)' from outside of its actor context are implicitly asynchronous
1 | class NSControl {
2 | @MainActor open func sendAction(on mask: NSEvent.EventTypeMask) -> Int}
| |- note: calls to instance method 'sendAction(on:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSView'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CombineCocoa/AppKit/NSControl+ActionHandler.swift:32:24: error: main actor-isolated property 'currentEvent' can not be referenced from a nonisolated context
30 | extension NSEvent {
31 | internal static var current: NSEvent? {
32 | NSApplication.shared.currentEvent
| `- error: main actor-isolated property 'currentEvent' can not be referenced from a nonisolated context
33 | }
34 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:349:49: note: property declared here
347 | - (void)sendEvent:(NSEvent *)event;
348 | - (void)postEvent:(NSEvent *)event atStart:(BOOL)atStart;
349 | @property (nullable, readonly, strong) NSEvent *currentEvent;
| `- note: property declared here
350 | - (nullable NSEvent *)nextEventMatchingMask:(NSEventMask)mask untilDate:(nullable NSDate *)expiration inMode:(NSRunLoopMode)mode dequeue:(BOOL)deqFlag;
351 | - (void)discardEventsMatchingMask:(NSEventMask)mask beforeEvent:(nullable NSEvent *)lastEvent;
/Users/admin/builder/spi-builder-workspace/Sources/CombineCocoa/AppKit/NSControl+ActionHandler.swift:32:17: error: main actor-isolated class property 'shared' can not be referenced from a nonisolated context
30 | extension NSEvent {
31 | internal static var current: NSEvent? {
32 | NSApplication.shared.currentEvent
| `- error: main actor-isolated class property 'shared' can not be referenced from a nonisolated context
33 | }
34 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:193:61: note: class property declared here
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
| `- note: class property declared here
194 | @property (nullable, weak) id<NSApplicationDelegate> delegate;
195 |
/Users/admin/builder/spi-builder-workspace/Sources/CombineCocoa/CombineControlEvent.swift:136:29: error: main actor-isolated property 'target' can not be referenced from a nonisolated context
134 | self.events = events
135 |
136 | if let handler = control.target as? NSControl.ActionHandler {
| `- error: main actor-isolated property 'target' can not be referenced from a nonisolated context
137 | self.handler = handler
138 | } else {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:24:31: note: property declared here
22 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
23 |
24 | @property (nullable, weak) id target; // Target is weak for zeroing-weak compatible objects in apps linked on 10.10 or later. Otherwise the behavior of this property is 'assign’.
| `- note: property declared here
25 | @property (nullable) SEL action;
26 | @property NSInteger tag;
[142/207] Compiling CombineCocoa KeyboardEvent.swift
[143/207] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[144/207] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[145/207] Compiling SwiftSyntax RawSyntaxTokenView.swift
[146/207] Compiling SwiftSyntax SourceEdit.swift
[147/207] Compiling SwiftSyntax SourceLength.swift
[148/207] Compiling SwiftSyntax SourceLocation.swift
[149/207] Compiling SwiftSyntax SourcePresence.swift
[150/207] Compiling SwiftSyntax CustomTraits.swift
[151/207] Compiling SwiftSyntax EditorPlaceholder.swift
[152/207] Compiling SwiftSyntax Identifier.swift
[153/207] Compiling SwiftSyntax MemoryLayout.swift
[154/207] Compiling SwiftSyntax MissingNodeInitializers.swift
[155/207] Compiling SwiftSyntax RawSyntax.swift
[156/207] Compiling SwiftSyntax RawSyntaxArena.swift
BUILD FAILURE 6.1 macosSpm