Build Information
Successful build of AppDependency, reference 1.1.0 (d973ca
), with Swift 6.1 for Linux on 28 Apr 2025 11:22:58 UTC.
Swift 6 data race errors: 3
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xLeif/AppDependency.git
Reference: 1.1.0
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/0xLeif/AppDependency
* tag 1.1.0 -> FETCH_HEAD
HEAD is now at d973ca2 Change logger for linux and windows to var (#7)
Cloned https://github.com/0xLeif/AppDependency.git
Revision (git rev-parse @):
d973ca2e26a7f4aaa205c41a2551c51f492fec50
SUCCESS checkout https://github.com/0xLeif/AppDependency.git at 1.1.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/0xLeif/AppDependency.git
https://github.com/0xLeif/AppDependency.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "cache",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/0xLeif/Cache"
}
],
"manifest_display_name" : "AppDependency",
"name" : "AppDependency",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "AppDependency",
"targets" : [
"AppDependency"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AppDependencyTests",
"module_type" : "SwiftTarget",
"name" : "AppDependencyTests",
"path" : "Tests/AppDependencyTests",
"sources" : [
"AppDependencyTests.swift",
"DependencySliceTests.swift",
"ObservedDependencyTests.swift"
],
"target_dependencies" : [
"AppDependency"
],
"type" : "test"
},
{
"c99name" : "AppDependency",
"module_type" : "SwiftTarget",
"name" : "AppDependency",
"path" : "Sources/AppDependency",
"product_dependencies" : [
"Cache"
],
"product_memberships" : [
"AppDependency"
],
"sources" : [
"Application/Application+internal.swift",
"Application/Application+public.swift",
"Application/Application.swift",
"Application/Helper/ApplicationLogger.swift",
"Application/Types/Dependency/Application+Dependency.swift",
"Application/Types/Dependency/Slice/Application+DependencySlice.swift",
"Application/Types/Helper/Application+ApplicationPreview.swift",
"Application/Types/Helper/Application+Scope.swift",
"PropertyWrappers/AppDependency.swift",
"PropertyWrappers/ObservedDependency.swift",
"PropertyWrappers/Slice/DependencyConstant.swift",
"PropertyWrappers/Slice/DependencySlice.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/0xLeif/Cache
[1/419] Fetching cache
Fetched https://github.com/0xLeif/Cache from cache (0.21s)
Computing version for https://github.com/0xLeif/Cache
Computed https://github.com/0xLeif/Cache at 2.1.0 (2.28s)
Creating working copy for https://github.com/0xLeif/Cache
Working copy of https://github.com/0xLeif/Cache resolved at 2.1.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/27] Emitting module Cache
[5/30] Compiling Cache Logging.swift
[6/30] Compiling Cache OptionallyCached.swift
[7/30] Compiling Cache Resolved.swift
[8/30] Compiling Cache Global+images.swift
[9/30] Compiling Cache Global+loggers.swift
[10/30] Compiling Cache Global.swift
[11/30] Compiling Cache MissingRequiredKeysError.swift
[12/30] Compiling Cache Global+cache.swift
[13/30] Compiling Cache Global+dependencies.swift
[14/30] Compiling Cache AnyCacheable.swift
[15/30] Compiling Cache Cache+subscript.swift
[16/30] Compiling Cache Cache.swift
[17/30] Compiling Cache ComposableCache.swift
[18/30] Compiling Cache ExpiringCache+subscript.swift
[19/30] Compiling Cache ExpiringCache.swift
[20/30] Compiling Cache LRUCache.swift
[21/30] Compiling Cache PersistableCache.swift
[22/30] Compiling Cache RequiredKeysCache+subscript.swift
[23/30] Compiling Cache RequiredKeysCache.swift
[24/30] Compiling Cache CacheInitializable.swift
[25/30] Compiling Cache JSON+subscript.swift
[26/30] Compiling Cache JSON.swift
[27/30] Compiling Cache Cached.swift
[28/30] Compiling Cache Cacheable.swift
[29/30] Compiling Cache Dictionary+Cacheable.swift
[30/30] Compiling Cache InvalidTypeError.swift
[32/43] Compiling AppDependency AppDependency.swift
[33/44] Compiling AppDependency Application+ApplicationPreview.swift
[34/44] Compiling AppDependency Application+Scope.swift
[35/44] Compiling AppDependency Application+Dependency.swift
[36/44] Compiling AppDependency Application+DependencySlice.swift
[37/44] Compiling AppDependency Application.swift
/host/spi-builder-workspace/Sources/AppDependency/Application/Application.swift:12:16: 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
10 | open class Application: NSObject {
11 | /// Singleton shared instance of `Application`
12 | static var shared: Application = Application()
| |- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | #if !os(Linux) && !os(Windows)
/host/spi-builder-workspace/Sources/AppDependency/Application/Application.swift:19:23: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | #else
18 | /// Logger specifically for AppDependency
19 | public static var logger: ApplicationLogger = ApplicationLogger()
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | #endif
21 |
/host/spi-builder-workspace/Sources/AppDependency/Application/Application.swift:22:16: warning: static property 'isLoggingEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | #endif
21 |
22 | static var isLoggingEnabled: Bool = false
| |- warning: static property 'isLoggingEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isLoggingEnabled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isLoggingEnabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | let lock: NSRecursiveLock
[38/44] Compiling AppDependency ApplicationLogger.swift
/host/spi-builder-workspace/Sources/AppDependency/Application/Application.swift:12:16: 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
10 | open class Application: NSObject {
11 | /// Singleton shared instance of `Application`
12 | static var shared: Application = Application()
| |- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | #if !os(Linux) && !os(Windows)
/host/spi-builder-workspace/Sources/AppDependency/Application/Application.swift:19:23: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | #else
18 | /// Logger specifically for AppDependency
19 | public static var logger: ApplicationLogger = ApplicationLogger()
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | #endif
21 |
/host/spi-builder-workspace/Sources/AppDependency/Application/Application.swift:22:16: warning: static property 'isLoggingEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | #endif
21 |
22 | static var isLoggingEnabled: Bool = false
| |- warning: static property 'isLoggingEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isLoggingEnabled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isLoggingEnabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | let lock: NSRecursiveLock
[39/44] Compiling AppDependency DependencyConstant.swift
[40/44] Compiling AppDependency ObservedDependency.swift
[41/44] Emitting module AppDependency
/host/spi-builder-workspace/Sources/AppDependency/Application/Application.swift:12:16: 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
10 | open class Application: NSObject {
11 | /// Singleton shared instance of `Application`
12 | static var shared: Application = Application()
| |- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | #if !os(Linux) && !os(Windows)
/host/spi-builder-workspace/Sources/AppDependency/Application/Application.swift:19:23: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | #else
18 | /// Logger specifically for AppDependency
19 | public static var logger: ApplicationLogger = ApplicationLogger()
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | #endif
21 |
/host/spi-builder-workspace/Sources/AppDependency/Application/Application.swift:22:16: warning: static property 'isLoggingEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | #endif
21 |
22 | static var isLoggingEnabled: Bool = false
| |- warning: static property 'isLoggingEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isLoggingEnabled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isLoggingEnabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | let lock: NSRecursiveLock
[42/44] Compiling AppDependency Application+internal.swift
[43/44] Compiling AppDependency Application+public.swift
[44/44] Compiling AppDependency DependencySlice.swift
Build complete! (10.88s)
Build complete.
{
"dependencies" : [
{
"identity" : "cache",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/0xLeif/Cache"
}
],
"manifest_display_name" : "AppDependency",
"name" : "AppDependency",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "AppDependency",
"targets" : [
"AppDependency"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AppDependencyTests",
"module_type" : "SwiftTarget",
"name" : "AppDependencyTests",
"path" : "Tests/AppDependencyTests",
"sources" : [
"AppDependencyTests.swift",
"DependencySliceTests.swift",
"ObservedDependencyTests.swift"
],
"target_dependencies" : [
"AppDependency"
],
"type" : "test"
},
{
"c99name" : "AppDependency",
"module_type" : "SwiftTarget",
"name" : "AppDependency",
"path" : "Sources/AppDependency",
"product_dependencies" : [
"Cache"
],
"product_memberships" : [
"AppDependency"
],
"sources" : [
"Application/Application+internal.swift",
"Application/Application+public.swift",
"Application/Application.swift",
"Application/Helper/ApplicationLogger.swift",
"Application/Types/Dependency/Application+Dependency.swift",
"Application/Types/Dependency/Slice/Application+DependencySlice.swift",
"Application/Types/Helper/Application+ApplicationPreview.swift",
"Application/Types/Helper/Application+Scope.swift",
"PropertyWrappers/AppDependency.swift",
"PropertyWrappers/ObservedDependency.swift",
"PropertyWrappers/Slice/DependencyConstant.swift",
"PropertyWrappers/Slice/DependencySlice.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.