Build Information
Failed to build combine-cocoa, reference main (a5dad3), with Swift 6.1 for macOS (SPM) on 4 Sep 2026 05:30:07 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/capturecontext/combine-cocoa
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a5dad3c ci: update shared actions
Cloned https://github.com/capturecontext/combine-cocoa.git
Revision (git rev-parse @):
a5dad3c51958494282a298275dd5f9e0a4c1c10e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/capturecontext/combine-cocoa.git at main
========================================
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 SwiftSyntax602
[36/88] Compiling SwiftSyntax602 Empty.swift
[37/88] Emitting module SwiftSyntax509
[38/88] Emitting module SwiftSyntax600
[39/88] Compiling SwiftSyntax509 Empty.swift
[40/88] Compiling SwiftSyntax600 Empty.swift
[41/88] Emitting module SwiftSyntax601
[42/88] Compiling SwiftSyntax601 Empty.swift
[43/88] Compiling SwiftSyntax510 Empty.swift
[44/88] Emitting module SwiftSyntax510
[45/88] Emitting module SwiftSyntax603
[46/88] Compiling SwiftSyntax603 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/173] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[57/173] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[58/173] Compiling SwiftSyntax RawSyntaxTokenView.swift
[59/173] Compiling SwiftSyntax SourceEdit.swift
[60/173] Compiling SwiftSyntax SourceLength.swift
[61/173] Compiling SwiftSyntax SourceLocation.swift
[62/173] Compiling SwiftSyntax SourcePresence.swift
[63/180] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[64/180] Compiling SwiftSyntax Syntax.swift
[65/180] Compiling SwiftSyntax SyntaxChildren.swift
[66/180] Compiling SwiftSyntax SyntaxCollection.swift
[67/180] Compiling SwiftSyntax SyntaxHashable.swift
[68/180] Compiling SwiftSyntax SyntaxIdentifier.swift
[69/180] Compiling SwiftSyntax SyntaxNodeStructure.swift
[70/180] Compiling SwiftSyntax SyntaxProtocol.swift
[71/180] Compiling SwiftSyntax SyntaxText.swift
[72/180] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[73/180] Compiling SwiftSyntax TokenDiagnostic.swift
[74/180] Compiling SwiftSyntax TokenSequence.swift
[75/180] Compiling SwiftSyntax TokenSyntax.swift
[76/180] Compiling SwiftSyntax Trivia.swift
[77/180] Compiling SwiftSyntax Utils.swift
[78/180] Compiling SwiftSyntax ChildNameForKeyPath.swift
[79/182] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[80/182] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[81/182] Compiling SwiftSyntax Keyword.swift
[82/182] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[83/182] Emitting module IssueReporting
[84/182] Compiling IssueReporting WithExpectedIssue.swift
[85/182] Compiling IssueReporting WithIssueContext.swift
[86/182] Compiling _InterceptionUtils Synchronizing.swift
[87/182] Compiling _InterceptionUtils ObjC+Selector.swift
[88/182] Compiling ConcurrencyExtras Task.swift
[91/182] Compiling ConcurrencyExtras UncheckedBox.swift
[92/182] Compiling ConcurrencyExtras LockIsolated.swift
[93/182] Compiling ConcurrencyExtras MainSerialExecutor.swift
[94/182] Emitting module ConcurrencyExtras
[95/182] Compiling ConcurrencyExtras Result.swift
[96/183] Compiling _InterceptionUtils ObjC+Runtime.swift
[97/183] Compiling _InterceptionUtils ObjC+Constants.swift
[98/183] Compiling _InterceptionUtils ObjC+Messages.swift
[99/183] Compiling _InterceptionUtils NSObject+ObjCRuntime.swift
[100/183] Compiling _InterceptionUtils Exports.swift
[101/183] Compiling _InterceptionUtils NSObject+Association.swift
[102/183] Emitting module _InterceptionUtils
[103/183] Compiling _InterceptionUtils ObjC+RuntimeSubclassing.swift
[104/183] Compiling _InterceptionCustomSelectors _MethodSelector.swift
[105/183] Compiling _InterceptionCustomSelectors _MutablePropertySelector.swift
[106/183] Compiling _InterceptionCustomSelectors KeyPath+.swift
[107/183] Emitting module _InterceptionCustomSelectors
[108/183] Compiling _InterceptionCustomSelectors _PropertySelector.swift
[112/183] Compiling ConcurrencyExtras Locking.swift
[113/183] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[116/183] Compiling ConcurrencyExtras AsyncStream.swift
[126/187] Compiling ConcurrencyExtras UncheckedSendable.swift
[127/200] Emitting module Interception
[128/200] Compiling Interception NSObject+Interception.swift
[129/200] Compiling Interception Exports.swift
[130/200] Compiling Interception InterceptionResult.swift
[130/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)'
[131/200] Archiving libInterception.a
[133/203] Compiling CombineInterception Exports.swift
[134/203] Emitting module CombineInterception
[135/203] Compiling CombineInterception NSObject+Interception.swift
[135/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)'
[136/203] Archiving libCombineInterception.a
[138/203] Emitting module SwiftSyntax
[139/203] Compiling SwiftSyntax Tokens.swift
[140/203] Compiling SwiftSyntax TriviaPieces.swift
[141/203] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[142/203] Compiling SwiftSyntax RawSyntaxNodesC.swift
[143/203] Compiling SwiftSyntax RawSyntaxNodesD.swift
[144/203] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[145/203] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[146/203] Compiling SwiftSyntax SyntaxCollections.swift
[147/203] Compiling SwiftSyntax SyntaxEnum.swift
[148/203] Compiling SwiftSyntax SyntaxKind.swift
[149/203] Compiling SwiftSyntax SyntaxRewriter.swift
[150/203] Compiling SwiftSyntax SyntaxTraits.swift
[151/203] Compiling SwiftSyntax SyntaxVisitor.swift
[152/203] Compiling SwiftSyntax TokenKind.swift
[153/203] Compiling CombineSchedulers UIScheduler.swift
[154/204] Compiling CombineSchedulers UnimplementedScheduler.swift
[155/204] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[156/204] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[157/204] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[158/204] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[159/204] Compiling SwiftSyntax RawSyntaxValidation.swift
[160/204] Compiling SwiftSyntax SyntaxNodesAB.swift
[161/204] Compiling SwiftSyntax SyntaxNodesC.swift
[162/204] Compiling CombineSchedulers UIKit.swift
[163/204] Compiling CombineSchedulers TestScheduler.swift
[164/204] Compiling CombineSchedulers Lock.swift
[165/204] Compiling CombineSchedulers NSRecursiveLock.swift
[166/204] Compiling CombineSchedulers Platform.swift
[167/204] Compiling CombineSchedulers Timer.swift
[168/204] Emitting module CombineSchedulers
[169/204] Compiling CombineSchedulers ImmediateScheduler.swift
[170/204] Compiling CombineSchedulers Deprecations.swift
[171/204] Compiling CombineSchedulers AnyScheduler.swift
[172/204] Compiling CombineSchedulers Concurrency.swift
[173/204] Compiling CombineSchedulers SwiftUI.swift
[174/227] Emitting module CombineExtensions
[175/229] Compiling CombineExtensions Publisher+Concurrency.swift
[176/229] Compiling CombineExtensions Publisher+Errors.swift
[177/229] Compiling CombineExtensions Publisher+UncheckedSendable.swift
[178/229] Compiling CombineExtensions AnySubject.swift
[179/229] Compiling CombineExtensions DefaultInnerPublishSubject.swift
[180/229] Compiling CombineExtensions DispatchQueue+.swift
[181/229] Compiling CombineExtensions NoOptionsSchedulerOf.swift
[182/229] Compiling CombineExtensions PublishSubject.swift
[183/229] Compiling CombineExtensions Subject+.swift
[184/229] Compiling CombineExtensions PublishSubject+Deprecated.swift
[185/229] Compiling CombineExtensions Publisher+SinkOnce.swift
[186/229] Compiling CombineExtensions Exports.swift
[187/229] Compiling CombineExtensions Publishers.Sink+.swift
[188/229] Compiling CombineExtensions PublishersProxy.swift
[189/229] Compiling CombineExtensions Cancellable+.swift
[190/229] Compiling CombineExtensions NonScopedCancellable.swift
[191/229] Compiling CombineExtensions DelegateProxy.swift
[192/229] Compiling CombineExtensions SubjectProxy.swift
[193/229] Compiling CombineExtensions AnySubscriber.swift
[194/229] Compiling CombineExtensions AnyObject+Lifetime.swift
[195/229] Compiling CombineExtensions Lifetime.swift
[196/229] Compiling CombineExtensions Publisher+.swift
[197/229] Compiling CombineExtensions CancellationTrackingSubscriber.swift
[198/229] Compiling CombineExtensions CancellationTrackingSubscription.swift
[198/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)'
[199/229] Archiving libCombineExtensions.a
[204/247] Compiling SwiftSyntax MemoryLayout.swift
[205/247] Compiling SwiftSyntax MissingNodeInitializers.swift
[206/247] Compiling SwiftSyntax RawSyntax.swift
[207/247] Compiling SwiftSyntax RawSyntaxArena.swift
[208/247] Compiling CombineCocoa UITextView+Combine.swift
[209/247] Compiling CombineCocoa Keyboard+Combine.swift
[215/247] Compiling CombineCocoa UIGestureRecognizer+Combine.swift
[216/247] Compiling CombineCocoa UIScrollView+Combine.swift
[219/247] Compiling CombineCocoa KeyboardChangeContext.swift
[220/247] Compiling CombineCocoa UISearchBar+Combine.swift
[221/247] Compiling CombineCocoa UITableView+Combine.swift
[222/248] Compiling CombineCocoa CombineControlTarget.swift
[223/248] Compiling CombineCocoa Exports.swift
[224/248] Compiling CombineCocoa AnimatedAssignSubscriber.swift
[225/248] Compiling CombineCocoa UIViewController+Presentation.swift
[226/248] Compiling CombineCocoa NSTextStorage+Combine.swift
[227/248] Compiling CombineCocoa UIBarButtonItem+Combine.swift
[228/248] Compiling CombineCocoa UICollectionView+Combine.swift
[229/248] Compiling CombineCocoa UIControl+Combine.swift
[230/248] 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;
[231/248] 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;
[232/248] Emitting module CombineCocoa
[233/248] Compiling CombineCocoa KeyboardEvent.swift
Fetching https://github.com/capturecontext/combine-extensions.git
[10/474] Fetching combine-extensions
Fetched https://github.com/capturecontext/combine-extensions.git from cache (1.29s)
Computing version for https://github.com/capturecontext/combine-extensions.git
Computed https://github.com/capturecontext/combine-extensions.git at 0.3.4 (1.81s)
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.93s)
Fetched https://github.com/pointfreeco/swift-concurrency-extras.git from cache (0.93s)
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.48s)
Computing version for https://github.com/pointfreeco/combine-schedulers.git
Computed https://github.com/pointfreeco/combine-schedulers.git at 1.2.2 (0.52s)
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.45s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.45s)
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.57s)
Computing version for https://github.com/capturecontext/swift-interception.git
Computed https://github.com/capturecontext/swift-interception.git at 0.4.7 (0.53s)
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.02s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (2.77s)
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.47s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.13.1 (2.49s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (0.67s)
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/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/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/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/capturecontext/swift-interception.git
Working copy of https://github.com/capturecontext/swift-interception.git resolved at 0.4.7
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/OpenCombine/OpenCombine.git
Working copy of https://github.com/OpenCombine/OpenCombine.git resolved at 0.14.0
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/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.13.1
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] Compiling SwiftSyntax602 Empty.swift
[3/71] Emitting module SwiftSyntax602
[4/71] Compiling SwiftSyntax601 Empty.swift
[5/71] Emitting module SwiftSyntax601
[6/71] Compiling SwiftSyntax510 Empty.swift
[7/71] Emitting module SwiftSyntax510
[8/71] Emitting module SwiftSyntax603
[9/71] Compiling SwiftSyntax603 Empty.swift
[10/71] Compiling SwiftSyntax509 Empty.swift
[11/71] Emitting module SwiftSyntax509
[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] Compiling _InterceptionUtils Exports.swift
[18/135] Compiling _InterceptionUtils NSObject+Association.swift
[19/135] Compiling _InterceptionUtils Synchronizing.swift
[20/135] Compiling _InterceptionUtils ObjC+Selector.swift
[21/135] Compiling SwiftSyntax MemoryLayout.swift
[22/135] Compiling SwiftSyntax MissingNodeInitializers.swift
[23/135] Compiling SwiftSyntax RawSyntax.swift
[24/135] Compiling _InterceptionUtils ObjC+Runtime.swift
[25/135] Compiling _InterceptionUtils ObjC+RuntimeSubclassing.swift
[26/137] Compiling _InterceptionUtils ObjC+Messages.swift
[27/137] Compiling _InterceptionUtils NSObject+ObjCRuntime.swift
[28/137] Compiling _InterceptionUtils ObjC+Constants.swift
[29/137] Emitting module _InterceptionCustomSelectors
[30/137] Compiling _InterceptionCustomSelectors KeyPath+.swift
[31/137] Emitting module _InterceptionUtils
[32/137] Compiling ConcurrencyExtras MainSerialExecutor.swift
[33/137] Compiling ConcurrencyExtras LockIsolated.swift
[34/137] Compiling ConcurrencyExtras Result.swift
[35/137] Compiling ConcurrencyExtras UncheckedBox.swift
[36/137] Compiling ConcurrencyExtras Locking.swift
[37/137] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[38/137] Compiling ConcurrencyExtras Task.swift
[39/138] Compiling SwiftSyntax CustomTraits.swift
[40/138] Compiling SwiftSyntax EditorPlaceholder.swift
[41/138] Emitting module ConcurrencyExtras
[42/138] Compiling ConcurrencyExtras AsyncStream.swift
[43/138] Compiling SwiftSyntax SyntaxVisitor.swift
[44/138] Compiling SwiftSyntax TokenKind.swift
[45/138] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[46/138] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[47/138] Compiling SwiftSyntax SyntaxRewriter.swift
[48/138] Compiling SwiftSyntax SyntaxTraits.swift
[51/138] Compiling SwiftSyntax Identifier.swift
[52/142] Compiling SwiftSyntax Keyword.swift
[53/142] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[54/142] Compiling SwiftSyntax Utils.swift
[55/142] Compiling SwiftSyntax ChildNameForKeyPath.swift
[56/142] Compiling SwiftSyntax SyntaxEnum.swift
[57/142] Compiling SwiftSyntax SyntaxKind.swift
[58/142] Compiling ConcurrencyExtras UncheckedSendable.swift
[59/142] Compiling SwiftSyntax RawSyntaxArena.swift
[60/142] Compiling SwiftSyntax SyntaxCollections.swift
[61/142] Compiling IssueReporting WithExpectedIssue.swift
[62/142] Compiling IssueReporting WithIssueContext.swift
[63/142] Emitting module IssueReporting
[64/155] Compiling Interception InterceptionResult.swift
[65/155] Compiling Interception Exports.swift
[66/155] Compiling Interception NSObject+Interception.swift
[67/155] Emitting module Interception
[68/157] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[69/157] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[70/157] Compiling SwiftSyntax RawSyntaxTokenView.swift
[71/157] Compiling SwiftSyntax SourceEdit.swift
[72/157] Compiling SwiftSyntax SourceLength.swift
[73/157] Compiling SwiftSyntax SourceLocation.swift
[74/157] Compiling SwiftSyntax SourcePresence.swift
[75/157] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[76/157] Compiling SwiftSyntax Syntax.swift
[77/157] Compiling SwiftSyntax SyntaxChildren.swift
[78/157] Compiling SwiftSyntax SyntaxCollection.swift
[79/157] Compiling SwiftSyntax SyntaxHashable.swift
[80/157] Compiling SwiftSyntax SyntaxIdentifier.swift
[81/157] Compiling SwiftSyntax SyntaxNodeStructure.swift
[82/164] Compiling CombineInterception Exports.swift
[83/164] Compiling CombineSchedulers UIKit.swift
[84/165] Compiling CombineInterception NSObject+Interception.swift
[85/165] Emitting module CombineInterception
[86/164] Compiling CombineSchedulers UIScheduler.swift
[87/164] Compiling CombineSchedulers Platform.swift
[88/164] Compiling CombineSchedulers TestScheduler.swift
[89/164] Compiling CombineSchedulers Lock.swift
[90/164] Compiling CombineSchedulers NSRecursiveLock.swift
[91/164] Compiling CombineSchedulers SwiftUI.swift
[92/164] Compiling CombineSchedulers ImmediateScheduler.swift
[93/164] Compiling CombineSchedulers Deprecations.swift
[94/164] Compiling CombineSchedulers AnyScheduler.swift
[95/164] Compiling CombineSchedulers Concurrency.swift
[96/164] Emitting module CombineSchedulers
[97/164] Compiling CombineSchedulers Timer.swift
[98/164] Compiling CombineSchedulers UnimplementedScheduler.swift
[99/187] Compiling CombineExtensions PublishSubject.swift
[100/187] Compiling CombineExtensions Subject+.swift
[101/187] Compiling CombineExtensions DispatchQueue+.swift
[102/187] Compiling CombineExtensions NoOptionsSchedulerOf.swift
[103/187] Compiling CombineExtensions SubjectProxy.swift
[104/187] Compiling CombineExtensions AnySubscriber.swift
[105/187] Compiling CombineExtensions AnySubject.swift
[106/187] Compiling CombineExtensions DefaultInnerPublishSubject.swift
[107/187] Compiling CombineExtensions PublishSubject+Deprecated.swift
[108/187] Compiling CombineExtensions Publisher+SinkOnce.swift
[109/187] Compiling CombineExtensions Exports.swift
[110/187] Compiling CombineExtensions Publishers.Sink+.swift
[111/187] Compiling CombineExtensions PublishersProxy.swift
[112/189] Compiling CombineExtensions Cancellable+.swift
[113/189] Compiling CombineExtensions NonScopedCancellable.swift
[114/189] Compiling CombineExtensions DelegateProxy.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 UISearchBar+Combine.swift
[125/206] Compiling CombineCocoa UITableView+Combine.swift
[126/206] Compiling CombineCocoa KeyboardChangeContext.swift
[127/206] Compiling CombineCocoa UITextView+Combine.swift
[128/206] Compiling CombineCocoa Keyboard+Combine.swift
[129/207] Compiling CombineCocoa AnimatedAssignSubscriber.swift
[130/207] Compiling CombineCocoa UIViewController+Presentation.swift
[131/207] Compiling CombineCocoa NSTextStorage+Combine.swift
[132/207] Compiling CombineCocoa UIBarButtonItem+Combine.swift
[133/207] Compiling CombineCocoa UIGestureRecognizer+Combine.swift
[134/207] Compiling CombineCocoa UIScrollView+Combine.swift
[135/207] Compiling CombineCocoa UICollectionView+Combine.swift
[136/207] Compiling CombineCocoa UIControl+Combine.swift
[137/207] Compiling CombineCocoa CombineControlTarget.swift
[138/207] Compiling CombineCocoa Exports.swift
[139/207] Emitting module CombineCocoa
[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
BUILD FAILURE 6.1 macosSpm