Build Information
Successful build of Occurrence with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 11
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/richardpiazza/Occurrence.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/richardpiazza/Occurrence
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 01a27fb Corrected Swift Version Check (#21)
Cloned https://github.com/richardpiazza/Occurrence.git
Revision (git rev-parse @):
01a27fbca874d48854ab156404fe8c360facc89b
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/richardpiazza/Occurrence.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/richardpiazza/Occurrence.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-6F35C1178C84523A.txt
[7/70] Compiling Logging MetadataProvider.swift
[8/70] Compiling Logging LogHandler.swift
[9/70] Emitting module Logging
[10/70] Compiling Logging Logging.swift
[11/70] Compiling Logging Locks.swift
[12/70] Emitting module Statement
[13/72] Emitting module SQLite
[14/75] Compiling SQLite Backup.swift
[15/75] Compiling SQLite Blob.swift
[16/75] Compiling SQLite Connection+Aggregation.swift
[17/75] Compiling Statement LogicalPredicate.swift
[18/75] Compiling Statement Segment.swift
[19/75] Compiling SQLite SchemaDefinitions.swift
[20/75] Compiling SQLite SchemaReader.swift
[24/75] Compiling SQLite Connection+Attach.swift
[25/75] Compiling SQLite Collation.swift
[26/75] Compiling SQLite SchemaChanger.swift
[27/75] Compiling SQLite DateAndTimeFunctions.swift
[28/75] Compiling SQLite AggregateFunctions.swift
[29/75] Compiling SQLite Coding.swift
[30/75] Compiling SQLite FTS5.swift
[31/75] Compiling SQLite CoreFunctions.swift
[32/75] Compiling SQLite CustomFunctions.swift
[33/75] Compiling SQLite Errors.swift
[34/75] Compiling SQLite Result.swift
[35/75] Compiling SQLite SQLiteFeature.swift
[37/75] Compiling SQLite Connection+Pragmas.swift
[38/75] Compiling SQLite Connection.swift
[39/75] Compiling SQLite SQLiteVersion.swift
[40/75] Compiling SQLite Statement.swift
[41/75] Compiling SQLite URIQueryParameter.swift
[42/75] Compiling SQLite Value.swift
[43/75] Compiling SQLite Cipher.swift
[44/75] Compiling SQLite FTS4.swift
[49/94] Compiling SQLite RTree.swift
[50/94] Compiling SQLite Foundation.swift
[51/94] Compiling SQLite Helpers.swift
[52/94] Compiling SQLite Connection+Schema.swift
[56/94] Compiling StatementSQLite SelectContext.swift
[57/94] Compiling StatementSQLite SetContext.swift
[62/94] Compiling StatementSQLite DeleteContext.swift
[63/94] Compiling StatementSQLite Field+SQLite.swift
[64/94] Compiling StatementSQLite LimitContext.swift
[65/94] Compiling StatementSQLite OrderContext.swift
[66/94] Compiling StatementSQLite UpdateContext.swift
[67/94] Compiling StatementSQLite ValuesContext.swift
[68/94] Compiling StatementSQLite FromContext.swift
[69/94] Compiling StatementSQLite HavingContext.swift
[72/94] Compiling SQLite Query+with.swift
[73/94] Compiling StatementSQLite SQLiteStatement.swift
[74/94] Compiling StatementSQLite Segment+SQLite.swift
[85/95] Compiling StatementSQLite InsertContext.swift
[86/95] Compiling StatementSQLite JoinContext.swift
[87/95] Compiling StatementSQLite DataType+SQLite.swift
[88/95] Compiling StatementSQLite DataTypeConvertible+SQLite.swift
[89/95] Emitting module StatementSQLite
[90/95] Compiling StatementSQLite AlterTableContext.swift
[91/95] Compiling StatementSQLite CreateContext.swift
[92/95] Compiling StatementSQLite WhereContext.swift
[93/95] Compiling SQLite Query.swift
[94/95] Compiling SQLite Schema.swift
[95/95] Compiling SQLite Setter.swift
[96/124] Compiling Occurrence Array+Occurrence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/DecodingError+Occurrence.swift:4:1: warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
2 | import Logging
3 |
4 | extension DecodingError: CustomNSError, LoggableError {
| |- warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public static var errorDomain: String { "SwiftDecodingErrorDomain" }
6 |
[97/124] Compiling Occurrence CocoaError+Occurrence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/DecodingError+Occurrence.swift:4:1: warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
2 | import Logging
3 |
4 | extension DecodingError: CustomNSError, LoggableError {
| |- warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public static var errorDomain: String { "SwiftDecodingErrorDomain" }
6 |
[98/124] Compiling Occurrence DecodingError+Occurrence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/DecodingError+Occurrence.swift:4:1: warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
2 | import Logging
3 |
4 | extension DecodingError: CustomNSError, LoggableError {
| |- warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public static var errorDomain: String { "SwiftDecodingErrorDomain" }
6 |
[99/127] Compiling Occurrence Logger+Subsystem.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/Logger+Subsystem.swift:49:16: warning: static property 'occurrence' is not concurrency-safe because non-'Sendable' type 'Logger.Subsystem' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// }
13 | /// ```
14 | struct Subsystem: ExpressibleByStringLiteral, Codable, Hashable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Subsystem' conform to the 'Sendable' protocol
15 | public let rawValue: String
16 |
:
47 | extension Logger.Subsystem {
48 | /// The **Occurrence** package subsystem.
49 | static let occurrence: Self = "com.richardpiazza.occurrence"
| |- warning: static property 'occurrence' is not concurrency-safe because non-'Sendable' type 'Logger.Subsystem' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'occurrence' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/Logger.Level+Occurrence.swift:25:1: warning: extension declares a conformance of imported type 'Level' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Logging' introduce this conformance in the future
23 | }
24 |
25 | extension Logger.Level: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'Level' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Logging' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
26 | public var description: String {
27 | "\(gem) \(fixedWidthDescription.uppercased())"
[100/127] Compiling Occurrence Logger.Level+Occurrence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/Logger+Subsystem.swift:49:16: warning: static property 'occurrence' is not concurrency-safe because non-'Sendable' type 'Logger.Subsystem' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// }
13 | /// ```
14 | struct Subsystem: ExpressibleByStringLiteral, Codable, Hashable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Subsystem' conform to the 'Sendable' protocol
15 | public let rawValue: String
16 |
:
47 | extension Logger.Subsystem {
48 | /// The **Occurrence** package subsystem.
49 | static let occurrence: Self = "com.richardpiazza.occurrence"
| |- warning: static property 'occurrence' is not concurrency-safe because non-'Sendable' type 'Logger.Subsystem' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'occurrence' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/Logger.Level+Occurrence.swift:25:1: warning: extension declares a conformance of imported type 'Level' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Logging' introduce this conformance in the future
23 | }
24 |
25 | extension Logger.Level: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'Level' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Logging' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
26 | public var description: String {
27 | "\(gem) \(fixedWidthDescription.uppercased())"
[101/127] Compiling Occurrence Logger.Message+Occurrence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/Logger+Subsystem.swift:49:16: warning: static property 'occurrence' is not concurrency-safe because non-'Sendable' type 'Logger.Subsystem' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// }
13 | /// ```
14 | struct Subsystem: ExpressibleByStringLiteral, Codable, Hashable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Subsystem' conform to the 'Sendable' protocol
15 | public let rawValue: String
16 |
:
47 | extension Logger.Subsystem {
48 | /// The **Occurrence** package subsystem.
49 | static let occurrence: Self = "com.richardpiazza.occurrence"
| |- warning: static property 'occurrence' is not concurrency-safe because non-'Sendable' type 'Logger.Subsystem' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'occurrence' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/Logger.Level+Occurrence.swift:25:1: warning: extension declares a conformance of imported type 'Level' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Logging' introduce this conformance in the future
23 | }
24 |
25 | extension Logger.Level: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'Level' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Logging' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
26 | public var description: String {
27 | "\(gem) \(fixedWidthDescription.uppercased())"
[102/127] Compiling Occurrence Logger.Metadata+Occurrence.swift
[103/127] Compiling Occurrence Logger.MetadataKey.swift
[104/127] Compiling Occurrence Logger.MetadataValue+Occurrence.swift
[105/127] Compiling Occurrence LogStreamer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:11:23: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
9 | }
10 |
11 | public static var configuration: Configuration = .init()
| |- warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | private static var bootstrapped: Bool = false
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:12:24: warning: static property 'bootstrapped' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public static var configuration: Configuration = .init()
12 | private static var bootstrapped: Bool = false
| |- warning: static property 'bootstrapped' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bootstrapped' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'bootstrapped' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Bootstraps **Occurrence** in to `Logging.LoggingSystem`.
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:30:23: warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
| |- warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logStreamer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public static var logProvider: LogProvider = {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/LogStreamer.swift:7:17: note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
5 | #endif
6 |
7 | public protocol LogStreamer {
| `- note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
8 | /// `AsyncStream` which emits log entries.
9 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:32:23: warning: static property 'logProvider' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
31 |
32 | public static var logProvider: LogProvider = {
| |- warning: static property 'logProvider' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | do {
34 | #if canImport(CoreData)
[106/127] Compiling Occurrence LoggableError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:11:23: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
9 | }
10 |
11 | public static var configuration: Configuration = .init()
| |- warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | private static var bootstrapped: Bool = false
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:12:24: warning: static property 'bootstrapped' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public static var configuration: Configuration = .init()
12 | private static var bootstrapped: Bool = false
| |- warning: static property 'bootstrapped' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bootstrapped' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'bootstrapped' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Bootstraps **Occurrence** in to `Logging.LoggingSystem`.
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:30:23: warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
| |- warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logStreamer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public static var logProvider: LogProvider = {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/LogStreamer.swift:7:17: note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
5 | #endif
6 |
7 | public protocol LogStreamer {
| `- note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
8 | /// `AsyncStream` which emits log entries.
9 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:32:23: warning: static property 'logProvider' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
31 |
32 | public static var logProvider: LogProvider = {
| |- warning: static property 'logProvider' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | do {
34 | #if canImport(CoreData)
[107/127] Compiling Occurrence Occurrence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:11:23: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
9 | }
10 |
11 | public static var configuration: Configuration = .init()
| |- warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | private static var bootstrapped: Bool = false
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:12:24: warning: static property 'bootstrapped' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public static var configuration: Configuration = .init()
12 | private static var bootstrapped: Bool = false
| |- warning: static property 'bootstrapped' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bootstrapped' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'bootstrapped' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Bootstraps **Occurrence** in to `Logging.LoggingSystem`.
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:30:23: warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
| |- warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logStreamer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public static var logProvider: LogProvider = {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/LogStreamer.swift:7:17: note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
5 | #endif
6 |
7 | public protocol LogStreamer {
| `- note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
8 | /// `AsyncStream` which emits log entries.
9 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:32:23: warning: static property 'logProvider' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
31 |
32 | public static var logProvider: LogProvider = {
| |- warning: static property 'logProvider' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | do {
34 | #if canImport(CoreData)
[108/127] Emitting module Occurrence
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/LogModel.swift:8:16: warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
6 | case version_1_0_0
7 |
8 | static var `default`: LogModel = .version_1_0_0
| |- warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | var managedObjectModel: NSManagedObjectModel {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/LogModel.swift:20:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Version_1_0_0' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | class Version_1_0_0: NSManagedObjectModel, NSSecureCoding {
| `- note: class 'Version_1_0_0' does not conform to the 'Sendable' protocol
18 | /// Provide a singular instance of the model to be referenced. There is a known issue where when referencing
19 | /// a model in an app target, as well as unit tests, a model - and therefore its entities - can be loaded twice.
20 | static let instance: Version_1_0_0 = Version_1_0_0()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Version_1_0_0' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | static var supportsSecureCoding: Bool { true }
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/DecodingError+Occurrence.swift:4:1: warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
2 | import Logging
3 |
4 | extension DecodingError: CustomNSError, LoggableError {
| |- warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public static var errorDomain: String { "SwiftDecodingErrorDomain" }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/EncodingError+Occurrence.swift:4:1: warning: extension declares a conformance of imported type 'EncodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
2 | import Logging
3 |
4 | extension EncodingError: CustomNSError, LoggableError {
| |- warning: extension declares a conformance of imported type 'EncodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public static var errorDomain: String { "SwiftEncodingErrorDomain" }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/Logger+Entry.swift:7:27: warning: static property 'gmtDateFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
5 | struct Entry: Codable, CustomStringConvertible {
6 |
7 | public static var gmtDateFormatter: DateFormatter = {
| |- warning: static property 'gmtDateFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'gmtDateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'gmtDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | let formatter = DateFormatter()
9 | formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/Logger+Subsystem.swift:49:16: warning: static property 'occurrence' is not concurrency-safe because non-'Sendable' type 'Logger.Subsystem' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// }
13 | /// ```
14 | struct Subsystem: ExpressibleByStringLiteral, Codable, Hashable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Subsystem' conform to the 'Sendable' protocol
15 | public let rawValue: String
16 |
:
47 | extension Logger.Subsystem {
48 | /// The **Occurrence** package subsystem.
49 | static let occurrence: Self = "com.richardpiazza.occurrence"
| |- warning: static property 'occurrence' is not concurrency-safe because non-'Sendable' type 'Logger.Subsystem' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'occurrence' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/Logger.Level+Occurrence.swift:25:1: warning: extension declares a conformance of imported type 'Level' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Logging' introduce this conformance in the future
23 | }
24 |
25 | extension Logger.Level: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'Level' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Logging' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
26 | public var description: String {
27 | "\(gem) \(fixedWidthDescription.uppercased())"
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:11:23: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
9 | }
10 |
11 | public static var configuration: Configuration = .init()
| |- warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | private static var bootstrapped: Bool = false
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:12:24: warning: static property 'bootstrapped' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public static var configuration: Configuration = .init()
12 | private static var bootstrapped: Bool = false
| |- warning: static property 'bootstrapped' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bootstrapped' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'bootstrapped' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Bootstraps **Occurrence** in to `Logging.LoggingSystem`.
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:30:23: warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
| |- warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logStreamer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public static var logProvider: LogProvider = {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/LogStreamer.swift:7:17: note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
5 | #endif
6 |
7 | public protocol LogStreamer {
| `- note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
8 | /// `AsyncStream` which emits log entries.
9 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:32:23: warning: static property 'logProvider' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
31 |
32 | public static var logProvider: LogProvider = {
| |- warning: static property 'logProvider' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | do {
34 | #if canImport(CoreData)
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/SQLite/SQLiteEntry.swift:38:16: warning: static property 'instance' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension SQLiteEntry {
38 | static var instance: SQLiteEntry = { SQLiteEntry() }()
| |- warning: static property 'instance' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | static var id: Attribute { instance["id"]! }
40 | static var date: Attribute { instance["date"]! }
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/SwiftUI/LogView.swift:336:16: warning: static property 'sub1' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
334 |
335 | private extension Logger.Subsystem {
336 | static var sub1: Logger.Subsystem = "package.diagnostics"
| |- warning: static property 'sub1' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sub1' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sub1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
337 | static var sub2: Logger.Subsystem = "app.iOS"
338 | }
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/SwiftUI/LogView.swift:337:16: warning: static property 'sub2' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
335 | private extension Logger.Subsystem {
336 | static var sub1: Logger.Subsystem = "package.diagnostics"
337 | static var sub2: Logger.Subsystem = "app.iOS"
| |- warning: static property 'sub2' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sub2' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sub2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | }
339 |
[109/127] Compiling Occurrence Dictionary+Occurrence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/EncodingError+Occurrence.swift:4:1: warning: extension declares a conformance of imported type 'EncodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
2 | import Logging
3 |
4 | extension EncodingError: CustomNSError, LoggableError {
| |- warning: extension declares a conformance of imported type 'EncodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public static var errorDomain: String { "SwiftEncodingErrorDomain" }
6 |
[110/127] Compiling Occurrence EncodingError+Occurrence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/EncodingError+Occurrence.swift:4:1: warning: extension declares a conformance of imported type 'EncodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
2 | import Logging
3 |
4 | extension EncodingError: CustomNSError, LoggableError {
| |- warning: extension declares a conformance of imported type 'EncodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public static var errorDomain: String { "SwiftEncodingErrorDomain" }
6 |
[111/127] Compiling Occurrence FileManager+Occurrence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/EncodingError+Occurrence.swift:4:1: warning: extension declares a conformance of imported type 'EncodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
2 | import Logging
3 |
4 | extension EncodingError: CustomNSError, LoggableError {
| |- warning: extension declares a conformance of imported type 'EncodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public static var errorDomain: String { "SwiftEncodingErrorDomain" }
6 |
[112/127] Compiling Occurrence URLError+Occurrence.swift
[113/127] Compiling Occurrence LazyLogger.swift
[114/127] Compiling Occurrence LogProvider.swift
[115/127] Compiling Occurrence Logger.Filter+Where.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Statement/Sources/Statement/Operators/ComparisonOperator.swift:10:16: warning: static property 'equal' is not concurrency-safe because non-'Sendable' type 'ComparisonOperator' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct ComparisonOperator: ExpressibleByStringLiteral, Equatable {
| `- note: consider making struct 'ComparisonOperator' conform to the 'Sendable' protocol
2 | public let rawValue: String
3 |
:
8 |
9 | public extension ComparisonOperator {
10 | static let equal: Self = "="
| |- warning: static property 'equal' is not concurrency-safe because non-'Sendable' type 'ComparisonOperator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'equal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | static let notEqual: Self = "<>"
12 | static let greaterThan: Self = ">"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Statement/Sources/Statement/Operators/LogicalOperator.swift:20:16: warning: static property 'like' is not concurrency-safe because non-'Sendable' type 'LogicalOperator' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct LogicalOperator: ExpressibleByStringLiteral, Equatable {
| `- note: consider making struct 'LogicalOperator' conform to the 'Sendable' protocol
2 | public let rawValue: String
3 |
:
18 | static let isNotNull: Self = "IS NOT NULL"
19 | static let isNull: Self = "IS NULL"
20 | static let like: Self = "LIKE"
| |- warning: static property 'like' is not concurrency-safe because non-'Sendable' type 'LogicalOperator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'like' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let not: Self = "NOT"
22 | static let or: Self = "OR"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Statement/Sources/Statement/Operators/ComparisonOperator.swift:13:16: warning: static property 'greaterThanEqualTo' is not concurrency-safe because non-'Sendable' type 'ComparisonOperator' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct ComparisonOperator: ExpressibleByStringLiteral, Equatable {
| `- note: consider making struct 'ComparisonOperator' conform to the 'Sendable' protocol
2 | public let rawValue: String
3 |
:
11 | static let notEqual: Self = "<>"
12 | static let greaterThan: Self = ">"
13 | static let greaterThanEqualTo: Self = ">="
| |- warning: static property 'greaterThanEqualTo' is not concurrency-safe because non-'Sendable' type 'ComparisonOperator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'greaterThanEqualTo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | static let lessThan: Self = "<"
15 | static let lessThanEqualTo: Self = "<="
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Statement/Sources/Statement/Operators/ComparisonOperator.swift:15:16: warning: static property 'lessThanEqualTo' is not concurrency-safe because non-'Sendable' type 'ComparisonOperator' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct ComparisonOperator: ExpressibleByStringLiteral, Equatable {
| `- note: consider making struct 'ComparisonOperator' conform to the 'Sendable' protocol
2 | public let rawValue: String
3 |
:
13 | static let greaterThanEqualTo: Self = ">="
14 | static let lessThan: Self = "<"
15 | static let lessThanEqualTo: Self = "<="
| |- warning: static property 'lessThanEqualTo' is not concurrency-safe because non-'Sendable' type 'ComparisonOperator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lessThanEqualTo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Statement/Sources/Statement/Operators/ComparisonOperator.swift:11:16: warning: static property 'notEqual' is not concurrency-safe because non-'Sendable' type 'ComparisonOperator' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct ComparisonOperator: ExpressibleByStringLiteral, Equatable {
| `- note: consider making struct 'ComparisonOperator' conform to the 'Sendable' protocol
2 | public let rawValue: String
3 |
:
9 | public extension ComparisonOperator {
10 | static let equal: Self = "="
11 | static let notEqual: Self = "<>"
| |- warning: static property 'notEqual' is not concurrency-safe because non-'Sendable' type 'ComparisonOperator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notEqual' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | static let greaterThan: Self = ">"
13 | static let greaterThanEqualTo: Self = ">="
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Statement/Sources/Statement/Operators/ComparisonOperator.swift:14:16: warning: static property 'lessThan' is not concurrency-safe because non-'Sendable' type 'ComparisonOperator' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct ComparisonOperator: ExpressibleByStringLiteral, Equatable {
| `- note: consider making struct 'ComparisonOperator' conform to the 'Sendable' protocol
2 | public let rawValue: String
3 |
:
12 | static let greaterThan: Self = ">"
13 | static let greaterThanEqualTo: Self = ">="
14 | static let lessThan: Self = "<"
| |- warning: static property 'lessThan' is not concurrency-safe because non-'Sendable' type 'ComparisonOperator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lessThan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static let lessThanEqualTo: Self = "<="
16 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Statement/Sources/Statement/Operators/ComparisonOperator.swift:12:16: warning: static property 'greaterThan' is not concurrency-safe because non-'Sendable' type 'ComparisonOperator' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct ComparisonOperator: ExpressibleByStringLiteral, Equatable {
| `- note: consider making struct 'ComparisonOperator' conform to the 'Sendable' protocol
2 | public let rawValue: String
3 |
:
10 | static let equal: Self = "="
11 | static let notEqual: Self = "<>"
12 | static let greaterThan: Self = ">"
| |- warning: static property 'greaterThan' is not concurrency-safe because non-'Sendable' type 'ComparisonOperator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'greaterThan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | static let greaterThanEqualTo: Self = ">="
14 | static let lessThan: Self = "<"
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/SQLite/SQLiteEntry.swift:38:16: warning: static property 'instance' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension SQLiteEntry {
38 | static var instance: SQLiteEntry = { SQLiteEntry() }()
| |- warning: static property 'instance' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | static var id: Attribute { instance["id"]! }
40 | static var date: Attribute { instance["date"]! }
[116/127] Compiling Occurrence SQLiteEntry+Mapping.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Statement/Sources/Statement/Operators/ComparisonOperator.swift:10:16: warning: static property 'equal' is not concurrency-safe because non-'Sendable' type 'ComparisonOperator' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct ComparisonOperator: ExpressibleByStringLiteral, Equatable {
| `- note: consider making struct 'ComparisonOperator' conform to the 'Sendable' protocol
2 | public let rawValue: String
3 |
:
8 |
9 | public extension ComparisonOperator {
10 | static let equal: Self = "="
| |- warning: static property 'equal' is not concurrency-safe because non-'Sendable' type 'ComparisonOperator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'equal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | static let notEqual: Self = "<>"
12 | static let greaterThan: Self = ">"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Statement/Sources/Statement/Operators/LogicalOperator.swift:20:16: warning: static property 'like' is not concurrency-safe because non-'Sendable' type 'LogicalOperator' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct LogicalOperator: ExpressibleByStringLiteral, Equatable {
| `- note: consider making struct 'LogicalOperator' conform to the 'Sendable' protocol
2 | public let rawValue: String
3 |
:
18 | static let isNotNull: Self = "IS NOT NULL"
19 | static let isNull: Self = "IS NULL"
20 | static let like: Self = "LIKE"
| |- warning: static property 'like' is not concurrency-safe because non-'Sendable' type 'LogicalOperator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'like' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let not: Self = "NOT"
22 | static let or: Self = "OR"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Statement/Sources/Statement/Operators/ComparisonOperator.swift:13:16: warning: static property 'greaterThanEqualTo' is not concurrency-safe because non-'Sendable' type 'ComparisonOperator' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct ComparisonOperator: ExpressibleByStringLiteral, Equatable {
| `- note: consider making struct 'ComparisonOperator' conform to the 'Sendable' protocol
2 | public let rawValue: String
3 |
:
11 | static let notEqual: Self = "<>"
12 | static let greaterThan: Self = ">"
13 | static let greaterThanEqualTo: Self = ">="
| |- warning: static property 'greaterThanEqualTo' is not concurrency-safe because non-'Sendable' type 'ComparisonOperator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'greaterThanEqualTo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | static let lessThan: Self = "<"
15 | static let lessThanEqualTo: Self = "<="
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Statement/Sources/Statement/Operators/ComparisonOperator.swift:15:16: warning: static property 'lessThanEqualTo' is not concurrency-safe because non-'Sendable' type 'ComparisonOperator' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct ComparisonOperator: ExpressibleByStringLiteral, Equatable {
| `- note: consider making struct 'ComparisonOperator' conform to the 'Sendable' protocol
2 | public let rawValue: String
3 |
:
13 | static let greaterThanEqualTo: Self = ">="
14 | static let lessThan: Self = "<"
15 | static let lessThanEqualTo: Self = "<="
| |- warning: static property 'lessThanEqualTo' is not concurrency-safe because non-'Sendable' type 'ComparisonOperator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lessThanEqualTo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Statement/Sources/Statement/Operators/ComparisonOperator.swift:11:16: warning: static property 'notEqual' is not concurrency-safe because non-'Sendable' type 'ComparisonOperator' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct ComparisonOperator: ExpressibleByStringLiteral, Equatable {
| `- note: consider making struct 'ComparisonOperator' conform to the 'Sendable' protocol
2 | public let rawValue: String
3 |
:
9 | public extension ComparisonOperator {
10 | static let equal: Self = "="
11 | static let notEqual: Self = "<>"
| |- warning: static property 'notEqual' is not concurrency-safe because non-'Sendable' type 'ComparisonOperator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notEqual' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | static let greaterThan: Self = ">"
13 | static let greaterThanEqualTo: Self = ">="
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Statement/Sources/Statement/Operators/ComparisonOperator.swift:14:16: warning: static property 'lessThan' is not concurrency-safe because non-'Sendable' type 'ComparisonOperator' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct ComparisonOperator: ExpressibleByStringLiteral, Equatable {
| `- note: consider making struct 'ComparisonOperator' conform to the 'Sendable' protocol
2 | public let rawValue: String
3 |
:
12 | static let greaterThan: Self = ">"
13 | static let greaterThanEqualTo: Self = ">="
14 | static let lessThan: Self = "<"
| |- warning: static property 'lessThan' is not concurrency-safe because non-'Sendable' type 'ComparisonOperator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lessThan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static let lessThanEqualTo: Self = "<="
16 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Statement/Sources/Statement/Operators/ComparisonOperator.swift:12:16: warning: static property 'greaterThan' is not concurrency-safe because non-'Sendable' type 'ComparisonOperator' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct ComparisonOperator: ExpressibleByStringLiteral, Equatable {
| `- note: consider making struct 'ComparisonOperator' conform to the 'Sendable' protocol
2 | public let rawValue: String
3 |
:
10 | static let equal: Self = "="
11 | static let notEqual: Self = "<>"
12 | static let greaterThan: Self = ">"
| |- warning: static property 'greaterThan' is not concurrency-safe because non-'Sendable' type 'ComparisonOperator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'greaterThan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | static let greaterThanEqualTo: Self = ">="
14 | static let lessThan: Self = "<"
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/SQLite/SQLiteEntry.swift:38:16: warning: static property 'instance' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension SQLiteEntry {
38 | static var instance: SQLiteEntry = { SQLiteEntry() }()
| |- warning: static property 'instance' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | static var id: Attribute { instance["id"]! }
40 | static var date: Attribute { instance["date"]! }
[117/127] Compiling Occurrence SQLiteEntry.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Statement/Sources/Statement/Operators/ComparisonOperator.swift:10:16: warning: static property 'equal' is not concurrency-safe because non-'Sendable' type 'ComparisonOperator' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct ComparisonOperator: ExpressibleByStringLiteral, Equatable {
| `- note: consider making struct 'ComparisonOperator' conform to the 'Sendable' protocol
2 | public let rawValue: String
3 |
:
8 |
9 | public extension ComparisonOperator {
10 | static let equal: Self = "="
| |- warning: static property 'equal' is not concurrency-safe because non-'Sendable' type 'ComparisonOperator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'equal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | static let notEqual: Self = "<>"
12 | static let greaterThan: Self = ">"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Statement/Sources/Statement/Operators/LogicalOperator.swift:20:16: warning: static property 'like' is not concurrency-safe because non-'Sendable' type 'LogicalOperator' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct LogicalOperator: ExpressibleByStringLiteral, Equatable {
| `- note: consider making struct 'LogicalOperator' conform to the 'Sendable' protocol
2 | public let rawValue: String
3 |
:
18 | static let isNotNull: Self = "IS NOT NULL"
19 | static let isNull: Self = "IS NULL"
20 | static let like: Self = "LIKE"
| |- warning: static property 'like' is not concurrency-safe because non-'Sendable' type 'LogicalOperator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'like' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let not: Self = "NOT"
22 | static let or: Self = "OR"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Statement/Sources/Statement/Operators/ComparisonOperator.swift:13:16: warning: static property 'greaterThanEqualTo' is not concurrency-safe because non-'Sendable' type 'ComparisonOperator' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct ComparisonOperator: ExpressibleByStringLiteral, Equatable {
| `- note: consider making struct 'ComparisonOperator' conform to the 'Sendable' protocol
2 | public let rawValue: String
3 |
:
11 | static let notEqual: Self = "<>"
12 | static let greaterThan: Self = ">"
13 | static let greaterThanEqualTo: Self = ">="
| |- warning: static property 'greaterThanEqualTo' is not concurrency-safe because non-'Sendable' type 'ComparisonOperator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'greaterThanEqualTo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | static let lessThan: Self = "<"
15 | static let lessThanEqualTo: Self = "<="
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Statement/Sources/Statement/Operators/ComparisonOperator.swift:15:16: warning: static property 'lessThanEqualTo' is not concurrency-safe because non-'Sendable' type 'ComparisonOperator' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct ComparisonOperator: ExpressibleByStringLiteral, Equatable {
| `- note: consider making struct 'ComparisonOperator' conform to the 'Sendable' protocol
2 | public let rawValue: String
3 |
:
13 | static let greaterThanEqualTo: Self = ">="
14 | static let lessThan: Self = "<"
15 | static let lessThanEqualTo: Self = "<="
| |- warning: static property 'lessThanEqualTo' is not concurrency-safe because non-'Sendable' type 'ComparisonOperator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lessThanEqualTo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Statement/Sources/Statement/Operators/ComparisonOperator.swift:11:16: warning: static property 'notEqual' is not concurrency-safe because non-'Sendable' type 'ComparisonOperator' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct ComparisonOperator: ExpressibleByStringLiteral, Equatable {
| `- note: consider making struct 'ComparisonOperator' conform to the 'Sendable' protocol
2 | public let rawValue: String
3 |
:
9 | public extension ComparisonOperator {
10 | static let equal: Self = "="
11 | static let notEqual: Self = "<>"
| |- warning: static property 'notEqual' is not concurrency-safe because non-'Sendable' type 'ComparisonOperator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notEqual' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | static let greaterThan: Self = ">"
13 | static let greaterThanEqualTo: Self = ">="
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Statement/Sources/Statement/Operators/ComparisonOperator.swift:14:16: warning: static property 'lessThan' is not concurrency-safe because non-'Sendable' type 'ComparisonOperator' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct ComparisonOperator: ExpressibleByStringLiteral, Equatable {
| `- note: consider making struct 'ComparisonOperator' conform to the 'Sendable' protocol
2 | public let rawValue: String
3 |
:
12 | static let greaterThan: Self = ">"
13 | static let greaterThanEqualTo: Self = ">="
14 | static let lessThan: Self = "<"
| |- warning: static property 'lessThan' is not concurrency-safe because non-'Sendable' type 'ComparisonOperator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lessThan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static let lessThanEqualTo: Self = "<="
16 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Statement/Sources/Statement/Operators/ComparisonOperator.swift:12:16: warning: static property 'greaterThan' is not concurrency-safe because non-'Sendable' type 'ComparisonOperator' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct ComparisonOperator: ExpressibleByStringLiteral, Equatable {
| `- note: consider making struct 'ComparisonOperator' conform to the 'Sendable' protocol
2 | public let rawValue: String
3 |
:
10 | static let equal: Self = "="
11 | static let notEqual: Self = "<>"
12 | static let greaterThan: Self = ">"
| |- warning: static property 'greaterThan' is not concurrency-safe because non-'Sendable' type 'ComparisonOperator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'greaterThan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | static let greaterThanEqualTo: Self = ">="
14 | static let lessThan: Self = "<"
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/SQLite/SQLiteEntry.swift:38:16: warning: static property 'instance' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension SQLiteEntry {
38 | static var instance: SQLiteEntry = { SQLiteEntry() }()
| |- warning: static property 'instance' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | static var id: Attribute { instance["id"]! }
40 | static var date: Attribute { instance["date"]! }
[118/127] Compiling Occurrence Logger+Entry.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/Logger+Entry.swift:7:27: warning: static property 'gmtDateFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
5 | struct Entry: Codable, CustomStringConvertible {
6 |
7 | public static var gmtDateFormatter: DateFormatter = {
| |- warning: static property 'gmtDateFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'gmtDateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'gmtDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | let formatter = DateFormatter()
9 | formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"
[119/127] Compiling Occurrence Logger+Filter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/Logger+Entry.swift:7:27: warning: static property 'gmtDateFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
5 | struct Entry: Codable, CustomStringConvertible {
6 |
7 | public static var gmtDateFormatter: DateFormatter = {
| |- warning: static property 'gmtDateFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'gmtDateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'gmtDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | let formatter = DateFormatter()
9 | formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"
[120/127] Compiling Occurrence Logger+Occurrence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/Logger+Entry.swift:7:27: warning: static property 'gmtDateFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
5 | struct Entry: Codable, CustomStringConvertible {
6 |
7 | public static var gmtDateFormatter: DateFormatter = {
| |- warning: static property 'gmtDateFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'gmtDateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'gmtDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | let formatter = DateFormatter()
9 | formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"
[121/127] Compiling Occurrence CoreDataLogProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/LogModel.swift:8:16: warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
6 | case version_1_0_0
7 |
8 | static var `default`: LogModel = .version_1_0_0
| |- warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | var managedObjectModel: NSManagedObjectModel {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/Logger+Subsystem.swift:49:16: warning: static property 'occurrence' is not concurrency-safe because non-'Sendable' type 'Logger.Subsystem' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// }
13 | /// ```
14 | struct Subsystem: ExpressibleByStringLiteral, Codable, Hashable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Subsystem' conform to the 'Sendable' protocol
15 | public let rawValue: String
16 |
:
47 | extension Logger.Subsystem {
48 | /// The **Occurrence** package subsystem.
49 | static let occurrence: Self = "com.richardpiazza.occurrence"
| |- warning: static property 'occurrence' is not concurrency-safe because non-'Sendable' type 'Logger.Subsystem' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'occurrence' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/LogModel.swift:20:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Version_1_0_0' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | class Version_1_0_0: NSManagedObjectModel, NSSecureCoding {
| `- note: class 'Version_1_0_0' does not conform to the 'Sendable' protocol
18 | /// Provide a singular instance of the model to be referenced. There is a known issue where when referencing
19 | /// a model in an app target, as well as unit tests, a model - and therefore its entities - can be loaded twice.
20 | static let instance: Version_1_0_0 = Version_1_0_0()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Version_1_0_0' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | static var supportsSecureCoding: Bool { true }
[122/127] Compiling Occurrence LogModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/LogModel.swift:8:16: warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
6 | case version_1_0_0
7 |
8 | static var `default`: LogModel = .version_1_0_0
| |- warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | var managedObjectModel: NSManagedObjectModel {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/Logger+Subsystem.swift:49:16: warning: static property 'occurrence' is not concurrency-safe because non-'Sendable' type 'Logger.Subsystem' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// }
13 | /// ```
14 | struct Subsystem: ExpressibleByStringLiteral, Codable, Hashable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Subsystem' conform to the 'Sendable' protocol
15 | public let rawValue: String
16 |
:
47 | extension Logger.Subsystem {
48 | /// The **Occurrence** package subsystem.
49 | static let occurrence: Self = "com.richardpiazza.occurrence"
| |- warning: static property 'occurrence' is not concurrency-safe because non-'Sendable' type 'Logger.Subsystem' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'occurrence' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/LogModel.swift:20:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Version_1_0_0' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | class Version_1_0_0: NSManagedObjectModel, NSSecureCoding {
| `- note: class 'Version_1_0_0' does not conform to the 'Sendable' protocol
18 | /// Provide a singular instance of the model to be referenced. There is a known issue where when referencing
19 | /// a model in an app target, as well as unit tests, a model - and therefore its entities - can be loaded twice.
20 | static let instance: Version_1_0_0 = Version_1_0_0()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Version_1_0_0' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | static var supportsSecureCoding: Bool { true }
[123/127] Compiling Occurrence Logger.Filter+Predicate.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/LogModel.swift:8:16: warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
6 | case version_1_0_0
7 |
8 | static var `default`: LogModel = .version_1_0_0
| |- warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | var managedObjectModel: NSManagedObjectModel {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/Logger+Subsystem.swift:49:16: warning: static property 'occurrence' is not concurrency-safe because non-'Sendable' type 'Logger.Subsystem' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// }
13 | /// ```
14 | struct Subsystem: ExpressibleByStringLiteral, Codable, Hashable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Subsystem' conform to the 'Sendable' protocol
15 | public let rawValue: String
16 |
:
47 | extension Logger.Subsystem {
48 | /// The **Occurrence** package subsystem.
49 | static let occurrence: Self = "com.richardpiazza.occurrence"
| |- warning: static property 'occurrence' is not concurrency-safe because non-'Sendable' type 'Logger.Subsystem' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'occurrence' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/LogModel.swift:20:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Version_1_0_0' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | class Version_1_0_0: NSManagedObjectModel, NSSecureCoding {
| `- note: class 'Version_1_0_0' does not conform to the 'Sendable' protocol
18 | /// Provide a singular instance of the model to be referenced. There is a known issue where when referencing
19 | /// a model in an app target, as well as unit tests, a model - and therefore its entities - can be loaded twice.
20 | static let instance: Version_1_0_0 = Version_1_0_0()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Version_1_0_0' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | static var supportsSecureCoding: Bool { true }
[124/127] Compiling Occurrence ManagedEntry.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/LogModel.swift:8:16: warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
6 | case version_1_0_0
7 |
8 | static var `default`: LogModel = .version_1_0_0
| |- warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | var managedObjectModel: NSManagedObjectModel {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/Logger+Subsystem.swift:49:16: warning: static property 'occurrence' is not concurrency-safe because non-'Sendable' type 'Logger.Subsystem' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// }
13 | /// ```
14 | struct Subsystem: ExpressibleByStringLiteral, Codable, Hashable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Subsystem' conform to the 'Sendable' protocol
15 | public let rawValue: String
16 |
:
47 | extension Logger.Subsystem {
48 | /// The **Occurrence** package subsystem.
49 | static let occurrence: Self = "com.richardpiazza.occurrence"
| |- warning: static property 'occurrence' is not concurrency-safe because non-'Sendable' type 'Logger.Subsystem' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'occurrence' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/LogModel.swift:20:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Version_1_0_0' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | class Version_1_0_0: NSManagedObjectModel, NSSecureCoding {
| `- note: class 'Version_1_0_0' does not conform to the 'Sendable' protocol
18 | /// Provide a singular instance of the model to be referenced. There is a known issue where when referencing
19 | /// a model in an app target, as well as unit tests, a model - and therefore its entities - can be loaded twice.
20 | static let instance: Version_1_0_0 = Version_1_0_0()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Version_1_0_0' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | static var supportsSecureCoding: Bool { true }
[125/127] Compiling Occurrence SQLiteLogProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/Logger+Subsystem.swift:49:16: warning: static property 'occurrence' is not concurrency-safe because non-'Sendable' type 'Logger.Subsystem' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// }
13 | /// ```
14 | struct Subsystem: ExpressibleByStringLiteral, Codable, Hashable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Subsystem' conform to the 'Sendable' protocol
15 | public let rawValue: String
16 |
:
47 | extension Logger.Subsystem {
48 | /// The **Occurrence** package subsystem.
49 | static let occurrence: Self = "com.richardpiazza.occurrence"
| |- warning: static property 'occurrence' is not concurrency-safe because non-'Sendable' type 'Logger.Subsystem' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'occurrence' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Statement/Sources/Statement/Operators/LogicalOperator.swift:13:16: warning: static property 'asc' is not concurrency-safe because non-'Sendable' type 'LogicalOperator' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct LogicalOperator: ExpressibleByStringLiteral, Equatable {
| `- note: consider making struct 'LogicalOperator' conform to the 'Sendable' protocol
2 | public let rawValue: String
3 |
:
11 | static let and: Self = "AND"
12 | static let any: Self = "ANY"
13 | static let asc: Self = "ASC"
| |- warning: static property 'asc' is not concurrency-safe because non-'Sendable' type 'LogicalOperator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'asc' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | static let between: Self = "BETWEEN"
15 | static let desc: Self = "DESC"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Statement/Sources/Statement/Operators/LogicalOperator.swift:15:16: warning: static property 'desc' is not concurrency-safe because non-'Sendable' type 'LogicalOperator' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct LogicalOperator: ExpressibleByStringLiteral, Equatable {
| `- note: consider making struct 'LogicalOperator' conform to the 'Sendable' protocol
2 | public let rawValue: String
3 |
:
13 | static let asc: Self = "ASC"
14 | static let between: Self = "BETWEEN"
15 | static let desc: Self = "DESC"
| |- warning: static property 'desc' is not concurrency-safe because non-'Sendable' type 'LogicalOperator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'desc' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static let exists: Self = "EXISTS"
17 | static let `in`: Self = "IN"
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/SQLite/SQLiteEntry.swift:38:16: warning: static property 'instance' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension SQLiteEntry {
38 | static var instance: SQLiteEntry = { SQLiteEntry() }()
| |- warning: static property 'instance' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | static var id: Attribute { instance["id"]! }
40 | static var date: Attribute { instance["date"]! }
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:32:23: warning: static property 'logProvider' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
31 |
32 | public static var logProvider: LogProvider = {
| |- warning: static property 'logProvider' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | do {
34 | #if canImport(CoreData)
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:30:23: warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
| |- warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logStreamer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public static var logProvider: LogProvider = {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/LogStreamer.swift:7:17: note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
5 | #endif
6 |
7 | public protocol LogStreamer {
| `- note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
8 | /// `AsyncStream` which emits log entries.
9 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/SwiftUI/LogView.swift:336:16: warning: static property 'sub1' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
334 |
335 | private extension Logger.Subsystem {
336 | static var sub1: Logger.Subsystem = "package.diagnostics"
| |- warning: static property 'sub1' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sub1' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sub1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
337 | static var sub2: Logger.Subsystem = "app.iOS"
338 | }
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/SwiftUI/LogView.swift:337:16: warning: static property 'sub2' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
335 | private extension Logger.Subsystem {
336 | static var sub1: Logger.Subsystem = "package.diagnostics"
337 | static var sub2: Logger.Subsystem = "app.iOS"
| |- warning: static property 'sub2' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sub2' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sub2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | }
339 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/Logger+Entry.swift:7:27: warning: static property 'gmtDateFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
5 | struct Entry: Codable, CustomStringConvertible {
6 |
7 | public static var gmtDateFormatter: DateFormatter = {
| |- warning: static property 'gmtDateFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'gmtDateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'gmtDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | let formatter = DateFormatter()
9 | formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"
[126/127] Compiling Occurrence OccurrenceLogStreamer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/Logger+Subsystem.swift:49:16: warning: static property 'occurrence' is not concurrency-safe because non-'Sendable' type 'Logger.Subsystem' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// }
13 | /// ```
14 | struct Subsystem: ExpressibleByStringLiteral, Codable, Hashable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Subsystem' conform to the 'Sendable' protocol
15 | public let rawValue: String
16 |
:
47 | extension Logger.Subsystem {
48 | /// The **Occurrence** package subsystem.
49 | static let occurrence: Self = "com.richardpiazza.occurrence"
| |- warning: static property 'occurrence' is not concurrency-safe because non-'Sendable' type 'Logger.Subsystem' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'occurrence' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Statement/Sources/Statement/Operators/LogicalOperator.swift:13:16: warning: static property 'asc' is not concurrency-safe because non-'Sendable' type 'LogicalOperator' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct LogicalOperator: ExpressibleByStringLiteral, Equatable {
| `- note: consider making struct 'LogicalOperator' conform to the 'Sendable' protocol
2 | public let rawValue: String
3 |
:
11 | static let and: Self = "AND"
12 | static let any: Self = "ANY"
13 | static let asc: Self = "ASC"
| |- warning: static property 'asc' is not concurrency-safe because non-'Sendable' type 'LogicalOperator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'asc' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | static let between: Self = "BETWEEN"
15 | static let desc: Self = "DESC"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Statement/Sources/Statement/Operators/LogicalOperator.swift:15:16: warning: static property 'desc' is not concurrency-safe because non-'Sendable' type 'LogicalOperator' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct LogicalOperator: ExpressibleByStringLiteral, Equatable {
| `- note: consider making struct 'LogicalOperator' conform to the 'Sendable' protocol
2 | public let rawValue: String
3 |
:
13 | static let asc: Self = "ASC"
14 | static let between: Self = "BETWEEN"
15 | static let desc: Self = "DESC"
| |- warning: static property 'desc' is not concurrency-safe because non-'Sendable' type 'LogicalOperator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'desc' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static let exists: Self = "EXISTS"
17 | static let `in`: Self = "IN"
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/SQLite/SQLiteEntry.swift:38:16: warning: static property 'instance' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension SQLiteEntry {
38 | static var instance: SQLiteEntry = { SQLiteEntry() }()
| |- warning: static property 'instance' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | static var id: Attribute { instance["id"]! }
40 | static var date: Attribute { instance["date"]! }
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:32:23: warning: static property 'logProvider' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
31 |
32 | public static var logProvider: LogProvider = {
| |- warning: static property 'logProvider' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | do {
34 | #if canImport(CoreData)
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:30:23: warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
| |- warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logStreamer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public static var logProvider: LogProvider = {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/LogStreamer.swift:7:17: note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
5 | #endif
6 |
7 | public protocol LogStreamer {
| `- note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
8 | /// `AsyncStream` which emits log entries.
9 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/SwiftUI/LogView.swift:336:16: warning: static property 'sub1' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
334 |
335 | private extension Logger.Subsystem {
336 | static var sub1: Logger.Subsystem = "package.diagnostics"
| |- warning: static property 'sub1' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sub1' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sub1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
337 | static var sub2: Logger.Subsystem = "app.iOS"
338 | }
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/SwiftUI/LogView.swift:337:16: warning: static property 'sub2' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
335 | private extension Logger.Subsystem {
336 | static var sub1: Logger.Subsystem = "package.diagnostics"
337 | static var sub2: Logger.Subsystem = "app.iOS"
| |- warning: static property 'sub2' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sub2' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sub2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | }
339 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/Logger+Entry.swift:7:27: warning: static property 'gmtDateFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
5 | struct Entry: Codable, CustomStringConvertible {
6 |
7 | public static var gmtDateFormatter: DateFormatter = {
| |- warning: static property 'gmtDateFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'gmtDateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'gmtDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | let formatter = DateFormatter()
9 | formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"
[127/127] Compiling Occurrence LogView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/Logger+Subsystem.swift:49:16: warning: static property 'occurrence' is not concurrency-safe because non-'Sendable' type 'Logger.Subsystem' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// }
13 | /// ```
14 | struct Subsystem: ExpressibleByStringLiteral, Codable, Hashable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Subsystem' conform to the 'Sendable' protocol
15 | public let rawValue: String
16 |
:
47 | extension Logger.Subsystem {
48 | /// The **Occurrence** package subsystem.
49 | static let occurrence: Self = "com.richardpiazza.occurrence"
| |- warning: static property 'occurrence' is not concurrency-safe because non-'Sendable' type 'Logger.Subsystem' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'occurrence' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Statement/Sources/Statement/Operators/LogicalOperator.swift:13:16: warning: static property 'asc' is not concurrency-safe because non-'Sendable' type 'LogicalOperator' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct LogicalOperator: ExpressibleByStringLiteral, Equatable {
| `- note: consider making struct 'LogicalOperator' conform to the 'Sendable' protocol
2 | public let rawValue: String
3 |
:
11 | static let and: Self = "AND"
12 | static let any: Self = "ANY"
13 | static let asc: Self = "ASC"
| |- warning: static property 'asc' is not concurrency-safe because non-'Sendable' type 'LogicalOperator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'asc' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | static let between: Self = "BETWEEN"
15 | static let desc: Self = "DESC"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Statement/Sources/Statement/Operators/LogicalOperator.swift:15:16: warning: static property 'desc' is not concurrency-safe because non-'Sendable' type 'LogicalOperator' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct LogicalOperator: ExpressibleByStringLiteral, Equatable {
| `- note: consider making struct 'LogicalOperator' conform to the 'Sendable' protocol
2 | public let rawValue: String
3 |
:
13 | static let asc: Self = "ASC"
14 | static let between: Self = "BETWEEN"
15 | static let desc: Self = "DESC"
| |- warning: static property 'desc' is not concurrency-safe because non-'Sendable' type 'LogicalOperator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'desc' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static let exists: Self = "EXISTS"
17 | static let `in`: Self = "IN"
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/SQLite/SQLiteEntry.swift:38:16: warning: static property 'instance' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension SQLiteEntry {
38 | static var instance: SQLiteEntry = { SQLiteEntry() }()
| |- warning: static property 'instance' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | static var id: Attribute { instance["id"]! }
40 | static var date: Attribute { instance["date"]! }
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:32:23: warning: static property 'logProvider' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
31 |
32 | public static var logProvider: LogProvider = {
| |- warning: static property 'logProvider' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | do {
34 | #if canImport(CoreData)
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:30:23: warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
| |- warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logStreamer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public static var logProvider: LogProvider = {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/LogStreamer.swift:7:17: note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
5 | #endif
6 |
7 | public protocol LogStreamer {
| `- note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
8 | /// `AsyncStream` which emits log entries.
9 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/SwiftUI/LogView.swift:336:16: warning: static property 'sub1' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
334 |
335 | private extension Logger.Subsystem {
336 | static var sub1: Logger.Subsystem = "package.diagnostics"
| |- warning: static property 'sub1' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sub1' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sub1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
337 | static var sub2: Logger.Subsystem = "app.iOS"
338 | }
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/SwiftUI/LogView.swift:337:16: warning: static property 'sub2' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
335 | private extension Logger.Subsystem {
336 | static var sub1: Logger.Subsystem = "package.diagnostics"
337 | static var sub2: Logger.Subsystem = "app.iOS"
| |- warning: static property 'sub2' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sub2' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sub2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | }
339 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/Logger+Entry.swift:7:27: warning: static property 'gmtDateFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
5 | struct Entry: Codable, CustomStringConvertible {
6 |
7 | public static var gmtDateFormatter: DateFormatter = {
| |- warning: static property 'gmtDateFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'gmtDateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'gmtDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | let formatter = DateFormatter()
9 | formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"
Build complete! (47.57s)
Fetching https://github.com/stephencelis/SQLite.swift.git
Fetching https://github.com/richardpiazza/Statement.git
Fetching https://github.com/apple/swift-log.git
[1/709] Fetching statement
[136/4070] Fetching statement, swift-log
[830/13594] Fetching statement, swift-log, sqlite.swift
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (1.52s)
Fetched https://github.com/richardpiazza/Statement.git from cache (1.52s)
Fetched https://github.com/apple/swift-log.git from cache (1.52s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.14.1 (0.70s)
Computing version for https://github.com/richardpiazza/Statement.git
Computed https://github.com/richardpiazza/Statement.git at 0.7.2 (0.67s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.66s)
Creating working copy for https://github.com/richardpiazza/Statement.git
Working copy of https://github.com/richardpiazza/Statement.git resolved at 0.7.2
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.4
Creating working copy for https://github.com/stephencelis/SQLite.swift.git
Working copy of https://github.com/stephencelis/SQLite.swift.git resolved at 0.14.1
Build complete.
{
"dependencies" : [
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "statement",
"requirement" : {
"range" : [
{
"lower_bound" : "0.7.2",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/richardpiazza/Statement.git"
},
{
"identity" : "sqlite.swift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.14.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/stephencelis/SQLite.swift.git"
}
],
"manifest_display_name" : "Occurrence",
"name" : "Occurrence",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "maccatalyst",
"version" : "15.0"
},
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "Occurrence",
"targets" : [
"Occurrence"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "OccurrenceTests",
"module_type" : "SwiftTarget",
"name" : "OccurrenceTests",
"path" : "Tests/OccurrenceTests",
"product_dependencies" : [
"Logging"
],
"sources" : [
"CoreDataLogProviderTests.swift",
"LogProviderTestCase.swift",
"LogStreamerTests.swift",
"LoggableErrorTests.swift",
"LoggerMetadataTests.swift",
"OccurrenceTests.swift",
"RedactionTests.swift",
"SQLiteLogProviderTests.swift"
],
"target_dependencies" : [
"Occurrence"
],
"type" : "test"
},
{
"c99name" : "Occurrence",
"module_type" : "SwiftTarget",
"name" : "Occurrence",
"path" : "Sources/Occurrence",
"product_dependencies" : [
"Logging",
"Statement",
"StatementSQLite",
"SQLite"
],
"product_memberships" : [
"Occurrence"
],
"sources" : [
"CoreData/CoreDataLogProvider.swift",
"CoreData/LogModel.swift",
"CoreData/Logger.Filter+Predicate.swift",
"CoreData/ManagedEntry.swift",
"Extensions/Array+Occurrence.swift",
"Extensions/CocoaError+Occurrence.swift",
"Extensions/DecodingError+Occurrence.swift",
"Extensions/Dictionary+Occurrence.swift",
"Extensions/EncodingError+Occurrence.swift",
"Extensions/FileManager+Occurrence.swift",
"Extensions/Logger+Entry.swift",
"Extensions/Logger+Filter.swift",
"Extensions/Logger+Occurrence.swift",
"Extensions/Logger+Subsystem.swift",
"Extensions/Logger.Level+Occurrence.swift",
"Extensions/Logger.Message+Occurrence.swift",
"Extensions/Logger.Metadata+Occurrence.swift",
"Extensions/Logger.MetadataKey.swift",
"Extensions/Logger.MetadataValue+Occurrence.swift",
"Extensions/URLError+Occurrence.swift",
"LazyLogger.swift",
"LogProvider.swift",
"LogStreamer.swift",
"LoggableError.swift",
"Occurrence.swift",
"SQLite/Logger.Filter+Where.swift",
"SQLite/SQLiteEntry+Mapping.swift",
"SQLite/SQLiteEntry.swift",
"SQLite/SQLiteLogProvider.swift",
"Streamer/OccurrenceLogStreamer.swift",
"SwiftUI/LogView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Done.