Build Information
Successful build of Occurrence, reference main (96c842), with Swift 6.0 for macOS (SPM) on 9 Oct 2025 21:06:09 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.68.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 96c8420 RetroactiveAttribute Check (#27)
Cloned https://github.com/richardpiazza/Occurrence.git
Revision (git rev-parse @):
96c84200150d1b5c7d77dff1de88eafcc1ded40d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/richardpiazza/Occurrence.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/richardpiazza/Occurrence.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-5BDAB9E9C0126B9D.txt
[7/71] Compiling Logging MetadataProvider.swift
[8/71] Compiling Logging LogHandler.swift
[9/71] Compiling Logging Locks.swift
[10/71] Compiling Logging Logging.swift
[11/71] Emitting module Logging
[12/71] Compiling SQLite Backup.swift
[13/71] Compiling SQLite Blob.swift
[14/71] Compiling SQLite Connection+Aggregation.swift
[15/73] Emitting module Statement
[16/73] Emitting module SQLite
[17/76] Compiling Statement LogicalPredicate.swift
[18/76] Compiling Statement Segment.swift
[19/76] Compiling SQLite Connection+Attach.swift
[20/76] Compiling SQLite Connection+Pragmas.swift
[21/76] Compiling SQLite Connection.swift
[22/76] Compiling SQLite Errors.swift
[23/76] Compiling SQLite Result.swift
[24/76] Compiling SQLite SchemaReader.swift
[25/76] Compiling SQLite AggregateFunctions.swift
[26/76] Compiling SQLite Coding.swift
[27/76] Compiling SQLite FTS4.swift
[28/76] Compiling SQLite FTS5.swift
[29/76] Compiling SQLite RTree.swift
[30/76] Compiling SQLite URIQueryParameter.swift
[31/76] Compiling SQLite Value.swift
[32/76] Compiling SQLite Cipher.swift
[33/76] Compiling SQLite Foundation.swift
[34/76] Compiling SQLite Helpers.swift
[35/76] Compiling SQLite SQLiteFeature.swift
[36/76] Compiling SQLite SQLiteVersion.swift
[37/76] Compiling SQLite Statement.swift
[38/76] Compiling SQLite Connection+Schema.swift
[39/76] Compiling SQLite SchemaChanger.swift
[40/76] Compiling SQLite SchemaDefinitions.swift
[61/95] Compiling SQLite Schema.swift
[62/95] Compiling SQLite Setter.swift
[63/95] Compiling SQLite WindowFunctions.swift
[64/95] Compiling SQLite CustomFunctions.swift
[65/95] Compiling SQLite DateAndTimeFunctions.swift
[66/95] Compiling SQLite Expression.swift
[74/95] Compiling SQLite Operators.swift
[75/95] Compiling SQLite Query+with.swift
[76/95] Compiling SQLite Query.swift
[77/95] Compiling StatementSQLite SelectContext.swift
[78/95] Compiling StatementSQLite SetContext.swift
[79/96] Compiling StatementSQLite DeleteContext.swift
[80/96] Compiling StatementSQLite Field+SQLite.swift
[81/96] Compiling StatementSQLite InsertContext.swift
[82/96] Compiling StatementSQLite JoinContext.swift
[83/96] Compiling StatementSQLite LimitContext.swift
[84/96] Compiling StatementSQLite OrderContext.swift
[85/96] Compiling StatementSQLite SQLiteStatement.swift
[86/96] Compiling StatementSQLite Segment+SQLite.swift
[87/96] Compiling StatementSQLite FromContext.swift
[88/96] Compiling StatementSQLite HavingContext.swift
[89/96] Compiling StatementSQLite UpdateContext.swift
[90/96] Compiling StatementSQLite ValuesContext.swift
[91/96] Emitting module StatementSQLite
[92/96] Compiling StatementSQLite AlterTableContext.swift
[93/96] Compiling StatementSQLite CreateContext.swift
[94/96] Compiling StatementSQLite DataType+SQLite.swift
[95/96] Compiling StatementSQLite DataTypeConvertible+SQLite.swift
[96/96] Compiling StatementSQLite WhereContext.swift
[97/125] 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 nonisolated 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 nonisolated 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/Occurrence.swift:11:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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)
[98/128] Compiling Occurrence Logger.Filter+Where.swift
[99/128] Compiling Occurrence SQLiteEntry+Mapping.swift
[100/128] Compiling Occurrence SQLiteEntry.swift
[101/128] Compiling Occurrence URLError+Occurrence.swift
[102/128] Compiling Occurrence LazyLogger.swift
[103/128] Compiling Occurrence LogProvider.swift
[104/128] Compiling Occurrence Logger+Subsystem.swift
[105/128] Compiling Occurrence Logger.Level+Occurrence.swift
[106/128] Compiling Occurrence Logger.Message+Occurrence.swift
[107/128] Compiling Occurrence Logger.Metadata+Occurrence.swift
[108/128] Compiling Occurrence Logger.MetadataKey.swift
[109/128] Compiling Occurrence Logger.MetadataValue+Occurrence.swift
[110/128] Compiling Occurrence Dictionary+Occurrence.swift
[111/128] Compiling Occurrence EncodingError+Occurrence.swift
[112/128] Compiling Occurrence FileManager+Occurrence.swift
[113/128] 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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:26:44: warning: converting non-sendable function value to '@Sendable (String, Logger.MetadataProvider?) -> any LogHandler' may introduce data races
24 | }
25 |
26 | LoggingSystem.bootstrap(Occurrence.init, metadataProvider: metadataProvider)
| `- warning: converting non-sendable function value to '@Sendable (String, Logger.MetadataProvider?) -> any LogHandler' may introduce data races
27 | bootstrapped = true
28 | }
[114/128] 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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:26:44: warning: converting non-sendable function value to '@Sendable (String, Logger.MetadataProvider?) -> any LogHandler' may introduce data races
24 | }
25 |
26 | LoggingSystem.bootstrap(Occurrence.init, metadataProvider: metadataProvider)
| `- warning: converting non-sendable function value to '@Sendable (String, Logger.MetadataProvider?) -> any LogHandler' may introduce data races
27 | bootstrapped = true
28 | }
[115/128] 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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:26:44: warning: converting non-sendable function value to '@Sendable (String, Logger.MetadataProvider?) -> any LogHandler' may introduce data races
24 | }
25 |
26 | LoggingSystem.bootstrap(Occurrence.init, metadataProvider: metadataProvider)
| `- warning: converting non-sendable function value to '@Sendable (String, Logger.MetadataProvider?) -> any LogHandler' may introduce data races
27 | bootstrapped = true
28 | }
[116/128] Compiling Occurrence Logger+Entry.swift
[117/128] Compiling Occurrence Logger+Filter.swift
[118/128] Compiling Occurrence Logger+Occurrence.swift
[119/128] Compiling Occurrence Array+Occurrence.swift
[120/128] Compiling Occurrence CocoaError+Occurrence.swift
[121/128] Compiling Occurrence DecodingError+Occurrence.swift
[122/128] 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 nonisolated 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 nonisolated 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 }
[123/128] 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 nonisolated 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 nonisolated 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 }
[124/128] 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 nonisolated 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 nonisolated 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 }
[125/128] 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 nonisolated 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 nonisolated 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 }
[126/128] Compiling Occurrence SQLiteLogProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:32:23: warning: static property 'logProvider' is not concurrency-safe because it is nonisolated 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 nonisolated 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:103:41: warning: 'publisher' is deprecated: Use `AsyncStream` variant.
101 | }
102 |
103 | liveSubscription = streamer.publisher
| `- warning: 'publisher' is deprecated: Use `AsyncStream` variant.
104 | .filter { $0.matchesFilter(filter) }
105 | .receive(on: DispatchQueue.main)
[127/128] Compiling Occurrence OccurrenceLogStreamer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:32:23: warning: static property 'logProvider' is not concurrency-safe because it is nonisolated 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 nonisolated 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:103:41: warning: 'publisher' is deprecated: Use `AsyncStream` variant.
101 | }
102 |
103 | liveSubscription = streamer.publisher
| `- warning: 'publisher' is deprecated: Use `AsyncStream` variant.
104 | .filter { $0.matchesFilter(filter) }
105 | .receive(on: DispatchQueue.main)
[128/128] Compiling Occurrence LogView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:32:23: warning: static property 'logProvider' is not concurrency-safe because it is nonisolated 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 nonisolated 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:103:41: warning: 'publisher' is deprecated: Use `AsyncStream` variant.
101 | }
102 |
103 | liveSubscription = streamer.publisher
| `- warning: 'publisher' is deprecated: Use `AsyncStream` variant.
104 | .filter { $0.matchesFilter(filter) }
105 | .receive(on: DispatchQueue.main)
Build complete! (20.35s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/richardpiazza/Statement.git
Fetching https://github.com/stephencelis/SQLite.swift.git
[1/744] Fetching statement
[262/4677] Fetching statement, swift-log
[981/14764] Fetching statement, swift-log, sqlite.swift
Fetched https://github.com/richardpiazza/Statement.git from cache (1.48s)
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (1.48s)
Fetched https://github.com/apple/swift-log.git from cache (1.48s)
Computing version for https://github.com/richardpiazza/Statement.git
Computed https://github.com/richardpiazza/Statement.git at 0.8.1 (0.44s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.47s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.15.4 (0.67s)
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
[1/181] Fetching swift-toolchain-sqlite
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (1.22s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.4 (0.45s)
Creating working copy for https://github.com/stephencelis/SQLite.swift.git
Working copy of https://github.com/stephencelis/SQLite.swift.git resolved at 0.15.4
Creating working copy for https://github.com/swiftlang/swift-toolchain-sqlite
Working copy of https://github.com/swiftlang/swift-toolchain-sqlite resolved at 1.0.4
Creating working copy for https://github.com/richardpiazza/Statement.git
Working copy of https://github.com/richardpiazza/Statement.git resolved at 0.8.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
warning: 'sqlite.swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/PrivacyInfo.xcprivacy
Build complete.
{
"dependencies" : [
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "statement",
"requirement" : {
"range" : [
{
"lower_bound" : "0.8.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/richardpiazza/Statement.git"
},
{
"identity" : "sqlite.swift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.15.3",
"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" : "13.0"
},
{
"name" : "maccatalyst",
"version" : "16.0"
},
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "tvos",
"version" : "16.0"
},
{
"name" : "watchos",
"version" : "9.0"
},
{
"name" : "visionos",
"version" : "1.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.9"
}
Done.