Build Information
Successful build of PatchouliJSON, reference 0.9.5 (89b9b1
), with Swift 6.1 for Linux on 29 Apr 2025 00:35:01 UTC.
Swift 6 data race errors: 5
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/alexhunsley/patchouli-jsonpatch.git
Reference: 0.9.5
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/alexhunsley/patchouli-jsonpatch
* tag 0.9.5 -> FETCH_HEAD
HEAD is now at 89b9b1d Update README.md
Cloned https://github.com/alexhunsley/patchouli-jsonpatch.git
Revision (git rev-parse @):
89b9b1d595780f580c4636db082798cd08cc24d1
SUCCESS checkout https://github.com/alexhunsley/patchouli-jsonpatch.git at 0.9.5
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/alexhunsley/patchouli-jsonpatch.git
https://github.com/alexhunsley/patchouli-jsonpatch.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "patchouli-core",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/alexhunsley/patchouli-core"
},
{
"identity" : "swift-jsonpatch",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/raymccrae/swift-jsonpatch.git"
}
],
"manifest_display_name" : "PatchouliJSON",
"name" : "PatchouliJSON",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "PatchouliJSON",
"targets" : [
"PatchouliJSON"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PatchouliJSONTests",
"module_type" : "SwiftTarget",
"name" : "PatchouliJSONTests",
"path" : "Tests",
"sources" : [
"Sources/PatchouliJSONTests.swift",
"Sources/TestHepers.swift"
],
"target_dependencies" : [
"PatchouliJSON"
],
"type" : "test"
},
{
"c99name" : "PatchouliJSON",
"module_type" : "SwiftTarget",
"name" : "PatchouliJSON",
"path" : "Sources",
"product_dependencies" : [
"PatchouliCore",
"JSONPatch"
],
"product_memberships" : [
"PatchouliJSON"
],
"sources" : [
"DSL+JSONPatchType.swift",
"JSONSimpleContentBuilder.swift",
"ModuleExports.swift",
"PatchTypes/JSONPatchType.swift",
"Util/String+Util.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/raymccrae/swift-jsonpatch.git
Fetching https://github.com/alexhunsley/patchouli-core
[1/614] Fetching swift-jsonpatch
[266/1071] Fetching swift-jsonpatch, patchouli-core
Fetched https://github.com/alexhunsley/patchouli-core from cache (0.25s)
[277/614] Fetching swift-jsonpatch
Fetched https://github.com/raymccrae/swift-jsonpatch.git from cache (0.31s)
Computing version for https://github.com/alexhunsley/patchouli-core
Computed https://github.com/alexhunsley/patchouli-core at 0.9.5 (0.71s)
Computing version for https://github.com/raymccrae/swift-jsonpatch.git
Computed https://github.com/raymccrae/swift-jsonpatch.git at 1.0.6 (1.82s)
Creating working copy for https://github.com/raymccrae/swift-jsonpatch.git
Working copy of https://github.com/raymccrae/swift-jsonpatch.git resolved at 1.0.6
Creating working copy for https://github.com/alexhunsley/patchouli-core
Working copy of https://github.com/alexhunsley/patchouli-core resolved at 0.9.5
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/22] Compiling JSONPatch NSArray+DeepCopy.swift
[6/23] Compiling PatchouliCore DSL+StringPatch.swift
[7/23] Compiling PatchouliCore PatchouliError.swift
[8/24] Compiling PatchouliCore PatchedContent+Reduce.swift
[9/24] Compiling PatchouliCore StringPatchType.swift
[10/24] Emitting module JSONPatch
[11/24] Compiling PatchouliCore AddressedPatchItemsBuilder.swift
[12/24] Compiling PatchouliCore DSL.swift
[13/24] Compiling PatchouliCore PatchType.swift
[16/24] Emitting module PatchouliCore
[17/24] Compiling PatchouliCore Patchable.swift
[18/24] Compiling JSONPatch JSONPatch.swift
[19/24] Compiling JSONPatch JSONError.swift
[20/24] Compiling JSONPatch JSONPatchGenerator.swift
[21/24] Compiling JSONPatch JSONPatchCodable.swift
[22/24] Compiling JSONPatch JSONPointer.swift
[23/24] Compiling JSONPatch NSDictionary+DeepCopy.swift
[24/25] Compiling PatchouliCore String+Util.swift
[27/32] Compiling PatchouliJSON ModuleExports.swift
[28/32] Compiling PatchouliJSON JSONSimpleContentBuilder.swift
[29/32] Compiling PatchouliJSON DSL+JSONPatchType.swift
[30/32] Emitting module PatchouliJSON
/host/spi-builder-workspace/Sources/PatchTypes/JSONPatchType.swift:15:12: warning: let 'null' is not concurrency-safe because non-'Sendable' type 'Any?' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// An explicit type for JSON null. Trying to use 'nil' for this would be a bad
14 | /// idea because our ResultBuilders use nil internally when simplifying.
15 | public let null: Any? = nil
| |- warning: let 'null' is not concurrency-safe because non-'Sendable' type 'Any?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'null' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public typealias PatchedJSON = PatchedContent<JSONPatchType>
/host/spi-builder-workspace/Sources/PatchTypes/JSONPatchType.swift:30:23: warning: static property 'patcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// The Protocol Witness used by the reducer
30 | static public var patcher = Patchable<JSONPatchType>(
| |- warning: static property 'patcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'patcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'patcher' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | added: { (container: ContentType, addition: ContentType, address: String) throws -> ContentType in
32 | let additionStr = try addition.string()
/host/spi-builder-workspace/Sources/PatchTypes/JSONPatchType.swift:88:23: warning: static property 'emptyObjectContent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
86 | )
87 |
88 | static public var emptyObjectContent: JSONContent = .literal("{}".utf8Data)
| |- warning: static property 'emptyObjectContent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'emptyObjectContent' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'emptyObjectContent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | static public var emptyArrayContent: JSONContent = .literal("[]".utf8Data)
90 |
/host/spi-builder-workspace/Sources/PatchTypes/JSONPatchType.swift:89:23: warning: static property 'emptyArrayContent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | static public var emptyObjectContent: JSONContent = .literal("{}".utf8Data)
89 | static public var emptyArrayContent: JSONContent = .literal("[]".utf8Data)
| |- warning: static property 'emptyArrayContent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'emptyArrayContent' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'emptyArrayContent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 |
91 | public static var emptyContent: JSONContent = emptyObjectContent
/host/spi-builder-workspace/Sources/PatchTypes/JSONPatchType.swift:91:23: warning: static property 'emptyContent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
89 | static public var emptyArrayContent: JSONContent = .literal("[]".utf8Data)
90 |
91 | public static var emptyContent: JSONContent = emptyObjectContent
| |- warning: static property 'emptyContent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'emptyContent' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'emptyContent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | }
93 |
[31/32] Compiling PatchouliJSON JSONPatchType.swift
/host/spi-builder-workspace/Sources/PatchTypes/JSONPatchType.swift:15:12: warning: let 'null' is not concurrency-safe because non-'Sendable' type 'Any?' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// An explicit type for JSON null. Trying to use 'nil' for this would be a bad
14 | /// idea because our ResultBuilders use nil internally when simplifying.
15 | public let null: Any? = nil
| |- warning: let 'null' is not concurrency-safe because non-'Sendable' type 'Any?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'null' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public typealias PatchedJSON = PatchedContent<JSONPatchType>
/host/spi-builder-workspace/Sources/PatchTypes/JSONPatchType.swift:30:23: warning: static property 'patcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// The Protocol Witness used by the reducer
30 | static public var patcher = Patchable<JSONPatchType>(
| |- warning: static property 'patcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'patcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'patcher' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | added: { (container: ContentType, addition: ContentType, address: String) throws -> ContentType in
32 | let additionStr = try addition.string()
/host/spi-builder-workspace/Sources/PatchTypes/JSONPatchType.swift:88:23: warning: static property 'emptyObjectContent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
86 | )
87 |
88 | static public var emptyObjectContent: JSONContent = .literal("{}".utf8Data)
| |- warning: static property 'emptyObjectContent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'emptyObjectContent' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'emptyObjectContent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | static public var emptyArrayContent: JSONContent = .literal("[]".utf8Data)
90 |
/host/spi-builder-workspace/Sources/PatchTypes/JSONPatchType.swift:89:23: warning: static property 'emptyArrayContent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | static public var emptyObjectContent: JSONContent = .literal("{}".utf8Data)
89 | static public var emptyArrayContent: JSONContent = .literal("[]".utf8Data)
| |- warning: static property 'emptyArrayContent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'emptyArrayContent' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'emptyArrayContent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 |
91 | public static var emptyContent: JSONContent = emptyObjectContent
/host/spi-builder-workspace/Sources/PatchTypes/JSONPatchType.swift:91:23: warning: static property 'emptyContent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
89 | static public var emptyArrayContent: JSONContent = .literal("[]".utf8Data)
90 |
91 | public static var emptyContent: JSONContent = emptyObjectContent
| |- warning: static property 'emptyContent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'emptyContent' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'emptyContent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | }
93 |
[32/32] Compiling PatchouliJSON String+Util.swift
Build complete! (11.53s)
Build complete.
{
"dependencies" : [
{
"identity" : "patchouli-core",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/alexhunsley/patchouli-core"
},
{
"identity" : "swift-jsonpatch",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/raymccrae/swift-jsonpatch.git"
}
],
"manifest_display_name" : "PatchouliJSON",
"name" : "PatchouliJSON",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "PatchouliJSON",
"targets" : [
"PatchouliJSON"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PatchouliJSONTests",
"module_type" : "SwiftTarget",
"name" : "PatchouliJSONTests",
"path" : "Tests",
"sources" : [
"Sources/PatchouliJSONTests.swift",
"Sources/TestHepers.swift"
],
"target_dependencies" : [
"PatchouliJSON"
],
"type" : "test"
},
{
"c99name" : "PatchouliJSON",
"module_type" : "SwiftTarget",
"name" : "PatchouliJSON",
"path" : "Sources",
"product_dependencies" : [
"PatchouliCore",
"JSONPatch"
],
"product_memberships" : [
"PatchouliJSON"
],
"sources" : [
"DSL+JSONPatchType.swift",
"JSONSimpleContentBuilder.swift",
"ModuleExports.swift",
"PatchTypes/JSONPatchType.swift",
"Util/String+Util.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
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.