The Swift Package Index logo.Swift Package Index

Build Information

Successful build of TimberSwift, reference 1.0.1 (f3b4e5), with Swift 6.1 for Wasm on 29 May 2025 04:44:43 UTC.

Swift 6 data race errors: 4

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Bayer-Group/TimberSwift.git
Reference: 1.0.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/Bayer-Group/TimberSwift
 * tag               1.0.1      -> FETCH_HEAD
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 1.0.1
========================================
Build
========================================
Selected platform:         wasm
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-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/15] Compiling TimberSwift ToastType.swift
[4/16] Compiling TimberSwift TimberErrorType.swift
[5/16] Compiling TimberSwift Network.swift
[6/16] 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/16] 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/16] Compiling TimberSwift TimberApplicationDelegate.swift
[9/16] Compiling TimberSwift Analytics.swift
[10/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 |     /**
[11/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 |     /**
[12/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) {
[13/16] Compiling TimberSwift Log.swift
[14/16] Compiling TimberSwift LogLevel.swift
[15/16] Compiling TimberSwift Performance.swift
[16/16] Compiling TimberSwift UserMessage.swift
Build complete! (8.90s)
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"
}
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Done.