The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of SimpleLogging, reference 0.5.2 (efdee0), with Swift 6.0 for Linux on 1 Nov 2024 22:20:19 UTC.

Swift 6 data race errors: 13

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RougeWare/Swift-Simple-Logging.git
Reference: 0.5.2
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.5.2      -> FETCH_HEAD
HEAD is now at efdee02 Merge pull request #18 from RougeWare/feature/update/LazyContainers-repo-rename-from-LazyPatterns
Cloned https://github.com/RougeWare/Swift-Simple-Logging.git
Revision (git rev-parse @):
efdee028f383b0f3c39646a76e16bdd30693f53b
SUCCESS checkout https://github.com/RougeWare/Swift-Simple-Logging.git at 0.5.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/RougeWare/Swift-Simple-Logging.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/RougeWare/Swift-Function-Tools.git
Fetching https://github.com/RougeWare/Swift-Lazy-Containers.git
[1/346] Fetching swift-lazy-containers
[347/467] Fetching swift-lazy-containers, swift-function-tools
Fetched https://github.com/RougeWare/Swift-Lazy-Containers.git from cache (0.23s)
Fetched https://github.com/RougeWare/Swift-Function-Tools.git from cache (0.23s)
Computing version for https://github.com/RougeWare/Swift-Function-Tools.git
Computed https://github.com/RougeWare/Swift-Function-Tools.git at 1.2.4 (0.51s)
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.54s)
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 1.2.4
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/11] Write sources
[3/11] Write swift-version-24593BA9C3E375BF.txt
[5/24] Compiling FunctionTools Blackholes.swift
[6/25] Compiling FunctionTools Function types.swift
[7/25] Compiling LazyContainers LazyContainers.swift
[8/25] Compiling FunctionTools Call.swift
[9/25] Compiling LazyContainers LazyContainer + Equatable.swift
[10/25] Compiling FunctionTools Constant.swift
[11/25] Emitting module LazyContainers
[12/25] Compiling LazyContainers LazyContainer + Hashable.swift
[13/25] Compiling LazyContainers LazyContainer + Codable.swift
[14/26] Compiling FunctionTools Null functions.swift
[15/26] Compiling FunctionTools Curry.swift
[16/26] Compiling FunctionTools Echo.swift
[17/26] Compiling FunctionTools !.swift
[18/26] Emitting module FunctionTools
[20/27] Wrapping AST for FunctionTools for debugging
[21/27] Wrapping AST for LazyContainers for debugging
[23/39] Compiling SimpleLogging LoggableError.swift
[24/39] Compiling SimpleLogging Loggable.swift
[25/40] Compiling SimpleLogging LogMessage.swift
/host/spi-builder-workspace/Sources/SimpleLogging/LogMessageProtocol.swift:70: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
58 |
59 | /// Options to customize a log line
60 | public struct LoggingOptions {
   |               `- note: consider making struct 'LoggingOptions' conform to the 'Sendable' protocol
61 |
62 |     /// The style of the severity part of a log line
   :
68 | public extension LoggingOptions {
69 |     /// The default logging options
70 |     static let `default` = LoggingOptions(severityStyle: .emoji)
   |                |- 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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | }
72 |
/host/spi-builder-workspace/Sources/SimpleLogging/LogMessageProtocol.swift:75: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
73 |
74 |
75 | 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: annotate 'defaultDateFormatter' with '@MainActor' if property should only be accessed from the main actor
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |     let defaultDateFormatter = ISO8601DateFormatter()
77 |
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 }
[26/40] Compiling SimpleLogging LogMessageProtocol.swift
/host/spi-builder-workspace/Sources/SimpleLogging/LogMessageProtocol.swift:70: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
58 |
59 | /// Options to customize a log line
60 | public struct LoggingOptions {
   |               `- note: consider making struct 'LoggingOptions' conform to the 'Sendable' protocol
61 |
62 |     /// The style of the severity part of a log line
   :
68 | public extension LoggingOptions {
69 |     /// The default logging options
70 |     static let `default` = LoggingOptions(severityStyle: .emoji)
   |                |- 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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | }
72 |
/host/spi-builder-workspace/Sources/SimpleLogging/LogMessageProtocol.swift:75: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
73 |
74 |
75 | 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: annotate 'defaultDateFormatter' with '@MainActor' if property should only be accessed from the main actor
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |     let defaultDateFormatter = ISO8601DateFormatter()
77 |
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 }
[27/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
 15 |
 16 | /// How severe a log message is
 17 | public struct LogSeverity {
    |               `- note: consider making struct 'LogSeverity' conform to the 'Sendable' protocol
 18 |
 19 |     /// Allows two severities to be compared
    :
 66 | public extension LogSeverity {
 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: annotate 'verbose' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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
 15 |
 16 | /// How severe a log message is
 17 | public struct LogSeverity {
    |               `- note: consider making struct 'LogSeverity' conform to the 'Sendable' protocol
 18 |
 19 |     /// 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: annotate 'debug' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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
 15 |
 16 | /// How severe a log message is
 17 | public struct LogSeverity {
    |               `- note: consider making struct 'LogSeverity' conform to the 'Sendable' protocol
 18 |
 19 |     /// 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: annotate 'info' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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
 15 |
 16 | /// How severe a log message is
 17 | public struct LogSeverity {
    |               `- note: consider making struct 'LogSeverity' conform to the 'Sendable' protocol
 18 |
 19 |     /// 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: annotate 'warning' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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
 15 |
 16 | /// How severe a log message is
 17 | public struct LogSeverity {
    |               `- note: consider making struct 'LogSeverity' conform to the 'Sendable' protocol
 18 |
 19 |     /// 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: annotate 'error' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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
 15 |
 16 | /// How severe a log message is
 17 | public struct LogSeverity {
    |               `- note: consider making struct 'LogSeverity' conform to the 'Sendable' protocol
 18 |
 19 |     /// 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: annotate 'fatal' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 84 | }
 85 |
[28/40] Emitting module SimpleLogging
/host/spi-builder-workspace/Sources/SimpleLogging/CombinedLogMessage.swift:16: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
14 | // Swift made me do this :c
15 | /// The message printed if something tries to log this message before it's done initializing
16 | 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
17 |
18 | 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:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LazyContainers'
 8 |
 9 | import Foundation
10 | import LazyContainers
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LazyContainers'
11 |
12 |
   :
14 | // Swift made me do this :c
15 | /// The message printed if something tries to log this message before it's done initializing
16 | private let logLineInitialValueBeforeLazyInitializerCanBeCreated = Lazy(wrappedValue: """
   |             |- note: annotate 'logLineInitialValueBeforeLazyInitializerCanBeCreated' with '@MainActor' if property should only be accessed from the main actor
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | 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:13: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
11 |
12 |
13 | 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
14 |     public func write(_ string: String) {
15 |         guard let data = string.data(using: .utf8) else { return }
/host/spi-builder-workspace/Sources/SimpleLogging/Extensions/Foundation/FileHandle + TextOutputStream.swift:22: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
20 |
21 |
22 | 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: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | internal var standardError = FileHandle.standardError
24 |
/host/spi-builder-workspace/Sources/SimpleLogging/Extensions/Foundation/FileHandle + TextOutputStream.swift:23: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
21 |
22 | internal var standardOutput = FileHandle.standardOutput
23 | 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: annotate 'standardError' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
/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
 15 |
 16 | /// How severe a log message is
 17 | public struct LogSeverity {
    |               `- note: consider making struct 'LogSeverity' conform to the 'Sendable' protocol
 18 |
 19 |     /// 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: annotate 'info' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 75 |
 76 |     /// Warning logging - Describing potential future problems. Future might be the next line, the next release, etc.
/host/spi-builder-workspace/Sources/SimpleLogging/LogManager.swift:23:24: warning: static property 'originalDefaultChannels' is not concurrency-safe because non-'Sendable' type '[LogChannel]' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 |     /// The original set of default channels, kept here so we can reset the default channels
23 |     private static let originalDefaultChannels = [try! LogChannel(name: "Swift.print", location: .swiftPrintDefault)]
   |                        |- warning: static property 'originalDefaultChannels' is not concurrency-safe because non-'Sendable' type '[LogChannel]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: annotate 'originalDefaultChannels' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 |     /// The default set of channels for logging. Changing this will redirect logs which don't specify a channel
/host/spi-builder-workspace/Sources/SimpleLogging/LogChannel.swift:15:14: note: class 'LogChannel' does not conform to the 'Sendable' protocol
 13 |
 14 | /// The channel to which to send log messages
 15 | public class LogChannel {
    |              `- note: class 'LogChannel' does not conform to the 'Sendable' protocol
 16 |
 17 |
/host/spi-builder-workspace/Sources/SimpleLogging/LogManager.swift:26: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
24 |
25 |     /// The default set of channels for logging. Changing this will redirect logs which don't specify a channel
26 |     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: annotate 'defaultChannels' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 |
/host/spi-builder-workspace/Sources/SimpleLogging/LogMessageProtocol.swift:70: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
58 |
59 | /// Options to customize a log line
60 | public struct LoggingOptions {
   |               `- note: consider making struct 'LoggingOptions' conform to the 'Sendable' protocol
61 |
62 |     /// The style of the severity part of a log line
   :
68 | public extension LoggingOptions {
69 |     /// The default logging options
70 |     static let `default` = LoggingOptions(severityStyle: .emoji)
   |                |- 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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | }
72 |
/host/spi-builder-workspace/Sources/SimpleLogging/LogMessageProtocol.swift:75: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
73 |
74 |
75 | 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: annotate 'defaultDateFormatter' with '@MainActor' if property should only be accessed from the main actor
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |     let defaultDateFormatter = ISO8601DateFormatter()
77 |
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
 15 |
 16 | /// How severe a log message is
 17 | public struct LogSeverity {
    |               `- note: consider making struct 'LogSeverity' conform to the 'Sendable' protocol
 18 |
 19 |     /// Allows two severities to be compared
    :
 66 | public extension LogSeverity {
 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: annotate 'verbose' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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
 15 |
 16 | /// How severe a log message is
 17 | public struct LogSeverity {
    |               `- note: consider making struct 'LogSeverity' conform to the 'Sendable' protocol
 18 |
 19 |     /// 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: annotate 'debug' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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: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
 15 |
 16 | /// How severe a log message is
 17 | public struct LogSeverity {
    |               `- note: consider making struct 'LogSeverity' conform to the 'Sendable' protocol
 18 |
 19 |     /// 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: annotate 'warning' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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
 15 |
 16 | /// How severe a log message is
 17 | public struct LogSeverity {
    |               `- note: consider making struct 'LogSeverity' conform to the 'Sendable' protocol
 18 |
 19 |     /// 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: annotate 'error' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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
 15 |
 16 | /// How severe a log message is
 17 | public struct LogSeverity {
    |               `- note: consider making struct 'LogSeverity' conform to the 'Sendable' protocol
 18 |
 19 |     /// 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: annotate 'fatal' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 84 | }
 85 |
[29/40] Compiling SimpleLogging CombinedLoggable.swift
/host/spi-builder-workspace/Sources/SimpleLogging/Extensions/Foundation/FileHandle + TextOutputStream.swift:13: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
11 |
12 |
13 | 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
14 |     public func write(_ string: String) {
15 |         guard let data = string.data(using: .utf8) else { return }
/host/spi-builder-workspace/Sources/SimpleLogging/Extensions/Foundation/FileHandle + TextOutputStream.swift:22: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
20 |
21 |
22 | 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: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | internal var standardError = FileHandle.standardError
24 |
/host/spi-builder-workspace/Sources/SimpleLogging/Extensions/Foundation/FileHandle + TextOutputStream.swift:23: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
21 |
22 | internal var standardOutput = FileHandle.standardOutput
23 | 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: annotate 'standardError' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
[30/40] Compiling SimpleLogging FileHandle + TextOutputStream.swift
/host/spi-builder-workspace/Sources/SimpleLogging/Extensions/Foundation/FileHandle + TextOutputStream.swift:13: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
11 |
12 |
13 | 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
14 |     public func write(_ string: String) {
15 |         guard let data = string.data(using: .utf8) else { return }
/host/spi-builder-workspace/Sources/SimpleLogging/Extensions/Foundation/FileHandle + TextOutputStream.swift:22: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
20 |
21 |
22 | 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: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | internal var standardError = FileHandle.standardError
24 |
/host/spi-builder-workspace/Sources/SimpleLogging/Extensions/Foundation/FileHandle + TextOutputStream.swift:23: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
21 |
22 | internal var standardOutput = FileHandle.standardOutput
23 | 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: annotate 'standardError' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
[31/40] Compiling SimpleLogging CodeLogMessage.swift
/host/spi-builder-workspace/Sources/SimpleLogging/CombinedLogMessage.swift:16: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
14 | // Swift made me do this :c
15 | /// The message printed if something tries to log this message before it's done initializing
16 | 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
17 |
18 | 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:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LazyContainers'
 8 |
 9 | import Foundation
10 | import LazyContainers
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LazyContainers'
11 |
12 |
   :
14 | // Swift made me do this :c
15 | /// The message printed if something tries to log this message before it's done initializing
16 | private let logLineInitialValueBeforeLazyInitializerCanBeCreated = Lazy(wrappedValue: """
   |             |- note: annotate 'logLineInitialValueBeforeLazyInitializerCanBeCreated' with '@MainActor' if property should only be accessed from the main actor
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | Async error. Please file a bug report at https://github.com/RougeWare/Swift-Simple-Logging/issues/new/
[32/40] Compiling SimpleLogging CombinedLogMessage.swift
/host/spi-builder-workspace/Sources/SimpleLogging/CombinedLogMessage.swift:16: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
14 | // Swift made me do this :c
15 | /// The message printed if something tries to log this message before it's done initializing
16 | 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
17 |
18 | 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:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LazyContainers'
 8 |
 9 | import Foundation
10 | import LazyContainers
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LazyContainers'
11 |
12 |
   :
14 | // Swift made me do this :c
15 | /// The message printed if something tries to log this message before it's done initializing
16 | private let logLineInitialValueBeforeLazyInitializerCanBeCreated = Lazy(wrappedValue: """
   |             |- note: annotate 'logLineInitialValueBeforeLazyInitializerCanBeCreated' with '@MainActor' if property should only be accessed from the main actor
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | Async error. Please file a bug report at https://github.com/RougeWare/Swift-Simple-Logging/issues/new/
[33/40] Compiling SimpleLogging LogChannel.swift
/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
 15 |
 16 | /// How severe a log message is
 17 | public struct LogSeverity {
    |               `- note: consider making struct 'LogSeverity' conform to the 'Sendable' protocol
 18 |
 19 |     /// 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: annotate 'info' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 75 |
 76 |     /// Warning logging - Describing potential future problems. Future might be the next line, the next release, etc.
/host/spi-builder-workspace/Sources/SimpleLogging/Extensions/Foundation/FileHandle + TextOutputStream.swift:22: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
20 |
21 |
22 | 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: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | internal var standardError = FileHandle.standardError
24 |
/host/spi-builder-workspace/Sources/SimpleLogging/Extensions/Foundation/FileHandle + TextOutputStream.swift:23: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
21 |
22 | internal var standardOutput = FileHandle.standardOutput
23 | 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: annotate 'standardError' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
/host/spi-builder-workspace/Sources/SimpleLogging/LogManager.swift:23:24: warning: static property 'originalDefaultChannels' is not concurrency-safe because non-'Sendable' type '[LogChannel]' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 |     /// The original set of default channels, kept here so we can reset the default channels
23 |     private static let originalDefaultChannels = [try! LogChannel(name: "Swift.print", location: .swiftPrintDefault)]
   |                        |- warning: static property 'originalDefaultChannels' is not concurrency-safe because non-'Sendable' type '[LogChannel]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: annotate 'originalDefaultChannels' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 |     /// The default set of channels for logging. Changing this will redirect logs which don't specify a channel
/host/spi-builder-workspace/Sources/SimpleLogging/LogChannel.swift:15:14: note: class 'LogChannel' does not conform to the 'Sendable' protocol
 13 |
 14 | /// The channel to which to send log messages
 15 | public class LogChannel {
    |              `- note: class 'LogChannel' does not conform to the 'Sendable' protocol
 16 |
 17 |
/host/spi-builder-workspace/Sources/SimpleLogging/LogManager.swift:26: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
24 |
25 |     /// The default set of channels for logging. Changing this will redirect logs which don't specify a channel
26 |     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: annotate 'defaultChannels' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 |
[34/40] Compiling SimpleLogging LogManager.swift
/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
 15 |
 16 | /// How severe a log message is
 17 | public struct LogSeverity {
    |               `- note: consider making struct 'LogSeverity' conform to the 'Sendable' protocol
 18 |
 19 |     /// 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: annotate 'info' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 75 |
 76 |     /// Warning logging - Describing potential future problems. Future might be the next line, the next release, etc.
/host/spi-builder-workspace/Sources/SimpleLogging/Extensions/Foundation/FileHandle + TextOutputStream.swift:22: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
20 |
21 |
22 | 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: annotate 'standardOutput' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | internal var standardError = FileHandle.standardError
24 |
/host/spi-builder-workspace/Sources/SimpleLogging/Extensions/Foundation/FileHandle + TextOutputStream.swift:23: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
21 |
22 | internal var standardOutput = FileHandle.standardOutput
23 | 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: annotate 'standardError' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
/host/spi-builder-workspace/Sources/SimpleLogging/LogManager.swift:23:24: warning: static property 'originalDefaultChannels' is not concurrency-safe because non-'Sendable' type '[LogChannel]' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 |     /// The original set of default channels, kept here so we can reset the default channels
23 |     private static let originalDefaultChannels = [try! LogChannel(name: "Swift.print", location: .swiftPrintDefault)]
   |                        |- warning: static property 'originalDefaultChannels' is not concurrency-safe because non-'Sendable' type '[LogChannel]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: annotate 'originalDefaultChannels' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 |     /// The default set of channels for logging. Changing this will redirect logs which don't specify a channel
/host/spi-builder-workspace/Sources/SimpleLogging/LogChannel.swift:15:14: note: class 'LogChannel' does not conform to the 'Sendable' protocol
 13 |
 14 | /// The channel to which to send log messages
 15 | public class LogChannel {
    |              `- note: class 'LogChannel' does not conform to the 'Sendable' protocol
 16 |
 17 |
/host/spi-builder-workspace/Sources/SimpleLogging/LogManager.swift:26: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
24 |
25 |     /// The default set of channels for logging. Changing this will redirect logs which don't specify a channel
26 |     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: annotate 'defaultChannels' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 |
[35/40] Compiling SimpleLogging Simple Logging.swift
/host/spi-builder-workspace/Sources/SimpleLogging/LogManager.swift:26: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
24 |
25 |     /// The default set of channels for logging. Changing this will redirect logs which don't specify a channel
26 |     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: annotate 'defaultChannels' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 |
/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
 15 |
 16 | /// How severe a log message is
 17 | public struct LogSeverity {
    |               `- note: consider making struct 'LogSeverity' conform to the 'Sendable' protocol
 18 |
 19 |     /// Allows two severities to be compared
    :
 66 | public extension LogSeverity {
 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: annotate 'verbose' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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
 15 |
 16 | /// How severe a log message is
 17 | public struct LogSeverity {
    |               `- note: consider making struct 'LogSeverity' conform to the 'Sendable' protocol
 18 |
 19 |     /// 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: annotate 'debug' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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
 15 |
 16 | /// How severe a log message is
 17 | public struct LogSeverity {
    |               `- note: consider making struct 'LogSeverity' conform to the 'Sendable' protocol
 18 |
 19 |     /// 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: annotate 'info' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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
 15 |
 16 | /// How severe a log message is
 17 | public struct LogSeverity {
    |               `- note: consider making struct 'LogSeverity' conform to the 'Sendable' protocol
 18 |
 19 |     /// 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: annotate 'warning' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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
 15 |
 16 | /// How severe a log message is
 17 | public struct LogSeverity {
    |               `- note: consider making struct 'LogSeverity' conform to the 'Sendable' protocol
 18 |
 19 |     /// 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: annotate 'error' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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
 15 |
 16 | /// How severe a log message is
 17 | public struct LogSeverity {
    |               `- note: consider making struct 'LogSeverity' conform to the 'Sendable' protocol
 18 |
 19 |     /// 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: annotate 'fatal' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 84 | }
 85 |
[36/41] Wrapping AST for SimpleLogging for debugging
[37/41] Write Objects.LinkFileList
[39/41] Linking libSimpleLogging_dynamic.so
[40/41] Linking libSimpleLoggingDynamic.so
Build complete! (23.86s)
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" : "1.2.3",
            "upper_bound" : "2.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"
        ]
      }
    },
    {
      "name" : "SimpleLogging_dynamic",
      "targets" : [
        "SimpleLogging"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "SimpleLoggingDynamic",
      "targets" : [
        "SimpleLogging"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SimpleLoggingTests",
      "module_type" : "SwiftTarget",
      "name" : "SimpleLoggingTests",
      "path" : "Tests/SimpleLoggingTests",
      "sources" : [
        "LogToFileTests.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",
        "SimpleLogging_dynamic",
        "SimpleLoggingDynamic"
      ],
      "sources" : [
        "CodeLogMessage.swift",
        "CombinedLogMessage.swift",
        "CombinedLoggable.swift",
        "Extensions/Foundation/FileHandle + TextOutputStream.swift",
        "LogChannel.swift",
        "LogManager.swift",
        "LogMessage.swift",
        "LogMessageProtocol.swift",
        "LogSeverity.swift",
        "Loggable.swift",
        "LoggableError.swift",
        "Simple Logging.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.