Build Information
Successful build of Occurrence, reference 0.8.0 (41a421
), with Swift 6.0 for Linux on 16 Mar 2025 05:47:57 UTC.
Swift 6 data race errors: 7
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/richardpiazza/Occurrence.git
Reference: 0.8.0
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
* tag 0.8.0 -> FETCH_HEAD
HEAD is now at 41a4215 Core Data Concurrency Improvements (#22)
Cloned https://github.com/richardpiazza/Occurrence.git
Revision (git rev-parse @):
41a421537098cecfc06501a7ca97a928d08b3394
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/richardpiazza/Occurrence.git at 0.8.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/richardpiazza/Occurrence.git
https://github.com/richardpiazza/Occurrence.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.2",
"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.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/stephencelis/SQLite.swift.git
Fetching https://github.com/richardpiazza/Statement.git
[1/745] Fetching statement
[746/4532] Fetching statement, swift-log
[974/14132] Fetching statement, swift-log, sqlite.swift
Fetched https://github.com/richardpiazza/Statement.git from cache (0.41s)
[5058/13387] Fetching swift-log, sqlite.swift
Fetched https://github.com/apple/swift-log.git from cache (1.39s)
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (1.41s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.00s)
Computing version for https://github.com/richardpiazza/Statement.git
Computed https://github.com/richardpiazza/Statement.git at 0.8.1 (0.93s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.15.3 (1.04s)
Fetching https://github.com/stephencelis/CSQLite.git
[1/19] Fetching csqlite
Fetched https://github.com/stephencelis/CSQLite.git from cache (0.31s)
Computing version for https://github.com/stephencelis/CSQLite.git
Computed https://github.com/stephencelis/CSQLite.git at 0.0.3 (2.33s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/stephencelis/SQLite.swift.git
Working copy of https://github.com/stephencelis/SQLite.swift.git resolved at 0.15.3
Creating working copy for https://github.com/richardpiazza/Statement.git
Working copy of https://github.com/richardpiazza/Statement.git resolved at 0.8.1
Creating working copy for https://github.com/stephencelis/CSQLite.git
Working copy of https://github.com/stephencelis/CSQLite.git resolved at 0.0.3
warning: 'csqlite': ignoring declared target(s) 'CSQLite' in the system package
warning: 'sqlite.swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/PrivacyInfo.xcprivacy
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/69] Emitting module Statement
[8/72] Emitting module SQLite
[9/76] Compiling Logging LogHandler.swift
[10/76] Compiling Logging Logging.swift
[11/76] Compiling Logging Locks.swift
[12/76] Emitting module Logging
[13/76] Compiling Logging MetadataProvider.swift
[15/77] Compiling SQLite SchemaDefinitions.swift
[16/77] Compiling SQLite SchemaReader.swift
[17/77] Compiling SQLite AggregateFunctions.swift
[18/77] Compiling SQLite FTS5.swift
[19/77] Compiling SQLite RTree.swift
[20/77] Compiling SQLite Foundation.swift
[21/77] Compiling SQLite Helpers.swift
[22/77] Compiling SQLite Connection+Schema.swift
[23/77] Compiling SQLite Statement.swift
[24/77] Compiling SQLite URIQueryParameter.swift
[25/77] Compiling SQLite Value.swift
[26/77] Compiling SQLite Cipher.swift
[27/77] Compiling SQLite FTS4.swift
[28/77] Compiling SQLite Connection.swift
[29/77] Compiling SQLite Errors.swift
[30/77] Compiling SQLite Result.swift
[31/77] Compiling SQLite SQLiteFeature.swift
[32/77] Compiling SQLite SQLiteVersion.swift
[35/77] Compiling SQLite SchemaChanger.swift
[39/77] Compiling SQLite Backup.swift
[40/77] Compiling SQLite Blob.swift
[41/77] Compiling SQLite Connection+Aggregation.swift
[42/77] Compiling SQLite Connection+Attach.swift
[43/77] Compiling SQLite Connection+Pragmas.swift
[59/77] Compiling Statement Keyword.swift
[60/77] Compiling Statement LogicalPredicate.swift
[61/77] Compiling Statement Segment.swift
[62/78] Compiling SQLite DateAndTimeFunctions.swift
[63/78] Compiling SQLite Expression.swift
[64/78] Compiling SQLite Operators.swift
[65/78] Compiling SQLite Query+with.swift
[73/78] Compiling SQLite CustomFunctions.swift
[75/78] Compiling SQLite Query.swift
[76/78] Compiling SQLite Schema.swift
[77/78] Compiling SQLite Setter.swift
[78/78] Compiling SQLite WindowFunctions.swift
[80/97] Compiling StatementSQLite OrderContext.swift
[81/97] Compiling StatementSQLite SQLiteStatement.swift
[82/99] Emitting module StatementSQLite
[83/99] Compiling StatementSQLite JoinContext.swift
[84/99] Compiling StatementSQLite LimitContext.swift
[85/99] Compiling StatementSQLite SetContext.swift
[86/99] Compiling StatementSQLite UpdateContext.swift
[87/99] Compiling StatementSQLite Segment+SQLite.swift
[88/99] Compiling StatementSQLite SelectContext.swift
[89/99] Compiling StatementSQLite FromContext.swift
[90/99] Compiling StatementSQLite HavingContext.swift
[91/99] Compiling StatementSQLite InsertContext.swift
[92/99] Compiling StatementSQLite ValuesContext.swift
[93/99] Compiling StatementSQLite WhereContext.swift
[94/99] Compiling StatementSQLite DataTypeConvertible+SQLite.swift
[95/99] Compiling StatementSQLite DeleteContext.swift
[96/99] Compiling StatementSQLite Field+SQLite.swift
[97/99] Compiling StatementSQLite AlterTableContext.swift
[98/99] Compiling StatementSQLite CreateContext.swift
[99/99] Compiling StatementSQLite DataType+SQLite.swift
[101/129] Compiling Occurrence CoreDataLogProvider.swift
[102/129] Compiling Occurrence LogModel.swift
[103/129] Compiling Occurrence Logger.Filter+Predicate.swift
[104/129] Compiling Occurrence ManagedEntry.swift
[105/132] 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 nonisolated 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 nonisolated 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:53: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 |
:
51 | extension Logger.Subsystem {
52 | /// The **Occurrence** package subsystem.
53 | 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
54 | }
55 |
/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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | }
10 |
11 | public static var configuration: Configuration = .init()
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | private static var bootstrapped: Bool = false
13 |
/host/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:12:24: warning: static property 'bootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public static var configuration: Configuration = .init()
12 | private static var bootstrapped: Bool = false
| |- warning: static property 'bootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bootstrapped' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'bootstrapped' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Bootstraps **Occurrence** in to `Logging.LoggingSystem`.
/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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
31 |
32 | public static var logProvider: LogProvider = {
| |- warning: static property 'logProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | do {
34 | #if canImport(CoreData)
/host/spi-builder-workspace/Sources/Occurrence/SQLite/SQLiteEntry.swift:38:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated 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 nonisolated 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"]! }
[106/132] 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 |
[107/132] 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 |
[108/132] 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 |
[109/132] 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 |
[110/132] Compiling Occurrence LazyLogger.swift
[111/132] Compiling Occurrence LogProvider.swift
[112/132] Compiling Occurrence LogStreamer.swift
[113/132] Compiling Occurrence LoggableError.swift
[114/132] Compiling Occurrence SQLiteLogProvider.swift
/host/spi-builder-workspace/Sources/Occurrence/Extensions/Logger+Subsystem.swift:53: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 |
:
51 | extension Logger.Subsystem {
52 | /// The **Occurrence** package subsystem.
53 | 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
54 | }
55 |
/host/spi-builder-workspace/Sources/Occurrence/SQLite/SQLiteEntry.swift:38:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated 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 nonisolated 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"]! }
/host/spi-builder-workspace/Sources/Occurrence/Streamer/OccurrenceLogStreamer.swift:36:23: warning: sending 'entry' risks causing data races; this is an error in the Swift 6 language mode
34 |
35 | func log(_ entry: Logger.Entry) {
36 | continuation?.yield(entry)
| |- warning: sending 'entry' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'entry' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
37 | #if canImport(Combine)
38 | streamSubject.send(entry)
[115/132] Compiling Occurrence OccurrenceLogStreamer.swift
/host/spi-builder-workspace/Sources/Occurrence/Extensions/Logger+Subsystem.swift:53: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 |
:
51 | extension Logger.Subsystem {
52 | /// The **Occurrence** package subsystem.
53 | 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
54 | }
55 |
/host/spi-builder-workspace/Sources/Occurrence/SQLite/SQLiteEntry.swift:38:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated 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 nonisolated 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"]! }
/host/spi-builder-workspace/Sources/Occurrence/Streamer/OccurrenceLogStreamer.swift:36:23: warning: sending 'entry' risks causing data races; this is an error in the Swift 6 language mode
34 |
35 | func log(_ entry: Logger.Entry) {
36 | continuation?.yield(entry)
| |- warning: sending 'entry' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'entry' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
37 | #if canImport(Combine)
38 | streamSubject.send(entry)
[116/132] Compiling Occurrence LogView.swift
/host/spi-builder-workspace/Sources/Occurrence/Extensions/Logger+Subsystem.swift:53: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 |
:
51 | extension Logger.Subsystem {
52 | /// The **Occurrence** package subsystem.
53 | 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
54 | }
55 |
/host/spi-builder-workspace/Sources/Occurrence/SQLite/SQLiteEntry.swift:38:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated 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 nonisolated 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"]! }
/host/spi-builder-workspace/Sources/Occurrence/Streamer/OccurrenceLogStreamer.swift:36:23: warning: sending 'entry' risks causing data races; this is an error in the Swift 6 language mode
34 |
35 | func log(_ entry: Logger.Entry) {
36 | continuation?.yield(entry)
| |- warning: sending 'entry' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'entry' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
37 | #if canImport(Combine)
38 | streamSubject.send(entry)
[117/132] Compiling Occurrence Logger+Occurrence.swift
/host/spi-builder-workspace/Sources/Occurrence/Extensions/Logger+Subsystem.swift:53: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 |
:
51 | extension Logger.Subsystem {
52 | /// The **Occurrence** package subsystem.
53 | 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
54 | }
55 |
/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())"
[118/132] Compiling Occurrence Logger+Subsystem.swift
/host/spi-builder-workspace/Sources/Occurrence/Extensions/Logger+Subsystem.swift:53: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 |
:
51 | extension Logger.Subsystem {
52 | /// The **Occurrence** package subsystem.
53 | 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
54 | }
55 |
/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())"
[119/132] Compiling Occurrence Logger.Level+Occurrence.swift
/host/spi-builder-workspace/Sources/Occurrence/Extensions/Logger+Subsystem.swift:53: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 |
:
51 | extension Logger.Subsystem {
52 | /// The **Occurrence** package subsystem.
53 | 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
54 | }
55 |
/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())"
[120/132] Compiling Occurrence Logger.Message+Occurrence.swift
/host/spi-builder-workspace/Sources/Occurrence/Extensions/Logger+Subsystem.swift:53: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 |
:
51 | extension Logger.Subsystem {
52 | /// The **Occurrence** package subsystem.
53 | 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
54 | }
55 |
/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())"
[121/132] 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 nonisolated 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 nonisolated 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'"
[122/132] 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 nonisolated 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 nonisolated 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'"
[123/132] 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 nonisolated 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 nonisolated 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'"
[124/132] 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 nonisolated 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 nonisolated 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'"
[125/132] Compiling Occurrence Logger.Metadata+Occurrence.swift
[126/132] Compiling Occurrence Logger.MetadataKey.swift
[127/132] Compiling Occurrence Logger.MetadataValue+Occurrence.swift
[128/132] Compiling Occurrence URLError+Occurrence.swift
[129/132] 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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | }
10 |
11 | public static var configuration: Configuration = .init()
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | private static var bootstrapped: Bool = false
13 |
/host/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:12:24: warning: static property 'bootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public static var configuration: Configuration = .init()
12 | private static var bootstrapped: Bool = false
| |- warning: static property 'bootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bootstrapped' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'bootstrapped' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Bootstraps **Occurrence** in to `Logging.LoggingSystem`.
/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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
31 |
32 | public static var logProvider: LogProvider = {
| |- warning: static property 'logProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | do {
34 | #if canImport(CoreData)
/host/spi-builder-workspace/Sources/Occurrence/SQLite/SQLiteEntry.swift:38:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated 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 nonisolated 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/132] 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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | }
10 |
11 | public static var configuration: Configuration = .init()
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | private static var bootstrapped: Bool = false
13 |
/host/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:12:24: warning: static property 'bootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public static var configuration: Configuration = .init()
12 | private static var bootstrapped: Bool = false
| |- warning: static property 'bootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bootstrapped' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'bootstrapped' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Bootstraps **Occurrence** in to `Logging.LoggingSystem`.
/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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
31 |
32 | public static var logProvider: LogProvider = {
| |- warning: static property 'logProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | do {
34 | #if canImport(CoreData)
/host/spi-builder-workspace/Sources/Occurrence/SQLite/SQLiteEntry.swift:38:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated 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 nonisolated 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/132] 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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | }
10 |
11 | public static var configuration: Configuration = .init()
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | private static var bootstrapped: Bool = false
13 |
/host/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:12:24: warning: static property 'bootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public static var configuration: Configuration = .init()
12 | private static var bootstrapped: Bool = false
| |- warning: static property 'bootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bootstrapped' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'bootstrapped' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Bootstraps **Occurrence** in to `Logging.LoggingSystem`.
/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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
31 |
32 | public static var logProvider: LogProvider = {
| |- warning: static property 'logProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | do {
34 | #if canImport(CoreData)
/host/spi-builder-workspace/Sources/Occurrence/SQLite/SQLiteEntry.swift:38:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated 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 nonisolated 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"]! }
[132/132] 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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | }
10 |
11 | public static var configuration: Configuration = .init()
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | private static var bootstrapped: Bool = false
13 |
/host/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:12:24: warning: static property 'bootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public static var configuration: Configuration = .init()
12 | private static var bootstrapped: Bool = false
| |- warning: static property 'bootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bootstrapped' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'bootstrapped' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Bootstraps **Occurrence** in to `Logging.LoggingSystem`.
/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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
31 |
32 | public static var logProvider: LogProvider = {
| |- warning: static property 'logProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | do {
34 | #if canImport(CoreData)
/host/spi-builder-workspace/Sources/Occurrence/SQLite/SQLiteEntry.swift:38:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated 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 nonisolated 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! (26.38s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.2",
"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.8"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.