Build Information
Successful build of Occurrence, reference 0.8.0 (41a421
), with Swift 6.0 for macOS (SPM) on 16 Mar 2025 05:49:29 UTC.
Swift 6 data race errors: 11
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -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
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 /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/richardpiazza/Statement.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/stephencelis/SQLite.swift.git
[1/745] Fetching statement
[746/10345] Fetching statement, sqlite.swift
[747/14132] Fetching statement, sqlite.swift, swift-log
Fetched https://github.com/richardpiazza/Statement.git from cache (1.58s)
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (1.58s)
Fetched https://github.com/apple/swift-log.git from cache (1.58s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.14.1 (3.16s)
Computing version for https://github.com/richardpiazza/Statement.git
Computed https://github.com/richardpiazza/Statement.git at 0.7.2 (0.54s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.2 (0.43s)
Creating working copy for https://github.com/richardpiazza/Statement.git
Working copy of https://github.com/richardpiazza/Statement.git resolved at 0.7.2
Creating working copy for https://github.com/stephencelis/SQLite.swift.git
Working copy of https://github.com/stephencelis/SQLite.swift.git resolved at 0.14.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.2
========================================
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.3",
"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.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SQLite.swift",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/richardpiazza/Occurrence.git
[1/609] Fetching occurrence
Fetched https://github.com/richardpiazza/Occurrence.git from cache (0.82s)
Fetching https://github.com/stephencelis/SQLite.swift.git from cache
Fetching https://github.com/richardpiazza/Statement.git from cache
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/richardpiazza/Statement.git from cache (0.55s)
Fetched https://github.com/apple/swift-log.git from cache (0.55s)
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (0.55s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.46s)
Computing version for https://github.com/richardpiazza/Statement.git
Computed https://github.com/richardpiazza/Statement.git at 0.8.1 (0.44s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
warning: 'sqlite.swift': /Package.swift:7:15: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
5 | name: "SQLite.swift",
6 | platforms: [
7 | .iOS(.v11),
| `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
8 | .macOS(.v10_13),
9 | .watchOS(.v4),
/Package.swift:10:16: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
8 | .macOS(.v10_13),
9 | .watchOS(.v4),
10 | .tvOS(.v11),
| `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
11 | .visionOS(.v1)
12 | ],
Computed https://github.com/stephencelis/SQLite.swift.git at 0.15.3 (0.44s)
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/Occurrence.git
Working copy of https://github.com/richardpiazza/Occurrence.git resolved at 0.8.0 (41a4215)
Creating working copy for https://github.com/richardpiazza/Statement.git
Working copy of https://github.com/richardpiazza/Statement.git resolved at 0.8.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
warning: 'sqlite.swift': /Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SQLite.swift/Package.swift:7:15: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
5 | name: "SQLite.swift",
6 | platforms: [
7 | .iOS(.v11),
| `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
8 | .macOS(.v10_13),
9 | .watchOS(.v4),
/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SQLite.swift/Package.swift:10:16: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
8 | .macOS(.v10_13),
9 | .watchOS(.v4),
10 | .tvOS(.v11),
| `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
11 | .visionOS(.v1)
12 | ],
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.0
Building package at path: $PWD
https://github.com/richardpiazza/Occurrence.git
https://github.com/richardpiazza/Occurrence.git
{
"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" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "maccatalyst",
"version" : "15.0"
},
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "Occurrence",
"targets" : [
"Occurrence"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "OccurrenceTests",
"module_type" : "SwiftTarget",
"name" : "OccurrenceTests",
"path" : "Tests/OccurrenceTests",
"product_dependencies" : [
"Logging"
],
"sources" : [
"CoreDataLogProviderTests.swift",
"LogProviderTestCase.swift",
"LogStreamerTests.swift",
"LoggableErrorTests.swift",
"LoggerMetadataTests.swift",
"OccurrenceTests.swift",
"RedactionTests.swift",
"SQLiteLogProviderTests.swift"
],
"target_dependencies" : [
"Occurrence"
],
"type" : "test"
},
{
"c99name" : "Occurrence",
"module_type" : "SwiftTarget",
"name" : "Occurrence",
"path" : "Sources/Occurrence",
"product_dependencies" : [
"Logging",
"Statement",
"StatementSQLite",
"SQLite"
],
"product_memberships" : [
"Occurrence"
],
"sources" : [
"CoreData/CoreDataLogProvider.swift",
"CoreData/LogModel.swift",
"CoreData/Logger.Filter+Predicate.swift",
"CoreData/ManagedEntry.swift",
"Extensions/Array+Occurrence.swift",
"Extensions/CocoaError+Occurrence.swift",
"Extensions/DecodingError+Occurrence.swift",
"Extensions/Dictionary+Occurrence.swift",
"Extensions/EncodingError+Occurrence.swift",
"Extensions/FileManager+Occurrence.swift",
"Extensions/Logger+Entry.swift",
"Extensions/Logger+Filter.swift",
"Extensions/Logger+Occurrence.swift",
"Extensions/Logger+Subsystem.swift",
"Extensions/Logger.Level+Occurrence.swift",
"Extensions/Logger.Message+Occurrence.swift",
"Extensions/Logger.Metadata+Occurrence.swift",
"Extensions/Logger.MetadataKey.swift",
"Extensions/Logger.MetadataValue+Occurrence.swift",
"Extensions/URLError+Occurrence.swift",
"LazyLogger.swift",
"LogProvider.swift",
"LogStreamer.swift",
"LoggableError.swift",
"Occurrence.swift",
"SQLite/Logger.Filter+Where.swift",
"SQLite/SQLiteEntry+Mapping.swift",
"SQLite/SQLiteEntry.swift",
"SQLite/SQLiteLogProvider.swift",
"Streamer/OccurrenceLogStreamer.swift",
"SwiftUI/LogView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-5BDAB9E9C0126B9D.txt
[7/70] Emitting module Statement
[8/72] Compiling Logging MetadataProvider.swift
[9/72] Compiling Logging LogHandler.swift
[10/72] Compiling Logging Logging.swift
[11/72] Compiling Logging Locks.swift
[12/72] Emitting module Logging
[13/72] Emitting module SQLite
[14/75] Compiling SQLite Value.swift
[15/75] Compiling SQLite Cipher.swift
[16/75] Compiling SQLite FTS4.swift
[17/75] Compiling SQLite FTS5.swift
[18/75] Compiling SQLite Expression.swift
[19/75] Compiling SQLite Operators.swift
[20/75] Compiling SQLite Query+with.swift
[21/75] Compiling SQLite SchemaChanger.swift
[22/75] Compiling SQLite SchemaDefinitions.swift
[23/75] Compiling SQLite SchemaReader.swift
[24/75] Compiling SQLite Query.swift
[25/75] Compiling SQLite Schema.swift
[26/75] Compiling SQLite Setter.swift
[28/75] Compiling SQLite RTree.swift
[29/75] Compiling SQLite Foundation.swift
[33/75] Compiling SQLite SQLiteVersion.swift
[34/75] Compiling SQLite Statement.swift
[35/75] Compiling SQLite URIQueryParameter.swift
[36/75] Compiling SQLite Connection+Aggregation.swift
[37/75] Compiling SQLite Connection+Attach.swift
[38/75] Compiling SQLite SQLiteFeature.swift
[39/75] Compiling SQLite Connection+Pragmas.swift
[40/75] Compiling SQLite Connection.swift
[41/75] Compiling SQLite Errors.swift
[42/75] Compiling Statement Renderer.swift
[43/75] Compiling SQLite Backup.swift
[44/75] Compiling SQLite Blob.swift
[45/75] Compiling SQLite Helpers.swift
[46/75] Compiling SQLite Connection+Schema.swift
[50/75] Compiling SQLite CoreFunctions.swift
[51/75] Compiling SQLite CustomFunctions.swift
[52/75] Compiling Statement LogicalPredicate.swift
[53/75] Compiling Statement Segment.swift
[54/94] Compiling StatementSQLite InsertContext.swift
[55/94] Compiling StatementSQLite JoinContext.swift
[56/94] Compiling StatementSQLite UpdateContext.swift
[57/94] Compiling StatementSQLite ValuesContext.swift
[59/94] Compiling SQLite Coding.swift
[60/94] Compiling SQLite Collation.swift
[61/94] Compiling StatementSQLite DeleteContext.swift
[62/94] Compiling StatementSQLite Field+SQLite.swift
[65/94] Compiling StatementSQLite SQLiteStatement.swift
[66/94] Compiling StatementSQLite Segment+SQLite.swift
[67/94] Compiling StatementSQLite LimitContext.swift
[68/94] Compiling StatementSQLite OrderContext.swift
[69/95] Compiling StatementSQLite FromContext.swift
[70/95] Compiling StatementSQLite HavingContext.swift
[77/95] Compiling StatementSQLite DataType+SQLite.swift
[78/95] Compiling StatementSQLite DataTypeConvertible+SQLite.swift
[79/95] Compiling StatementSQLite SelectContext.swift
[80/95] Compiling StatementSQLite SetContext.swift
[81/95] Emitting module StatementSQLite
[82/95] Compiling StatementSQLite AlterTableContext.swift
[83/95] Compiling StatementSQLite CreateContext.swift
[95/95] Compiling StatementSQLite WhereContext.swift
[96/124] Compiling Occurrence URLError+Occurrence.swift
[97/124] Compiling Occurrence LazyLogger.swift
[98/124] Compiling Occurrence LogProvider.swift
[99/127] Compiling Occurrence Dictionary+Occurrence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/EncodingError+Occurrence.swift:4:1: warning: extension declares a conformance of imported type 'EncodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
2 | import Logging
3 |
4 | extension EncodingError: CustomNSError, LoggableError {
| |- warning: extension declares a conformance of imported type 'EncodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public static var errorDomain: String { "SwiftEncodingErrorDomain" }
6 |
[100/127] Compiling Occurrence EncodingError+Occurrence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/EncodingError+Occurrence.swift:4:1: warning: extension declares a conformance of imported type 'EncodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
2 | import Logging
3 |
4 | extension EncodingError: CustomNSError, LoggableError {
| |- warning: extension declares a conformance of imported type 'EncodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public static var errorDomain: String { "SwiftEncodingErrorDomain" }
6 |
[101/127] Compiling Occurrence FileManager+Occurrence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/EncodingError+Occurrence.swift:4:1: warning: extension declares a conformance of imported type 'EncodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
2 | import Logging
3 |
4 | extension EncodingError: CustomNSError, LoggableError {
| |- warning: extension declares a conformance of imported type 'EncodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public static var errorDomain: String { "SwiftEncodingErrorDomain" }
6 |
[102/127] Compiling Occurrence Array+Occurrence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/DecodingError+Occurrence.swift:4:1: warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
2 | import Logging
3 |
4 | extension DecodingError: CustomNSError, LoggableError {
| |- warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public static var errorDomain: String { "SwiftDecodingErrorDomain" }
6 |
[103/127] Compiling Occurrence CocoaError+Occurrence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/DecodingError+Occurrence.swift:4:1: warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
2 | import Logging
3 |
4 | extension DecodingError: CustomNSError, LoggableError {
| |- warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public static var errorDomain: String { "SwiftDecodingErrorDomain" }
6 |
[104/127] Compiling Occurrence DecodingError+Occurrence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/DecodingError+Occurrence.swift:4:1: warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
2 | import Logging
3 |
4 | extension DecodingError: CustomNSError, LoggableError {
| |- warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public static var errorDomain: String { "SwiftDecodingErrorDomain" }
6 |
[105/127] Compiling Occurrence Logger+Subsystem.swift
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/Logger.Level+Occurrence.swift:25:1: warning: extension declares a conformance of imported type 'Level' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Logging' introduce this conformance in the future
23 | }
24 |
25 | extension Logger.Level: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'Level' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Logging' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
26 | public var description: String {
27 | "\(gem) \(fixedWidthDescription.uppercased())"
[106/127] Compiling Occurrence Logger.Level+Occurrence.swift
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/Logger.Level+Occurrence.swift:25:1: warning: extension declares a conformance of imported type 'Level' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Logging' introduce this conformance in the future
23 | }
24 |
25 | extension Logger.Level: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'Level' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Logging' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
26 | public var description: String {
27 | "\(gem) \(fixedWidthDescription.uppercased())"
[107/127] Compiling Occurrence Logger.Message+Occurrence.swift
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/Logger.Level+Occurrence.swift:25:1: warning: extension declares a conformance of imported type 'Level' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Logging' introduce this conformance in the future
23 | }
24 |
25 | extension Logger.Level: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'Level' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Logging' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
26 | public var description: String {
27 | "\(gem) \(fixedWidthDescription.uppercased())"
[108/127] Compiling Occurrence LogStreamer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:11:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | }
10 |
11 | public static var configuration: Configuration = .init()
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | private static var bootstrapped: Bool = false
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:12:24: warning: static property 'bootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public static var configuration: Configuration = .init()
12 | private static var bootstrapped: Bool = false
| |- warning: static property 'bootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bootstrapped' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'bootstrapped' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Bootstraps **Occurrence** in to `Logging.LoggingSystem`.
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:30:23: warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
| |- warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logStreamer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public static var logProvider: LogProvider = {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/LogStreamer.swift:7:17: note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
5 | #endif
6 |
7 | public protocol LogStreamer {
| `- note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
8 | /// `AsyncStream` which emits log entries.
9 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:32:23: warning: static property 'logProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
31 |
32 | public static var logProvider: LogProvider = {
| |- warning: static property 'logProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | do {
34 | #if canImport(CoreData)
[109/127] Compiling Occurrence LoggableError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:11:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | }
10 |
11 | public static var configuration: Configuration = .init()
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | private static var bootstrapped: Bool = false
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:12:24: warning: static property 'bootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public static var configuration: Configuration = .init()
12 | private static var bootstrapped: Bool = false
| |- warning: static property 'bootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bootstrapped' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'bootstrapped' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Bootstraps **Occurrence** in to `Logging.LoggingSystem`.
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:30:23: warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
| |- warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logStreamer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public static var logProvider: LogProvider = {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/LogStreamer.swift:7:17: note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
5 | #endif
6 |
7 | public protocol LogStreamer {
| `- note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
8 | /// `AsyncStream` which emits log entries.
9 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:32:23: warning: static property 'logProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
31 |
32 | public static var logProvider: LogProvider = {
| |- warning: static property 'logProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | do {
34 | #if canImport(CoreData)
[110/127] Compiling Occurrence Occurrence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:11:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | }
10 |
11 | public static var configuration: Configuration = .init()
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | private static var bootstrapped: Bool = false
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:12:24: warning: static property 'bootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public static var configuration: Configuration = .init()
12 | private static var bootstrapped: Bool = false
| |- warning: static property 'bootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bootstrapped' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'bootstrapped' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Bootstraps **Occurrence** in to `Logging.LoggingSystem`.
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:30:23: warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
| |- warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logStreamer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public static var logProvider: LogProvider = {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/LogStreamer.swift:7:17: note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
5 | #endif
6 |
7 | public protocol LogStreamer {
| `- note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
8 | /// `AsyncStream` which emits log entries.
9 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:32:23: warning: static property 'logProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
31 |
32 | public static var logProvider: LogProvider = {
| |- warning: static property 'logProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | do {
34 | #if canImport(CoreData)
[111/127] Compiling Occurrence Logger.Metadata+Occurrence.swift
[112/127] Compiling Occurrence Logger.MetadataKey.swift
[113/127] Compiling Occurrence Logger.MetadataValue+Occurrence.swift
[114/127] Compiling Occurrence Logger.Filter+Where.swift
/Users/admin/builder/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"]! }
[115/127] Compiling Occurrence SQLiteEntry+Mapping.swift
/Users/admin/builder/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"]! }
[116/127] Compiling Occurrence SQLiteEntry.swift
/Users/admin/builder/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"]! }
[117/127] Compiling Occurrence Logger+Entry.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/Logger+Entry.swift:7:27: warning: static property 'gmtDateFormatter' is not concurrency-safe because it is 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'"
[118/127] Compiling Occurrence Logger+Filter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/Logger+Entry.swift:7:27: warning: static property 'gmtDateFormatter' is not concurrency-safe because it is 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'"
[119/127] Compiling Occurrence Logger+Occurrence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/Logger+Entry.swift:7:27: warning: static property 'gmtDateFormatter' is not concurrency-safe because it is 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'"
[120/127] Emitting module Occurrence
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/LogModel.swift:8:16: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | case version_1_0_0
7 |
8 | static var `default`: LogModel = .version_1_0_0
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | var managedObjectModel: NSManagedObjectModel {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/LogModel.swift:20:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Version_1_0_0' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | class Version_1_0_0: NSManagedObjectModel, NSSecureCoding {
| `- note: class 'Version_1_0_0' does not conform to the 'Sendable' protocol
18 | /// Provide a singular instance of the model to be referenced. There is a known issue where when referencing
19 | /// a model in an app target, as well as unit tests, a model - and therefore its entities - can be loaded twice.
20 | static let instance: Version_1_0_0 = Version_1_0_0()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Version_1_0_0' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | static var supportsSecureCoding: Bool { true }
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/DecodingError+Occurrence.swift:4:1: warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
2 | import Logging
3 |
4 | extension DecodingError: CustomNSError, LoggableError {
| |- warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public static var errorDomain: String { "SwiftDecodingErrorDomain" }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/EncodingError+Occurrence.swift:4:1: warning: extension declares a conformance of imported type 'EncodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
2 | import Logging
3 |
4 | extension EncodingError: CustomNSError, LoggableError {
| |- warning: extension declares a conformance of imported type 'EncodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public static var errorDomain: String { "SwiftEncodingErrorDomain" }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/Logger+Entry.swift:7:27: warning: static property 'gmtDateFormatter' is not concurrency-safe because it is 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'"
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/Logger.Level+Occurrence.swift:25:1: warning: extension declares a conformance of imported type 'Level' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Logging' introduce this conformance in the future
23 | }
24 |
25 | extension Logger.Level: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'Level' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Logging' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
26 | public var description: String {
27 | "\(gem) \(fixedWidthDescription.uppercased())"
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:11:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | }
10 |
11 | public static var configuration: Configuration = .init()
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | private static var bootstrapped: Bool = false
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:12:24: warning: static property 'bootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public static var configuration: Configuration = .init()
12 | private static var bootstrapped: Bool = false
| |- warning: static property 'bootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bootstrapped' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'bootstrapped' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Bootstraps **Occurrence** in to `Logging.LoggingSystem`.
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:30:23: warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
| |- warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logStreamer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public static var logProvider: LogProvider = {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/LogStreamer.swift:7:17: note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
5 | #endif
6 |
7 | public protocol LogStreamer {
| `- note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
8 | /// `AsyncStream` which emits log entries.
9 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:32:23: warning: static property 'logProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
31 |
32 | public static var logProvider: LogProvider = {
| |- warning: static property 'logProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | do {
34 | #if canImport(CoreData)
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/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"]! }
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/SwiftUI/LogView.swift:336:16: warning: static property 'sub1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
334 |
335 | private extension Logger.Subsystem {
336 | static var sub1: Logger.Subsystem = "package.diagnostics"
| |- warning: static property 'sub1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sub1' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sub1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
337 | static var sub2: Logger.Subsystem = "app.iOS"
338 | }
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/SwiftUI/LogView.swift:337:16: warning: static property 'sub2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
335 | private extension Logger.Subsystem {
336 | static var sub1: Logger.Subsystem = "package.diagnostics"
337 | static var sub2: Logger.Subsystem = "app.iOS"
| |- warning: static property 'sub2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sub2' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sub2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | }
339 |
[121/127] Compiling Occurrence CoreDataLogProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/LogModel.swift:8:16: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | case version_1_0_0
7 |
8 | static var `default`: LogModel = .version_1_0_0
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | var managedObjectModel: NSManagedObjectModel {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/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 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/LogModel.swift:20:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Version_1_0_0' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | class Version_1_0_0: NSManagedObjectModel, NSSecureCoding {
| `- note: class 'Version_1_0_0' does not conform to the 'Sendable' protocol
18 | /// Provide a singular instance of the model to be referenced. There is a known issue where when referencing
19 | /// a model in an app target, as well as unit tests, a model - and therefore its entities - can be loaded twice.
20 | static let instance: Version_1_0_0 = Version_1_0_0()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Version_1_0_0' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | static var supportsSecureCoding: Bool { true }
[122/127] Compiling Occurrence LogModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/LogModel.swift:8:16: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | case version_1_0_0
7 |
8 | static var `default`: LogModel = .version_1_0_0
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | var managedObjectModel: NSManagedObjectModel {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/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 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/LogModel.swift:20:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Version_1_0_0' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | class Version_1_0_0: NSManagedObjectModel, NSSecureCoding {
| `- note: class 'Version_1_0_0' does not conform to the 'Sendable' protocol
18 | /// Provide a singular instance of the model to be referenced. There is a known issue where when referencing
19 | /// a model in an app target, as well as unit tests, a model - and therefore its entities - can be loaded twice.
20 | static let instance: Version_1_0_0 = Version_1_0_0()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Version_1_0_0' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | static var supportsSecureCoding: Bool { true }
[123/127] Compiling Occurrence Logger.Filter+Predicate.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/LogModel.swift:8:16: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | case version_1_0_0
7 |
8 | static var `default`: LogModel = .version_1_0_0
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | var managedObjectModel: NSManagedObjectModel {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/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 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/LogModel.swift:20:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Version_1_0_0' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | class Version_1_0_0: NSManagedObjectModel, NSSecureCoding {
| `- note: class 'Version_1_0_0' does not conform to the 'Sendable' protocol
18 | /// Provide a singular instance of the model to be referenced. There is a known issue where when referencing
19 | /// a model in an app target, as well as unit tests, a model - and therefore its entities - can be loaded twice.
20 | static let instance: Version_1_0_0 = Version_1_0_0()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Version_1_0_0' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | static var supportsSecureCoding: Bool { true }
[124/127] Compiling Occurrence ManagedEntry.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/LogModel.swift:8:16: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | case version_1_0_0
7 |
8 | static var `default`: LogModel = .version_1_0_0
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | var managedObjectModel: NSManagedObjectModel {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/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 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/CoreData/LogModel.swift:20:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Version_1_0_0' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | class Version_1_0_0: NSManagedObjectModel, NSSecureCoding {
| `- note: class 'Version_1_0_0' does not conform to the 'Sendable' protocol
18 | /// Provide a singular instance of the model to be referenced. There is a known issue where when referencing
19 | /// a model in an app target, as well as unit tests, a model - and therefore its entities - can be loaded twice.
20 | static let instance: Version_1_0_0 = Version_1_0_0()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Version_1_0_0' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | static var supportsSecureCoding: Bool { true }
[125/127] Compiling Occurrence SQLiteLogProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/Logger+Subsystem.swift: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 |
/Users/admin/builder/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"]! }
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:32:23: warning: static property 'logProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
31 |
32 | public static var logProvider: LogProvider = {
| |- warning: static property 'logProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | do {
34 | #if canImport(CoreData)
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:30:23: warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
| |- warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logStreamer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public static var logProvider: LogProvider = {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/LogStreamer.swift:7:17: note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
5 | #endif
6 |
7 | public protocol LogStreamer {
| `- note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
8 | /// `AsyncStream` which emits log entries.
9 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/SwiftUI/LogView.swift:336:16: warning: static property 'sub1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
334 |
335 | private extension Logger.Subsystem {
336 | static var sub1: Logger.Subsystem = "package.diagnostics"
| |- warning: static property 'sub1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sub1' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sub1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
337 | static var sub2: Logger.Subsystem = "app.iOS"
338 | }
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/SwiftUI/LogView.swift:337:16: warning: static property 'sub2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
335 | private extension Logger.Subsystem {
336 | static var sub1: Logger.Subsystem = "package.diagnostics"
337 | static var sub2: Logger.Subsystem = "app.iOS"
| |- warning: static property 'sub2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sub2' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sub2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | }
339 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/Logger+Entry.swift:7:27: warning: static property 'gmtDateFormatter' is not concurrency-safe because it is 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'"
/Users/admin/builder/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)
[126/127] Compiling Occurrence OccurrenceLogStreamer.swift
/Users/admin/builder/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 |
/Users/admin/builder/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"]! }
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:32:23: warning: static property 'logProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
31 |
32 | public static var logProvider: LogProvider = {
| |- warning: static property 'logProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | do {
34 | #if canImport(CoreData)
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:30:23: warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
| |- warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logStreamer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public static var logProvider: LogProvider = {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/LogStreamer.swift:7:17: note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
5 | #endif
6 |
7 | public protocol LogStreamer {
| `- note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
8 | /// `AsyncStream` which emits log entries.
9 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/SwiftUI/LogView.swift:336:16: warning: static property 'sub1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
334 |
335 | private extension Logger.Subsystem {
336 | static var sub1: Logger.Subsystem = "package.diagnostics"
| |- warning: static property 'sub1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sub1' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sub1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
337 | static var sub2: Logger.Subsystem = "app.iOS"
338 | }
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/SwiftUI/LogView.swift:337:16: warning: static property 'sub2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
335 | private extension Logger.Subsystem {
336 | static var sub1: Logger.Subsystem = "package.diagnostics"
337 | static var sub2: Logger.Subsystem = "app.iOS"
| |- warning: static property 'sub2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sub2' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sub2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | }
339 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/Logger+Entry.swift:7:27: warning: static property 'gmtDateFormatter' is not concurrency-safe because it is 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'"
/Users/admin/builder/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)
[127/127] Compiling Occurrence LogView.swift
/Users/admin/builder/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 |
/Users/admin/builder/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"]! }
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:32:23: warning: static property 'logProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
31 |
32 | public static var logProvider: LogProvider = {
| |- warning: static property 'logProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | do {
34 | #if canImport(CoreData)
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:30:23: warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
| |- warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logStreamer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public static var logProvider: LogProvider = {
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/LogStreamer.swift:7:17: note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
5 | #endif
6 |
7 | public protocol LogStreamer {
| `- note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
8 | /// `AsyncStream` which emits log entries.
9 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/SwiftUI/LogView.swift:336:16: warning: static property 'sub1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
334 |
335 | private extension Logger.Subsystem {
336 | static var sub1: Logger.Subsystem = "package.diagnostics"
| |- warning: static property 'sub1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sub1' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sub1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
337 | static var sub2: Logger.Subsystem = "app.iOS"
338 | }
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/SwiftUI/LogView.swift:337:16: warning: static property 'sub2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
335 | private extension Logger.Subsystem {
336 | static var sub1: Logger.Subsystem = "package.diagnostics"
337 | static var sub2: Logger.Subsystem = "app.iOS"
| |- warning: static property 'sub2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sub2' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sub2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | }
339 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/Logger+Entry.swift:7:27: warning: static property 'gmtDateFormatter' is not concurrency-safe because it is 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'"
/Users/admin/builder/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)
Build complete! (34.77s)
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" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "maccatalyst",
"version" : "15.0"
},
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "Occurrence",
"targets" : [
"Occurrence"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "OccurrenceTests",
"module_type" : "SwiftTarget",
"name" : "OccurrenceTests",
"path" : "Tests/OccurrenceTests",
"product_dependencies" : [
"Logging"
],
"sources" : [
"CoreDataLogProviderTests.swift",
"LogProviderTestCase.swift",
"LogStreamerTests.swift",
"LoggableErrorTests.swift",
"LoggerMetadataTests.swift",
"OccurrenceTests.swift",
"RedactionTests.swift",
"SQLiteLogProviderTests.swift"
],
"target_dependencies" : [
"Occurrence"
],
"type" : "test"
},
{
"c99name" : "Occurrence",
"module_type" : "SwiftTarget",
"name" : "Occurrence",
"path" : "Sources/Occurrence",
"product_dependencies" : [
"Logging",
"Statement",
"StatementSQLite",
"SQLite"
],
"product_memberships" : [
"Occurrence"
],
"sources" : [
"CoreData/CoreDataLogProvider.swift",
"CoreData/LogModel.swift",
"CoreData/Logger.Filter+Predicate.swift",
"CoreData/ManagedEntry.swift",
"Extensions/Array+Occurrence.swift",
"Extensions/CocoaError+Occurrence.swift",
"Extensions/DecodingError+Occurrence.swift",
"Extensions/Dictionary+Occurrence.swift",
"Extensions/EncodingError+Occurrence.swift",
"Extensions/FileManager+Occurrence.swift",
"Extensions/Logger+Entry.swift",
"Extensions/Logger+Filter.swift",
"Extensions/Logger+Occurrence.swift",
"Extensions/Logger+Subsystem.swift",
"Extensions/Logger.Level+Occurrence.swift",
"Extensions/Logger.Message+Occurrence.swift",
"Extensions/Logger.Metadata+Occurrence.swift",
"Extensions/Logger.MetadataKey.swift",
"Extensions/Logger.MetadataValue+Occurrence.swift",
"Extensions/URLError+Occurrence.swift",
"LazyLogger.swift",
"LogProvider.swift",
"LogStreamer.swift",
"LoggableError.swift",
"Occurrence.swift",
"SQLite/Logger.Filter+Where.swift",
"SQLite/SQLiteEntry+Mapping.swift",
"SQLite/SQLiteEntry.swift",
"SQLite/SQLiteLogProvider.swift",
"Streamer/OccurrenceLogStreamer.swift",
"SwiftUI/LogView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/richardpiazza/occurrence/0.8.0
Repository: richardpiazza/Occurrence
Swift version used: 6.0
Target: Occurrence
Extracting symbol information for 'Occurrence'...
Finished extracting symbol information for 'Occurrence'. (6.74s)
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.77s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/richardpiazza/occurrence/0.8.0
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/richardpiazza/Statement.git
Updating https://github.com/stephencelis/SQLite.swift.git
Updated https://github.com/richardpiazza/Statement.git (0.42s)
Updated https://github.com/stephencelis/SQLite.swift.git (0.51s)
[1/2050] Fetching swift-docc-plugin
Updating https://github.com/apple/swift-log.git
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.15s)
Updated https://github.com/apple/swift-log.git (0.56s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.14.1 (0.59s)
Computing version for https://github.com/richardpiazza/Statement.git
Computed https://github.com/richardpiazza/Statement.git at 0.7.2 (0.58s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.2 (0.44s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.56s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3341] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.26s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.56s)
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.3
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 sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version-5BDAB9E9C0126B9D.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit SemanticVersion.swift
[8/57] Compiling SymbolKit AccessControl.swift
[9/57] Compiling SymbolKit Availability.swift
[10/57] Compiling SymbolKit AvailabilityItem.swift
[11/57] Compiling SymbolKit Domain.swift
[12/57] Compiling SymbolKit DeclarationFragments.swift
[13/57] Compiling SymbolKit Fragment.swift
[14/57] Compiling SymbolKit FragmentKind.swift
[15/57] Compiling SymbolKit FunctionParameter.swift
[16/57] Compiling SymbolKit FunctionSignature.swift
[17/57] Compiling SymbolKit Mixin+Equals.swift
[18/57] Compiling SymbolKit Mixin+Hash.swift
[19/57] Compiling SymbolKit Mixin.swift
[20/57] Compiling SymbolKit LineList.swift
[21/57] Compiling SymbolKit Position.swift
[22/57] Compiling SymbolKit GenericConstraint.swift
[23/57] Compiling SymbolKit GenericParameter.swift
[24/57] Compiling SymbolKit Generics.swift
[25/57] Compiling SymbolKit Namespace.swift
[26/57] Compiling SymbolKit Identifier.swift
[27/57] Compiling SymbolKit KindIdentifier.swift
[28/57] Compiling SymbolKit Location.swift
[29/57] Compiling SymbolKit Mutability.swift
[30/57] Compiling SymbolKit Relationship.swift
[31/57] Compiling SymbolKit RelationshipKind.swift
[32/57] Compiling SymbolKit SourceOrigin.swift
[33/57] Compiling SymbolKit GenericConstraints.swift
[34/57] Compiling SymbolKit Swift.swift
[35/57] Compiling SymbolKit SourceRange.swift
[36/57] Compiling SymbolKit Metadata.swift
[37/57] Compiling SymbolKit Module.swift
[38/57] Compiling SymbolKit OperatingSystem.swift
[39/57] Compiling SymbolKit Platform.swift
[40/57] Compiling SymbolKit Names.swift
[41/57] Compiling SymbolKit SPI.swift
[42/57] Compiling SymbolKit Snippet.swift
[43/57] Compiling SymbolKit Extension.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 Snippet.swift
[53/57] Emitting module Snippets
[54/57] Compiling Snippets SnippetParser.swift
[55/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[56/61] Compiling snippet_extract URL+Status.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.28s)
Building for debugging...
[0/1] Write swift-version-5BDAB9E9C0126B9D.txt
[2/65] Emitting module Statement
[3/67] Compiling SQLite AggregateFunctions.swift
[4/67] Compiling SQLite Coding.swift
[5/67] Compiling SQLite SchemaChanger.swift
[6/67] Compiling SQLite SchemaDefinitions.swift
[7/67] Compiling SQLite SchemaReader.swift
[8/67] Compiling SQLite FTS4.swift
[9/67] Compiling SQLite FTS5.swift
[10/67] Compiling SQLite RTree.swift
[11/67] Compiling SQLite Foundation.swift
[12/67] Compiling SQLite Helpers.swift
[13/67] Compiling SQLite Connection+Schema.swift
[14/67] Compiling SQLite URIQueryParameter.swift
[15/67] Compiling SQLite Value.swift
[16/67] Compiling SQLite Cipher.swift
[17/67] Compiling SQLite Backup.swift
[18/67] Compiling SQLite Blob.swift
[19/67] Compiling SQLite Connection+Aggregation.swift
[20/67] Compiling SQLite Errors.swift
[21/67] Compiling SQLite Result.swift
[22/67] Compiling SQLite Connection+Attach.swift
[23/67] Compiling SQLite Connection+Pragmas.swift
[24/67] Compiling SQLite Connection.swift
[25/67] Compiling SQLite SQLiteFeature.swift
[26/67] Compiling SQLite SQLiteVersion.swift
[27/67] Compiling SQLite Statement.swift
[28/67] Compiling Logging MetadataProvider.swift
[29/67] Emitting module Logging
[30/67] Compiling Logging Logging.swift
[31/67] Compiling Logging Locks.swift
[32/67] Compiling Logging LogHandler.swift
[33/67] Compiling Statement LogicalPredicate.swift
[34/67] Compiling Statement Segment.swift
[55/85] Compiling SQLite CustomFunctions.swift
[56/85] Compiling SQLite DateAndTimeFunctions.swift
[57/89] Emitting module SQLite
[58/89] Compiling StatementSQLite DataType+SQLite.swift
[59/89] Compiling StatementSQLite DataTypeConvertible+SQLite.swift
[65/89] Compiling StatementSQLite InsertContext.swift
[66/89] Compiling StatementSQLite JoinContext.swift
[67/89] Emitting module StatementSQLite
[68/89] Compiling StatementSQLite FromContext.swift
[69/89] Compiling StatementSQLite HavingContext.swift
[70/90] Compiling StatementSQLite UpdateContext.swift
[71/90] Compiling StatementSQLite ValuesContext.swift
[72/90] Compiling StatementSQLite SelectContext.swift
[73/90] Compiling StatementSQLite SetContext.swift
[76/90] Compiling StatementSQLite LimitContext.swift
[77/90] Compiling StatementSQLite OrderContext.swift
[78/90] Compiling StatementSQLite SQLiteStatement.swift
[79/90] Compiling StatementSQLite Segment+SQLite.swift
[80/90] Compiling StatementSQLite DeleteContext.swift
[81/90] Compiling StatementSQLite Field+SQLite.swift
[82/90] Compiling StatementSQLite AlterTableContext.swift
[83/90] Compiling StatementSQLite CreateContext.swift
[84/90] Compiling StatementSQLite WhereContext.swift
[85/90] Compiling SQLite Expression.swift
[86/90] Compiling SQLite Operators.swift
[87/90] Compiling SQLite Query+with.swift
[88/90] Compiling SQLite Query.swift
[89/90] Compiling SQLite Schema.swift
[90/90] Compiling SQLite Setter.swift
[91/119] Compiling Occurrence Array+Occurrence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/DecodingError+Occurrence.swift:4:1: warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
2 | import Logging
3 |
4 | extension DecodingError: CustomNSError, LoggableError {
| |- warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public static var errorDomain: String { "SwiftDecodingErrorDomain" }
6 |
[92/119] Compiling Occurrence CocoaError+Occurrence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/DecodingError+Occurrence.swift:4:1: warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
2 | import Logging
3 |
4 | extension DecodingError: CustomNSError, LoggableError {
| |- warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public static var errorDomain: String { "SwiftDecodingErrorDomain" }
6 |
[93/119] Compiling Occurrence DecodingError+Occurrence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/DecodingError+Occurrence.swift:4:1: warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
2 | import Logging
3 |
4 | extension DecodingError: CustomNSError, LoggableError {
| |- warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public static var errorDomain: String { "SwiftDecodingErrorDomain" }
6 |
[94/122] Compiling Occurrence URLError+Occurrence.swift
[95/122] Compiling Occurrence LazyLogger.swift
[96/122] Compiling Occurrence LogProvider.swift
[97/122] Compiling Occurrence Logger+Subsystem.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/Logger.Level+Occurrence.swift:25:1: warning: extension declares a conformance of imported type 'Level' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Logging' introduce this conformance in the future
23 | }
24 |
25 | extension Logger.Level: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'Level' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Logging' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
26 | public var description: String {
27 | "\(gem) \(fixedWidthDescription.uppercased())"
[98/122] Compiling Occurrence Logger.Level+Occurrence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/Logger.Level+Occurrence.swift:25:1: warning: extension declares a conformance of imported type 'Level' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Logging' introduce this conformance in the future
23 | }
24 |
25 | extension Logger.Level: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'Level' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Logging' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
26 | public var description: String {
27 | "\(gem) \(fixedWidthDescription.uppercased())"
[99/122] Compiling Occurrence Logger.Message+Occurrence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/Logger.Level+Occurrence.swift:25:1: warning: extension declares a conformance of imported type 'Level' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Logging' introduce this conformance in the future
23 | }
24 |
25 | extension Logger.Level: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'Level' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Logging' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
26 | public var description: String {
27 | "\(gem) \(fixedWidthDescription.uppercased())"
[100/122] Compiling Occurrence Logger.Metadata+Occurrence.swift
[101/122] Compiling Occurrence Logger.MetadataKey.swift
[102/122] Compiling Occurrence Logger.MetadataValue+Occurrence.swift
[103/122] Emitting module Occurrence
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/DecodingError+Occurrence.swift:4:1: warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
2 | import Logging
3 |
4 | extension DecodingError: CustomNSError, LoggableError {
| |- warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public static var errorDomain: String { "SwiftDecodingErrorDomain" }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/EncodingError+Occurrence.swift:4:1: warning: extension declares a conformance of imported type 'EncodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
2 | import Logging
3 |
4 | extension EncodingError: CustomNSError, LoggableError {
| |- warning: extension declares a conformance of imported type 'EncodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public static var errorDomain: String { "SwiftEncodingErrorDomain" }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/Logger.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())"
[104/122] Compiling Occurrence Logger.Filter+Where.swift
[105/122] Compiling Occurrence SQLiteEntry+Mapping.swift
[106/122] Compiling Occurrence SQLiteEntry.swift
[107/122] Compiling Occurrence CoreDataLogProvider.swift
[108/122] Compiling Occurrence LogModel.swift
[109/122] Compiling Occurrence Logger.Filter+Predicate.swift
[110/122] Compiling Occurrence ManagedEntry.swift
[111/122] Compiling Occurrence LogStreamer.swift
[112/122] Compiling Occurrence LoggableError.swift
[113/122] Compiling Occurrence Occurrence.swift
[114/122] Compiling Occurrence Dictionary+Occurrence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/EncodingError+Occurrence.swift:4:1: warning: extension declares a conformance of imported type 'EncodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
2 | import Logging
3 |
4 | extension EncodingError: CustomNSError, LoggableError {
| |- warning: extension declares a conformance of imported type 'EncodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public static var errorDomain: String { "SwiftEncodingErrorDomain" }
6 |
[115/122] Compiling Occurrence EncodingError+Occurrence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/EncodingError+Occurrence.swift:4:1: warning: extension declares a conformance of imported type 'EncodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
2 | import Logging
3 |
4 | extension EncodingError: CustomNSError, LoggableError {
| |- warning: extension declares a conformance of imported type 'EncodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public static var errorDomain: String { "SwiftEncodingErrorDomain" }
6 |
[116/122] Compiling Occurrence FileManager+Occurrence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Occurrence/Extensions/EncodingError+Occurrence.swift:4:1: warning: extension declares a conformance of imported type 'EncodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
2 | import Logging
3 |
4 | extension EncodingError: CustomNSError, LoggableError {
| |- warning: extension declares a conformance of imported type 'EncodingError' to imported protocol 'CustomNSError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public static var errorDomain: String { "SwiftEncodingErrorDomain" }
6 |
[117/122] Compiling Occurrence Logger+Entry.swift
[118/122] Compiling Occurrence Logger+Filter.swift
[119/122] Compiling Occurrence Logger+Occurrence.swift
[120/122] Compiling Occurrence SQLiteLogProvider.swift
[121/122] Compiling Occurrence OccurrenceLogStreamer.swift
[122/122] Compiling Occurrence LogView.swift
Build of target: 'Occurrence' complete! (2.95s)
1858
14 /Users/admin/builder/spi-builder-workspace/.docs/richardpiazza/occurrence/0.8.0
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/richardpiazza/occurrence/0.8.0
File count: 1858
Doc size: 14.0MB
Preparing doc bundle ...
Uploading prod-richardpiazza-occurrence-0.8.0-e51d1e9e.zip to s3://spi-docs-inbox/prod-richardpiazza-occurrence-0.8.0-e51d1e9e.zip
Copying... [12%]
Copying... [22%]
Copying... [32%]
Copying... [42%]
Copying... [51%]
Copying... [61%]
Copying... [71%]
Copying... [81%]
Copying... [91%]
Copying... [100%]
Done.