Build Information
Successful build of Occurrence with Swift 6.0 for Linux.
Swift 6 data race errors: 9
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
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: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/richardpiazza/Occurrence.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/richardpiazza/Statement.git
Fetching https://github.com/stephencelis/SQLite.swift.git
Fetching https://github.com/apple/swift-log.git
[1/709] Fetching statement
[710/4070] Fetching statement, swift-log
[912/13594] Fetching statement, swift-log, sqlite.swift
Fetched https://github.com/richardpiazza/Statement.git from cache (0.97s)
Fetched https://github.com/apple/swift-log.git from cache (0.98s)
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (0.99s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.14.1 (0.83s)
Fetching https://github.com/stephencelis/CSQLite.git
[1/19] Fetching csqlite
Fetched https://github.com/stephencelis/CSQLite.git from cache (0.25s)
Computing version for https://github.com/richardpiazza/Statement.git
Computed https://github.com/richardpiazza/Statement.git at 0.7.2 (0.52s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.52s)
Computing version for https://github.com/stephencelis/CSQLite.git
Computed https://github.com/stephencelis/CSQLite.git at 0.0.3 (1.35s)
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
Creating working copy for https://github.com/stephencelis/CSQLite.git
Working copy of https://github.com/stephencelis/CSQLite.git resolved at 0.0.3
Creating working copy for https://github.com/richardpiazza/Statement.git
Working copy of https://github.com/richardpiazza/Statement.git resolved at 0.7.2
warning: 'csqlite': ignoring declared target(s) 'CSQLite' in the system package
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/68] Emitting module Statement
[8/71] Compiling Logging LogHandler.swift
[9/71] Emitting module Logging
[10/71] Compiling Logging Logging.swift
[11/71] Compiling Logging Locks.swift
[12/71] Compiling Logging MetadataProvider.swift
[14/72] Compiling Statement ComparisonPredicate.swift
[15/72] Compiling Statement ConjunctivePredicate.swift
[16/72] Compiling SQLite AggregateFunctions.swift
[17/72] Compiling Statement StatementSyntax.swift
[18/72] Compiling Statement StructuredStatement.swift
[19/72] Compiling Statement Clause.swift
[20/72] Compiling Statement AttributeConvertible.swift
[21/72] Compiling Statement DataType.swift
[22/72] Compiling SQLite FTS5.swift
[23/72] Compiling SQLite RTree.swift
[24/72] Compiling SQLite Foundation.swift
[25/72] Compiling SQLite Helpers.swift
[26/72] Compiling SQLite CustomFunctions.swift
[27/72] Compiling SQLite DateAndTimeFunctions.swift
[28/72] Compiling SQLite Expression.swift
[29/72] Compiling SQLite Operators.swift
[30/76] Compiling SQLite Backup.swift
[31/76] Compiling SQLite Blob.swift
[32/76] Compiling SQLite Connection+Aggregation.swift
[33/76] Compiling SQLite Connection+Attach.swift
[39/76] Compiling Statement Keyword.swift
[40/76] Compiling Statement LogicalPredicate.swift
[41/76] Compiling Statement Segment.swift
[42/76] Emitting module SQLite
[47/76] Compiling SQLite Connection+Pragmas.swift
[56/76] Compiling SQLite Connection.swift
[57/76] Compiling SQLite Errors.swift
[58/76] Compiling SQLite Result.swift
[59/76] Compiling Statement ClauseRenderer.swift
[60/76] Compiling Statement ComparisonRenderer.swift
[61/76] Compiling Statement ConjunctiveRenderer.swift
[62/76] Compiling Statement GroupRenderer.swift
[74/95] Emitting module StatementSQLite
[75/97] Compiling StatementSQLite SetContext.swift
[76/97] Compiling StatementSQLite UpdateContext.swift
[77/97] Compiling StatementSQLite Segment+SQLite.swift
[78/97] Compiling StatementSQLite SelectContext.swift
[79/97] Compiling StatementSQLite JoinContext.swift
[80/97] Compiling StatementSQLite LimitContext.swift
[81/97] Compiling StatementSQLite OrderContext.swift
[82/97] Compiling StatementSQLite SQLiteStatement.swift
[83/97] Compiling StatementSQLite ValuesContext.swift
[84/97] Compiling StatementSQLite WhereContext.swift
[85/97] Compiling StatementSQLite FromContext.swift
[86/97] Compiling StatementSQLite HavingContext.swift
[87/97] Compiling StatementSQLite InsertContext.swift
[88/97] Compiling StatementSQLite DataTypeConvertible+SQLite.swift
[89/97] Compiling StatementSQLite DeleteContext.swift
[90/97] Compiling StatementSQLite Field+SQLite.swift
[91/97] Compiling StatementSQLite AlterTableContext.swift
[92/97] Compiling StatementSQLite CreateContext.swift
[93/97] Compiling StatementSQLite DataType+SQLite.swift
[95/98] Compiling SQLite Query+with.swift
[96/98] Compiling SQLite Query.swift
[97/98] Compiling SQLite Schema.swift
[98/98] Compiling SQLite Setter.swift
[100/128] Emitting module Occurrence
/host/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 |
/host/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 |
/host/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'"
/host/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 |
/host/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())"
/host/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 |
/host/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`.
/host/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 = {
/host/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 | ///
/host/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)
/host/spi-builder-workspace/Sources/Occurrence/SQLite/SQLiteEntry+Mapping.swift:4:17: warning: let 'encoder' is not concurrency-safe because non-'Sendable' type 'JSONEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import Logging
3 |
4 | fileprivate let encoder = JSONEncoder()
| `- warning: let 'encoder' is not concurrency-safe because non-'Sendable' type 'JSONEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
5 | fileprivate let decoder = JSONDecoder()
6 |
Foundation.JSONEncoder:1:12: note: class 'JSONEncoder' does not conform to the 'Sendable' protocol
1 | open class JSONEncoder {
| `- note: class 'JSONEncoder' does not conform to the 'Sendable' protocol
2 | public struct OutputFormatting : OptionSet {
3 | public let rawValue: UInt
/host/spi-builder-workspace/Sources/Occurrence/SQLite/SQLiteEntry+Mapping.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 | import Logging
3 |
4 | fileprivate let encoder = JSONEncoder()
| |- note: annotate 'encoder' 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
5 | fileprivate let decoder = JSONDecoder()
6 |
/host/spi-builder-workspace/Sources/Occurrence/SQLite/SQLiteEntry+Mapping.swift:5:17: warning: let 'decoder' is not concurrency-safe because non-'Sendable' type 'JSONDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | fileprivate let encoder = JSONEncoder()
5 | fileprivate let decoder = JSONDecoder()
| |- warning: let 'decoder' is not concurrency-safe because non-'Sendable' type 'JSONDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decoder' 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
6 |
7 | extension SQLiteEntry {
Foundation.JSONDecoder:1:12: note: class 'JSONDecoder' does not conform to the 'Sendable' protocol
1 | open class JSONDecoder {
| `- note: class 'JSONDecoder' does not conform to the 'Sendable' protocol
2 | public enum DateDecodingStrategy {
3 | case deferredToDate
/host/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"]! }
[101/131] Compiling Occurrence Array+Occurrence.swift
/host/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 |
[102/131] Compiling Occurrence CocoaError+Occurrence.swift
/host/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 |
[103/131] Compiling Occurrence DecodingError+Occurrence.swift
/host/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 |
[104/131] Compiling Occurrence Dictionary+Occurrence.swift
/host/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 |
[105/131] Compiling Occurrence EncodingError+Occurrence.swift
/host/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 |
/host/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'"
[106/131] Compiling Occurrence FileManager+Occurrence.swift
/host/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 |
/host/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'"
[107/131] Compiling Occurrence Logger+Entry.swift
/host/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 |
/host/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'"
[108/131] Compiling Occurrence Logger+Filter.swift
/host/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 |
/host/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'"
[109/131] Compiling Occurrence CoreDataLogProvider.swift
[110/131] Compiling Occurrence LogModel.swift
[111/131] Compiling Occurrence Logger.Filter+Predicate.swift
[112/131] Compiling Occurrence ManagedEntry.swift
[113/131] Compiling Occurrence LazyLogger.swift
[114/131] Compiling Occurrence LogProvider.swift
[115/131] Compiling Occurrence LogStreamer.swift
[116/131] Compiling Occurrence LoggableError.swift
[117/131] Compiling Occurrence Logger.Metadata+Occurrence.swift
[118/131] Compiling Occurrence Logger.MetadataKey.swift
[119/131] Compiling Occurrence Logger.MetadataValue+Occurrence.swift
[120/131] Compiling Occurrence URLError+Occurrence.swift
[121/131] Compiling Occurrence Occurrence.swift
/host/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 |
/host/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`.
/host/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 = {
/host/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 | ///
/host/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)
/host/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 = ">"
/host/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"
/host/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 = "<="
/host/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 |
/host/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 = ">="
/host/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 | }
/host/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 = "<"
/host/spi-builder-workspace/Sources/Occurrence/SQLite/SQLiteEntry+Mapping.swift:4:17: warning: let 'encoder' is not concurrency-safe because non-'Sendable' type 'JSONEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import Logging
3 |
4 | fileprivate let encoder = JSONEncoder()
| `- warning: let 'encoder' is not concurrency-safe because non-'Sendable' type 'JSONEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
5 | fileprivate let decoder = JSONDecoder()
6 |
Foundation.JSONEncoder:1:12: note: class 'JSONEncoder' does not conform to the 'Sendable' protocol
1 | open class JSONEncoder {
| `- note: class 'JSONEncoder' does not conform to the 'Sendable' protocol
2 | public struct OutputFormatting : OptionSet {
3 | public let rawValue: UInt
/host/spi-builder-workspace/Sources/Occurrence/SQLite/SQLiteEntry+Mapping.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 | import Logging
3 |
4 | fileprivate let encoder = JSONEncoder()
| |- note: annotate 'encoder' 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
5 | fileprivate let decoder = JSONDecoder()
6 |
/host/spi-builder-workspace/Sources/Occurrence/SQLite/SQLiteEntry+Mapping.swift:5:17: warning: let 'decoder' is not concurrency-safe because non-'Sendable' type 'JSONDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | fileprivate let encoder = JSONEncoder()
5 | fileprivate let decoder = JSONDecoder()
| |- warning: let 'decoder' is not concurrency-safe because non-'Sendable' type 'JSONDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decoder' 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
6 |
7 | extension SQLiteEntry {
Foundation.JSONDecoder:1:12: note: class 'JSONDecoder' does not conform to the 'Sendable' protocol
1 | open class JSONDecoder {
| `- note: class 'JSONDecoder' does not conform to the 'Sendable' protocol
2 | public enum DateDecodingStrategy {
3 | case deferredToDate
/host/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"]! }
[122/131] Compiling Occurrence Logger.Filter+Where.swift
/host/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 |
/host/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`.
/host/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 = {
/host/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 | ///
/host/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)
/host/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 = ">"
/host/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"
/host/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 = "<="
/host/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 |
/host/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 = ">="
/host/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 | }
/host/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 = "<"
/host/spi-builder-workspace/Sources/Occurrence/SQLite/SQLiteEntry+Mapping.swift:4:17: warning: let 'encoder' is not concurrency-safe because non-'Sendable' type 'JSONEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import Logging
3 |
4 | fileprivate let encoder = JSONEncoder()
| `- warning: let 'encoder' is not concurrency-safe because non-'Sendable' type 'JSONEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
5 | fileprivate let decoder = JSONDecoder()
6 |
Foundation.JSONEncoder:1:12: note: class 'JSONEncoder' does not conform to the 'Sendable' protocol
1 | open class JSONEncoder {
| `- note: class 'JSONEncoder' does not conform to the 'Sendable' protocol
2 | public struct OutputFormatting : OptionSet {
3 | public let rawValue: UInt
/host/spi-builder-workspace/Sources/Occurrence/SQLite/SQLiteEntry+Mapping.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 | import Logging
3 |
4 | fileprivate let encoder = JSONEncoder()
| |- note: annotate 'encoder' 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
5 | fileprivate let decoder = JSONDecoder()
6 |
/host/spi-builder-workspace/Sources/Occurrence/SQLite/SQLiteEntry+Mapping.swift:5:17: warning: let 'decoder' is not concurrency-safe because non-'Sendable' type 'JSONDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | fileprivate let encoder = JSONEncoder()
5 | fileprivate let decoder = JSONDecoder()
| |- warning: let 'decoder' is not concurrency-safe because non-'Sendable' type 'JSONDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decoder' 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
6 |
7 | extension SQLiteEntry {
Foundation.JSONDecoder:1:12: note: class 'JSONDecoder' does not conform to the 'Sendable' protocol
1 | open class JSONDecoder {
| `- note: class 'JSONDecoder' does not conform to the 'Sendable' protocol
2 | public enum DateDecodingStrategy {
3 | case deferredToDate
/host/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"]! }
[123/131] Compiling Occurrence SQLiteEntry+Mapping.swift
/host/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 |
/host/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`.
/host/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 = {
/host/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 | ///
/host/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)
/host/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 = ">"
/host/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"
/host/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 = "<="
/host/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 |
/host/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 = ">="
/host/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 | }
/host/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 = "<"
/host/spi-builder-workspace/Sources/Occurrence/SQLite/SQLiteEntry+Mapping.swift:4:17: warning: let 'encoder' is not concurrency-safe because non-'Sendable' type 'JSONEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import Logging
3 |
4 | fileprivate let encoder = JSONEncoder()
| `- warning: let 'encoder' is not concurrency-safe because non-'Sendable' type 'JSONEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
5 | fileprivate let decoder = JSONDecoder()
6 |
Foundation.JSONEncoder:1:12: note: class 'JSONEncoder' does not conform to the 'Sendable' protocol
1 | open class JSONEncoder {
| `- note: class 'JSONEncoder' does not conform to the 'Sendable' protocol
2 | public struct OutputFormatting : OptionSet {
3 | public let rawValue: UInt
/host/spi-builder-workspace/Sources/Occurrence/SQLite/SQLiteEntry+Mapping.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 | import Logging
3 |
4 | fileprivate let encoder = JSONEncoder()
| |- note: annotate 'encoder' 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
5 | fileprivate let decoder = JSONDecoder()
6 |
/host/spi-builder-workspace/Sources/Occurrence/SQLite/SQLiteEntry+Mapping.swift:5:17: warning: let 'decoder' is not concurrency-safe because non-'Sendable' type 'JSONDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | fileprivate let encoder = JSONEncoder()
5 | fileprivate let decoder = JSONDecoder()
| |- warning: let 'decoder' is not concurrency-safe because non-'Sendable' type 'JSONDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decoder' 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
6 |
7 | extension SQLiteEntry {
Foundation.JSONDecoder:1:12: note: class 'JSONDecoder' does not conform to the 'Sendable' protocol
1 | open class JSONDecoder {
| `- note: class 'JSONDecoder' does not conform to the 'Sendable' protocol
2 | public enum DateDecodingStrategy {
3 | case deferredToDate
/host/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"]! }
[124/131] Compiling Occurrence SQLiteEntry.swift
/host/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 |
/host/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`.
/host/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 = {
/host/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 | ///
/host/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)
/host/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 = ">"
/host/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"
/host/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 = "<="
/host/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 |
/host/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 = ">="
/host/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 | }
/host/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 = "<"
/host/spi-builder-workspace/Sources/Occurrence/SQLite/SQLiteEntry+Mapping.swift:4:17: warning: let 'encoder' is not concurrency-safe because non-'Sendable' type 'JSONEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import Logging
3 |
4 | fileprivate let encoder = JSONEncoder()
| `- warning: let 'encoder' is not concurrency-safe because non-'Sendable' type 'JSONEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
5 | fileprivate let decoder = JSONDecoder()
6 |
Foundation.JSONEncoder:1:12: note: class 'JSONEncoder' does not conform to the 'Sendable' protocol
1 | open class JSONEncoder {
| `- note: class 'JSONEncoder' does not conform to the 'Sendable' protocol
2 | public struct OutputFormatting : OptionSet {
3 | public let rawValue: UInt
/host/spi-builder-workspace/Sources/Occurrence/SQLite/SQLiteEntry+Mapping.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 | import Logging
3 |
4 | fileprivate let encoder = JSONEncoder()
| |- note: annotate 'encoder' 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
5 | fileprivate let decoder = JSONDecoder()
6 |
/host/spi-builder-workspace/Sources/Occurrence/SQLite/SQLiteEntry+Mapping.swift:5:17: warning: let 'decoder' is not concurrency-safe because non-'Sendable' type 'JSONDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | fileprivate let encoder = JSONEncoder()
5 | fileprivate let decoder = JSONDecoder()
| |- warning: let 'decoder' is not concurrency-safe because non-'Sendable' type 'JSONDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decoder' 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
6 |
7 | extension SQLiteEntry {
Foundation.JSONDecoder:1:12: note: class 'JSONDecoder' does not conform to the 'Sendable' protocol
1 | open class JSONDecoder {
| `- note: class 'JSONDecoder' does not conform to the 'Sendable' protocol
2 | public enum DateDecodingStrategy {
3 | case deferredToDate
/host/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"]! }
[125/131] Compiling Occurrence Logger+Occurrence.swift
/host/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 |
/host/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())"
[126/131] Compiling Occurrence Logger+Subsystem.swift
/host/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 |
/host/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())"
[127/131] Compiling Occurrence Logger.Level+Occurrence.swift
/host/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 |
/host/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())"
[128/131] Compiling Occurrence Logger.Message+Occurrence.swift
/host/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 |
/host/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())"
[129/131] Compiling Occurrence SQLiteLogProvider.swift
/host/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 |
/host/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"
/host/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"
/host/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"]! }
[130/131] Compiling Occurrence OccurrenceLogStreamer.swift
/host/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 |
/host/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"
/host/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"
/host/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"]! }
[131/131] Compiling Occurrence LogView.swift
/host/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 |
/host/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"
/host/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"
/host/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"]! }
Build complete! (41.47s)
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" : "/host/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.