Build Information
Successful build of SimpleLogging, reference 0.6.0-Beta.3 (b342dc), with Swift 6.1 for Linux on 25 Jun 2026 22:32:03 UTC.
Swift 6 data race errors: 17
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/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>&1Build Log
========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RougeWare/Swift-Simple-Logging.git
Reference: 0.6.0-Beta.3
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/RougeWare/Swift-Simple-Logging
* tag 0.6.0-Beta.3 -> FETCH_HEAD
HEAD is now at b342dca Making `stdout & stderr` channel actually useful
Cloned https://github.com/RougeWare/Swift-Simple-Logging.git
Revision (git rev-parse @):
b342dca99eb50fce83ff937953c82bc15397e821
SUCCESS checkout https://github.com/RougeWare/Swift-Simple-Logging.git at 0.6.0-Beta.3
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/RougeWare/Swift-Simple-Logging.git
https://github.com/RougeWare/Swift-Simple-Logging.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/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 saguaro1/spi-images
Digest: sha256:0f094b998e61bb35b7a666f42e392cfb12929ea8fa9160622b1badd8b73d5c87
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
Fetching https://github.com/RougeWare/Swift-Function-Tools.git
Fetching https://github.com/RougeWare/Swift-Lazy-Containers.git
[1/395] Fetching swift-lazy-containers
Fetched https://github.com/RougeWare/Swift-Lazy-Containers.git from cache (0.39s)
[1/191] Fetching swift-function-tools
Fetched https://github.com/RougeWare/Swift-Function-Tools.git from cache (0.42s)
Computing version for https://github.com/RougeWare/Swift-Function-Tools.git
Computed https://github.com/RougeWare/Swift-Function-Tools.git at 2.0.1 (0.64s)
Computing version for https://github.com/RougeWare/Swift-Lazy-Containers.git
Computed https://github.com/RougeWare/Swift-Lazy-Containers.git at 4.1.0 (0.24s)
Creating working copy for https://github.com/RougeWare/Swift-Function-Tools.git
Working copy of https://github.com/RougeWare/Swift-Function-Tools.git resolved at 2.0.1
Creating working copy for https://github.com/RougeWare/Swift-Lazy-Containers.git
Working copy of https://github.com/RougeWare/Swift-Lazy-Containers.git resolved at 4.1.0
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/17] Compiling FunctionTools Echo.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[6/18] Compiling FunctionTools Curry.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[7/18] Emitting module LazyContainers
[8/18] Compiling FunctionTools Function types.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[9/18] Compiling FunctionTools !.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[10/18] Emitting module FunctionTools
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[11/18] Compiling FunctionTools Constant.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[12/18] Compiling FunctionTools Blackholes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[13/18] Compiling FunctionTools Call.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[14/18] Compiling FunctionTools Null functions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[16/19] Compiling LazyContainers LazyContainer + Equatable.swift
[17/19] Compiling LazyContainers LazyContainers.swift
[18/19] Compiling LazyContainers LazyContainer + Hashable.swift
[19/19] Compiling LazyContainers LazyContainer + Codable.swift
[21/38] Compiling SimpleLogging CombinedLogMessage.swift
/host/spi-builder-workspace/Sources/SimpleLogging/CombinedLogMessage.swift:15:13: warning: let 'logLineInitialValueBeforeLazyInitializerCanBeCreated' is not concurrency-safe because non-'Sendable' type 'Lazy<String>' may have shared mutable state; this is an error in the Swift 6 language mode
13 | // Swift made me do this :c
14 | /// The message printed if something tries to log this message before it's done initializing
15 | private let logLineInitialValueBeforeLazyInitializerCanBeCreated = Lazy(wrappedValue: """
| `- warning: let 'logLineInitialValueBeforeLazyInitializerCanBeCreated' is not concurrency-safe because non-'Sendable' type 'Lazy<String>' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | Async error. Please file a bug report at https://github.com/RougeWare/Swift-Simple-Logging/issues/new/
/host/spi-builder-workspace/.build/checkouts/Swift-Lazy-Containers/Sources/LazyContainers/LazyContainers.swift:192:15: note: generic struct 'Lazy' does not conform to the 'Sendable' protocol
190 | /// language's built-in `lazy` instead wherever possible.
191 | @propertyWrapper
192 | public struct Lazy<Value>: LazyContainer {
| `- note: generic struct 'Lazy' does not conform to the 'Sendable' protocol
193 |
194 | /// Privatizes the inner-workings of this functional lazy container
/host/spi-builder-workspace/Sources/SimpleLogging/CombinedLogMessage.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LazyContainers'
7 |
8 | import Foundation
9 | import LazyContainers
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LazyContainers'
10 |
11 |
:
13 | // Swift made me do this :c
14 | /// The message printed if something tries to log this message before it's done initializing
15 | private let logLineInitialValueBeforeLazyInitializerCanBeCreated = Lazy(wrappedValue: """
| |- note: add '@MainActor' to make let 'logLineInitialValueBeforeLazyInitializerCanBeCreated' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | Async error. Please file a bug report at https://github.com/RougeWare/Swift-Simple-Logging/issues/new/
/host/spi-builder-workspace/Sources/SimpleLogging/Extensions/Foundation/FileHandle + TextOutputStream.swift:12:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
10 |
11 |
12 | extension FileHandle: TextOutputStream {
| |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 | public func write(_ string: String) {
14 | guard let data = string.data(using: .utf8) else { return }
/host/spi-builder-workspace/Sources/SimpleLogging/Extensions/Foundation/FileHandle + TextOutputStream.swift:21:14: warning: var 'standardOutput' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 |
21 | internal var standardOutput = FileHandle.standardOutput
| |- warning: var 'standardOutput' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardOutput' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'standardOutput' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | internal var standardError = FileHandle.standardError
23 |
/host/spi-builder-workspace/Sources/SimpleLogging/Extensions/Foundation/FileHandle + TextOutputStream.swift:22:14: warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | internal var standardOutput = FileHandle.standardOutput
22 | internal var standardError = FileHandle.standardError
| |- warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'standardError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
[22/38] Compiling SimpleLogging CombinedLoggable.swift
/host/spi-builder-workspace/Sources/SimpleLogging/CombinedLogMessage.swift:15:13: warning: let 'logLineInitialValueBeforeLazyInitializerCanBeCreated' is not concurrency-safe because non-'Sendable' type 'Lazy<String>' may have shared mutable state; this is an error in the Swift 6 language mode
13 | // Swift made me do this :c
14 | /// The message printed if something tries to log this message before it's done initializing
15 | private let logLineInitialValueBeforeLazyInitializerCanBeCreated = Lazy(wrappedValue: """
| `- warning: let 'logLineInitialValueBeforeLazyInitializerCanBeCreated' is not concurrency-safe because non-'Sendable' type 'Lazy<String>' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | Async error. Please file a bug report at https://github.com/RougeWare/Swift-Simple-Logging/issues/new/
/host/spi-builder-workspace/.build/checkouts/Swift-Lazy-Containers/Sources/LazyContainers/LazyContainers.swift:192:15: note: generic struct 'Lazy' does not conform to the 'Sendable' protocol
190 | /// language's built-in `lazy` instead wherever possible.
191 | @propertyWrapper
192 | public struct Lazy<Value>: LazyContainer {
| `- note: generic struct 'Lazy' does not conform to the 'Sendable' protocol
193 |
194 | /// Privatizes the inner-workings of this functional lazy container
/host/spi-builder-workspace/Sources/SimpleLogging/CombinedLogMessage.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LazyContainers'
7 |
8 | import Foundation
9 | import LazyContainers
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LazyContainers'
10 |
11 |
:
13 | // Swift made me do this :c
14 | /// The message printed if something tries to log this message before it's done initializing
15 | private let logLineInitialValueBeforeLazyInitializerCanBeCreated = Lazy(wrappedValue: """
| |- note: add '@MainActor' to make let 'logLineInitialValueBeforeLazyInitializerCanBeCreated' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | Async error. Please file a bug report at https://github.com/RougeWare/Swift-Simple-Logging/issues/new/
/host/spi-builder-workspace/Sources/SimpleLogging/Extensions/Foundation/FileHandle + TextOutputStream.swift:12:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
10 |
11 |
12 | extension FileHandle: TextOutputStream {
| |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 | public func write(_ string: String) {
14 | guard let data = string.data(using: .utf8) else { return }
/host/spi-builder-workspace/Sources/SimpleLogging/Extensions/Foundation/FileHandle + TextOutputStream.swift:21:14: warning: var 'standardOutput' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 |
21 | internal var standardOutput = FileHandle.standardOutput
| |- warning: var 'standardOutput' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardOutput' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'standardOutput' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | internal var standardError = FileHandle.standardError
23 |
/host/spi-builder-workspace/Sources/SimpleLogging/Extensions/Foundation/FileHandle + TextOutputStream.swift:22:14: warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | internal var standardOutput = FileHandle.standardOutput
22 | internal var standardError = FileHandle.standardError
| |- warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'standardError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
[23/38] Compiling SimpleLogging FileHandle + TextOutputStream.swift
/host/spi-builder-workspace/Sources/SimpleLogging/CombinedLogMessage.swift:15:13: warning: let 'logLineInitialValueBeforeLazyInitializerCanBeCreated' is not concurrency-safe because non-'Sendable' type 'Lazy<String>' may have shared mutable state; this is an error in the Swift 6 language mode
13 | // Swift made me do this :c
14 | /// The message printed if something tries to log this message before it's done initializing
15 | private let logLineInitialValueBeforeLazyInitializerCanBeCreated = Lazy(wrappedValue: """
| `- warning: let 'logLineInitialValueBeforeLazyInitializerCanBeCreated' is not concurrency-safe because non-'Sendable' type 'Lazy<String>' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | Async error. Please file a bug report at https://github.com/RougeWare/Swift-Simple-Logging/issues/new/
/host/spi-builder-workspace/.build/checkouts/Swift-Lazy-Containers/Sources/LazyContainers/LazyContainers.swift:192:15: note: generic struct 'Lazy' does not conform to the 'Sendable' protocol
190 | /// language's built-in `lazy` instead wherever possible.
191 | @propertyWrapper
192 | public struct Lazy<Value>: LazyContainer {
| `- note: generic struct 'Lazy' does not conform to the 'Sendable' protocol
193 |
194 | /// Privatizes the inner-workings of this functional lazy container
/host/spi-builder-workspace/Sources/SimpleLogging/CombinedLogMessage.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LazyContainers'
7 |
8 | import Foundation
9 | import LazyContainers
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LazyContainers'
10 |
11 |
:
13 | // Swift made me do this :c
14 | /// The message printed if something tries to log this message before it's done initializing
15 | private let logLineInitialValueBeforeLazyInitializerCanBeCreated = Lazy(wrappedValue: """
| |- note: add '@MainActor' to make let 'logLineInitialValueBeforeLazyInitializerCanBeCreated' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | Async error. Please file a bug report at https://github.com/RougeWare/Swift-Simple-Logging/issues/new/
/host/spi-builder-workspace/Sources/SimpleLogging/Extensions/Foundation/FileHandle + TextOutputStream.swift:12:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
10 |
11 |
12 | extension FileHandle: TextOutputStream {
| |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 | public func write(_ string: String) {
14 | guard let data = string.data(using: .utf8) else { return }
/host/spi-builder-workspace/Sources/SimpleLogging/Extensions/Foundation/FileHandle + TextOutputStream.swift:21:14: warning: var 'standardOutput' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 |
21 | internal var standardOutput = FileHandle.standardOutput
| |- warning: var 'standardOutput' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardOutput' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'standardOutput' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | internal var standardError = FileHandle.standardError
23 |
/host/spi-builder-workspace/Sources/SimpleLogging/Extensions/Foundation/FileHandle + TextOutputStream.swift:22:14: warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | internal var standardOutput = FileHandle.standardOutput
22 | internal var standardError = FileHandle.standardError
| |- warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'standardError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
[24/40] Compiling SimpleLogging LogSeverity.swift
/host/spi-builder-workspace/Sources/SimpleLogging/LogSeverity.swift:68:16: warning: static property 'verbose' is not concurrency-safe because non-'Sendable' type 'LogSeverity' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// How severe a log message is
16 | public struct LogSeverity {
| `- note: consider making struct 'LogSeverity' conform to the 'Sendable' protocol
17 |
18 | /// Allows two severities to be compared
:
66 |
67 | /// Verbose logging - The lowest severity; anything and everything might be logged at this level
68 | static let verbose = LogSeverity(severityValue: 1, name: (short: "v", long: "Verbose", emoji: "💬"))
| |- warning: static property 'verbose' is not concurrency-safe because non-'Sendable' type 'LogSeverity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'verbose' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 |
70 | /// Debug logging - Usually not included in user logs, but helpful messages for debugging issues in the field
/host/spi-builder-workspace/Sources/SimpleLogging/LogSeverity.swift:71:16: warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'LogSeverity' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// How severe a log message is
16 | public struct LogSeverity {
| `- note: consider making struct 'LogSeverity' conform to the 'Sendable' protocol
17 |
18 | /// Allows two severities to be compared
:
69 |
70 | /// Debug logging - Usually not included in user logs, but helpful messages for debugging issues in the field
71 | static let debug = LogSeverity(severityValue: 2, name: (short: "d", long: "Debug", emoji: "👩🏾💻"))
| |- warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'LogSeverity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'debug' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |
73 | /// Info logging - Usually the lowest level that appears in user logs, information for power-users who look at logs
/host/spi-builder-workspace/Sources/SimpleLogging/LogSeverity.swift:74:16: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'LogSeverity' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// How severe a log message is
16 | public struct LogSeverity {
| `- note: consider making struct 'LogSeverity' conform to the 'Sendable' protocol
17 |
18 | /// Allows two severities to be compared
:
72 |
73 | /// Info logging - Usually the lowest level that appears in user logs, information for power-users who look at logs
74 | static let info = LogSeverity(severityValue: 3, name: (short: "i", long: "Info", emoji: "ℹ️"))
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'LogSeverity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'info' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | /// Warning logging - Describing potential future problems. Future might be the next line, the next release, etc.
/host/spi-builder-workspace/Sources/SimpleLogging/LogSeverity.swift:77:16: warning: static property 'warning' is not concurrency-safe because non-'Sendable' type 'LogSeverity' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// How severe a log message is
16 | public struct LogSeverity {
| `- note: consider making struct 'LogSeverity' conform to the 'Sendable' protocol
17 |
18 | /// Allows two severities to be compared
:
75 |
76 | /// Warning logging - Describing potential future problems. Future might be the next line, the next release, etc.
77 | static let warning = LogSeverity(severityValue: 4, name: (short: "w", long: "Warning", emoji: "⚠️"))
| |- warning: static property 'warning' is not concurrency-safe because non-'Sendable' type 'LogSeverity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'warning' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | /// Error logging - Problems that just happened. A server log might only print lines of this severity or higher.
/host/spi-builder-workspace/Sources/SimpleLogging/LogSeverity.swift:80:16: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'LogSeverity' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// How severe a log message is
16 | public struct LogSeverity {
| `- note: consider making struct 'LogSeverity' conform to the 'Sendable' protocol
17 |
18 | /// Allows two severities to be compared
:
78 |
79 | /// Error logging - Problems that just happened. A server log might only print lines of this severity or higher.
80 | static let error = LogSeverity(severityValue: 5, name: (short: "e", long: "Error", emoji: "🆘"))
| |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'LogSeverity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'error' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 |
82 | /// Fatal logging - The only fatal lines in a log file should be the last lines, in the event of a crash
/host/spi-builder-workspace/Sources/SimpleLogging/LogSeverity.swift:83:16: warning: static property 'fatal' is not concurrency-safe because non-'Sendable' type 'LogSeverity' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// How severe a log message is
16 | public struct LogSeverity {
| `- note: consider making struct 'LogSeverity' conform to the 'Sendable' protocol
17 |
18 | /// Allows two severities to be compared
:
81 |
82 | /// Fatal logging - The only fatal lines in a log file should be the last lines, in the event of a crash
83 | static let fatal = LogSeverity(severityValue: 1000, name: (short: "f", long: "Fatal", emoji: "🚨"))
| |- warning: static property 'fatal' is not concurrency-safe because non-'Sendable' type 'LogSeverity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fatal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | }
85 |
[25/40] Compiling SimpleLogging LogSeverityFilter.swift
/host/spi-builder-workspace/Sources/SimpleLogging/LogSeverity.swift:68:16: warning: static property 'verbose' is not concurrency-safe because non-'Sendable' type 'LogSeverity' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// How severe a log message is
16 | public struct LogSeverity {
| `- note: consider making struct 'LogSeverity' conform to the 'Sendable' protocol
17 |
18 | /// Allows two severities to be compared
:
66 |
67 | /// Verbose logging - The lowest severity; anything and everything might be logged at this level
68 | static let verbose = LogSeverity(severityValue: 1, name: (short: "v", long: "Verbose", emoji: "💬"))
| |- warning: static property 'verbose' is not concurrency-safe because non-'Sendable' type 'LogSeverity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'verbose' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 |
70 | /// Debug logging - Usually not included in user logs, but helpful messages for debugging issues in the field
/host/spi-builder-workspace/Sources/SimpleLogging/LogSeverity.swift:71:16: warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'LogSeverity' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// How severe a log message is
16 | public struct LogSeverity {
| `- note: consider making struct 'LogSeverity' conform to the 'Sendable' protocol
17 |
18 | /// Allows two severities to be compared
:
69 |
70 | /// Debug logging - Usually not included in user logs, but helpful messages for debugging issues in the field
71 | static let debug = LogSeverity(severityValue: 2, name: (short: "d", long: "Debug", emoji: "👩🏾💻"))
| |- warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'LogSeverity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'debug' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |
73 | /// Info logging - Usually the lowest level that appears in user logs, information for power-users who look at logs
/host/spi-builder-workspace/Sources/SimpleLogging/LogSeverity.swift:74:16: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'LogSeverity' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// How severe a log message is
16 | public struct LogSeverity {
| `- note: consider making struct 'LogSeverity' conform to the 'Sendable' protocol
17 |
18 | /// Allows two severities to be compared
:
72 |
73 | /// Info logging - Usually the lowest level that appears in user logs, information for power-users who look at logs
74 | static let info = LogSeverity(severityValue: 3, name: (short: "i", long: "Info", emoji: "ℹ️"))
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'LogSeverity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'info' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | /// Warning logging - Describing potential future problems. Future might be the next line, the next release, etc.
/host/spi-builder-workspace/Sources/SimpleLogging/LogSeverity.swift:77:16: warning: static property 'warning' is not concurrency-safe because non-'Sendable' type 'LogSeverity' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// How severe a log message is
16 | public struct LogSeverity {
| `- note: consider making struct 'LogSeverity' conform to the 'Sendable' protocol
17 |
18 | /// Allows two severities to be compared
:
75 |
76 | /// Warning logging - Describing potential future problems. Future might be the next line, the next release, etc.
77 | static let warning = LogSeverity(severityValue: 4, name: (short: "w", long: "Warning", emoji: "⚠️"))
| |- warning: static property 'warning' is not concurrency-safe because non-'Sendable' type 'LogSeverity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'warning' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | /// Error logging - Problems that just happened. A server log might only print lines of this severity or higher.
/host/spi-builder-workspace/Sources/SimpleLogging/LogSeverity.swift:80:16: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'LogSeverity' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// How severe a log message is
16 | public struct LogSeverity {
| `- note: consider making struct 'LogSeverity' conform to the 'Sendable' protocol
17 |
18 | /// Allows two severities to be compared
:
78 |
79 | /// Error logging - Problems that just happened. A server log might only print lines of this severity or higher.
80 | static let error = LogSeverity(severityValue: 5, name: (short: "e", long: "Error", emoji: "🆘"))
| |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'LogSeverity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'error' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 |
82 | /// Fatal logging - The only fatal lines in a log file should be the last lines, in the event of a crash
/host/spi-builder-workspace/Sources/SimpleLogging/LogSeverity.swift:83:16: warning: static property 'fatal' is not concurrency-safe because non-'Sendable' type 'LogSeverity' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// How severe a log message is
16 | public struct LogSeverity {
| `- note: consider making struct 'LogSeverity' conform to the 'Sendable' protocol
17 |
18 | /// Allows two severities to be compared
:
81 |
82 | /// Fatal logging - The only fatal lines in a log file should be the last lines, in the event of a crash
83 | static let fatal = LogSeverity(severityValue: 1000, name: (short: "f", long: "Fatal", emoji: "🚨"))
| |- warning: static property 'fatal' is not concurrency-safe because non-'Sendable' type 'LogSeverity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fatal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | }
85 |
[26/40] Compiling SimpleLogging LogChannelLocation.swift
/host/spi-builder-workspace/Sources/SimpleLogging/LogManager.swift:22:24: warning: static property 'originalDefaultChannels' is not concurrency-safe because non-'Sendable' type '[any AnyLogChannel]' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// The original set of default channels, kept here so we can reset the default channels
22 | private static let originalDefaultChannels: [AnyLogChannel] = [
| |- warning: static property 'originalDefaultChannels' is not concurrency-safe because non-'Sendable' type '[any AnyLogChannel]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'originalDefaultChannels' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | LogChannel.swiftPrintDefault()
24 | ]
/host/spi-builder-workspace/Sources/SimpleLogging/LogChannel/LogChannel.swift:14:17: note: protocol 'AnyLogChannel' does not conform to the 'Sendable' protocol
12 |
13 | /// A channel to which log messages can be sent
14 | public protocol AnyLogChannel {
| `- note: protocol 'AnyLogChannel' does not conform to the 'Sendable' protocol
15 |
16 | /// Appends the given log message to this channel.
/host/spi-builder-workspace/Sources/SimpleLogging/LogManager.swift:27:16: warning: static property 'defaultChannels' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// The default set of channels for logging. Changing this will redirect logs which don't specify a channel
27 | static var defaultChannels = originalDefaultChannels
| |- warning: static property 'defaultChannels' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultChannels' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultChannels' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 |
[27/40] Compiling SimpleLogging LogManager.swift
/host/spi-builder-workspace/Sources/SimpleLogging/LogManager.swift:22:24: warning: static property 'originalDefaultChannels' is not concurrency-safe because non-'Sendable' type '[any AnyLogChannel]' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// The original set of default channels, kept here so we can reset the default channels
22 | private static let originalDefaultChannels: [AnyLogChannel] = [
| |- warning: static property 'originalDefaultChannels' is not concurrency-safe because non-'Sendable' type '[any AnyLogChannel]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'originalDefaultChannels' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | LogChannel.swiftPrintDefault()
24 | ]
/host/spi-builder-workspace/Sources/SimpleLogging/LogChannel/LogChannel.swift:14:17: note: protocol 'AnyLogChannel' does not conform to the 'Sendable' protocol
12 |
13 | /// A channel to which log messages can be sent
14 | public protocol AnyLogChannel {
| `- note: protocol 'AnyLogChannel' does not conform to the 'Sendable' protocol
15 |
16 | /// Appends the given log message to this channel.
/host/spi-builder-workspace/Sources/SimpleLogging/LogManager.swift:27:16: warning: static property 'defaultChannels' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// The default set of channels for logging. Changing this will redirect logs which don't specify a channel
27 | static var defaultChannels = originalDefaultChannels
| |- warning: static property 'defaultChannels' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultChannels' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultChannels' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 |
[28/40] Compiling SimpleLogging LogChannel.swift
/host/spi-builder-workspace/Sources/SimpleLogging/LogChannel/LogChannelLocation + Swift.print.swift:22:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SwiftPrintDefaultLogChannelLocation' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// The default place to which Swift's `print` function is directed
13 | public struct SwiftPrintDefaultLogChannelLocation: SingletonLogChannelLocation {
| `- note: consider making struct 'SwiftPrintDefaultLogChannelLocation' conform to the 'Sendable' protocol
14 |
15 | public func append(_ message: LogMessageProtocol, options: LoggingOptions) {
:
20 |
21 | /// The shared implementation of a `SwiftPrintDefaultLogChannelLocation`
22 | public static let shared = Self()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SwiftPrintDefaultLogChannelLocation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | }
24 |
[29/40] Compiling SimpleLogging LogChannelLocation + Swift.print.swift
/host/spi-builder-workspace/Sources/SimpleLogging/LogChannel/LogChannelLocation + Swift.print.swift:22:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SwiftPrintDefaultLogChannelLocation' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// The default place to which Swift's `print` function is directed
13 | public struct SwiftPrintDefaultLogChannelLocation: SingletonLogChannelLocation {
| `- note: consider making struct 'SwiftPrintDefaultLogChannelLocation' conform to the 'Sendable' protocol
14 |
15 | public func append(_ message: LogMessageProtocol, options: LoggingOptions) {
:
20 |
21 | /// The shared implementation of a `SwiftPrintDefaultLogChannelLocation`
22 | public static let shared = Self()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SwiftPrintDefaultLogChannelLocation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | }
24 |
[30/40] Compiling SimpleLogging LogChannelLocation + custom.swift
/host/spi-builder-workspace/Sources/SimpleLogging/LogChannel/LogChannelLocation + Swift.print.swift:22:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SwiftPrintDefaultLogChannelLocation' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// The default place to which Swift's `print` function is directed
13 | public struct SwiftPrintDefaultLogChannelLocation: SingletonLogChannelLocation {
| `- note: consider making struct 'SwiftPrintDefaultLogChannelLocation' conform to the 'Sendable' protocol
14 |
15 | public func append(_ message: LogMessageProtocol, options: LoggingOptions) {
:
20 |
21 | /// The shared implementation of a `SwiftPrintDefaultLogChannelLocation`
22 | public static let shared = Self()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SwiftPrintDefaultLogChannelLocation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | }
24 |
[31/40] Emitting module SimpleLogging
/host/spi-builder-workspace/Sources/SimpleLogging/CombinedLogMessage.swift:15:13: warning: let 'logLineInitialValueBeforeLazyInitializerCanBeCreated' is not concurrency-safe because non-'Sendable' type 'Lazy<String>' may have shared mutable state; this is an error in the Swift 6 language mode
13 | // Swift made me do this :c
14 | /// The message printed if something tries to log this message before it's done initializing
15 | private let logLineInitialValueBeforeLazyInitializerCanBeCreated = Lazy(wrappedValue: """
| `- warning: let 'logLineInitialValueBeforeLazyInitializerCanBeCreated' is not concurrency-safe because non-'Sendable' type 'Lazy<String>' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | Async error. Please file a bug report at https://github.com/RougeWare/Swift-Simple-Logging/issues/new/
/host/spi-builder-workspace/.build/checkouts/Swift-Lazy-Containers/Sources/LazyContainers/LazyContainers.swift:192:15: note: generic struct 'Lazy' does not conform to the 'Sendable' protocol
190 | /// language's built-in `lazy` instead wherever possible.
191 | @propertyWrapper
192 | public struct Lazy<Value>: LazyContainer {
| `- note: generic struct 'Lazy' does not conform to the 'Sendable' protocol
193 |
194 | /// Privatizes the inner-workings of this functional lazy container
/host/spi-builder-workspace/Sources/SimpleLogging/CombinedLogMessage.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LazyContainers'
7 |
8 | import Foundation
9 | import LazyContainers
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LazyContainers'
10 |
11 |
:
13 | // Swift made me do this :c
14 | /// The message printed if something tries to log this message before it's done initializing
15 | private let logLineInitialValueBeforeLazyInitializerCanBeCreated = Lazy(wrappedValue: """
| |- note: add '@MainActor' to make let 'logLineInitialValueBeforeLazyInitializerCanBeCreated' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | Async error. Please file a bug report at https://github.com/RougeWare/Swift-Simple-Logging/issues/new/
/host/spi-builder-workspace/Sources/SimpleLogging/Extensions/Foundation/FileHandle + TextOutputStream.swift:12:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
10 |
11 |
12 | extension FileHandle: TextOutputStream {
| |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 | public func write(_ string: String) {
14 | guard let data = string.data(using: .utf8) else { return }
/host/spi-builder-workspace/Sources/SimpleLogging/Extensions/Foundation/FileHandle + TextOutputStream.swift:21:14: warning: var 'standardOutput' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 |
21 | internal var standardOutput = FileHandle.standardOutput
| |- warning: var 'standardOutput' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardOutput' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'standardOutput' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | internal var standardError = FileHandle.standardError
23 |
/host/spi-builder-workspace/Sources/SimpleLogging/Extensions/Foundation/FileHandle + TextOutputStream.swift:22:14: warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | internal var standardOutput = FileHandle.standardOutput
22 | internal var standardError = FileHandle.standardError
| |- warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'standardError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
/host/spi-builder-workspace/Sources/SimpleLogging/LogChannel/LogChannelLocation + Swift.print.swift:22:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SwiftPrintDefaultLogChannelLocation' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// The default place to which Swift's `print` function is directed
13 | public struct SwiftPrintDefaultLogChannelLocation: SingletonLogChannelLocation {
| `- note: consider making struct 'SwiftPrintDefaultLogChannelLocation' conform to the 'Sendable' protocol
14 |
15 | public func append(_ message: LogMessageProtocol, options: LoggingOptions) {
:
20 |
21 | /// The shared implementation of a `SwiftPrintDefaultLogChannelLocation`
22 | public static let shared = Self()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SwiftPrintDefaultLogChannelLocation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | }
24 |
/host/spi-builder-workspace/Sources/SimpleLogging/LogChannel/LogChannelLocation + stdout & stderr.swift:24:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'StandardOutLogChannelLocation' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Sends messages to standard output (`stdout`)
15 | public struct StandardOutLogChannelLocation: SingletonLogChannelLocation {
| `- note: consider making struct 'StandardOutLogChannelLocation' conform to the 'Sendable' protocol
16 |
17 | public func append(_ message: LogMessageProtocol, options: LoggingOptions) {
:
22 |
23 | /// The shared implementation of a `StandardOutLogChannelLocation`
24 | public static let shared = Self()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'StandardOutLogChannelLocation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/host/spi-builder-workspace/Sources/SimpleLogging/LogChannel/LogChannelLocation + stdout & stderr.swift:40:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'StandardErrorLogChannelLocation' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | /// Sends messages to standard error (`stderr`)
32 | public struct StandardErrorLogChannelLocation: SingletonLogChannelLocation {
| `- note: consider making struct 'StandardErrorLogChannelLocation' conform to the 'Sendable' protocol
33 |
34 | public func append(_ message: LogMessageProtocol, options: LoggingOptions) {
:
38 |
39 | /// The shared implementation of a `StandardErrorLogChannelLocation`
40 | public static let shared = Self()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'StandardErrorLogChannelLocation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | }
42 |
/host/spi-builder-workspace/Sources/SimpleLogging/LogChannel/LogChannelLocation + stdout & stderr.swift:66:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'StandardOutAndErrorLogChannelLocation' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | /// Sends messages to standard output (`stdout`) or standard error (`stderr`), depending on severity
48 | public struct StandardOutAndErrorLogChannelLocation: SingletonLogChannelLocation {
| `- note: consider making struct 'StandardOutAndErrorLogChannelLocation' conform to the 'Sendable' protocol
49 |
50 | let lowestStderrSeverity: LogSeverity = .error
:
64 |
65 | /// The shared implementation of a `StandardOutAndErrorLogChannelLocation`
66 | public static let shared = Self()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'StandardOutAndErrorLogChannelLocation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | }
68 |
/host/spi-builder-workspace/Sources/SimpleLogging/LogManager.swift:22:24: warning: static property 'originalDefaultChannels' is not concurrency-safe because non-'Sendable' type '[any AnyLogChannel]' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// The original set of default channels, kept here so we can reset the default channels
22 | private static let originalDefaultChannels: [AnyLogChannel] = [
| |- warning: static property 'originalDefaultChannels' is not concurrency-safe because non-'Sendable' type '[any AnyLogChannel]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'originalDefaultChannels' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | LogChannel.swiftPrintDefault()
24 | ]
/host/spi-builder-workspace/Sources/SimpleLogging/LogChannel/LogChannel.swift:14:17: note: protocol 'AnyLogChannel' does not conform to the 'Sendable' protocol
12 |
13 | /// A channel to which log messages can be sent
14 | public protocol AnyLogChannel {
| `- note: protocol 'AnyLogChannel' does not conform to the 'Sendable' protocol
15 |
16 | /// Appends the given log message to this channel.
/host/spi-builder-workspace/Sources/SimpleLogging/LogManager.swift:27:16: warning: static property 'defaultChannels' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// The default set of channels for logging. Changing this will redirect logs which don't specify a channel
27 | static var defaultChannels = originalDefaultChannels
| |- warning: static property 'defaultChannels' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultChannels' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultChannels' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 |
/host/spi-builder-workspace/Sources/SimpleLogging/LogMessageProtocol.swift:69:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'LoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | /// Options to customize a log line
59 | public struct LoggingOptions {
| `- note: consider making struct 'LoggingOptions' conform to the 'Sendable' protocol
60 |
61 | /// The style of the severity part of a log line
:
67 | public extension LoggingOptions {
68 | /// The default logging options
69 | static let `default` = LoggingOptions(severityStyle: .default)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'LoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | }
71 |
/host/spi-builder-workspace/Sources/SimpleLogging/LogMessageProtocol.swift:74:13: warning: let 'defaultDateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
72 |
73 |
74 | private let defaultDateFormatter: ISO8601DateFormatter = {
| |- warning: let 'defaultDateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultDateFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | let defaultDateFormatter = ISO8601DateFormatter()
76 |
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
2 | open var timeZone: TimeZone! { get set }
3 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/host/spi-builder-workspace/Sources/SimpleLogging/LogSeverity.swift:68:16: warning: static property 'verbose' is not concurrency-safe because non-'Sendable' type 'LogSeverity' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// How severe a log message is
16 | public struct LogSeverity {
| `- note: consider making struct 'LogSeverity' conform to the 'Sendable' protocol
17 |
18 | /// Allows two severities to be compared
:
66 |
67 | /// Verbose logging - The lowest severity; anything and everything might be logged at this level
68 | static let verbose = LogSeverity(severityValue: 1, name: (short: "v", long: "Verbose", emoji: "💬"))
| |- warning: static property 'verbose' is not concurrency-safe because non-'Sendable' type 'LogSeverity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'verbose' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 |
70 | /// Debug logging - Usually not included in user logs, but helpful messages for debugging issues in the field
/host/spi-builder-workspace/Sources/SimpleLogging/LogSeverity.swift:71:16: warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'LogSeverity' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// How severe a log message is
16 | public struct LogSeverity {
| `- note: consider making struct 'LogSeverity' conform to the 'Sendable' protocol
17 |
18 | /// Allows two severities to be compared
:
69 |
70 | /// Debug logging - Usually not included in user logs, but helpful messages for debugging issues in the field
71 | static let debug = LogSeverity(severityValue: 2, name: (short: "d", long: "Debug", emoji: "👩🏾💻"))
| |- warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'LogSeverity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'debug' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |
73 | /// Info logging - Usually the lowest level that appears in user logs, information for power-users who look at logs
/host/spi-builder-workspace/Sources/SimpleLogging/LogSeverity.swift:74:16: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'LogSeverity' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// How severe a log message is
16 | public struct LogSeverity {
| `- note: consider making struct 'LogSeverity' conform to the 'Sendable' protocol
17 |
18 | /// Allows two severities to be compared
:
72 |
73 | /// Info logging - Usually the lowest level that appears in user logs, information for power-users who look at logs
74 | static let info = LogSeverity(severityValue: 3, name: (short: "i", long: "Info", emoji: "ℹ️"))
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'LogSeverity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'info' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | /// Warning logging - Describing potential future problems. Future might be the next line, the next release, etc.
/host/spi-builder-workspace/Sources/SimpleLogging/LogSeverity.swift:77:16: warning: static property 'warning' is not concurrency-safe because non-'Sendable' type 'LogSeverity' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// How severe a log message is
16 | public struct LogSeverity {
| `- note: consider making struct 'LogSeverity' conform to the 'Sendable' protocol
17 |
18 | /// Allows two severities to be compared
:
75 |
76 | /// Warning logging - Describing potential future problems. Future might be the next line, the next release, etc.
77 | static let warning = LogSeverity(severityValue: 4, name: (short: "w", long: "Warning", emoji: "⚠️"))
| |- warning: static property 'warning' is not concurrency-safe because non-'Sendable' type 'LogSeverity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'warning' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | /// Error logging - Problems that just happened. A server log might only print lines of this severity or higher.
/host/spi-builder-workspace/Sources/SimpleLogging/LogSeverity.swift:80:16: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'LogSeverity' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// How severe a log message is
16 | public struct LogSeverity {
| `- note: consider making struct 'LogSeverity' conform to the 'Sendable' protocol
17 |
18 | /// Allows two severities to be compared
:
78 |
79 | /// Error logging - Problems that just happened. A server log might only print lines of this severity or higher.
80 | static let error = LogSeverity(severityValue: 5, name: (short: "e", long: "Error", emoji: "🆘"))
| |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'LogSeverity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'error' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 |
82 | /// Fatal logging - The only fatal lines in a log file should be the last lines, in the event of a crash
/host/spi-builder-workspace/Sources/SimpleLogging/LogSeverity.swift:83:16: warning: static property 'fatal' is not concurrency-safe because non-'Sendable' type 'LogSeverity' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// How severe a log message is
16 | public struct LogSeverity {
| `- note: consider making struct 'LogSeverity' conform to the 'Sendable' protocol
17 |
18 | /// Allows two severities to be compared
:
81 |
82 | /// Fatal logging - The only fatal lines in a log file should be the last lines, in the event of a crash
83 | static let fatal = LogSeverity(severityValue: 1000, name: (short: "f", long: "Fatal", emoji: "🚨"))
| |- warning: static property 'fatal' is not concurrency-safe because non-'Sendable' type 'LogSeverity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fatal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | }
85 |
[32/40] Compiling SimpleLogging LogMessage.swift
/host/spi-builder-workspace/Sources/SimpleLogging/LogMessageProtocol.swift:69:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'LoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | /// Options to customize a log line
59 | public struct LoggingOptions {
| `- note: consider making struct 'LoggingOptions' conform to the 'Sendable' protocol
60 |
61 | /// The style of the severity part of a log line
:
67 | public extension LoggingOptions {
68 | /// The default logging options
69 | static let `default` = LoggingOptions(severityStyle: .default)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'LoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | }
71 |
/host/spi-builder-workspace/Sources/SimpleLogging/LogMessageProtocol.swift:74:13: warning: let 'defaultDateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
72 |
73 |
74 | private let defaultDateFormatter: ISO8601DateFormatter = {
| |- warning: let 'defaultDateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultDateFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | let defaultDateFormatter = ISO8601DateFormatter()
76 |
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
2 | open var timeZone: TimeZone! { get set }
3 | open var formatOptions: ISO8601DateFormatter.Options { get set }
[33/40] Compiling SimpleLogging LogMessageProtocol.swift
/host/spi-builder-workspace/Sources/SimpleLogging/LogMessageProtocol.swift:69:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'LoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | /// Options to customize a log line
59 | public struct LoggingOptions {
| `- note: consider making struct 'LoggingOptions' conform to the 'Sendable' protocol
60 |
61 | /// The style of the severity part of a log line
:
67 | public extension LoggingOptions {
68 | /// The default logging options
69 | static let `default` = LoggingOptions(severityStyle: .default)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'LoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | }
71 |
/host/spi-builder-workspace/Sources/SimpleLogging/LogMessageProtocol.swift:74:13: warning: let 'defaultDateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
72 |
73 |
74 | private let defaultDateFormatter: ISO8601DateFormatter = {
| |- warning: let 'defaultDateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultDateFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | let defaultDateFormatter = ISO8601DateFormatter()
76 |
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
2 | open var timeZone: TimeZone! { get set }
3 | open var formatOptions: ISO8601DateFormatter.Options { get set }
[34/40] Compiling SimpleLogging Loggable.swift
[35/40] Compiling SimpleLogging LoggableError.swift
[36/40] Compiling SimpleLogging LogChannelLocation + customRaw.swift
/host/spi-builder-workspace/Sources/SimpleLogging/LogChannel/LogChannelLocation + stdout & stderr.swift:24:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'StandardOutLogChannelLocation' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Sends messages to standard output (`stdout`)
15 | public struct StandardOutLogChannelLocation: SingletonLogChannelLocation {
| `- note: consider making struct 'StandardOutLogChannelLocation' conform to the 'Sendable' protocol
16 |
17 | public func append(_ message: LogMessageProtocol, options: LoggingOptions) {
:
22 |
23 | /// The shared implementation of a `StandardOutLogChannelLocation`
24 | public static let shared = Self()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'StandardOutLogChannelLocation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/host/spi-builder-workspace/Sources/SimpleLogging/LogChannel/LogChannelLocation + stdout & stderr.swift:40:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'StandardErrorLogChannelLocation' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | /// Sends messages to standard error (`stderr`)
32 | public struct StandardErrorLogChannelLocation: SingletonLogChannelLocation {
| `- note: consider making struct 'StandardErrorLogChannelLocation' conform to the 'Sendable' protocol
33 |
34 | public func append(_ message: LogMessageProtocol, options: LoggingOptions) {
:
38 |
39 | /// The shared implementation of a `StandardErrorLogChannelLocation`
40 | public static let shared = Self()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'StandardErrorLogChannelLocation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | }
42 |
/host/spi-builder-workspace/Sources/SimpleLogging/LogChannel/LogChannelLocation + stdout & stderr.swift:66:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'StandardOutAndErrorLogChannelLocation' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | /// Sends messages to standard output (`stdout`) or standard error (`stderr`), depending on severity
48 | public struct StandardOutAndErrorLogChannelLocation: SingletonLogChannelLocation {
| `- note: consider making struct 'StandardOutAndErrorLogChannelLocation' conform to the 'Sendable' protocol
49 |
50 | let lowestStderrSeverity: LogSeverity = .error
:
64 |
65 | /// The shared implementation of a `StandardOutAndErrorLogChannelLocation`
66 | public static let shared = Self()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'StandardOutAndErrorLogChannelLocation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | }
68 |
[37/40] Compiling SimpleLogging LogChannelLocation + file.swift
/host/spi-builder-workspace/Sources/SimpleLogging/LogChannel/LogChannelLocation + stdout & stderr.swift:24:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'StandardOutLogChannelLocation' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Sends messages to standard output (`stdout`)
15 | public struct StandardOutLogChannelLocation: SingletonLogChannelLocation {
| `- note: consider making struct 'StandardOutLogChannelLocation' conform to the 'Sendable' protocol
16 |
17 | public func append(_ message: LogMessageProtocol, options: LoggingOptions) {
:
22 |
23 | /// The shared implementation of a `StandardOutLogChannelLocation`
24 | public static let shared = Self()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'StandardOutLogChannelLocation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/host/spi-builder-workspace/Sources/SimpleLogging/LogChannel/LogChannelLocation + stdout & stderr.swift:40:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'StandardErrorLogChannelLocation' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | /// Sends messages to standard error (`stderr`)
32 | public struct StandardErrorLogChannelLocation: SingletonLogChannelLocation {
| `- note: consider making struct 'StandardErrorLogChannelLocation' conform to the 'Sendable' protocol
33 |
34 | public func append(_ message: LogMessageProtocol, options: LoggingOptions) {
:
38 |
39 | /// The shared implementation of a `StandardErrorLogChannelLocation`
40 | public static let shared = Self()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'StandardErrorLogChannelLocation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | }
42 |
/host/spi-builder-workspace/Sources/SimpleLogging/LogChannel/LogChannelLocation + stdout & stderr.swift:66:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'StandardOutAndErrorLogChannelLocation' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | /// Sends messages to standard output (`stdout`) or standard error (`stderr`), depending on severity
48 | public struct StandardOutAndErrorLogChannelLocation: SingletonLogChannelLocation {
| `- note: consider making struct 'StandardOutAndErrorLogChannelLocation' conform to the 'Sendable' protocol
49 |
50 | let lowestStderrSeverity: LogSeverity = .error
:
64 |
65 | /// The shared implementation of a `StandardOutAndErrorLogChannelLocation`
66 | public static let shared = Self()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'StandardOutAndErrorLogChannelLocation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | }
68 |
[38/40] Compiling SimpleLogging LogChannelLocation + stdout & stderr.swift
/host/spi-builder-workspace/Sources/SimpleLogging/LogChannel/LogChannelLocation + stdout & stderr.swift:24:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'StandardOutLogChannelLocation' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Sends messages to standard output (`stdout`)
15 | public struct StandardOutLogChannelLocation: SingletonLogChannelLocation {
| `- note: consider making struct 'StandardOutLogChannelLocation' conform to the 'Sendable' protocol
16 |
17 | public func append(_ message: LogMessageProtocol, options: LoggingOptions) {
:
22 |
23 | /// The shared implementation of a `StandardOutLogChannelLocation`
24 | public static let shared = Self()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'StandardOutLogChannelLocation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/host/spi-builder-workspace/Sources/SimpleLogging/LogChannel/LogChannelLocation + stdout & stderr.swift:40:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'StandardErrorLogChannelLocation' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | /// Sends messages to standard error (`stderr`)
32 | public struct StandardErrorLogChannelLocation: SingletonLogChannelLocation {
| `- note: consider making struct 'StandardErrorLogChannelLocation' conform to the 'Sendable' protocol
33 |
34 | public func append(_ message: LogMessageProtocol, options: LoggingOptions) {
:
38 |
39 | /// The shared implementation of a `StandardErrorLogChannelLocation`
40 | public static let shared = Self()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'StandardErrorLogChannelLocation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | }
42 |
/host/spi-builder-workspace/Sources/SimpleLogging/LogChannel/LogChannelLocation + stdout & stderr.swift:66:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'StandardOutAndErrorLogChannelLocation' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | /// Sends messages to standard output (`stdout`) or standard error (`stderr`), depending on severity
48 | public struct StandardOutAndErrorLogChannelLocation: SingletonLogChannelLocation {
| `- note: consider making struct 'StandardOutAndErrorLogChannelLocation' conform to the 'Sendable' protocol
49 |
50 | let lowestStderrSeverity: LogSeverity = .error
:
64 |
65 | /// The shared implementation of a `StandardOutAndErrorLogChannelLocation`
66 | public static let shared = Self()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'StandardOutAndErrorLogChannelLocation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | }
68 |
[39/40] Compiling SimpleLogging RawLogMessage.swift
[40/40] Compiling SimpleLogging Simple Logging.swift
Build complete! (5.30s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-lazy-containers",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/RougeWare/Swift-Lazy-Containers.git"
},
{
"identity" : "swift-function-tools",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/RougeWare/Swift-Function-Tools.git"
}
],
"manifest_display_name" : "SimpleLogging",
"name" : "SimpleLogging",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "watchos",
"version" : "4.0"
},
{
"name" : "tvos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "SimpleLogging",
"targets" : [
"SimpleLogging"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SimpleLoggingTests",
"module_type" : "SwiftTarget",
"name" : "SimpleLoggingTests",
"path" : "Tests/SimpleLoggingTests",
"sources" : [
"LogLocation.customRaw tests.swift",
"LogToFileTests.swift",
"Testing Utilities.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SimpleLogging"
],
"type" : "test"
},
{
"c99name" : "SimpleLogging",
"module_type" : "SwiftTarget",
"name" : "SimpleLogging",
"path" : "Sources/SimpleLogging",
"product_dependencies" : [
"LazyContainers",
"FunctionTools"
],
"product_memberships" : [
"SimpleLogging"
],
"sources" : [
"CombinedLogMessage.swift",
"CombinedLoggable.swift",
"Extensions/Foundation/FileHandle + TextOutputStream.swift",
"LogChannel/LogChannel.swift",
"LogChannel/LogChannelLocation + Swift.print.swift",
"LogChannel/LogChannelLocation + custom.swift",
"LogChannel/LogChannelLocation + customRaw.swift",
"LogChannel/LogChannelLocation + file.swift",
"LogChannel/LogChannelLocation + stdout & stderr.swift",
"LogChannel/LogChannelLocation.swift",
"LogManager.swift",
"LogMessage.swift",
"LogMessageProtocol.swift",
"LogSeverity.swift",
"LogSeverityFilter.swift",
"Loggable.swift",
"LoggableError.swift",
"RawLogMessage.swift",
"Simple Logging.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
basic-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:0f094b998e61bb35b7a666f42e392cfb12929ea8fa9160622b1badd8b73d5c87
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
Done.