Build Information
Successful build of LazyCodableKit, reference 1.1.2 (c8b81e), with Swift 6.1 for Wasm on 31 May 2025 05:23:34 UTC.
Swift 6 data race errors: 8
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kvngwxxk/LazyCodableKit.git
Reference: 1.1.2
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/kvngwxxk/LazyCodableKit
* tag 1.1.2 -> FETCH_HEAD
HEAD is now at c8b81eb Merge pull request #11 from kvngwxxk/develop
Cloned https://github.com/kvngwxxk/LazyCodableKit.git
Revision (git rev-parse @):
c8b81eb4e47054a296c888f6ce3bb9f4c25680a3
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/kvngwxxk/LazyCodableKit.git at 1.1.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/kvngwxxk/LazyCodableKit.git
https://github.com/kvngwxxk/LazyCodableKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "LazyCodableKit",
"name" : "LazyCodableKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "LazyCodableKit",
"targets" : [
"LazyCodableKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LazyCodableKitTests",
"module_type" : "SwiftTarget",
"name" : "LazyCodableKitTests",
"path" : "Tests/LazyCodableKitTests",
"sources" : [
"LazyCodableKitTests.swift"
],
"target_dependencies" : [
"LazyCodableKit"
],
"type" : "test"
},
{
"c99name" : "LazyCodableKit",
"module_type" : "SwiftTarget",
"name" : "LazyCodableKit",
"path" : "Sources/LazyCodableKit",
"product_memberships" : [
"LazyCodableKit"
],
"sources" : [
"LazyCodableKit.swift",
"PromisedOptionalType/PromisedOptionalBool.swift",
"PromisedOptionalType/PromisedOptionalDate.swift",
"PromisedOptionalType/PromisedOptionalDouble.swift",
"PromisedOptionalType/PromisedOptionalInt.swift",
"PromisedOptionalType/PromisedOptionalString.swift",
"PromisedType/PromisedBool.swift",
"PromisedType/PromisedDate.swift",
"PromisedType/PromisedDouble.swift",
"PromisedType/PromisedInt.swift",
"PromisedType/PromisedString.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/13] Compiling LazyCodableKit PromisedInt.swift
/host/spi-builder-workspace/Sources/LazyCodableKit/PromisedType/PromisedInt.swift:20:23: warning: static property 'fallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | public struct PromisedInt: Codable {
19 | public var wrappedValue: Int
20 | public static var fallback: Int = -1
| |- warning: static property 'fallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fallback' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fallback' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | public init(wrappedValue: Int) {
[4/14] Compiling LazyCodableKit PromisedDouble.swift
/host/spi-builder-workspace/Sources/LazyCodableKit/PromisedType/PromisedDouble.swift:21:23: warning: static property 'fallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public struct PromisedDouble: Codable {
20 | public var wrappedValue: Double
21 | public static var fallback: Double = -1.0
| |- warning: static property 'fallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fallback' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fallback' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | public init(wrappedValue: Double) {
[5/14] Compiling LazyCodableKit PromisedOptionalDate.swift
[6/14] Compiling LazyCodableKit PromisedOptionalDouble.swift
[7/14] Compiling LazyCodableKit LazyCodableKit.swift
/host/spi-builder-workspace/Sources/LazyCodableKit/LazyCodableKit.swift:7: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
5 |
6 | public enum LazyCodableLogger {
7 | public static var isEnabled: Bool = false
| |- 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: add '@MainActor' to make static property 'isEnabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | public static var logOnSuccess: Bool = false
9 | public static var handler: (String) -> Void = { print($0) }
/host/spi-builder-workspace/Sources/LazyCodableKit/LazyCodableKit.swift:8:23: warning: static property 'logOnSuccess' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | public enum LazyCodableLogger {
7 | public static var isEnabled: Bool = false
8 | public static var logOnSuccess: Bool = false
| |- warning: static property 'logOnSuccess' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logOnSuccess' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logOnSuccess' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | public static var handler: (String) -> Void = { print($0) }
10 |
/host/spi-builder-workspace/Sources/LazyCodableKit/LazyCodableKit.swift:9:23: warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | public static var isEnabled: Bool = false
8 | public static var logOnSuccess: Bool = false
9 | public static var handler: (String) -> Void = { print($0) }
| |- warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public enum LogType {
[8/14] Compiling LazyCodableKit PromisedOptionalBool.swift
/host/spi-builder-workspace/Sources/LazyCodableKit/LazyCodableKit.swift:7: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
5 |
6 | public enum LazyCodableLogger {
7 | public static var isEnabled: Bool = false
| |- 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: add '@MainActor' to make static property 'isEnabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | public static var logOnSuccess: Bool = false
9 | public static var handler: (String) -> Void = { print($0) }
/host/spi-builder-workspace/Sources/LazyCodableKit/LazyCodableKit.swift:8:23: warning: static property 'logOnSuccess' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | public enum LazyCodableLogger {
7 | public static var isEnabled: Bool = false
8 | public static var logOnSuccess: Bool = false
| |- warning: static property 'logOnSuccess' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logOnSuccess' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logOnSuccess' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | public static var handler: (String) -> Void = { print($0) }
10 |
/host/spi-builder-workspace/Sources/LazyCodableKit/LazyCodableKit.swift:9:23: warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | public static var isEnabled: Bool = false
8 | public static var logOnSuccess: Bool = false
9 | public static var handler: (String) -> Void = { print($0) }
| |- warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public enum LogType {
[9/14] Emitting module LazyCodableKit
/host/spi-builder-workspace/Sources/LazyCodableKit/LazyCodableKit.swift:7: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
5 |
6 | public enum LazyCodableLogger {
7 | public static var isEnabled: Bool = false
| |- 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: add '@MainActor' to make static property 'isEnabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | public static var logOnSuccess: Bool = false
9 | public static var handler: (String) -> Void = { print($0) }
/host/spi-builder-workspace/Sources/LazyCodableKit/LazyCodableKit.swift:8:23: warning: static property 'logOnSuccess' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | public enum LazyCodableLogger {
7 | public static var isEnabled: Bool = false
8 | public static var logOnSuccess: Bool = false
| |- warning: static property 'logOnSuccess' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logOnSuccess' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logOnSuccess' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | public static var handler: (String) -> Void = { print($0) }
10 |
/host/spi-builder-workspace/Sources/LazyCodableKit/LazyCodableKit.swift:9:23: warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | public static var isEnabled: Bool = false
8 | public static var logOnSuccess: Bool = false
9 | public static var handler: (String) -> Void = { print($0) }
| |- warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public enum LogType {
/host/spi-builder-workspace/Sources/LazyCodableKit/PromisedType/PromisedBool.swift:21:23: warning: static property 'fallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public struct PromisedBool: Codable {
20 | public var wrappedValue: Bool
21 | public static var fallback: Bool = false
| |- warning: static property 'fallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fallback' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fallback' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | public init(wrappedValue: Bool) {
/host/spi-builder-workspace/Sources/LazyCodableKit/PromisedType/PromisedDate.swift:12:23: warning: static property 'fallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public struct PromisedDate: Codable {
11 | public var wrappedValue: Date
12 | public static var fallback: Date = .distantPast
| |- warning: static property 'fallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fallback' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fallback' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public init(wrappedValue: Date) {
/host/spi-builder-workspace/Sources/LazyCodableKit/PromisedType/PromisedDouble.swift:21:23: warning: static property 'fallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public struct PromisedDouble: Codable {
20 | public var wrappedValue: Double
21 | public static var fallback: Double = -1.0
| |- warning: static property 'fallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fallback' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fallback' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | public init(wrappedValue: Double) {
/host/spi-builder-workspace/Sources/LazyCodableKit/PromisedType/PromisedInt.swift:20:23: warning: static property 'fallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | public struct PromisedInt: Codable {
19 | public var wrappedValue: Int
20 | public static var fallback: Int = -1
| |- warning: static property 'fallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fallback' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fallback' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | public init(wrappedValue: Int) {
/host/spi-builder-workspace/Sources/LazyCodableKit/PromisedType/PromisedString.swift:21:23: warning: static property 'fallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public struct PromisedString: Codable {
20 | public var wrappedValue: String
21 | public static var fallback: String = ""
| |- warning: static property 'fallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fallback' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fallback' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | public init(wrappedValue: String) {
[10/14] Compiling LazyCodableKit PromisedOptionalInt.swift
[11/14] Compiling LazyCodableKit PromisedOptionalString.swift
[12/14] Compiling LazyCodableKit PromisedBool.swift
/host/spi-builder-workspace/Sources/LazyCodableKit/PromisedType/PromisedBool.swift:21:23: warning: static property 'fallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public struct PromisedBool: Codable {
20 | public var wrappedValue: Bool
21 | public static var fallback: Bool = false
| |- warning: static property 'fallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fallback' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fallback' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | public init(wrappedValue: Bool) {
[13/14] Compiling LazyCodableKit PromisedDate.swift
/host/spi-builder-workspace/Sources/LazyCodableKit/PromisedType/PromisedDate.swift:12:23: warning: static property 'fallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public struct PromisedDate: Codable {
11 | public var wrappedValue: Date
12 | public static var fallback: Date = .distantPast
| |- warning: static property 'fallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fallback' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fallback' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public init(wrappedValue: Date) {
[14/14] Compiling LazyCodableKit PromisedString.swift
/host/spi-builder-workspace/Sources/LazyCodableKit/PromisedType/PromisedString.swift:21:23: warning: static property 'fallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public struct PromisedString: Codable {
20 | public var wrappedValue: String
21 | public static var fallback: String = ""
| |- warning: static property 'fallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fallback' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fallback' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | public init(wrappedValue: String) {
Build complete! (10.74s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "LazyCodableKit",
"name" : "LazyCodableKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "LazyCodableKit",
"targets" : [
"LazyCodableKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LazyCodableKitTests",
"module_type" : "SwiftTarget",
"name" : "LazyCodableKitTests",
"path" : "Tests/LazyCodableKitTests",
"sources" : [
"LazyCodableKitTests.swift"
],
"target_dependencies" : [
"LazyCodableKit"
],
"type" : "test"
},
{
"c99name" : "LazyCodableKit",
"module_type" : "SwiftTarget",
"name" : "LazyCodableKit",
"path" : "Sources/LazyCodableKit",
"product_memberships" : [
"LazyCodableKit"
],
"sources" : [
"LazyCodableKit.swift",
"PromisedOptionalType/PromisedOptionalBool.swift",
"PromisedOptionalType/PromisedOptionalDate.swift",
"PromisedOptionalType/PromisedOptionalDouble.swift",
"PromisedOptionalType/PromisedOptionalInt.swift",
"PromisedOptionalType/PromisedOptionalString.swift",
"PromisedType/PromisedBool.swift",
"PromisedType/PromisedDate.swift",
"PromisedType/PromisedDouble.swift",
"PromisedType/PromisedInt.swift",
"PromisedType/PromisedString.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
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.