Build Information
Successful build of PartialJSON, reference main (1c876d), with Swift 6.1 for Linux on 28 Jan 2026 10:56:15 UTC.
Swift 6 data race errors: 15
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/itruf/PartialJSON.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/itruf/PartialJSON
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1c876da Add shields.io badges to README
Cloned https://github.com/itruf/PartialJSON.git
Revision (git rev-parse @):
1c876da498c0f40e87bd72fea0211b75766cc935
SUCCESS checkout https://github.com/itruf/PartialJSON.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/itruf/PartialJSON.git
https://github.com/itruf/PartialJSON.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "PartialJSON",
"name" : "PartialJSON",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "PartialJSON",
"targets" : [
"PartialJSON"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "PartialJSONTests",
"module_type" : "SwiftTarget",
"name" : "PartialJSONTests",
"path" : "PartialJSONTests",
"sources" : [
"Partial_JSONTests.swift"
],
"target_dependencies" : [
"PartialJSON"
],
"type" : "test"
},
{
"c99name" : "PartialJSON",
"module_type" : "SwiftTarget",
"name" : "PartialJSON",
"path" : "PartialJSON",
"product_memberships" : [
"PartialJSON"
],
"sources" : [
"Allow.swift",
"PartialJSON.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:8e1c3aab9de7fa4f6e33977b6a4cee007e876da3e605dda0be6b9b9bf86aa951
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2167] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.36s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (2.68s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3649] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.40s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.02s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/7] Compiling PartialJSON Allow.swift
/host/spi-builder-workspace/PartialJSON/Allow.swift:40:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | /// // result: ["complete string"]
31 | /// ```
32 | public struct PartialJSONOptions: OptionSet {
| `- note: consider making struct 'PartialJSONOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt
34 |
:
38 |
39 | /// Allow partial strings like `"hello \u12` to be parsed as `"hello "`
40 | public static let string = PartialJSONOptions(rawValue: 1 << 0)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'string' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// Allow partial numbers like `123.` to be parsed as `123`
/host/spi-builder-workspace/PartialJSON/Allow.swift:43:23: warning: static property 'number' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | /// // result: ["complete string"]
31 | /// ```
32 | public struct PartialJSONOptions: OptionSet {
| `- note: consider making struct 'PartialJSONOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt
34 |
:
41 |
42 | /// Allow partial numbers like `123.` to be parsed as `123`
43 | public static let number = PartialJSONOptions(rawValue: 1 << 1)
| |- warning: static property 'number' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'number' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// Allow partial arrays like `[1, 2,` to be parsed as `[1, 2]`
/host/spi-builder-workspace/PartialJSON/Allow.swift:46:23: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | /// // result: ["complete string"]
31 | /// ```
32 | public struct PartialJSONOptions: OptionSet {
| `- note: consider making struct 'PartialJSONOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt
34 |
:
44 |
45 | /// Allow partial arrays like `[1, 2,` to be parsed as `[1, 2]`
46 | public static let array = PartialJSONOptions(rawValue: 1 << 2)
| |- warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'array' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// Allow partial objects like `{"a": 1, "b":` to be parsed as `{"a": 1}`
/host/spi-builder-workspace/PartialJSON/Allow.swift:49:23: warning: static property 'object' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | /// // result: ["complete string"]
31 | /// ```
32 | public struct PartialJSONOptions: OptionSet {
| `- note: consider making struct 'PartialJSONOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt
34 |
:
47 |
48 | /// Allow partial objects like `{"a": 1, "b":` to be parsed as `{"a": 1}`
49 | public static let object = PartialJSONOptions(rawValue: 1 << 3)
| |- warning: static property 'object' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'object' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// Allow `nu` to be parsed as `null`
/host/spi-builder-workspace/PartialJSON/Allow.swift:52:23: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | /// // result: ["complete string"]
31 | /// ```
32 | public struct PartialJSONOptions: OptionSet {
| `- note: consider making struct 'PartialJSONOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt
34 |
:
50 |
51 | /// Allow `nu` to be parsed as `null`
52 | public static let null = PartialJSONOptions(rawValue: 1 << 4)
| |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'null' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | /// Allow `tr` to be parsed as `true`, and `fa` to be parsed as `false`
/host/spi-builder-workspace/PartialJSON/Allow.swift:55:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | /// // result: ["complete string"]
31 | /// ```
32 | public struct PartialJSONOptions: OptionSet {
| `- note: consider making struct 'PartialJSONOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt
34 |
:
53 |
54 | /// Allow `tr` to be parsed as `true`, and `fa` to be parsed as `false`
55 | public static let boolean = PartialJSONOptions(rawValue: 1 << 5)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'boolean' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 |
57 | /// Allow `Na` to be parsed as `NaN`
/host/spi-builder-workspace/PartialJSON/Allow.swift:58:23: warning: static property 'nan' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | /// // result: ["complete string"]
31 | /// ```
32 | public struct PartialJSONOptions: OptionSet {
| `- note: consider making struct 'PartialJSONOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt
34 |
:
56 |
57 | /// Allow `Na` to be parsed as `NaN`
58 | public static let nan = PartialJSONOptions(rawValue: 1 << 6)
| |- warning: static property 'nan' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nan' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |
60 | /// Allow `Inf` to be parsed as `Infinity`
/host/spi-builder-workspace/PartialJSON/Allow.swift:61:23: warning: static property 'infinity' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | /// // result: ["complete string"]
31 | /// ```
32 | public struct PartialJSONOptions: OptionSet {
| `- note: consider making struct 'PartialJSONOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt
34 |
:
59 |
60 | /// Allow `Inf` to be parsed as `Infinity`
61 | public static let infinity = PartialJSONOptions(rawValue: 1 << 7)
| |- warning: static property 'infinity' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'infinity' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 |
63 | /// Allow `-Inf` to be parsed as `-Infinity`
/host/spi-builder-workspace/PartialJSON/Allow.swift:64:23: warning: static property 'negativeInfinity' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | /// // result: ["complete string"]
31 | /// ```
32 | public struct PartialJSONOptions: OptionSet {
| `- note: consider making struct 'PartialJSONOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt
34 |
:
62 |
63 | /// Allow `-Inf` to be parsed as `-Infinity`
64 | public static let negativeInfinity = PartialJSONOptions(rawValue: 1 << 8)
| |- warning: static property 'negativeInfinity' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'negativeInfinity' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | // MARK: - Convenience Combinations
/host/spi-builder-workspace/PartialJSON/Allow.swift:69:23: warning: static property 'allInfinity' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | /// // result: ["complete string"]
31 | /// ```
32 | public struct PartialJSONOptions: OptionSet {
| `- note: consider making struct 'PartialJSONOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt
34 |
:
67 |
68 | /// All infinity-related options (both positive and negative)
69 | public static let allInfinity: PartialJSONOptions = [.infinity, .negativeInfinity]
| |- warning: static property 'allInfinity' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'allInfinity' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | /// All special value options (null, boolean, infinity, nan)
/host/spi-builder-workspace/PartialJSON/Allow.swift:72:23: warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | /// // result: ["complete string"]
31 | /// ```
32 | public struct PartialJSONOptions: OptionSet {
| `- note: consider making struct 'PartialJSONOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt
34 |
:
70 |
71 | /// All special value options (null, boolean, infinity, nan)
72 | public static let special: PartialJSONOptions = [.null, .boolean, .allInfinity, .nan]
| |- warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'special' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |
74 | /// All atomic value options (string, number, special)
/host/spi-builder-workspace/PartialJSON/Allow.swift:75:23: warning: static property 'atomic' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | /// // result: ["complete string"]
31 | /// ```
32 | public struct PartialJSONOptions: OptionSet {
| `- note: consider making struct 'PartialJSONOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt
34 |
:
73 |
74 | /// All atomic value options (string, number, special)
75 | public static let atomic: PartialJSONOptions = [.string, .number, .special]
| |- warning: static property 'atomic' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'atomic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// All collection options (array, object)
/host/spi-builder-workspace/PartialJSON/Allow.swift:78:23: warning: static property 'collections' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | /// // result: ["complete string"]
31 | /// ```
32 | public struct PartialJSONOptions: OptionSet {
| `- note: consider making struct 'PartialJSONOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt
34 |
:
76 |
77 | /// All collection options (array, object)
78 | public static let collections: PartialJSONOptions = [.array, .object]
| |- warning: static property 'collections' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'collections' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | /// All options enabled
/host/spi-builder-workspace/PartialJSON/Allow.swift:81:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | /// // result: ["complete string"]
31 | /// ```
32 | public struct PartialJSONOptions: OptionSet {
| `- note: consider making struct 'PartialJSONOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt
34 |
:
79 |
80 | /// All options enabled
81 | public static let all: PartialJSONOptions = [.atomic, .collections]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 |
83 | /// All options except numbers (default)
/host/spi-builder-workspace/PartialJSON/Allow.swift:84:23: warning: static property 'allExceptNumbers' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | /// // result: ["complete string"]
31 | /// ```
32 | public struct PartialJSONOptions: OptionSet {
| `- note: consider making struct 'PartialJSONOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt
34 |
:
82 |
83 | /// All options except numbers (default)
84 | public static let allExceptNumbers: PartialJSONOptions = [.string, .special, .collections]
| |- warning: static property 'allExceptNumbers' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'allExceptNumbers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | }
86 |
[6/7] Emitting module PartialJSON
/host/spi-builder-workspace/PartialJSON/Allow.swift:40:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | /// // result: ["complete string"]
31 | /// ```
32 | public struct PartialJSONOptions: OptionSet {
| `- note: consider making struct 'PartialJSONOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt
34 |
:
38 |
39 | /// Allow partial strings like `"hello \u12` to be parsed as `"hello "`
40 | public static let string = PartialJSONOptions(rawValue: 1 << 0)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'string' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// Allow partial numbers like `123.` to be parsed as `123`
/host/spi-builder-workspace/PartialJSON/Allow.swift:43:23: warning: static property 'number' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | /// // result: ["complete string"]
31 | /// ```
32 | public struct PartialJSONOptions: OptionSet {
| `- note: consider making struct 'PartialJSONOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt
34 |
:
41 |
42 | /// Allow partial numbers like `123.` to be parsed as `123`
43 | public static let number = PartialJSONOptions(rawValue: 1 << 1)
| |- warning: static property 'number' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'number' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// Allow partial arrays like `[1, 2,` to be parsed as `[1, 2]`
/host/spi-builder-workspace/PartialJSON/Allow.swift:46:23: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | /// // result: ["complete string"]
31 | /// ```
32 | public struct PartialJSONOptions: OptionSet {
| `- note: consider making struct 'PartialJSONOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt
34 |
:
44 |
45 | /// Allow partial arrays like `[1, 2,` to be parsed as `[1, 2]`
46 | public static let array = PartialJSONOptions(rawValue: 1 << 2)
| |- warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'array' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// Allow partial objects like `{"a": 1, "b":` to be parsed as `{"a": 1}`
/host/spi-builder-workspace/PartialJSON/Allow.swift:49:23: warning: static property 'object' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | /// // result: ["complete string"]
31 | /// ```
32 | public struct PartialJSONOptions: OptionSet {
| `- note: consider making struct 'PartialJSONOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt
34 |
:
47 |
48 | /// Allow partial objects like `{"a": 1, "b":` to be parsed as `{"a": 1}`
49 | public static let object = PartialJSONOptions(rawValue: 1 << 3)
| |- warning: static property 'object' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'object' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// Allow `nu` to be parsed as `null`
/host/spi-builder-workspace/PartialJSON/Allow.swift:52:23: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | /// // result: ["complete string"]
31 | /// ```
32 | public struct PartialJSONOptions: OptionSet {
| `- note: consider making struct 'PartialJSONOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt
34 |
:
50 |
51 | /// Allow `nu` to be parsed as `null`
52 | public static let null = PartialJSONOptions(rawValue: 1 << 4)
| |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'null' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | /// Allow `tr` to be parsed as `true`, and `fa` to be parsed as `false`
/host/spi-builder-workspace/PartialJSON/Allow.swift:55:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | /// // result: ["complete string"]
31 | /// ```
32 | public struct PartialJSONOptions: OptionSet {
| `- note: consider making struct 'PartialJSONOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt
34 |
:
53 |
54 | /// Allow `tr` to be parsed as `true`, and `fa` to be parsed as `false`
55 | public static let boolean = PartialJSONOptions(rawValue: 1 << 5)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'boolean' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 |
57 | /// Allow `Na` to be parsed as `NaN`
/host/spi-builder-workspace/PartialJSON/Allow.swift:58:23: warning: static property 'nan' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | /// // result: ["complete string"]
31 | /// ```
32 | public struct PartialJSONOptions: OptionSet {
| `- note: consider making struct 'PartialJSONOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt
34 |
:
56 |
57 | /// Allow `Na` to be parsed as `NaN`
58 | public static let nan = PartialJSONOptions(rawValue: 1 << 6)
| |- warning: static property 'nan' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nan' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |
60 | /// Allow `Inf` to be parsed as `Infinity`
/host/spi-builder-workspace/PartialJSON/Allow.swift:61:23: warning: static property 'infinity' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | /// // result: ["complete string"]
31 | /// ```
32 | public struct PartialJSONOptions: OptionSet {
| `- note: consider making struct 'PartialJSONOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt
34 |
:
59 |
60 | /// Allow `Inf` to be parsed as `Infinity`
61 | public static let infinity = PartialJSONOptions(rawValue: 1 << 7)
| |- warning: static property 'infinity' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'infinity' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 |
63 | /// Allow `-Inf` to be parsed as `-Infinity`
/host/spi-builder-workspace/PartialJSON/Allow.swift:64:23: warning: static property 'negativeInfinity' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | /// // result: ["complete string"]
31 | /// ```
32 | public struct PartialJSONOptions: OptionSet {
| `- note: consider making struct 'PartialJSONOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt
34 |
:
62 |
63 | /// Allow `-Inf` to be parsed as `-Infinity`
64 | public static let negativeInfinity = PartialJSONOptions(rawValue: 1 << 8)
| |- warning: static property 'negativeInfinity' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'negativeInfinity' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | // MARK: - Convenience Combinations
/host/spi-builder-workspace/PartialJSON/Allow.swift:69:23: warning: static property 'allInfinity' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | /// // result: ["complete string"]
31 | /// ```
32 | public struct PartialJSONOptions: OptionSet {
| `- note: consider making struct 'PartialJSONOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt
34 |
:
67 |
68 | /// All infinity-related options (both positive and negative)
69 | public static let allInfinity: PartialJSONOptions = [.infinity, .negativeInfinity]
| |- warning: static property 'allInfinity' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'allInfinity' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | /// All special value options (null, boolean, infinity, nan)
/host/spi-builder-workspace/PartialJSON/Allow.swift:72:23: warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | /// // result: ["complete string"]
31 | /// ```
32 | public struct PartialJSONOptions: OptionSet {
| `- note: consider making struct 'PartialJSONOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt
34 |
:
70 |
71 | /// All special value options (null, boolean, infinity, nan)
72 | public static let special: PartialJSONOptions = [.null, .boolean, .allInfinity, .nan]
| |- warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'special' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |
74 | /// All atomic value options (string, number, special)
/host/spi-builder-workspace/PartialJSON/Allow.swift:75:23: warning: static property 'atomic' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | /// // result: ["complete string"]
31 | /// ```
32 | public struct PartialJSONOptions: OptionSet {
| `- note: consider making struct 'PartialJSONOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt
34 |
:
73 |
74 | /// All atomic value options (string, number, special)
75 | public static let atomic: PartialJSONOptions = [.string, .number, .special]
| |- warning: static property 'atomic' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'atomic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// All collection options (array, object)
/host/spi-builder-workspace/PartialJSON/Allow.swift:78:23: warning: static property 'collections' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | /// // result: ["complete string"]
31 | /// ```
32 | public struct PartialJSONOptions: OptionSet {
| `- note: consider making struct 'PartialJSONOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt
34 |
:
76 |
77 | /// All collection options (array, object)
78 | public static let collections: PartialJSONOptions = [.array, .object]
| |- warning: static property 'collections' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'collections' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | /// All options enabled
/host/spi-builder-workspace/PartialJSON/Allow.swift:81:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | /// // result: ["complete string"]
31 | /// ```
32 | public struct PartialJSONOptions: OptionSet {
| `- note: consider making struct 'PartialJSONOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt
34 |
:
79 |
80 | /// All options enabled
81 | public static let all: PartialJSONOptions = [.atomic, .collections]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 |
83 | /// All options except numbers (default)
/host/spi-builder-workspace/PartialJSON/Allow.swift:84:23: warning: static property 'allExceptNumbers' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | /// // result: ["complete string"]
31 | /// ```
32 | public struct PartialJSONOptions: OptionSet {
| `- note: consider making struct 'PartialJSONOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt
34 |
:
82 |
83 | /// All options except numbers (default)
84 | public static let allExceptNumbers: PartialJSONOptions = [.string, .special, .collections]
| |- warning: static property 'allExceptNumbers' is not concurrency-safe because non-'Sendable' type 'PartialJSONOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'allExceptNumbers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | }
86 |
[7/7] Compiling PartialJSON PartialJSON.swift
Build complete! (25.79s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "PartialJSON",
"name" : "PartialJSON",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "PartialJSON",
"targets" : [
"PartialJSON"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "PartialJSONTests",
"module_type" : "SwiftTarget",
"name" : "PartialJSONTests",
"path" : "PartialJSONTests",
"sources" : [
"Partial_JSONTests.swift"
],
"target_dependencies" : [
"PartialJSON"
],
"type" : "test"
},
{
"c99name" : "PartialJSON",
"module_type" : "SwiftTarget",
"name" : "PartialJSON",
"path" : "PartialJSON",
"product_memberships" : [
"PartialJSON"
],
"sources" : [
"Allow.swift",
"PartialJSON.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8e1c3aab9de7fa4f6e33977b6a4cee007e876da3e605dda0be6b9b9bf86aa951
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.