Build Information
Successful build of ConsoleDock, reference v2.0.0 (c10746), with Swift 6.1 for macOS (SPM) on 4 Oct 2026 13:31:34 UTC.
Swift 6 data race errors: 11
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 InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xuhuanstudio/ConsoleDock.git
Reference: v2.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/xuhuanstudio/ConsoleDock
* tag v2.0.0 -> FETCH_HEAD
HEAD is now at c10746e Prepare v2.0.0 with explicit concurrency migration guidance
Cloned https://github.com/xuhuanstudio/ConsoleDock.git
Revision (git rev-parse @):
c10746e675266db0bc2a4e40239d6ffe9e79b4f4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/xuhuanstudio/ConsoleDock.git at v2.0.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/xuhuanstudio/ConsoleDock.git
https://github.com/xuhuanstudio/ConsoleDock.git
{
"dependencies" : [
],
"manifest_display_name" : "ConsoleDock",
"name" : "ConsoleDock",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "ConsoleDock",
"targets" : [
"ConsoleDock"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ConsoleDockCore",
"targets" : [
"ConsoleDockCore"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ConsoleDockTests",
"module_type" : "SwiftTarget",
"name" : "ConsoleDockTests",
"path" : "Tests/ConsoleDockTests",
"sources" : [
"ConsoleDockDebugActionTests.swift",
"ConsoleDockFacadeTests.swift",
"ConsoleDockFilteringTests.swift",
"ConsoleDockIntegrationContextTests.swift",
"ConsoleDockObserverArchiveTests.swift",
"ConsoleDockReportTests.swift",
"ConsoleDockSnapshotTimelineTests.swift",
"ConsoleDockTestCase.swift"
],
"target_dependencies" : [
"ConsoleDock",
"ConsoleDockCore"
],
"type" : "test"
},
{
"c99name" : "ConsoleDockCoreTests",
"module_type" : "SwiftTarget",
"name" : "ConsoleDockCoreTests",
"path" : "Tests/ConsoleDockCoreTests",
"sources" : [
"ConsoleDockCoreTests.swift",
"ConsoleDockLineFramerUnicodeTests.swift"
],
"target_dependencies" : [
"ConsoleDockCore"
],
"type" : "test"
},
{
"c99name" : "ConsoleDockCore",
"module_type" : "ClangTarget",
"name" : "ConsoleDockCore",
"path" : "Sources/ConsoleDockCore",
"product_memberships" : [
"ConsoleDock",
"ConsoleDockCore"
],
"sources" : [
"CDKConfiguration.m",
"CDKConsoleDock.m",
"CDKDiagnostics.m",
"CDKLineEvent.m",
"CDKLineFramer.m",
"CDKLogEntry.m",
"CDKLogForwarder.m",
"CDKSessionMetadata.m",
"CDKStandardOutputCapture.m"
],
"type" : "library"
},
{
"c99name" : "ConsoleDock",
"module_type" : "SwiftTarget",
"name" : "ConsoleDock",
"path" : "Sources/ConsoleDock",
"product_memberships" : [
"ConsoleDock"
],
"sources" : [
"ConsoleDock.swift",
"ConsoleDockActionParameterFormViewController.swift",
"ConsoleDockActionsViewController.swift",
"ConsoleDockAppContextRegistry.swift",
"ConsoleDockChangeObserver.swift",
"ConsoleDockContextViewController.swift",
"ConsoleDockDebugActionFilter.swift",
"ConsoleDockDebugActionRegistry.swift",
"ConsoleDockDiagnosticsFormatter.swift",
"ConsoleDockEntryFilter.swift",
"ConsoleDockIntegrationDiagnosisFormatter.swift",
"ConsoleDockIssueReportFileExporter.swift",
"ConsoleDockIssueReportFormatter.swift",
"ConsoleDockLiveUpdateBuffer.swift",
"ConsoleDockLogDetailViewController.swift",
"ConsoleDockLogsViewController.swift",
"ConsoleDockSensitiveTextRedactor.swift",
"ConsoleDockSessionArchiveStore.swift",
"ConsoleDockSessionArchivesViewController.swift",
"ConsoleDockSnapshotFormatter.swift",
"ConsoleDockSupportReportBuilder.swift",
"ConsoleDockSupportReportComposerState.swift",
"ConsoleDockSupportReportViewController.swift",
"ConsoleDockTimelineActionDetailViewController.swift",
"ConsoleDockTimelineBuilder.swift",
"ConsoleDockTimelineViewController.swift",
"ConsoleDockUIController.swift",
"ConsoleDockUIKit.swift",
"ConsoleDockUIShared.swift"
],
"target_dependencies" : [
"ConsoleDockCore"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -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
Building for debugging...
[0/11] Write swift-version-2F0A5646E1D333AE.txt
[1/11] Write sources
[2/11] Compiling ConsoleDockCore CDKStandardOutputCapture.m
[3/11] Compiling ConsoleDockCore CDKLineFramer.m
[4/11] Compiling ConsoleDockCore CDKLineEvent.m
[5/11] Compiling ConsoleDockCore CDKConfiguration.m
[6/11] Compiling ConsoleDockCore CDKConsoleDock.m
[7/11] Compiling ConsoleDockCore CDKLogEntry.m
[8/11] Compiling ConsoleDockCore CDKSessionMetadata.m
[9/11] Compiling ConsoleDockCore CDKDiagnostics.m
[10/11] Compiling ConsoleDockCore CDKLogForwarder.m
[12/39] Emitting module ConsoleDock
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDock.swift:47:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
5 | public enum ConsoleDock {
6 | /// Runtime options for the local in-app console.
7 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
8 | /// Maximum number of entries retained in memory before oldest entries are evicted. Must be greater than zero.
9 | public var maximumEntries: Int
:
45 |
46 | /// The debug-safe default configuration.
47 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | func makeCoreConfiguration() -> CDKConfiguration {
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDock.swift:610:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
588 |
589 | /// Options for building an on-demand local support report.
590 | public struct SupportReportOptions: Equatable {
| `- note: consider making struct 'SupportReportOptions' conform to the 'Sendable' protocol
591 | public static let defaultMaximumReportCharacterCount = 256_000
592 |
:
608 | }
609 |
610 | public static let `default` = SupportReportOptions()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
611 | public static let last5Minutes = SupportReportOptions(timeRange: .last(minutes: 5))
612 | public static let last10Minutes = SupportReportOptions(timeRange: .last(minutes: 10))
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDock.swift:611:27: warning: static property 'last5Minutes' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
588 |
589 | /// Options for building an on-demand local support report.
590 | public struct SupportReportOptions: Equatable {
| `- note: consider making struct 'SupportReportOptions' conform to the 'Sendable' protocol
591 | public static let defaultMaximumReportCharacterCount = 256_000
592 |
:
609 |
610 | public static let `default` = SupportReportOptions()
611 | public static let last5Minutes = SupportReportOptions(timeRange: .last(minutes: 5))
| |- warning: static property 'last5Minutes' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'last5Minutes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
612 | public static let last10Minutes = SupportReportOptions(timeRange: .last(minutes: 10))
613 | public static let last30Minutes = SupportReportOptions(timeRange: .last(minutes: 30))
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDock.swift:612:27: warning: static property 'last10Minutes' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
588 |
589 | /// Options for building an on-demand local support report.
590 | public struct SupportReportOptions: Equatable {
| `- note: consider making struct 'SupportReportOptions' conform to the 'Sendable' protocol
591 | public static let defaultMaximumReportCharacterCount = 256_000
592 |
:
610 | public static let `default` = SupportReportOptions()
611 | public static let last5Minutes = SupportReportOptions(timeRange: .last(minutes: 5))
612 | public static let last10Minutes = SupportReportOptions(timeRange: .last(minutes: 10))
| |- warning: static property 'last10Minutes' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'last10Minutes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
613 | public static let last30Minutes = SupportReportOptions(timeRange: .last(minutes: 30))
614 | public static let last60Minutes = SupportReportOptions(timeRange: .last(minutes: 60))
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDock.swift:613:27: warning: static property 'last30Minutes' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
588 |
589 | /// Options for building an on-demand local support report.
590 | public struct SupportReportOptions: Equatable {
| `- note: consider making struct 'SupportReportOptions' conform to the 'Sendable' protocol
591 | public static let defaultMaximumReportCharacterCount = 256_000
592 |
:
611 | public static let last5Minutes = SupportReportOptions(timeRange: .last(minutes: 5))
612 | public static let last10Minutes = SupportReportOptions(timeRange: .last(minutes: 10))
613 | public static let last30Minutes = SupportReportOptions(timeRange: .last(minutes: 30))
| |- warning: static property 'last30Minutes' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'last30Minutes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
614 | public static let last60Minutes = SupportReportOptions(timeRange: .last(minutes: 60))
615 |
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDock.swift:614:27: warning: static property 'last60Minutes' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
588 |
589 | /// Options for building an on-demand local support report.
590 | public struct SupportReportOptions: Equatable {
| `- note: consider making struct 'SupportReportOptions' conform to the 'Sendable' protocol
591 | public static let defaultMaximumReportCharacterCount = 256_000
592 |
:
612 | public static let last10Minutes = SupportReportOptions(timeRange: .last(minutes: 10))
613 | public static let last30Minutes = SupportReportOptions(timeRange: .last(minutes: 30))
614 | public static let last60Minutes = SupportReportOptions(timeRange: .last(minutes: 60))
| |- warning: static property 'last60Minutes' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'last60Minutes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
615 |
616 | public static func last(
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDock.swift:694:20: warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.StartFailure' may have shared mutable state; this is an error in the Swift 6 language mode
675 |
676 | /// Error information returned when ConsoleDock fails to start.
677 | public struct StartFailure: Equatable {
| `- note: consider making struct 'StartFailure' conform to the 'Sendable' protocol
678 | public let domain: String
679 | public let code: Int
:
692 | }
693 |
694 | static let unknown = StartFailure(
| |- warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.StartFailure' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unknown' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
695 | domain: "CDKConsoleDockErrorDomain",
696 | code: -1,
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDockAppContextRegistry.swift:6:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConsoleDockAppContextRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | final class ConsoleDockAppContextRegistry {
| `- note: class 'ConsoleDockAppContextRegistry' does not conform to the 'Sendable' protocol
4 | typealias Provider = () -> [ConsoleDock.AppContextSection]
5 |
6 | static let shared = ConsoleDockAppContextRegistry()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConsoleDockAppContextRegistry' 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
7 |
8 | private let lock = NSLock()
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDockDebugActionRegistry.swift:41:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConsoleDockDebugActionRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | final class ConsoleDockDebugActionRegistry {
| `- note: class 'ConsoleDockDebugActionRegistry' does not conform to the 'Sendable' protocol
39 | typealias Handler = (ConsoleDock.DebugActionParameters) throws -> Void
40 |
41 | static let shared = ConsoleDockDebugActionRegistry()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConsoleDockDebugActionRegistry' 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
42 |
43 | private struct Record {
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDockSessionArchiveStore.swift:4:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | final class ConsoleDockSessionArchiveStore {
4 | static var shared = ConsoleDockSessionArchiveStore()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
5 |
6 | private let directoryURL: URL
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDockSnapshotFormatter.swift:59:24: warning: static property 'timestampFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
57 | }
58 |
59 | private static let timestampFormatter: ISO8601DateFormatter = {
| |- warning: static property 'timestampFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'timestampFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | let formatter = ISO8601DateFormatter()
61 | formatter.formatOptions = [.withInternetDateTime, .withFractionalSeconds]
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
44 |
45 | API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
46 | @interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
47 | @private
48 | CFDateFormatterRef _formatter;
[13/41] Compiling ConsoleDock ConsoleDockTimelineBuilder.swift
[14/41] Compiling ConsoleDock ConsoleDockTimelineViewController.swift
[15/41] Compiling ConsoleDock ConsoleDockUIController.swift
[16/41] Compiling ConsoleDock ConsoleDockSessionArchivesViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDockSnapshotFormatter.swift:59:24: warning: static property 'timestampFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
57 | }
58 |
59 | private static let timestampFormatter: ISO8601DateFormatter = {
| |- warning: static property 'timestampFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'timestampFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | let formatter = ISO8601DateFormatter()
61 | formatter.formatOptions = [.withInternetDateTime, .withFractionalSeconds]
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
44 |
45 | API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
46 | @interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
47 | @private
48 | CFDateFormatterRef _formatter;
[17/41] Compiling ConsoleDock ConsoleDockSnapshotFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDockSnapshotFormatter.swift:59:24: warning: static property 'timestampFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
57 | }
58 |
59 | private static let timestampFormatter: ISO8601DateFormatter = {
| |- warning: static property 'timestampFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'timestampFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | let formatter = ISO8601DateFormatter()
61 | formatter.formatOptions = [.withInternetDateTime, .withFractionalSeconds]
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
44 |
45 | API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
46 | @interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
47 | @private
48 | CFDateFormatterRef _formatter;
[18/41] Compiling ConsoleDock ConsoleDockSupportReportBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDockSnapshotFormatter.swift:59:24: warning: static property 'timestampFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
57 | }
58 |
59 | private static let timestampFormatter: ISO8601DateFormatter = {
| |- warning: static property 'timestampFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'timestampFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | let formatter = ISO8601DateFormatter()
61 | formatter.formatOptions = [.withInternetDateTime, .withFractionalSeconds]
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
44 |
45 | API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
46 | @interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
47 | @private
48 | CFDateFormatterRef _formatter;
[19/41] Compiling ConsoleDock ConsoleDockAppContextRegistry.swift
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDockAppContextRegistry.swift:6:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConsoleDockAppContextRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | final class ConsoleDockAppContextRegistry {
| `- note: class 'ConsoleDockAppContextRegistry' does not conform to the 'Sendable' protocol
4 | typealias Provider = () -> [ConsoleDock.AppContextSection]
5 |
6 | static let shared = ConsoleDockAppContextRegistry()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConsoleDockAppContextRegistry' 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
7 |
8 | private let lock = NSLock()
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDockChangeObserver.swift:29:17: warning: capture of 'self' with non-sendable type 'ConsoleDockChangeObserver?' in a '@Sendable' closure
2 | import Foundation
3 |
4 | final class ConsoleDockChangeObserver {
| `- note: class 'ConsoleDockChangeObserver' does not conform to the 'Sendable' protocol
5 | private let notificationCenter: NotificationCenter
6 | private let deliveryQueue: DispatchQueue
:
27 | queue: nil
28 | ) { [weak self] _ in
29 | self?.scheduleDelivery()
| `- warning: capture of 'self' with non-sendable type 'ConsoleDockChangeObserver?' in a '@Sendable' closure
30 | }
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDockChangeObserver.swift:61:13: warning: capture of 'self' with non-sendable type 'ConsoleDockChangeObserver?' in a '@Sendable' closure
2 | import Foundation
3 |
4 | final class ConsoleDockChangeObserver {
| `- note: class 'ConsoleDockChangeObserver' does not conform to the 'Sendable' protocol
5 | private let notificationCenter: NotificationCenter
6 | private let deliveryQueue: DispatchQueue
:
59 | deliveryQueue.asyncAfter(deadline: .now() + (immediately ? .milliseconds(0) : .milliseconds(50))) {
60 | [weak self] in
61 | self?.deliverChange()
| `- warning: capture of 'self' with non-sendable type 'ConsoleDockChangeObserver?' in a '@Sendable' closure
62 | }
63 | }
[20/41] Compiling ConsoleDock ConsoleDockChangeObserver.swift
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDockAppContextRegistry.swift:6:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConsoleDockAppContextRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | final class ConsoleDockAppContextRegistry {
| `- note: class 'ConsoleDockAppContextRegistry' does not conform to the 'Sendable' protocol
4 | typealias Provider = () -> [ConsoleDock.AppContextSection]
5 |
6 | static let shared = ConsoleDockAppContextRegistry()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConsoleDockAppContextRegistry' 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
7 |
8 | private let lock = NSLock()
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDockChangeObserver.swift:29:17: warning: capture of 'self' with non-sendable type 'ConsoleDockChangeObserver?' in a '@Sendable' closure
2 | import Foundation
3 |
4 | final class ConsoleDockChangeObserver {
| `- note: class 'ConsoleDockChangeObserver' does not conform to the 'Sendable' protocol
5 | private let notificationCenter: NotificationCenter
6 | private let deliveryQueue: DispatchQueue
:
27 | queue: nil
28 | ) { [weak self] _ in
29 | self?.scheduleDelivery()
| `- warning: capture of 'self' with non-sendable type 'ConsoleDockChangeObserver?' in a '@Sendable' closure
30 | }
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDockChangeObserver.swift:61:13: warning: capture of 'self' with non-sendable type 'ConsoleDockChangeObserver?' in a '@Sendable' closure
2 | import Foundation
3 |
4 | final class ConsoleDockChangeObserver {
| `- note: class 'ConsoleDockChangeObserver' does not conform to the 'Sendable' protocol
5 | private let notificationCenter: NotificationCenter
6 | private let deliveryQueue: DispatchQueue
:
59 | deliveryQueue.asyncAfter(deadline: .now() + (immediately ? .milliseconds(0) : .milliseconds(50))) {
60 | [weak self] in
61 | self?.deliverChange()
| `- warning: capture of 'self' with non-sendable type 'ConsoleDockChangeObserver?' in a '@Sendable' closure
62 | }
63 | }
[21/41] Compiling ConsoleDock ConsoleDockContextViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDockAppContextRegistry.swift:6:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConsoleDockAppContextRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | final class ConsoleDockAppContextRegistry {
| `- note: class 'ConsoleDockAppContextRegistry' does not conform to the 'Sendable' protocol
4 | typealias Provider = () -> [ConsoleDock.AppContextSection]
5 |
6 | static let shared = ConsoleDockAppContextRegistry()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConsoleDockAppContextRegistry' 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
7 |
8 | private let lock = NSLock()
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDockChangeObserver.swift:29:17: warning: capture of 'self' with non-sendable type 'ConsoleDockChangeObserver?' in a '@Sendable' closure
2 | import Foundation
3 |
4 | final class ConsoleDockChangeObserver {
| `- note: class 'ConsoleDockChangeObserver' does not conform to the 'Sendable' protocol
5 | private let notificationCenter: NotificationCenter
6 | private let deliveryQueue: DispatchQueue
:
27 | queue: nil
28 | ) { [weak self] _ in
29 | self?.scheduleDelivery()
| `- warning: capture of 'self' with non-sendable type 'ConsoleDockChangeObserver?' in a '@Sendable' closure
30 | }
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDockChangeObserver.swift:61:13: warning: capture of 'self' with non-sendable type 'ConsoleDockChangeObserver?' in a '@Sendable' closure
2 | import Foundation
3 |
4 | final class ConsoleDockChangeObserver {
| `- note: class 'ConsoleDockChangeObserver' does not conform to the 'Sendable' protocol
5 | private let notificationCenter: NotificationCenter
6 | private let deliveryQueue: DispatchQueue
:
59 | deliveryQueue.asyncAfter(deadline: .now() + (immediately ? .milliseconds(0) : .milliseconds(50))) {
60 | [weak self] in
61 | self?.deliverChange()
| `- warning: capture of 'self' with non-sendable type 'ConsoleDockChangeObserver?' in a '@Sendable' closure
62 | }
63 | }
[22/41] Compiling ConsoleDock ConsoleDockDebugActionFilter.swift
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDockDebugActionRegistry.swift:41:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConsoleDockDebugActionRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | final class ConsoleDockDebugActionRegistry {
| `- note: class 'ConsoleDockDebugActionRegistry' does not conform to the 'Sendable' protocol
39 | typealias Handler = (ConsoleDock.DebugActionParameters) throws -> Void
40 |
41 | static let shared = ConsoleDockDebugActionRegistry()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConsoleDockDebugActionRegistry' 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
42 |
43 | private struct Record {
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDockDebugActionRegistry.swift:282:47: warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
280 | run()
281 | } else {
282 | DispatchQueue.main.async(execute: run)
| `- warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
283 | }
284 | }
[23/41] Compiling ConsoleDock ConsoleDockDebugActionRegistry.swift
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDockDebugActionRegistry.swift:41:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConsoleDockDebugActionRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | final class ConsoleDockDebugActionRegistry {
| `- note: class 'ConsoleDockDebugActionRegistry' does not conform to the 'Sendable' protocol
39 | typealias Handler = (ConsoleDock.DebugActionParameters) throws -> Void
40 |
41 | static let shared = ConsoleDockDebugActionRegistry()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConsoleDockDebugActionRegistry' 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
42 |
43 | private struct Record {
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDockDebugActionRegistry.swift:282:47: warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
280 | run()
281 | } else {
282 | DispatchQueue.main.async(execute: run)
| `- warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
283 | }
284 | }
[24/41] Compiling ConsoleDock ConsoleDockDiagnosticsFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDockDebugActionRegistry.swift:41:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConsoleDockDebugActionRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | final class ConsoleDockDebugActionRegistry {
| `- note: class 'ConsoleDockDebugActionRegistry' does not conform to the 'Sendable' protocol
39 | typealias Handler = (ConsoleDock.DebugActionParameters) throws -> Void
40 |
41 | static let shared = ConsoleDockDebugActionRegistry()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConsoleDockDebugActionRegistry' 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
42 |
43 | private struct Record {
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDockDebugActionRegistry.swift:282:47: warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
280 | run()
281 | } else {
282 | DispatchQueue.main.async(execute: run)
| `- warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
283 | }
284 | }
[25/41] Compiling ConsoleDock ConsoleDockIssueReportFormatter.swift
[26/41] Compiling ConsoleDock ConsoleDockLiveUpdateBuffer.swift
[27/41] Compiling ConsoleDock ConsoleDockLogDetailViewController.swift
[28/41] Compiling ConsoleDock ConsoleDockSupportReportComposerState.swift
[29/41] Compiling ConsoleDock ConsoleDockSupportReportViewController.swift
[30/41] Compiling ConsoleDock ConsoleDockTimelineActionDetailViewController.swift
[31/41] Compiling ConsoleDock ConsoleDockLogsViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDockSessionArchiveStore.swift:4:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | final class ConsoleDockSessionArchiveStore {
4 | static var shared = ConsoleDockSessionArchiveStore()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
5 |
6 | private let directoryURL: URL
[32/41] Compiling ConsoleDock ConsoleDockSensitiveTextRedactor.swift
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDockSessionArchiveStore.swift:4:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | final class ConsoleDockSessionArchiveStore {
4 | static var shared = ConsoleDockSessionArchiveStore()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
5 |
6 | private let directoryURL: URL
[33/41] Compiling ConsoleDock ConsoleDockSessionArchiveStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDockSessionArchiveStore.swift:4:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | final class ConsoleDockSessionArchiveStore {
4 | static var shared = ConsoleDockSessionArchiveStore()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
5 |
6 | private let directoryURL: URL
[34/41] Compiling ConsoleDock ConsoleDockUIKit.swift
[35/41] Compiling ConsoleDock ConsoleDockUIShared.swift
[36/41] Compiling ConsoleDock ConsoleDockEntryFilter.swift
[37/41] Compiling ConsoleDock ConsoleDockIntegrationDiagnosisFormatter.swift
[38/41] Compiling ConsoleDock ConsoleDockIssueReportFileExporter.swift
[39/41] Compiling ConsoleDock ConsoleDock.swift
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDock.swift:47:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
5 | public enum ConsoleDock {
6 | /// Runtime options for the local in-app console.
7 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
8 | /// Maximum number of entries retained in memory before oldest entries are evicted. Must be greater than zero.
9 | public var maximumEntries: Int
:
45 |
46 | /// The debug-safe default configuration.
47 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | func makeCoreConfiguration() -> CDKConfiguration {
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDock.swift:610:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
588 |
589 | /// Options for building an on-demand local support report.
590 | public struct SupportReportOptions: Equatable {
| `- note: consider making struct 'SupportReportOptions' conform to the 'Sendable' protocol
591 | public static let defaultMaximumReportCharacterCount = 256_000
592 |
:
608 | }
609 |
610 | public static let `default` = SupportReportOptions()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
611 | public static let last5Minutes = SupportReportOptions(timeRange: .last(minutes: 5))
612 | public static let last10Minutes = SupportReportOptions(timeRange: .last(minutes: 10))
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDock.swift:611:27: warning: static property 'last5Minutes' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
588 |
589 | /// Options for building an on-demand local support report.
590 | public struct SupportReportOptions: Equatable {
| `- note: consider making struct 'SupportReportOptions' conform to the 'Sendable' protocol
591 | public static let defaultMaximumReportCharacterCount = 256_000
592 |
:
609 |
610 | public static let `default` = SupportReportOptions()
611 | public static let last5Minutes = SupportReportOptions(timeRange: .last(minutes: 5))
| |- warning: static property 'last5Minutes' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'last5Minutes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
612 | public static let last10Minutes = SupportReportOptions(timeRange: .last(minutes: 10))
613 | public static let last30Minutes = SupportReportOptions(timeRange: .last(minutes: 30))
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDock.swift:612:27: warning: static property 'last10Minutes' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
588 |
589 | /// Options for building an on-demand local support report.
590 | public struct SupportReportOptions: Equatable {
| `- note: consider making struct 'SupportReportOptions' conform to the 'Sendable' protocol
591 | public static let defaultMaximumReportCharacterCount = 256_000
592 |
:
610 | public static let `default` = SupportReportOptions()
611 | public static let last5Minutes = SupportReportOptions(timeRange: .last(minutes: 5))
612 | public static let last10Minutes = SupportReportOptions(timeRange: .last(minutes: 10))
| |- warning: static property 'last10Minutes' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'last10Minutes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
613 | public static let last30Minutes = SupportReportOptions(timeRange: .last(minutes: 30))
614 | public static let last60Minutes = SupportReportOptions(timeRange: .last(minutes: 60))
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDock.swift:613:27: warning: static property 'last30Minutes' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
588 |
589 | /// Options for building an on-demand local support report.
590 | public struct SupportReportOptions: Equatable {
| `- note: consider making struct 'SupportReportOptions' conform to the 'Sendable' protocol
591 | public static let defaultMaximumReportCharacterCount = 256_000
592 |
:
611 | public static let last5Minutes = SupportReportOptions(timeRange: .last(minutes: 5))
612 | public static let last10Minutes = SupportReportOptions(timeRange: .last(minutes: 10))
613 | public static let last30Minutes = SupportReportOptions(timeRange: .last(minutes: 30))
| |- warning: static property 'last30Minutes' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'last30Minutes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
614 | public static let last60Minutes = SupportReportOptions(timeRange: .last(minutes: 60))
615 |
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDock.swift:614:27: warning: static property 'last60Minutes' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
588 |
589 | /// Options for building an on-demand local support report.
590 | public struct SupportReportOptions: Equatable {
| `- note: consider making struct 'SupportReportOptions' conform to the 'Sendable' protocol
591 | public static let defaultMaximumReportCharacterCount = 256_000
592 |
:
612 | public static let last10Minutes = SupportReportOptions(timeRange: .last(minutes: 10))
613 | public static let last30Minutes = SupportReportOptions(timeRange: .last(minutes: 30))
614 | public static let last60Minutes = SupportReportOptions(timeRange: .last(minutes: 60))
| |- warning: static property 'last60Minutes' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'last60Minutes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
615 |
616 | public static func last(
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDock.swift:694:20: warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.StartFailure' may have shared mutable state; this is an error in the Swift 6 language mode
675 |
676 | /// Error information returned when ConsoleDock fails to start.
677 | public struct StartFailure: Equatable {
| `- note: consider making struct 'StartFailure' conform to the 'Sendable' protocol
678 | public let domain: String
679 | public let code: Int
:
692 | }
693 |
694 | static let unknown = StartFailure(
| |- warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.StartFailure' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unknown' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
695 | domain: "CDKConsoleDockErrorDomain",
696 | code: -1,
[40/41] Compiling ConsoleDock ConsoleDockActionParameterFormViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDock.swift:47:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
5 | public enum ConsoleDock {
6 | /// Runtime options for the local in-app console.
7 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
8 | /// Maximum number of entries retained in memory before oldest entries are evicted. Must be greater than zero.
9 | public var maximumEntries: Int
:
45 |
46 | /// The debug-safe default configuration.
47 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | func makeCoreConfiguration() -> CDKConfiguration {
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDock.swift:610:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
588 |
589 | /// Options for building an on-demand local support report.
590 | public struct SupportReportOptions: Equatable {
| `- note: consider making struct 'SupportReportOptions' conform to the 'Sendable' protocol
591 | public static let defaultMaximumReportCharacterCount = 256_000
592 |
:
608 | }
609 |
610 | public static let `default` = SupportReportOptions()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
611 | public static let last5Minutes = SupportReportOptions(timeRange: .last(minutes: 5))
612 | public static let last10Minutes = SupportReportOptions(timeRange: .last(minutes: 10))
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDock.swift:611:27: warning: static property 'last5Minutes' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
588 |
589 | /// Options for building an on-demand local support report.
590 | public struct SupportReportOptions: Equatable {
| `- note: consider making struct 'SupportReportOptions' conform to the 'Sendable' protocol
591 | public static let defaultMaximumReportCharacterCount = 256_000
592 |
:
609 |
610 | public static let `default` = SupportReportOptions()
611 | public static let last5Minutes = SupportReportOptions(timeRange: .last(minutes: 5))
| |- warning: static property 'last5Minutes' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'last5Minutes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
612 | public static let last10Minutes = SupportReportOptions(timeRange: .last(minutes: 10))
613 | public static let last30Minutes = SupportReportOptions(timeRange: .last(minutes: 30))
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDock.swift:612:27: warning: static property 'last10Minutes' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
588 |
589 | /// Options for building an on-demand local support report.
590 | public struct SupportReportOptions: Equatable {
| `- note: consider making struct 'SupportReportOptions' conform to the 'Sendable' protocol
591 | public static let defaultMaximumReportCharacterCount = 256_000
592 |
:
610 | public static let `default` = SupportReportOptions()
611 | public static let last5Minutes = SupportReportOptions(timeRange: .last(minutes: 5))
612 | public static let last10Minutes = SupportReportOptions(timeRange: .last(minutes: 10))
| |- warning: static property 'last10Minutes' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'last10Minutes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
613 | public static let last30Minutes = SupportReportOptions(timeRange: .last(minutes: 30))
614 | public static let last60Minutes = SupportReportOptions(timeRange: .last(minutes: 60))
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDock.swift:613:27: warning: static property 'last30Minutes' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
588 |
589 | /// Options for building an on-demand local support report.
590 | public struct SupportReportOptions: Equatable {
| `- note: consider making struct 'SupportReportOptions' conform to the 'Sendable' protocol
591 | public static let defaultMaximumReportCharacterCount = 256_000
592 |
:
611 | public static let last5Minutes = SupportReportOptions(timeRange: .last(minutes: 5))
612 | public static let last10Minutes = SupportReportOptions(timeRange: .last(minutes: 10))
613 | public static let last30Minutes = SupportReportOptions(timeRange: .last(minutes: 30))
| |- warning: static property 'last30Minutes' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'last30Minutes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
614 | public static let last60Minutes = SupportReportOptions(timeRange: .last(minutes: 60))
615 |
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDock.swift:614:27: warning: static property 'last60Minutes' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
588 |
589 | /// Options for building an on-demand local support report.
590 | public struct SupportReportOptions: Equatable {
| `- note: consider making struct 'SupportReportOptions' conform to the 'Sendable' protocol
591 | public static let defaultMaximumReportCharacterCount = 256_000
592 |
:
612 | public static let last10Minutes = SupportReportOptions(timeRange: .last(minutes: 10))
613 | public static let last30Minutes = SupportReportOptions(timeRange: .last(minutes: 30))
614 | public static let last60Minutes = SupportReportOptions(timeRange: .last(minutes: 60))
| |- warning: static property 'last60Minutes' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'last60Minutes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
615 |
616 | public static func last(
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDock.swift:694:20: warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.StartFailure' may have shared mutable state; this is an error in the Swift 6 language mode
675 |
676 | /// Error information returned when ConsoleDock fails to start.
677 | public struct StartFailure: Equatable {
| `- note: consider making struct 'StartFailure' conform to the 'Sendable' protocol
678 | public let domain: String
679 | public let code: Int
:
692 | }
693 |
694 | static let unknown = StartFailure(
| |- warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.StartFailure' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unknown' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
695 | domain: "CDKConsoleDockErrorDomain",
696 | code: -1,
[41/41] Compiling ConsoleDock ConsoleDockActionsViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDock.swift:47:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
5 | public enum ConsoleDock {
6 | /// Runtime options for the local in-app console.
7 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
8 | /// Maximum number of entries retained in memory before oldest entries are evicted. Must be greater than zero.
9 | public var maximumEntries: Int
:
45 |
46 | /// The debug-safe default configuration.
47 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | func makeCoreConfiguration() -> CDKConfiguration {
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDock.swift:610:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
588 |
589 | /// Options for building an on-demand local support report.
590 | public struct SupportReportOptions: Equatable {
| `- note: consider making struct 'SupportReportOptions' conform to the 'Sendable' protocol
591 | public static let defaultMaximumReportCharacterCount = 256_000
592 |
:
608 | }
609 |
610 | public static let `default` = SupportReportOptions()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
611 | public static let last5Minutes = SupportReportOptions(timeRange: .last(minutes: 5))
612 | public static let last10Minutes = SupportReportOptions(timeRange: .last(minutes: 10))
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDock.swift:611:27: warning: static property 'last5Minutes' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
588 |
589 | /// Options for building an on-demand local support report.
590 | public struct SupportReportOptions: Equatable {
| `- note: consider making struct 'SupportReportOptions' conform to the 'Sendable' protocol
591 | public static let defaultMaximumReportCharacterCount = 256_000
592 |
:
609 |
610 | public static let `default` = SupportReportOptions()
611 | public static let last5Minutes = SupportReportOptions(timeRange: .last(minutes: 5))
| |- warning: static property 'last5Minutes' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'last5Minutes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
612 | public static let last10Minutes = SupportReportOptions(timeRange: .last(minutes: 10))
613 | public static let last30Minutes = SupportReportOptions(timeRange: .last(minutes: 30))
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDock.swift:612:27: warning: static property 'last10Minutes' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
588 |
589 | /// Options for building an on-demand local support report.
590 | public struct SupportReportOptions: Equatable {
| `- note: consider making struct 'SupportReportOptions' conform to the 'Sendable' protocol
591 | public static let defaultMaximumReportCharacterCount = 256_000
592 |
:
610 | public static let `default` = SupportReportOptions()
611 | public static let last5Minutes = SupportReportOptions(timeRange: .last(minutes: 5))
612 | public static let last10Minutes = SupportReportOptions(timeRange: .last(minutes: 10))
| |- warning: static property 'last10Minutes' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'last10Minutes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
613 | public static let last30Minutes = SupportReportOptions(timeRange: .last(minutes: 30))
614 | public static let last60Minutes = SupportReportOptions(timeRange: .last(minutes: 60))
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDock.swift:613:27: warning: static property 'last30Minutes' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
588 |
589 | /// Options for building an on-demand local support report.
590 | public struct SupportReportOptions: Equatable {
| `- note: consider making struct 'SupportReportOptions' conform to the 'Sendable' protocol
591 | public static let defaultMaximumReportCharacterCount = 256_000
592 |
:
611 | public static let last5Minutes = SupportReportOptions(timeRange: .last(minutes: 5))
612 | public static let last10Minutes = SupportReportOptions(timeRange: .last(minutes: 10))
613 | public static let last30Minutes = SupportReportOptions(timeRange: .last(minutes: 30))
| |- warning: static property 'last30Minutes' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'last30Minutes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
614 | public static let last60Minutes = SupportReportOptions(timeRange: .last(minutes: 60))
615 |
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDock.swift:614:27: warning: static property 'last60Minutes' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
588 |
589 | /// Options for building an on-demand local support report.
590 | public struct SupportReportOptions: Equatable {
| `- note: consider making struct 'SupportReportOptions' conform to the 'Sendable' protocol
591 | public static let defaultMaximumReportCharacterCount = 256_000
592 |
:
612 | public static let last10Minutes = SupportReportOptions(timeRange: .last(minutes: 10))
613 | public static let last30Minutes = SupportReportOptions(timeRange: .last(minutes: 30))
614 | public static let last60Minutes = SupportReportOptions(timeRange: .last(minutes: 60))
| |- warning: static property 'last60Minutes' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.SupportReportOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'last60Minutes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
615 |
616 | public static func last(
/Users/admin/builder/spi-builder-workspace/Sources/ConsoleDock/ConsoleDock.swift:694:20: warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.StartFailure' may have shared mutable state; this is an error in the Swift 6 language mode
675 |
676 | /// Error information returned when ConsoleDock fails to start.
677 | public struct StartFailure: Equatable {
| `- note: consider making struct 'StartFailure' conform to the 'Sendable' protocol
678 | public let domain: String
679 | public let code: Int
:
692 | }
693 |
694 | static let unknown = StartFailure(
| |- warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'ConsoleDock.StartFailure' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unknown' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
695 | domain: "CDKConsoleDockErrorDomain",
696 | code: -1,
Build complete! (6.84s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "ConsoleDock",
"name" : "ConsoleDock",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "ConsoleDock",
"targets" : [
"ConsoleDock"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ConsoleDockCore",
"targets" : [
"ConsoleDockCore"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ConsoleDockTests",
"module_type" : "SwiftTarget",
"name" : "ConsoleDockTests",
"path" : "Tests/ConsoleDockTests",
"sources" : [
"ConsoleDockDebugActionTests.swift",
"ConsoleDockFacadeTests.swift",
"ConsoleDockFilteringTests.swift",
"ConsoleDockIntegrationContextTests.swift",
"ConsoleDockObserverArchiveTests.swift",
"ConsoleDockReportTests.swift",
"ConsoleDockSnapshotTimelineTests.swift",
"ConsoleDockTestCase.swift"
],
"target_dependencies" : [
"ConsoleDock",
"ConsoleDockCore"
],
"type" : "test"
},
{
"c99name" : "ConsoleDockCoreTests",
"module_type" : "SwiftTarget",
"name" : "ConsoleDockCoreTests",
"path" : "Tests/ConsoleDockCoreTests",
"sources" : [
"ConsoleDockCoreTests.swift",
"ConsoleDockLineFramerUnicodeTests.swift"
],
"target_dependencies" : [
"ConsoleDockCore"
],
"type" : "test"
},
{
"c99name" : "ConsoleDockCore",
"module_type" : "ClangTarget",
"name" : "ConsoleDockCore",
"path" : "Sources/ConsoleDockCore",
"product_memberships" : [
"ConsoleDock",
"ConsoleDockCore"
],
"sources" : [
"CDKConfiguration.m",
"CDKConsoleDock.m",
"CDKDiagnostics.m",
"CDKLineEvent.m",
"CDKLineFramer.m",
"CDKLogEntry.m",
"CDKLogForwarder.m",
"CDKSessionMetadata.m",
"CDKStandardOutputCapture.m"
],
"type" : "library"
},
{
"c99name" : "ConsoleDock",
"module_type" : "SwiftTarget",
"name" : "ConsoleDock",
"path" : "Sources/ConsoleDock",
"product_memberships" : [
"ConsoleDock"
],
"sources" : [
"ConsoleDock.swift",
"ConsoleDockActionParameterFormViewController.swift",
"ConsoleDockActionsViewController.swift",
"ConsoleDockAppContextRegistry.swift",
"ConsoleDockChangeObserver.swift",
"ConsoleDockContextViewController.swift",
"ConsoleDockDebugActionFilter.swift",
"ConsoleDockDebugActionRegistry.swift",
"ConsoleDockDiagnosticsFormatter.swift",
"ConsoleDockEntryFilter.swift",
"ConsoleDockIntegrationDiagnosisFormatter.swift",
"ConsoleDockIssueReportFileExporter.swift",
"ConsoleDockIssueReportFormatter.swift",
"ConsoleDockLiveUpdateBuffer.swift",
"ConsoleDockLogDetailViewController.swift",
"ConsoleDockLogsViewController.swift",
"ConsoleDockSensitiveTextRedactor.swift",
"ConsoleDockSessionArchiveStore.swift",
"ConsoleDockSessionArchivesViewController.swift",
"ConsoleDockSnapshotFormatter.swift",
"ConsoleDockSupportReportBuilder.swift",
"ConsoleDockSupportReportComposerState.swift",
"ConsoleDockSupportReportViewController.swift",
"ConsoleDockTimelineActionDetailViewController.swift",
"ConsoleDockTimelineBuilder.swift",
"ConsoleDockTimelineViewController.swift",
"ConsoleDockUIController.swift",
"ConsoleDockUIKit.swift",
"ConsoleDockUIShared.swift"
],
"target_dependencies" : [
"ConsoleDockCore"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.