Build Information
Failed to build combine-cocoa, reference 0.3.1 (52db12), with Swift 6.1 for macOS (SPM) on 8 Feb 2026 00:20:57 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/capturecontext/combine-cocoa.git
Reference: 0.3.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/capturecontext/combine-cocoa
* tag 0.3.1 -> FETCH_HEAD
HEAD is now at 52db12b feat(SPI): Update .spi.yml
Cloned https://github.com/capturecontext/combine-cocoa.git
Revision (git rev-parse @):
52db12b98cd1da7bc3f25ae6eb34a58aa7cdf09f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/capturecontext/combine-cocoa.git at 0.3.1
========================================
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.0",
"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/49] Write sources
[32/49] Write swift-version-2F0A5646E1D333AE.txt
[34/77] Compiling SwiftSyntax600 Empty.swift
[35/77] Emitting module SwiftSyntax600
[36/77] Emitting module IssueReportingPackageSupport
[37/77] Emitting module SwiftSyntax602
[38/77] Compiling SwiftSyntax509 Empty.swift
[39/77] Compiling IssueReportingPackageSupport _Test.swift
[40/77] Compiling SwiftSyntax602 Empty.swift
[41/77] Compiling SwiftSyntax510 Empty.swift
[42/77] Emitting module SwiftSyntax509
[43/77] Emitting module SwiftSyntax510
[44/77] Emitting module SwiftSyntax601
[45/77] Compiling SwiftSyntax601 Empty.swift
[45/77] Compiling _SwiftSyntaxCShims PlatformMutex.c
[46/77] Compiling _InterceptionUtilsObjc ObjcRuntimeAliases.m
[48/170] Compiling SwiftSyntax AbsolutePosition.swift
[49/170] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[50/170] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[51/170] Compiling SwiftSyntax Assert.swift
[52/170] Compiling SwiftSyntax BumpPtrAllocator.swift
[53/170] Compiling SwiftSyntax CommonAncestor.swift
[54/170] Compiling SwiftSyntax Convenience.swift
[55/177] Compiling SwiftSyntax SyntaxProtocol.swift
[56/177] Compiling SwiftSyntax SyntaxText.swift
[57/177] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[58/177] Compiling SwiftSyntax TokenDiagnostic.swift
[59/177] Compiling SwiftSyntax TokenSequence.swift
[60/177] Compiling SwiftSyntax TokenSyntax.swift
[61/177] Compiling SwiftSyntax Trivia.swift
[62/177] Compiling ConcurrencyExtras Result.swift
[63/178] Emitting module ConcurrencyExtras
[64/178] Compiling ConcurrencyExtras UncheckedSendable.swift
[67/178] Compiling ConcurrencyExtras AsyncStream.swift
[68/178] Compiling ConcurrencyExtras UncheckedBox.swift
[69/178] Compiling ConcurrencyExtras LockIsolated.swift
[70/178] Compiling ConcurrencyExtras MainSerialExecutor.swift
[71/178] Compiling _InterceptionCustomSelectors _PropertySelector.swift
[72/178] Compiling ConcurrencyExtras Task.swift
[73/178] Compiling SwiftSyntax MemoryLayout.swift
[74/178] Compiling SwiftSyntax MissingNodeInitializers.swift
[75/180] Compiling SwiftSyntax RawSyntax.swift
[76/180] Compiling SwiftSyntax RawSyntaxArena.swift
[77/180] Compiling _InterceptionUtils ObjC+RuntimeSubclassing.swift
[78/180] Compiling _InterceptionUtils ObjC+Selector.swift
[79/180] Compiling _InterceptionUtils Synchronizing.swift
[80/180] Compiling _InterceptionCustomSelectors _MutablePropertySelector.swift
[81/180] Compiling _InterceptionCustomSelectors _MethodSelector.swift
[82/180] Compiling ConcurrencyExtras Locking.swift
[83/180] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[84/180] Compiling _InterceptionUtils Exports.swift
[85/180] Compiling _InterceptionUtils ObjC+Messages.swift
[86/180] Compiling _InterceptionUtils ObjC+Constants.swift
[87/180] Emitting module _InterceptionUtils
[88/180] Compiling _InterceptionUtils NSObject+Association.swift
[89/180] Compiling _InterceptionUtils ObjC+Runtime.swift
[90/180] Compiling _InterceptionUtils NSObject+ObjCRuntime.swift
[91/180] Emitting module _InterceptionCustomSelectors
[92/180] Compiling _InterceptionCustomSelectors KeyPath+.swift
[93/180] Compiling SwiftSyntax Tokens.swift
[94/180] Compiling SwiftSyntax TriviaPieces.swift
[95/180] Compiling SwiftSyntax EditorPlaceholder.swift
[96/180] Compiling SwiftSyntax Identifier.swift
[102/180] Compiling SwiftSyntax CustomTraits.swift
[103/180] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[104/180] Compiling SwiftSyntax RawSyntaxNodesC.swift
[107/180] Emitting module IssueReporting
[108/184] Compiling IssueReporting WithExpectedIssue.swift
[109/184] Compiling IssueReporting WithIssueContext.swift
[110/197] Compiling Interception InterceptionResult.swift
[111/197] Emitting module Interception
[112/197] Compiling Interception Exports.swift
[113/197] Compiling Interception NSObject+Interception.swift
[113/197] 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)'
[114/197] Archiving libInterception.a
[116/200] Emitting module CombineInterception
[117/200] Compiling CombineInterception Exports.swift
[118/200] Compiling CombineInterception NSObject+Interception.swift
[118/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/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)'
[119/200] Archiving libCombineInterception.a
[121/200] Emitting module SwiftSyntax
[122/200] Compiling CombineSchedulers UIScheduler.swift
[123/201] Compiling CombineSchedulers UIKit.swift
[124/201] Compiling CombineSchedulers TestScheduler.swift
[125/201] Compiling CombineSchedulers Timer.swift
[126/201] Compiling CombineSchedulers AnyScheduler.swift
[127/201] Compiling CombineSchedulers Concurrency.swift
[128/201] Compiling CombineSchedulers UnimplementedScheduler.swift
[129/201] Compiling SwiftSyntax SyntaxCollections.swift
[130/201] Compiling SwiftSyntax SyntaxEnum.swift
[131/201] Compiling SwiftSyntax SyntaxKind.swift
[132/201] Compiling SwiftSyntax SyntaxRewriter.swift
[133/201] Compiling SwiftSyntax SyntaxTraits.swift
[134/201] Compiling SwiftSyntax SyntaxVisitor.swift
[135/201] Compiling SwiftSyntax TokenKind.swift
[136/201] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[137/201] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[138/201] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[139/201] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[140/201] Compiling SwiftSyntax RawSyntaxValidation.swift
[141/201] Compiling SwiftSyntax SyntaxNodesAB.swift
[142/201] Compiling SwiftSyntax SyntaxNodesC.swift
[143/201] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[144/201] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[145/201] Compiling SwiftSyntax RawSyntaxTokenView.swift
[146/201] Compiling SwiftSyntax SourceEdit.swift
[147/201] Compiling SwiftSyntax SourceLength.swift
[148/201] Compiling SwiftSyntax SourceLocation.swift
[149/201] Compiling SwiftSyntax SourcePresence.swift
[150/201] Emitting module CombineSchedulers
[151/201] Compiling CombineSchedulers SwiftUI.swift
[152/201] Compiling CombineSchedulers ImmediateScheduler.swift
[153/201] Compiling CombineSchedulers Deprecations.swift
[154/201] Compiling CombineSchedulers Platform.swift
[155/201] Compiling CombineSchedulers Lock.swift
[156/201] Compiling CombineSchedulers NSRecursiveLock.swift
[157/224] Compiling CombineExtensions DispatchQueue+.swift
[158/224] Compiling CombineExtensions NoOptionsSchedulerOf.swift
[159/226] Compiling CombineExtensions AnySubject.swift
[160/226] Compiling CombineExtensions DefaultInnerPublishSubject.swift
[161/226] Compiling CombineExtensions PublishSubject.swift
[162/226] Compiling CombineExtensions Subject+.swift
[163/226] Emitting module CombineExtensions
[164/226] Compiling CombineExtensions Publisher+Concurrency.swift
[165/226] Compiling CombineExtensions Publisher+Errors.swift
[166/226] Compiling CombineExtensions Publisher+UncheckedSendable.swift
[167/226] Compiling CombineExtensions Cancellable+.swift
[168/226] Compiling CombineExtensions NonScopedCancellable.swift
[169/226] Compiling CombineExtensions DelegateProxy.swift
[170/226] Compiling CombineExtensions PublishSubject+Deprecated.swift
[171/226] Compiling CombineExtensions Publisher+SinkOnce.swift
[172/226] Compiling CombineExtensions Exports.swift
[173/226] Compiling CombineExtensions AnyObject+Lifetime.swift
[174/226] Compiling CombineExtensions Lifetime.swift
[175/226] Compiling CombineExtensions Publisher+.swift
[176/226] Compiling CombineExtensions Publishers.Sink+.swift
[177/226] Compiling CombineExtensions PublishersProxy.swift
[178/226] Compiling CombineExtensions SubjectProxy.swift
[179/226] Compiling CombineExtensions AnySubscriber.swift
[180/226] Compiling CombineExtensions CancellationTrackingSubscriber.swift
[181/226] Compiling CombineExtensions CancellationTrackingSubscription.swift
[181/226] 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/CombineSchedulers.build/Deprecations.swift.o(Deprecations.swift.o)' and '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/IssueReporting.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/Interception.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/CombineExtensions.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/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 '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/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)'
/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)'
[182/226] Archiving libCombineExtensions.a
[187/244] Compiling SwiftSyntax SyntaxCollection.swift
[188/244] Compiling SwiftSyntax SyntaxHashable.swift
[189/244] Compiling SwiftSyntax SyntaxIdentifier.swift
[190/244] Compiling SwiftSyntax SyntaxNodeStructure.swift
[191/244] Compiling CombineCocoa UIViewController+Presentation.swift
[192/244] Compiling CombineCocoa UICollectionView+Combine.swift
[193/244] Compiling CombineCocoa UIControl+Combine.swift
[194/244] Compiling CombineCocoa UISearchBar+Combine.swift
[195/244] Compiling CombineCocoa UITableView+Combine.swift
[196/244] Compiling CombineCocoa UIGestureRecognizer+Combine.swift
[197/244] Compiling CombineCocoa UIScrollView+Combine.swift
[198/244] Compiling SwiftSyntax Utils.swift
[199/244] Compiling SwiftSyntax ChildNameForKeyPath.swift
[200/244] Compiling SwiftSyntax Keyword.swift
[201/244] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[202/244] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[203/244] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[204/244] Compiling SwiftSyntax SyntaxBaseNodes.swift
[205/244] Compiling CombineCocoa UITextView+Combine.swift
[206/244] Compiling CombineCocoa Keyboard+Combine.swift
[212/244] Compiling CombineCocoa KeyboardChangeContext.swift
[219/245] Compiling CombineCocoa KeyboardEvent.swift
[220/245] Compiling CombineCocoa NSTextStorage+Combine.swift
[221/245] Compiling CombineCocoa UIBarButtonItem+Combine.swift
[222/245] Compiling CombineCocoa AnimatedAssignSubscriber.swift
[224/245] Compiling CombineCocoa CombineControlTarget.swift
[225/245] Compiling CombineCocoa Exports.swift
[226/245] Emitting module CombineCocoa
[229/245] 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;
[230/245] 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;
Fetching https://github.com/capturecontext/combine-extensions.git
[1/374] Fetching combine-extensions
Fetched https://github.com/capturecontext/combine-extensions.git from cache (0.74s)
Computing version for https://github.com/capturecontext/combine-extensions.git
Computed https://github.com/capturecontext/combine-extensions.git at 0.3.2 (1.27s)
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/204] Fetching combine-interception
Fetched https://github.com/pointfreeco/combine-schedulers.git from cache (0.71s)
Fetched https://github.com/pointfreeco/swift-concurrency-extras.git from cache (0.72s)
Fetched https://github.com/capturecontext/combine-interception.git from cache (0.73s)
Computing version for https://github.com/capturecontext/combine-interception.git
Computed https://github.com/capturecontext/combine-interception.git at 0.4.1 (1.25s)
Fetching https://github.com/capturecontext/swift-interception.git
[1/338] Fetching swift-interception
Fetched https://github.com/capturecontext/swift-interception.git from cache (0.76s)
Computing version for https://github.com/capturecontext/swift-interception.git
Computed https://github.com/capturecontext/swift-interception.git at 0.4.5 (1.29s)
Fetching https://github.com/stackotter/swift-macro-toolkit.git
[1/984] Fetching swift-macro-toolkit
Fetched https://github.com/stackotter/swift-macro-toolkit.git from cache (0.82s)
Computing version for https://github.com/pointfreeco/combine-schedulers.git
Computed https://github.com/pointfreeco/combine-schedulers.git at 1.1.0 (1.36s)
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/OpenCombine/OpenCombine.git from cache (1.30s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.31s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (4.42s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras.git
Computed https://github.com/pointfreeco/swift-concurrency-extras.git at 1.3.2 (0.51s)
Computing version for https://github.com/stackotter/swift-macro-toolkit.git
Computed https://github.com/stackotter/swift-macro-toolkit.git at 0.8.0 (0.49s)
Fetching https://github.com/swiftlang/swift-syntax.git from cache
Fetched https://github.com/swiftlang/swift-syntax.git from cache (1.93s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (2.63s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.8.1 (0.50s)
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.5
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.3.2
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
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.1
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.8.0
Creating working copy for https://github.com/pointfreeco/combine-schedulers.git
Working copy of https://github.com/pointfreeco/combine-schedulers.git resolved at 1.1.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.8.1
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.2
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/50] Compiling SwiftSyntax600 Empty.swift
[3/50] Emitting module SwiftSyntax600
[4/50] Compiling SwiftSyntax510 Empty.swift
[5/50] Emitting module SwiftSyntax510
[6/50] Compiling SwiftSyntax601 Empty.swift
[7/50] Emitting module SwiftSyntax509
[8/50] Compiling SwiftSyntax509 Empty.swift
[9/50] Emitting module SwiftSyntax601
[10/50] Compiling IssueReportingPackageSupport _Test.swift
[11/50] Emitting module IssueReportingPackageSupport
[12/50] Compiling SwiftSyntax602 Empty.swift
[13/50] Emitting module SwiftSyntax602
[14/69] Emitting module _InterceptionUtils
[15/69] Compiling _InterceptionCustomSelectors _MethodSelector.swift
[16/69] Emitting module _InterceptionCustomSelectors
[17/69] Compiling _InterceptionCustomSelectors KeyPath+.swift
[18/69] Emitting module ConcurrencyExtras
[19/69] Compiling IssueReporting ErrorReporting.swift
[20/69] Compiling IssueReporting AppHostWarning.swift
[21/70] Compiling _InterceptionUtils NSObject+Association.swift
[22/70] Compiling _InterceptionUtils NSObject+ObjCRuntime.swift
[23/70] Compiling _InterceptionUtils Exports.swift
[24/70] Compiling _InterceptionUtils ObjC+Constants.swift
[25/70] Compiling _InterceptionUtils ObjC+Runtime.swift
[26/70] Compiling _InterceptionUtils ObjC+Messages.swift
[27/134] Compiling _InterceptionUtils ObjC+Selector.swift
[28/134] Compiling _InterceptionUtils ObjC+RuntimeSubclassing.swift
[29/134] Compiling _InterceptionUtils Synchronizing.swift
[30/134] Compiling _InterceptionCustomSelectors _PropertySelector.swift
[31/134] Compiling _InterceptionCustomSelectors _MutablePropertySelector.swift
[32/134] Compiling ConcurrencyExtras Locking.swift
[33/134] Compiling ConcurrencyExtras UncheckedBox.swift
[34/134] Compiling ConcurrencyExtras LockIsolated.swift
[35/134] Compiling ConcurrencyExtras MainSerialExecutor.swift
[36/134] Compiling ConcurrencyExtras AsyncStream.swift
[37/134] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[38/134] Compiling ConcurrencyExtras Result.swift
[39/134] Compiling ConcurrencyExtras Task.swift
[40/138] Compiling SwiftSyntax MemoryLayout.swift
[41/138] Compiling SwiftSyntax MissingNodeInitializers.swift
[42/138] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[43/138] Compiling SwiftSyntax TokenDiagnostic.swift
[44/138] Compiling ConcurrencyExtras UncheckedSendable.swift
[45/140] Compiling SwiftSyntax EditorPlaceholder.swift
[46/140] Compiling SwiftSyntax Identifier.swift
[47/140] Compiling SwiftSyntax SyntaxProtocol.swift
[48/140] Compiling SwiftSyntax SyntaxText.swift
[49/140] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[50/140] Compiling SwiftSyntax Assert.swift
[51/140] Emitting module IssueReporting
[52/140] Compiling SwiftSyntax RawSyntax.swift
[53/140] Compiling SwiftSyntax RawSyntaxArena.swift
[54/140] Compiling SwiftSyntax Convenience.swift
[55/140] Compiling SwiftSyntax CustomTraits.swift
[56/140] Compiling SwiftSyntax BumpPtrAllocator.swift
[57/140] Compiling SwiftSyntax CommonAncestor.swift
[58/140] Compiling SwiftSyntax AbsolutePosition.swift
[59/140] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[60/140] Compiling IssueReporting WithExpectedIssue.swift
[61/140] Compiling IssueReporting WithIssueContext.swift
[62/140] Compiling Interception InterceptionResult.swift
[63/140] Compiling Interception Exports.swift
[64/140] Emitting module Interception
[65/140] Compiling Interception NSObject+Interception.swift
[66/155] Compiling CombineSchedulers ImmediateScheduler.swift
[67/155] Compiling CombineSchedulers Deprecations.swift
[68/155] Compiling CombineSchedulers Lock.swift
[69/155] Compiling CombineSchedulers NSRecursiveLock.swift
[70/155] Compiling CombineSchedulers AnyScheduler.swift
[71/155] Compiling CombineSchedulers Concurrency.swift
[80/162] Compiling CombineInterception NSObject+Interception.swift
[81/162] Compiling CombineInterception Exports.swift
[82/162] Emitting module CombineInterception
[83/161] Compiling CombineSchedulers UIScheduler.swift
[84/161] Compiling CombineSchedulers TestScheduler.swift
[85/162] Compiling CombineSchedulers UIKit.swift
[86/162] Compiling CombineSchedulers SwiftUI.swift
[89/162] Compiling CombineSchedulers Platform.swift
[94/162] Emitting module CombineSchedulers
[95/162] Compiling CombineSchedulers Timer.swift
[96/162] Compiling CombineSchedulers UnimplementedScheduler.swift
[97/185] Compiling CombineExtensions SubjectProxy.swift
[98/185] Compiling CombineExtensions AnySubscriber.swift
[99/185] Compiling CombineExtensions Publisher+Concurrency.swift
[100/185] Compiling CombineExtensions Publisher+Errors.swift
[101/185] Compiling CombineExtensions Publisher+UncheckedSendable.swift
[102/185] Compiling CombineExtensions DispatchQueue+.swift
[103/185] Compiling CombineExtensions NoOptionsSchedulerOf.swift
[104/185] Compiling CombineExtensions AnySubject.swift
[105/185] Compiling CombineExtensions DefaultInnerPublishSubject.swift
[106/187] Compiling CombineExtensions PublishSubject.swift
[107/187] Compiling CombineExtensions Subject+.swift
[108/187] Compiling CombineExtensions PublishSubject+Deprecated.swift
[109/187] Compiling CombineExtensions Publisher+SinkOnce.swift
[110/187] Compiling CombineExtensions Exports.swift
[111/187] Compiling CombineExtensions Publishers.Sink+.swift
[112/187] Compiling CombineExtensions PublishersProxy.swift
[113/187] Compiling CombineExtensions AnyObject+Lifetime.swift
[114/187] Compiling CombineExtensions Lifetime.swift
[115/187] Compiling CombineExtensions Publisher+.swift
[116/187] Compiling CombineExtensions Cancellable+.swift
[117/187] Compiling CombineExtensions NonScopedCancellable.swift
[118/187] Compiling CombineExtensions DelegateProxy.swift
[119/187] Emitting module CombineExtensions
[120/187] Compiling CombineExtensions CancellationTrackingSubscriber.swift
[121/187] Compiling CombineExtensions CancellationTrackingSubscription.swift
[122/204] Compiling CombineCocoa UITextView+Combine.swift
[123/204] Compiling CombineCocoa Keyboard+Combine.swift
[124/204] Compiling CombineCocoa KeyboardChangeContext.swift
[125/204] Compiling CombineCocoa UISearchBar+Combine.swift
[126/204] Compiling CombineCocoa UITableView+Combine.swift
[127/205] Compiling CombineCocoa UIGestureRecognizer+Combine.swift
[128/205] Compiling CombineCocoa UIScrollView+Combine.swift
[129/205] Compiling CombineCocoa AnimatedAssignSubscriber.swift
[130/205] Compiling CombineCocoa UIViewController+Presentation.swift
[131/205] Compiling CombineCocoa UICollectionView+Combine.swift
[132/205] Compiling CombineCocoa UIControl+Combine.swift
[133/205] Compiling CombineCocoa CombineControlTarget.swift
[134/205] Compiling CombineCocoa Exports.swift
[135/205] Emitting module CombineCocoa
[136/205] Compiling CombineCocoa NSTextStorage+Combine.swift
[137/205] Compiling CombineCocoa UIBarButtonItem+Combine.swift
[138/205] 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;
[139/205] 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;
[140/205] Compiling CombineCocoa KeyboardEvent.swift
BUILD FAILURE 6.1 macosSpm