Build Information
Successful build of Pulse, reference main (6125ce
), with Swift 6.1 for macOS (SPM) on 1 May 2025 09:33:27 UTC.
Swift 6 data race errors: 14
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
115 |
116 | #endif
[141/167] Compiling PulseUI NetworkInspectorTransactionView.swift
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Helpers/UserSettings.swift:11:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UserSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Allows you to control Pulse appearance and other settings programmatically.
10 | public final class UserSettings: ObservableObject {
| `- note: class 'UserSettings' does not conform to the 'Sendable' protocol
11 | public static let shared = UserSettings()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UserSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | /// The console default mode.
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Mocks/MockStore.swift:70:13: warning: var 'isFirstLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
68 | }
69 |
70 | private var isFirstLog = true
| |- warning: var 'isFirstLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isFirstLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'isFirstLog' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | private func asyncPopulateStore(_ store: LoggerStore) {
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Mocks/MockTask.swift:41:24: warning: static property 'allEntities' is not concurrency-safe because non-'Sendable' type '[NetworkTaskEntity]' may have shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | extension MockTask {
41 | package static let allEntities: [NetworkTaskEntity] = MockTask.allTasks.map(LoggerStore.preview.entity)
| `- warning: static property 'allEntities' is not concurrency-safe because non-'Sendable' type '[NetworkTaskEntity]' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | package static var allTasks: [MockTask] = [.login, .profile, .repos, .octocat, .downloadNuke, .createAPI, .uploadPulseArchive, .patchRepo]
/Users/admin/builder/spi-builder-workspace/Sources/Pulse/LoggerStore/LoggerStore+Entities.swift:30:20: note: class 'NetworkTaskEntity' does not conform to the 'Sendable' protocol
28 | }
29 |
30 | public final class NetworkTaskEntity: NSManagedObject {
| `- note: class 'NetworkTaskEntity' does not conform to the 'Sendable' protocol
31 | // Primary
32 | @NSManaged public var createdAt: Date
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Mocks/MockTask.swift:6:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Pulse'
4 |
5 | import Foundation
6 | import Pulse
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Pulse'
7 |
8 | #if DEBUG || STANDALONE_PULSE_APP
:
39 |
40 | extension MockTask {
41 | package static let allEntities: [NetworkTaskEntity] = MockTask.allTasks.map(LoggerStore.preview.entity)
| |- note: add '@MainActor' to make static property 'allEntities' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | package static var allTasks: [MockTask] = [.login, .profile, .repos, .octocat, .downloadNuke, .createAPI, .uploadPulseArchive, .patchRepo]
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Mocks/MockTask.swift:43:24: warning: static property 'allTasks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | package static let allEntities: [NetworkTaskEntity] = MockTask.allTasks.map(LoggerStore.preview.entity)
42 |
43 | package static var allTasks: [MockTask] = [.login, .profile, .repos, .octocat, .downloadNuke, .createAPI, .uploadPulseArchive, .patchRepo]
| |- warning: static property 'allTasks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allTasks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'allTasks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// A successful request the demonstrates:
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/Metrics/NetworkInspectorTransactionView.swift:114:13: warning: let 'mockTask' is not concurrency-safe because non-'Sendable' type 'NetworkTaskEntity' may have shared mutable state; this is an error in the Swift 6 language mode
112 | }
113 |
114 | private let mockTask = LoggerStore.preview.entity(for: .createAPI)
| `- warning: let 'mockTask' is not concurrency-safe because non-'Sendable' type 'NetworkTaskEntity' may have shared mutable state; this is an error in the Swift 6 language mode
115 |
116 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/Pulse/LoggerStore/LoggerStore+Entities.swift:30:20: note: class 'NetworkTaskEntity' does not conform to the 'Sendable' protocol
28 | }
29 |
30 | public final class NetworkTaskEntity: NSManagedObject {
| `- note: class 'NetworkTaskEntity' does not conform to the 'Sendable' protocol
31 | // Primary
32 | @NSManaged public var createdAt: Date
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/Metrics/NetworkInspectorTransactionView.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Pulse'
6 |
7 | import SwiftUI
8 | import Pulse
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Pulse'
9 | import CoreData
10 |
:
112 | }
113 |
114 | private let mockTask = LoggerStore.preview.entity(for: .createAPI)
| |- note: add '@MainActor' to make let 'mockTask' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 |
116 | #endif
[142/167] Compiling PulseUI ConsoleSearchSectionHeader.swift
[143/167] Compiling PulseUI ConsoleSection.swift
[144/167] Compiling PulseUI ConsoleSessionsPickerView.swift
[145/167] Compiling PulseUI NetworkCURLCell.swift
[146/167] Compiling PulseUI NetworkCookiesCell.swift
[147/167] Compiling PulseUI NetworkHeadersCell.swift
[148/167] Compiling PulseUI NetworkMenuCell.swift
[149/167] Compiling PulseUI NetworkMetricsCell.swift
[150/167] Compiling PulseUI NetworkRequestBodyCell.swift
[151/167] Compiling PulseUI NetworkRequestInfoCell.swift
[152/167] Compiling PulseUI NetworkRequestStatusCell.swift
[153/167] Compiling PulseUI NetworkRequestStatusSectionView.swift
[154/167] Compiling PulseUI NetworkResponseBodyCell.swift
[155/167] Compiling PulseUI NetworkInspectorTransferInfoView.swift
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:130:39: warning: non-sendable result type 'ShareItems' cannot be sent from nonisolated context in call to static method 'share(_:store:as:)'; this is an error in the Swift 6 language mode
128 | }
129 | }
130 | return try await ShareService.share(entities, store: store, as: output)
| `- warning: non-sendable result type 'ShareItems' cannot be sent from nonisolated context in call to static method 'share(_:store:as:)'; this is an error in the Swift 6 language mode
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Helpers/ShareItems.swift:31:16: note: consider making struct 'ShareItems' conform to the 'Sendable' protocol
29 | }
30 |
31 | package struct ShareItems: Identifiable {
| `- note: consider making struct 'ShareItems' conform to the 'Sendable' protocol
32 | package let id = UUID()
33 | package let items: [Any]
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareView.swift:69:45: warning: 'sharingServices(forItems:)' was deprecated in macOS 13.0: Use -[NSSharingServicePicker standardShareMenuItem] instead.
67 | package var body: some View {
68 | VStack(alignment: .leading, spacing: 0) {
69 | let services = NSSharingService.sharingServices(forItems: items.items)
| `- warning: 'sharingServices(forItems:)' was deprecated in macOS 13.0: Use -[NSSharingServicePicker standardShareMenuItem] instead.
70 | ForEach(services, id: \.title) { service in
71 | Item(item: service) {
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:56:14: warning: main actor-isolated property 'isSelectable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
| `- warning: main actor-isolated property 'isSelectable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | textView.backgroundColor = .clear
58 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:415:38: note: mutation of this property is only permitted within the actor
413 | @property (nullable, weak) id<NSTextViewDelegate> delegate;
414 | @property (getter=isEditable) BOOL editable;
415 | @property (getter=isSelectable) BOOL selectable;
| `- note: mutation of this property is only permitted within the actor
416 | @property (getter=isRichText) BOOL richText;
417 | @property BOOL importsGraphics;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:57:14: warning: main actor-isolated property 'backgroundColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
| `- warning: main actor-isolated property 'backgroundColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
58 |
59 | #if os(iOS) || os(macOS) || os(visionOS)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:419:27: note: mutation of this property is only permitted within the actor
417 | @property BOOL importsGraphics;
418 | @property BOOL drawsBackground;
419 | @property (copy) NSColor *backgroundColor;
| `- note: mutation of this property is only permitted within the actor
420 | @property (getter=isFieldEditor) BOOL fieldEditor;
421 | @property BOOL usesFontPanel;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:60:14: warning: main actor-isolated property 'isEditable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
58 |
59 | #if os(iOS) || os(macOS) || os(visionOS)
60 | textView.isEditable = false
| `- warning: main actor-isolated property 'isEditable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 | textView.isAutomaticLinkDetectionEnabled = false
62 | #endif
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:414:36: note: mutation of this property is only permitted within the actor
412 |
413 | @property (nullable, weak) id<NSTextViewDelegate> delegate;
414 | @property (getter=isEditable) BOOL editable;
| `- note: mutation of this property is only permitted within the actor
415 | @property (getter=isSelectable) BOOL selectable;
416 | @property (getter=isRichText) BOOL richText;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:61:14: warning: main actor-isolated property 'isAutomaticLinkDetectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
59 | #if os(iOS) || os(macOS) || os(visionOS)
60 | textView.isEditable = false
61 | textView.isAutomaticLinkDetectionEnabled = false
| `- warning: main actor-isolated property 'isAutomaticLinkDetectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
62 | #endif
63 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:453:57: note: mutation of this property is only permitted within the actor
451 | @property (getter=isAutomaticQuoteSubstitutionEnabled) BOOL automaticQuoteSubstitutionEnabled API_AVAILABLE(macos(10.5));
452 | - (void)toggleAutomaticQuoteSubstitution:(nullable id)sender API_AVAILABLE(macos(10.5));
453 | @property (getter=isAutomaticLinkDetectionEnabled) BOOL automaticLinkDetectionEnabled API_AVAILABLE(macos(10.5));
| `- note: mutation of this property is only permitted within the actor
454 | - (void)toggleAutomaticLinkDetection:(nullable id)sender API_AVAILABLE(macos(10.5));
455 |
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:71:14: warning: main actor-isolated property 'isAutomaticSpellingCorrectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
69 |
70 | #if os(macOS)
71 | textView.isAutomaticSpellingCorrectionEnabled = false
| `- warning: main actor-isolated property 'isAutomaticSpellingCorrectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
72 | textView.textContainerInset = .zero
73 | #endif
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:462:62: note: mutation of this property is only permitted within the actor
460 | @property (getter=isAutomaticTextReplacementEnabled) BOOL automaticTextReplacementEnabled API_AVAILABLE(macos(10.6));
461 | - (void)toggleAutomaticTextReplacement:(nullable id)sender API_AVAILABLE(macos(10.6));
462 | @property (getter=isAutomaticSpellingCorrectionEnabled) BOOL automaticSpellingCorrectionEnabled API_AVAILABLE(macos(10.6));
| `- note: mutation of this property is only permitted within the actor
463 | - (void)toggleAutomaticSpellingCorrection:(nullable id)sender API_AVAILABLE(macos(10.6));
464 |
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:72:14: warning: main actor-isolated property 'textContainerInset' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
70 | #if os(macOS)
71 | textView.isAutomaticSpellingCorrectionEnabled = false
72 | textView.textContainerInset = .zero
| `- warning: main actor-isolated property 'textContainerInset' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
73 | #endif
74 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:103:18: note: mutation of this property is only permitted within the actor
101 |
102 | // The textContainerInset determines the padding that the view provides around the container. The container's origin will be inset by this amount from the bounds point {0,0} and padding will be left to the right and below the container of the same amount. This inset affects the view sizing in response to new layout and is used by the rectangular text containers when they track the view's frame dimensions.
103 | @property NSSize textContainerInset;
| `- note: mutation of this property is only permitted within the actor
104 |
105 | // The container's origin in the view is determined from the current usage of the container, the container inset, and the view size. textContainerOrigin returns this point.
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TimingView.swift:199:13: warning: let 'mockSections' is not concurrency-safe because non-'Sendable' type '[TimingRowSectionViewModel]' may have shared mutable state; this is an error in the Swift 6 language mode
150 | }
151 |
152 | package final class TimingRowSectionViewModel: Identifiable {
| `- note: class 'TimingRowSectionViewModel' does not conform to the 'Sendable' protocol
153 | package let title: String
154 | package let items: [TimingRowViewModel]
:
197 | }
198 |
199 | private let mockSections = [
| |- warning: let 'mockSections' is not concurrency-safe because non-'Sendable' type '[TimingRowSectionViewModel]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'mockSections' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
200 | TimingRowSectionViewModel(title: "Response", items: [
201 | TimingRowViewModel(title: "Scheduling", value: "0.01ms", color: .systemBlue, start: 0.0, length: 0.001),
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:130:39: warning: sending 'output' risks causing data races; this is an error in the Swift 6 language mode
128 | }
129 | }
130 | return try await ShareService.share(entities, store: store, as: output)
| |- warning: sending 'output' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'output' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:127:30: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
125 |
126 | let result = Result(catching: { try store.backgroundContext.fetch(request) })
127 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: main actor-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later main actor-isolated uses
128 | }
129 | }
[156/167] Compiling PulseUI TimingViewModel+Metrics.swift
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:130:39: warning: non-sendable result type 'ShareItems' cannot be sent from nonisolated context in call to static method 'share(_:store:as:)'; this is an error in the Swift 6 language mode
128 | }
129 | }
130 | return try await ShareService.share(entities, store: store, as: output)
| `- warning: non-sendable result type 'ShareItems' cannot be sent from nonisolated context in call to static method 'share(_:store:as:)'; this is an error in the Swift 6 language mode
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Helpers/ShareItems.swift:31:16: note: consider making struct 'ShareItems' conform to the 'Sendable' protocol
29 | }
30 |
31 | package struct ShareItems: Identifiable {
| `- note: consider making struct 'ShareItems' conform to the 'Sendable' protocol
32 | package let id = UUID()
33 | package let items: [Any]
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareView.swift:69:45: warning: 'sharingServices(forItems:)' was deprecated in macOS 13.0: Use -[NSSharingServicePicker standardShareMenuItem] instead.
67 | package var body: some View {
68 | VStack(alignment: .leading, spacing: 0) {
69 | let services = NSSharingService.sharingServices(forItems: items.items)
| `- warning: 'sharingServices(forItems:)' was deprecated in macOS 13.0: Use -[NSSharingServicePicker standardShareMenuItem] instead.
70 | ForEach(services, id: \.title) { service in
71 | Item(item: service) {
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:56:14: warning: main actor-isolated property 'isSelectable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
| `- warning: main actor-isolated property 'isSelectable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | textView.backgroundColor = .clear
58 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:415:38: note: mutation of this property is only permitted within the actor
413 | @property (nullable, weak) id<NSTextViewDelegate> delegate;
414 | @property (getter=isEditable) BOOL editable;
415 | @property (getter=isSelectable) BOOL selectable;
| `- note: mutation of this property is only permitted within the actor
416 | @property (getter=isRichText) BOOL richText;
417 | @property BOOL importsGraphics;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:57:14: warning: main actor-isolated property 'backgroundColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
| `- warning: main actor-isolated property 'backgroundColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
58 |
59 | #if os(iOS) || os(macOS) || os(visionOS)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:419:27: note: mutation of this property is only permitted within the actor
417 | @property BOOL importsGraphics;
418 | @property BOOL drawsBackground;
419 | @property (copy) NSColor *backgroundColor;
| `- note: mutation of this property is only permitted within the actor
420 | @property (getter=isFieldEditor) BOOL fieldEditor;
421 | @property BOOL usesFontPanel;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:60:14: warning: main actor-isolated property 'isEditable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
58 |
59 | #if os(iOS) || os(macOS) || os(visionOS)
60 | textView.isEditable = false
| `- warning: main actor-isolated property 'isEditable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 | textView.isAutomaticLinkDetectionEnabled = false
62 | #endif
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:414:36: note: mutation of this property is only permitted within the actor
412 |
413 | @property (nullable, weak) id<NSTextViewDelegate> delegate;
414 | @property (getter=isEditable) BOOL editable;
| `- note: mutation of this property is only permitted within the actor
415 | @property (getter=isSelectable) BOOL selectable;
416 | @property (getter=isRichText) BOOL richText;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:61:14: warning: main actor-isolated property 'isAutomaticLinkDetectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
59 | #if os(iOS) || os(macOS) || os(visionOS)
60 | textView.isEditable = false
61 | textView.isAutomaticLinkDetectionEnabled = false
| `- warning: main actor-isolated property 'isAutomaticLinkDetectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
62 | #endif
63 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:453:57: note: mutation of this property is only permitted within the actor
451 | @property (getter=isAutomaticQuoteSubstitutionEnabled) BOOL automaticQuoteSubstitutionEnabled API_AVAILABLE(macos(10.5));
452 | - (void)toggleAutomaticQuoteSubstitution:(nullable id)sender API_AVAILABLE(macos(10.5));
453 | @property (getter=isAutomaticLinkDetectionEnabled) BOOL automaticLinkDetectionEnabled API_AVAILABLE(macos(10.5));
| `- note: mutation of this property is only permitted within the actor
454 | - (void)toggleAutomaticLinkDetection:(nullable id)sender API_AVAILABLE(macos(10.5));
455 |
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:71:14: warning: main actor-isolated property 'isAutomaticSpellingCorrectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
69 |
70 | #if os(macOS)
71 | textView.isAutomaticSpellingCorrectionEnabled = false
| `- warning: main actor-isolated property 'isAutomaticSpellingCorrectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
72 | textView.textContainerInset = .zero
73 | #endif
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:462:62: note: mutation of this property is only permitted within the actor
460 | @property (getter=isAutomaticTextReplacementEnabled) BOOL automaticTextReplacementEnabled API_AVAILABLE(macos(10.6));
461 | - (void)toggleAutomaticTextReplacement:(nullable id)sender API_AVAILABLE(macos(10.6));
462 | @property (getter=isAutomaticSpellingCorrectionEnabled) BOOL automaticSpellingCorrectionEnabled API_AVAILABLE(macos(10.6));
| `- note: mutation of this property is only permitted within the actor
463 | - (void)toggleAutomaticSpellingCorrection:(nullable id)sender API_AVAILABLE(macos(10.6));
464 |
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:72:14: warning: main actor-isolated property 'textContainerInset' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
70 | #if os(macOS)
71 | textView.isAutomaticSpellingCorrectionEnabled = false
72 | textView.textContainerInset = .zero
| `- warning: main actor-isolated property 'textContainerInset' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
73 | #endif
74 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:103:18: note: mutation of this property is only permitted within the actor
101 |
102 | // The textContainerInset determines the padding that the view provides around the container. The container's origin will be inset by this amount from the bounds point {0,0} and padding will be left to the right and below the container of the same amount. This inset affects the view sizing in response to new layout and is used by the rectangular text containers when they track the view's frame dimensions.
103 | @property NSSize textContainerInset;
| `- note: mutation of this property is only permitted within the actor
104 |
105 | // The container's origin in the view is determined from the current usage of the container, the container inset, and the view size. textContainerOrigin returns this point.
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TimingView.swift:199:13: warning: let 'mockSections' is not concurrency-safe because non-'Sendable' type '[TimingRowSectionViewModel]' may have shared mutable state; this is an error in the Swift 6 language mode
150 | }
151 |
152 | package final class TimingRowSectionViewModel: Identifiable {
| `- note: class 'TimingRowSectionViewModel' does not conform to the 'Sendable' protocol
153 | package let title: String
154 | package let items: [TimingRowViewModel]
:
197 | }
198 |
199 | private let mockSections = [
| |- warning: let 'mockSections' is not concurrency-safe because non-'Sendable' type '[TimingRowSectionViewModel]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'mockSections' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
200 | TimingRowSectionViewModel(title: "Response", items: [
201 | TimingRowViewModel(title: "Scheduling", value: "0.01ms", color: .systemBlue, start: 0.0, length: 0.001),
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:130:39: warning: sending 'output' risks causing data races; this is an error in the Swift 6 language mode
128 | }
129 | }
130 | return try await ShareService.share(entities, store: store, as: output)
| |- warning: sending 'output' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'output' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:127:30: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
125 |
126 | let result = Result(catching: { try store.backgroundContext.fetch(request) })
127 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: main actor-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later main actor-isolated uses
128 | }
129 | }
[157/167] Compiling PulseUI PDFRepresentedView.swift
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:130:39: warning: non-sendable result type 'ShareItems' cannot be sent from nonisolated context in call to static method 'share(_:store:as:)'; this is an error in the Swift 6 language mode
128 | }
129 | }
130 | return try await ShareService.share(entities, store: store, as: output)
| `- warning: non-sendable result type 'ShareItems' cannot be sent from nonisolated context in call to static method 'share(_:store:as:)'; this is an error in the Swift 6 language mode
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Helpers/ShareItems.swift:31:16: note: consider making struct 'ShareItems' conform to the 'Sendable' protocol
29 | }
30 |
31 | package struct ShareItems: Identifiable {
| `- note: consider making struct 'ShareItems' conform to the 'Sendable' protocol
32 | package let id = UUID()
33 | package let items: [Any]
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareView.swift:69:45: warning: 'sharingServices(forItems:)' was deprecated in macOS 13.0: Use -[NSSharingServicePicker standardShareMenuItem] instead.
67 | package var body: some View {
68 | VStack(alignment: .leading, spacing: 0) {
69 | let services = NSSharingService.sharingServices(forItems: items.items)
| `- warning: 'sharingServices(forItems:)' was deprecated in macOS 13.0: Use -[NSSharingServicePicker standardShareMenuItem] instead.
70 | ForEach(services, id: \.title) { service in
71 | Item(item: service) {
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:56:14: warning: main actor-isolated property 'isSelectable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
| `- warning: main actor-isolated property 'isSelectable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | textView.backgroundColor = .clear
58 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:415:38: note: mutation of this property is only permitted within the actor
413 | @property (nullable, weak) id<NSTextViewDelegate> delegate;
414 | @property (getter=isEditable) BOOL editable;
415 | @property (getter=isSelectable) BOOL selectable;
| `- note: mutation of this property is only permitted within the actor
416 | @property (getter=isRichText) BOOL richText;
417 | @property BOOL importsGraphics;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:57:14: warning: main actor-isolated property 'backgroundColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
| `- warning: main actor-isolated property 'backgroundColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
58 |
59 | #if os(iOS) || os(macOS) || os(visionOS)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:419:27: note: mutation of this property is only permitted within the actor
417 | @property BOOL importsGraphics;
418 | @property BOOL drawsBackground;
419 | @property (copy) NSColor *backgroundColor;
| `- note: mutation of this property is only permitted within the actor
420 | @property (getter=isFieldEditor) BOOL fieldEditor;
421 | @property BOOL usesFontPanel;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:60:14: warning: main actor-isolated property 'isEditable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
58 |
59 | #if os(iOS) || os(macOS) || os(visionOS)
60 | textView.isEditable = false
| `- warning: main actor-isolated property 'isEditable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 | textView.isAutomaticLinkDetectionEnabled = false
62 | #endif
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:414:36: note: mutation of this property is only permitted within the actor
412 |
413 | @property (nullable, weak) id<NSTextViewDelegate> delegate;
414 | @property (getter=isEditable) BOOL editable;
| `- note: mutation of this property is only permitted within the actor
415 | @property (getter=isSelectable) BOOL selectable;
416 | @property (getter=isRichText) BOOL richText;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:61:14: warning: main actor-isolated property 'isAutomaticLinkDetectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
59 | #if os(iOS) || os(macOS) || os(visionOS)
60 | textView.isEditable = false
61 | textView.isAutomaticLinkDetectionEnabled = false
| `- warning: main actor-isolated property 'isAutomaticLinkDetectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
62 | #endif
63 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:453:57: note: mutation of this property is only permitted within the actor
451 | @property (getter=isAutomaticQuoteSubstitutionEnabled) BOOL automaticQuoteSubstitutionEnabled API_AVAILABLE(macos(10.5));
452 | - (void)toggleAutomaticQuoteSubstitution:(nullable id)sender API_AVAILABLE(macos(10.5));
453 | @property (getter=isAutomaticLinkDetectionEnabled) BOOL automaticLinkDetectionEnabled API_AVAILABLE(macos(10.5));
| `- note: mutation of this property is only permitted within the actor
454 | - (void)toggleAutomaticLinkDetection:(nullable id)sender API_AVAILABLE(macos(10.5));
455 |
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:71:14: warning: main actor-isolated property 'isAutomaticSpellingCorrectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
69 |
70 | #if os(macOS)
71 | textView.isAutomaticSpellingCorrectionEnabled = false
| `- warning: main actor-isolated property 'isAutomaticSpellingCorrectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
72 | textView.textContainerInset = .zero
73 | #endif
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:462:62: note: mutation of this property is only permitted within the actor
460 | @property (getter=isAutomaticTextReplacementEnabled) BOOL automaticTextReplacementEnabled API_AVAILABLE(macos(10.6));
461 | - (void)toggleAutomaticTextReplacement:(nullable id)sender API_AVAILABLE(macos(10.6));
462 | @property (getter=isAutomaticSpellingCorrectionEnabled) BOOL automaticSpellingCorrectionEnabled API_AVAILABLE(macos(10.6));
| `- note: mutation of this property is only permitted within the actor
463 | - (void)toggleAutomaticSpellingCorrection:(nullable id)sender API_AVAILABLE(macos(10.6));
464 |
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:72:14: warning: main actor-isolated property 'textContainerInset' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
70 | #if os(macOS)
71 | textView.isAutomaticSpellingCorrectionEnabled = false
72 | textView.textContainerInset = .zero
| `- warning: main actor-isolated property 'textContainerInset' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
73 | #endif
74 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:103:18: note: mutation of this property is only permitted within the actor
101 |
102 | // The textContainerInset determines the padding that the view provides around the container. The container's origin will be inset by this amount from the bounds point {0,0} and padding will be left to the right and below the container of the same amount. This inset affects the view sizing in response to new layout and is used by the rectangular text containers when they track the view's frame dimensions.
103 | @property NSSize textContainerInset;
| `- note: mutation of this property is only permitted within the actor
104 |
105 | // The container's origin in the view is determined from the current usage of the container, the container inset, and the view size. textContainerOrigin returns this point.
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TimingView.swift:199:13: warning: let 'mockSections' is not concurrency-safe because non-'Sendable' type '[TimingRowSectionViewModel]' may have shared mutable state; this is an error in the Swift 6 language mode
150 | }
151 |
152 | package final class TimingRowSectionViewModel: Identifiable {
| `- note: class 'TimingRowSectionViewModel' does not conform to the 'Sendable' protocol
153 | package let title: String
154 | package let items: [TimingRowViewModel]
:
197 | }
198 |
199 | private let mockSections = [
| |- warning: let 'mockSections' is not concurrency-safe because non-'Sendable' type '[TimingRowSectionViewModel]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'mockSections' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
200 | TimingRowSectionViewModel(title: "Response", items: [
201 | TimingRowViewModel(title: "Scheduling", value: "0.01ms", color: .systemBlue, start: 0.0, length: 0.001),
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:130:39: warning: sending 'output' risks causing data races; this is an error in the Swift 6 language mode
128 | }
129 | }
130 | return try await ShareService.share(entities, store: store, as: output)
| |- warning: sending 'output' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'output' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:127:30: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
125 |
126 | let result = Result(catching: { try store.backgroundContext.fetch(request) })
127 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: main actor-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later main actor-isolated uses
128 | }
129 | }
[158/167] Compiling PulseUI PlaceholderView.swift
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:130:39: warning: non-sendable result type 'ShareItems' cannot be sent from nonisolated context in call to static method 'share(_:store:as:)'; this is an error in the Swift 6 language mode
128 | }
129 | }
130 | return try await ShareService.share(entities, store: store, as: output)
| `- warning: non-sendable result type 'ShareItems' cannot be sent from nonisolated context in call to static method 'share(_:store:as:)'; this is an error in the Swift 6 language mode
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Helpers/ShareItems.swift:31:16: note: consider making struct 'ShareItems' conform to the 'Sendable' protocol
29 | }
30 |
31 | package struct ShareItems: Identifiable {
| `- note: consider making struct 'ShareItems' conform to the 'Sendable' protocol
32 | package let id = UUID()
33 | package let items: [Any]
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareView.swift:69:45: warning: 'sharingServices(forItems:)' was deprecated in macOS 13.0: Use -[NSSharingServicePicker standardShareMenuItem] instead.
67 | package var body: some View {
68 | VStack(alignment: .leading, spacing: 0) {
69 | let services = NSSharingService.sharingServices(forItems: items.items)
| `- warning: 'sharingServices(forItems:)' was deprecated in macOS 13.0: Use -[NSSharingServicePicker standardShareMenuItem] instead.
70 | ForEach(services, id: \.title) { service in
71 | Item(item: service) {
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:56:14: warning: main actor-isolated property 'isSelectable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
| `- warning: main actor-isolated property 'isSelectable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | textView.backgroundColor = .clear
58 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:415:38: note: mutation of this property is only permitted within the actor
413 | @property (nullable, weak) id<NSTextViewDelegate> delegate;
414 | @property (getter=isEditable) BOOL editable;
415 | @property (getter=isSelectable) BOOL selectable;
| `- note: mutation of this property is only permitted within the actor
416 | @property (getter=isRichText) BOOL richText;
417 | @property BOOL importsGraphics;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:57:14: warning: main actor-isolated property 'backgroundColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
| `- warning: main actor-isolated property 'backgroundColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
58 |
59 | #if os(iOS) || os(macOS) || os(visionOS)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:419:27: note: mutation of this property is only permitted within the actor
417 | @property BOOL importsGraphics;
418 | @property BOOL drawsBackground;
419 | @property (copy) NSColor *backgroundColor;
| `- note: mutation of this property is only permitted within the actor
420 | @property (getter=isFieldEditor) BOOL fieldEditor;
421 | @property BOOL usesFontPanel;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:60:14: warning: main actor-isolated property 'isEditable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
58 |
59 | #if os(iOS) || os(macOS) || os(visionOS)
60 | textView.isEditable = false
| `- warning: main actor-isolated property 'isEditable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 | textView.isAutomaticLinkDetectionEnabled = false
62 | #endif
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:414:36: note: mutation of this property is only permitted within the actor
412 |
413 | @property (nullable, weak) id<NSTextViewDelegate> delegate;
414 | @property (getter=isEditable) BOOL editable;
| `- note: mutation of this property is only permitted within the actor
415 | @property (getter=isSelectable) BOOL selectable;
416 | @property (getter=isRichText) BOOL richText;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:61:14: warning: main actor-isolated property 'isAutomaticLinkDetectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
59 | #if os(iOS) || os(macOS) || os(visionOS)
60 | textView.isEditable = false
61 | textView.isAutomaticLinkDetectionEnabled = false
| `- warning: main actor-isolated property 'isAutomaticLinkDetectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
62 | #endif
63 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:453:57: note: mutation of this property is only permitted within the actor
451 | @property (getter=isAutomaticQuoteSubstitutionEnabled) BOOL automaticQuoteSubstitutionEnabled API_AVAILABLE(macos(10.5));
452 | - (void)toggleAutomaticQuoteSubstitution:(nullable id)sender API_AVAILABLE(macos(10.5));
453 | @property (getter=isAutomaticLinkDetectionEnabled) BOOL automaticLinkDetectionEnabled API_AVAILABLE(macos(10.5));
| `- note: mutation of this property is only permitted within the actor
454 | - (void)toggleAutomaticLinkDetection:(nullable id)sender API_AVAILABLE(macos(10.5));
455 |
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:71:14: warning: main actor-isolated property 'isAutomaticSpellingCorrectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
69 |
70 | #if os(macOS)
71 | textView.isAutomaticSpellingCorrectionEnabled = false
| `- warning: main actor-isolated property 'isAutomaticSpellingCorrectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
72 | textView.textContainerInset = .zero
73 | #endif
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:462:62: note: mutation of this property is only permitted within the actor
460 | @property (getter=isAutomaticTextReplacementEnabled) BOOL automaticTextReplacementEnabled API_AVAILABLE(macos(10.6));
461 | - (void)toggleAutomaticTextReplacement:(nullable id)sender API_AVAILABLE(macos(10.6));
462 | @property (getter=isAutomaticSpellingCorrectionEnabled) BOOL automaticSpellingCorrectionEnabled API_AVAILABLE(macos(10.6));
| `- note: mutation of this property is only permitted within the actor
463 | - (void)toggleAutomaticSpellingCorrection:(nullable id)sender API_AVAILABLE(macos(10.6));
464 |
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:72:14: warning: main actor-isolated property 'textContainerInset' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
70 | #if os(macOS)
71 | textView.isAutomaticSpellingCorrectionEnabled = false
72 | textView.textContainerInset = .zero
| `- warning: main actor-isolated property 'textContainerInset' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
73 | #endif
74 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:103:18: note: mutation of this property is only permitted within the actor
101 |
102 | // The textContainerInset determines the padding that the view provides around the container. The container's origin will be inset by this amount from the bounds point {0,0} and padding will be left to the right and below the container of the same amount. This inset affects the view sizing in response to new layout and is used by the rectangular text containers when they track the view's frame dimensions.
103 | @property NSSize textContainerInset;
| `- note: mutation of this property is only permitted within the actor
104 |
105 | // The container's origin in the view is determined from the current usage of the container, the container inset, and the view size. textContainerOrigin returns this point.
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TimingView.swift:199:13: warning: let 'mockSections' is not concurrency-safe because non-'Sendable' type '[TimingRowSectionViewModel]' may have shared mutable state; this is an error in the Swift 6 language mode
150 | }
151 |
152 | package final class TimingRowSectionViewModel: Identifiable {
| `- note: class 'TimingRowSectionViewModel' does not conform to the 'Sendable' protocol
153 | package let title: String
154 | package let items: [TimingRowViewModel]
:
197 | }
198 |
199 | private let mockSections = [
| |- warning: let 'mockSections' is not concurrency-safe because non-'Sendable' type '[TimingRowSectionViewModel]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'mockSections' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
200 | TimingRowSectionViewModel(title: "Response", items: [
201 | TimingRowViewModel(title: "Scheduling", value: "0.01ms", color: .systemBlue, start: 0.0, length: 0.001),
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:130:39: warning: sending 'output' risks causing data races; this is an error in the Swift 6 language mode
128 | }
129 | }
130 | return try await ShareService.share(entities, store: store, as: output)
| |- warning: sending 'output' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'output' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:127:30: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
125 |
126 | let result = Result(catching: { try store.backgroundContext.fetch(request) })
127 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: main actor-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later main actor-isolated uses
128 | }
129 | }
[159/167] Compiling PulseUI PulseUI+UIKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:130:39: warning: non-sendable result type 'ShareItems' cannot be sent from nonisolated context in call to static method 'share(_:store:as:)'; this is an error in the Swift 6 language mode
128 | }
129 | }
130 | return try await ShareService.share(entities, store: store, as: output)
| `- warning: non-sendable result type 'ShareItems' cannot be sent from nonisolated context in call to static method 'share(_:store:as:)'; this is an error in the Swift 6 language mode
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Helpers/ShareItems.swift:31:16: note: consider making struct 'ShareItems' conform to the 'Sendable' protocol
29 | }
30 |
31 | package struct ShareItems: Identifiable {
| `- note: consider making struct 'ShareItems' conform to the 'Sendable' protocol
32 | package let id = UUID()
33 | package let items: [Any]
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareView.swift:69:45: warning: 'sharingServices(forItems:)' was deprecated in macOS 13.0: Use -[NSSharingServicePicker standardShareMenuItem] instead.
67 | package var body: some View {
68 | VStack(alignment: .leading, spacing: 0) {
69 | let services = NSSharingService.sharingServices(forItems: items.items)
| `- warning: 'sharingServices(forItems:)' was deprecated in macOS 13.0: Use -[NSSharingServicePicker standardShareMenuItem] instead.
70 | ForEach(services, id: \.title) { service in
71 | Item(item: service) {
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:56:14: warning: main actor-isolated property 'isSelectable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
| `- warning: main actor-isolated property 'isSelectable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | textView.backgroundColor = .clear
58 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:415:38: note: mutation of this property is only permitted within the actor
413 | @property (nullable, weak) id<NSTextViewDelegate> delegate;
414 | @property (getter=isEditable) BOOL editable;
415 | @property (getter=isSelectable) BOOL selectable;
| `- note: mutation of this property is only permitted within the actor
416 | @property (getter=isRichText) BOOL richText;
417 | @property BOOL importsGraphics;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:57:14: warning: main actor-isolated property 'backgroundColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
| `- warning: main actor-isolated property 'backgroundColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
58 |
59 | #if os(iOS) || os(macOS) || os(visionOS)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:419:27: note: mutation of this property is only permitted within the actor
417 | @property BOOL importsGraphics;
418 | @property BOOL drawsBackground;
419 | @property (copy) NSColor *backgroundColor;
| `- note: mutation of this property is only permitted within the actor
420 | @property (getter=isFieldEditor) BOOL fieldEditor;
421 | @property BOOL usesFontPanel;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:60:14: warning: main actor-isolated property 'isEditable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
58 |
59 | #if os(iOS) || os(macOS) || os(visionOS)
60 | textView.isEditable = false
| `- warning: main actor-isolated property 'isEditable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 | textView.isAutomaticLinkDetectionEnabled = false
62 | #endif
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:414:36: note: mutation of this property is only permitted within the actor
412 |
413 | @property (nullable, weak) id<NSTextViewDelegate> delegate;
414 | @property (getter=isEditable) BOOL editable;
| `- note: mutation of this property is only permitted within the actor
415 | @property (getter=isSelectable) BOOL selectable;
416 | @property (getter=isRichText) BOOL richText;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:61:14: warning: main actor-isolated property 'isAutomaticLinkDetectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
59 | #if os(iOS) || os(macOS) || os(visionOS)
60 | textView.isEditable = false
61 | textView.isAutomaticLinkDetectionEnabled = false
| `- warning: main actor-isolated property 'isAutomaticLinkDetectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
62 | #endif
63 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:453:57: note: mutation of this property is only permitted within the actor
451 | @property (getter=isAutomaticQuoteSubstitutionEnabled) BOOL automaticQuoteSubstitutionEnabled API_AVAILABLE(macos(10.5));
452 | - (void)toggleAutomaticQuoteSubstitution:(nullable id)sender API_AVAILABLE(macos(10.5));
453 | @property (getter=isAutomaticLinkDetectionEnabled) BOOL automaticLinkDetectionEnabled API_AVAILABLE(macos(10.5));
| `- note: mutation of this property is only permitted within the actor
454 | - (void)toggleAutomaticLinkDetection:(nullable id)sender API_AVAILABLE(macos(10.5));
455 |
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:71:14: warning: main actor-isolated property 'isAutomaticSpellingCorrectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
69 |
70 | #if os(macOS)
71 | textView.isAutomaticSpellingCorrectionEnabled = false
| `- warning: main actor-isolated property 'isAutomaticSpellingCorrectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
72 | textView.textContainerInset = .zero
73 | #endif
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:462:62: note: mutation of this property is only permitted within the actor
460 | @property (getter=isAutomaticTextReplacementEnabled) BOOL automaticTextReplacementEnabled API_AVAILABLE(macos(10.6));
461 | - (void)toggleAutomaticTextReplacement:(nullable id)sender API_AVAILABLE(macos(10.6));
462 | @property (getter=isAutomaticSpellingCorrectionEnabled) BOOL automaticSpellingCorrectionEnabled API_AVAILABLE(macos(10.6));
| `- note: mutation of this property is only permitted within the actor
463 | - (void)toggleAutomaticSpellingCorrection:(nullable id)sender API_AVAILABLE(macos(10.6));
464 |
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:72:14: warning: main actor-isolated property 'textContainerInset' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
70 | #if os(macOS)
71 | textView.isAutomaticSpellingCorrectionEnabled = false
72 | textView.textContainerInset = .zero
| `- warning: main actor-isolated property 'textContainerInset' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
73 | #endif
74 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:103:18: note: mutation of this property is only permitted within the actor
101 |
102 | // The textContainerInset determines the padding that the view provides around the container. The container's origin will be inset by this amount from the bounds point {0,0} and padding will be left to the right and below the container of the same amount. This inset affects the view sizing in response to new layout and is used by the rectangular text containers when they track the view's frame dimensions.
103 | @property NSSize textContainerInset;
| `- note: mutation of this property is only permitted within the actor
104 |
105 | // The container's origin in the view is determined from the current usage of the container, the container inset, and the view size. textContainerOrigin returns this point.
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TimingView.swift:199:13: warning: let 'mockSections' is not concurrency-safe because non-'Sendable' type '[TimingRowSectionViewModel]' may have shared mutable state; this is an error in the Swift 6 language mode
150 | }
151 |
152 | package final class TimingRowSectionViewModel: Identifiable {
| `- note: class 'TimingRowSectionViewModel' does not conform to the 'Sendable' protocol
153 | package let title: String
154 | package let items: [TimingRowViewModel]
:
197 | }
198 |
199 | private let mockSections = [
| |- warning: let 'mockSections' is not concurrency-safe because non-'Sendable' type '[TimingRowSectionViewModel]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'mockSections' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
200 | TimingRowSectionViewModel(title: "Response", items: [
201 | TimingRowViewModel(title: "Scheduling", value: "0.01ms", color: .systemBlue, start: 0.0, length: 0.001),
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:130:39: warning: sending 'output' risks causing data races; this is an error in the Swift 6 language mode
128 | }
129 | }
130 | return try await ShareService.share(entities, store: store, as: output)
| |- warning: sending 'output' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'output' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:127:30: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
125 |
126 | let result = Result(catching: { try store.backgroundContext.fetch(request) })
127 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: main actor-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later main actor-isolated uses
128 | }
129 | }
[160/167] Compiling PulseUI SectionHeaderView.swift
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:130:39: warning: non-sendable result type 'ShareItems' cannot be sent from nonisolated context in call to static method 'share(_:store:as:)'; this is an error in the Swift 6 language mode
128 | }
129 | }
130 | return try await ShareService.share(entities, store: store, as: output)
| `- warning: non-sendable result type 'ShareItems' cannot be sent from nonisolated context in call to static method 'share(_:store:as:)'; this is an error in the Swift 6 language mode
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Helpers/ShareItems.swift:31:16: note: consider making struct 'ShareItems' conform to the 'Sendable' protocol
29 | }
30 |
31 | package struct ShareItems: Identifiable {
| `- note: consider making struct 'ShareItems' conform to the 'Sendable' protocol
32 | package let id = UUID()
33 | package let items: [Any]
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareView.swift:69:45: warning: 'sharingServices(forItems:)' was deprecated in macOS 13.0: Use -[NSSharingServicePicker standardShareMenuItem] instead.
67 | package var body: some View {
68 | VStack(alignment: .leading, spacing: 0) {
69 | let services = NSSharingService.sharingServices(forItems: items.items)
| `- warning: 'sharingServices(forItems:)' was deprecated in macOS 13.0: Use -[NSSharingServicePicker standardShareMenuItem] instead.
70 | ForEach(services, id: \.title) { service in
71 | Item(item: service) {
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:56:14: warning: main actor-isolated property 'isSelectable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
| `- warning: main actor-isolated property 'isSelectable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | textView.backgroundColor = .clear
58 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:415:38: note: mutation of this property is only permitted within the actor
413 | @property (nullable, weak) id<NSTextViewDelegate> delegate;
414 | @property (getter=isEditable) BOOL editable;
415 | @property (getter=isSelectable) BOOL selectable;
| `- note: mutation of this property is only permitted within the actor
416 | @property (getter=isRichText) BOOL richText;
417 | @property BOOL importsGraphics;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:57:14: warning: main actor-isolated property 'backgroundColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
| `- warning: main actor-isolated property 'backgroundColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
58 |
59 | #if os(iOS) || os(macOS) || os(visionOS)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:419:27: note: mutation of this property is only permitted within the actor
417 | @property BOOL importsGraphics;
418 | @property BOOL drawsBackground;
419 | @property (copy) NSColor *backgroundColor;
| `- note: mutation of this property is only permitted within the actor
420 | @property (getter=isFieldEditor) BOOL fieldEditor;
421 | @property BOOL usesFontPanel;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:60:14: warning: main actor-isolated property 'isEditable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
58 |
59 | #if os(iOS) || os(macOS) || os(visionOS)
60 | textView.isEditable = false
| `- warning: main actor-isolated property 'isEditable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 | textView.isAutomaticLinkDetectionEnabled = false
62 | #endif
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:414:36: note: mutation of this property is only permitted within the actor
412 |
413 | @property (nullable, weak) id<NSTextViewDelegate> delegate;
414 | @property (getter=isEditable) BOOL editable;
| `- note: mutation of this property is only permitted within the actor
415 | @property (getter=isSelectable) BOOL selectable;
416 | @property (getter=isRichText) BOOL richText;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:61:14: warning: main actor-isolated property 'isAutomaticLinkDetectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
59 | #if os(iOS) || os(macOS) || os(visionOS)
60 | textView.isEditable = false
61 | textView.isAutomaticLinkDetectionEnabled = false
| `- warning: main actor-isolated property 'isAutomaticLinkDetectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
62 | #endif
63 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:453:57: note: mutation of this property is only permitted within the actor
451 | @property (getter=isAutomaticQuoteSubstitutionEnabled) BOOL automaticQuoteSubstitutionEnabled API_AVAILABLE(macos(10.5));
452 | - (void)toggleAutomaticQuoteSubstitution:(nullable id)sender API_AVAILABLE(macos(10.5));
453 | @property (getter=isAutomaticLinkDetectionEnabled) BOOL automaticLinkDetectionEnabled API_AVAILABLE(macos(10.5));
| `- note: mutation of this property is only permitted within the actor
454 | - (void)toggleAutomaticLinkDetection:(nullable id)sender API_AVAILABLE(macos(10.5));
455 |
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:71:14: warning: main actor-isolated property 'isAutomaticSpellingCorrectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
69 |
70 | #if os(macOS)
71 | textView.isAutomaticSpellingCorrectionEnabled = false
| `- warning: main actor-isolated property 'isAutomaticSpellingCorrectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
72 | textView.textContainerInset = .zero
73 | #endif
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:462:62: note: mutation of this property is only permitted within the actor
460 | @property (getter=isAutomaticTextReplacementEnabled) BOOL automaticTextReplacementEnabled API_AVAILABLE(macos(10.6));
461 | - (void)toggleAutomaticTextReplacement:(nullable id)sender API_AVAILABLE(macos(10.6));
462 | @property (getter=isAutomaticSpellingCorrectionEnabled) BOOL automaticSpellingCorrectionEnabled API_AVAILABLE(macos(10.6));
| `- note: mutation of this property is only permitted within the actor
463 | - (void)toggleAutomaticSpellingCorrection:(nullable id)sender API_AVAILABLE(macos(10.6));
464 |
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:72:14: warning: main actor-isolated property 'textContainerInset' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
70 | #if os(macOS)
71 | textView.isAutomaticSpellingCorrectionEnabled = false
72 | textView.textContainerInset = .zero
| `- warning: main actor-isolated property 'textContainerInset' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
73 | #endif
74 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:103:18: note: mutation of this property is only permitted within the actor
101 |
102 | // The textContainerInset determines the padding that the view provides around the container. The container's origin will be inset by this amount from the bounds point {0,0} and padding will be left to the right and below the container of the same amount. This inset affects the view sizing in response to new layout and is used by the rectangular text containers when they track the view's frame dimensions.
103 | @property NSSize textContainerInset;
| `- note: mutation of this property is only permitted within the actor
104 |
105 | // The container's origin in the view is determined from the current usage of the container, the container inset, and the view size. textContainerOrigin returns this point.
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TimingView.swift:199:13: warning: let 'mockSections' is not concurrency-safe because non-'Sendable' type '[TimingRowSectionViewModel]' may have shared mutable state; this is an error in the Swift 6 language mode
150 | }
151 |
152 | package final class TimingRowSectionViewModel: Identifiable {
| `- note: class 'TimingRowSectionViewModel' does not conform to the 'Sendable' protocol
153 | package let title: String
154 | package let items: [TimingRowViewModel]
:
197 | }
198 |
199 | private let mockSections = [
| |- warning: let 'mockSections' is not concurrency-safe because non-'Sendable' type '[TimingRowSectionViewModel]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'mockSections' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
200 | TimingRowSectionViewModel(title: "Response", items: [
201 | TimingRowViewModel(title: "Scheduling", value: "0.01ms", color: .systemBlue, start: 0.0, length: 0.001),
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:130:39: warning: sending 'output' risks causing data races; this is an error in the Swift 6 language mode
128 | }
129 | }
130 | return try await ShareService.share(entities, store: store, as: output)
| |- warning: sending 'output' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'output' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:127:30: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
125 |
126 | let result = Result(catching: { try store.backgroundContext.fetch(request) })
127 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: main actor-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later main actor-isolated uses
128 | }
129 | }
[161/167] Compiling PulseUI ShareStoreView.swift
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:130:39: warning: non-sendable result type 'ShareItems' cannot be sent from nonisolated context in call to static method 'share(_:store:as:)'; this is an error in the Swift 6 language mode
128 | }
129 | }
130 | return try await ShareService.share(entities, store: store, as: output)
| `- warning: non-sendable result type 'ShareItems' cannot be sent from nonisolated context in call to static method 'share(_:store:as:)'; this is an error in the Swift 6 language mode
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Helpers/ShareItems.swift:31:16: note: consider making struct 'ShareItems' conform to the 'Sendable' protocol
29 | }
30 |
31 | package struct ShareItems: Identifiable {
| `- note: consider making struct 'ShareItems' conform to the 'Sendable' protocol
32 | package let id = UUID()
33 | package let items: [Any]
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareView.swift:69:45: warning: 'sharingServices(forItems:)' was deprecated in macOS 13.0: Use -[NSSharingServicePicker standardShareMenuItem] instead.
67 | package var body: some View {
68 | VStack(alignment: .leading, spacing: 0) {
69 | let services = NSSharingService.sharingServices(forItems: items.items)
| `- warning: 'sharingServices(forItems:)' was deprecated in macOS 13.0: Use -[NSSharingServicePicker standardShareMenuItem] instead.
70 | ForEach(services, id: \.title) { service in
71 | Item(item: service) {
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:56:14: warning: main actor-isolated property 'isSelectable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
| `- warning: main actor-isolated property 'isSelectable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | textView.backgroundColor = .clear
58 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:415:38: note: mutation of this property is only permitted within the actor
413 | @property (nullable, weak) id<NSTextViewDelegate> delegate;
414 | @property (getter=isEditable) BOOL editable;
415 | @property (getter=isSelectable) BOOL selectable;
| `- note: mutation of this property is only permitted within the actor
416 | @property (getter=isRichText) BOOL richText;
417 | @property BOOL importsGraphics;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:57:14: warning: main actor-isolated property 'backgroundColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
| `- warning: main actor-isolated property 'backgroundColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
58 |
59 | #if os(iOS) || os(macOS) || os(visionOS)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:419:27: note: mutation of this property is only permitted within the actor
417 | @property BOOL importsGraphics;
418 | @property BOOL drawsBackground;
419 | @property (copy) NSColor *backgroundColor;
| `- note: mutation of this property is only permitted within the actor
420 | @property (getter=isFieldEditor) BOOL fieldEditor;
421 | @property BOOL usesFontPanel;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:60:14: warning: main actor-isolated property 'isEditable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
58 |
59 | #if os(iOS) || os(macOS) || os(visionOS)
60 | textView.isEditable = false
| `- warning: main actor-isolated property 'isEditable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 | textView.isAutomaticLinkDetectionEnabled = false
62 | #endif
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:414:36: note: mutation of this property is only permitted within the actor
412 |
413 | @property (nullable, weak) id<NSTextViewDelegate> delegate;
414 | @property (getter=isEditable) BOOL editable;
| `- note: mutation of this property is only permitted within the actor
415 | @property (getter=isSelectable) BOOL selectable;
416 | @property (getter=isRichText) BOOL richText;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:61:14: warning: main actor-isolated property 'isAutomaticLinkDetectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
59 | #if os(iOS) || os(macOS) || os(visionOS)
60 | textView.isEditable = false
61 | textView.isAutomaticLinkDetectionEnabled = false
| `- warning: main actor-isolated property 'isAutomaticLinkDetectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
62 | #endif
63 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:453:57: note: mutation of this property is only permitted within the actor
451 | @property (getter=isAutomaticQuoteSubstitutionEnabled) BOOL automaticQuoteSubstitutionEnabled API_AVAILABLE(macos(10.5));
452 | - (void)toggleAutomaticQuoteSubstitution:(nullable id)sender API_AVAILABLE(macos(10.5));
453 | @property (getter=isAutomaticLinkDetectionEnabled) BOOL automaticLinkDetectionEnabled API_AVAILABLE(macos(10.5));
| `- note: mutation of this property is only permitted within the actor
454 | - (void)toggleAutomaticLinkDetection:(nullable id)sender API_AVAILABLE(macos(10.5));
455 |
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:71:14: warning: main actor-isolated property 'isAutomaticSpellingCorrectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
69 |
70 | #if os(macOS)
71 | textView.isAutomaticSpellingCorrectionEnabled = false
| `- warning: main actor-isolated property 'isAutomaticSpellingCorrectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
72 | textView.textContainerInset = .zero
73 | #endif
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:462:62: note: mutation of this property is only permitted within the actor
460 | @property (getter=isAutomaticTextReplacementEnabled) BOOL automaticTextReplacementEnabled API_AVAILABLE(macos(10.6));
461 | - (void)toggleAutomaticTextReplacement:(nullable id)sender API_AVAILABLE(macos(10.6));
462 | @property (getter=isAutomaticSpellingCorrectionEnabled) BOOL automaticSpellingCorrectionEnabled API_AVAILABLE(macos(10.6));
| `- note: mutation of this property is only permitted within the actor
463 | - (void)toggleAutomaticSpellingCorrection:(nullable id)sender API_AVAILABLE(macos(10.6));
464 |
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:72:14: warning: main actor-isolated property 'textContainerInset' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
70 | #if os(macOS)
71 | textView.isAutomaticSpellingCorrectionEnabled = false
72 | textView.textContainerInset = .zero
| `- warning: main actor-isolated property 'textContainerInset' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
73 | #endif
74 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:103:18: note: mutation of this property is only permitted within the actor
101 |
102 | // The textContainerInset determines the padding that the view provides around the container. The container's origin will be inset by this amount from the bounds point {0,0} and padding will be left to the right and below the container of the same amount. This inset affects the view sizing in response to new layout and is used by the rectangular text containers when they track the view's frame dimensions.
103 | @property NSSize textContainerInset;
| `- note: mutation of this property is only permitted within the actor
104 |
105 | // The container's origin in the view is determined from the current usage of the container, the container inset, and the view size. textContainerOrigin returns this point.
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TimingView.swift:199:13: warning: let 'mockSections' is not concurrency-safe because non-'Sendable' type '[TimingRowSectionViewModel]' may have shared mutable state; this is an error in the Swift 6 language mode
150 | }
151 |
152 | package final class TimingRowSectionViewModel: Identifiable {
| `- note: class 'TimingRowSectionViewModel' does not conform to the 'Sendable' protocol
153 | package let title: String
154 | package let items: [TimingRowViewModel]
:
197 | }
198 |
199 | private let mockSections = [
| |- warning: let 'mockSections' is not concurrency-safe because non-'Sendable' type '[TimingRowSectionViewModel]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'mockSections' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
200 | TimingRowSectionViewModel(title: "Response", items: [
201 | TimingRowViewModel(title: "Scheduling", value: "0.01ms", color: .systemBlue, start: 0.0, length: 0.001),
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:130:39: warning: sending 'output' risks causing data races; this is an error in the Swift 6 language mode
128 | }
129 | }
130 | return try await ShareService.share(entities, store: store, as: output)
| |- warning: sending 'output' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'output' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:127:30: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
125 |
126 | let result = Result(catching: { try store.backgroundContext.fetch(request) })
127 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: main actor-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later main actor-isolated uses
128 | }
129 | }
[162/167] Compiling PulseUI ShareStoreViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:130:39: warning: non-sendable result type 'ShareItems' cannot be sent from nonisolated context in call to static method 'share(_:store:as:)'; this is an error in the Swift 6 language mode
128 | }
129 | }
130 | return try await ShareService.share(entities, store: store, as: output)
| `- warning: non-sendable result type 'ShareItems' cannot be sent from nonisolated context in call to static method 'share(_:store:as:)'; this is an error in the Swift 6 language mode
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Helpers/ShareItems.swift:31:16: note: consider making struct 'ShareItems' conform to the 'Sendable' protocol
29 | }
30 |
31 | package struct ShareItems: Identifiable {
| `- note: consider making struct 'ShareItems' conform to the 'Sendable' protocol
32 | package let id = UUID()
33 | package let items: [Any]
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareView.swift:69:45: warning: 'sharingServices(forItems:)' was deprecated in macOS 13.0: Use -[NSSharingServicePicker standardShareMenuItem] instead.
67 | package var body: some View {
68 | VStack(alignment: .leading, spacing: 0) {
69 | let services = NSSharingService.sharingServices(forItems: items.items)
| `- warning: 'sharingServices(forItems:)' was deprecated in macOS 13.0: Use -[NSSharingServicePicker standardShareMenuItem] instead.
70 | ForEach(services, id: \.title) { service in
71 | Item(item: service) {
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:56:14: warning: main actor-isolated property 'isSelectable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
| `- warning: main actor-isolated property 'isSelectable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | textView.backgroundColor = .clear
58 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:415:38: note: mutation of this property is only permitted within the actor
413 | @property (nullable, weak) id<NSTextViewDelegate> delegate;
414 | @property (getter=isEditable) BOOL editable;
415 | @property (getter=isSelectable) BOOL selectable;
| `- note: mutation of this property is only permitted within the actor
416 | @property (getter=isRichText) BOOL richText;
417 | @property BOOL importsGraphics;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:57:14: warning: main actor-isolated property 'backgroundColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
| `- warning: main actor-isolated property 'backgroundColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
58 |
59 | #if os(iOS) || os(macOS) || os(visionOS)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:419:27: note: mutation of this property is only permitted within the actor
417 | @property BOOL importsGraphics;
418 | @property BOOL drawsBackground;
419 | @property (copy) NSColor *backgroundColor;
| `- note: mutation of this property is only permitted within the actor
420 | @property (getter=isFieldEditor) BOOL fieldEditor;
421 | @property BOOL usesFontPanel;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:60:14: warning: main actor-isolated property 'isEditable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
58 |
59 | #if os(iOS) || os(macOS) || os(visionOS)
60 | textView.isEditable = false
| `- warning: main actor-isolated property 'isEditable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 | textView.isAutomaticLinkDetectionEnabled = false
62 | #endif
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:414:36: note: mutation of this property is only permitted within the actor
412 |
413 | @property (nullable, weak) id<NSTextViewDelegate> delegate;
414 | @property (getter=isEditable) BOOL editable;
| `- note: mutation of this property is only permitted within the actor
415 | @property (getter=isSelectable) BOOL selectable;
416 | @property (getter=isRichText) BOOL richText;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:61:14: warning: main actor-isolated property 'isAutomaticLinkDetectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
59 | #if os(iOS) || os(macOS) || os(visionOS)
60 | textView.isEditable = false
61 | textView.isAutomaticLinkDetectionEnabled = false
| `- warning: main actor-isolated property 'isAutomaticLinkDetectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
62 | #endif
63 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:453:57: note: mutation of this property is only permitted within the actor
451 | @property (getter=isAutomaticQuoteSubstitutionEnabled) BOOL automaticQuoteSubstitutionEnabled API_AVAILABLE(macos(10.5));
452 | - (void)toggleAutomaticQuoteSubstitution:(nullable id)sender API_AVAILABLE(macos(10.5));
453 | @property (getter=isAutomaticLinkDetectionEnabled) BOOL automaticLinkDetectionEnabled API_AVAILABLE(macos(10.5));
| `- note: mutation of this property is only permitted within the actor
454 | - (void)toggleAutomaticLinkDetection:(nullable id)sender API_AVAILABLE(macos(10.5));
455 |
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:71:14: warning: main actor-isolated property 'isAutomaticSpellingCorrectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
69 |
70 | #if os(macOS)
71 | textView.isAutomaticSpellingCorrectionEnabled = false
| `- warning: main actor-isolated property 'isAutomaticSpellingCorrectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
72 | textView.textContainerInset = .zero
73 | #endif
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:462:62: note: mutation of this property is only permitted within the actor
460 | @property (getter=isAutomaticTextReplacementEnabled) BOOL automaticTextReplacementEnabled API_AVAILABLE(macos(10.6));
461 | - (void)toggleAutomaticTextReplacement:(nullable id)sender API_AVAILABLE(macos(10.6));
462 | @property (getter=isAutomaticSpellingCorrectionEnabled) BOOL automaticSpellingCorrectionEnabled API_AVAILABLE(macos(10.6));
| `- note: mutation of this property is only permitted within the actor
463 | - (void)toggleAutomaticSpellingCorrection:(nullable id)sender API_AVAILABLE(macos(10.6));
464 |
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:72:14: warning: main actor-isolated property 'textContainerInset' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
70 | #if os(macOS)
71 | textView.isAutomaticSpellingCorrectionEnabled = false
72 | textView.textContainerInset = .zero
| `- warning: main actor-isolated property 'textContainerInset' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
73 | #endif
74 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:103:18: note: mutation of this property is only permitted within the actor
101 |
102 | // The textContainerInset determines the padding that the view provides around the container. The container's origin will be inset by this amount from the bounds point {0,0} and padding will be left to the right and below the container of the same amount. This inset affects the view sizing in response to new layout and is used by the rectangular text containers when they track the view's frame dimensions.
103 | @property NSSize textContainerInset;
| `- note: mutation of this property is only permitted within the actor
104 |
105 | // The container's origin in the view is determined from the current usage of the container, the container inset, and the view size. textContainerOrigin returns this point.
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TimingView.swift:199:13: warning: let 'mockSections' is not concurrency-safe because non-'Sendable' type '[TimingRowSectionViewModel]' may have shared mutable state; this is an error in the Swift 6 language mode
150 | }
151 |
152 | package final class TimingRowSectionViewModel: Identifiable {
| `- note: class 'TimingRowSectionViewModel' does not conform to the 'Sendable' protocol
153 | package let title: String
154 | package let items: [TimingRowViewModel]
:
197 | }
198 |
199 | private let mockSections = [
| |- warning: let 'mockSections' is not concurrency-safe because non-'Sendable' type '[TimingRowSectionViewModel]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'mockSections' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
200 | TimingRowSectionViewModel(title: "Response", items: [
201 | TimingRowViewModel(title: "Scheduling", value: "0.01ms", color: .systemBlue, start: 0.0, length: 0.001),
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:130:39: warning: sending 'output' risks causing data races; this is an error in the Swift 6 language mode
128 | }
129 | }
130 | return try await ShareService.share(entities, store: store, as: output)
| |- warning: sending 'output' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'output' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:127:30: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
125 |
126 | let result = Result(catching: { try store.backgroundContext.fetch(request) })
127 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: main actor-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later main actor-isolated uses
128 | }
129 | }
[163/167] Compiling PulseUI ShareView.swift
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:130:39: warning: non-sendable result type 'ShareItems' cannot be sent from nonisolated context in call to static method 'share(_:store:as:)'; this is an error in the Swift 6 language mode
128 | }
129 | }
130 | return try await ShareService.share(entities, store: store, as: output)
| `- warning: non-sendable result type 'ShareItems' cannot be sent from nonisolated context in call to static method 'share(_:store:as:)'; this is an error in the Swift 6 language mode
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Helpers/ShareItems.swift:31:16: note: consider making struct 'ShareItems' conform to the 'Sendable' protocol
29 | }
30 |
31 | package struct ShareItems: Identifiable {
| `- note: consider making struct 'ShareItems' conform to the 'Sendable' protocol
32 | package let id = UUID()
33 | package let items: [Any]
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareView.swift:69:45: warning: 'sharingServices(forItems:)' was deprecated in macOS 13.0: Use -[NSSharingServicePicker standardShareMenuItem] instead.
67 | package var body: some View {
68 | VStack(alignment: .leading, spacing: 0) {
69 | let services = NSSharingService.sharingServices(forItems: items.items)
| `- warning: 'sharingServices(forItems:)' was deprecated in macOS 13.0: Use -[NSSharingServicePicker standardShareMenuItem] instead.
70 | ForEach(services, id: \.title) { service in
71 | Item(item: service) {
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:56:14: warning: main actor-isolated property 'isSelectable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
| `- warning: main actor-isolated property 'isSelectable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | textView.backgroundColor = .clear
58 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:415:38: note: mutation of this property is only permitted within the actor
413 | @property (nullable, weak) id<NSTextViewDelegate> delegate;
414 | @property (getter=isEditable) BOOL editable;
415 | @property (getter=isSelectable) BOOL selectable;
| `- note: mutation of this property is only permitted within the actor
416 | @property (getter=isRichText) BOOL richText;
417 | @property BOOL importsGraphics;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:57:14: warning: main actor-isolated property 'backgroundColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
| `- warning: main actor-isolated property 'backgroundColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
58 |
59 | #if os(iOS) || os(macOS) || os(visionOS)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:419:27: note: mutation of this property is only permitted within the actor
417 | @property BOOL importsGraphics;
418 | @property BOOL drawsBackground;
419 | @property (copy) NSColor *backgroundColor;
| `- note: mutation of this property is only permitted within the actor
420 | @property (getter=isFieldEditor) BOOL fieldEditor;
421 | @property BOOL usesFontPanel;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:60:14: warning: main actor-isolated property 'isEditable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
58 |
59 | #if os(iOS) || os(macOS) || os(visionOS)
60 | textView.isEditable = false
| `- warning: main actor-isolated property 'isEditable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 | textView.isAutomaticLinkDetectionEnabled = false
62 | #endif
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:414:36: note: mutation of this property is only permitted within the actor
412 |
413 | @property (nullable, weak) id<NSTextViewDelegate> delegate;
414 | @property (getter=isEditable) BOOL editable;
| `- note: mutation of this property is only permitted within the actor
415 | @property (getter=isSelectable) BOOL selectable;
416 | @property (getter=isRichText) BOOL richText;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:61:14: warning: main actor-isolated property 'isAutomaticLinkDetectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
59 | #if os(iOS) || os(macOS) || os(visionOS)
60 | textView.isEditable = false
61 | textView.isAutomaticLinkDetectionEnabled = false
| `- warning: main actor-isolated property 'isAutomaticLinkDetectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
62 | #endif
63 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:453:57: note: mutation of this property is only permitted within the actor
451 | @property (getter=isAutomaticQuoteSubstitutionEnabled) BOOL automaticQuoteSubstitutionEnabled API_AVAILABLE(macos(10.5));
452 | - (void)toggleAutomaticQuoteSubstitution:(nullable id)sender API_AVAILABLE(macos(10.5));
453 | @property (getter=isAutomaticLinkDetectionEnabled) BOOL automaticLinkDetectionEnabled API_AVAILABLE(macos(10.5));
| `- note: mutation of this property is only permitted within the actor
454 | - (void)toggleAutomaticLinkDetection:(nullable id)sender API_AVAILABLE(macos(10.5));
455 |
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:71:14: warning: main actor-isolated property 'isAutomaticSpellingCorrectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
69 |
70 | #if os(macOS)
71 | textView.isAutomaticSpellingCorrectionEnabled = false
| `- warning: main actor-isolated property 'isAutomaticSpellingCorrectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
72 | textView.textContainerInset = .zero
73 | #endif
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:462:62: note: mutation of this property is only permitted within the actor
460 | @property (getter=isAutomaticTextReplacementEnabled) BOOL automaticTextReplacementEnabled API_AVAILABLE(macos(10.6));
461 | - (void)toggleAutomaticTextReplacement:(nullable id)sender API_AVAILABLE(macos(10.6));
462 | @property (getter=isAutomaticSpellingCorrectionEnabled) BOOL automaticSpellingCorrectionEnabled API_AVAILABLE(macos(10.6));
| `- note: mutation of this property is only permitted within the actor
463 | - (void)toggleAutomaticSpellingCorrection:(nullable id)sender API_AVAILABLE(macos(10.6));
464 |
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:72:14: warning: main actor-isolated property 'textContainerInset' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
70 | #if os(macOS)
71 | textView.isAutomaticSpellingCorrectionEnabled = false
72 | textView.textContainerInset = .zero
| `- warning: main actor-isolated property 'textContainerInset' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
73 | #endif
74 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:103:18: note: mutation of this property is only permitted within the actor
101 |
102 | // The textContainerInset determines the padding that the view provides around the container. The container's origin will be inset by this amount from the bounds point {0,0} and padding will be left to the right and below the container of the same amount. This inset affects the view sizing in response to new layout and is used by the rectangular text containers when they track the view's frame dimensions.
103 | @property NSSize textContainerInset;
| `- note: mutation of this property is only permitted within the actor
104 |
105 | // The container's origin in the view is determined from the current usage of the container, the container inset, and the view size. textContainerOrigin returns this point.
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TimingView.swift:199:13: warning: let 'mockSections' is not concurrency-safe because non-'Sendable' type '[TimingRowSectionViewModel]' may have shared mutable state; this is an error in the Swift 6 language mode
150 | }
151 |
152 | package final class TimingRowSectionViewModel: Identifiable {
| `- note: class 'TimingRowSectionViewModel' does not conform to the 'Sendable' protocol
153 | package let title: String
154 | package let items: [TimingRowViewModel]
:
197 | }
198 |
199 | private let mockSections = [
| |- warning: let 'mockSections' is not concurrency-safe because non-'Sendable' type '[TimingRowSectionViewModel]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'mockSections' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
200 | TimingRowSectionViewModel(title: "Response", items: [
201 | TimingRowViewModel(title: "Scheduling", value: "0.01ms", color: .systemBlue, start: 0.0, length: 0.001),
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:130:39: warning: sending 'output' risks causing data races; this is an error in the Swift 6 language mode
128 | }
129 | }
130 | return try await ShareService.share(entities, store: store, as: output)
| |- warning: sending 'output' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'output' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:127:30: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
125 |
126 | let result = Result(catching: { try store.backgroundContext.fetch(request) })
127 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: main actor-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later main actor-isolated uses
128 | }
129 | }
[164/167] Compiling PulseUI SpinnerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:130:39: warning: non-sendable result type 'ShareItems' cannot be sent from nonisolated context in call to static method 'share(_:store:as:)'; this is an error in the Swift 6 language mode
128 | }
129 | }
130 | return try await ShareService.share(entities, store: store, as: output)
| `- warning: non-sendable result type 'ShareItems' cannot be sent from nonisolated context in call to static method 'share(_:store:as:)'; this is an error in the Swift 6 language mode
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Helpers/ShareItems.swift:31:16: note: consider making struct 'ShareItems' conform to the 'Sendable' protocol
29 | }
30 |
31 | package struct ShareItems: Identifiable {
| `- note: consider making struct 'ShareItems' conform to the 'Sendable' protocol
32 | package let id = UUID()
33 | package let items: [Any]
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareView.swift:69:45: warning: 'sharingServices(forItems:)' was deprecated in macOS 13.0: Use -[NSSharingServicePicker standardShareMenuItem] instead.
67 | package var body: some View {
68 | VStack(alignment: .leading, spacing: 0) {
69 | let services = NSSharingService.sharingServices(forItems: items.items)
| `- warning: 'sharingServices(forItems:)' was deprecated in macOS 13.0: Use -[NSSharingServicePicker standardShareMenuItem] instead.
70 | ForEach(services, id: \.title) { service in
71 | Item(item: service) {
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:56:14: warning: main actor-isolated property 'isSelectable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
| `- warning: main actor-isolated property 'isSelectable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | textView.backgroundColor = .clear
58 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:415:38: note: mutation of this property is only permitted within the actor
413 | @property (nullable, weak) id<NSTextViewDelegate> delegate;
414 | @property (getter=isEditable) BOOL editable;
415 | @property (getter=isSelectable) BOOL selectable;
| `- note: mutation of this property is only permitted within the actor
416 | @property (getter=isRichText) BOOL richText;
417 | @property BOOL importsGraphics;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:57:14: warning: main actor-isolated property 'backgroundColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
| `- warning: main actor-isolated property 'backgroundColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
58 |
59 | #if os(iOS) || os(macOS) || os(visionOS)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:419:27: note: mutation of this property is only permitted within the actor
417 | @property BOOL importsGraphics;
418 | @property BOOL drawsBackground;
419 | @property (copy) NSColor *backgroundColor;
| `- note: mutation of this property is only permitted within the actor
420 | @property (getter=isFieldEditor) BOOL fieldEditor;
421 | @property BOOL usesFontPanel;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:60:14: warning: main actor-isolated property 'isEditable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
58 |
59 | #if os(iOS) || os(macOS) || os(visionOS)
60 | textView.isEditable = false
| `- warning: main actor-isolated property 'isEditable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 | textView.isAutomaticLinkDetectionEnabled = false
62 | #endif
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:414:36: note: mutation of this property is only permitted within the actor
412 |
413 | @property (nullable, weak) id<NSTextViewDelegate> delegate;
414 | @property (getter=isEditable) BOOL editable;
| `- note: mutation of this property is only permitted within the actor
415 | @property (getter=isSelectable) BOOL selectable;
416 | @property (getter=isRichText) BOOL richText;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:61:14: warning: main actor-isolated property 'isAutomaticLinkDetectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
59 | #if os(iOS) || os(macOS) || os(visionOS)
60 | textView.isEditable = false
61 | textView.isAutomaticLinkDetectionEnabled = false
| `- warning: main actor-isolated property 'isAutomaticLinkDetectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
62 | #endif
63 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:453:57: note: mutation of this property is only permitted within the actor
451 | @property (getter=isAutomaticQuoteSubstitutionEnabled) BOOL automaticQuoteSubstitutionEnabled API_AVAILABLE(macos(10.5));
452 | - (void)toggleAutomaticQuoteSubstitution:(nullable id)sender API_AVAILABLE(macos(10.5));
453 | @property (getter=isAutomaticLinkDetectionEnabled) BOOL automaticLinkDetectionEnabled API_AVAILABLE(macos(10.5));
| `- note: mutation of this property is only permitted within the actor
454 | - (void)toggleAutomaticLinkDetection:(nullable id)sender API_AVAILABLE(macos(10.5));
455 |
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:71:14: warning: main actor-isolated property 'isAutomaticSpellingCorrectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
69 |
70 | #if os(macOS)
71 | textView.isAutomaticSpellingCorrectionEnabled = false
| `- warning: main actor-isolated property 'isAutomaticSpellingCorrectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
72 | textView.textContainerInset = .zero
73 | #endif
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:462:62: note: mutation of this property is only permitted within the actor
460 | @property (getter=isAutomaticTextReplacementEnabled) BOOL automaticTextReplacementEnabled API_AVAILABLE(macos(10.6));
461 | - (void)toggleAutomaticTextReplacement:(nullable id)sender API_AVAILABLE(macos(10.6));
462 | @property (getter=isAutomaticSpellingCorrectionEnabled) BOOL automaticSpellingCorrectionEnabled API_AVAILABLE(macos(10.6));
| `- note: mutation of this property is only permitted within the actor
463 | - (void)toggleAutomaticSpellingCorrection:(nullable id)sender API_AVAILABLE(macos(10.6));
464 |
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:72:14: warning: main actor-isolated property 'textContainerInset' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
70 | #if os(macOS)
71 | textView.isAutomaticSpellingCorrectionEnabled = false
72 | textView.textContainerInset = .zero
| `- warning: main actor-isolated property 'textContainerInset' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
73 | #endif
74 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:103:18: note: mutation of this property is only permitted within the actor
101 |
102 | // The textContainerInset determines the padding that the view provides around the container. The container's origin will be inset by this amount from the bounds point {0,0} and padding will be left to the right and below the container of the same amount. This inset affects the view sizing in response to new layout and is used by the rectangular text containers when they track the view's frame dimensions.
103 | @property NSSize textContainerInset;
| `- note: mutation of this property is only permitted within the actor
104 |
105 | // The container's origin in the view is determined from the current usage of the container, the container inset, and the view size. textContainerOrigin returns this point.
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TimingView.swift:199:13: warning: let 'mockSections' is not concurrency-safe because non-'Sendable' type '[TimingRowSectionViewModel]' may have shared mutable state; this is an error in the Swift 6 language mode
150 | }
151 |
152 | package final class TimingRowSectionViewModel: Identifiable {
| `- note: class 'TimingRowSectionViewModel' does not conform to the 'Sendable' protocol
153 | package let title: String
154 | package let items: [TimingRowViewModel]
:
197 | }
198 |
199 | private let mockSections = [
| |- warning: let 'mockSections' is not concurrency-safe because non-'Sendable' type '[TimingRowSectionViewModel]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'mockSections' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
200 | TimingRowSectionViewModel(title: "Response", items: [
201 | TimingRowViewModel(title: "Scheduling", value: "0.01ms", color: .systemBlue, start: 0.0, length: 0.001),
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:130:39: warning: sending 'output' risks causing data races; this is an error in the Swift 6 language mode
128 | }
129 | }
130 | return try await ShareService.share(entities, store: store, as: output)
| |- warning: sending 'output' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'output' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:127:30: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
125 |
126 | let result = Result(catching: { try store.backgroundContext.fetch(request) })
127 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: main actor-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later main actor-isolated uses
128 | }
129 | }
[165/167] Compiling PulseUI TextView.swift
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:130:39: warning: non-sendable result type 'ShareItems' cannot be sent from nonisolated context in call to static method 'share(_:store:as:)'; this is an error in the Swift 6 language mode
128 | }
129 | }
130 | return try await ShareService.share(entities, store: store, as: output)
| `- warning: non-sendable result type 'ShareItems' cannot be sent from nonisolated context in call to static method 'share(_:store:as:)'; this is an error in the Swift 6 language mode
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Helpers/ShareItems.swift:31:16: note: consider making struct 'ShareItems' conform to the 'Sendable' protocol
29 | }
30 |
31 | package struct ShareItems: Identifiable {
| `- note: consider making struct 'ShareItems' conform to the 'Sendable' protocol
32 | package let id = UUID()
33 | package let items: [Any]
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareView.swift:69:45: warning: 'sharingServices(forItems:)' was deprecated in macOS 13.0: Use -[NSSharingServicePicker standardShareMenuItem] instead.
67 | package var body: some View {
68 | VStack(alignment: .leading, spacing: 0) {
69 | let services = NSSharingService.sharingServices(forItems: items.items)
| `- warning: 'sharingServices(forItems:)' was deprecated in macOS 13.0: Use -[NSSharingServicePicker standardShareMenuItem] instead.
70 | ForEach(services, id: \.title) { service in
71 | Item(item: service) {
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:56:14: warning: main actor-isolated property 'isSelectable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
| `- warning: main actor-isolated property 'isSelectable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | textView.backgroundColor = .clear
58 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:415:38: note: mutation of this property is only permitted within the actor
413 | @property (nullable, weak) id<NSTextViewDelegate> delegate;
414 | @property (getter=isEditable) BOOL editable;
415 | @property (getter=isSelectable) BOOL selectable;
| `- note: mutation of this property is only permitted within the actor
416 | @property (getter=isRichText) BOOL richText;
417 | @property BOOL importsGraphics;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:57:14: warning: main actor-isolated property 'backgroundColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
| `- warning: main actor-isolated property 'backgroundColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
58 |
59 | #if os(iOS) || os(macOS) || os(visionOS)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:419:27: note: mutation of this property is only permitted within the actor
417 | @property BOOL importsGraphics;
418 | @property BOOL drawsBackground;
419 | @property (copy) NSColor *backgroundColor;
| `- note: mutation of this property is only permitted within the actor
420 | @property (getter=isFieldEditor) BOOL fieldEditor;
421 | @property BOOL usesFontPanel;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:60:14: warning: main actor-isolated property 'isEditable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
58 |
59 | #if os(iOS) || os(macOS) || os(visionOS)
60 | textView.isEditable = false
| `- warning: main actor-isolated property 'isEditable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 | textView.isAutomaticLinkDetectionEnabled = false
62 | #endif
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:414:36: note: mutation of this property is only permitted within the actor
412 |
413 | @property (nullable, weak) id<NSTextViewDelegate> delegate;
414 | @property (getter=isEditable) BOOL editable;
| `- note: mutation of this property is only permitted within the actor
415 | @property (getter=isSelectable) BOOL selectable;
416 | @property (getter=isRichText) BOOL richText;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:61:14: warning: main actor-isolated property 'isAutomaticLinkDetectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
59 | #if os(iOS) || os(macOS) || os(visionOS)
60 | textView.isEditable = false
61 | textView.isAutomaticLinkDetectionEnabled = false
| `- warning: main actor-isolated property 'isAutomaticLinkDetectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
62 | #endif
63 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:453:57: note: mutation of this property is only permitted within the actor
451 | @property (getter=isAutomaticQuoteSubstitutionEnabled) BOOL automaticQuoteSubstitutionEnabled API_AVAILABLE(macos(10.5));
452 | - (void)toggleAutomaticQuoteSubstitution:(nullable id)sender API_AVAILABLE(macos(10.5));
453 | @property (getter=isAutomaticLinkDetectionEnabled) BOOL automaticLinkDetectionEnabled API_AVAILABLE(macos(10.5));
| `- note: mutation of this property is only permitted within the actor
454 | - (void)toggleAutomaticLinkDetection:(nullable id)sender API_AVAILABLE(macos(10.5));
455 |
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:71:14: warning: main actor-isolated property 'isAutomaticSpellingCorrectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
69 |
70 | #if os(macOS)
71 | textView.isAutomaticSpellingCorrectionEnabled = false
| `- warning: main actor-isolated property 'isAutomaticSpellingCorrectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
72 | textView.textContainerInset = .zero
73 | #endif
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:462:62: note: mutation of this property is only permitted within the actor
460 | @property (getter=isAutomaticTextReplacementEnabled) BOOL automaticTextReplacementEnabled API_AVAILABLE(macos(10.6));
461 | - (void)toggleAutomaticTextReplacement:(nullable id)sender API_AVAILABLE(macos(10.6));
462 | @property (getter=isAutomaticSpellingCorrectionEnabled) BOOL automaticSpellingCorrectionEnabled API_AVAILABLE(macos(10.6));
| `- note: mutation of this property is only permitted within the actor
463 | - (void)toggleAutomaticSpellingCorrection:(nullable id)sender API_AVAILABLE(macos(10.6));
464 |
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:72:14: warning: main actor-isolated property 'textContainerInset' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
70 | #if os(macOS)
71 | textView.isAutomaticSpellingCorrectionEnabled = false
72 | textView.textContainerInset = .zero
| `- warning: main actor-isolated property 'textContainerInset' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
73 | #endif
74 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:103:18: note: mutation of this property is only permitted within the actor
101 |
102 | // The textContainerInset determines the padding that the view provides around the container. The container's origin will be inset by this amount from the bounds point {0,0} and padding will be left to the right and below the container of the same amount. This inset affects the view sizing in response to new layout and is used by the rectangular text containers when they track the view's frame dimensions.
103 | @property NSSize textContainerInset;
| `- note: mutation of this property is only permitted within the actor
104 |
105 | // The container's origin in the view is determined from the current usage of the container, the container inset, and the view size. textContainerOrigin returns this point.
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TimingView.swift:199:13: warning: let 'mockSections' is not concurrency-safe because non-'Sendable' type '[TimingRowSectionViewModel]' may have shared mutable state; this is an error in the Swift 6 language mode
150 | }
151 |
152 | package final class TimingRowSectionViewModel: Identifiable {
| `- note: class 'TimingRowSectionViewModel' does not conform to the 'Sendable' protocol
153 | package let title: String
154 | package let items: [TimingRowViewModel]
:
197 | }
198 |
199 | private let mockSections = [
| |- warning: let 'mockSections' is not concurrency-safe because non-'Sendable' type '[TimingRowSectionViewModel]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'mockSections' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
200 | TimingRowSectionViewModel(title: "Response", items: [
201 | TimingRowViewModel(title: "Scheduling", value: "0.01ms", color: .systemBlue, start: 0.0, length: 0.001),
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:130:39: warning: sending 'output' risks causing data races; this is an error in the Swift 6 language mode
128 | }
129 | }
130 | return try await ShareService.share(entities, store: store, as: output)
| |- warning: sending 'output' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'output' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:127:30: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
125 |
126 | let result = Result(catching: { try store.backgroundContext.fetch(request) })
127 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: main actor-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later main actor-isolated uses
128 | }
129 | }
[166/167] Compiling PulseUI TimingView.swift
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:130:39: warning: non-sendable result type 'ShareItems' cannot be sent from nonisolated context in call to static method 'share(_:store:as:)'; this is an error in the Swift 6 language mode
128 | }
129 | }
130 | return try await ShareService.share(entities, store: store, as: output)
| `- warning: non-sendable result type 'ShareItems' cannot be sent from nonisolated context in call to static method 'share(_:store:as:)'; this is an error in the Swift 6 language mode
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Helpers/ShareItems.swift:31:16: note: consider making struct 'ShareItems' conform to the 'Sendable' protocol
29 | }
30 |
31 | package struct ShareItems: Identifiable {
| `- note: consider making struct 'ShareItems' conform to the 'Sendable' protocol
32 | package let id = UUID()
33 | package let items: [Any]
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareView.swift:69:45: warning: 'sharingServices(forItems:)' was deprecated in macOS 13.0: Use -[NSSharingServicePicker standardShareMenuItem] instead.
67 | package var body: some View {
68 | VStack(alignment: .leading, spacing: 0) {
69 | let services = NSSharingService.sharingServices(forItems: items.items)
| `- warning: 'sharingServices(forItems:)' was deprecated in macOS 13.0: Use -[NSSharingServicePicker standardShareMenuItem] instead.
70 | ForEach(services, id: \.title) { service in
71 | Item(item: service) {
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:56:14: warning: main actor-isolated property 'isSelectable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
| `- warning: main actor-isolated property 'isSelectable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | textView.backgroundColor = .clear
58 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:415:38: note: mutation of this property is only permitted within the actor
413 | @property (nullable, weak) id<NSTextViewDelegate> delegate;
414 | @property (getter=isEditable) BOOL editable;
415 | @property (getter=isSelectable) BOOL selectable;
| `- note: mutation of this property is only permitted within the actor
416 | @property (getter=isRichText) BOOL richText;
417 | @property BOOL importsGraphics;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:57:14: warning: main actor-isolated property 'backgroundColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
| `- warning: main actor-isolated property 'backgroundColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
58 |
59 | #if os(iOS) || os(macOS) || os(visionOS)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:419:27: note: mutation of this property is only permitted within the actor
417 | @property BOOL importsGraphics;
418 | @property BOOL drawsBackground;
419 | @property (copy) NSColor *backgroundColor;
| `- note: mutation of this property is only permitted within the actor
420 | @property (getter=isFieldEditor) BOOL fieldEditor;
421 | @property BOOL usesFontPanel;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:60:14: warning: main actor-isolated property 'isEditable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
58 |
59 | #if os(iOS) || os(macOS) || os(visionOS)
60 | textView.isEditable = false
| `- warning: main actor-isolated property 'isEditable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 | textView.isAutomaticLinkDetectionEnabled = false
62 | #endif
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:414:36: note: mutation of this property is only permitted within the actor
412 |
413 | @property (nullable, weak) id<NSTextViewDelegate> delegate;
414 | @property (getter=isEditable) BOOL editable;
| `- note: mutation of this property is only permitted within the actor
415 | @property (getter=isSelectable) BOOL selectable;
416 | @property (getter=isRichText) BOOL richText;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:61:14: warning: main actor-isolated property 'isAutomaticLinkDetectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
59 | #if os(iOS) || os(macOS) || os(visionOS)
60 | textView.isEditable = false
61 | textView.isAutomaticLinkDetectionEnabled = false
| `- warning: main actor-isolated property 'isAutomaticLinkDetectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
62 | #endif
63 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:453:57: note: mutation of this property is only permitted within the actor
451 | @property (getter=isAutomaticQuoteSubstitutionEnabled) BOOL automaticQuoteSubstitutionEnabled API_AVAILABLE(macos(10.5));
452 | - (void)toggleAutomaticQuoteSubstitution:(nullable id)sender API_AVAILABLE(macos(10.5));
453 | @property (getter=isAutomaticLinkDetectionEnabled) BOOL automaticLinkDetectionEnabled API_AVAILABLE(macos(10.5));
| `- note: mutation of this property is only permitted within the actor
454 | - (void)toggleAutomaticLinkDetection:(nullable id)sender API_AVAILABLE(macos(10.5));
455 |
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:71:14: warning: main actor-isolated property 'isAutomaticSpellingCorrectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
69 |
70 | #if os(macOS)
71 | textView.isAutomaticSpellingCorrectionEnabled = false
| `- warning: main actor-isolated property 'isAutomaticSpellingCorrectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
72 | textView.textContainerInset = .zero
73 | #endif
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:462:62: note: mutation of this property is only permitted within the actor
460 | @property (getter=isAutomaticTextReplacementEnabled) BOOL automaticTextReplacementEnabled API_AVAILABLE(macos(10.6));
461 | - (void)toggleAutomaticTextReplacement:(nullable id)sender API_AVAILABLE(macos(10.6));
462 | @property (getter=isAutomaticSpellingCorrectionEnabled) BOOL automaticSpellingCorrectionEnabled API_AVAILABLE(macos(10.6));
| `- note: mutation of this property is only permitted within the actor
463 | - (void)toggleAutomaticSpellingCorrection:(nullable id)sender API_AVAILABLE(macos(10.6));
464 |
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:72:14: warning: main actor-isolated property 'textContainerInset' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
70 | #if os(macOS)
71 | textView.isAutomaticSpellingCorrectionEnabled = false
72 | textView.textContainerInset = .zero
| `- warning: main actor-isolated property 'textContainerInset' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
73 | #endif
74 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:103:18: note: mutation of this property is only permitted within the actor
101 |
102 | // The textContainerInset determines the padding that the view provides around the container. The container's origin will be inset by this amount from the bounds point {0,0} and padding will be left to the right and below the container of the same amount. This inset affects the view sizing in response to new layout and is used by the rectangular text containers when they track the view's frame dimensions.
103 | @property NSSize textContainerInset;
| `- note: mutation of this property is only permitted within the actor
104 |
105 | // The container's origin in the view is determined from the current usage of the container, the container inset, and the view size. textContainerOrigin returns this point.
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TimingView.swift:199:13: warning: let 'mockSections' is not concurrency-safe because non-'Sendable' type '[TimingRowSectionViewModel]' may have shared mutable state; this is an error in the Swift 6 language mode
150 | }
151 |
152 | package final class TimingRowSectionViewModel: Identifiable {
| `- note: class 'TimingRowSectionViewModel' does not conform to the 'Sendable' protocol
153 | package let title: String
154 | package let items: [TimingRowViewModel]
:
197 | }
198 |
199 | private let mockSections = [
| |- warning: let 'mockSections' is not concurrency-safe because non-'Sendable' type '[TimingRowSectionViewModel]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'mockSections' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
200 | TimingRowSectionViewModel(title: "Response", items: [
201 | TimingRowViewModel(title: "Scheduling", value: "0.01ms", color: .systemBlue, start: 0.0, length: 0.001),
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:130:39: warning: sending 'output' risks causing data races; this is an error in the Swift 6 language mode
128 | }
129 | }
130 | return try await ShareService.share(entities, store: store, as: output)
| |- warning: sending 'output' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'output' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:127:30: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
125 |
126 | let result = Result(catching: { try store.backgroundContext.fetch(request) })
127 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: main actor-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later main actor-isolated uses
128 | }
129 | }
[167/167] Compiling PulseUI WebView.swift
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:130:39: warning: non-sendable result type 'ShareItems' cannot be sent from nonisolated context in call to static method 'share(_:store:as:)'; this is an error in the Swift 6 language mode
128 | }
129 | }
130 | return try await ShareService.share(entities, store: store, as: output)
| `- warning: non-sendable result type 'ShareItems' cannot be sent from nonisolated context in call to static method 'share(_:store:as:)'; this is an error in the Swift 6 language mode
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Helpers/ShareItems.swift:31:16: note: consider making struct 'ShareItems' conform to the 'Sendable' protocol
29 | }
30 |
31 | package struct ShareItems: Identifiable {
| `- note: consider making struct 'ShareItems' conform to the 'Sendable' protocol
32 | package let id = UUID()
33 | package let items: [Any]
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareView.swift:69:45: warning: 'sharingServices(forItems:)' was deprecated in macOS 13.0: Use -[NSSharingServicePicker standardShareMenuItem] instead.
67 | package var body: some View {
68 | VStack(alignment: .leading, spacing: 0) {
69 | let services = NSSharingService.sharingServices(forItems: items.items)
| `- warning: 'sharingServices(forItems:)' was deprecated in macOS 13.0: Use -[NSSharingServicePicker standardShareMenuItem] instead.
70 | ForEach(services, id: \.title) { service in
71 | Item(item: service) {
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:56:14: warning: main actor-isolated property 'isSelectable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
| `- warning: main actor-isolated property 'isSelectable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | textView.backgroundColor = .clear
58 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:415:38: note: mutation of this property is only permitted within the actor
413 | @property (nullable, weak) id<NSTextViewDelegate> delegate;
414 | @property (getter=isEditable) BOOL editable;
415 | @property (getter=isSelectable) BOOL selectable;
| `- note: mutation of this property is only permitted within the actor
416 | @property (getter=isRichText) BOOL richText;
417 | @property BOOL importsGraphics;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:57:14: warning: main actor-isolated property 'backgroundColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
| `- warning: main actor-isolated property 'backgroundColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
58 |
59 | #if os(iOS) || os(macOS) || os(visionOS)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:419:27: note: mutation of this property is only permitted within the actor
417 | @property BOOL importsGraphics;
418 | @property BOOL drawsBackground;
419 | @property (copy) NSColor *backgroundColor;
| `- note: mutation of this property is only permitted within the actor
420 | @property (getter=isFieldEditor) BOOL fieldEditor;
421 | @property BOOL usesFontPanel;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:60:14: warning: main actor-isolated property 'isEditable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
58 |
59 | #if os(iOS) || os(macOS) || os(visionOS)
60 | textView.isEditable = false
| `- warning: main actor-isolated property 'isEditable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 | textView.isAutomaticLinkDetectionEnabled = false
62 | #endif
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:414:36: note: mutation of this property is only permitted within the actor
412 |
413 | @property (nullable, weak) id<NSTextViewDelegate> delegate;
414 | @property (getter=isEditable) BOOL editable;
| `- note: mutation of this property is only permitted within the actor
415 | @property (getter=isSelectable) BOOL selectable;
416 | @property (getter=isRichText) BOOL richText;
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:61:14: warning: main actor-isolated property 'isAutomaticLinkDetectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
59 | #if os(iOS) || os(macOS) || os(visionOS)
60 | textView.isEditable = false
61 | textView.isAutomaticLinkDetectionEnabled = false
| `- warning: main actor-isolated property 'isAutomaticLinkDetectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
62 | #endif
63 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:453:57: note: mutation of this property is only permitted within the actor
451 | @property (getter=isAutomaticQuoteSubstitutionEnabled) BOOL automaticQuoteSubstitutionEnabled API_AVAILABLE(macos(10.5));
452 | - (void)toggleAutomaticQuoteSubstitution:(nullable id)sender API_AVAILABLE(macos(10.5));
453 | @property (getter=isAutomaticLinkDetectionEnabled) BOOL automaticLinkDetectionEnabled API_AVAILABLE(macos(10.5));
| `- note: mutation of this property is only permitted within the actor
454 | - (void)toggleAutomaticLinkDetection:(nullable id)sender API_AVAILABLE(macos(10.5));
455 |
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:71:14: warning: main actor-isolated property 'isAutomaticSpellingCorrectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
69 |
70 | #if os(macOS)
71 | textView.isAutomaticSpellingCorrectionEnabled = false
| `- warning: main actor-isolated property 'isAutomaticSpellingCorrectionEnabled' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
72 | textView.textContainerInset = .zero
73 | #endif
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:462:62: note: mutation of this property is only permitted within the actor
460 | @property (getter=isAutomaticTextReplacementEnabled) BOOL automaticTextReplacementEnabled API_AVAILABLE(macos(10.6));
461 | - (void)toggleAutomaticTextReplacement:(nullable id)sender API_AVAILABLE(macos(10.6));
462 | @property (getter=isAutomaticSpellingCorrectionEnabled) BOOL automaticSpellingCorrectionEnabled API_AVAILABLE(macos(10.6));
| `- note: mutation of this property is only permitted within the actor
463 | - (void)toggleAutomaticSpellingCorrection:(nullable id)sender API_AVAILABLE(macos(10.6));
464 |
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TextView.swift:72:14: warning: main actor-isolated property 'textContainerInset' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | #if os(iOS) || os(macOS) || os(tvOS) || os(visionOS)
55 | private func configureTextView(_ textView: UXTextView) {
| `- note: add '@MainActor' to make global function 'configureTextView' part of global actor 'MainActor'
56 | textView.isSelectable = true
57 | textView.backgroundColor = .clear
:
70 | #if os(macOS)
71 | textView.isAutomaticSpellingCorrectionEnabled = false
72 | textView.textContainerInset = .zero
| `- warning: main actor-isolated property 'textContainerInset' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
73 | #endif
74 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:103:18: note: mutation of this property is only permitted within the actor
101 |
102 | // The textContainerInset determines the padding that the view provides around the container. The container's origin will be inset by this amount from the bounds point {0,0} and padding will be left to the right and below the container of the same amount. This inset affects the view sizing in response to new layout and is used by the rectangular text containers when they track the view's frame dimensions.
103 | @property NSSize textContainerInset;
| `- note: mutation of this property is only permitted within the actor
104 |
105 | // The container's origin in the view is determined from the current usage of the container, the container inset, and the view size. textContainerOrigin returns this point.
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/TimingView.swift:199:13: warning: let 'mockSections' is not concurrency-safe because non-'Sendable' type '[TimingRowSectionViewModel]' may have shared mutable state; this is an error in the Swift 6 language mode
150 | }
151 |
152 | package final class TimingRowSectionViewModel: Identifiable {
| `- note: class 'TimingRowSectionViewModel' does not conform to the 'Sendable' protocol
153 | package let title: String
154 | package let items: [TimingRowViewModel]
:
197 | }
198 |
199 | private let mockSections = [
| |- warning: let 'mockSections' is not concurrency-safe because non-'Sendable' type '[TimingRowSectionViewModel]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'mockSections' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
200 | TimingRowSectionViewModel(title: "Response", items: [
201 | TimingRowViewModel(title: "Scheduling", value: "0.01ms", color: .systemBlue, start: 0.0, length: 0.001),
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:130:39: warning: sending 'output' risks causing data races; this is an error in the Swift 6 language mode
128 | }
129 | }
130 | return try await ShareService.share(entities, store: store, as: output)
| |- warning: sending 'output' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'output' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/Views/ShareStoreViewModel.swift:127:30: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
125 |
126 | let result = Result(catching: { try store.backgroundContext.fetch(request) })
127 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: main actor-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later main actor-isolated uses
128 | }
129 | }
Build complete! (14.18s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/Pulse/PrivacyInfo.xcprivacy
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/PulseUI/PrivacyInfo.xcprivacy
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Pulse",
"name" : "Pulse",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "9.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "Pulse",
"targets" : [
"Pulse"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PulseProxy",
"targets" : [
"PulseProxy"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PulseUI",
"targets" : [
"PulseUI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "PulseUI",
"module_type" : "SwiftTarget",
"name" : "PulseUI",
"path" : "Sources/PulseUI",
"product_memberships" : [
"PulseUI"
],
"sources" : [
"Extensions/Foundation+Extensions.swift",
"Extensions/NSAttributedString+Extensions.swift",
"Extensions/Pulse+Extensions.swift",
"Extensions/SwiftUI+Extensions.swift",
"Features/Console/ConsoleDataSource.swift",
"Features/Console/ConsoleEnvironment.swift",
"Features/Console/ConsoleView-ios.swift",
"Features/Console/ConsoleView-tvos.swift",
"Features/Console/ConsoleView-watchos.swift",
"Features/Console/ConsoleView.swift",
"Features/Console/List/ConsoleListContentView.swift",
"Features/Console/List/ConsoleListOptions.swift",
"Features/Console/List/ConsoleListView.swift",
"Features/Console/List/ConsoleListViewModel.swift",
"Features/Console/Views/ConsoleContextMenu.swift",
"Features/Console/Views/ConsoleEntityCell.swift",
"Features/Console/Views/ConsoleHelperViews.swift",
"Features/Console/Views/ConsoleListDisplaySettings.swift",
"Features/Console/Views/ConsoleMessageCell.swift",
"Features/Console/Views/ConsoleRouterView.swift",
"Features/Console/Views/ConsoleTaskCell.swift",
"Features/Console/Views/ConsoleToolbarView.swift",
"Features/FileViewer/FileViewer.swift",
"Features/FileViewer/FileViewerViewModel.swift",
"Features/FileViewer/RichTextView/RichTextView-tvos.swift",
"Features/FileViewer/RichTextView/RichTextView-watchos.swift",
"Features/FileViewer/RichTextView/RichTextView.swift",
"Features/FileViewer/RichTextView/RichTextViewModel.swift",
"Features/FileViewer/RichTextView/RichTextViewSearchToobar-ios.swift",
"Features/FileViewer/RichTextView/WrappedTextView.swift",
"Features/Filters/Cells/ConsoleSearchLogLevelsCell.swift",
"Features/Filters/Cells/ConsoleSearchTimePeriodCell.swift",
"Features/Filters/Cells/ConsoleSearchToggleCell.swift",
"Features/Filters/ConsoleFilterViewModel.swift",
"Features/Filters/ConsoleFiltersView.swift",
"Features/Filters/Filters/ConsoleFilters.swift",
"Features/Filters/Filters/ConsoleSearchCriteria+Predicates.swift",
"Features/Filters/Views/ConsoleDomainsSelectionView.swift",
"Features/Filters/Views/ConsoleLabelsSelectionView.swift",
"Features/Filters/Views/ConsoleSearchListSelectionView.swift",
"Features/Filters/Views/ConsoleSearchSectionHeader.swift",
"Features/Filters/Views/ConsoleSection.swift",
"Features/Filters/Views/ConsoleSessionsPickerView.swift",
"Features/Inspector/Cells/NetworkCURLCell.swift",
"Features/Inspector/Cells/NetworkCookiesCell.swift",
"Features/Inspector/Cells/NetworkHeadersCell.swift",
"Features/Inspector/Cells/NetworkMenuCell.swift",
"Features/Inspector/Cells/NetworkMetricsCell.swift",
"Features/Inspector/Cells/NetworkRequestBodyCell.swift",
"Features/Inspector/Cells/NetworkRequestInfoCell.swift",
"Features/Inspector/Cells/NetworkRequestStatusCell.swift",
"Features/Inspector/Cells/NetworkRequestStatusSectionView.swift",
"Features/Inspector/Cells/NetworkResponseBodyCell.swift",
"Features/Inspector/NetworkDetailsView.swift",
"Features/Inspector/NetworkInspectorRequestBodyView.swift",
"Features/Inspector/NetworkInspectorResponseBodyView.swift",
"Features/Inspector/NetworkInspectorView-shared.swift",
"Features/Inspector/NetworkInspectorView-tvos.swift",
"Features/Inspector/NetworkInspectorView-watchos.swift",
"Features/Inspector/NetworkInspectorView.swift",
"Features/MessageDetails/ConsoleMessageDetailsView.swift",
"Features/MessageDetails/ConsoleMessageMetadataView.swift",
"Features/Remote/RemoteLoggerEnterPasswordView.swift",
"Features/Remote/RemoteLoggerErrorView.swift",
"Features/Remote/RemoteLoggerSelectedDeviceView.swift",
"Features/Remote/RemoteLoggerSettingsView.swift",
"Features/Remote/RemoteLoggerSettingsViewModel.swift",
"Features/Search/ConsoleSearchListContentView.swift",
"Features/Search/ConsoleSearchViewModel.swift",
"Features/Search/Services/ConsoleSearchOccurrence.swift",
"Features/Search/Services/ConsoleSearchOperation.swift",
"Features/Search/Services/ConsoleSearchRecentSearchesStore.swift",
"Features/Search/Services/ConsoleSearchScope.swift",
"Features/Search/Services/ConsoleSearchTerm.swift",
"Features/Search/Views/ConsoleSearchContextMenu.swift",
"Features/Search/Views/ConsoleSearchResultsSectionView.swift",
"Features/Search/Views/ConsoleSearchSuggestionView.swift",
"Features/Search/Views/ConsoleSearchSuggestionsView.swift",
"Features/Search/Views/ConsoleSearchToolbar.swift",
"Features/Sessions/SessionListView.swift",
"Features/Sessions/SessionPickerView.swift",
"Features/Sessions/SessionsView.swift",
"Features/Settings/SettingsView-ios.swift",
"Features/Settings/SettingsView-macos.swift",
"Features/Settings/SettingsView-tvos.swift",
"Features/Settings/SettingsView-watchos.swift",
"Features/Settings/StoreDetailsView.swift",
"Helpers/DecodingErrorsPreviews.swift",
"Helpers/FileViewModelContext.swift",
"Helpers/Formatters.swift",
"Helpers/HARDocument.swift",
"Helpers/LoggerStoreIndex.swift",
"Helpers/ManagedObjectsCountObserver.swift",
"Helpers/ManagedObjectsObserver.swift",
"Helpers/Regex.swift",
"Helpers/ShareItems.swift",
"Helpers/ShareStoreTask.swift",
"Helpers/StatusLabelViewModel.swift",
"Helpers/StringSearchOptions.swift",
"Helpers/TextHelper.swift",
"Helpers/TextRenderer.swift",
"Helpers/TextRendererHTML.swift",
"Helpers/TextRendererJSON.swift",
"Helpers/TextUtilities.swift",
"Helpers/UIKit+Extensions.swift",
"Helpers/UXKit.swift",
"Helpers/UserSettings.swift",
"Mocks/MockStore.swift",
"Mocks/MockTask.swift",
"Views/Checkbox.swift",
"Views/ContextMenus.swift",
"Views/DateRangePicker.swift",
"Views/ImageViewer.swift",
"Views/InfoRow.swift",
"Views/KeyValueSectionViewModel.swift",
"Views/LoggerStoreSizeChart.swift",
"Views/Metrics/NetworkInspectorMetricsView.swift",
"Views/Metrics/NetworkInspectorTransactionView.swift",
"Views/Metrics/NetworkInspectorTransferInfoView.swift",
"Views/Metrics/TimingViewModel+Metrics.swift",
"Views/PDFRepresentedView.swift",
"Views/PlaceholderView.swift",
"Views/PulseUI+UIKit.swift",
"Views/SectionHeaderView.swift",
"Views/ShareStoreView.swift",
"Views/ShareStoreViewModel.swift",
"Views/ShareView.swift",
"Views/SpinnerView.swift",
"Views/TextView.swift",
"Views/TimingView.swift",
"Views/WebView.swift"
],
"target_dependencies" : [
"Pulse"
],
"type" : "library"
},
{
"c99name" : "PulseProxy",
"module_type" : "SwiftTarget",
"name" : "PulseProxy",
"path" : "Sources/PulseProxy",
"product_memberships" : [
"PulseProxy"
],
"sources" : [
"URLSessionSwizzler.swift"
],
"target_dependencies" : [
"Pulse"
],
"type" : "library"
},
{
"c99name" : "Pulse",
"module_type" : "SwiftTarget",
"name" : "Pulse",
"path" : "Sources/Pulse",
"product_memberships" : [
"Pulse",
"PulseProxy",
"PulseUI"
],
"sources" : [
"Helpers/CoreData+Extensions.swift",
"Helpers/Helpers.swift",
"Helpers/ImageProcessor.swift",
"Helpers/Keychain.swift",
"Helpers/LoggerSession.swift",
"Helpers/Mutex.swift",
"Helpers/PulseDocument.swift",
"Helpers/Regex.swift",
"LoggerStore/LoggerStore+Configuration.swift",
"LoggerStore/LoggerStore+Entities.swift",
"LoggerStore/LoggerStore+Event.swift",
"LoggerStore/LoggerStore+Info.swift",
"LoggerStore/LoggerStore+Level.swift",
"LoggerStore/LoggerStore+Model.swift",
"LoggerStore/LoggerStore+Version.swift",
"LoggerStore/LoggerStore.swift",
"NetworkDebugger/MockingURLProtocol.swift",
"NetworkDebugger/NetworkDebugger.swift",
"NetworkLogger/NetworkLogger+Entities.swift",
"NetworkLogger/NetworkLogger+Redacting.swift",
"NetworkLogger/NetworkLogger.swift",
"RemoteLogger/RemoteLogger-Connection.swift",
"RemoteLogger/RemoteLogger-Protocol.swift",
"RemoteLogger/RemoteLogger.swift",
"URLSessionProxy/URLSessionProtocol.swift",
"URLSessionProxy/URLSessionProxy.swift",
"URLSessionProxy/URLSessionProxyDelegate+AutomaticRegistration.swift",
"URLSessionProxy/URLSessionProxyDelegate.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Done.