Build Information
Successful build of TimberSwift, reference main (f3b4e5), with Swift 6.1 for Android on 29 May 2025 04:44:53 UTC.
Swift 6 data race errors: 4
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Bayer-Group/TimberSwift.git
Reference: main
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/Bayer-Group/TimberSwift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f3b4e52 Feature/Updated iOS version (#8)
Cloned https://github.com/Bayer-Group/TimberSwift.git
Revision (git rev-parse @):
f3b4e526daefd39f7ba7a9563113d577fb38093d
SUCCESS checkout https://github.com/Bayer-Group/TimberSwift.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/Bayer-Group/TimberSwift.git
https://github.com/Bayer-Group/TimberSwift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "TimberSwift",
"name" : "TimberSwift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "TimberSwift",
"targets" : [
"TimberSwift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TimberSwiftTests",
"module_type" : "SwiftTarget",
"name" : "TimberSwiftTests",
"path" : "Tests/TimberSwiftTests",
"sources" : [
"Extension/Array.swift",
"Mock/API/MockTimberApplicationDelegate.swift",
"Mock/Analytics/MockAnalytics.swift",
"Mock/Log/MockLog.swift",
"Mock/Network/MockNetwork.swift",
"Mock/Performance/MockPerformance.swift",
"Mock/User Message/MockUserMessage.swift",
"Test/TimberIntegrationTests.swift",
"Test/TimberTests.swift"
],
"target_dependencies" : [
"TimberSwift"
],
"type" : "test"
},
{
"c99name" : "TimberSwift",
"module_type" : "SwiftTarget",
"name" : "TimberSwift",
"path" : "Sources/TimberSwift",
"product_memberships" : [
"TimberSwift"
],
"sources" : [
"API/Source.swift",
"API/Timber.swift",
"API/TimberApplicationDelegate.swift",
"Analytics/Analytics.swift",
"Log/Log.swift",
"Log/LogLevel.swift",
"Log/LogMessage.swift",
"Log/TimberError.swift",
"Log/TimberErrorType.swift",
"Network/Network.swift",
"Performance/Performance.swift",
"User Message/ToastType.swift",
"User Message/UserMessage.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/15] Compiling TimberSwift TimberErrorType.swift
[4/15] Compiling TimberSwift Network.swift
[5/15] Compiling TimberSwift Performance.swift
[6/15] Compiling TimberSwift LogMessage.swift
/host/spi-builder-workspace/Sources/TimberSwift/Log/TimberError.swift:8:16: warning: stored property 'logMessage' of 'Sendable'-conforming struct 'TimberError' has non-sendable type 'LogMessage'; this is an error in the Swift 6 language mode
6 | public struct TimberError: Error {
7 | /** The error message */
8 | public let logMessage: LogMessage
| `- warning: stored property 'logMessage' of 'Sendable'-conforming struct 'TimberError' has non-sendable type 'LogMessage'; this is an error in the Swift 6 language mode
9 | /** The error type */
10 | public let errorType: TimberErrorType
/host/spi-builder-workspace/Sources/TimberSwift/Log/LogMessage.swift:8:15: note: consider making struct 'LogMessage' conform to the 'Sendable' protocol
6 | - fileName: The original file property reduced to just the name
7 | */
8 | public struct LogMessage {
| `- note: consider making struct 'LogMessage' conform to the 'Sendable' protocol
9 | public let message: String
10 | public let logLevel: LogLevel
/host/spi-builder-workspace/Sources/TimberSwift/Log/TimberError.swift:10:16: warning: stored property 'errorType' of 'Sendable'-conforming struct 'TimberError' has non-sendable type 'TimberErrorType'; this is an error in the Swift 6 language mode
8 | public let logMessage: LogMessage
9 | /** The error type */
10 | public let errorType: TimberErrorType
| `- warning: stored property 'errorType' of 'Sendable'-conforming struct 'TimberError' has non-sendable type 'TimberErrorType'; this is an error in the Swift 6 language mode
11 | /** Properties associated with the log message and error */
12 | public let properties: [String: Any]
/host/spi-builder-workspace/Sources/TimberSwift/Log/TimberErrorType.swift:4:13: note: consider making enum 'TimberErrorType' conform to the 'Sendable' protocol
2 | The type of error as logged in Timber.
3 | */
4 | public enum TimberErrorType: CustomStringConvertible, Equatable {
| `- note: consider making enum 'TimberErrorType' conform to the 'Sendable' protocol
5 | case authentication
6 | case network
/host/spi-builder-workspace/Sources/TimberSwift/Log/TimberError.swift:12:16: warning: stored property 'properties' of 'Sendable'-conforming struct 'TimberError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
10 | public let errorType: TimberErrorType
11 | /** Properties associated with the log message and error */
12 | public let properties: [String: Any]
| `- warning: stored property 'properties' of 'Sendable'-conforming struct 'TimberError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
13 |
14 | init(logMessage: LogMessage, errorType: TimberErrorType) {
[7/15] Compiling TimberSwift TimberError.swift
/host/spi-builder-workspace/Sources/TimberSwift/Log/TimberError.swift:8:16: warning: stored property 'logMessage' of 'Sendable'-conforming struct 'TimberError' has non-sendable type 'LogMessage'; this is an error in the Swift 6 language mode
6 | public struct TimberError: Error {
7 | /** The error message */
8 | public let logMessage: LogMessage
| `- warning: stored property 'logMessage' of 'Sendable'-conforming struct 'TimberError' has non-sendable type 'LogMessage'; this is an error in the Swift 6 language mode
9 | /** The error type */
10 | public let errorType: TimberErrorType
/host/spi-builder-workspace/Sources/TimberSwift/Log/LogMessage.swift:8:15: note: consider making struct 'LogMessage' conform to the 'Sendable' protocol
6 | - fileName: The original file property reduced to just the name
7 | */
8 | public struct LogMessage {
| `- note: consider making struct 'LogMessage' conform to the 'Sendable' protocol
9 | public let message: String
10 | public let logLevel: LogLevel
/host/spi-builder-workspace/Sources/TimberSwift/Log/TimberError.swift:10:16: warning: stored property 'errorType' of 'Sendable'-conforming struct 'TimberError' has non-sendable type 'TimberErrorType'; this is an error in the Swift 6 language mode
8 | public let logMessage: LogMessage
9 | /** The error type */
10 | public let errorType: TimberErrorType
| `- warning: stored property 'errorType' of 'Sendable'-conforming struct 'TimberError' has non-sendable type 'TimberErrorType'; this is an error in the Swift 6 language mode
11 | /** Properties associated with the log message and error */
12 | public let properties: [String: Any]
/host/spi-builder-workspace/Sources/TimberSwift/Log/TimberErrorType.swift:4:13: note: consider making enum 'TimberErrorType' conform to the 'Sendable' protocol
2 | The type of error as logged in Timber.
3 | */
4 | public enum TimberErrorType: CustomStringConvertible, Equatable {
| `- note: consider making enum 'TimberErrorType' conform to the 'Sendable' protocol
5 | case authentication
6 | case network
/host/spi-builder-workspace/Sources/TimberSwift/Log/TimberError.swift:12:16: warning: stored property 'properties' of 'Sendable'-conforming struct 'TimberError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
10 | public let errorType: TimberErrorType
11 | /** Properties associated with the log message and error */
12 | public let properties: [String: Any]
| `- warning: stored property 'properties' of 'Sendable'-conforming struct 'TimberError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
13 |
14 | init(logMessage: LogMessage, errorType: TimberErrorType) {
[8/15] Compiling TimberSwift ToastType.swift
[9/16] Compiling TimberSwift Log.swift
[10/16] Compiling TimberSwift LogLevel.swift
[11/16] Compiling TimberSwift TimberApplicationDelegate.swift
[12/16] Compiling TimberSwift Analytics.swift
[13/16] Emitting module TimberSwift
/host/spi-builder-workspace/Sources/TimberSwift/API/Timber.swift:35:28: warning: static property 'timberApplicationDelegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | /** Intended to be from the parent application to act on all activity from frameworks and the parent application itself */
35 | public static weak var timberApplicationDelegate: TimberApplicationDelegate?
| |- warning: static property 'timberApplicationDelegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timberApplicationDelegate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'timberApplicationDelegate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /**
/host/spi-builder-workspace/Sources/TimberSwift/Log/TimberError.swift:8:16: warning: stored property 'logMessage' of 'Sendable'-conforming struct 'TimberError' has non-sendable type 'LogMessage'; this is an error in the Swift 6 language mode
6 | public struct TimberError: Error {
7 | /** The error message */
8 | public let logMessage: LogMessage
| `- warning: stored property 'logMessage' of 'Sendable'-conforming struct 'TimberError' has non-sendable type 'LogMessage'; this is an error in the Swift 6 language mode
9 | /** The error type */
10 | public let errorType: TimberErrorType
/host/spi-builder-workspace/Sources/TimberSwift/Log/LogMessage.swift:8:15: note: consider making struct 'LogMessage' conform to the 'Sendable' protocol
6 | - fileName: The original file property reduced to just the name
7 | */
8 | public struct LogMessage {
| `- note: consider making struct 'LogMessage' conform to the 'Sendable' protocol
9 | public let message: String
10 | public let logLevel: LogLevel
/host/spi-builder-workspace/Sources/TimberSwift/Log/TimberError.swift:10:16: warning: stored property 'errorType' of 'Sendable'-conforming struct 'TimberError' has non-sendable type 'TimberErrorType'; this is an error in the Swift 6 language mode
8 | public let logMessage: LogMessage
9 | /** The error type */
10 | public let errorType: TimberErrorType
| `- warning: stored property 'errorType' of 'Sendable'-conforming struct 'TimberError' has non-sendable type 'TimberErrorType'; this is an error in the Swift 6 language mode
11 | /** Properties associated with the log message and error */
12 | public let properties: [String: Any]
/host/spi-builder-workspace/Sources/TimberSwift/Log/TimberErrorType.swift:4:13: note: consider making enum 'TimberErrorType' conform to the 'Sendable' protocol
2 | The type of error as logged in Timber.
3 | */
4 | public enum TimberErrorType: CustomStringConvertible, Equatable {
| `- note: consider making enum 'TimberErrorType' conform to the 'Sendable' protocol
5 | case authentication
6 | case network
/host/spi-builder-workspace/Sources/TimberSwift/Log/TimberError.swift:12:16: warning: stored property 'properties' of 'Sendable'-conforming struct 'TimberError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
10 | public let errorType: TimberErrorType
11 | /** Properties associated with the log message and error */
12 | public let properties: [String: Any]
| `- warning: stored property 'properties' of 'Sendable'-conforming struct 'TimberError' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
13 |
14 | init(logMessage: LogMessage, errorType: TimberErrorType) {
[14/16] Compiling TimberSwift Source.swift
/host/spi-builder-workspace/Sources/TimberSwift/API/Timber.swift:35:28: warning: static property 'timberApplicationDelegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | /** Intended to be from the parent application to act on all activity from frameworks and the parent application itself */
35 | public static weak var timberApplicationDelegate: TimberApplicationDelegate?
| |- warning: static property 'timberApplicationDelegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timberApplicationDelegate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'timberApplicationDelegate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /**
[15/16] Compiling TimberSwift Timber.swift
/host/spi-builder-workspace/Sources/TimberSwift/API/Timber.swift:35:28: warning: static property 'timberApplicationDelegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | /** Intended to be from the parent application to act on all activity from frameworks and the parent application itself */
35 | public static weak var timberApplicationDelegate: TimberApplicationDelegate?
| |- warning: static property 'timberApplicationDelegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timberApplicationDelegate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'timberApplicationDelegate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /**
[16/16] Compiling TimberSwift UserMessage.swift
Build complete! (11.73s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "TimberSwift",
"name" : "TimberSwift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "TimberSwift",
"targets" : [
"TimberSwift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TimberSwiftTests",
"module_type" : "SwiftTarget",
"name" : "TimberSwiftTests",
"path" : "Tests/TimberSwiftTests",
"sources" : [
"Extension/Array.swift",
"Mock/API/MockTimberApplicationDelegate.swift",
"Mock/Analytics/MockAnalytics.swift",
"Mock/Log/MockLog.swift",
"Mock/Network/MockNetwork.swift",
"Mock/Performance/MockPerformance.swift",
"Mock/User Message/MockUserMessage.swift",
"Test/TimberIntegrationTests.swift",
"Test/TimberTests.swift"
],
"target_dependencies" : [
"TimberSwift"
],
"type" : "test"
},
{
"c99name" : "TimberSwift",
"module_type" : "SwiftTarget",
"name" : "TimberSwift",
"path" : "Sources/TimberSwift",
"product_memberships" : [
"TimberSwift"
],
"sources" : [
"API/Source.swift",
"API/Timber.swift",
"API/TimberApplicationDelegate.swift",
"Analytics/Analytics.swift",
"Log/Log.swift",
"Log/LogLevel.swift",
"Log/LogMessage.swift",
"Log/TimberError.swift",
"Log/TimberErrorType.swift",
"Network/Network.swift",
"Performance/Performance.swift",
"User Message/ToastType.swift",
"User Message/UserMessage.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.