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 Logg, reference 2.4.1 (0e056b), with Swift 6.0 for Linux on 1 Nov 2024 07:07:04 UTC.

Swift 6 data race errors: 7

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/JuanjoArreola/Logg.git
Reference: 2.4.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/JuanjoArreola/Logg
 * tag               2.4.1      -> FETCH_HEAD
HEAD is now at 0e056b6 New emojis. README updated
Cloned https://github.com/JuanjoArreola/Logg.git
Revision (git rev-parse @):
0e056b6a8e028a0b8070892059656586dcaad673
SUCCESS checkout https://github.com/JuanjoArreola/Logg.git at 2.4.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/JuanjoArreola/Logg.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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/11] Compiling Logg ConsoleLogger.swift
/host/spi-builder-workspace/Sources/Logg/LogLevel.swift:11:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct LogLevel: OptionSet {
   |               `- note: consider making struct 'LogLevel' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
 9 |     public static let fault = LogLevel(rawValue:  1 << 3)
10 |
11 |     public static let all: LogLevel = [.debug, .info, .error, .fault]
   |                       |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     public static let none: LogLevel = []
13 |
/host/spi-builder-workspace/Sources/Logg/LogLevel.swift:7:23: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct LogLevel: OptionSet {
   |               `- note: consider making struct 'LogLevel' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
 6 |     public static let debug = LogLevel(rawValue:  1 << 0)
 7 |     public static let info = LogLevel(rawValue:  1 << 1)
   |                       |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'LogLevel' 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
 8 |     public static let error = LogLevel(rawValue:  1 << 2)
 9 |     public static let fault = LogLevel(rawValue:  1 << 3)
/host/spi-builder-workspace/Sources/Logg/LogLevel.swift:6:23: warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct LogLevel: OptionSet {
   |               `- note: consider making struct 'LogLevel' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
 6 |     public static let debug = LogLevel(rawValue:  1 << 0)
   |                       |- warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'LogLevel' 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
 7 |     public static let info = LogLevel(rawValue:  1 << 1)
 8 |     public static let error = LogLevel(rawValue:  1 << 2)
/host/spi-builder-workspace/Sources/Logg/LogLevel.swift:8:23: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct LogLevel: OptionSet {
   |               `- note: consider making struct 'LogLevel' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
 6 |     public static let debug = LogLevel(rawValue:  1 << 0)
 7 |     public static let info = LogLevel(rawValue:  1 << 1)
 8 |     public static let error = LogLevel(rawValue:  1 << 2)
   |                       |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'LogLevel' 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
 9 |     public static let fault = LogLevel(rawValue:  1 << 3)
10 |
/host/spi-builder-workspace/Sources/Logg/LogLevel.swift:9:23: warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct LogLevel: OptionSet {
   |               `- note: consider making struct 'LogLevel' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
 7 |     public static let info = LogLevel(rawValue:  1 << 1)
 8 |     public static let error = LogLevel(rawValue:  1 << 2)
 9 |     public static let fault = LogLevel(rawValue:  1 << 3)
   |                       |- warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'fault' 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
10 |
11 |     public static let all: LogLevel = [.debug, .info, .error, .fault]
[4/11] Compiling Logg CompositeLogger.swift
/host/spi-builder-workspace/Sources/Logg/LogLevel.swift:12:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct LogLevel: OptionSet {
   |               `- note: consider making struct 'LogLevel' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
10 |
11 |     public static let all: LogLevel = [.debug, .info, .error, .fault]
12 |     public static let none: LogLevel = []
   |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     public init(rawValue: Int) {
/host/spi-builder-workspace/Sources/Logg/LogLevel.swift:7:23: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct LogLevel: OptionSet {
   |               `- note: consider making struct 'LogLevel' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
 6 |     public static let debug = LogLevel(rawValue:  1 << 0)
 7 |     public static let info = LogLevel(rawValue:  1 << 1)
   |                       |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'LogLevel' 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
 8 |     public static let error = LogLevel(rawValue:  1 << 2)
 9 |     public static let fault = LogLevel(rawValue:  1 << 3)
/host/spi-builder-workspace/Sources/Logg/LogLevel.swift:6:23: warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct LogLevel: OptionSet {
   |               `- note: consider making struct 'LogLevel' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
 6 |     public static let debug = LogLevel(rawValue:  1 << 0)
   |                       |- warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'LogLevel' 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
 7 |     public static let info = LogLevel(rawValue:  1 << 1)
 8 |     public static let error = LogLevel(rawValue:  1 << 2)
/host/spi-builder-workspace/Sources/Logg/LogLevel.swift:8:23: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct LogLevel: OptionSet {
   |               `- note: consider making struct 'LogLevel' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
 6 |     public static let debug = LogLevel(rawValue:  1 << 0)
 7 |     public static let info = LogLevel(rawValue:  1 << 1)
 8 |     public static let error = LogLevel(rawValue:  1 << 2)
   |                       |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'LogLevel' 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
 9 |     public static let fault = LogLevel(rawValue:  1 << 3)
10 |
/host/spi-builder-workspace/Sources/Logg/LogLevel.swift:9:23: warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct LogLevel: OptionSet {
   |               `- note: consider making struct 'LogLevel' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
 7 |     public static let info = LogLevel(rawValue:  1 << 1)
 8 |     public static let error = LogLevel(rawValue:  1 << 2)
 9 |     public static let fault = LogLevel(rawValue:  1 << 3)
   |                       |- warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'fault' 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
10 |
11 |     public static let all: LogLevel = [.debug, .info, .error, .fault]
[5/11] Compiling Logg ConsoleFormatter.swift
/host/spi-builder-workspace/Sources/Logg/LogLevel.swift:12:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct LogLevel: OptionSet {
   |               `- note: consider making struct 'LogLevel' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
10 |
11 |     public static let all: LogLevel = [.debug, .info, .error, .fault]
12 |     public static let none: LogLevel = []
   |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     public init(rawValue: Int) {
/host/spi-builder-workspace/Sources/Logg/LogLevel.swift:7:23: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct LogLevel: OptionSet {
   |               `- note: consider making struct 'LogLevel' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
 6 |     public static let debug = LogLevel(rawValue:  1 << 0)
 7 |     public static let info = LogLevel(rawValue:  1 << 1)
   |                       |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'LogLevel' 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
 8 |     public static let error = LogLevel(rawValue:  1 << 2)
 9 |     public static let fault = LogLevel(rawValue:  1 << 3)
/host/spi-builder-workspace/Sources/Logg/LogLevel.swift:6:23: warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct LogLevel: OptionSet {
   |               `- note: consider making struct 'LogLevel' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
 6 |     public static let debug = LogLevel(rawValue:  1 << 0)
   |                       |- warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'LogLevel' 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
 7 |     public static let info = LogLevel(rawValue:  1 << 1)
 8 |     public static let error = LogLevel(rawValue:  1 << 2)
/host/spi-builder-workspace/Sources/Logg/LogLevel.swift:8:23: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct LogLevel: OptionSet {
   |               `- note: consider making struct 'LogLevel' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
 6 |     public static let debug = LogLevel(rawValue:  1 << 0)
 7 |     public static let info = LogLevel(rawValue:  1 << 1)
 8 |     public static let error = LogLevel(rawValue:  1 << 2)
   |                       |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'LogLevel' 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
 9 |     public static let fault = LogLevel(rawValue:  1 << 3)
10 |
/host/spi-builder-workspace/Sources/Logg/LogLevel.swift:9:23: warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct LogLevel: OptionSet {
   |               `- note: consider making struct 'LogLevel' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
 7 |     public static let info = LogLevel(rawValue:  1 << 1)
 8 |     public static let error = LogLevel(rawValue:  1 << 2)
 9 |     public static let fault = LogLevel(rawValue:  1 << 3)
   |                       |- warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'fault' 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
10 |
11 |     public static let all: LogLevel = [.debug, .info, .error, .fault]
[6/11] Emitting module Logg
/host/spi-builder-workspace/Sources/Logg/LogLevel.swift:11:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct LogLevel: OptionSet {
   |               `- note: consider making struct 'LogLevel' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
 9 |     public static let fault = LogLevel(rawValue:  1 << 3)
10 |
11 |     public static let all: LogLevel = [.debug, .info, .error, .fault]
   |                       |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     public static let none: LogLevel = []
13 |
/host/spi-builder-workspace/Sources/Logg/DefaultFormatter.swift:5:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 3 | open class DefaultFormatter: LogFormatter {
 4 |
 5 |     public static var shared = DefaultFormatter()
   |                       |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'shared' 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
 6 |
 7 |     public var formatter: DateFormatter
/host/spi-builder-workspace/Sources/Logg/LogLevel.swift:6:23: warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct LogLevel: OptionSet {
   |               `- note: consider making struct 'LogLevel' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
 6 |     public static let debug = LogLevel(rawValue:  1 << 0)
   |                       |- warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'LogLevel' 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
 7 |     public static let info = LogLevel(rawValue:  1 << 1)
 8 |     public static let error = LogLevel(rawValue:  1 << 2)
/host/spi-builder-workspace/Sources/Logg/LogLevel.swift:7:23: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct LogLevel: OptionSet {
   |               `- note: consider making struct 'LogLevel' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
 6 |     public static let debug = LogLevel(rawValue:  1 << 0)
 7 |     public static let info = LogLevel(rawValue:  1 << 1)
   |                       |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'LogLevel' 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
 8 |     public static let error = LogLevel(rawValue:  1 << 2)
 9 |     public static let fault = LogLevel(rawValue:  1 << 3)
/host/spi-builder-workspace/Sources/Logg/LogLevel.swift:8:23: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct LogLevel: OptionSet {
   |               `- note: consider making struct 'LogLevel' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
 6 |     public static let debug = LogLevel(rawValue:  1 << 0)
 7 |     public static let info = LogLevel(rawValue:  1 << 1)
 8 |     public static let error = LogLevel(rawValue:  1 << 2)
   |                       |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'LogLevel' 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
 9 |     public static let fault = LogLevel(rawValue:  1 << 3)
10 |
/host/spi-builder-workspace/Sources/Logg/LogLevel.swift:9:23: warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct LogLevel: OptionSet {
   |               `- note: consider making struct 'LogLevel' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
 7 |     public static let info = LogLevel(rawValue:  1 << 1)
 8 |     public static let error = LogLevel(rawValue:  1 << 2)
 9 |     public static let fault = LogLevel(rawValue:  1 << 3)
   |                       |- warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'fault' 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
10 |
11 |     public static let all: LogLevel = [.debug, .info, .error, .fault]
/host/spi-builder-workspace/Sources/Logg/LogLevel.swift:12:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct LogLevel: OptionSet {
   |               `- note: consider making struct 'LogLevel' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
10 |
11 |     public static let all: LogLevel = [.debug, .info, .error, .fault]
12 |     public static let none: LogLevel = []
   |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     public init(rawValue: Int) {
/host/spi-builder-workspace/Sources/Logg/Logger.swift:3:25: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 1 | import Foundation
 2 |
 3 | public protocol Logger: class {
   |                         `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 4 |
 5 |     var level: LogLevel { get set }
[7/12] Compiling Logg LogContext.swift
[8/12] Compiling Logg LogFormatter.swift
[9/12] Compiling Logg FileLogger.swift
/host/spi-builder-workspace/Sources/Logg/LogLevel.swift:11:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct LogLevel: OptionSet {
   |               `- note: consider making struct 'LogLevel' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
 9 |     public static let fault = LogLevel(rawValue:  1 << 3)
10 |
11 |     public static let all: LogLevel = [.debug, .info, .error, .fault]
   |                       |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     public static let none: LogLevel = []
13 |
/host/spi-builder-workspace/Sources/Logg/FileLogger.swift:23:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
21 |         var isDirectory: ObjCBool = false
22 |         if !FileManager.default.fileExists(atPath: path.path, isDirectory: &isDirectory) {
23 |             FileManager.default.createFile(atPath: path.path, contents: nil, attributes: nil)
   |                                 `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
24 |         } else if isDirectory.boolValue {
25 |             throw FileLoggerError.invalidFile
/host/spi-builder-workspace/Sources/Logg/DefaultFormatter.swift:5:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 3 | open class DefaultFormatter: LogFormatter {
 4 |
 5 |     public static var shared = DefaultFormatter()
   |                       |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'shared' 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
 6 |
 7 |     public var formatter: DateFormatter
/host/spi-builder-workspace/Sources/Logg/LogLevel.swift:7:23: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct LogLevel: OptionSet {
   |               `- note: consider making struct 'LogLevel' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
 6 |     public static let debug = LogLevel(rawValue:  1 << 0)
 7 |     public static let info = LogLevel(rawValue:  1 << 1)
   |                       |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'LogLevel' 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
 8 |     public static let error = LogLevel(rawValue:  1 << 2)
 9 |     public static let fault = LogLevel(rawValue:  1 << 3)
/host/spi-builder-workspace/Sources/Logg/LogLevel.swift:6:23: warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct LogLevel: OptionSet {
   |               `- note: consider making struct 'LogLevel' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
 6 |     public static let debug = LogLevel(rawValue:  1 << 0)
   |                       |- warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'LogLevel' 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
 7 |     public static let info = LogLevel(rawValue:  1 << 1)
 8 |     public static let error = LogLevel(rawValue:  1 << 2)
/host/spi-builder-workspace/Sources/Logg/LogLevel.swift:8:23: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct LogLevel: OptionSet {
   |               `- note: consider making struct 'LogLevel' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
 6 |     public static let debug = LogLevel(rawValue:  1 << 0)
 7 |     public static let info = LogLevel(rawValue:  1 << 1)
 8 |     public static let error = LogLevel(rawValue:  1 << 2)
   |                       |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'LogLevel' 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
 9 |     public static let fault = LogLevel(rawValue:  1 << 3)
10 |
/host/spi-builder-workspace/Sources/Logg/LogLevel.swift:9:23: warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct LogLevel: OptionSet {
   |               `- note: consider making struct 'LogLevel' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
 7 |     public static let info = LogLevel(rawValue:  1 << 1)
 8 |     public static let error = LogLevel(rawValue:  1 << 2)
 9 |     public static let fault = LogLevel(rawValue:  1 << 3)
   |                       |- warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'fault' 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
10 |
11 |     public static let all: LogLevel = [.debug, .info, .error, .fault]
/host/spi-builder-workspace/Sources/Logg/FileLogger.swift:57:21: warning: capture of 'self' with non-sendable type 'FileLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 8 | }
 9 |
10 | public class FileLogger: Logger {
   |              `- note: class 'FileLogger' does not conform to the 'Sendable' protocol
11 |
12 |     public var formatter: LogFormatter
   :
55 |         logQueue.async {
56 |             do {
57 |                 try self.append(string: string)
   |                     `- warning: capture of 'self' with non-sendable type 'FileLogger' in a `@Sendable` closure; this is an error in the Swift 6 language mode
58 |             } catch {
59 |                 self.fallback(error: error)
/host/spi-builder-workspace/Sources/Logg/FileLogger.swift:60:44: warning: capture of 'object' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
58 |             } catch {
59 |                 self.fallback(error: error)
60 |                 self.fallbackLogger?.debug(object, context: context, userInfo: nil)
   |                                            `- warning: capture of 'object' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 |             }
62 |         }
/host/spi-builder-workspace/Sources/Logg/FileLogger.swift:60:61: warning: capture of 'context' with non-sendable type 'LogContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
58 |             } catch {
59 |                 self.fallback(error: error)
60 |                 self.fallbackLogger?.debug(object, context: context, userInfo: nil)
   |                                                             `- warning: capture of 'context' with non-sendable type 'LogContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 |             }
62 |         }
/host/spi-builder-workspace/Sources/Logg/LogContext.swift:3:15: note: consider making struct 'LogContext' conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public struct LogContext {
   |               `- note: consider making struct 'LogContext' conform to the 'Sendable' protocol
 4 |     public var file: String
 5 |     public var function: String
/host/spi-builder-workspace/Sources/Logg/FileLogger.swift:60:44: warning: implicit capture of 'object' requires that 'Any?' conforms to `Sendable`; this is an error in the Swift 6 language mode
58 |             } catch {
59 |                 self.fallback(error: error)
60 |                 self.fallbackLogger?.debug(object, context: context, userInfo: nil)
   |                                            `- warning: implicit capture of 'object' requires that 'Any?' conforms to `Sendable`; this is an error in the Swift 6 language mode
61 |             }
62 |         }
[10/12] Compiling Logg DefaultFormatter.swift
/host/spi-builder-workspace/Sources/Logg/DefaultFormatter.swift:5:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 3 | open class DefaultFormatter: LogFormatter {
 4 |
 5 |     public static var shared = DefaultFormatter()
   |                       |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'shared' 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
 6 |
 7 |     public var formatter: DateFormatter
/host/spi-builder-workspace/Sources/Logg/LogLevel.swift:7:23: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct LogLevel: OptionSet {
   |               `- note: consider making struct 'LogLevel' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
 6 |     public static let debug = LogLevel(rawValue:  1 << 0)
 7 |     public static let info = LogLevel(rawValue:  1 << 1)
   |                       |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'LogLevel' 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
 8 |     public static let error = LogLevel(rawValue:  1 << 2)
 9 |     public static let fault = LogLevel(rawValue:  1 << 3)
/host/spi-builder-workspace/Sources/Logg/LogLevel.swift:6:23: warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct LogLevel: OptionSet {
   |               `- note: consider making struct 'LogLevel' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
 6 |     public static let debug = LogLevel(rawValue:  1 << 0)
   |                       |- warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'LogLevel' 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
 7 |     public static let info = LogLevel(rawValue:  1 << 1)
 8 |     public static let error = LogLevel(rawValue:  1 << 2)
/host/spi-builder-workspace/Sources/Logg/LogLevel.swift:8:23: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct LogLevel: OptionSet {
   |               `- note: consider making struct 'LogLevel' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
 6 |     public static let debug = LogLevel(rawValue:  1 << 0)
 7 |     public static let info = LogLevel(rawValue:  1 << 1)
 8 |     public static let error = LogLevel(rawValue:  1 << 2)
   |                       |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'LogLevel' 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
 9 |     public static let fault = LogLevel(rawValue:  1 << 3)
10 |
/host/spi-builder-workspace/Sources/Logg/LogLevel.swift:9:23: warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct LogLevel: OptionSet {
   |               `- note: consider making struct 'LogLevel' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
 7 |     public static let info = LogLevel(rawValue:  1 << 1)
 8 |     public static let error = LogLevel(rawValue:  1 << 2)
 9 |     public static let fault = LogLevel(rawValue:  1 << 3)
   |                       |- warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'fault' 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
10 |
11 |     public static let all: LogLevel = [.debug, .info, .error, .fault]
[11/12] Compiling Logg LogLevel.swift
/host/spi-builder-workspace/Sources/Logg/LogLevel.swift:6:23: warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct LogLevel: OptionSet {
   |               `- note: consider making struct 'LogLevel' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
 6 |     public static let debug = LogLevel(rawValue:  1 << 0)
   |                       |- warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'LogLevel' 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
 7 |     public static let info = LogLevel(rawValue:  1 << 1)
 8 |     public static let error = LogLevel(rawValue:  1 << 2)
/host/spi-builder-workspace/Sources/Logg/LogLevel.swift:7:23: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct LogLevel: OptionSet {
   |               `- note: consider making struct 'LogLevel' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
 6 |     public static let debug = LogLevel(rawValue:  1 << 0)
 7 |     public static let info = LogLevel(rawValue:  1 << 1)
   |                       |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'LogLevel' 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
 8 |     public static let error = LogLevel(rawValue:  1 << 2)
 9 |     public static let fault = LogLevel(rawValue:  1 << 3)
/host/spi-builder-workspace/Sources/Logg/LogLevel.swift:8:23: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct LogLevel: OptionSet {
   |               `- note: consider making struct 'LogLevel' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
 6 |     public static let debug = LogLevel(rawValue:  1 << 0)
 7 |     public static let info = LogLevel(rawValue:  1 << 1)
 8 |     public static let error = LogLevel(rawValue:  1 << 2)
   |                       |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'LogLevel' 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
 9 |     public static let fault = LogLevel(rawValue:  1 << 3)
10 |
/host/spi-builder-workspace/Sources/Logg/LogLevel.swift:9:23: warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct LogLevel: OptionSet {
   |               `- note: consider making struct 'LogLevel' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
 7 |     public static let info = LogLevel(rawValue:  1 << 1)
 8 |     public static let error = LogLevel(rawValue:  1 << 2)
 9 |     public static let fault = LogLevel(rawValue:  1 << 3)
   |                       |- warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'fault' 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
10 |
11 |     public static let all: LogLevel = [.debug, .info, .error, .fault]
/host/spi-builder-workspace/Sources/Logg/LogLevel.swift:11:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct LogLevel: OptionSet {
   |               `- note: consider making struct 'LogLevel' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
 9 |     public static let fault = LogLevel(rawValue:  1 << 3)
10 |
11 |     public static let all: LogLevel = [.debug, .info, .error, .fault]
   |                       |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     public static let none: LogLevel = []
13 |
/host/spi-builder-workspace/Sources/Logg/LogLevel.swift:12:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct LogLevel: OptionSet {
   |               `- note: consider making struct 'LogLevel' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
10 |
11 |     public static let all: LogLevel = [.debug, .info, .error, .fault]
12 |     public static let none: LogLevel = []
   |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'LogLevel' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     public init(rawValue: Int) {
[12/12] Compiling Logg Logger.swift
/host/spi-builder-workspace/Sources/Logg/Logger.swift:3:25: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 1 | import Foundation
 2 |
 3 | public protocol Logger: class {
   |                         `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 4 |
 5 |     var level: LogLevel { get set }
Build complete! (10.05s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Logg",
  "name" : "Logg",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Logg",
      "targets" : [
        "Logg"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LoggTests",
      "module_type" : "SwiftTarget",
      "name" : "LoggTests",
      "path" : "Tests/LoggTests",
      "sources" : [
        "LoggTests.swift"
      ],
      "target_dependencies" : [
        "Logg"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Logg",
      "module_type" : "SwiftTarget",
      "name" : "Logg",
      "path" : "Sources/Logg",
      "product_memberships" : [
        "Logg"
      ],
      "sources" : [
        "CompositeLogger.swift",
        "ConsoleFormatter.swift",
        "ConsoleLogger.swift",
        "DefaultFormatter.swift",
        "FileLogger.swift",
        "LogContext.swift",
        "LogFormatter.swift",
        "LogLevel.swift",
        "Logger.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.