Build Information
Successful build of Occurrence, reference 0.10.1 (96c842), with Swift 6.2 for macOS (SPM) on 10 Oct 2025 05:20:09 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/richardpiazza/Occurrence.git
Reference: 0.10.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/richardpiazza/Occurrence
* tag 0.10.1 -> FETCH_HEAD
HEAD is now at 96c8420 RetroactiveAttribute Check (#27)
Cloned https://github.com/richardpiazza/Occurrence.git
Revision (git rev-parse @):
96c84200150d1b5c7d77dff1de88eafcc1ded40d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/richardpiazza/Occurrence.git at 0.10.1
Fetching https://github.com/stephencelis/SQLite.swift.git
Fetching https://github.com/richardpiazza/Statement.git
Fetching https://github.com/apple/swift-log.git
[1/744] Fetching statement
[723/4677] Fetching statement, swift-log
[1021/14764] Fetching statement, swift-log, sqlite.swift
Fetched https://github.com/apple/swift-log.git from cache (1.02s)
[2056/10831] Fetching statement, sqlite.swift
Fetched https://github.com/richardpiazza/Statement.git from cache (1.50s)
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (1.51s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
warning: 'sqlite.swift': /Package.swift:7:15: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
5 | name: "SQLite.swift",
6 | platforms: [
7 | .iOS(.v11),
| `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
8 | .macOS(.v10_13),
9 | .watchOS(.v4),
/Package.swift:10:16: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
8 | .macOS(.v10_13),
9 | .watchOS(.v4),
10 | .tvOS(.v11),
| `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
11 | .visionOS(.v1)
12 | ],
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/stephencelis/SQLite.swift.git at 0.15.3 (2.07s)
Computing version for https://github.com/richardpiazza/Statement.git
Computed https://github.com/richardpiazza/Statement.git at 0.8.1 (0.52s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.51s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
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/SQLite.swift.git
Working copy of https://github.com/stephencelis/SQLite.swift.git resolved at 0.15.3
warning: 'sqlite.swift': /Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Package.swift:7:15: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
5 | name: "SQLite.swift",
6 | platforms: [
7 | .iOS(.v11),
| `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
8 | .macOS(.v10_13),
9 | .watchOS(.v4),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Package.swift:10:16: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
8 | .macOS(.v10_13),
9 | .watchOS(.v4),
10 | .tvOS(.v11),
| `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
11 | .visionOS(.v1)
12 | ],
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "occurrence",
"name": "Occurrence",
"url": "https://github.com/richardpiazza/Occurrence.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Occurrence",
"dependencies": [
{
"identity": "swift-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log.git",
"version": "1.6.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"dependencies": [
]
},
{
"identity": "statement",
"name": "Statement",
"url": "https://github.com/richardpiazza/Statement.git",
"version": "0.8.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Statement",
"dependencies": [
]
},
{
"identity": "sqlite.swift",
"name": "SQLite.swift",
"url": "https://github.com/stephencelis/SQLite.swift.git",
"version": "0.15.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SQLite.swift",
"dependencies": [
{
"identity": "swift-toolchain-sqlite",
"name": "swift-toolchain-sqlite",
"url": "https://github.com/swiftlang/swift-toolchain-sqlite",
"version": "1.0.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-toolchain-sqlite",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/richardpiazza/Occurrence.git
[1/761] Fetching occurrence
Fetched https://github.com/richardpiazza/Occurrence.git from cache (0.75s)
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/richardpiazza/Statement.git from cache
Fetching https://github.com/stephencelis/SQLite.swift.git from cache
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (0.58s)
Fetched https://github.com/apple/swift-log.git from cache (0.58s)
Fetched https://github.com/richardpiazza/Statement.git from cache (0.58s)
Computing version for https://github.com/richardpiazza/Statement.git
Computed https://github.com/richardpiazza/Statement.git at 0.8.1 (0.64s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.03s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.15.4 (0.53s)
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
[1/181] Fetching swift-toolchain-sqlite
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (1.35s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.4 (1.90s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Creating working copy for https://github.com/swiftlang/swift-toolchain-sqlite
Working copy of https://github.com/swiftlang/swift-toolchain-sqlite resolved at 1.0.4
Creating working copy for https://github.com/stephencelis/SQLite.swift.git
Working copy of https://github.com/stephencelis/SQLite.swift.git resolved at 0.15.4
Creating working copy for https://github.com/richardpiazza/Occurrence.git
Working copy of https://github.com/richardpiazza/Occurrence.git resolved at 0.10.1 (96c8420)
Creating working copy for https://github.com/richardpiazza/Statement.git
Working copy of https://github.com/richardpiazza/Statement.git resolved at 0.8.1
warning: '.resolve-product-dependencies': dependency 'occurrence' is not used by any target
Found 3 product dependencies
- swift-log
- Statement
- SQLite.swift
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/richardpiazza/Occurrence.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-49B95AFC49DCD68C.txt
[7/71] Compiling Logging Locks.swift
[8/71] Compiling Logging Logging.swift
[9/71] Compiling Logging LogHandler.swift
[10/71] Compiling Logging MetadataProvider.swift
[11/71] Emitting module Logging
[12/71] Compiling SQLite Backup.swift
[13/71] Compiling SQLite Blob.swift
[14/71] Compiling SQLite Connection+Aggregation.swift
[15/73] Emitting module Statement
[16/73] Compiling SQLite AggregateFunctions.swift
[17/73] Compiling SQLite Coding.swift
[18/73] Compiling SQLite SQLiteVersion.swift
[19/73] Compiling SQLite Statement.swift
[20/73] Compiling SQLite URIQueryParameter.swift
[21/73] Compiling SQLite FTS5.swift
[22/73] Compiling SQLite RTree.swift
[23/73] Compiling SQLite Foundation.swift
[24/73] Compiling SQLite Value.swift
[25/73] Compiling SQLite Cipher.swift
[26/73] Compiling SQLite FTS4.swift
[27/73] Compiling SQLite Helpers.swift
[28/73] Compiling SQLite Connection+Schema.swift
[29/73] Compiling SQLite SchemaChanger.swift
[30/73] Compiling SQLite SchemaDefinitions.swift
[31/73] Compiling SQLite SchemaReader.swift
[32/73] Compiling SQLite SQLiteFeature.swift
[36/76] Emitting module SQLite
[37/76] Compiling Statement LogicalPredicate.swift
[38/76] Compiling Statement Segment.swift
[39/76] Compiling SQLite Connection+Attach.swift
[40/76] Compiling SQLite Connection+Pragmas.swift
[41/76] Compiling SQLite Connection.swift
[42/76] Compiling SQLite Errors.swift
[43/76] Compiling SQLite Result.swift
[68/95] Compiling StatementSQLite LimitContext.swift
[69/95] Compiling StatementSQLite OrderContext.swift
[70/95] Compiling StatementSQLite UpdateContext.swift
[71/95] Compiling StatementSQLite ValuesContext.swift
[72/95] Compiling StatementSQLite InsertContext.swift
[73/95] Compiling StatementSQLite JoinContext.swift
[74/95] Compiling StatementSQLite SQLiteStatement.swift
[75/95] Compiling StatementSQLite Segment+SQLite.swift
[76/95] Compiling StatementSQLite SelectContext.swift
[77/95] Compiling StatementSQLite SetContext.swift
[78/95] Compiling StatementSQLite FromContext.swift
[79/95] Compiling StatementSQLite HavingContext.swift
[80/96] Compiling SQLite CustomFunctions.swift
[81/96] Compiling SQLite DateAndTimeFunctions.swift
[82/96] Compiling SQLite Expression.swift
[83/96] Compiling SQLite Operators.swift
[84/96] Compiling SQLite Query+with.swift
[85/96] Compiling SQLite Query.swift
[86/96] Compiling StatementSQLite DeleteContext.swift
[87/96] Compiling StatementSQLite Field+SQLite.swift
[88/96] Emitting module StatementSQLite
[89/96] Compiling StatementSQLite DataType+SQLite.swift
[90/96] Compiling StatementSQLite DataTypeConvertible+SQLite.swift
[91/96] Compiling StatementSQLite AlterTableContext.swift
[92/96] Compiling StatementSQLite CreateContext.swift
[93/96] Compiling StatementSQLite WhereContext.swift
[94/96] Compiling SQLite Schema.swift
[95/96] Compiling SQLite Setter.swift
[96/96] Compiling SQLite WindowFunctions.swift
[97/125] Compiling Occurrence URLError+Occurrence.swift
[98/125] Compiling Occurrence LazyLogger.swift
[99/125] Compiling Occurrence LogProvider.swift
[100/128] Emitting module Occurrence
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/LogModel.swift:8:16: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
6 | case version_1_0_0
7 |
8 | static var `default`: LogModel = .version_1_0_0
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | var managedObjectModel: NSManagedObjectModel {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/LogModel.swift:20:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Version_1_0_0' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
15 | }
16 |
17 | class Version_1_0_0: NSManagedObjectModel, NSSecureCoding {
| `- note: class 'Version_1_0_0' does not conform to the 'Sendable' protocol
18 | /// Provide a singular instance of the model to be referenced. There is a known issue where when referencing
19 | /// a model in an app target, as well as unit tests, a model - and therefore its entities - can be loaded twice.
20 | static let instance: Version_1_0_0 = Version_1_0_0()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Version_1_0_0' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | static var supportsSecureCoding: Bool { true }
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:11:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | private static var bootstrapped: Bool = false
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:12:24: warning: static property 'bootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: convert 'bootstrapped' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bootstrapped' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Bootstraps **Occurrence** in to `Logging.LoggingSystem`.
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:30:23: warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'logStreamer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public static var logProvider: LogProvider = {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/LogStreamer.swift:7:17: note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
5 | #endif
6 |
7 | public protocol LogStreamer {
| `- note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
8 | /// `AsyncStream` which emits log entries.
9 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:30:36: warning: use of protocol 'LogStreamer' as a type must be written 'any LogStreamer'; this will be an error in a future Swift language mode [#ExistentialAny]
28 | }
29 |
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
| `- warning: use of protocol 'LogStreamer' as a type must be written 'any LogStreamer'; this will be an error in a future Swift language mode [#ExistentialAny]
31 |
32 | public static var logProvider: LogProvider = {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:32:23: warning: static property 'logProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: convert 'logProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logProvider' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | do {
34 | #if canImport(CoreData)
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:32:36: warning: use of protocol 'LogProvider' as a type must be written 'any LogProvider'; this will be an error in a future Swift language mode [#ExistentialAny]
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
31 |
32 | public static var logProvider: LogProvider = {
| `- warning: use of protocol 'LogProvider' as a type must be written 'any LogProvider'; this will be an error in a future Swift language mode [#ExistentialAny]
33 | do {
34 | #if canImport(CoreData)
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[101/128] Compiling Occurrence Dictionary+Occurrence.swift
[102/128] Compiling Occurrence EncodingError+Occurrence.swift
[103/128] Compiling Occurrence FileManager+Occurrence.swift
[104/128] Compiling Occurrence Logger.Metadata+Occurrence.swift
[105/128] Compiling Occurrence Logger.MetadataKey.swift
[106/128] Compiling Occurrence Logger.MetadataValue+Occurrence.swift
[107/128] Compiling Occurrence Logger+Subsystem.swift
[108/128] Compiling Occurrence Logger.Level+Occurrence.swift
[109/128] Compiling Occurrence Logger.Message+Occurrence.swift
[110/128] Compiling Occurrence Logger+Entry.swift
[111/128] Compiling Occurrence Logger+Filter.swift
[112/128] Compiling Occurrence Logger+Occurrence.swift
[113/128] Compiling Occurrence Array+Occurrence.swift
[114/128] Compiling Occurrence CocoaError+Occurrence.swift
[115/128] Compiling Occurrence DecodingError+Occurrence.swift
[116/128] Compiling Occurrence LogStreamer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:11:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | private static var bootstrapped: Bool = false
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:12:24: warning: static property 'bootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: convert 'bootstrapped' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bootstrapped' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Bootstraps **Occurrence** in to `Logging.LoggingSystem`.
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:30:23: warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'logStreamer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public static var logProvider: LogProvider = {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/LogStreamer.swift:7:17: note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
5 | #endif
6 |
7 | public protocol LogStreamer {
| `- note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
8 | /// `AsyncStream` which emits log entries.
9 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:30:36: warning: use of protocol 'LogStreamer' as a type must be written 'any LogStreamer'; this will be an error in a future Swift language mode [#ExistentialAny]
28 | }
29 |
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
| `- warning: use of protocol 'LogStreamer' as a type must be written 'any LogStreamer'; this will be an error in a future Swift language mode [#ExistentialAny]
31 |
32 | public static var logProvider: LogProvider = {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:32:23: warning: static property 'logProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: convert 'logProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logProvider' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | do {
34 | #if canImport(CoreData)
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:32:36: warning: use of protocol 'LogProvider' as a type must be written 'any LogProvider'; this will be an error in a future Swift language mode [#ExistentialAny]
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
31 |
32 | public static var logProvider: LogProvider = {
| `- warning: use of protocol 'LogProvider' as a type must be written 'any LogProvider'; this will be an error in a future Swift language mode [#ExistentialAny]
33 | do {
34 | #if canImport(CoreData)
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:26:44: warning: converting non-Sendable function value to '@Sendable (String, Logger.MetadataProvider?) -> any LogHandler' may introduce data races
24 | }
25 |
26 | LoggingSystem.bootstrap(Occurrence.init, metadataProvider: metadataProvider)
| `- warning: converting non-Sendable function value to '@Sendable (String, Logger.MetadataProvider?) -> any LogHandler' may introduce data races
27 | bootstrapped = true
28 | }
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[117/128] Compiling Occurrence LoggableError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:11:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | private static var bootstrapped: Bool = false
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:12:24: warning: static property 'bootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: convert 'bootstrapped' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bootstrapped' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Bootstraps **Occurrence** in to `Logging.LoggingSystem`.
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:30:23: warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'logStreamer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public static var logProvider: LogProvider = {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/LogStreamer.swift:7:17: note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
5 | #endif
6 |
7 | public protocol LogStreamer {
| `- note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
8 | /// `AsyncStream` which emits log entries.
9 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:30:36: warning: use of protocol 'LogStreamer' as a type must be written 'any LogStreamer'; this will be an error in a future Swift language mode [#ExistentialAny]
28 | }
29 |
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
| `- warning: use of protocol 'LogStreamer' as a type must be written 'any LogStreamer'; this will be an error in a future Swift language mode [#ExistentialAny]
31 |
32 | public static var logProvider: LogProvider = {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:32:23: warning: static property 'logProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: convert 'logProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logProvider' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | do {
34 | #if canImport(CoreData)
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:32:36: warning: use of protocol 'LogProvider' as a type must be written 'any LogProvider'; this will be an error in a future Swift language mode [#ExistentialAny]
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
31 |
32 | public static var logProvider: LogProvider = {
| `- warning: use of protocol 'LogProvider' as a type must be written 'any LogProvider'; this will be an error in a future Swift language mode [#ExistentialAny]
33 | do {
34 | #if canImport(CoreData)
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:26:44: warning: converting non-Sendable function value to '@Sendable (String, Logger.MetadataProvider?) -> any LogHandler' may introduce data races
24 | }
25 |
26 | LoggingSystem.bootstrap(Occurrence.init, metadataProvider: metadataProvider)
| `- warning: converting non-Sendable function value to '@Sendable (String, Logger.MetadataProvider?) -> any LogHandler' may introduce data races
27 | bootstrapped = true
28 | }
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[118/128] Compiling Occurrence Occurrence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:11:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | private static var bootstrapped: Bool = false
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:12:24: warning: static property 'bootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: convert 'bootstrapped' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bootstrapped' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Bootstraps **Occurrence** in to `Logging.LoggingSystem`.
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:30:23: warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'logStreamer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public static var logProvider: LogProvider = {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/LogStreamer.swift:7:17: note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
5 | #endif
6 |
7 | public protocol LogStreamer {
| `- note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
8 | /// `AsyncStream` which emits log entries.
9 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:30:36: warning: use of protocol 'LogStreamer' as a type must be written 'any LogStreamer'; this will be an error in a future Swift language mode [#ExistentialAny]
28 | }
29 |
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
| `- warning: use of protocol 'LogStreamer' as a type must be written 'any LogStreamer'; this will be an error in a future Swift language mode [#ExistentialAny]
31 |
32 | public static var logProvider: LogProvider = {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:32:23: warning: static property 'logProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: convert 'logProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logProvider' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | do {
34 | #if canImport(CoreData)
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:32:36: warning: use of protocol 'LogProvider' as a type must be written 'any LogProvider'; this will be an error in a future Swift language mode [#ExistentialAny]
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
31 |
32 | public static var logProvider: LogProvider = {
| `- warning: use of protocol 'LogProvider' as a type must be written 'any LogProvider'; this will be an error in a future Swift language mode [#ExistentialAny]
33 | do {
34 | #if canImport(CoreData)
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:26:44: warning: converting non-Sendable function value to '@Sendable (String, Logger.MetadataProvider?) -> any LogHandler' may introduce data races
24 | }
25 |
26 | LoggingSystem.bootstrap(Occurrence.init, metadataProvider: metadataProvider)
| `- warning: converting non-Sendable function value to '@Sendable (String, Logger.MetadataProvider?) -> any LogHandler' may introduce data races
27 | bootstrapped = true
28 | }
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[119/128] Compiling Occurrence Logger.Filter+Where.swift
[120/128] Compiling Occurrence SQLiteEntry+Mapping.swift
[121/128] Compiling Occurrence SQLiteEntry.swift
[122/128] Compiling Occurrence CoreDataLogProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/CoreDataLogProvider.swift:80:43: warning: capture of 'self' with non-Sendable type 'CoreDataLogProvider' in a '@Sendable' closure [#SendableClosureCaptures]
4 | @preconcurrency import CoreData
5 |
6 | class CoreDataLogProvider: LogProvider {
| `- note: class 'CoreDataLogProvider' does not conform to the 'Sendable' protocol
7 |
8 | let storeUrl: URL
:
78 | context.performAndWait {
79 | do {
80 | try ManagedEntry(context: context, entry: entry)
| `- warning: capture of 'self' with non-Sendable type 'CoreDataLogProvider' in a '@Sendable' closure [#SendableClosureCaptures]
81 | try context.save()
82 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/CoreDataLogProvider.swift:97:35: warning: capture of 'self' with non-Sendable type 'CoreDataLogProvider' in a '@Sendable' closure [#SendableClosureCaptures]
4 | @preconcurrency import CoreData
5 |
6 | class CoreDataLogProvider: LogProvider {
| `- note: class 'CoreDataLogProvider' does not conform to the 'Sendable' protocol
7 |
8 | let storeUrl: URL
:
95 | var subsystems: Set<Logger.Subsystem> = [.occurrence]
96 | do {
97 | let results = try context.fetch(request) as? [[String: String]]
| `- warning: capture of 'self' with non-Sendable type 'CoreDataLogProvider' in a '@Sendable' closure [#SendableClosureCaptures]
98 | results?
99 | .compactMap { $0[#keyPath(ManagedEntry.subsystem)] }
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/CoreDataLogProvider.swift:126:35: warning: capture of 'self' with non-Sendable type 'CoreDataLogProvider' in a '@Sendable' closure [#SendableClosureCaptures]
4 | @preconcurrency import CoreData
5 |
6 | class CoreDataLogProvider: LogProvider {
| `- note: class 'CoreDataLogProvider' does not conform to the 'Sendable' protocol
7 |
8 | let storeUrl: URL
:
124 | var results: [Logger.Entry] = []
125 | do {
126 | let entries = try context.fetch(request)
| `- warning: capture of 'self' with non-Sendable type 'CoreDataLogProvider' in a '@Sendable' closure [#SendableClosureCaptures]
127 | results = entries.map(\.entry)
128 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/CoreDataLogProvider.swift:143:36: warning: capture of 'self' with non-Sendable type 'CoreDataLogProvider' in a '@Sendable' closure [#SendableClosureCaptures]
4 | @preconcurrency import CoreData
5 |
6 | class CoreDataLogProvider: LogProvider {
| `- note: class 'CoreDataLogProvider' does not conform to the 'Sendable' protocol
7 |
8 | let storeUrl: URL
:
141 | context.performAndWait {
142 | do {
143 | let entities = try context.fetch(request)
| `- warning: capture of 'self' with non-Sendable type 'CoreDataLogProvider' in a '@Sendable' closure [#SendableClosureCaptures]
144 | for entity in entities {
145 | context.delete(entity)
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/LogModel.swift:8:16: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
6 | case version_1_0_0
7 |
8 | static var `default`: LogModel = .version_1_0_0
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | var managedObjectModel: NSManagedObjectModel {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/LogModel.swift:20:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Version_1_0_0' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
15 | }
16 |
17 | class Version_1_0_0: NSManagedObjectModel, NSSecureCoding {
| `- note: class 'Version_1_0_0' does not conform to the 'Sendable' protocol
18 | /// Provide a singular instance of the model to be referenced. There is a known issue where when referencing
19 | /// a model in an app target, as well as unit tests, a model - and therefore its entities - can be loaded twice.
20 | static let instance: Version_1_0_0 = Version_1_0_0()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Version_1_0_0' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | static var supportsSecureCoding: Bool { true }
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[123/128] Compiling Occurrence LogModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/CoreDataLogProvider.swift:80:43: warning: capture of 'self' with non-Sendable type 'CoreDataLogProvider' in a '@Sendable' closure [#SendableClosureCaptures]
4 | @preconcurrency import CoreData
5 |
6 | class CoreDataLogProvider: LogProvider {
| `- note: class 'CoreDataLogProvider' does not conform to the 'Sendable' protocol
7 |
8 | let storeUrl: URL
:
78 | context.performAndWait {
79 | do {
80 | try ManagedEntry(context: context, entry: entry)
| `- warning: capture of 'self' with non-Sendable type 'CoreDataLogProvider' in a '@Sendable' closure [#SendableClosureCaptures]
81 | try context.save()
82 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/CoreDataLogProvider.swift:97:35: warning: capture of 'self' with non-Sendable type 'CoreDataLogProvider' in a '@Sendable' closure [#SendableClosureCaptures]
4 | @preconcurrency import CoreData
5 |
6 | class CoreDataLogProvider: LogProvider {
| `- note: class 'CoreDataLogProvider' does not conform to the 'Sendable' protocol
7 |
8 | let storeUrl: URL
:
95 | var subsystems: Set<Logger.Subsystem> = [.occurrence]
96 | do {
97 | let results = try context.fetch(request) as? [[String: String]]
| `- warning: capture of 'self' with non-Sendable type 'CoreDataLogProvider' in a '@Sendable' closure [#SendableClosureCaptures]
98 | results?
99 | .compactMap { $0[#keyPath(ManagedEntry.subsystem)] }
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/CoreDataLogProvider.swift:126:35: warning: capture of 'self' with non-Sendable type 'CoreDataLogProvider' in a '@Sendable' closure [#SendableClosureCaptures]
4 | @preconcurrency import CoreData
5 |
6 | class CoreDataLogProvider: LogProvider {
| `- note: class 'CoreDataLogProvider' does not conform to the 'Sendable' protocol
7 |
8 | let storeUrl: URL
:
124 | var results: [Logger.Entry] = []
125 | do {
126 | let entries = try context.fetch(request)
| `- warning: capture of 'self' with non-Sendable type 'CoreDataLogProvider' in a '@Sendable' closure [#SendableClosureCaptures]
127 | results = entries.map(\.entry)
128 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/CoreDataLogProvider.swift:143:36: warning: capture of 'self' with non-Sendable type 'CoreDataLogProvider' in a '@Sendable' closure [#SendableClosureCaptures]
4 | @preconcurrency import CoreData
5 |
6 | class CoreDataLogProvider: LogProvider {
| `- note: class 'CoreDataLogProvider' does not conform to the 'Sendable' protocol
7 |
8 | let storeUrl: URL
:
141 | context.performAndWait {
142 | do {
143 | let entities = try context.fetch(request)
| `- warning: capture of 'self' with non-Sendable type 'CoreDataLogProvider' in a '@Sendable' closure [#SendableClosureCaptures]
144 | for entity in entities {
145 | context.delete(entity)
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/LogModel.swift:8:16: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
6 | case version_1_0_0
7 |
8 | static var `default`: LogModel = .version_1_0_0
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | var managedObjectModel: NSManagedObjectModel {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/LogModel.swift:20:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Version_1_0_0' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
15 | }
16 |
17 | class Version_1_0_0: NSManagedObjectModel, NSSecureCoding {
| `- note: class 'Version_1_0_0' does not conform to the 'Sendable' protocol
18 | /// Provide a singular instance of the model to be referenced. There is a known issue where when referencing
19 | /// a model in an app target, as well as unit tests, a model - and therefore its entities - can be loaded twice.
20 | static let instance: Version_1_0_0 = Version_1_0_0()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Version_1_0_0' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | static var supportsSecureCoding: Bool { true }
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[124/128] Compiling Occurrence Logger.Filter+Predicate.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/CoreDataLogProvider.swift:80:43: warning: capture of 'self' with non-Sendable type 'CoreDataLogProvider' in a '@Sendable' closure [#SendableClosureCaptures]
4 | @preconcurrency import CoreData
5 |
6 | class CoreDataLogProvider: LogProvider {
| `- note: class 'CoreDataLogProvider' does not conform to the 'Sendable' protocol
7 |
8 | let storeUrl: URL
:
78 | context.performAndWait {
79 | do {
80 | try ManagedEntry(context: context, entry: entry)
| `- warning: capture of 'self' with non-Sendable type 'CoreDataLogProvider' in a '@Sendable' closure [#SendableClosureCaptures]
81 | try context.save()
82 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/CoreDataLogProvider.swift:97:35: warning: capture of 'self' with non-Sendable type 'CoreDataLogProvider' in a '@Sendable' closure [#SendableClosureCaptures]
4 | @preconcurrency import CoreData
5 |
6 | class CoreDataLogProvider: LogProvider {
| `- note: class 'CoreDataLogProvider' does not conform to the 'Sendable' protocol
7 |
8 | let storeUrl: URL
:
95 | var subsystems: Set<Logger.Subsystem> = [.occurrence]
96 | do {
97 | let results = try context.fetch(request) as? [[String: String]]
| `- warning: capture of 'self' with non-Sendable type 'CoreDataLogProvider' in a '@Sendable' closure [#SendableClosureCaptures]
98 | results?
99 | .compactMap { $0[#keyPath(ManagedEntry.subsystem)] }
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/CoreDataLogProvider.swift:126:35: warning: capture of 'self' with non-Sendable type 'CoreDataLogProvider' in a '@Sendable' closure [#SendableClosureCaptures]
4 | @preconcurrency import CoreData
5 |
6 | class CoreDataLogProvider: LogProvider {
| `- note: class 'CoreDataLogProvider' does not conform to the 'Sendable' protocol
7 |
8 | let storeUrl: URL
:
124 | var results: [Logger.Entry] = []
125 | do {
126 | let entries = try context.fetch(request)
| `- warning: capture of 'self' with non-Sendable type 'CoreDataLogProvider' in a '@Sendable' closure [#SendableClosureCaptures]
127 | results = entries.map(\.entry)
128 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/CoreDataLogProvider.swift:143:36: warning: capture of 'self' with non-Sendable type 'CoreDataLogProvider' in a '@Sendable' closure [#SendableClosureCaptures]
4 | @preconcurrency import CoreData
5 |
6 | class CoreDataLogProvider: LogProvider {
| `- note: class 'CoreDataLogProvider' does not conform to the 'Sendable' protocol
7 |
8 | let storeUrl: URL
:
141 | context.performAndWait {
142 | do {
143 | let entities = try context.fetch(request)
| `- warning: capture of 'self' with non-Sendable type 'CoreDataLogProvider' in a '@Sendable' closure [#SendableClosureCaptures]
144 | for entity in entities {
145 | context.delete(entity)
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/LogModel.swift:8:16: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
6 | case version_1_0_0
7 |
8 | static var `default`: LogModel = .version_1_0_0
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | var managedObjectModel: NSManagedObjectModel {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/LogModel.swift:20:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Version_1_0_0' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
15 | }
16 |
17 | class Version_1_0_0: NSManagedObjectModel, NSSecureCoding {
| `- note: class 'Version_1_0_0' does not conform to the 'Sendable' protocol
18 | /// Provide a singular instance of the model to be referenced. There is a known issue where when referencing
19 | /// a model in an app target, as well as unit tests, a model - and therefore its entities - can be loaded twice.
20 | static let instance: Version_1_0_0 = Version_1_0_0()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Version_1_0_0' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | static var supportsSecureCoding: Bool { true }
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[125/128] Compiling Occurrence ManagedEntry.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/CoreDataLogProvider.swift:80:43: warning: capture of 'self' with non-Sendable type 'CoreDataLogProvider' in a '@Sendable' closure [#SendableClosureCaptures]
4 | @preconcurrency import CoreData
5 |
6 | class CoreDataLogProvider: LogProvider {
| `- note: class 'CoreDataLogProvider' does not conform to the 'Sendable' protocol
7 |
8 | let storeUrl: URL
:
78 | context.performAndWait {
79 | do {
80 | try ManagedEntry(context: context, entry: entry)
| `- warning: capture of 'self' with non-Sendable type 'CoreDataLogProvider' in a '@Sendable' closure [#SendableClosureCaptures]
81 | try context.save()
82 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/CoreDataLogProvider.swift:97:35: warning: capture of 'self' with non-Sendable type 'CoreDataLogProvider' in a '@Sendable' closure [#SendableClosureCaptures]
4 | @preconcurrency import CoreData
5 |
6 | class CoreDataLogProvider: LogProvider {
| `- note: class 'CoreDataLogProvider' does not conform to the 'Sendable' protocol
7 |
8 | let storeUrl: URL
:
95 | var subsystems: Set<Logger.Subsystem> = [.occurrence]
96 | do {
97 | let results = try context.fetch(request) as? [[String: String]]
| `- warning: capture of 'self' with non-Sendable type 'CoreDataLogProvider' in a '@Sendable' closure [#SendableClosureCaptures]
98 | results?
99 | .compactMap { $0[#keyPath(ManagedEntry.subsystem)] }
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/CoreDataLogProvider.swift:126:35: warning: capture of 'self' with non-Sendable type 'CoreDataLogProvider' in a '@Sendable' closure [#SendableClosureCaptures]
4 | @preconcurrency import CoreData
5 |
6 | class CoreDataLogProvider: LogProvider {
| `- note: class 'CoreDataLogProvider' does not conform to the 'Sendable' protocol
7 |
8 | let storeUrl: URL
:
124 | var results: [Logger.Entry] = []
125 | do {
126 | let entries = try context.fetch(request)
| `- warning: capture of 'self' with non-Sendable type 'CoreDataLogProvider' in a '@Sendable' closure [#SendableClosureCaptures]
127 | results = entries.map(\.entry)
128 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/CoreDataLogProvider.swift:143:36: warning: capture of 'self' with non-Sendable type 'CoreDataLogProvider' in a '@Sendable' closure [#SendableClosureCaptures]
4 | @preconcurrency import CoreData
5 |
6 | class CoreDataLogProvider: LogProvider {
| `- note: class 'CoreDataLogProvider' does not conform to the 'Sendable' protocol
7 |
8 | let storeUrl: URL
:
141 | context.performAndWait {
142 | do {
143 | let entities = try context.fetch(request)
| `- warning: capture of 'self' with non-Sendable type 'CoreDataLogProvider' in a '@Sendable' closure [#SendableClosureCaptures]
144 | for entity in entities {
145 | context.delete(entity)
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/LogModel.swift:8:16: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
6 | case version_1_0_0
7 |
8 | static var `default`: LogModel = .version_1_0_0
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | var managedObjectModel: NSManagedObjectModel {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/LogModel.swift:20:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Version_1_0_0' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
15 | }
16 |
17 | class Version_1_0_0: NSManagedObjectModel, NSSecureCoding {
| `- note: class 'Version_1_0_0' does not conform to the 'Sendable' protocol
18 | /// Provide a singular instance of the model to be referenced. There is a known issue where when referencing
19 | /// a model in an app target, as well as unit tests, a model - and therefore its entities - can be loaded twice.
20 | static let instance: Version_1_0_0 = Version_1_0_0()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Version_1_0_0' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | static var supportsSecureCoding: Bool { true }
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[126/128] Compiling Occurrence SQLiteLogProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/SwiftUI/LogView.swift:103:41: warning: 'publisher' is deprecated: Use `AsyncStream` variant. [#DeprecatedDeclaration]
101 | }
102 |
103 | liveSubscription = streamer.publisher
| `- warning: 'publisher' is deprecated: Use `AsyncStream` variant. [#DeprecatedDeclaration]
104 | .filter { $0.matchesFilter(filter) }
105 | .receive(on: DispatchQueue.main)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[127/128] Compiling Occurrence OccurrenceLogStreamer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/SwiftUI/LogView.swift:103:41: warning: 'publisher' is deprecated: Use `AsyncStream` variant. [#DeprecatedDeclaration]
101 | }
102 |
103 | liveSubscription = streamer.publisher
| `- warning: 'publisher' is deprecated: Use `AsyncStream` variant. [#DeprecatedDeclaration]
104 | .filter { $0.matchesFilter(filter) }
105 | .receive(on: DispatchQueue.main)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[128/128] Compiling Occurrence LogView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/SwiftUI/LogView.swift:103:41: warning: 'publisher' is deprecated: Use `AsyncStream` variant. [#DeprecatedDeclaration]
101 | }
102 |
103 | liveSubscription = streamer.publisher
| `- warning: 'publisher' is deprecated: Use `AsyncStream` variant. [#DeprecatedDeclaration]
104 | .filter { $0.matchesFilter(filter) }
105 | .receive(on: DispatchQueue.main)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete! (12.91s)
warning: 'sqlite.swift': /Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Package.swift:7:15: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
5 | name: "SQLite.swift",
6 | platforms: [
7 | .iOS(.v11),
| `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
8 | .macOS(.v10_13),
9 | .watchOS(.v4),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Package.swift:10:16: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
8 | .macOS(.v10_13),
9 | .watchOS(.v4),
10 | .tvOS(.v11),
| `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
11 | .visionOS(.v1)
12 | ],
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
warning: 'sqlite.swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/PrivacyInfo.xcprivacy
Build complete.
{
"dependencies" : [
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "statement",
"requirement" : {
"range" : [
{
"lower_bound" : "0.8.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/richardpiazza/Statement.git"
},
{
"identity" : "sqlite.swift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.15.3",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/stephencelis/SQLite.swift.git"
}
],
"manifest_display_name" : "Occurrence",
"name" : "Occurrence",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "maccatalyst",
"version" : "16.0"
},
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "tvos",
"version" : "16.0"
},
{
"name" : "watchos",
"version" : "9.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "Occurrence",
"targets" : [
"Occurrence"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "OccurrenceTests",
"module_type" : "SwiftTarget",
"name" : "OccurrenceTests",
"path" : "Tests/OccurrenceTests",
"product_dependencies" : [
"Logging"
],
"sources" : [
"CoreDataLogProviderTests.swift",
"LogProviderTestCase.swift",
"LogStreamerTests.swift",
"LoggableErrorTests.swift",
"LoggerMetadataTests.swift",
"OccurrenceTests.swift",
"RedactionTests.swift",
"SQLiteLogProviderTests.swift"
],
"target_dependencies" : [
"Occurrence"
],
"type" : "test"
},
{
"c99name" : "Occurrence",
"module_type" : "SwiftTarget",
"name" : "Occurrence",
"path" : "Sources/Occurrence",
"product_dependencies" : [
"Logging",
"Statement",
"StatementSQLite",
"SQLite"
],
"product_memberships" : [
"Occurrence"
],
"sources" : [
"CoreData/CoreDataLogProvider.swift",
"CoreData/LogModel.swift",
"CoreData/Logger.Filter+Predicate.swift",
"CoreData/ManagedEntry.swift",
"Extensions/Array+Occurrence.swift",
"Extensions/CocoaError+Occurrence.swift",
"Extensions/DecodingError+Occurrence.swift",
"Extensions/Dictionary+Occurrence.swift",
"Extensions/EncodingError+Occurrence.swift",
"Extensions/FileManager+Occurrence.swift",
"Extensions/Logger+Entry.swift",
"Extensions/Logger+Filter.swift",
"Extensions/Logger+Occurrence.swift",
"Extensions/Logger+Subsystem.swift",
"Extensions/Logger.Level+Occurrence.swift",
"Extensions/Logger.Message+Occurrence.swift",
"Extensions/Logger.Metadata+Occurrence.swift",
"Extensions/Logger.MetadataKey.swift",
"Extensions/Logger.MetadataValue+Occurrence.swift",
"Extensions/URLError+Occurrence.swift",
"LazyLogger.swift",
"LogProvider.swift",
"LogStreamer.swift",
"LoggableError.swift",
"Occurrence.swift",
"SQLite/Logger.Filter+Where.swift",
"SQLite/SQLiteEntry+Mapping.swift",
"SQLite/SQLiteEntry.swift",
"SQLite/SQLiteLogProvider.swift",
"Streamer/OccurrenceLogStreamer.swift",
"SwiftUI/LogView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/richardpiazza/occurrence/0.10.1
Repository: richardpiazza/Occurrence
Swift version used: 6.2
Target: Occurrence
Extracting symbol information for 'Occurrence'...
Finished extracting symbol information for 'Occurrence'. (3.86s)
Building documentation for 'Occurrence'...
warning: External name 'redacting' used to document parameter
--> Sources/Occurrence/Extensions/Logger+Occurrence.swift:11:14-11:23
9 | /// - message: The message to be logged. `message` can be used with any string interpolation literal.
10 | /// - error: `LoggableError` providing `Metadata` to the entry.
11 + /// - redacting: Optional keys that will be used to redact sensitive 'userInfo' of the error.
| ╰─suggestion: Replace 'redacting' with 'keyPaths'
12 | /// - source: The source to which this log messages originates.
13 | /// - file: The file to which this log message originates from.
warning: External name 'redacting' used to document parameter
--> Sources/Occurrence/Extensions/Logger+Occurrence.swift:46:14-46:23
44 | /// - message: The message to be logged. `message` can be used with any string interpolation literal.
45 | /// - dictionary: Dictionary that will be represented in the `Metadata`.
46 + /// - redacting: Optional keys that will be used to redact sensitive key paths.
| ╰─suggestion: Replace 'redacting' with 'keyPaths'
47 | /// - source: The source to which this log messages originates.
48 | /// - file: The file to which this log message originates from.
warning: External name 'redacting' used to document parameter
--> Sources/Occurrence/Extensions/Logger+Occurrence.swift:78:14-78:23
76 | /// - message: The message to be logged. `message` can be used with any string interpolation literal.
77 | /// - data: Data that will be interpreted as JSON and represented in the `Metadata`.
78 + /// - redacting: Optional keys that will be used to redact sensitive key paths.
| ╰─suggestion: Replace 'redacting' with 'keyPaths'
79 | /// - source: The source to which this log messages originates.
80 | /// - file: The file to which this log message originates from.
warning: External name 'redacting' used to document parameter
--> Sources/Occurrence/Extensions/Logger+Occurrence.swift:117:14-117:23
115 | /// - message: The message to be logged. `message` can be used with any string interpolation literal.
116 | /// - encodable: Object that will be interpreted and represented in the `Metadata`.
117 + /// - redacting: Optional keys that will be used to redact sensitive key paths.
| ╰─suggestion: Replace 'redacting' with 'keyPaths'
118 | /// - source: The source to which this log messages originates.
119 | /// - file: The file to which this log message originates from.
warning: Parameter 'redacting' not found in instance method declaration
--> Sources/Occurrence/LoggableError.swift:38:11-38:58
36 | ///
37 | /// - parameters:
38 + /// - redacting: The _dotted_ paths to be redacted.
| ╰─suggestion: Remove 'redacting' parameter documentation
39 | /// - replacement: Value uses to replace any matched redactions.
40 | /// - returns: `Logger.Metadata` with the expressed key paths redacted.
warning: Parameter 'redacting' not found in instance method declaration
--> Sources/Occurrence/LoggableError.swift:38:11-38:58
36 | ///
37 | /// - parameters:
38 + /// - redacting: The _dotted_ paths to be redacted.
| ╰─suggestion: Remove 'redacting' parameter documentation
39 | /// - replacement: Value uses to replace any matched redactions.
40 | /// - returns: `Logger.Metadata` with the expressed key paths redacted.
warning: Parameter 'redacting' not found in instance method declaration
--> Sources/Occurrence/LoggableError.swift:38:11-38:58
36 | ///
37 | /// - parameters:
38 + /// - redacting: The _dotted_ paths to be redacted.
| ╰─suggestion: Remove 'redacting' parameter documentation
39 | /// - replacement: Value uses to replace any matched redactions.
40 | /// - returns: `Logger.Metadata` with the expressed key paths redacted.
warning: Parameter 'redacting' not found in instance method declaration
--> Sources/Occurrence/LoggableError.swift:38:11-38:58
36 | ///
37 | /// - parameters:
38 + /// - redacting: The _dotted_ paths to be redacted.
| ╰─suggestion: Remove 'redacting' parameter documentation
39 | /// - replacement: Value uses to replace any matched redactions.
40 | /// - returns: `Logger.Metadata` with the expressed key paths redacted.
warning: Parameter 'redacting' not found in instance method declaration
--> Sources/Occurrence/LoggableError.swift:38:11-38:58
36 | ///
37 | /// - parameters:
38 + /// - redacting: The _dotted_ paths to be redacted.
| ╰─suggestion: Remove 'redacting' parameter documentation
39 | /// - replacement: Value uses to replace any matched redactions.
40 | /// - returns: `Logger.Metadata` with the expressed key paths redacted.
warning: Parameter 'keyPaths' is missing documentation
--> Sources/Occurrence/LoggableError.swift:39:71-39:71
37 | /// - parameters:
38 | /// - redacting: The _dotted_ paths to be redacted.
39 + /// - replacement: Value uses to replace any matched redactions.
| ╰─suggestion: Document 'keyPaths' parameter
40 | /// - returns: `Logger.Metadata` with the expressed key paths redacted.
41 | func metadata(redactingUserInfo keyPaths: [String] = [], replacement: String = "<REDACTED>") -> Logger.Metadata {
warning: Parameter 'keyPaths' is missing documentation
--> Sources/Occurrence/LoggableError.swift:39:71-39:71
37 | /// - parameters:
38 | /// - redacting: The _dotted_ paths to be redacted.
39 + /// - replacement: Value uses to replace any matched redactions.
| ╰─suggestion: Document 'keyPaths' parameter
40 | /// - returns: `Logger.Metadata` with the expressed key paths redacted.
41 | func metadata(redactingUserInfo keyPaths: [String] = [], replacement: String = "<REDACTED>") -> Logger.Metadata {
warning: Parameter 'keyPaths' is missing documentation
--> Sources/Occurrence/LoggableError.swift:39:71-39:71
37 | /// - parameters:
38 | /// - redacting: The _dotted_ paths to be redacted.
39 + /// - replacement: Value uses to replace any matched redactions.
| ╰─suggestion: Document 'keyPaths' parameter
40 | /// - returns: `Logger.Metadata` with the expressed key paths redacted.
41 | func metadata(redactingUserInfo keyPaths: [String] = [], replacement: String = "<REDACTED>") -> Logger.Metadata {
warning: Parameter 'keyPaths' is missing documentation
--> Sources/Occurrence/LoggableError.swift:39:71-39:71
37 | /// - parameters:
38 | /// - redacting: The _dotted_ paths to be redacted.
39 + /// - replacement: Value uses to replace any matched redactions.
| ╰─suggestion: Document 'keyPaths' parameter
40 | /// - returns: `Logger.Metadata` with the expressed key paths redacted.
41 | func metadata(redactingUserInfo keyPaths: [String] = [], replacement: String = "<REDACTED>") -> Logger.Metadata {
warning: Parameter 'keyPaths' is missing documentation
--> Sources/Occurrence/LoggableError.swift:39:71-39:71
37 | /// - parameters:
38 | /// - redacting: The _dotted_ paths to be redacted.
39 + /// - replacement: Value uses to replace any matched redactions.
| ╰─suggestion: Document 'keyPaths' parameter
40 | /// - returns: `Logger.Metadata` with the expressed key paths redacted.
41 | func metadata(redactingUserInfo keyPaths: [String] = [], replacement: String = "<REDACTED>") -> Logger.Metadata {
Finished building documentation for 'Occurrence' (0.74s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/richardpiazza/occurrence/0.10.1
warning: 'sqlite.swift': /Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Package.swift:7:15: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
5 | name: "SQLite.swift",
6 | platforms: [
7 | .iOS(.v11),
| `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
8 | .macOS(.v10_13),
9 | .watchOS(.v4),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Package.swift:10:16: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
8 | .macOS(.v10_13),
9 | .watchOS(.v4),
10 | .tvOS(.v11),
| `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
11 | .visionOS(.v1)
12 | ],
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2133] Fetching swift-docc-plugin
Updating https://github.com/richardpiazza/Statement.git
Updating https://github.com/stephencelis/SQLite.swift.git
Updating https://github.com/apple/swift-log.git
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.19s)
Updated https://github.com/apple/swift-log.git (0.49s)
Updated https://github.com/stephencelis/SQLite.swift.git (0.52s)
Updated https://github.com/richardpiazza/Statement.git (0.52s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
warning: 'sqlite.swift': /Package.swift:7:15: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
5 | name: "SQLite.swift",
6 | platforms: [
7 | .iOS(.v11),
| `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
8 | .macOS(.v10_13),
9 | .watchOS(.v4),
/Package.swift:10:16: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
8 | .macOS(.v10_13),
9 | .watchOS(.v4),
10 | .tvOS(.v11),
| `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
11 | .visionOS(.v1)
12 | ],
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/stephencelis/SQLite.swift.git at 0.15.3 (2.22s)
Computing version for https://github.com/richardpiazza/Statement.git
Computed https://github.com/richardpiazza/Statement.git at 0.8.1 (0.50s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.50s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (2.33s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3541] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.11s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.89s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write snippet-extract-tool-entitlement.plist
[1/8] Write sources
[4/8] Write swift-version-49B95AFC49DCD68C.txt
[6/53] Compiling SymbolKit SemanticVersion.swift
[7/53] Compiling SymbolKit AccessControl.swift
[8/53] Compiling SymbolKit Availability.swift
[9/53] Compiling SymbolKit AvailabilityItem.swift
[10/53] Compiling SymbolKit Domain.swift
[11/57] Compiling SymbolKit GenericConstraint.swift
[12/57] Compiling SymbolKit GenericParameter.swift
[13/57] Compiling SymbolKit Generics.swift
[14/57] Compiling SymbolKit Namespace.swift
[15/57] Compiling SymbolKit Names.swift
[16/57] Compiling SymbolKit SPI.swift
[17/57] Compiling SymbolKit Snippet.swift
[18/57] Compiling SymbolKit Extension.swift
[19/57] Emitting module SymbolKit
[20/57] Compiling SymbolKit SourceRange.swift
[21/57] Compiling SymbolKit Metadata.swift
[22/57] Compiling SymbolKit Module.swift
[23/57] Compiling SymbolKit OperatingSystem.swift
[24/57] Compiling SymbolKit Platform.swift
[25/57] Compiling SymbolKit Mixin+Equals.swift
[26/57] Compiling SymbolKit Mixin+Hash.swift
[27/57] Compiling SymbolKit Mixin.swift
[28/57] Compiling SymbolKit LineList.swift
[29/57] Compiling SymbolKit Position.swift
[30/57] Compiling SymbolKit Identifier.swift
[31/57] Compiling SymbolKit KindIdentifier.swift
[32/57] Compiling SymbolKit Location.swift
[33/57] Compiling SymbolKit Mutability.swift
[34/57] Compiling SymbolKit DeclarationFragments.swift
[35/57] Compiling SymbolKit Fragment.swift
[36/57] Compiling SymbolKit FragmentKind.swift
[37/57] Compiling SymbolKit FunctionParameter.swift
[38/57] Compiling SymbolKit FunctionSignature.swift
[39/57] Compiling SymbolKit Relationship.swift
[40/57] Compiling SymbolKit RelationshipKind.swift
[41/57] Compiling SymbolKit SourceOrigin.swift
[42/57] Compiling SymbolKit GenericConstraints.swift
[43/57] Compiling SymbolKit Swift.swift
[44/57] Compiling SymbolKit Symbol.swift
[45/57] Compiling SymbolKit SymbolKind.swift
[46/57] Compiling SymbolKit SymbolGraph.swift
[47/57] Compiling SymbolKit GraphCollector.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Compiling Snippets SnippetParser.swift
[53/57] Compiling Snippets Snippet.swift
[54/57] Emitting module Snippets
[55/61] Emitting module snippet_extract
[56/61] Compiling snippet_extract SnippetBuildCommand.swift
[57/61] Compiling snippet_extract URL+Status.swift
[58/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (3.12s)
warning: 'sqlite.swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/PrivacyInfo.xcprivacy
Building for debugging...
[0/1] Write swift-version-49B95AFC49DCD68C.txt
Build of target: 'Occurrence' complete! (0.19s)
2120
15 /Users/admin/builder/spi-builder-workspace/.docs/richardpiazza/occurrence/0.10.1
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/richardpiazza/occurrence/0.10.1
File count: 2120
Doc size: 15.0MB
Preparing doc bundle ...
Uploading prod-richardpiazza-occurrence-0.10.1-b136e578.zip to s3://spi-docs-inbox/prod-richardpiazza-occurrence-0.10.1-b136e578.zip
Copying... [11%]
Copying... [20%]
Copying... [31%]
Copying... [40%]
Copying... [52%]
Copying... [61%]
Copying... [72%]
Copying... [81%]
Copying... [92%]
Copying... [100%]
Done.