Build Information
Failed to build MultiViews, reference main (32982f), with Swift 6.1 for macOS (SPM) on 14 Aug 2026 22:01:28 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
39 | -(void)handleGesture:(NSGestureRecognizer*)gestureRecognizer;
40 | */
41 | - (instancetype)initWithTarget:(nullable id)target action:(nullable SEL)action NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init(target:action:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSGestureRecognizer'
42 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
43 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:422:17: warning: main actor-isolated property 'numberOfClicksRequired' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
415 | }
416 |
417 | func addBackgroundTapGesture(tapCount: Int, action: ((CGPoint) -> Void)?) {
| `- note: add '@MainActor' to make instance method 'addBackgroundTapGesture(tapCount:action:)' part of global actor 'MainActor'
418 | guard let action else { return }
419 | backgroundTapCount = max(1, tapCount)
420 | backgroundTapGesture = action
421 | let gesture = NSClickGestureRecognizer(target: self, action: #selector(backgroundTap))
422 | gesture.numberOfClicksRequired = backgroundTapCount
| `- warning: main actor-isolated property 'numberOfClicksRequired' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
423 | scrollView.addGestureRecognizer(gesture)
424 | backgroundTapRecognizer = gesture
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSClickGestureRecognizer.h:24:21: note: mutation of this property is only permitted within the actor
22 |
23 | /* the number of clicks required to match */
24 | @property NSInteger numberOfClicksRequired; // Defaults to 1
| `- note: mutation of this property is only permitted within the actor
25 |
26 | @property NSInteger numberOfTouchesRequired API_AVAILABLE(macos(10.12.2));
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:423:20: warning: call to main actor-isolated instance method 'addGestureRecognizer' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
415 | }
416 |
417 | func addBackgroundTapGesture(tapCount: Int, action: ((CGPoint) -> Void)?) {
| `- note: add '@MainActor' to make instance method 'addBackgroundTapGesture(tapCount:action:)' part of global actor 'MainActor'
418 | guard let action else { return }
419 | backgroundTapCount = max(1, tapCount)
:
421 | let gesture = NSClickGestureRecognizer(target: self, action: #selector(backgroundTap))
422 | gesture.numberOfClicksRequired = backgroundTapCount
423 | scrollView.addGestureRecognizer(gesture)
| `- warning: call to main actor-isolated instance method 'addGestureRecognizer' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
424 | backgroundTapRecognizer = gesture
425 | }
AppKit.NSView.addGestureRecognizer:3:24: note: calls to instance method 'addGestureRecognizer' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @available(macOS 10.10, *)
3 | @MainActor open func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer)}
| |- note: calls to instance method 'addGestureRecognizer' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:428:23: warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
425 | }
426 |
427 | @objc func backgroundTap(_ gesture: NSClickGestureRecognizer) {
| `- note: add '@MainActor' to make instance method 'backgroundTap' part of global actor 'MainActor'
428 | guard gesture.state == .ended else { return }
| `- warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
429 | let location = gesture.location(in: scrollView)
430 | if let documentView = scrollView.documentView,
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSGestureRecognizer.h:48:47: note: property declared here
46 |
47 | /* the current state of the gesture recognizer */
48 | @property (readonly) NSGestureRecognizerState state;
| `- note: property declared here
49 |
50 | /* the gesture recognizer's delegate */
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:429:32: warning: call to main actor-isolated instance method 'location(in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
425 | }
426 |
427 | @objc func backgroundTap(_ gesture: NSClickGestureRecognizer) {
| `- note: add '@MainActor' to make instance method 'backgroundTap' part of global actor 'MainActor'
428 | guard gesture.state == .ended else { return }
429 | let location = gesture.location(in: scrollView)
| `- warning: call to main actor-isolated instance method 'location(in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
430 | if let documentView = scrollView.documentView,
431 | documentView.bounds.contains(gesture.location(in: documentView)) {
AppKit.NSGestureRecognizer.location:2:22: note: calls to instance method 'location(in:)' from outside of its actor context are implicitly asynchronous
1 | class NSGestureRecognizer {
2 | @MainActor open func location(in view: NSView?) -> NSPoint}
| `- note: calls to instance method 'location(in:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:430:42: warning: main actor-isolated property 'documentView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
425 | }
426 |
427 | @objc func backgroundTap(_ gesture: NSClickGestureRecognizer) {
| `- note: add '@MainActor' to make instance method 'backgroundTap' part of global actor 'MainActor'
428 | guard gesture.state == .ended else { return }
429 | let location = gesture.location(in: scrollView)
430 | if let documentView = scrollView.documentView,
| `- warning: main actor-isolated property 'documentView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
431 | documentView.bounds.contains(gesture.location(in: documentView)) {
432 | return
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSScrollView.h:48:47: note: property declared here
46 | @property (readonly) NSRect documentVisibleRect;
47 | @property (readonly) NSSize contentSize;
48 | @property (nullable, strong) __kindof NSView *documentView;
| `- note: property declared here
49 | @property (strong) NSClipView *contentView;
50 | @property (nullable, strong) NSCursor *documentCursor;
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:431:25: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
425 | }
426 |
427 | @objc func backgroundTap(_ gesture: NSClickGestureRecognizer) {
| `- note: add '@MainActor' to make instance method 'backgroundTap' part of global actor 'MainActor'
428 | guard gesture.state == .ended else { return }
429 | let location = gesture.location(in: scrollView)
430 | if let documentView = scrollView.documentView,
431 | documentView.bounds.contains(gesture.location(in: documentView)) {
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
432 | return
433 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
| `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:431:49: warning: call to main actor-isolated instance method 'location(in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
425 | }
426 |
427 | @objc func backgroundTap(_ gesture: NSClickGestureRecognizer) {
| `- note: add '@MainActor' to make instance method 'backgroundTap' part of global actor 'MainActor'
428 | guard gesture.state == .ended else { return }
429 | let location = gesture.location(in: scrollView)
430 | if let documentView = scrollView.documentView,
431 | documentView.bounds.contains(gesture.location(in: documentView)) {
| `- warning: call to main actor-isolated instance method 'location(in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
432 | return
433 | }
AppKit.NSGestureRecognizer.location:2:22: note: calls to instance method 'location(in:)' from outside of its actor context are implicitly asynchronous
1 | class NSGestureRecognizer {
2 | @MainActor open func location(in view: NSView?) -> NSPoint}
| `- note: calls to instance method 'location(in:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:421:23: warning: sending value of non-Sendable type 'MPScrollViewCoordinator' risks causing data races; this is an error in the Swift 6 language mode
419 | backgroundTapCount = max(1, tapCount)
420 | backgroundTapGesture = action
421 | let gesture = NSClickGestureRecognizer(target: self, action: #selector(backgroundTap))
| |- warning: sending value of non-Sendable type 'MPScrollViewCoordinator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type 'MPScrollViewCoordinator' to main actor-isolated initializer 'init(target:action:)' risks causing races in between task-isolated and main actor-isolated uses
422 | gesture.numberOfClicksRequired = backgroundTapCount
423 | scrollView.addGestureRecognizer(gesture)
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:439:23: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
437 | @objc func boundsChange() {
438 | DispatchQueue.main.async { [weak self] in
439 | guard let self else { return }
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
440 | scrollOffset = scrollView.contentView.bounds.origin
441 | zoomScale = scrollView.magnification
[70/80] Compiling MultiViews FrameReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Readers/FrameReader.swift:30:18: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
28 | frame = geometry.frame(in: coordinateSpace)
29 | }
30 | .onChange(of: geometry.frame(in: coordinateSpace)) { newFrame in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
31 | frame = newFrame
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Readers/OriginReader.swift:26:18: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
24 | origin = geometry.frame(in: coordinateSpace).origin
25 | }
26 | .onChange(of: geometry.frame(in: coordinateSpace).origin) { newOrigin in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
27 | origin = newOrigin
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Readers/SizeReader.swift:24:18: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
22 | size = geometry.size
23 | }
24 | .onChange(of: geometry.size) { size in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
25 | self.size = size
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/BindableScrollView.swift:103:14: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
101 | }
102 | .scrollDisabled(!isActive)
103 | .onChange(of: offset) { offset in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
104 | guard isMoving != false else { return }
105 | guard offset != contentOrigin else { return }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/BindableScrollView.swift:108:14: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
106 | scroll(to: offset, with: scrollViewProxy, animated: isAnimated)
107 | }
108 | .onChange(of: contentOrigin) { contentOrigin in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
109 | guard isMoving != true else { return }
110 | guard contentOrigin != offset else { return }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/BindableScrollView.swift:136:21: warning: main actor-isolated property 'isAnimating' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
40 | }
41 |
42 | @State private var isAnimating: Bool = false
| `- note: mutation of this property is only permitted within the actor
43 |
44 | @State private var containerSize: CGSize = .one
:
134 | }
135 | Timer.scheduledTimer(withTimeInterval: animationDuration, repeats: false) { _ in
136 | isAnimating = false
| `- warning: main actor-isolated property 'isAnimating' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
137 | }
138 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:414:67: warning: main actor-isolated property 'contentView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
409 | extension MPScrollViewCoordinator {
410 |
411 | func setup() {
| `- note: add '@MainActor' to make instance method 'setup()' part of global actor 'MainActor'
412 | NotificationCenter.default.addObserver(self, selector: #selector(boundsChange),
413 | name: NSView.boundsDidChangeNotification,
414 | object: scrollView.contentView)
| `- warning: main actor-isolated property 'contentView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
415 | }
416 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSScrollView.h:49:32: note: property declared here
47 | @property (readonly) NSSize contentSize;
48 | @property (nullable, strong) __kindof NSView *documentView;
49 | @property (strong) NSClipView *contentView;
| `- note: property declared here
50 | @property (nullable, strong) NSCursor *documentCursor;
51 | @property NSBorderType borderType;
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:421:23: warning: call to main actor-isolated initializer 'init(target:action:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
415 | }
416 |
417 | func addBackgroundTapGesture(tapCount: Int, action: ((CGPoint) -> Void)?) {
| `- note: add '@MainActor' to make instance method 'addBackgroundTapGesture(tapCount:action:)' part of global actor 'MainActor'
418 | guard let action else { return }
419 | backgroundTapCount = max(1, tapCount)
420 | backgroundTapGesture = action
421 | let gesture = NSClickGestureRecognizer(target: self, action: #selector(backgroundTap))
| `- warning: call to main actor-isolated initializer 'init(target:action:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
422 | gesture.numberOfClicksRequired = backgroundTapCount
423 | scrollView.addGestureRecognizer(gesture)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSGestureRecognizer.h:41:1: note: calls to initializer 'init(target:action:)' from outside of its actor context are implicitly asynchronous
39 | -(void)handleGesture:(NSGestureRecognizer*)gestureRecognizer;
40 | */
41 | - (instancetype)initWithTarget:(nullable id)target action:(nullable SEL)action NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init(target:action:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSGestureRecognizer'
42 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
43 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:422:17: warning: main actor-isolated property 'numberOfClicksRequired' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
415 | }
416 |
417 | func addBackgroundTapGesture(tapCount: Int, action: ((CGPoint) -> Void)?) {
| `- note: add '@MainActor' to make instance method 'addBackgroundTapGesture(tapCount:action:)' part of global actor 'MainActor'
418 | guard let action else { return }
419 | backgroundTapCount = max(1, tapCount)
420 | backgroundTapGesture = action
421 | let gesture = NSClickGestureRecognizer(target: self, action: #selector(backgroundTap))
422 | gesture.numberOfClicksRequired = backgroundTapCount
| `- warning: main actor-isolated property 'numberOfClicksRequired' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
423 | scrollView.addGestureRecognizer(gesture)
424 | backgroundTapRecognizer = gesture
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSClickGestureRecognizer.h:24:21: note: mutation of this property is only permitted within the actor
22 |
23 | /* the number of clicks required to match */
24 | @property NSInteger numberOfClicksRequired; // Defaults to 1
| `- note: mutation of this property is only permitted within the actor
25 |
26 | @property NSInteger numberOfTouchesRequired API_AVAILABLE(macos(10.12.2));
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:423:20: warning: call to main actor-isolated instance method 'addGestureRecognizer' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
415 | }
416 |
417 | func addBackgroundTapGesture(tapCount: Int, action: ((CGPoint) -> Void)?) {
| `- note: add '@MainActor' to make instance method 'addBackgroundTapGesture(tapCount:action:)' part of global actor 'MainActor'
418 | guard let action else { return }
419 | backgroundTapCount = max(1, tapCount)
:
421 | let gesture = NSClickGestureRecognizer(target: self, action: #selector(backgroundTap))
422 | gesture.numberOfClicksRequired = backgroundTapCount
423 | scrollView.addGestureRecognizer(gesture)
| `- warning: call to main actor-isolated instance method 'addGestureRecognizer' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
424 | backgroundTapRecognizer = gesture
425 | }
AppKit.NSView.addGestureRecognizer:3:24: note: calls to instance method 'addGestureRecognizer' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @available(macOS 10.10, *)
3 | @MainActor open func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer)}
| |- note: calls to instance method 'addGestureRecognizer' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:428:23: warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
425 | }
426 |
427 | @objc func backgroundTap(_ gesture: NSClickGestureRecognizer) {
| `- note: add '@MainActor' to make instance method 'backgroundTap' part of global actor 'MainActor'
428 | guard gesture.state == .ended else { return }
| `- warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
429 | let location = gesture.location(in: scrollView)
430 | if let documentView = scrollView.documentView,
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSGestureRecognizer.h:48:47: note: property declared here
46 |
47 | /* the current state of the gesture recognizer */
48 | @property (readonly) NSGestureRecognizerState state;
| `- note: property declared here
49 |
50 | /* the gesture recognizer's delegate */
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:429:32: warning: call to main actor-isolated instance method 'location(in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
425 | }
426 |
427 | @objc func backgroundTap(_ gesture: NSClickGestureRecognizer) {
| `- note: add '@MainActor' to make instance method 'backgroundTap' part of global actor 'MainActor'
428 | guard gesture.state == .ended else { return }
429 | let location = gesture.location(in: scrollView)
| `- warning: call to main actor-isolated instance method 'location(in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
430 | if let documentView = scrollView.documentView,
431 | documentView.bounds.contains(gesture.location(in: documentView)) {
AppKit.NSGestureRecognizer.location:2:22: note: calls to instance method 'location(in:)' from outside of its actor context are implicitly asynchronous
1 | class NSGestureRecognizer {
2 | @MainActor open func location(in view: NSView?) -> NSPoint}
| `- note: calls to instance method 'location(in:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:430:42: warning: main actor-isolated property 'documentView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
425 | }
426 |
427 | @objc func backgroundTap(_ gesture: NSClickGestureRecognizer) {
| `- note: add '@MainActor' to make instance method 'backgroundTap' part of global actor 'MainActor'
428 | guard gesture.state == .ended else { return }
429 | let location = gesture.location(in: scrollView)
430 | if let documentView = scrollView.documentView,
| `- warning: main actor-isolated property 'documentView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
431 | documentView.bounds.contains(gesture.location(in: documentView)) {
432 | return
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSScrollView.h:48:47: note: property declared here
46 | @property (readonly) NSRect documentVisibleRect;
47 | @property (readonly) NSSize contentSize;
48 | @property (nullable, strong) __kindof NSView *documentView;
| `- note: property declared here
49 | @property (strong) NSClipView *contentView;
50 | @property (nullable, strong) NSCursor *documentCursor;
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:431:25: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
425 | }
426 |
427 | @objc func backgroundTap(_ gesture: NSClickGestureRecognizer) {
| `- note: add '@MainActor' to make instance method 'backgroundTap' part of global actor 'MainActor'
428 | guard gesture.state == .ended else { return }
429 | let location = gesture.location(in: scrollView)
430 | if let documentView = scrollView.documentView,
431 | documentView.bounds.contains(gesture.location(in: documentView)) {
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
432 | return
433 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
| `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:431:49: warning: call to main actor-isolated instance method 'location(in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
425 | }
426 |
427 | @objc func backgroundTap(_ gesture: NSClickGestureRecognizer) {
| `- note: add '@MainActor' to make instance method 'backgroundTap' part of global actor 'MainActor'
428 | guard gesture.state == .ended else { return }
429 | let location = gesture.location(in: scrollView)
430 | if let documentView = scrollView.documentView,
431 | documentView.bounds.contains(gesture.location(in: documentView)) {
| `- warning: call to main actor-isolated instance method 'location(in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
432 | return
433 | }
AppKit.NSGestureRecognizer.location:2:22: note: calls to instance method 'location(in:)' from outside of its actor context are implicitly asynchronous
1 | class NSGestureRecognizer {
2 | @MainActor open func location(in view: NSView?) -> NSPoint}
| `- note: calls to instance method 'location(in:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:421:23: warning: sending value of non-Sendable type 'MPScrollViewCoordinator' risks causing data races; this is an error in the Swift 6 language mode
419 | backgroundTapCount = max(1, tapCount)
420 | backgroundTapGesture = action
421 | let gesture = NSClickGestureRecognizer(target: self, action: #selector(backgroundTap))
| |- warning: sending value of non-Sendable type 'MPScrollViewCoordinator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type 'MPScrollViewCoordinator' to main actor-isolated initializer 'init(target:action:)' risks causing races in between task-isolated and main actor-isolated uses
422 | gesture.numberOfClicksRequired = backgroundTapCount
423 | scrollView.addGestureRecognizer(gesture)
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:439:23: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
437 | @objc func boundsChange() {
438 | DispatchQueue.main.async { [weak self] in
439 | guard let self else { return }
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
440 | scrollOffset = scrollView.contentView.bounds.origin
441 | zoomScale = scrollView.magnification
[71/80] Compiling MultiViews OriginReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Readers/FrameReader.swift:30:18: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
28 | frame = geometry.frame(in: coordinateSpace)
29 | }
30 | .onChange(of: geometry.frame(in: coordinateSpace)) { newFrame in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
31 | frame = newFrame
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Readers/OriginReader.swift:26:18: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
24 | origin = geometry.frame(in: coordinateSpace).origin
25 | }
26 | .onChange(of: geometry.frame(in: coordinateSpace).origin) { newOrigin in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
27 | origin = newOrigin
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Readers/SizeReader.swift:24:18: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
22 | size = geometry.size
23 | }
24 | .onChange(of: geometry.size) { size in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
25 | self.size = size
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/BindableScrollView.swift:103:14: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
101 | }
102 | .scrollDisabled(!isActive)
103 | .onChange(of: offset) { offset in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
104 | guard isMoving != false else { return }
105 | guard offset != contentOrigin else { return }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/BindableScrollView.swift:108:14: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
106 | scroll(to: offset, with: scrollViewProxy, animated: isAnimated)
107 | }
108 | .onChange(of: contentOrigin) { contentOrigin in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
109 | guard isMoving != true else { return }
110 | guard contentOrigin != offset else { return }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/BindableScrollView.swift:136:21: warning: main actor-isolated property 'isAnimating' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
40 | }
41 |
42 | @State private var isAnimating: Bool = false
| `- note: mutation of this property is only permitted within the actor
43 |
44 | @State private var containerSize: CGSize = .one
:
134 | }
135 | Timer.scheduledTimer(withTimeInterval: animationDuration, repeats: false) { _ in
136 | isAnimating = false
| `- warning: main actor-isolated property 'isAnimating' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
137 | }
138 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:414:67: warning: main actor-isolated property 'contentView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
409 | extension MPScrollViewCoordinator {
410 |
411 | func setup() {
| `- note: add '@MainActor' to make instance method 'setup()' part of global actor 'MainActor'
412 | NotificationCenter.default.addObserver(self, selector: #selector(boundsChange),
413 | name: NSView.boundsDidChangeNotification,
414 | object: scrollView.contentView)
| `- warning: main actor-isolated property 'contentView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
415 | }
416 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSScrollView.h:49:32: note: property declared here
47 | @property (readonly) NSSize contentSize;
48 | @property (nullable, strong) __kindof NSView *documentView;
49 | @property (strong) NSClipView *contentView;
| `- note: property declared here
50 | @property (nullable, strong) NSCursor *documentCursor;
51 | @property NSBorderType borderType;
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:421:23: warning: call to main actor-isolated initializer 'init(target:action:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
415 | }
416 |
417 | func addBackgroundTapGesture(tapCount: Int, action: ((CGPoint) -> Void)?) {
| `- note: add '@MainActor' to make instance method 'addBackgroundTapGesture(tapCount:action:)' part of global actor 'MainActor'
418 | guard let action else { return }
419 | backgroundTapCount = max(1, tapCount)
420 | backgroundTapGesture = action
421 | let gesture = NSClickGestureRecognizer(target: self, action: #selector(backgroundTap))
| `- warning: call to main actor-isolated initializer 'init(target:action:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
422 | gesture.numberOfClicksRequired = backgroundTapCount
423 | scrollView.addGestureRecognizer(gesture)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSGestureRecognizer.h:41:1: note: calls to initializer 'init(target:action:)' from outside of its actor context are implicitly asynchronous
39 | -(void)handleGesture:(NSGestureRecognizer*)gestureRecognizer;
40 | */
41 | - (instancetype)initWithTarget:(nullable id)target action:(nullable SEL)action NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init(target:action:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSGestureRecognizer'
42 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
43 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:422:17: warning: main actor-isolated property 'numberOfClicksRequired' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
415 | }
416 |
417 | func addBackgroundTapGesture(tapCount: Int, action: ((CGPoint) -> Void)?) {
| `- note: add '@MainActor' to make instance method 'addBackgroundTapGesture(tapCount:action:)' part of global actor 'MainActor'
418 | guard let action else { return }
419 | backgroundTapCount = max(1, tapCount)
420 | backgroundTapGesture = action
421 | let gesture = NSClickGestureRecognizer(target: self, action: #selector(backgroundTap))
422 | gesture.numberOfClicksRequired = backgroundTapCount
| `- warning: main actor-isolated property 'numberOfClicksRequired' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
423 | scrollView.addGestureRecognizer(gesture)
424 | backgroundTapRecognizer = gesture
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSClickGestureRecognizer.h:24:21: note: mutation of this property is only permitted within the actor
22 |
23 | /* the number of clicks required to match */
24 | @property NSInteger numberOfClicksRequired; // Defaults to 1
| `- note: mutation of this property is only permitted within the actor
25 |
26 | @property NSInteger numberOfTouchesRequired API_AVAILABLE(macos(10.12.2));
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:423:20: warning: call to main actor-isolated instance method 'addGestureRecognizer' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
415 | }
416 |
417 | func addBackgroundTapGesture(tapCount: Int, action: ((CGPoint) -> Void)?) {
| `- note: add '@MainActor' to make instance method 'addBackgroundTapGesture(tapCount:action:)' part of global actor 'MainActor'
418 | guard let action else { return }
419 | backgroundTapCount = max(1, tapCount)
:
421 | let gesture = NSClickGestureRecognizer(target: self, action: #selector(backgroundTap))
422 | gesture.numberOfClicksRequired = backgroundTapCount
423 | scrollView.addGestureRecognizer(gesture)
| `- warning: call to main actor-isolated instance method 'addGestureRecognizer' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
424 | backgroundTapRecognizer = gesture
425 | }
AppKit.NSView.addGestureRecognizer:3:24: note: calls to instance method 'addGestureRecognizer' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @available(macOS 10.10, *)
3 | @MainActor open func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer)}
| |- note: calls to instance method 'addGestureRecognizer' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:428:23: warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
425 | }
426 |
427 | @objc func backgroundTap(_ gesture: NSClickGestureRecognizer) {
| `- note: add '@MainActor' to make instance method 'backgroundTap' part of global actor 'MainActor'
428 | guard gesture.state == .ended else { return }
| `- warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
429 | let location = gesture.location(in: scrollView)
430 | if let documentView = scrollView.documentView,
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSGestureRecognizer.h:48:47: note: property declared here
46 |
47 | /* the current state of the gesture recognizer */
48 | @property (readonly) NSGestureRecognizerState state;
| `- note: property declared here
49 |
50 | /* the gesture recognizer's delegate */
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:429:32: warning: call to main actor-isolated instance method 'location(in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
425 | }
426 |
427 | @objc func backgroundTap(_ gesture: NSClickGestureRecognizer) {
| `- note: add '@MainActor' to make instance method 'backgroundTap' part of global actor 'MainActor'
428 | guard gesture.state == .ended else { return }
429 | let location = gesture.location(in: scrollView)
| `- warning: call to main actor-isolated instance method 'location(in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
430 | if let documentView = scrollView.documentView,
431 | documentView.bounds.contains(gesture.location(in: documentView)) {
AppKit.NSGestureRecognizer.location:2:22: note: calls to instance method 'location(in:)' from outside of its actor context are implicitly asynchronous
1 | class NSGestureRecognizer {
2 | @MainActor open func location(in view: NSView?) -> NSPoint}
| `- note: calls to instance method 'location(in:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:430:42: warning: main actor-isolated property 'documentView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
425 | }
426 |
427 | @objc func backgroundTap(_ gesture: NSClickGestureRecognizer) {
| `- note: add '@MainActor' to make instance method 'backgroundTap' part of global actor 'MainActor'
428 | guard gesture.state == .ended else { return }
429 | let location = gesture.location(in: scrollView)
430 | if let documentView = scrollView.documentView,
| `- warning: main actor-isolated property 'documentView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
431 | documentView.bounds.contains(gesture.location(in: documentView)) {
432 | return
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSScrollView.h:48:47: note: property declared here
46 | @property (readonly) NSRect documentVisibleRect;
47 | @property (readonly) NSSize contentSize;
48 | @property (nullable, strong) __kindof NSView *documentView;
| `- note: property declared here
49 | @property (strong) NSClipView *contentView;
50 | @property (nullable, strong) NSCursor *documentCursor;
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:431:25: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
425 | }
426 |
427 | @objc func backgroundTap(_ gesture: NSClickGestureRecognizer) {
| `- note: add '@MainActor' to make instance method 'backgroundTap' part of global actor 'MainActor'
428 | guard gesture.state == .ended else { return }
429 | let location = gesture.location(in: scrollView)
430 | if let documentView = scrollView.documentView,
431 | documentView.bounds.contains(gesture.location(in: documentView)) {
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
432 | return
433 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
| `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:431:49: warning: call to main actor-isolated instance method 'location(in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
425 | }
426 |
427 | @objc func backgroundTap(_ gesture: NSClickGestureRecognizer) {
| `- note: add '@MainActor' to make instance method 'backgroundTap' part of global actor 'MainActor'
428 | guard gesture.state == .ended else { return }
429 | let location = gesture.location(in: scrollView)
430 | if let documentView = scrollView.documentView,
431 | documentView.bounds.contains(gesture.location(in: documentView)) {
| `- warning: call to main actor-isolated instance method 'location(in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
432 | return
433 | }
AppKit.NSGestureRecognizer.location:2:22: note: calls to instance method 'location(in:)' from outside of its actor context are implicitly asynchronous
1 | class NSGestureRecognizer {
2 | @MainActor open func location(in view: NSView?) -> NSPoint}
| `- note: calls to instance method 'location(in:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:421:23: warning: sending value of non-Sendable type 'MPScrollViewCoordinator' risks causing data races; this is an error in the Swift 6 language mode
419 | backgroundTapCount = max(1, tapCount)
420 | backgroundTapGesture = action
421 | let gesture = NSClickGestureRecognizer(target: self, action: #selector(backgroundTap))
| |- warning: sending value of non-Sendable type 'MPScrollViewCoordinator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type 'MPScrollViewCoordinator' to main actor-isolated initializer 'init(target:action:)' risks causing races in between task-isolated and main actor-isolated uses
422 | gesture.numberOfClicksRequired = backgroundTapCount
423 | scrollView.addGestureRecognizer(gesture)
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:439:23: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
437 | @objc func boundsChange() {
438 | DispatchQueue.main.async { [weak self] in
439 | guard let self else { return }
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
440 | scrollOffset = scrollView.contentView.bounds.origin
441 | zoomScale = scrollView.magnification
[72/80] Compiling MultiViews SizeReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Readers/FrameReader.swift:30:18: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
28 | frame = geometry.frame(in: coordinateSpace)
29 | }
30 | .onChange(of: geometry.frame(in: coordinateSpace)) { newFrame in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
31 | frame = newFrame
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Readers/OriginReader.swift:26:18: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
24 | origin = geometry.frame(in: coordinateSpace).origin
25 | }
26 | .onChange(of: geometry.frame(in: coordinateSpace).origin) { newOrigin in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
27 | origin = newOrigin
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Readers/SizeReader.swift:24:18: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
22 | size = geometry.size
23 | }
24 | .onChange(of: geometry.size) { size in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
25 | self.size = size
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/BindableScrollView.swift:103:14: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
101 | }
102 | .scrollDisabled(!isActive)
103 | .onChange(of: offset) { offset in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
104 | guard isMoving != false else { return }
105 | guard offset != contentOrigin else { return }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/BindableScrollView.swift:108:14: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
106 | scroll(to: offset, with: scrollViewProxy, animated: isAnimated)
107 | }
108 | .onChange(of: contentOrigin) { contentOrigin in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
109 | guard isMoving != true else { return }
110 | guard contentOrigin != offset else { return }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/BindableScrollView.swift:136:21: warning: main actor-isolated property 'isAnimating' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
40 | }
41 |
42 | @State private var isAnimating: Bool = false
| `- note: mutation of this property is only permitted within the actor
43 |
44 | @State private var containerSize: CGSize = .one
:
134 | }
135 | Timer.scheduledTimer(withTimeInterval: animationDuration, repeats: false) { _ in
136 | isAnimating = false
| `- warning: main actor-isolated property 'isAnimating' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
137 | }
138 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:414:67: warning: main actor-isolated property 'contentView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
409 | extension MPScrollViewCoordinator {
410 |
411 | func setup() {
| `- note: add '@MainActor' to make instance method 'setup()' part of global actor 'MainActor'
412 | NotificationCenter.default.addObserver(self, selector: #selector(boundsChange),
413 | name: NSView.boundsDidChangeNotification,
414 | object: scrollView.contentView)
| `- warning: main actor-isolated property 'contentView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
415 | }
416 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSScrollView.h:49:32: note: property declared here
47 | @property (readonly) NSSize contentSize;
48 | @property (nullable, strong) __kindof NSView *documentView;
49 | @property (strong) NSClipView *contentView;
| `- note: property declared here
50 | @property (nullable, strong) NSCursor *documentCursor;
51 | @property NSBorderType borderType;
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:421:23: warning: call to main actor-isolated initializer 'init(target:action:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
415 | }
416 |
417 | func addBackgroundTapGesture(tapCount: Int, action: ((CGPoint) -> Void)?) {
| `- note: add '@MainActor' to make instance method 'addBackgroundTapGesture(tapCount:action:)' part of global actor 'MainActor'
418 | guard let action else { return }
419 | backgroundTapCount = max(1, tapCount)
420 | backgroundTapGesture = action
421 | let gesture = NSClickGestureRecognizer(target: self, action: #selector(backgroundTap))
| `- warning: call to main actor-isolated initializer 'init(target:action:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
422 | gesture.numberOfClicksRequired = backgroundTapCount
423 | scrollView.addGestureRecognizer(gesture)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSGestureRecognizer.h:41:1: note: calls to initializer 'init(target:action:)' from outside of its actor context are implicitly asynchronous
39 | -(void)handleGesture:(NSGestureRecognizer*)gestureRecognizer;
40 | */
41 | - (instancetype)initWithTarget:(nullable id)target action:(nullable SEL)action NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init(target:action:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSGestureRecognizer'
42 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
43 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:422:17: warning: main actor-isolated property 'numberOfClicksRequired' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
415 | }
416 |
417 | func addBackgroundTapGesture(tapCount: Int, action: ((CGPoint) -> Void)?) {
| `- note: add '@MainActor' to make instance method 'addBackgroundTapGesture(tapCount:action:)' part of global actor 'MainActor'
418 | guard let action else { return }
419 | backgroundTapCount = max(1, tapCount)
420 | backgroundTapGesture = action
421 | let gesture = NSClickGestureRecognizer(target: self, action: #selector(backgroundTap))
422 | gesture.numberOfClicksRequired = backgroundTapCount
| `- warning: main actor-isolated property 'numberOfClicksRequired' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
423 | scrollView.addGestureRecognizer(gesture)
424 | backgroundTapRecognizer = gesture
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSClickGestureRecognizer.h:24:21: note: mutation of this property is only permitted within the actor
22 |
23 | /* the number of clicks required to match */
24 | @property NSInteger numberOfClicksRequired; // Defaults to 1
| `- note: mutation of this property is only permitted within the actor
25 |
26 | @property NSInteger numberOfTouchesRequired API_AVAILABLE(macos(10.12.2));
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:423:20: warning: call to main actor-isolated instance method 'addGestureRecognizer' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
415 | }
416 |
417 | func addBackgroundTapGesture(tapCount: Int, action: ((CGPoint) -> Void)?) {
| `- note: add '@MainActor' to make instance method 'addBackgroundTapGesture(tapCount:action:)' part of global actor 'MainActor'
418 | guard let action else { return }
419 | backgroundTapCount = max(1, tapCount)
:
421 | let gesture = NSClickGestureRecognizer(target: self, action: #selector(backgroundTap))
422 | gesture.numberOfClicksRequired = backgroundTapCount
423 | scrollView.addGestureRecognizer(gesture)
| `- warning: call to main actor-isolated instance method 'addGestureRecognizer' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
424 | backgroundTapRecognizer = gesture
425 | }
AppKit.NSView.addGestureRecognizer:3:24: note: calls to instance method 'addGestureRecognizer' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @available(macOS 10.10, *)
3 | @MainActor open func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer)}
| |- note: calls to instance method 'addGestureRecognizer' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:428:23: warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
425 | }
426 |
427 | @objc func backgroundTap(_ gesture: NSClickGestureRecognizer) {
| `- note: add '@MainActor' to make instance method 'backgroundTap' part of global actor 'MainActor'
428 | guard gesture.state == .ended else { return }
| `- warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
429 | let location = gesture.location(in: scrollView)
430 | if let documentView = scrollView.documentView,
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSGestureRecognizer.h:48:47: note: property declared here
46 |
47 | /* the current state of the gesture recognizer */
48 | @property (readonly) NSGestureRecognizerState state;
| `- note: property declared here
49 |
50 | /* the gesture recognizer's delegate */
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:429:32: warning: call to main actor-isolated instance method 'location(in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
425 | }
426 |
427 | @objc func backgroundTap(_ gesture: NSClickGestureRecognizer) {
| `- note: add '@MainActor' to make instance method 'backgroundTap' part of global actor 'MainActor'
428 | guard gesture.state == .ended else { return }
429 | let location = gesture.location(in: scrollView)
| `- warning: call to main actor-isolated instance method 'location(in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
430 | if let documentView = scrollView.documentView,
431 | documentView.bounds.contains(gesture.location(in: documentView)) {
AppKit.NSGestureRecognizer.location:2:22: note: calls to instance method 'location(in:)' from outside of its actor context are implicitly asynchronous
1 | class NSGestureRecognizer {
2 | @MainActor open func location(in view: NSView?) -> NSPoint}
| `- note: calls to instance method 'location(in:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:430:42: warning: main actor-isolated property 'documentView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
425 | }
426 |
427 | @objc func backgroundTap(_ gesture: NSClickGestureRecognizer) {
| `- note: add '@MainActor' to make instance method 'backgroundTap' part of global actor 'MainActor'
428 | guard gesture.state == .ended else { return }
429 | let location = gesture.location(in: scrollView)
430 | if let documentView = scrollView.documentView,
| `- warning: main actor-isolated property 'documentView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
431 | documentView.bounds.contains(gesture.location(in: documentView)) {
432 | return
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSScrollView.h:48:47: note: property declared here
46 | @property (readonly) NSRect documentVisibleRect;
47 | @property (readonly) NSSize contentSize;
48 | @property (nullable, strong) __kindof NSView *documentView;
| `- note: property declared here
49 | @property (strong) NSClipView *contentView;
50 | @property (nullable, strong) NSCursor *documentCursor;
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:431:25: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
425 | }
426 |
427 | @objc func backgroundTap(_ gesture: NSClickGestureRecognizer) {
| `- note: add '@MainActor' to make instance method 'backgroundTap' part of global actor 'MainActor'
428 | guard gesture.state == .ended else { return }
429 | let location = gesture.location(in: scrollView)
430 | if let documentView = scrollView.documentView,
431 | documentView.bounds.contains(gesture.location(in: documentView)) {
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
432 | return
433 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
| `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:431:49: warning: call to main actor-isolated instance method 'location(in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
425 | }
426 |
427 | @objc func backgroundTap(_ gesture: NSClickGestureRecognizer) {
| `- note: add '@MainActor' to make instance method 'backgroundTap' part of global actor 'MainActor'
428 | guard gesture.state == .ended else { return }
429 | let location = gesture.location(in: scrollView)
430 | if let documentView = scrollView.documentView,
431 | documentView.bounds.contains(gesture.location(in: documentView)) {
| `- warning: call to main actor-isolated instance method 'location(in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
432 | return
433 | }
AppKit.NSGestureRecognizer.location:2:22: note: calls to instance method 'location(in:)' from outside of its actor context are implicitly asynchronous
1 | class NSGestureRecognizer {
2 | @MainActor open func location(in view: NSView?) -> NSPoint}
| `- note: calls to instance method 'location(in:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:421:23: warning: sending value of non-Sendable type 'MPScrollViewCoordinator' risks causing data races; this is an error in the Swift 6 language mode
419 | backgroundTapCount = max(1, tapCount)
420 | backgroundTapGesture = action
421 | let gesture = NSClickGestureRecognizer(target: self, action: #selector(backgroundTap))
| |- warning: sending value of non-Sendable type 'MPScrollViewCoordinator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type 'MPScrollViewCoordinator' to main actor-isolated initializer 'init(target:action:)' risks causing races in between task-isolated and main actor-isolated uses
422 | gesture.numberOfClicksRequired = backgroundTapCount
423 | scrollView.addGestureRecognizer(gesture)
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:439:23: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
437 | @objc func boundsChange() {
438 | DispatchQueue.main.async { [weak self] in
439 | guard let self else { return }
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
440 | scrollOffset = scrollView.contentView.bounds.origin
441 | zoomScale = scrollView.magnification
[73/80] Compiling MultiViews BindableScrollView.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Readers/FrameReader.swift:30:18: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
28 | frame = geometry.frame(in: coordinateSpace)
29 | }
30 | .onChange(of: geometry.frame(in: coordinateSpace)) { newFrame in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
31 | frame = newFrame
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Readers/OriginReader.swift:26:18: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
24 | origin = geometry.frame(in: coordinateSpace).origin
25 | }
26 | .onChange(of: geometry.frame(in: coordinateSpace).origin) { newOrigin in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
27 | origin = newOrigin
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Readers/SizeReader.swift:24:18: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
22 | size = geometry.size
23 | }
24 | .onChange(of: geometry.size) { size in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
25 | self.size = size
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/BindableScrollView.swift:103:14: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
101 | }
102 | .scrollDisabled(!isActive)
103 | .onChange(of: offset) { offset in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
104 | guard isMoving != false else { return }
105 | guard offset != contentOrigin else { return }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/BindableScrollView.swift:108:14: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
106 | scroll(to: offset, with: scrollViewProxy, animated: isAnimated)
107 | }
108 | .onChange(of: contentOrigin) { contentOrigin in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
109 | guard isMoving != true else { return }
110 | guard contentOrigin != offset else { return }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/BindableScrollView.swift:136:21: warning: main actor-isolated property 'isAnimating' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
40 | }
41 |
42 | @State private var isAnimating: Bool = false
| `- note: mutation of this property is only permitted within the actor
43 |
44 | @State private var containerSize: CGSize = .one
:
134 | }
135 | Timer.scheduledTimer(withTimeInterval: animationDuration, repeats: false) { _ in
136 | isAnimating = false
| `- warning: main actor-isolated property 'isAnimating' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
137 | }
138 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:414:67: warning: main actor-isolated property 'contentView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
409 | extension MPScrollViewCoordinator {
410 |
411 | func setup() {
| `- note: add '@MainActor' to make instance method 'setup()' part of global actor 'MainActor'
412 | NotificationCenter.default.addObserver(self, selector: #selector(boundsChange),
413 | name: NSView.boundsDidChangeNotification,
414 | object: scrollView.contentView)
| `- warning: main actor-isolated property 'contentView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
415 | }
416 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSScrollView.h:49:32: note: property declared here
47 | @property (readonly) NSSize contentSize;
48 | @property (nullable, strong) __kindof NSView *documentView;
49 | @property (strong) NSClipView *contentView;
| `- note: property declared here
50 | @property (nullable, strong) NSCursor *documentCursor;
51 | @property NSBorderType borderType;
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:421:23: warning: call to main actor-isolated initializer 'init(target:action:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
415 | }
416 |
417 | func addBackgroundTapGesture(tapCount: Int, action: ((CGPoint) -> Void)?) {
| `- note: add '@MainActor' to make instance method 'addBackgroundTapGesture(tapCount:action:)' part of global actor 'MainActor'
418 | guard let action else { return }
419 | backgroundTapCount = max(1, tapCount)
420 | backgroundTapGesture = action
421 | let gesture = NSClickGestureRecognizer(target: self, action: #selector(backgroundTap))
| `- warning: call to main actor-isolated initializer 'init(target:action:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
422 | gesture.numberOfClicksRequired = backgroundTapCount
423 | scrollView.addGestureRecognizer(gesture)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSGestureRecognizer.h:41:1: note: calls to initializer 'init(target:action:)' from outside of its actor context are implicitly asynchronous
39 | -(void)handleGesture:(NSGestureRecognizer*)gestureRecognizer;
40 | */
41 | - (instancetype)initWithTarget:(nullable id)target action:(nullable SEL)action NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init(target:action:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSGestureRecognizer'
42 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
43 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:422:17: warning: main actor-isolated property 'numberOfClicksRequired' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
415 | }
416 |
417 | func addBackgroundTapGesture(tapCount: Int, action: ((CGPoint) -> Void)?) {
| `- note: add '@MainActor' to make instance method 'addBackgroundTapGesture(tapCount:action:)' part of global actor 'MainActor'
418 | guard let action else { return }
419 | backgroundTapCount = max(1, tapCount)
420 | backgroundTapGesture = action
421 | let gesture = NSClickGestureRecognizer(target: self, action: #selector(backgroundTap))
422 | gesture.numberOfClicksRequired = backgroundTapCount
| `- warning: main actor-isolated property 'numberOfClicksRequired' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
423 | scrollView.addGestureRecognizer(gesture)
424 | backgroundTapRecognizer = gesture
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSClickGestureRecognizer.h:24:21: note: mutation of this property is only permitted within the actor
22 |
23 | /* the number of clicks required to match */
24 | @property NSInteger numberOfClicksRequired; // Defaults to 1
| `- note: mutation of this property is only permitted within the actor
25 |
26 | @property NSInteger numberOfTouchesRequired API_AVAILABLE(macos(10.12.2));
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:423:20: warning: call to main actor-isolated instance method 'addGestureRecognizer' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
415 | }
416 |
417 | func addBackgroundTapGesture(tapCount: Int, action: ((CGPoint) -> Void)?) {
| `- note: add '@MainActor' to make instance method 'addBackgroundTapGesture(tapCount:action:)' part of global actor 'MainActor'
418 | guard let action else { return }
419 | backgroundTapCount = max(1, tapCount)
:
421 | let gesture = NSClickGestureRecognizer(target: self, action: #selector(backgroundTap))
422 | gesture.numberOfClicksRequired = backgroundTapCount
423 | scrollView.addGestureRecognizer(gesture)
| `- warning: call to main actor-isolated instance method 'addGestureRecognizer' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
424 | backgroundTapRecognizer = gesture
425 | }
AppKit.NSView.addGestureRecognizer:3:24: note: calls to instance method 'addGestureRecognizer' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @available(macOS 10.10, *)
3 | @MainActor open func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer)}
| |- note: calls to instance method 'addGestureRecognizer' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:428:23: warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
425 | }
426 |
427 | @objc func backgroundTap(_ gesture: NSClickGestureRecognizer) {
| `- note: add '@MainActor' to make instance method 'backgroundTap' part of global actor 'MainActor'
428 | guard gesture.state == .ended else { return }
| `- warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
429 | let location = gesture.location(in: scrollView)
430 | if let documentView = scrollView.documentView,
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSGestureRecognizer.h:48:47: note: property declared here
46 |
47 | /* the current state of the gesture recognizer */
48 | @property (readonly) NSGestureRecognizerState state;
| `- note: property declared here
49 |
50 | /* the gesture recognizer's delegate */
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:429:32: warning: call to main actor-isolated instance method 'location(in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
425 | }
426 |
427 | @objc func backgroundTap(_ gesture: NSClickGestureRecognizer) {
| `- note: add '@MainActor' to make instance method 'backgroundTap' part of global actor 'MainActor'
428 | guard gesture.state == .ended else { return }
429 | let location = gesture.location(in: scrollView)
| `- warning: call to main actor-isolated instance method 'location(in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
430 | if let documentView = scrollView.documentView,
431 | documentView.bounds.contains(gesture.location(in: documentView)) {
AppKit.NSGestureRecognizer.location:2:22: note: calls to instance method 'location(in:)' from outside of its actor context are implicitly asynchronous
1 | class NSGestureRecognizer {
2 | @MainActor open func location(in view: NSView?) -> NSPoint}
| `- note: calls to instance method 'location(in:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:430:42: warning: main actor-isolated property 'documentView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
425 | }
426 |
427 | @objc func backgroundTap(_ gesture: NSClickGestureRecognizer) {
| `- note: add '@MainActor' to make instance method 'backgroundTap' part of global actor 'MainActor'
428 | guard gesture.state == .ended else { return }
429 | let location = gesture.location(in: scrollView)
430 | if let documentView = scrollView.documentView,
| `- warning: main actor-isolated property 'documentView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
431 | documentView.bounds.contains(gesture.location(in: documentView)) {
432 | return
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSScrollView.h:48:47: note: property declared here
46 | @property (readonly) NSRect documentVisibleRect;
47 | @property (readonly) NSSize contentSize;
48 | @property (nullable, strong) __kindof NSView *documentView;
| `- note: property declared here
49 | @property (strong) NSClipView *contentView;
50 | @property (nullable, strong) NSCursor *documentCursor;
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:431:25: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
425 | }
426 |
427 | @objc func backgroundTap(_ gesture: NSClickGestureRecognizer) {
| `- note: add '@MainActor' to make instance method 'backgroundTap' part of global actor 'MainActor'
428 | guard gesture.state == .ended else { return }
429 | let location = gesture.location(in: scrollView)
430 | if let documentView = scrollView.documentView,
431 | documentView.bounds.contains(gesture.location(in: documentView)) {
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
432 | return
433 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
| `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:431:49: warning: call to main actor-isolated instance method 'location(in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
425 | }
426 |
427 | @objc func backgroundTap(_ gesture: NSClickGestureRecognizer) {
| `- note: add '@MainActor' to make instance method 'backgroundTap' part of global actor 'MainActor'
428 | guard gesture.state == .ended else { return }
429 | let location = gesture.location(in: scrollView)
430 | if let documentView = scrollView.documentView,
431 | documentView.bounds.contains(gesture.location(in: documentView)) {
| `- warning: call to main actor-isolated instance method 'location(in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
432 | return
433 | }
AppKit.NSGestureRecognizer.location:2:22: note: calls to instance method 'location(in:)' from outside of its actor context are implicitly asynchronous
1 | class NSGestureRecognizer {
2 | @MainActor open func location(in view: NSView?) -> NSPoint}
| `- note: calls to instance method 'location(in:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:421:23: warning: sending value of non-Sendable type 'MPScrollViewCoordinator' risks causing data races; this is an error in the Swift 6 language mode
419 | backgroundTapCount = max(1, tapCount)
420 | backgroundTapGesture = action
421 | let gesture = NSClickGestureRecognizer(target: self, action: #selector(backgroundTap))
| |- warning: sending value of non-Sendable type 'MPScrollViewCoordinator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type 'MPScrollViewCoordinator' to main actor-isolated initializer 'init(target:action:)' risks causing races in between task-isolated and main actor-isolated uses
422 | gesture.numberOfClicksRequired = backgroundTapCount
423 | scrollView.addGestureRecognizer(gesture)
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:439:23: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
437 | @objc func boundsChange() {
438 | DispatchQueue.main.async { [weak self] in
439 | guard let self else { return }
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
440 | scrollOffset = scrollView.contentView.bounds.origin
441 | zoomScale = scrollView.magnification
[74/80] Compiling MultiViews MVScrollView.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Readers/FrameReader.swift:30:18: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
28 | frame = geometry.frame(in: coordinateSpace)
29 | }
30 | .onChange(of: geometry.frame(in: coordinateSpace)) { newFrame in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
31 | frame = newFrame
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Readers/OriginReader.swift:26:18: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
24 | origin = geometry.frame(in: coordinateSpace).origin
25 | }
26 | .onChange(of: geometry.frame(in: coordinateSpace).origin) { newOrigin in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
27 | origin = newOrigin
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Readers/SizeReader.swift:24:18: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
22 | size = geometry.size
23 | }
24 | .onChange(of: geometry.size) { size in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
25 | self.size = size
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/BindableScrollView.swift:103:14: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
101 | }
102 | .scrollDisabled(!isActive)
103 | .onChange(of: offset) { offset in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
104 | guard isMoving != false else { return }
105 | guard offset != contentOrigin else { return }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/BindableScrollView.swift:108:14: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
106 | scroll(to: offset, with: scrollViewProxy, animated: isAnimated)
107 | }
108 | .onChange(of: contentOrigin) { contentOrigin in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
109 | guard isMoving != true else { return }
110 | guard contentOrigin != offset else { return }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/BindableScrollView.swift:136:21: warning: main actor-isolated property 'isAnimating' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
40 | }
41 |
42 | @State private var isAnimating: Bool = false
| `- note: mutation of this property is only permitted within the actor
43 |
44 | @State private var containerSize: CGSize = .one
:
134 | }
135 | Timer.scheduledTimer(withTimeInterval: animationDuration, repeats: false) { _ in
136 | isAnimating = false
| `- warning: main actor-isolated property 'isAnimating' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
137 | }
138 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:414:67: warning: main actor-isolated property 'contentView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
409 | extension MPScrollViewCoordinator {
410 |
411 | func setup() {
| `- note: add '@MainActor' to make instance method 'setup()' part of global actor 'MainActor'
412 | NotificationCenter.default.addObserver(self, selector: #selector(boundsChange),
413 | name: NSView.boundsDidChangeNotification,
414 | object: scrollView.contentView)
| `- warning: main actor-isolated property 'contentView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
415 | }
416 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSScrollView.h:49:32: note: property declared here
47 | @property (readonly) NSSize contentSize;
48 | @property (nullable, strong) __kindof NSView *documentView;
49 | @property (strong) NSClipView *contentView;
| `- note: property declared here
50 | @property (nullable, strong) NSCursor *documentCursor;
51 | @property NSBorderType borderType;
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:421:23: warning: call to main actor-isolated initializer 'init(target:action:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
415 | }
416 |
417 | func addBackgroundTapGesture(tapCount: Int, action: ((CGPoint) -> Void)?) {
| `- note: add '@MainActor' to make instance method 'addBackgroundTapGesture(tapCount:action:)' part of global actor 'MainActor'
418 | guard let action else { return }
419 | backgroundTapCount = max(1, tapCount)
420 | backgroundTapGesture = action
421 | let gesture = NSClickGestureRecognizer(target: self, action: #selector(backgroundTap))
| `- warning: call to main actor-isolated initializer 'init(target:action:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
422 | gesture.numberOfClicksRequired = backgroundTapCount
423 | scrollView.addGestureRecognizer(gesture)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSGestureRecognizer.h:41:1: note: calls to initializer 'init(target:action:)' from outside of its actor context are implicitly asynchronous
39 | -(void)handleGesture:(NSGestureRecognizer*)gestureRecognizer;
40 | */
41 | - (instancetype)initWithTarget:(nullable id)target action:(nullable SEL)action NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init(target:action:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSGestureRecognizer'
42 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
43 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:422:17: warning: main actor-isolated property 'numberOfClicksRequired' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
415 | }
416 |
417 | func addBackgroundTapGesture(tapCount: Int, action: ((CGPoint) -> Void)?) {
| `- note: add '@MainActor' to make instance method 'addBackgroundTapGesture(tapCount:action:)' part of global actor 'MainActor'
418 | guard let action else { return }
419 | backgroundTapCount = max(1, tapCount)
420 | backgroundTapGesture = action
421 | let gesture = NSClickGestureRecognizer(target: self, action: #selector(backgroundTap))
422 | gesture.numberOfClicksRequired = backgroundTapCount
| `- warning: main actor-isolated property 'numberOfClicksRequired' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
423 | scrollView.addGestureRecognizer(gesture)
424 | backgroundTapRecognizer = gesture
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSClickGestureRecognizer.h:24:21: note: mutation of this property is only permitted within the actor
22 |
23 | /* the number of clicks required to match */
24 | @property NSInteger numberOfClicksRequired; // Defaults to 1
| `- note: mutation of this property is only permitted within the actor
25 |
26 | @property NSInteger numberOfTouchesRequired API_AVAILABLE(macos(10.12.2));
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:423:20: warning: call to main actor-isolated instance method 'addGestureRecognizer' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
415 | }
416 |
417 | func addBackgroundTapGesture(tapCount: Int, action: ((CGPoint) -> Void)?) {
| `- note: add '@MainActor' to make instance method 'addBackgroundTapGesture(tapCount:action:)' part of global actor 'MainActor'
418 | guard let action else { return }
419 | backgroundTapCount = max(1, tapCount)
:
421 | let gesture = NSClickGestureRecognizer(target: self, action: #selector(backgroundTap))
422 | gesture.numberOfClicksRequired = backgroundTapCount
423 | scrollView.addGestureRecognizer(gesture)
| `- warning: call to main actor-isolated instance method 'addGestureRecognizer' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
424 | backgroundTapRecognizer = gesture
425 | }
AppKit.NSView.addGestureRecognizer:3:24: note: calls to instance method 'addGestureRecognizer' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @available(macOS 10.10, *)
3 | @MainActor open func addGestureRecognizer(_ gestureRecognizer: NSGestureRecognizer)}
| |- note: calls to instance method 'addGestureRecognizer' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:428:23: warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
425 | }
426 |
427 | @objc func backgroundTap(_ gesture: NSClickGestureRecognizer) {
| `- note: add '@MainActor' to make instance method 'backgroundTap' part of global actor 'MainActor'
428 | guard gesture.state == .ended else { return }
| `- warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
429 | let location = gesture.location(in: scrollView)
430 | if let documentView = scrollView.documentView,
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSGestureRecognizer.h:48:47: note: property declared here
46 |
47 | /* the current state of the gesture recognizer */
48 | @property (readonly) NSGestureRecognizerState state;
| `- note: property declared here
49 |
50 | /* the gesture recognizer's delegate */
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:429:32: warning: call to main actor-isolated instance method 'location(in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
425 | }
426 |
427 | @objc func backgroundTap(_ gesture: NSClickGestureRecognizer) {
| `- note: add '@MainActor' to make instance method 'backgroundTap' part of global actor 'MainActor'
428 | guard gesture.state == .ended else { return }
429 | let location = gesture.location(in: scrollView)
| `- warning: call to main actor-isolated instance method 'location(in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
430 | if let documentView = scrollView.documentView,
431 | documentView.bounds.contains(gesture.location(in: documentView)) {
AppKit.NSGestureRecognizer.location:2:22: note: calls to instance method 'location(in:)' from outside of its actor context are implicitly asynchronous
1 | class NSGestureRecognizer {
2 | @MainActor open func location(in view: NSView?) -> NSPoint}
| `- note: calls to instance method 'location(in:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:430:42: warning: main actor-isolated property 'documentView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
425 | }
426 |
427 | @objc func backgroundTap(_ gesture: NSClickGestureRecognizer) {
| `- note: add '@MainActor' to make instance method 'backgroundTap' part of global actor 'MainActor'
428 | guard gesture.state == .ended else { return }
429 | let location = gesture.location(in: scrollView)
430 | if let documentView = scrollView.documentView,
| `- warning: main actor-isolated property 'documentView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
431 | documentView.bounds.contains(gesture.location(in: documentView)) {
432 | return
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSScrollView.h:48:47: note: property declared here
46 | @property (readonly) NSRect documentVisibleRect;
47 | @property (readonly) NSSize contentSize;
48 | @property (nullable, strong) __kindof NSView *documentView;
| `- note: property declared here
49 | @property (strong) NSClipView *contentView;
50 | @property (nullable, strong) NSCursor *documentCursor;
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:431:25: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
425 | }
426 |
427 | @objc func backgroundTap(_ gesture: NSClickGestureRecognizer) {
| `- note: add '@MainActor' to make instance method 'backgroundTap' part of global actor 'MainActor'
428 | guard gesture.state == .ended else { return }
429 | let location = gesture.location(in: scrollView)
430 | if let documentView = scrollView.documentView,
431 | documentView.bounds.contains(gesture.location(in: documentView)) {
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
432 | return
433 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
| `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:431:49: warning: call to main actor-isolated instance method 'location(in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
425 | }
426 |
427 | @objc func backgroundTap(_ gesture: NSClickGestureRecognizer) {
| `- note: add '@MainActor' to make instance method 'backgroundTap' part of global actor 'MainActor'
428 | guard gesture.state == .ended else { return }
429 | let location = gesture.location(in: scrollView)
430 | if let documentView = scrollView.documentView,
431 | documentView.bounds.contains(gesture.location(in: documentView)) {
| `- warning: call to main actor-isolated instance method 'location(in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
432 | return
433 | }
AppKit.NSGestureRecognizer.location:2:22: note: calls to instance method 'location(in:)' from outside of its actor context are implicitly asynchronous
1 | class NSGestureRecognizer {
2 | @MainActor open func location(in view: NSView?) -> NSPoint}
| `- note: calls to instance method 'location(in:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:421:23: warning: sending value of non-Sendable type 'MPScrollViewCoordinator' risks causing data races; this is an error in the Swift 6 language mode
419 | backgroundTapCount = max(1, tapCount)
420 | backgroundTapGesture = action
421 | let gesture = NSClickGestureRecognizer(target: self, action: #selector(backgroundTap))
| |- warning: sending value of non-Sendable type 'MPScrollViewCoordinator' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type 'MPScrollViewCoordinator' to main actor-isolated initializer 'init(target:action:)' risks causing races in between task-isolated and main actor-isolated uses
422 | gesture.numberOfClicksRequired = backgroundTapCount
423 | scrollView.addGestureRecognizer(gesture)
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/MVScrollView.swift:439:23: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
437 | @objc func boundsChange() {
438 | DispatchQueue.main.async { [weak self] in
439 | guard let self else { return }
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
440 | scrollOffset = scrollView.contentView.bounds.origin
441 | zoomScale = scrollView.magnification
[75/80] Compiling MultiViews Previews.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/AsyncButton.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'AsyncButtonStyle' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | public enum AsyncButtonStyle {
| `- note: consider making enum 'AsyncButtonStyle' conform to the 'Sendable' protocol
11 | case plain
12 | case pulse
:
18 | }
19 | case spinner(SpinnerStyle)
20 | public static let `default`: AsyncButtonStyle = .plain
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'AsyncButtonStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/AsyncButton.swift:51:24: error: extra argument 'name' in call
49 | runDate = .now
50 | isRunning = true
51 | Task(name: taskName) {
| `- error: extra argument 'name' in call
52 | await action()
53 | isRunning = false
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassButton.swift:125:35: error: reference to member 'glassProminent' cannot be resolved without a contextual type
123 | #if os(macOS)
124 | nativeGlassAsyncButton
125 | .buttonStyle(.glassProminent)
| `- error: reference to member 'glassProminent' cannot be resolved without a contextual type
126 | .tint(backgroundColor)
127 | #else
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassButton.swift:167:30: error: value of type 'some View' has no member 'glassEffect'
165 | label()
166 | .foregroundStyle(foregroundColor)
167 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: value of type 'some View' has no member 'glassEffect'
168 | } else {
169 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassButton.swift:167:43: error: cannot infer contextual base in reference to member 'regular'
165 | label()
166 | .foregroundStyle(foregroundColor)
167 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: cannot infer contextual base in reference to member 'regular'
168 | } else {
169 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassMenu.swift:99:35: error: reference to member 'glassProminent' cannot be resolved without a contextual type
97 | if let (_, backgroundColor) = style.color {
98 | nativeGlassAsyncMenu
99 | .buttonStyle(.glassProminent)
| `- error: reference to member 'glassProminent' cannot be resolved without a contextual type
100 | .tint(backgroundColor)
101 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassMenu.swift:137:26: error: value of type 'some View' has no member 'glassEffect'
135 | label()
136 | .foregroundStyle(foregroundColor)
137 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: value of type 'some View' has no member 'glassEffect'
138 | } else {
139 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassMenu.swift:137:39: error: cannot infer contextual base in reference to member 'regular'
135 | label()
136 | .foregroundStyle(foregroundColor)
137 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: cannot infer contextual base in reference to member 'regular'
138 | } else {
139 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassPicker.swift:100:35: error: reference to member 'glassProminent' cannot be resolved without a contextual type
98 | if let backgroundColor = style.backgroundColor {
99 | nativeGlassAsyncPicker
100 | .buttonStyle(.glassProminent)
| `- error: reference to member 'glassProminent' cannot be resolved without a contextual type
101 | .tint(backgroundColor)
102 | } else {
[76/80] Compiling MultiViews AsyncButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/AsyncButton.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'AsyncButtonStyle' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | public enum AsyncButtonStyle {
| `- note: consider making enum 'AsyncButtonStyle' conform to the 'Sendable' protocol
11 | case plain
12 | case pulse
:
18 | }
19 | case spinner(SpinnerStyle)
20 | public static let `default`: AsyncButtonStyle = .plain
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'AsyncButtonStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/AsyncButton.swift:51:24: error: extra argument 'name' in call
49 | runDate = .now
50 | isRunning = true
51 | Task(name: taskName) {
| `- error: extra argument 'name' in call
52 | await action()
53 | isRunning = false
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassButton.swift:125:35: error: reference to member 'glassProminent' cannot be resolved without a contextual type
123 | #if os(macOS)
124 | nativeGlassAsyncButton
125 | .buttonStyle(.glassProminent)
| `- error: reference to member 'glassProminent' cannot be resolved without a contextual type
126 | .tint(backgroundColor)
127 | #else
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassButton.swift:167:30: error: value of type 'some View' has no member 'glassEffect'
165 | label()
166 | .foregroundStyle(foregroundColor)
167 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: value of type 'some View' has no member 'glassEffect'
168 | } else {
169 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassButton.swift:167:43: error: cannot infer contextual base in reference to member 'regular'
165 | label()
166 | .foregroundStyle(foregroundColor)
167 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: cannot infer contextual base in reference to member 'regular'
168 | } else {
169 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassMenu.swift:99:35: error: reference to member 'glassProminent' cannot be resolved without a contextual type
97 | if let (_, backgroundColor) = style.color {
98 | nativeGlassAsyncMenu
99 | .buttonStyle(.glassProminent)
| `- error: reference to member 'glassProminent' cannot be resolved without a contextual type
100 | .tint(backgroundColor)
101 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassMenu.swift:137:26: error: value of type 'some View' has no member 'glassEffect'
135 | label()
136 | .foregroundStyle(foregroundColor)
137 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: value of type 'some View' has no member 'glassEffect'
138 | } else {
139 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassMenu.swift:137:39: error: cannot infer contextual base in reference to member 'regular'
135 | label()
136 | .foregroundStyle(foregroundColor)
137 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: cannot infer contextual base in reference to member 'regular'
138 | } else {
139 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassPicker.swift:100:35: error: reference to member 'glassProminent' cannot be resolved without a contextual type
98 | if let backgroundColor = style.backgroundColor {
99 | nativeGlassAsyncPicker
100 | .buttonStyle(.glassProminent)
| `- error: reference to member 'glassProminent' cannot be resolved without a contextual type
101 | .tint(backgroundColor)
102 | } else {
[77/80] Compiling MultiViews GlassButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/AsyncButton.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'AsyncButtonStyle' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | public enum AsyncButtonStyle {
| `- note: consider making enum 'AsyncButtonStyle' conform to the 'Sendable' protocol
11 | case plain
12 | case pulse
:
18 | }
19 | case spinner(SpinnerStyle)
20 | public static let `default`: AsyncButtonStyle = .plain
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'AsyncButtonStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/AsyncButton.swift:51:24: error: extra argument 'name' in call
49 | runDate = .now
50 | isRunning = true
51 | Task(name: taskName) {
| `- error: extra argument 'name' in call
52 | await action()
53 | isRunning = false
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassButton.swift:125:35: error: reference to member 'glassProminent' cannot be resolved without a contextual type
123 | #if os(macOS)
124 | nativeGlassAsyncButton
125 | .buttonStyle(.glassProminent)
| `- error: reference to member 'glassProminent' cannot be resolved without a contextual type
126 | .tint(backgroundColor)
127 | #else
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassButton.swift:167:30: error: value of type 'some View' has no member 'glassEffect'
165 | label()
166 | .foregroundStyle(foregroundColor)
167 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: value of type 'some View' has no member 'glassEffect'
168 | } else {
169 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassButton.swift:167:43: error: cannot infer contextual base in reference to member 'regular'
165 | label()
166 | .foregroundStyle(foregroundColor)
167 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: cannot infer contextual base in reference to member 'regular'
168 | } else {
169 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassMenu.swift:99:35: error: reference to member 'glassProminent' cannot be resolved without a contextual type
97 | if let (_, backgroundColor) = style.color {
98 | nativeGlassAsyncMenu
99 | .buttonStyle(.glassProminent)
| `- error: reference to member 'glassProminent' cannot be resolved without a contextual type
100 | .tint(backgroundColor)
101 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassMenu.swift:137:26: error: value of type 'some View' has no member 'glassEffect'
135 | label()
136 | .foregroundStyle(foregroundColor)
137 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: value of type 'some View' has no member 'glassEffect'
138 | } else {
139 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassMenu.swift:137:39: error: cannot infer contextual base in reference to member 'regular'
135 | label()
136 | .foregroundStyle(foregroundColor)
137 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: cannot infer contextual base in reference to member 'regular'
138 | } else {
139 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassPicker.swift:100:35: error: reference to member 'glassProminent' cannot be resolved without a contextual type
98 | if let backgroundColor = style.backgroundColor {
99 | nativeGlassAsyncPicker
100 | .buttonStyle(.glassProminent)
| `- error: reference to member 'glassProminent' cannot be resolved without a contextual type
101 | .tint(backgroundColor)
102 | } else {
[78/80] Compiling MultiViews GlassMenu.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/AsyncButton.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'AsyncButtonStyle' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | public enum AsyncButtonStyle {
| `- note: consider making enum 'AsyncButtonStyle' conform to the 'Sendable' protocol
11 | case plain
12 | case pulse
:
18 | }
19 | case spinner(SpinnerStyle)
20 | public static let `default`: AsyncButtonStyle = .plain
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'AsyncButtonStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/AsyncButton.swift:51:24: error: extra argument 'name' in call
49 | runDate = .now
50 | isRunning = true
51 | Task(name: taskName) {
| `- error: extra argument 'name' in call
52 | await action()
53 | isRunning = false
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassButton.swift:125:35: error: reference to member 'glassProminent' cannot be resolved without a contextual type
123 | #if os(macOS)
124 | nativeGlassAsyncButton
125 | .buttonStyle(.glassProminent)
| `- error: reference to member 'glassProminent' cannot be resolved without a contextual type
126 | .tint(backgroundColor)
127 | #else
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassButton.swift:167:30: error: value of type 'some View' has no member 'glassEffect'
165 | label()
166 | .foregroundStyle(foregroundColor)
167 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: value of type 'some View' has no member 'glassEffect'
168 | } else {
169 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassButton.swift:167:43: error: cannot infer contextual base in reference to member 'regular'
165 | label()
166 | .foregroundStyle(foregroundColor)
167 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: cannot infer contextual base in reference to member 'regular'
168 | } else {
169 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassMenu.swift:99:35: error: reference to member 'glassProminent' cannot be resolved without a contextual type
97 | if let (_, backgroundColor) = style.color {
98 | nativeGlassAsyncMenu
99 | .buttonStyle(.glassProminent)
| `- error: reference to member 'glassProminent' cannot be resolved without a contextual type
100 | .tint(backgroundColor)
101 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassMenu.swift:137:26: error: value of type 'some View' has no member 'glassEffect'
135 | label()
136 | .foregroundStyle(foregroundColor)
137 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: value of type 'some View' has no member 'glassEffect'
138 | } else {
139 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassMenu.swift:137:39: error: cannot infer contextual base in reference to member 'regular'
135 | label()
136 | .foregroundStyle(foregroundColor)
137 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: cannot infer contextual base in reference to member 'regular'
138 | } else {
139 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassPicker.swift:100:35: error: reference to member 'glassProminent' cannot be resolved without a contextual type
98 | if let backgroundColor = style.backgroundColor {
99 | nativeGlassAsyncPicker
100 | .buttonStyle(.glassProminent)
| `- error: reference to member 'glassProminent' cannot be resolved without a contextual type
101 | .tint(backgroundColor)
102 | } else {
[79/80] Compiling MultiViews GlassPicker.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/AsyncButton.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'AsyncButtonStyle' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | public enum AsyncButtonStyle {
| `- note: consider making enum 'AsyncButtonStyle' conform to the 'Sendable' protocol
11 | case plain
12 | case pulse
:
18 | }
19 | case spinner(SpinnerStyle)
20 | public static let `default`: AsyncButtonStyle = .plain
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'AsyncButtonStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/AsyncButton.swift:51:24: error: extra argument 'name' in call
49 | runDate = .now
50 | isRunning = true
51 | Task(name: taskName) {
| `- error: extra argument 'name' in call
52 | await action()
53 | isRunning = false
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassButton.swift:125:35: error: reference to member 'glassProminent' cannot be resolved without a contextual type
123 | #if os(macOS)
124 | nativeGlassAsyncButton
125 | .buttonStyle(.glassProminent)
| `- error: reference to member 'glassProminent' cannot be resolved without a contextual type
126 | .tint(backgroundColor)
127 | #else
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassButton.swift:167:30: error: value of type 'some View' has no member 'glassEffect'
165 | label()
166 | .foregroundStyle(foregroundColor)
167 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: value of type 'some View' has no member 'glassEffect'
168 | } else {
169 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassButton.swift:167:43: error: cannot infer contextual base in reference to member 'regular'
165 | label()
166 | .foregroundStyle(foregroundColor)
167 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: cannot infer contextual base in reference to member 'regular'
168 | } else {
169 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassMenu.swift:99:35: error: reference to member 'glassProminent' cannot be resolved without a contextual type
97 | if let (_, backgroundColor) = style.color {
98 | nativeGlassAsyncMenu
99 | .buttonStyle(.glassProminent)
| `- error: reference to member 'glassProminent' cannot be resolved without a contextual type
100 | .tint(backgroundColor)
101 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassMenu.swift:137:26: error: value of type 'some View' has no member 'glassEffect'
135 | label()
136 | .foregroundStyle(foregroundColor)
137 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: value of type 'some View' has no member 'glassEffect'
138 | } else {
139 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassMenu.swift:137:39: error: cannot infer contextual base in reference to member 'regular'
135 | label()
136 | .foregroundStyle(foregroundColor)
137 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: cannot infer contextual base in reference to member 'regular'
138 | } else {
139 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassPicker.swift:100:35: error: reference to member 'glassProminent' cannot be resolved without a contextual type
98 | if let backgroundColor = style.backgroundColor {
99 | nativeGlassAsyncPicker
100 | .buttonStyle(.glassProminent)
| `- error: reference to member 'glassProminent' cannot be resolved without a contextual type
101 | .tint(backgroundColor)
102 | } else {
[80/80] Compiling MultiViews GlassShape.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/AsyncButton.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'AsyncButtonStyle' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | public enum AsyncButtonStyle {
| `- note: consider making enum 'AsyncButtonStyle' conform to the 'Sendable' protocol
11 | case plain
12 | case pulse
:
18 | }
19 | case spinner(SpinnerStyle)
20 | public static let `default`: AsyncButtonStyle = .plain
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'AsyncButtonStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/AsyncButton.swift:51:24: error: extra argument 'name' in call
49 | runDate = .now
50 | isRunning = true
51 | Task(name: taskName) {
| `- error: extra argument 'name' in call
52 | await action()
53 | isRunning = false
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassButton.swift:125:35: error: reference to member 'glassProminent' cannot be resolved without a contextual type
123 | #if os(macOS)
124 | nativeGlassAsyncButton
125 | .buttonStyle(.glassProminent)
| `- error: reference to member 'glassProminent' cannot be resolved without a contextual type
126 | .tint(backgroundColor)
127 | #else
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassButton.swift:167:30: error: value of type 'some View' has no member 'glassEffect'
165 | label()
166 | .foregroundStyle(foregroundColor)
167 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: value of type 'some View' has no member 'glassEffect'
168 | } else {
169 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassButton.swift:167:43: error: cannot infer contextual base in reference to member 'regular'
165 | label()
166 | .foregroundStyle(foregroundColor)
167 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: cannot infer contextual base in reference to member 'regular'
168 | } else {
169 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassMenu.swift:99:35: error: reference to member 'glassProminent' cannot be resolved without a contextual type
97 | if let (_, backgroundColor) = style.color {
98 | nativeGlassAsyncMenu
99 | .buttonStyle(.glassProminent)
| `- error: reference to member 'glassProminent' cannot be resolved without a contextual type
100 | .tint(backgroundColor)
101 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassMenu.swift:137:26: error: value of type 'some View' has no member 'glassEffect'
135 | label()
136 | .foregroundStyle(foregroundColor)
137 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: value of type 'some View' has no member 'glassEffect'
138 | } else {
139 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassMenu.swift:137:39: error: cannot infer contextual base in reference to member 'regular'
135 | label()
136 | .foregroundStyle(foregroundColor)
137 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: cannot infer contextual base in reference to member 'regular'
138 | } else {
139 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassPicker.swift:100:35: error: reference to member 'glassProminent' cannot be resolved without a contextual type
98 | if let backgroundColor = style.backgroundColor {
99 | nativeGlassAsyncPicker
100 | .buttonStyle(.glassProminent)
| `- error: reference to member 'glassProminent' cannot be resolved without a contextual type
101 | .tint(backgroundColor)
102 | } else {
Fetching https://github.com/heestand-xyz/CoreGraphicsExtensions
[1/432] Fetching coregraphicsextensions
Fetched https://github.com/heestand-xyz/CoreGraphicsExtensions from cache (0.87s)
Computing version for https://github.com/heestand-xyz/CoreGraphicsExtensions
Computed https://github.com/heestand-xyz/CoreGraphicsExtensions at 2.1.0 (1.37s)
Creating working copy for https://github.com/heestand-xyz/CoreGraphicsExtensions
Working copy of https://github.com/heestand-xyz/CoreGraphicsExtensions resolved at 2.1.0
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/17] Compiling CoreGraphicsExtensions CGFloat+Lerp.swift
[3/18] Compiling CoreGraphicsExtensions SafeArea.swift
[4/18] Compiling CoreGraphicsExtensions SafeAreaReader.swift
[5/18] Compiling CoreGraphicsExtensions SizeReader.swift
[6/18] Compiling CoreGraphicsExtensions ReaderTiming.swift
[7/18] Compiling CoreGraphicsExtensions FrameReader.swift
[8/18] Compiling CoreGraphicsExtensions OriginReader.swift
[9/18] Compiling CoreGraphicsExtensions CGSize+Resolution.swift
[10/18] Compiling CoreGraphicsExtensions CGSize.swift
[11/18] Compiling CoreGraphicsExtensions CGVector.swift
[12/18] Compiling CoreGraphicsExtensions EdgeInsets.swift
[13/18] Compiling CoreGraphicsExtensions CGFloat+Scale.swift
[14/18] Compiling CoreGraphicsExtensions CGPoint.swift
[15/18] Emitting module CoreGraphicsExtensions
[16/18] Compiling CoreGraphicsExtensions CGRect.swift
[17/18] Compiling CoreGraphicsExtensions CGSize+Place.swift
[18/18] Compiling CoreGraphicsExtensions CGPoint+Lerp.swift
[19/73] Emitting module MultiViews
[20/78] Compiling MultiViews ApplicationDelegate.swift
[21/78] Compiling MultiViews Constants.swift
[22/78] Compiling MultiViews MPColor+Codable.swift
[23/78] Compiling MultiViews MPColor.swift
[24/78] Compiling MultiViews MPImage.swift
[25/78] Compiling MultiViews MPSquareImageView.swift
[26/78] Compiling MultiViews View+onGlobalKeyPress.swift
[27/78] Compiling MultiViews EqualHeightVStack.swift
[28/78] Compiling MultiViews EqualWidthHStack.swift
[29/78] Compiling MultiViews FillView.swift
[30/78] Compiling MultiViews FlexView.swift
[31/78] Compiling MultiViews MPView.swift
[32/78] Compiling MultiViews Checker.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Gestures/Drag.swift:39:22: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
37 | }
38 | )
39 | .onChange(of: isDragging.wrappedValue) { isDragging in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
40 | let isCancelled = !isDragging && isActivelyDragging.wrappedValue
41 | if isCancelled {
[33/78] Compiling MultiViews MVBlurView.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Gestures/Drag.swift:39:22: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
37 | }
38 | )
39 | .onChange(of: isDragging.wrappedValue) { isDragging in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
40 | let isCancelled = !isDragging && isActivelyDragging.wrappedValue
41 | if isCancelled {
[34/78] Compiling MultiViews AxisPanGestureRecognizer.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Gestures/Drag.swift:39:22: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
37 | }
38 | )
39 | .onChange(of: isDragging.wrappedValue) { isDragging in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
40 | let isCancelled = !isDragging && isActivelyDragging.wrappedValue
41 | if isCancelled {
[35/78] Compiling MultiViews AxisPanGestureView.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Gestures/Drag.swift:39:22: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
37 | }
38 | )
39 | .onChange(of: isDragging.wrappedValue) { isDragging in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
40 | let isCancelled = !isDragging && isActivelyDragging.wrappedValue
41 | if isCancelled {
[36/78] Compiling MultiViews Drag.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Gestures/Drag.swift:39:22: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
37 | }
38 | )
39 | .onChange(of: isDragging.wrappedValue) { isDragging in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
40 | let isCancelled = !isDragging && isActivelyDragging.wrappedValue
41 | if isCancelled {
[37/78] Compiling MultiViews Hover.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Gestures/Drag.swift:39:22: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
37 | }
38 | )
39 | .onChange(of: isDragging.wrappedValue) { isDragging in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
40 | let isCancelled = !isDragging && isActivelyDragging.wrappedValue
41 | if isCancelled {
[38/78] Compiling MultiViews MPView+Image.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Tasks/NamedViewTask.swift:16:35: error: extra argument 'name' in call
14 | ) -> some View {
15 | task {
16 | let task = Task(name: name) {
| `- error: extra argument 'name' in call
17 | await perform()
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Tasks/NamedViewTask.swift:33:35: error: extra argument 'name' in call
31 | ) -> some View {
32 | task(id: id) {
33 | let task = Task(name: name) {
| `- error: extra argument 'name' in call
34 | await perform()
35 | }
[39/78] Compiling MultiViews SnapshotView.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Tasks/NamedViewTask.swift:16:35: error: extra argument 'name' in call
14 | ) -> some View {
15 | task {
16 | let task = Task(name: name) {
| `- error: extra argument 'name' in call
17 | await perform()
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Tasks/NamedViewTask.swift:33:35: error: extra argument 'name' in call
31 | ) -> some View {
32 | task(id: id) {
33 | let task = Task(name: name) {
| `- error: extra argument 'name' in call
34 | await perform()
35 | }
[40/78] Compiling MultiViews ViewImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Tasks/NamedViewTask.swift:16:35: error: extra argument 'name' in call
14 | ) -> some View {
15 | task {
16 | let task = Task(name: name) {
| `- error: extra argument 'name' in call
17 | await perform()
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Tasks/NamedViewTask.swift:33:35: error: extra argument 'name' in call
31 | ) -> some View {
32 | task(id: id) {
33 | let task = Task(name: name) {
| `- error: extra argument 'name' in call
34 | await perform()
35 | }
[41/78] Compiling MultiViews Keyboard.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Tasks/NamedViewTask.swift:16:35: error: extra argument 'name' in call
14 | ) -> some View {
15 | task {
16 | let task = Task(name: name) {
| `- error: extra argument 'name' in call
17 | await perform()
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Tasks/NamedViewTask.swift:33:35: error: extra argument 'name' in call
31 | ) -> some View {
32 | task(id: id) {
33 | let task = Task(name: name) {
| `- error: extra argument 'name' in call
34 | await perform()
35 | }
[42/78] Compiling MultiViews Cases.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Tasks/NamedViewTask.swift:16:35: error: extra argument 'name' in call
14 | ) -> some View {
15 | task {
16 | let task = Task(name: name) {
| `- error: extra argument 'name' in call
17 | await perform()
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Tasks/NamedViewTask.swift:33:35: error: extra argument 'name' in call
31 | ) -> some View {
32 | task(id: id) {
33 | let task = Task(name: name) {
| `- error: extra argument 'name' in call
34 | await perform()
35 | }
[43/78] Compiling MultiViews NamedViewTask.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Tasks/NamedViewTask.swift:16:35: error: extra argument 'name' in call
14 | ) -> some View {
15 | task {
16 | let task = Task(name: name) {
| `- error: extra argument 'name' in call
17 | await perform()
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Tasks/NamedViewTask.swift:33:35: error: extra argument 'name' in call
31 | ) -> some View {
32 | task(id: id) {
33 | let task = Task(name: name) {
| `- error: extra argument 'name' in call
34 | await perform()
35 | }
[44/78] Compiling MultiViews TooltipView.swift
[45/78] Compiling MultiViews ViewControllerRepresentable.swift
[46/78] Compiling MultiViews ViewRep.swift
[47/78] Compiling MultiViews ViewRepresentable.swift
[48/78] Compiling MultiViews ViewTypes.swift
[49/78] Compiling MultiViews StateScrollView.swift
[50/78] Compiling MultiViews SecondaryView.swift
[51/78] Compiling MultiViews ModifierFlags.swift
[52/78] Compiling MultiViews GestureStateView.swift
[53/78] Compiling MultiViews StateView.swift
[54/78] Compiling MultiViews Tooltip.swift
[55/78] Compiling MultiViews LongPressDrag.swift
[56/78] Compiling MultiViews MVInteractView.swift
[57/78] Compiling MultiViews MVMultiInteractView.swift
[58/78] Compiling MultiViews SpatialLongPress.swift
[59/78] Compiling MultiViews Swipe.swift
[60/78] Compiling MultiViews UIView+EnclosingScrollView.swift
[61/78] Compiling MultiViews Bind.swift
[62/78] Compiling MultiViews CornerRadius.swift
[63/78] Compiling MultiViews Device.swift
[64/78] Compiling MultiViews If.swift
[65/78] Compiling MultiViews Is.swift
[66/78] Compiling MultiViews OS.swift
[67/78] Compiling MultiViews Previews.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/AsyncButton.swift:51:24: error: extra argument 'name' in call
49 | runDate = .now
50 | isRunning = true
51 | Task(name: taskName) {
| `- error: extra argument 'name' in call
52 | await action()
53 | isRunning = false
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassButton.swift:125:35: error: reference to member 'glassProminent' cannot be resolved without a contextual type
123 | #if os(macOS)
124 | nativeGlassAsyncButton
125 | .buttonStyle(.glassProminent)
| `- error: reference to member 'glassProminent' cannot be resolved without a contextual type
126 | .tint(backgroundColor)
127 | #else
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassButton.swift:167:30: error: value of type 'some View' has no member 'glassEffect'
165 | label()
166 | .foregroundStyle(foregroundColor)
167 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: value of type 'some View' has no member 'glassEffect'
168 | } else {
169 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassButton.swift:167:43: error: cannot infer contextual base in reference to member 'regular'
165 | label()
166 | .foregroundStyle(foregroundColor)
167 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: cannot infer contextual base in reference to member 'regular'
168 | } else {
169 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassMenu.swift:99:35: error: reference to member 'glassProminent' cannot be resolved without a contextual type
97 | if let (_, backgroundColor) = style.color {
98 | nativeGlassAsyncMenu
99 | .buttonStyle(.glassProminent)
| `- error: reference to member 'glassProminent' cannot be resolved without a contextual type
100 | .tint(backgroundColor)
101 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassMenu.swift:137:26: error: value of type 'some View' has no member 'glassEffect'
135 | label()
136 | .foregroundStyle(foregroundColor)
137 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: value of type 'some View' has no member 'glassEffect'
138 | } else {
139 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassMenu.swift:137:39: error: cannot infer contextual base in reference to member 'regular'
135 | label()
136 | .foregroundStyle(foregroundColor)
137 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: cannot infer contextual base in reference to member 'regular'
138 | } else {
139 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassPicker.swift:100:35: error: reference to member 'glassProminent' cannot be resolved without a contextual type
98 | if let backgroundColor = style.backgroundColor {
99 | nativeGlassAsyncPicker
100 | .buttonStyle(.glassProminent)
| `- error: reference to member 'glassProminent' cannot be resolved without a contextual type
101 | .tint(backgroundColor)
102 | } else {
[68/78] Compiling MultiViews AsyncButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/AsyncButton.swift:51:24: error: extra argument 'name' in call
49 | runDate = .now
50 | isRunning = true
51 | Task(name: taskName) {
| `- error: extra argument 'name' in call
52 | await action()
53 | isRunning = false
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassButton.swift:125:35: error: reference to member 'glassProminent' cannot be resolved without a contextual type
123 | #if os(macOS)
124 | nativeGlassAsyncButton
125 | .buttonStyle(.glassProminent)
| `- error: reference to member 'glassProminent' cannot be resolved without a contextual type
126 | .tint(backgroundColor)
127 | #else
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassButton.swift:167:30: error: value of type 'some View' has no member 'glassEffect'
165 | label()
166 | .foregroundStyle(foregroundColor)
167 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: value of type 'some View' has no member 'glassEffect'
168 | } else {
169 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassButton.swift:167:43: error: cannot infer contextual base in reference to member 'regular'
165 | label()
166 | .foregroundStyle(foregroundColor)
167 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: cannot infer contextual base in reference to member 'regular'
168 | } else {
169 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassMenu.swift:99:35: error: reference to member 'glassProminent' cannot be resolved without a contextual type
97 | if let (_, backgroundColor) = style.color {
98 | nativeGlassAsyncMenu
99 | .buttonStyle(.glassProminent)
| `- error: reference to member 'glassProminent' cannot be resolved without a contextual type
100 | .tint(backgroundColor)
101 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassMenu.swift:137:26: error: value of type 'some View' has no member 'glassEffect'
135 | label()
136 | .foregroundStyle(foregroundColor)
137 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: value of type 'some View' has no member 'glassEffect'
138 | } else {
139 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassMenu.swift:137:39: error: cannot infer contextual base in reference to member 'regular'
135 | label()
136 | .foregroundStyle(foregroundColor)
137 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: cannot infer contextual base in reference to member 'regular'
138 | } else {
139 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassPicker.swift:100:35: error: reference to member 'glassProminent' cannot be resolved without a contextual type
98 | if let backgroundColor = style.backgroundColor {
99 | nativeGlassAsyncPicker
100 | .buttonStyle(.glassProminent)
| `- error: reference to member 'glassProminent' cannot be resolved without a contextual type
101 | .tint(backgroundColor)
102 | } else {
[69/78] Compiling MultiViews GlassButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/AsyncButton.swift:51:24: error: extra argument 'name' in call
49 | runDate = .now
50 | isRunning = true
51 | Task(name: taskName) {
| `- error: extra argument 'name' in call
52 | await action()
53 | isRunning = false
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassButton.swift:125:35: error: reference to member 'glassProminent' cannot be resolved without a contextual type
123 | #if os(macOS)
124 | nativeGlassAsyncButton
125 | .buttonStyle(.glassProminent)
| `- error: reference to member 'glassProminent' cannot be resolved without a contextual type
126 | .tint(backgroundColor)
127 | #else
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassButton.swift:167:30: error: value of type 'some View' has no member 'glassEffect'
165 | label()
166 | .foregroundStyle(foregroundColor)
167 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: value of type 'some View' has no member 'glassEffect'
168 | } else {
169 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassButton.swift:167:43: error: cannot infer contextual base in reference to member 'regular'
165 | label()
166 | .foregroundStyle(foregroundColor)
167 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: cannot infer contextual base in reference to member 'regular'
168 | } else {
169 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassMenu.swift:99:35: error: reference to member 'glassProminent' cannot be resolved without a contextual type
97 | if let (_, backgroundColor) = style.color {
98 | nativeGlassAsyncMenu
99 | .buttonStyle(.glassProminent)
| `- error: reference to member 'glassProminent' cannot be resolved without a contextual type
100 | .tint(backgroundColor)
101 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassMenu.swift:137:26: error: value of type 'some View' has no member 'glassEffect'
135 | label()
136 | .foregroundStyle(foregroundColor)
137 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: value of type 'some View' has no member 'glassEffect'
138 | } else {
139 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassMenu.swift:137:39: error: cannot infer contextual base in reference to member 'regular'
135 | label()
136 | .foregroundStyle(foregroundColor)
137 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: cannot infer contextual base in reference to member 'regular'
138 | } else {
139 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassPicker.swift:100:35: error: reference to member 'glassProminent' cannot be resolved without a contextual type
98 | if let backgroundColor = style.backgroundColor {
99 | nativeGlassAsyncPicker
100 | .buttonStyle(.glassProminent)
| `- error: reference to member 'glassProminent' cannot be resolved without a contextual type
101 | .tint(backgroundColor)
102 | } else {
[70/78] Compiling MultiViews GlassMenu.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/AsyncButton.swift:51:24: error: extra argument 'name' in call
49 | runDate = .now
50 | isRunning = true
51 | Task(name: taskName) {
| `- error: extra argument 'name' in call
52 | await action()
53 | isRunning = false
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassButton.swift:125:35: error: reference to member 'glassProminent' cannot be resolved without a contextual type
123 | #if os(macOS)
124 | nativeGlassAsyncButton
125 | .buttonStyle(.glassProminent)
| `- error: reference to member 'glassProminent' cannot be resolved without a contextual type
126 | .tint(backgroundColor)
127 | #else
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassButton.swift:167:30: error: value of type 'some View' has no member 'glassEffect'
165 | label()
166 | .foregroundStyle(foregroundColor)
167 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: value of type 'some View' has no member 'glassEffect'
168 | } else {
169 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassButton.swift:167:43: error: cannot infer contextual base in reference to member 'regular'
165 | label()
166 | .foregroundStyle(foregroundColor)
167 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: cannot infer contextual base in reference to member 'regular'
168 | } else {
169 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassMenu.swift:99:35: error: reference to member 'glassProminent' cannot be resolved without a contextual type
97 | if let (_, backgroundColor) = style.color {
98 | nativeGlassAsyncMenu
99 | .buttonStyle(.glassProminent)
| `- error: reference to member 'glassProminent' cannot be resolved without a contextual type
100 | .tint(backgroundColor)
101 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassMenu.swift:137:26: error: value of type 'some View' has no member 'glassEffect'
135 | label()
136 | .foregroundStyle(foregroundColor)
137 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: value of type 'some View' has no member 'glassEffect'
138 | } else {
139 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassMenu.swift:137:39: error: cannot infer contextual base in reference to member 'regular'
135 | label()
136 | .foregroundStyle(foregroundColor)
137 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: cannot infer contextual base in reference to member 'regular'
138 | } else {
139 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassPicker.swift:100:35: error: reference to member 'glassProminent' cannot be resolved without a contextual type
98 | if let backgroundColor = style.backgroundColor {
99 | nativeGlassAsyncPicker
100 | .buttonStyle(.glassProminent)
| `- error: reference to member 'glassProminent' cannot be resolved without a contextual type
101 | .tint(backgroundColor)
102 | } else {
[71/78] Compiling MultiViews GlassPicker.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/AsyncButton.swift:51:24: error: extra argument 'name' in call
49 | runDate = .now
50 | isRunning = true
51 | Task(name: taskName) {
| `- error: extra argument 'name' in call
52 | await action()
53 | isRunning = false
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassButton.swift:125:35: error: reference to member 'glassProminent' cannot be resolved without a contextual type
123 | #if os(macOS)
124 | nativeGlassAsyncButton
125 | .buttonStyle(.glassProminent)
| `- error: reference to member 'glassProminent' cannot be resolved without a contextual type
126 | .tint(backgroundColor)
127 | #else
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassButton.swift:167:30: error: value of type 'some View' has no member 'glassEffect'
165 | label()
166 | .foregroundStyle(foregroundColor)
167 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: value of type 'some View' has no member 'glassEffect'
168 | } else {
169 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassButton.swift:167:43: error: cannot infer contextual base in reference to member 'regular'
165 | label()
166 | .foregroundStyle(foregroundColor)
167 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: cannot infer contextual base in reference to member 'regular'
168 | } else {
169 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassMenu.swift:99:35: error: reference to member 'glassProminent' cannot be resolved without a contextual type
97 | if let (_, backgroundColor) = style.color {
98 | nativeGlassAsyncMenu
99 | .buttonStyle(.glassProminent)
| `- error: reference to member 'glassProminent' cannot be resolved without a contextual type
100 | .tint(backgroundColor)
101 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassMenu.swift:137:26: error: value of type 'some View' has no member 'glassEffect'
135 | label()
136 | .foregroundStyle(foregroundColor)
137 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: value of type 'some View' has no member 'glassEffect'
138 | } else {
139 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassMenu.swift:137:39: error: cannot infer contextual base in reference to member 'regular'
135 | label()
136 | .foregroundStyle(foregroundColor)
137 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: cannot infer contextual base in reference to member 'regular'
138 | } else {
139 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassPicker.swift:100:35: error: reference to member 'glassProminent' cannot be resolved without a contextual type
98 | if let backgroundColor = style.backgroundColor {
99 | nativeGlassAsyncPicker
100 | .buttonStyle(.glassProminent)
| `- error: reference to member 'glassProminent' cannot be resolved without a contextual type
101 | .tint(backgroundColor)
102 | } else {
[72/78] Compiling MultiViews GlassShape.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/AsyncButton.swift:51:24: error: extra argument 'name' in call
49 | runDate = .now
50 | isRunning = true
51 | Task(name: taskName) {
| `- error: extra argument 'name' in call
52 | await action()
53 | isRunning = false
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassButton.swift:125:35: error: reference to member 'glassProminent' cannot be resolved without a contextual type
123 | #if os(macOS)
124 | nativeGlassAsyncButton
125 | .buttonStyle(.glassProminent)
| `- error: reference to member 'glassProminent' cannot be resolved without a contextual type
126 | .tint(backgroundColor)
127 | #else
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassButton.swift:167:30: error: value of type 'some View' has no member 'glassEffect'
165 | label()
166 | .foregroundStyle(foregroundColor)
167 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: value of type 'some View' has no member 'glassEffect'
168 | } else {
169 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassButton.swift:167:43: error: cannot infer contextual base in reference to member 'regular'
165 | label()
166 | .foregroundStyle(foregroundColor)
167 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: cannot infer contextual base in reference to member 'regular'
168 | } else {
169 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassMenu.swift:99:35: error: reference to member 'glassProminent' cannot be resolved without a contextual type
97 | if let (_, backgroundColor) = style.color {
98 | nativeGlassAsyncMenu
99 | .buttonStyle(.glassProminent)
| `- error: reference to member 'glassProminent' cannot be resolved without a contextual type
100 | .tint(backgroundColor)
101 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassMenu.swift:137:26: error: value of type 'some View' has no member 'glassEffect'
135 | label()
136 | .foregroundStyle(foregroundColor)
137 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: value of type 'some View' has no member 'glassEffect'
138 | } else {
139 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassMenu.swift:137:39: error: cannot infer contextual base in reference to member 'regular'
135 | label()
136 | .foregroundStyle(foregroundColor)
137 | .glassEffect(.regular.interactive().tint(backgroundColor), in: style.shape.any)
| `- error: cannot infer contextual base in reference to member 'regular'
138 | } else {
139 | label()
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Buttons/Glass/GlassPicker.swift:100:35: error: reference to member 'glassProminent' cannot be resolved without a contextual type
98 | if let backgroundColor = style.backgroundColor {
99 | nativeGlassAsyncPicker
100 | .buttonStyle(.glassProminent)
| `- error: reference to member 'glassProminent' cannot be resolved without a contextual type
101 | .tint(backgroundColor)
102 | } else {
[73/78] Compiling MultiViews SmallProgressView.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Readers/FrameReader.swift:30:18: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
28 | frame = geometry.frame(in: coordinateSpace)
29 | }
30 | .onChange(of: geometry.frame(in: coordinateSpace)) { newFrame in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
31 | frame = newFrame
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Readers/OriginReader.swift:26:18: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
24 | origin = geometry.frame(in: coordinateSpace).origin
25 | }
26 | .onChange(of: geometry.frame(in: coordinateSpace).origin) { newOrigin in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
27 | origin = newOrigin
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Readers/SizeReader.swift:24:18: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
22 | size = geometry.size
23 | }
24 | .onChange(of: geometry.size) { size in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
25 | self.size = size
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/BindableScrollView.swift:103:14: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
101 | }
102 | .scrollDisabled(!isActive)
103 | .onChange(of: offset) { offset in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
104 | guard isMoving != false else { return }
105 | guard offset != contentOrigin else { return }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/BindableScrollView.swift:108:14: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
106 | scroll(to: offset, with: scrollViewProxy, animated: isAnimated)
107 | }
108 | .onChange(of: contentOrigin) { contentOrigin in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
109 | guard isMoving != true else { return }
110 | guard contentOrigin != offset else { return }
[74/78] Compiling MultiViews FrameReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Readers/FrameReader.swift:30:18: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
28 | frame = geometry.frame(in: coordinateSpace)
29 | }
30 | .onChange(of: geometry.frame(in: coordinateSpace)) { newFrame in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
31 | frame = newFrame
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Readers/OriginReader.swift:26:18: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
24 | origin = geometry.frame(in: coordinateSpace).origin
25 | }
26 | .onChange(of: geometry.frame(in: coordinateSpace).origin) { newOrigin in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
27 | origin = newOrigin
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Readers/SizeReader.swift:24:18: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
22 | size = geometry.size
23 | }
24 | .onChange(of: geometry.size) { size in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
25 | self.size = size
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/BindableScrollView.swift:103:14: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
101 | }
102 | .scrollDisabled(!isActive)
103 | .onChange(of: offset) { offset in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
104 | guard isMoving != false else { return }
105 | guard offset != contentOrigin else { return }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/BindableScrollView.swift:108:14: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
106 | scroll(to: offset, with: scrollViewProxy, animated: isAnimated)
107 | }
108 | .onChange(of: contentOrigin) { contentOrigin in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
109 | guard isMoving != true else { return }
110 | guard contentOrigin != offset else { return }
[75/78] Compiling MultiViews OriginReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Readers/FrameReader.swift:30:18: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
28 | frame = geometry.frame(in: coordinateSpace)
29 | }
30 | .onChange(of: geometry.frame(in: coordinateSpace)) { newFrame in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
31 | frame = newFrame
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Readers/OriginReader.swift:26:18: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
24 | origin = geometry.frame(in: coordinateSpace).origin
25 | }
26 | .onChange(of: geometry.frame(in: coordinateSpace).origin) { newOrigin in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
27 | origin = newOrigin
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Readers/SizeReader.swift:24:18: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
22 | size = geometry.size
23 | }
24 | .onChange(of: geometry.size) { size in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
25 | self.size = size
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/BindableScrollView.swift:103:14: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
101 | }
102 | .scrollDisabled(!isActive)
103 | .onChange(of: offset) { offset in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
104 | guard isMoving != false else { return }
105 | guard offset != contentOrigin else { return }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/BindableScrollView.swift:108:14: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
106 | scroll(to: offset, with: scrollViewProxy, animated: isAnimated)
107 | }
108 | .onChange(of: contentOrigin) { contentOrigin in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
109 | guard isMoving != true else { return }
110 | guard contentOrigin != offset else { return }
[76/78] Compiling MultiViews SizeReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Readers/FrameReader.swift:30:18: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
28 | frame = geometry.frame(in: coordinateSpace)
29 | }
30 | .onChange(of: geometry.frame(in: coordinateSpace)) { newFrame in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
31 | frame = newFrame
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Readers/OriginReader.swift:26:18: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
24 | origin = geometry.frame(in: coordinateSpace).origin
25 | }
26 | .onChange(of: geometry.frame(in: coordinateSpace).origin) { newOrigin in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
27 | origin = newOrigin
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Readers/SizeReader.swift:24:18: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
22 | size = geometry.size
23 | }
24 | .onChange(of: geometry.size) { size in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
25 | self.size = size
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/BindableScrollView.swift:103:14: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
101 | }
102 | .scrollDisabled(!isActive)
103 | .onChange(of: offset) { offset in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
104 | guard isMoving != false else { return }
105 | guard offset != contentOrigin else { return }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/BindableScrollView.swift:108:14: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
106 | scroll(to: offset, with: scrollViewProxy, animated: isAnimated)
107 | }
108 | .onChange(of: contentOrigin) { contentOrigin in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
109 | guard isMoving != true else { return }
110 | guard contentOrigin != offset else { return }
[77/78] Compiling MultiViews BindableScrollView.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Readers/FrameReader.swift:30:18: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
28 | frame = geometry.frame(in: coordinateSpace)
29 | }
30 | .onChange(of: geometry.frame(in: coordinateSpace)) { newFrame in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
31 | frame = newFrame
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Readers/OriginReader.swift:26:18: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
24 | origin = geometry.frame(in: coordinateSpace).origin
25 | }
26 | .onChange(of: geometry.frame(in: coordinateSpace).origin) { newOrigin in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
27 | origin = newOrigin
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Readers/SizeReader.swift:24:18: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
22 | size = geometry.size
23 | }
24 | .onChange(of: geometry.size) { size in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
25 | self.size = size
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/BindableScrollView.swift:103:14: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
101 | }
102 | .scrollDisabled(!isActive)
103 | .onChange(of: offset) { offset in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
104 | guard isMoving != false else { return }
105 | guard offset != contentOrigin else { return }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/BindableScrollView.swift:108:14: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
106 | scroll(to: offset, with: scrollViewProxy, animated: isAnimated)
107 | }
108 | .onChange(of: contentOrigin) { contentOrigin in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
109 | guard isMoving != true else { return }
110 | guard contentOrigin != offset else { return }
[78/78] Compiling MultiViews MVScrollView.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Readers/FrameReader.swift:30:18: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
28 | frame = geometry.frame(in: coordinateSpace)
29 | }
30 | .onChange(of: geometry.frame(in: coordinateSpace)) { newFrame in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
31 | frame = newFrame
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Readers/OriginReader.swift:26:18: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
24 | origin = geometry.frame(in: coordinateSpace).origin
25 | }
26 | .onChange(of: geometry.frame(in: coordinateSpace).origin) { newOrigin in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
27 | origin = newOrigin
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Readers/SizeReader.swift:24:18: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
22 | size = geometry.size
23 | }
24 | .onChange(of: geometry.size) { size in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
25 | self.size = size
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/BindableScrollView.swift:103:14: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
101 | }
102 | .scrollDisabled(!isActive)
103 | .onChange(of: offset) { offset in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
104 | guard isMoving != false else { return }
105 | guard offset != contentOrigin else { return }
/Users/admin/builder/spi-builder-workspace/Sources/MultiViews/Views/Scroll/BindableScrollView.swift:108:14: warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
106 | scroll(to: offset, with: scrollViewProxy, animated: isAnimated)
107 | }
108 | .onChange(of: contentOrigin) { contentOrigin in
| `- warning: 'onChange(of:perform:)' was deprecated in macOS 14.0: Use `onChange` with a two or zero parameter action closure instead.
109 | guard isMoving != true else { return }
110 | guard contentOrigin != offset else { return }
BUILD FAILURE 6.1 macosSpm