Build Information
Successful build of RaLog, reference 1.8.1 (06787f
), with Swift 6.0 for Linux on 1 Apr 2025 10:28:55 UTC.
Swift 6 data race errors: 6
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RakuyoKit/RaLog.git
Reference: 1.8.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/RakuyoKit/RaLog
* tag 1.8.1 -> FETCH_HEAD
HEAD is now at 06787f6 Merge branch release/1.8.1
Cloned https://github.com/RakuyoKit/RaLog.git
Revision (git rev-parse @):
06787f66caa8e80b953573edf146130b85e87bd4
SUCCESS checkout https://github.com/RakuyoKit/RaLog.git at 1.8.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/RakuyoKit/RaLog.git
https://github.com/RakuyoKit/RaLog.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift",
"requirement" : {
"branch" : [
"release/1.4.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/RakuyoKit/swift.git"
}
],
"manifest_display_name" : "RaLog",
"name" : "RaLog",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "5.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "RaLog",
"targets" : [
"RaLog"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "RaLogTests",
"module_type" : "SwiftTarget",
"name" : "RaLogTests",
"path" : "Tests",
"sources" : [
"RaLogTests/RaLogTests.swift"
],
"target_dependencies" : [
"RaLog"
],
"type" : "test"
},
{
"c99name" : "RaLog",
"module_type" : "SwiftTarget",
"name" : "RaLog",
"path" : "Sources/Core",
"product_memberships" : [
"RaLog"
],
"sources" : [
"Built-in.swift",
"Filterable.swift",
"Log.swift",
"LogModelProtocol.swift",
"Printable.swift",
"RaLogCompatible.swift",
"Storable.swift",
"WebView+RaLog.swift",
"Wrapper.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/RakuyoKit/swift.git
[1/2369] Fetching swift
Fetched https://github.com/RakuyoKit/swift.git from cache (1.11s)
Fetching https://github.com/apple/swift-argument-parser
[1/14793] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.82s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.80s)
Creating working copy for https://github.com/RakuyoKit/swift.git
Working copy of https://github.com/RakuyoKit/swift.git resolved at release/1.4.0 (9cb218a)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
[1371/28197168] Downloading https://github.com/nicklockwood/SwiftFormat/releases/download/0.55.0/SwiftFormat.artifactbundle.zip
[11867/39231213] Downloading https://github.com/nicklockwood/SwiftFormat/releases/download/0.55.0/SwiftFormat.artifactbundle.zip, https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip
Downloading binary artifact https://github.com/nicklockwood/SwiftFormat/releases/download/0.55.0/SwiftFormat.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip (1.51s)
Downloaded https://github.com/nicklockwood/SwiftFormat/releases/download/0.55.0/SwiftFormat.artifactbundle.zip (2.91s)
/host/spi-builder-workspace/.build/checkouts/swift/Plugins/FormatSwift/Plugin.swift:53:13: warning: 'launchPath' is deprecated: renamed to 'executableURL'
51 |
52 | let process = Process()
53 | process.launchPath = launchPath
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
54 | process.arguments = arguments
55 | try process.run()
[1/1] Compiling plugin FormatSwift
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/13] Compiling RaLog WebView+RaLog.swift
[6/14] Compiling RaLog RaLogCompatible.swift
[7/14] Compiling RaLog Storable.swift
/host/spi-builder-workspace/Sources/Core/Storable.swift:16:23: warning: static property 'disk' is not concurrency-safe because non-'Sendable' type 'StorageMode' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Used to specify the location of cache storage.
14 | public struct StorageMode: OptionSet {
| `- note: consider making struct 'StorageMode' conform to the 'Sendable' protocol
15 | /// Storage on disk.
16 | public static let disk = Self(rawValue: 1 << 0)
| |- warning: static property 'disk' is not concurrency-safe because non-'Sendable' type 'StorageMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'disk' 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 | /// Cached on memory.
/host/spi-builder-workspace/Sources/Core/Storable.swift:19:23: warning: static property 'memory' is not concurrency-safe because non-'Sendable' type 'StorageMode' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Used to specify the location of cache storage.
14 | public struct StorageMode: OptionSet {
| `- note: consider making struct 'StorageMode' conform to the 'Sendable' protocol
15 | /// Storage on disk.
16 | public static let disk = Self(rawValue: 1 << 0)
17 |
18 | /// Cached on memory.
19 | public static let memory = Self(rawValue: 1 << 1)
| |- warning: static property 'memory' is not concurrency-safe because non-'Sendable' type 'StorageMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'memory' 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
20 |
21 | /// `.disk` & `.memory`.
/host/spi-builder-workspace/Sources/Core/Storable.swift:22:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'StorageMode' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Used to specify the location of cache storage.
14 | public struct StorageMode: OptionSet {
| `- note: consider making struct 'StorageMode' conform to the 'Sendable' protocol
15 | /// Storage on disk.
16 | public static let disk = Self(rawValue: 1 << 0)
:
20 |
21 | /// `.disk` & `.memory`.
22 | public static let all: StorageMode = [.disk, .memory]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'StorageMode' 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
23 |
24 | public let rawValue: Int
/host/spi-builder-workspace/Sources/Core/Wrapper.swift:14:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Wrapper' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper container to provide default global storage support for other types.
12 | final class Wrapper {
| `- note: class 'Wrapper' does not conform to the 'Sendable' protocol
13 | /// Singleton object
14 | static let shared = Wrapper()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Wrapper' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
15 |
16 | var logs: [LogModelProtocol] = []
/host/spi-builder-workspace/Sources/Core/Storable.swift:303:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
301 | // File Exists
302 | if !FileManager.default.fileExists(atPath: filePath, isDirectory: &isDirectory) {
303 | FileManager.default.createFile(atPath: filePath, contents: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
304 |
305 | // Store as an array
[8/14] Compiling RaLog Built-in.swift
/host/spi-builder-workspace/Sources/Core/Wrapper.swift:14:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Wrapper' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper container to provide default global storage support for other types.
12 | final class Wrapper {
| `- note: class 'Wrapper' does not conform to the 'Sendable' protocol
13 | /// Singleton object
14 | static let shared = Wrapper()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Wrapper' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
15 |
16 | var logs: [LogModelProtocol] = []
[9/14] Compiling RaLog Filterable.swift
/host/spi-builder-workspace/Sources/Core/Wrapper.swift:14:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Wrapper' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper container to provide default global storage support for other types.
12 | final class Wrapper {
| `- note: class 'Wrapper' does not conform to the 'Sendable' protocol
13 | /// Singleton object
14 | static let shared = Wrapper()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Wrapper' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
15 |
16 | var logs: [LogModelProtocol] = []
[10/14] Compiling RaLog LogModelProtocol.swift
[11/14] Compiling RaLog Log.swift
/host/spi-builder-workspace/Sources/Core/Log.swift:22:23: warning: static property 'globalFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// A global log formatter that can be set to customize log output.
22 | public static var globalFormatter: ((_ log: LogModelProtocol) -> String)? = nil
| |- warning: static property 'globalFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalFormatter' 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 |
24 | /// Determines whether it is enabled.
/host/spi-builder-workspace/Sources/Core/Log.swift:28:23: warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | /// This switch controls all processes including printing, filtering, and saving.
27 | /// See the default implementation of the `Printable.print(_:)` method for details.
28 | public static var isEnabled: Bool = {
| |- warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isEnabled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'isEnabled' 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
29 | #if DEBUG
30 | true
[12/14] Emitting module RaLog
/host/spi-builder-workspace/Sources/Core/Log.swift:22:23: warning: static property 'globalFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// A global log formatter that can be set to customize log output.
22 | public static var globalFormatter: ((_ log: LogModelProtocol) -> String)? = nil
| |- warning: static property 'globalFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalFormatter' 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 |
24 | /// Determines whether it is enabled.
/host/spi-builder-workspace/Sources/Core/Log.swift:28:23: warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | /// This switch controls all processes including printing, filtering, and saving.
27 | /// See the default implementation of the `Printable.print(_:)` method for details.
28 | public static var isEnabled: Bool = {
| |- warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isEnabled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'isEnabled' 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
29 | #if DEBUG
30 | true
/host/spi-builder-workspace/Sources/Core/Storable.swift:16:23: warning: static property 'disk' is not concurrency-safe because non-'Sendable' type 'StorageMode' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Used to specify the location of cache storage.
14 | public struct StorageMode: OptionSet {
| `- note: consider making struct 'StorageMode' conform to the 'Sendable' protocol
15 | /// Storage on disk.
16 | public static let disk = Self(rawValue: 1 << 0)
| |- warning: static property 'disk' is not concurrency-safe because non-'Sendable' type 'StorageMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'disk' 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 | /// Cached on memory.
/host/spi-builder-workspace/Sources/Core/Storable.swift:19:23: warning: static property 'memory' is not concurrency-safe because non-'Sendable' type 'StorageMode' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Used to specify the location of cache storage.
14 | public struct StorageMode: OptionSet {
| `- note: consider making struct 'StorageMode' conform to the 'Sendable' protocol
15 | /// Storage on disk.
16 | public static let disk = Self(rawValue: 1 << 0)
17 |
18 | /// Cached on memory.
19 | public static let memory = Self(rawValue: 1 << 1)
| |- warning: static property 'memory' is not concurrency-safe because non-'Sendable' type 'StorageMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'memory' 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
20 |
21 | /// `.disk` & `.memory`.
/host/spi-builder-workspace/Sources/Core/Storable.swift:22:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'StorageMode' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Used to specify the location of cache storage.
14 | public struct StorageMode: OptionSet {
| `- note: consider making struct 'StorageMode' conform to the 'Sendable' protocol
15 | /// Storage on disk.
16 | public static let disk = Self(rawValue: 1 << 0)
:
20 |
21 | /// `.disk` & `.memory`.
22 | public static let all: StorageMode = [.disk, .memory]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'StorageMode' 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
23 |
24 | public let rawValue: Int
/host/spi-builder-workspace/Sources/Core/Wrapper.swift:14:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Wrapper' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper container to provide default global storage support for other types.
12 | final class Wrapper {
| `- note: class 'Wrapper' does not conform to the 'Sendable' protocol
13 | /// Singleton object
14 | static let shared = Wrapper()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Wrapper' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
15 |
16 | var logs: [LogModelProtocol] = []
[13/14] Compiling RaLog Printable.swift
[14/14] Compiling RaLog Wrapper.swift
/host/spi-builder-workspace/Sources/Core/Wrapper.swift:14:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Wrapper' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// A wrapper container to provide default global storage support for other types.
12 | final class Wrapper {
| `- note: class 'Wrapper' does not conform to the 'Sendable' protocol
13 | /// Singleton object
14 | static let shared = Wrapper()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Wrapper' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
15 |
16 | var logs: [LogModelProtocol] = []
Build complete! (23.03s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift",
"requirement" : {
"branch" : [
"release/1.4.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/RakuyoKit/swift.git"
}
],
"manifest_display_name" : "RaLog",
"name" : "RaLog",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "5.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "RaLog",
"targets" : [
"RaLog"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "RaLogTests",
"module_type" : "SwiftTarget",
"name" : "RaLogTests",
"path" : "Tests",
"sources" : [
"RaLogTests/RaLogTests.swift"
],
"target_dependencies" : [
"RaLog"
],
"type" : "test"
},
{
"c99name" : "RaLog",
"module_type" : "SwiftTarget",
"name" : "RaLog",
"path" : "Sources/Core",
"product_memberships" : [
"RaLog"
],
"sources" : [
"Built-in.swift",
"Filterable.swift",
"Log.swift",
"LogModelProtocol.swift",
"Printable.swift",
"RaLogCompatible.swift",
"Storable.swift",
"WebView+RaLog.swift",
"Wrapper.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.