Build Information
Successful build of VJson, reference 1.3.6 (edfc3f
), with Swift 6.1 for macOS (SPM) on 25 Apr 2025 18:46:36 UTC.
Swift 6 data race errors: 5
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Balancingrock/vjson.git
Reference: 1.3.6
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Balancingrock/vjson
* tag 1.3.6 -> FETCH_HEAD
HEAD is now at edfc3f1 Added availability testing for iOS for undo/redo
Cloned https://github.com/Balancingrock/vjson.git
Revision (git rev-parse @):
edfc3f19f4e8b37a6036d86e7eb42ea76a038ee7
SUCCESS checkout https://github.com/Balancingrock/vjson.git at 1.3.6
Fetching https://github.com/Balancingrock/BRUtils
Fetching https://github.com/Balancingrock/Ascii
[1/99] Fetching ascii
[100/435] Fetching ascii, brutils
Fetched https://github.com/Balancingrock/Ascii from cache (0.84s)
Fetched https://github.com/Balancingrock/BRUtils from cache (0.84s)
Computing version for https://github.com/Balancingrock/Ascii
Computed https://github.com/Balancingrock/Ascii at 1.5.2 (1.44s)
Computing version for https://github.com/Balancingrock/BRUtils
Computed https://github.com/Balancingrock/BRUtils at 1.1.5 (0.56s)
Creating working copy for https://github.com/Balancingrock/Ascii
Working copy of https://github.com/Balancingrock/Ascii resolved at 1.5.2
Creating working copy for https://github.com/Balancingrock/BRUtils
Working copy of https://github.com/Balancingrock/BRUtils resolved at 1.1.5
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "vjson",
"name": "VJson",
"url": "https://github.com/Balancingrock/vjson.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/vjson",
"dependencies": [
{
"identity": "ascii",
"name": "Ascii",
"url": "https://github.com/Balancingrock/Ascii",
"version": "1.5.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Ascii",
"dependencies": [
]
},
{
"identity": "brutils",
"name": "BRUtils",
"url": "https://github.com/Balancingrock/BRUtils",
"version": "1.1.5",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BRUtils",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/Balancingrock/vjson.git
[1/1243] Fetching vjson
Fetched https://github.com/Balancingrock/vjson.git from cache (0.86s)
Fetching https://github.com/Balancingrock/BRUtils from cache
Fetching https://github.com/Balancingrock/Ascii from cache
Fetched https://github.com/Balancingrock/Ascii from cache (0.45s)
Fetched https://github.com/Balancingrock/BRUtils from cache (0.45s)
Computing version for https://github.com/Balancingrock/Ascii
Computed https://github.com/Balancingrock/Ascii at 1.5.2 (0.50s)
Computing version for https://github.com/Balancingrock/BRUtils
Computed https://github.com/Balancingrock/BRUtils at 1.1.5 (0.03s)
Creating working copy for https://github.com/Balancingrock/BRUtils
Working copy of https://github.com/Balancingrock/BRUtils resolved at 1.1.5
Creating working copy for https://github.com/Balancingrock/vjson.git
Working copy of https://github.com/Balancingrock/vjson.git resolved at 1.3.6 (edfc3f1)
Creating working copy for https://github.com/Balancingrock/Ascii
Working copy of https://github.com/Balancingrock/Ascii resolved at 1.5.2
warning: '.resolve-product-dependencies': dependency 'vjson' is not used by any target
Found 2 product dependencies
- Ascii
- BRUtils
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Balancingrock/vjson.git
https://github.com/Balancingrock/vjson.git
{
"dependencies" : [
{
"identity" : "ascii",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Balancingrock/Ascii"
},
{
"identity" : "brutils",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Balancingrock/BRUtils"
}
],
"manifest_display_name" : "VJson",
"name" : "VJson",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "8.0"
}
],
"products" : [
{
"name" : "VJson",
"targets" : [
"VJson"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"4",
"4.2",
"5"
],
"targets" : [
{
"c99name" : "VJsonTests",
"module_type" : "SwiftTarget",
"name" : "VJsonTests",
"path" : "Tests/VJsonTests",
"sources" : [
"ArrayObjectTests.swift",
"ArrayTests.swift",
"AssignmentOperatorTests.swift",
"AuxillaryFunctionsTests.swift",
"BoolTests.swift",
"Bugfixes.swift",
"CodeTests.swift",
"DuplicateTests.swift",
"EquatableTests.swift",
"ExampleTests.swift",
"HierarchyTests.swift",
"KeyValueCodingTests.swift",
"MergeTests.swift",
"NameTests.swift",
"NullTests.swift",
"NumberTests.swift",
"ObjectTests.swift",
"ParsersTests.swift",
"PipeOperatorTests.swift",
"SequenceTests.swift",
"StringTests.swift",
"SubscriptTests.swift",
"UndoRedoTests.swift",
"UnicodeSupportTests.swift",
"VJsonMacosTests.swift"
],
"target_dependencies" : [
"VJson"
],
"type" : "test"
},
{
"c99name" : "VJson",
"module_type" : "SwiftTarget",
"name" : "VJson",
"path" : "Sources/VJson",
"product_dependencies" : [
"Ascii",
"BRUtils"
],
"product_memberships" : [
"VJson"
],
"sources" : [
"Array.swift",
"ArrayObject.swift",
"AssignmentOperator.swift",
"AuxillaryFunctions.swift",
"Bool.swift",
"Children.swift",
"Code.swift",
"Duplicate.swift",
"Equatable.swift",
"Hierarchy.swift",
"KeyValueCoding.swift",
"Merge.swift",
"Name.swift",
"Null.swift",
"Number.swift",
"Object.swift",
"Parsers.swift",
"Persisting.swift",
"PipeOperator.swift",
"Protocols.swift",
"Sequence.swift",
"String.swift",
"Subscript.swift",
"Type.swift",
"UnicodeSupport.swift",
"VJson.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/16] Emitting module Ascii
[6/16] Compiling Ascii Ascii.swift
[7/16] Emitting module BRUtils
[8/16] Compiling BRUtils Data.Extensions.swift
[9/16] Compiling BRUtils TimeRelated.swift
[10/16] Compiling BRUtils Endianness.swift
[11/16] Compiling BRUtils Int.Extensions.swift
[12/16] Compiling BRUtils Date.Extensions.swift
[13/16] Compiling BRUtils GlobalFunctions.swift
[14/16] Compiling BRUtils Array.Extensions.swift
[15/16] Compiling BRUtils NSNumber.Extensions.swift
[16/16] Compiling BRUtils Bool.Extensions.swift
[17/41] Emitting module VJson
/Users/admin/builder/spi-builder-workspace/Sources/VJson/Parsers.swift:185:16: warning: static property 'autoConvertExtendedAscii' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
183 | /// When true, JSON Strings and names will automatically be converted to escaped sequences when encountered during parsing. When set to false an extended ascii character in the source data will raise an error.
184 |
185 | static var autoConvertExtendedAscii: Bool = true
| |- warning: static property 'autoConvertExtendedAscii' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'autoConvertExtendedAscii' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'autoConvertExtendedAscii' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 |
/Users/admin/builder/spi-builder-workspace/Sources/VJson/Parsers.swift:681:24: warning: static property 'formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
679 | // The number formatter for the number value
680 |
681 | private static var formatter: NumberFormatter?
| |- warning: static property 'formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
682 |
683 |
/Users/admin/builder/spi-builder-workspace/Sources/VJson/Type.swift:48:16: warning: static property 'fatalErrorOnTypeConversion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | /// Conversion to and from NULL are always possible, if it is necessary to force a type change irrespective of the value of this flag make two changes, first to NULL then to the desired type.
47 |
48 | static var fatalErrorOnTypeConversion = true
| |- warning: static property 'fatalErrorOnTypeConversion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fatalErrorOnTypeConversion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fatalErrorOnTypeConversion' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 |
/Users/admin/builder/spi-builder-workspace/Sources/VJson/UnicodeSupport.swift:72:12: warning: let 'defaultJsonStringSequenceLUT' is not concurrency-safe because non-'Sendable' type 'JsonStringSequenceLUT' may have shared mutable state; this is an error in the Swift 6 language mode
44 | /// Maps JSON escape sequences to string fragments
45 |
46 | public struct JsonStringSequenceLUT {
| `- note: consider making struct 'JsonStringSequenceLUT' conform to the 'Sendable' protocol
47 |
48 | /// Replace the "\b" with this character
:
70 | }
71 |
72 | public let defaultJsonStringSequenceLUT = JsonStringSequenceLUT()
| |- warning: let 'defaultJsonStringSequenceLUT' is not concurrency-safe because non-'Sendable' type 'JsonStringSequenceLUT' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultJsonStringSequenceLUT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | public let printableJsonStringSequenceLUT = JsonStringSequenceLUT(b: "␈", f: "␌", n:"␊", r: "␍", t: "␉")
74 |
/Users/admin/builder/spi-builder-workspace/Sources/VJson/UnicodeSupport.swift:73:12: warning: let 'printableJsonStringSequenceLUT' is not concurrency-safe because non-'Sendable' type 'JsonStringSequenceLUT' may have shared mutable state; this is an error in the Swift 6 language mode
44 | /// Maps JSON escape sequences to string fragments
45 |
46 | public struct JsonStringSequenceLUT {
| `- note: consider making struct 'JsonStringSequenceLUT' conform to the 'Sendable' protocol
47 |
48 | /// Replace the "\b" with this character
:
71 |
72 | public let defaultJsonStringSequenceLUT = JsonStringSequenceLUT()
73 | public let printableJsonStringSequenceLUT = JsonStringSequenceLUT(b: "␈", f: "␌", n:"␊", r: "␍", t: "␉")
| |- warning: let 'printableJsonStringSequenceLUT' is not concurrency-safe because non-'Sendable' type 'JsonStringSequenceLUT' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'printableJsonStringSequenceLUT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 |
75 | public extension String {
/Users/admin/builder/spi-builder-workspace/Sources/VJson/VJson.swift:137:33: warning: capture of 'oldValue' with non-sendable type 'VJson.JType' in a '@Sendable' closure
135 | undoManager?.registerUndo(withTarget: self) {
136 | [oldValue] (json) -> Void in
137 | json.type = oldValue
| `- warning: capture of 'oldValue' with non-sendable type 'VJson.JType' in a '@Sendable' closure
138 | }
139 | }
/Users/admin/builder/spi-builder-workspace/Sources/VJson/Type.swift:53:10: note: consider making enum 'JType' conform to the 'Sendable' protocol
51 | /// The JSON types.
52 |
53 | enum JType: CustomStringConvertible {
| `- note: consider making enum 'JType' conform to the 'Sendable' protocol
54 |
55 |
/Users/admin/builder/spi-builder-workspace/Sources/VJson/VJson.swift:230:37: warning: capture of 'oldValue' with non-sendable type 'VJson.Children?' in a '@Sendable' closure
228 | undoManager?.registerUndo(withTarget: self) {
229 | [oldValue] (json) -> Void in
230 | json.children = oldValue
| `- warning: capture of 'oldValue' with non-sendable type 'VJson.Children?' in a '@Sendable' closure
231 | }
232 | }
/Users/admin/builder/spi-builder-workspace/Sources/VJson/Children.swift:46:11: note: class 'Children' does not conform to the 'Sendable' protocol
44 | /// A wrapper for the child items, used only for ARRAYs and OBJECTs
45 |
46 | class Children {
| `- note: class 'Children' does not conform to the 'Sendable' protocol
47 |
48 |
[18/43] Compiling VJson Array.swift
[19/43] Compiling VJson ArrayObject.swift
[20/43] Compiling VJson AssignmentOperator.swift
[21/43] Compiling VJson Name.swift
[22/43] Compiling VJson Null.swift
[23/43] Compiling VJson Number.swift
[24/43] Compiling VJson AuxillaryFunctions.swift
/Users/admin/builder/spi-builder-workspace/Sources/VJson/Children.swift:118:49: warning: capture of 'childToBeRemoved' with non-sendable type 'VJson' in a '@Sendable' closure
116 | parent.undoManager?.registerUndo(withTarget: self) {
117 | [childToBeRemoved, index] (children) -> Void in
118 | children.items[index] = childToBeRemoved // This will also set the parent
| `- warning: capture of 'childToBeRemoved' with non-sendable type 'VJson' in a '@Sendable' closure
119 | }
120 | }
/Users/admin/builder/spi-builder-workspace/Sources/VJson/VJson.swift:53:20: note: class 'VJson' does not conform to the 'Sendable' protocol
51 |
52 |
53 | public final class VJson: NSObject {
| `- note: class 'VJson' does not conform to the 'Sendable' protocol
54 |
55 |
/Users/admin/builder/spi-builder-workspace/Sources/VJson/Children.swift:249:55: warning: capture of 'removed' with non-sendable type 'VJson' in a '@Sendable' closure
247 | parent.undoManager?.registerUndo(withTarget: self) {
248 | [removed, index] (children) -> Void in
249 | children.replace(at: index, with: removed)
| `- warning: capture of 'removed' with non-sendable type 'VJson' in a '@Sendable' closure
250 | }
251 | }
/Users/admin/builder/spi-builder-workspace/Sources/VJson/VJson.swift:53:20: note: class 'VJson' does not conform to the 'Sendable' protocol
51 |
52 |
53 | public final class VJson: NSObject {
| `- note: class 'VJson' does not conform to the 'Sendable' protocol
54 |
55 |
/Users/admin/builder/spi-builder-workspace/Sources/VJson/Children.swift:278:41: warning: capture of 'removed' with non-sendable type 'VJson' in a '@Sendable' closure
276 | [removed, index] (children) -> Void in
277 | if index < children.count {
278 | children.insert(removed, at: index)
| `- warning: capture of 'removed' with non-sendable type 'VJson' in a '@Sendable' closure
279 | } else {
280 | children.append(removed)
/Users/admin/builder/spi-builder-workspace/Sources/VJson/VJson.swift:53:20: note: class 'VJson' does not conform to the 'Sendable' protocol
51 |
52 |
53 | public final class VJson: NSObject {
| `- note: class 'VJson' does not conform to the 'Sendable' protocol
54 |
55 |
[25/43] Compiling VJson Bool.swift
/Users/admin/builder/spi-builder-workspace/Sources/VJson/Children.swift:118:49: warning: capture of 'childToBeRemoved' with non-sendable type 'VJson' in a '@Sendable' closure
116 | parent.undoManager?.registerUndo(withTarget: self) {
117 | [childToBeRemoved, index] (children) -> Void in
118 | children.items[index] = childToBeRemoved // This will also set the parent
| `- warning: capture of 'childToBeRemoved' with non-sendable type 'VJson' in a '@Sendable' closure
119 | }
120 | }
/Users/admin/builder/spi-builder-workspace/Sources/VJson/VJson.swift:53:20: note: class 'VJson' does not conform to the 'Sendable' protocol
51 |
52 |
53 | public final class VJson: NSObject {
| `- note: class 'VJson' does not conform to the 'Sendable' protocol
54 |
55 |
/Users/admin/builder/spi-builder-workspace/Sources/VJson/Children.swift:249:55: warning: capture of 'removed' with non-sendable type 'VJson' in a '@Sendable' closure
247 | parent.undoManager?.registerUndo(withTarget: self) {
248 | [removed, index] (children) -> Void in
249 | children.replace(at: index, with: removed)
| `- warning: capture of 'removed' with non-sendable type 'VJson' in a '@Sendable' closure
250 | }
251 | }
/Users/admin/builder/spi-builder-workspace/Sources/VJson/VJson.swift:53:20: note: class 'VJson' does not conform to the 'Sendable' protocol
51 |
52 |
53 | public final class VJson: NSObject {
| `- note: class 'VJson' does not conform to the 'Sendable' protocol
54 |
55 |
/Users/admin/builder/spi-builder-workspace/Sources/VJson/Children.swift:278:41: warning: capture of 'removed' with non-sendable type 'VJson' in a '@Sendable' closure
276 | [removed, index] (children) -> Void in
277 | if index < children.count {
278 | children.insert(removed, at: index)
| `- warning: capture of 'removed' with non-sendable type 'VJson' in a '@Sendable' closure
279 | } else {
280 | children.append(removed)
/Users/admin/builder/spi-builder-workspace/Sources/VJson/VJson.swift:53:20: note: class 'VJson' does not conform to the 'Sendable' protocol
51 |
52 |
53 | public final class VJson: NSObject {
| `- note: class 'VJson' does not conform to the 'Sendable' protocol
54 |
55 |
[26/43] Compiling VJson Children.swift
/Users/admin/builder/spi-builder-workspace/Sources/VJson/Children.swift:118:49: warning: capture of 'childToBeRemoved' with non-sendable type 'VJson' in a '@Sendable' closure
116 | parent.undoManager?.registerUndo(withTarget: self) {
117 | [childToBeRemoved, index] (children) -> Void in
118 | children.items[index] = childToBeRemoved // This will also set the parent
| `- warning: capture of 'childToBeRemoved' with non-sendable type 'VJson' in a '@Sendable' closure
119 | }
120 | }
/Users/admin/builder/spi-builder-workspace/Sources/VJson/VJson.swift:53:20: note: class 'VJson' does not conform to the 'Sendable' protocol
51 |
52 |
53 | public final class VJson: NSObject {
| `- note: class 'VJson' does not conform to the 'Sendable' protocol
54 |
55 |
/Users/admin/builder/spi-builder-workspace/Sources/VJson/Children.swift:249:55: warning: capture of 'removed' with non-sendable type 'VJson' in a '@Sendable' closure
247 | parent.undoManager?.registerUndo(withTarget: self) {
248 | [removed, index] (children) -> Void in
249 | children.replace(at: index, with: removed)
| `- warning: capture of 'removed' with non-sendable type 'VJson' in a '@Sendable' closure
250 | }
251 | }
/Users/admin/builder/spi-builder-workspace/Sources/VJson/VJson.swift:53:20: note: class 'VJson' does not conform to the 'Sendable' protocol
51 |
52 |
53 | public final class VJson: NSObject {
| `- note: class 'VJson' does not conform to the 'Sendable' protocol
54 |
55 |
/Users/admin/builder/spi-builder-workspace/Sources/VJson/Children.swift:278:41: warning: capture of 'removed' with non-sendable type 'VJson' in a '@Sendable' closure
276 | [removed, index] (children) -> Void in
277 | if index < children.count {
278 | children.insert(removed, at: index)
| `- warning: capture of 'removed' with non-sendable type 'VJson' in a '@Sendable' closure
279 | } else {
280 | children.append(removed)
/Users/admin/builder/spi-builder-workspace/Sources/VJson/VJson.swift:53:20: note: class 'VJson' does not conform to the 'Sendable' protocol
51 |
52 |
53 | public final class VJson: NSObject {
| `- note: class 'VJson' does not conform to the 'Sendable' protocol
54 |
55 |
[27/43] Compiling VJson Hierarchy.swift
[28/43] Compiling VJson KeyValueCoding.swift
[29/43] Compiling VJson Merge.swift
[30/43] Compiling VJson PipeOperator.swift
[31/43] Compiling VJson Protocols.swift
[32/43] Compiling VJson UnicodeSupport.swift
/Users/admin/builder/spi-builder-workspace/Sources/VJson/UnicodeSupport.swift:72:12: warning: let 'defaultJsonStringSequenceLUT' is not concurrency-safe because non-'Sendable' type 'JsonStringSequenceLUT' may have shared mutable state; this is an error in the Swift 6 language mode
44 | /// Maps JSON escape sequences to string fragments
45 |
46 | public struct JsonStringSequenceLUT {
| `- note: consider making struct 'JsonStringSequenceLUT' conform to the 'Sendable' protocol
47 |
48 | /// Replace the "\b" with this character
:
70 | }
71 |
72 | public let defaultJsonStringSequenceLUT = JsonStringSequenceLUT()
| |- warning: let 'defaultJsonStringSequenceLUT' is not concurrency-safe because non-'Sendable' type 'JsonStringSequenceLUT' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultJsonStringSequenceLUT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | public let printableJsonStringSequenceLUT = JsonStringSequenceLUT(b: "␈", f: "␌", n:"␊", r: "␍", t: "␉")
74 |
/Users/admin/builder/spi-builder-workspace/Sources/VJson/UnicodeSupport.swift:73:12: warning: let 'printableJsonStringSequenceLUT' is not concurrency-safe because non-'Sendable' type 'JsonStringSequenceLUT' may have shared mutable state; this is an error in the Swift 6 language mode
44 | /// Maps JSON escape sequences to string fragments
45 |
46 | public struct JsonStringSequenceLUT {
| `- note: consider making struct 'JsonStringSequenceLUT' conform to the 'Sendable' protocol
47 |
48 | /// Replace the "\b" with this character
:
71 |
72 | public let defaultJsonStringSequenceLUT = JsonStringSequenceLUT()
73 | public let printableJsonStringSequenceLUT = JsonStringSequenceLUT(b: "␈", f: "␌", n:"␊", r: "␍", t: "␉")
| |- warning: let 'printableJsonStringSequenceLUT' is not concurrency-safe because non-'Sendable' type 'JsonStringSequenceLUT' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'printableJsonStringSequenceLUT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 |
75 | public extension String {
/Users/admin/builder/spi-builder-workspace/Sources/VJson/VJson.swift:137:33: warning: capture of 'oldValue' with non-sendable type 'VJson.JType' in a '@Sendable' closure
135 | undoManager?.registerUndo(withTarget: self) {
136 | [oldValue] (json) -> Void in
137 | json.type = oldValue
| `- warning: capture of 'oldValue' with non-sendable type 'VJson.JType' in a '@Sendable' closure
138 | }
139 | }
/Users/admin/builder/spi-builder-workspace/Sources/VJson/Type.swift:53:10: note: consider making enum 'JType' conform to the 'Sendable' protocol
51 | /// The JSON types.
52 |
53 | enum JType: CustomStringConvertible {
| `- note: consider making enum 'JType' conform to the 'Sendable' protocol
54 |
55 |
/Users/admin/builder/spi-builder-workspace/Sources/VJson/VJson.swift:230:37: warning: capture of 'oldValue' with non-sendable type 'VJson.Children?' in a '@Sendable' closure
228 | undoManager?.registerUndo(withTarget: self) {
229 | [oldValue] (json) -> Void in
230 | json.children = oldValue
| `- warning: capture of 'oldValue' with non-sendable type 'VJson.Children?' in a '@Sendable' closure
231 | }
232 | }
/Users/admin/builder/spi-builder-workspace/Sources/VJson/Children.swift:46:11: note: class 'Children' does not conform to the 'Sendable' protocol
44 | /// A wrapper for the child items, used only for ARRAYs and OBJECTs
45 |
46 | class Children {
| `- note: class 'Children' does not conform to the 'Sendable' protocol
47 |
48 |
[33/43] Compiling VJson VJson.swift
/Users/admin/builder/spi-builder-workspace/Sources/VJson/UnicodeSupport.swift:72:12: warning: let 'defaultJsonStringSequenceLUT' is not concurrency-safe because non-'Sendable' type 'JsonStringSequenceLUT' may have shared mutable state; this is an error in the Swift 6 language mode
44 | /// Maps JSON escape sequences to string fragments
45 |
46 | public struct JsonStringSequenceLUT {
| `- note: consider making struct 'JsonStringSequenceLUT' conform to the 'Sendable' protocol
47 |
48 | /// Replace the "\b" with this character
:
70 | }
71 |
72 | public let defaultJsonStringSequenceLUT = JsonStringSequenceLUT()
| |- warning: let 'defaultJsonStringSequenceLUT' is not concurrency-safe because non-'Sendable' type 'JsonStringSequenceLUT' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultJsonStringSequenceLUT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | public let printableJsonStringSequenceLUT = JsonStringSequenceLUT(b: "␈", f: "␌", n:"␊", r: "␍", t: "␉")
74 |
/Users/admin/builder/spi-builder-workspace/Sources/VJson/UnicodeSupport.swift:73:12: warning: let 'printableJsonStringSequenceLUT' is not concurrency-safe because non-'Sendable' type 'JsonStringSequenceLUT' may have shared mutable state; this is an error in the Swift 6 language mode
44 | /// Maps JSON escape sequences to string fragments
45 |
46 | public struct JsonStringSequenceLUT {
| `- note: consider making struct 'JsonStringSequenceLUT' conform to the 'Sendable' protocol
47 |
48 | /// Replace the "\b" with this character
:
71 |
72 | public let defaultJsonStringSequenceLUT = JsonStringSequenceLUT()
73 | public let printableJsonStringSequenceLUT = JsonStringSequenceLUT(b: "␈", f: "␌", n:"␊", r: "␍", t: "␉")
| |- warning: let 'printableJsonStringSequenceLUT' is not concurrency-safe because non-'Sendable' type 'JsonStringSequenceLUT' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'printableJsonStringSequenceLUT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 |
75 | public extension String {
/Users/admin/builder/spi-builder-workspace/Sources/VJson/VJson.swift:137:33: warning: capture of 'oldValue' with non-sendable type 'VJson.JType' in a '@Sendable' closure
135 | undoManager?.registerUndo(withTarget: self) {
136 | [oldValue] (json) -> Void in
137 | json.type = oldValue
| `- warning: capture of 'oldValue' with non-sendable type 'VJson.JType' in a '@Sendable' closure
138 | }
139 | }
/Users/admin/builder/spi-builder-workspace/Sources/VJson/Type.swift:53:10: note: consider making enum 'JType' conform to the 'Sendable' protocol
51 | /// The JSON types.
52 |
53 | enum JType: CustomStringConvertible {
| `- note: consider making enum 'JType' conform to the 'Sendable' protocol
54 |
55 |
/Users/admin/builder/spi-builder-workspace/Sources/VJson/VJson.swift:230:37: warning: capture of 'oldValue' with non-sendable type 'VJson.Children?' in a '@Sendable' closure
228 | undoManager?.registerUndo(withTarget: self) {
229 | [oldValue] (json) -> Void in
230 | json.children = oldValue
| `- warning: capture of 'oldValue' with non-sendable type 'VJson.Children?' in a '@Sendable' closure
231 | }
232 | }
/Users/admin/builder/spi-builder-workspace/Sources/VJson/Children.swift:46:11: note: class 'Children' does not conform to the 'Sendable' protocol
44 | /// A wrapper for the child items, used only for ARRAYs and OBJECTs
45 |
46 | class Children {
| `- note: class 'Children' does not conform to the 'Sendable' protocol
47 |
48 |
[34/43] Compiling VJson Subscript.swift
/Users/admin/builder/spi-builder-workspace/Sources/VJson/Subscript.swift:64:21: warning: using '_' to ignore the result of a Void-returning function is redundant
62 | let item = VJson.null()
63 | item.createdBySubscript = true
64 | _ = children.append(item)
| `- warning: using '_' to ignore the result of a Void-returning function is redundant
65 | }
66 |
/Users/admin/builder/spi-builder-workspace/Sources/VJson/Subscript.swift:85:21: warning: using '_' to ignore the result of a Void-returning function is redundant
83 | let item = VJson.null()
84 | item.createdBySubscript = true
85 | _ = children.append(item)
| `- warning: using '_' to ignore the result of a Void-returning function is redundant
86 | }
87 | }
/Users/admin/builder/spi-builder-workspace/Sources/VJson/Type.swift:48:16: warning: static property 'fatalErrorOnTypeConversion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | /// Conversion to and from NULL are always possible, if it is necessary to force a type change irrespective of the value of this flag make two changes, first to NULL then to the desired type.
47 |
48 | static var fatalErrorOnTypeConversion = true
| |- warning: static property 'fatalErrorOnTypeConversion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fatalErrorOnTypeConversion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fatalErrorOnTypeConversion' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 |
[35/43] Compiling VJson Type.swift
/Users/admin/builder/spi-builder-workspace/Sources/VJson/Subscript.swift:64:21: warning: using '_' to ignore the result of a Void-returning function is redundant
62 | let item = VJson.null()
63 | item.createdBySubscript = true
64 | _ = children.append(item)
| `- warning: using '_' to ignore the result of a Void-returning function is redundant
65 | }
66 |
/Users/admin/builder/spi-builder-workspace/Sources/VJson/Subscript.swift:85:21: warning: using '_' to ignore the result of a Void-returning function is redundant
83 | let item = VJson.null()
84 | item.createdBySubscript = true
85 | _ = children.append(item)
| `- warning: using '_' to ignore the result of a Void-returning function is redundant
86 | }
87 | }
/Users/admin/builder/spi-builder-workspace/Sources/VJson/Type.swift:48:16: warning: static property 'fatalErrorOnTypeConversion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | /// Conversion to and from NULL are always possible, if it is necessary to force a type change irrespective of the value of this flag make two changes, first to NULL then to the desired type.
47 |
48 | static var fatalErrorOnTypeConversion = true
| |- warning: static property 'fatalErrorOnTypeConversion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fatalErrorOnTypeConversion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fatalErrorOnTypeConversion' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 |
[36/43] Compiling VJson Code.swift
/Users/admin/builder/spi-builder-workspace/Sources/VJson/Duplicate.swift:59:17: warning: using '_' to ignore the result of a Void-returning function is redundant
57 | other.children!.cacheEnabled = self.children!.cacheEnabled
58 | for c in self.children!.items {
59 | _ = other.children!.append(c.duplicate)
| `- warning: using '_' to ignore the result of a Void-returning function is redundant
60 | }
61 | }
[37/43] Compiling VJson Duplicate.swift
/Users/admin/builder/spi-builder-workspace/Sources/VJson/Duplicate.swift:59:17: warning: using '_' to ignore the result of a Void-returning function is redundant
57 | other.children!.cacheEnabled = self.children!.cacheEnabled
58 | for c in self.children!.items {
59 | _ = other.children!.append(c.duplicate)
| `- warning: using '_' to ignore the result of a Void-returning function is redundant
60 | }
61 | }
[38/43] Compiling VJson Equatable.swift
/Users/admin/builder/spi-builder-workspace/Sources/VJson/Duplicate.swift:59:17: warning: using '_' to ignore the result of a Void-returning function is redundant
57 | other.children!.cacheEnabled = self.children!.cacheEnabled
58 | for c in self.children!.items {
59 | _ = other.children!.append(c.duplicate)
| `- warning: using '_' to ignore the result of a Void-returning function is redundant
60 | }
61 | }
[39/43] Compiling VJson Object.swift
/Users/admin/builder/spi-builder-workspace/Sources/VJson/Parsers.swift:185:16: warning: static property 'autoConvertExtendedAscii' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
183 | /// When true, JSON Strings and names will automatically be converted to escaped sequences when encountered during parsing. When set to false an extended ascii character in the source data will raise an error.
184 |
185 | static var autoConvertExtendedAscii: Bool = true
| |- warning: static property 'autoConvertExtendedAscii' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'autoConvertExtendedAscii' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'autoConvertExtendedAscii' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 |
/Users/admin/builder/spi-builder-workspace/Sources/VJson/Parsers.swift:681:24: warning: static property 'formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
679 | // The number formatter for the number value
680 |
681 | private static var formatter: NumberFormatter?
| |- warning: static property 'formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
682 |
683 |
[40/43] Compiling VJson Parsers.swift
/Users/admin/builder/spi-builder-workspace/Sources/VJson/Parsers.swift:185:16: warning: static property 'autoConvertExtendedAscii' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
183 | /// When true, JSON Strings and names will automatically be converted to escaped sequences when encountered during parsing. When set to false an extended ascii character in the source data will raise an error.
184 |
185 | static var autoConvertExtendedAscii: Bool = true
| |- warning: static property 'autoConvertExtendedAscii' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'autoConvertExtendedAscii' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'autoConvertExtendedAscii' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 |
/Users/admin/builder/spi-builder-workspace/Sources/VJson/Parsers.swift:681:24: warning: static property 'formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
679 | // The number formatter for the number value
680 |
681 | private static var formatter: NumberFormatter?
| |- warning: static property 'formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
682 |
683 |
[41/43] Compiling VJson Persisting.swift
/Users/admin/builder/spi-builder-workspace/Sources/VJson/Parsers.swift:185:16: warning: static property 'autoConvertExtendedAscii' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
183 | /// When true, JSON Strings and names will automatically be converted to escaped sequences when encountered during parsing. When set to false an extended ascii character in the source data will raise an error.
184 |
185 | static var autoConvertExtendedAscii: Bool = true
| |- warning: static property 'autoConvertExtendedAscii' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'autoConvertExtendedAscii' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'autoConvertExtendedAscii' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 |
/Users/admin/builder/spi-builder-workspace/Sources/VJson/Parsers.swift:681:24: warning: static property 'formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
679 | // The number formatter for the number value
680 |
681 | private static var formatter: NumberFormatter?
| |- warning: static property 'formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
682 |
683 |
[42/43] Compiling VJson Sequence.swift
[43/43] Compiling VJson String.swift
Build complete! (7.03s)
Build complete.
{
"dependencies" : [
{
"identity" : "ascii",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Balancingrock/Ascii"
},
{
"identity" : "brutils",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Balancingrock/BRUtils"
}
],
"manifest_display_name" : "VJson",
"name" : "VJson",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "8.0"
}
],
"products" : [
{
"name" : "VJson",
"targets" : [
"VJson"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"4",
"4.2",
"5"
],
"targets" : [
{
"c99name" : "VJsonTests",
"module_type" : "SwiftTarget",
"name" : "VJsonTests",
"path" : "Tests/VJsonTests",
"sources" : [
"ArrayObjectTests.swift",
"ArrayTests.swift",
"AssignmentOperatorTests.swift",
"AuxillaryFunctionsTests.swift",
"BoolTests.swift",
"Bugfixes.swift",
"CodeTests.swift",
"DuplicateTests.swift",
"EquatableTests.swift",
"ExampleTests.swift",
"HierarchyTests.swift",
"KeyValueCodingTests.swift",
"MergeTests.swift",
"NameTests.swift",
"NullTests.swift",
"NumberTests.swift",
"ObjectTests.swift",
"ParsersTests.swift",
"PipeOperatorTests.swift",
"SequenceTests.swift",
"StringTests.swift",
"SubscriptTests.swift",
"UndoRedoTests.swift",
"UnicodeSupportTests.swift",
"VJsonMacosTests.swift"
],
"target_dependencies" : [
"VJson"
],
"type" : "test"
},
{
"c99name" : "VJson",
"module_type" : "SwiftTarget",
"name" : "VJson",
"path" : "Sources/VJson",
"product_dependencies" : [
"Ascii",
"BRUtils"
],
"product_memberships" : [
"VJson"
],
"sources" : [
"Array.swift",
"ArrayObject.swift",
"AssignmentOperator.swift",
"AuxillaryFunctions.swift",
"Bool.swift",
"Children.swift",
"Code.swift",
"Duplicate.swift",
"Equatable.swift",
"Hierarchy.swift",
"KeyValueCoding.swift",
"Merge.swift",
"Name.swift",
"Null.swift",
"Number.swift",
"Object.swift",
"Parsers.swift",
"Persisting.swift",
"PipeOperator.swift",
"Protocols.swift",
"Sequence.swift",
"String.swift",
"Subscript.swift",
"Type.swift",
"UnicodeSupport.swift",
"VJson.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.