The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Occurrence, reference 0.9.1 (763798), with Swift 6.1 for Linux on 14 Jun 2025 03:52:33 UTC.

Swift 6 data race errors: 6

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/richardpiazza/Occurrence.git
Reference: 0.9.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/richardpiazza/Occurrence
 * tag               0.9.1      -> FETCH_HEAD
HEAD is now at 763798a Sendable Conformances (#25)
Cloned https://github.com/richardpiazza/Occurrence.git
Revision (git rev-parse @):
763798a66ef9bd4940929a870fc724ca60c3ecdf
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/richardpiazza/Occurrence.git at 0.9.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/richardpiazza/Occurrence.git
https://github.com/richardpiazza/Occurrence.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "statement",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.8.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/richardpiazza/Statement.git"
    },
    {
      "identity" : "sqlite.swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.15.3",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/stephencelis/SQLite.swift.git"
    }
  ],
  "manifest_display_name" : "Occurrence",
  "name" : "Occurrence",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "15.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "Occurrence",
      "targets" : [
        "Occurrence"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OccurrenceTests",
      "module_type" : "SwiftTarget",
      "name" : "OccurrenceTests",
      "path" : "Tests/OccurrenceTests",
      "product_dependencies" : [
        "Logging"
      ],
      "sources" : [
        "CoreDataLogProviderTests.swift",
        "LogProviderTestCase.swift",
        "LogStreamerTests.swift",
        "LoggableErrorTests.swift",
        "LoggerMetadataTests.swift",
        "OccurrenceTests.swift",
        "RedactionTests.swift",
        "SQLiteLogProviderTests.swift"
      ],
      "target_dependencies" : [
        "Occurrence"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Occurrence",
      "module_type" : "SwiftTarget",
      "name" : "Occurrence",
      "path" : "Sources/Occurrence",
      "product_dependencies" : [
        "Logging",
        "Statement",
        "StatementSQLite",
        "SQLite"
      ],
      "product_memberships" : [
        "Occurrence"
      ],
      "sources" : [
        "CoreData/CoreDataLogProvider.swift",
        "CoreData/LogModel.swift",
        "CoreData/Logger.Filter+Predicate.swift",
        "CoreData/ManagedEntry.swift",
        "Extensions/Array+Occurrence.swift",
        "Extensions/CocoaError+Occurrence.swift",
        "Extensions/DecodingError+Occurrence.swift",
        "Extensions/Dictionary+Occurrence.swift",
        "Extensions/EncodingError+Occurrence.swift",
        "Extensions/FileManager+Occurrence.swift",
        "Extensions/Logger+Entry.swift",
        "Extensions/Logger+Filter.swift",
        "Extensions/Logger+Occurrence.swift",
        "Extensions/Logger+Subsystem.swift",
        "Extensions/Logger.Level+Occurrence.swift",
        "Extensions/Logger.Message+Occurrence.swift",
        "Extensions/Logger.Metadata+Occurrence.swift",
        "Extensions/Logger.MetadataKey.swift",
        "Extensions/Logger.MetadataValue+Occurrence.swift",
        "Extensions/URLError+Occurrence.swift",
        "LazyLogger.swift",
        "LogProvider.swift",
        "LogStreamer.swift",
        "LoggableError.swift",
        "Occurrence.swift",
        "SQLite/Logger.Filter+Where.swift",
        "SQLite/SQLiteEntry+Mapping.swift",
        "SQLite/SQLiteEntry.swift",
        "SQLite/SQLiteLogProvider.swift",
        "Streamer/OccurrenceLogStreamer.swift",
        "SwiftUI/LogView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:96978cfc7c1f56c0b12d561b3402e65f41ab79b9797a4fd5965b5c0d586dcecc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/stephencelis/SQLite.swift.git
Fetching https://github.com/richardpiazza/Statement.git
[1/745] Fetching statement
Fetched https://github.com/richardpiazza/Statement.git from cache (0.23s)
[1/3836] Fetching swift-log
[270/13685] Fetching swift-log, sqlite.swift
Fetched https://github.com/apple/swift-log.git from cache (0.81s)
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (0.82s)
Computing version for https://github.com/richardpiazza/Statement.git
Computed https://github.com/richardpiazza/Statement.git at 0.8.1 (1.23s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.42s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.15.4 (0.43s)
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
[1/135] Fetching swift-toolchain-sqlite
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (0.94s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.4 (3.43s)
Creating working copy for https://github.com/swiftlang/swift-toolchain-sqlite
Working copy of https://github.com/swiftlang/swift-toolchain-sqlite resolved at 1.0.4
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/richardpiazza/Statement.git
Working copy of https://github.com/richardpiazza/Statement.git resolved at 0.8.1
Creating working copy for https://github.com/stephencelis/SQLite.swift.git
Working copy of https://github.com/stephencelis/SQLite.swift.git resolved at 0.15.4
warning: 'sqlite.swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/PrivacyInfo.xcprivacy
Building for debugging...
[0/7] Write sources
[5/7] Write swift-version-24593BA9C3E375BF.txt
[7/37] Compiling Logging MetadataProvider.swift
[8/37] Compiling Logging Locks.swift
[9/37] Compiling Statement ClauseRenderer.swift
[10/37] Compiling Statement ComparisonRenderer.swift
[11/37] Compiling Statement ConjunctiveRenderer.swift
[12/37] Compiling Statement GroupRenderer.swift
[13/37] Compiling Statement AttributeConvertible.swift
[14/37] Compiling Statement DataType.swift
[15/37] Compiling Statement DataTypeConvertible.swift
[16/40] Compiling Logging LogHandler.swift
[17/40] Emitting module Logging
[18/40] Compiling Logging Logging.swift
[18/41] Compiling SwiftToolchainCSQLite sqlite3.c
[20/41] Compiling Statement ComparisonPredicate.swift
[21/41] Compiling Statement ConjunctivePredicate.swift
[22/41] Compiling Statement Group.swift
[23/41] Emitting module Statement
[24/41] Compiling Statement StatementSyntax.swift
[25/41] Compiling Statement StructuredStatement.swift
[26/41] Compiling Statement Clause.swift
[27/41] Compiling Statement ComparisonOperator.swift
[28/41] Compiling Statement ConjunctiveOperator.swift
[29/41] Compiling Statement LogicalOperator.swift
[30/41] Compiling Statement AnyRenderable.swift
[31/41] Compiling Statement LogicalRenderer.swift
[32/41] Compiling Statement Renderer.swift
[33/41] Compiling Statement AnyAttribute.swift
[34/41] Compiling Statement Attribute.swift
[35/41] Compiling Statement Entity.swift
[36/41] Compiling Statement Field.swift
[37/41] Compiling Statement ForeignKey.swift
[39/74] Compiling SQLite DateAndTimeFunctions.swift
[40/74] Compiling SQLite Expression.swift
[41/74] Compiling SQLite Operators.swift
[43/93] Compiling StatementSQLite Segment+SQLite.swift
[44/93] Compiling StatementSQLite SelectContext.swift
[45/93] Compiling StatementSQLite JoinContext.swift
[46/93] Compiling StatementSQLite LimitContext.swift
[47/93] Compiling StatementSQLite OrderContext.swift
[48/93] Compiling StatementSQLite SQLiteStatement.swift
[49/93] Compiling StatementSQLite FromContext.swift
[50/93] Compiling StatementSQLite HavingContext.swift
[51/93] Compiling StatementSQLite InsertContext.swift
[52/95] Compiling StatementSQLite SetContext.swift
[53/95] Compiling StatementSQLite UpdateContext.swift
[54/95] Emitting module SQLite
[55/99] Compiling StatementSQLite AlterTableContext.swift
[56/99] Compiling StatementSQLite CreateContext.swift
[57/99] Compiling StatementSQLite DataType+SQLite.swift
[58/99] Emitting module StatementSQLite
[59/99] Compiling StatementSQLite DataTypeConvertible+SQLite.swift
[60/99] Compiling StatementSQLite DeleteContext.swift
[61/99] Compiling StatementSQLite Field+SQLite.swift
[62/99] Compiling StatementSQLite ValuesContext.swift
[63/99] Compiling StatementSQLite WhereContext.swift
[70/100] Compiling SQLite SchemaChanger.swift
[71/100] Compiling SQLite SchemaDefinitions.swift
[72/100] Compiling SQLite SchemaReader.swift
[73/100] Compiling SQLite AggregateFunctions.swift
[88/100] Compiling SQLite Statement.swift
[89/100] Compiling SQLite URIQueryParameter.swift
[90/100] Compiling SQLite Value.swift
[91/100] Compiling SQLite Cipher.swift
[92/100] Compiling SQLite FTS4.swift
[96/100] Compiling SQLite Query+with.swift
[97/100] Compiling SQLite Query.swift
[98/100] Compiling SQLite Schema.swift
[99/100] Compiling SQLite Setter.swift
[100/100] Compiling SQLite WindowFunctions.swift
[102/130] Emitting module Occurrence
/host/spi-builder-workspace/Sources/Occurrence/Extensions/Logger+Entry.swift:7:27: warning: static property 'gmtDateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 5 |     struct Entry: Codable, Sendable {
 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: add '@MainActor' to make static property 'gmtDateFormatter' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 8 |             let formatter = DateFormatter()
 9 |             formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"
/host/spi-builder-workspace/Sources/Occurrence/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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 12 |     private static var bootstrapped: Bool = false
 13 |
/host/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:12:24: warning: static property 'bootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 |     public static var configuration: Configuration = .init()
 12 |     private static var bootstrapped: Bool = false
    |                        |- warning: static property 'bootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'bootstrapped' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'bootstrapped' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |
 14 |     /// Bootstraps **Occurrence** in to `Logging.LoggingSystem`.
/host/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:30:23: warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode
 28 |     }
 29 |
 30 |     public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
    |                       |- warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'logStreamer' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 31 |
 32 |     public static var logProvider: LogProvider = {
/host/spi-builder-workspace/Sources/Occurrence/LogStreamer.swift:7:17: note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
 5 | #endif
 6 |
 7 | public protocol LogStreamer {
   |                 `- note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
 8 |     /// `AsyncStream` which emits log entries.
 9 |     ///
/host/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:32:23: warning: static property 'logProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 30 |     public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
 31 |
 32 |     public static var logProvider: LogProvider = {
    |                       |- warning: static property 'logProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logProvider' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logProvider' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |         do {
 34 |             #if canImport(CoreData)
/host/spi-builder-workspace/Sources/Occurrence/SQLite/SQLiteEntry.swift:37: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
35 |
36 | extension SQLiteEntry {
37 |     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: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |     static var id: Attribute { instance["id"]! }
39 |     static var date: Attribute { instance["date"]! }
[103/133] Compiling Occurrence Logger+Occurrence.swift
[104/133] Compiling Occurrence Logger+Subsystem.swift
[105/133] Compiling Occurrence Logger.Level+Occurrence.swift
[106/133] Compiling Occurrence Logger.Message+Occurrence.swift
[107/133] Compiling Occurrence CoreDataLogProvider.swift
[108/133] Compiling Occurrence LogModel.swift
[109/133] Compiling Occurrence Logger.Filter+Predicate.swift
[110/133] Compiling Occurrence ManagedEntry.swift
[111/133] Compiling Occurrence Logger.Metadata+Occurrence.swift
[112/133] Compiling Occurrence Logger.MetadataKey.swift
[113/133] Compiling Occurrence Logger.MetadataValue+Occurrence.swift
[114/133] Compiling Occurrence URLError+Occurrence.swift
[115/133] Compiling Occurrence EncodingError+Occurrence.swift
/host/spi-builder-workspace/Sources/Occurrence/Extensions/Logger+Entry.swift:7:27: warning: static property 'gmtDateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 5 |     struct Entry: Codable, Sendable {
 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: add '@MainActor' to make static property 'gmtDateFormatter' part of global actor 'MainActor'
   |                           `- 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'"
[116/133] Compiling Occurrence FileManager+Occurrence.swift
/host/spi-builder-workspace/Sources/Occurrence/Extensions/Logger+Entry.swift:7:27: warning: static property 'gmtDateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 5 |     struct Entry: Codable, Sendable {
 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: add '@MainActor' to make static property 'gmtDateFormatter' part of global actor 'MainActor'
   |                           `- 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'"
[117/133] Compiling Occurrence Logger+Entry.swift
/host/spi-builder-workspace/Sources/Occurrence/Extensions/Logger+Entry.swift:7:27: warning: static property 'gmtDateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 5 |     struct Entry: Codable, Sendable {
 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: add '@MainActor' to make static property 'gmtDateFormatter' part of global actor 'MainActor'
   |                           `- 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/133] Compiling Occurrence Logger+Filter.swift
/host/spi-builder-workspace/Sources/Occurrence/Extensions/Logger+Entry.swift:7:27: warning: static property 'gmtDateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 5 |     struct Entry: Codable, Sendable {
 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: add '@MainActor' to make static property 'gmtDateFormatter' part of global actor 'MainActor'
   |                           `- 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/133] Compiling Occurrence LazyLogger.swift
[120/133] Compiling Occurrence LogProvider.swift
[121/133] Compiling Occurrence LogStreamer.swift
[122/133] Compiling Occurrence LoggableError.swift
[123/133] Compiling Occurrence Array+Occurrence.swift
[124/133] Compiling Occurrence CocoaError+Occurrence.swift
[125/133] Compiling Occurrence DecodingError+Occurrence.swift
[126/133] Compiling Occurrence Dictionary+Occurrence.swift
[127/133] Compiling Occurrence Occurrence.swift
/host/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:11:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  9 |     }
 10 |
 11 |     public static var configuration: Configuration = .init()
    |                       |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 12 |     private static var bootstrapped: Bool = false
 13 |
/host/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:12:24: warning: static property 'bootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 |     public static var configuration: Configuration = .init()
 12 |     private static var bootstrapped: Bool = false
    |                        |- warning: static property 'bootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'bootstrapped' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'bootstrapped' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |
 14 |     /// Bootstraps **Occurrence** in to `Logging.LoggingSystem`.
/host/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:30:23: warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode
 28 |     }
 29 |
 30 |     public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
    |                       |- warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'logStreamer' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 31 |
 32 |     public static var logProvider: LogProvider = {
/host/spi-builder-workspace/Sources/Occurrence/LogStreamer.swift:7:17: note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
 5 | #endif
 6 |
 7 | public protocol LogStreamer {
   |                 `- note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
 8 |     /// `AsyncStream` which emits log entries.
 9 |     ///
/host/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:32:23: warning: static property 'logProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 30 |     public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
 31 |
 32 |     public static var logProvider: LogProvider = {
    |                       |- warning: static property 'logProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logProvider' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logProvider' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |         do {
 34 |             #if canImport(CoreData)
/host/spi-builder-workspace/Sources/Occurrence/SQLite/SQLiteEntry.swift:37: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
35 |
36 | extension SQLiteEntry {
37 |     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: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |     static var id: Attribute { instance["id"]! }
39 |     static var date: Attribute { instance["date"]! }
[128/133] Compiling Occurrence Logger.Filter+Where.swift
/host/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:11:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  9 |     }
 10 |
 11 |     public static var configuration: Configuration = .init()
    |                       |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 12 |     private static var bootstrapped: Bool = false
 13 |
/host/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:12:24: warning: static property 'bootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 |     public static var configuration: Configuration = .init()
 12 |     private static var bootstrapped: Bool = false
    |                        |- warning: static property 'bootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'bootstrapped' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'bootstrapped' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |
 14 |     /// Bootstraps **Occurrence** in to `Logging.LoggingSystem`.
/host/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:30:23: warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode
 28 |     }
 29 |
 30 |     public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
    |                       |- warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'logStreamer' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 31 |
 32 |     public static var logProvider: LogProvider = {
/host/spi-builder-workspace/Sources/Occurrence/LogStreamer.swift:7:17: note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
 5 | #endif
 6 |
 7 | public protocol LogStreamer {
   |                 `- note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
 8 |     /// `AsyncStream` which emits log entries.
 9 |     ///
/host/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:32:23: warning: static property 'logProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 30 |     public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
 31 |
 32 |     public static var logProvider: LogProvider = {
    |                       |- warning: static property 'logProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logProvider' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logProvider' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |         do {
 34 |             #if canImport(CoreData)
/host/spi-builder-workspace/Sources/Occurrence/SQLite/SQLiteEntry.swift:37: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
35 |
36 | extension SQLiteEntry {
37 |     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: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |     static var id: Attribute { instance["id"]! }
39 |     static var date: Attribute { instance["date"]! }
[129/133] Compiling Occurrence SQLiteEntry+Mapping.swift
/host/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:11:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  9 |     }
 10 |
 11 |     public static var configuration: Configuration = .init()
    |                       |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 12 |     private static var bootstrapped: Bool = false
 13 |
/host/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:12:24: warning: static property 'bootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 |     public static var configuration: Configuration = .init()
 12 |     private static var bootstrapped: Bool = false
    |                        |- warning: static property 'bootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'bootstrapped' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'bootstrapped' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |
 14 |     /// Bootstraps **Occurrence** in to `Logging.LoggingSystem`.
/host/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:30:23: warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode
 28 |     }
 29 |
 30 |     public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
    |                       |- warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'logStreamer' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 31 |
 32 |     public static var logProvider: LogProvider = {
/host/spi-builder-workspace/Sources/Occurrence/LogStreamer.swift:7:17: note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
 5 | #endif
 6 |
 7 | public protocol LogStreamer {
   |                 `- note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
 8 |     /// `AsyncStream` which emits log entries.
 9 |     ///
/host/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:32:23: warning: static property 'logProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 30 |     public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
 31 |
 32 |     public static var logProvider: LogProvider = {
    |                       |- warning: static property 'logProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logProvider' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logProvider' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |         do {
 34 |             #if canImport(CoreData)
/host/spi-builder-workspace/Sources/Occurrence/SQLite/SQLiteEntry.swift:37: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
35 |
36 | extension SQLiteEntry {
37 |     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: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |     static var id: Attribute { instance["id"]! }
39 |     static var date: Attribute { instance["date"]! }
[130/133] Compiling Occurrence SQLiteEntry.swift
/host/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:11:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  9 |     }
 10 |
 11 |     public static var configuration: Configuration = .init()
    |                       |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 12 |     private static var bootstrapped: Bool = false
 13 |
/host/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:12:24: warning: static property 'bootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 |     public static var configuration: Configuration = .init()
 12 |     private static var bootstrapped: Bool = false
    |                        |- warning: static property 'bootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'bootstrapped' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'bootstrapped' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |
 14 |     /// Bootstraps **Occurrence** in to `Logging.LoggingSystem`.
/host/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:30:23: warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode
 28 |     }
 29 |
 30 |     public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
    |                       |- warning: static property 'logStreamer' is not concurrency-safe because non-'Sendable' type 'any LogStreamer' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'logStreamer' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 31 |
 32 |     public static var logProvider: LogProvider = {
/host/spi-builder-workspace/Sources/Occurrence/LogStreamer.swift:7:17: note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
 5 | #endif
 6 |
 7 | public protocol LogStreamer {
   |                 `- note: protocol 'LogStreamer' does not conform to the 'Sendable' protocol
 8 |     /// `AsyncStream` which emits log entries.
 9 |     ///
/host/spi-builder-workspace/Sources/Occurrence/Occurrence.swift:32:23: warning: static property 'logProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 30 |     public static let logStreamer: LogStreamer = OccurrenceLogStreamer()
 31 |
 32 |     public static var logProvider: LogProvider = {
    |                       |- warning: static property 'logProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logProvider' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logProvider' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |         do {
 34 |             #if canImport(CoreData)
/host/spi-builder-workspace/Sources/Occurrence/SQLite/SQLiteEntry.swift:37: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
35 |
36 | extension SQLiteEntry {
37 |     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: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |     static var id: Attribute { instance["id"]! }
39 |     static var date: Attribute { instance["date"]! }
[131/133] Compiling Occurrence SQLiteLogProvider.swift
[132/133] Compiling Occurrence OccurrenceLogStreamer.swift
[133/133] Compiling Occurrence LogView.swift
Build complete! (21.41s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "statement",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.8.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/richardpiazza/Statement.git"
    },
    {
      "identity" : "sqlite.swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.15.3",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/stephencelis/SQLite.swift.git"
    }
  ],
  "manifest_display_name" : "Occurrence",
  "name" : "Occurrence",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "15.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "Occurrence",
      "targets" : [
        "Occurrence"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OccurrenceTests",
      "module_type" : "SwiftTarget",
      "name" : "OccurrenceTests",
      "path" : "Tests/OccurrenceTests",
      "product_dependencies" : [
        "Logging"
      ],
      "sources" : [
        "CoreDataLogProviderTests.swift",
        "LogProviderTestCase.swift",
        "LogStreamerTests.swift",
        "LoggableErrorTests.swift",
        "LoggerMetadataTests.swift",
        "OccurrenceTests.swift",
        "RedactionTests.swift",
        "SQLiteLogProviderTests.swift"
      ],
      "target_dependencies" : [
        "Occurrence"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Occurrence",
      "module_type" : "SwiftTarget",
      "name" : "Occurrence",
      "path" : "Sources/Occurrence",
      "product_dependencies" : [
        "Logging",
        "Statement",
        "StatementSQLite",
        "SQLite"
      ],
      "product_memberships" : [
        "Occurrence"
      ],
      "sources" : [
        "CoreData/CoreDataLogProvider.swift",
        "CoreData/LogModel.swift",
        "CoreData/Logger.Filter+Predicate.swift",
        "CoreData/ManagedEntry.swift",
        "Extensions/Array+Occurrence.swift",
        "Extensions/CocoaError+Occurrence.swift",
        "Extensions/DecodingError+Occurrence.swift",
        "Extensions/Dictionary+Occurrence.swift",
        "Extensions/EncodingError+Occurrence.swift",
        "Extensions/FileManager+Occurrence.swift",
        "Extensions/Logger+Entry.swift",
        "Extensions/Logger+Filter.swift",
        "Extensions/Logger+Occurrence.swift",
        "Extensions/Logger+Subsystem.swift",
        "Extensions/Logger.Level+Occurrence.swift",
        "Extensions/Logger.Message+Occurrence.swift",
        "Extensions/Logger.Metadata+Occurrence.swift",
        "Extensions/Logger.MetadataKey.swift",
        "Extensions/Logger.MetadataValue+Occurrence.swift",
        "Extensions/URLError+Occurrence.swift",
        "LazyLogger.swift",
        "LogProvider.swift",
        "LogStreamer.swift",
        "LoggableError.swift",
        "Occurrence.swift",
        "SQLite/Logger.Filter+Where.swift",
        "SQLite/SQLiteEntry+Mapping.swift",
        "SQLite/SQLiteEntry.swift",
        "SQLite/SQLiteLogProvider.swift",
        "Streamer/OccurrenceLogStreamer.swift",
        "SwiftUI/LogView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:96978cfc7c1f56c0b12d561b3402e65f41ab79b9797a4fd5965b5c0d586dcecc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.