Build Information
Successful build of Node, reference 2.1.5 (607aa5
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 05:01:12 UTC.
Swift 6 data race errors: 11
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor-community/node.git
Reference: 2.1.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/vapor-community/node
* tag 2.1.5 -> FETCH_HEAD
HEAD is now at 607aa59 Merge pull request #104 from rpinz/warnings
Cloned https://github.com/vapor-community/node.git
Revision (git rev-parse @):
607aa595081da496f0f04a5c0cffd976e81d2e4e
SUCCESS checkout https://github.com/vapor-community/node.git at 2.1.5
Fetching https://github.com/vapor/debugging.git
Fetching https://github.com/vapor/core.git
Fetching https://github.com/vapor/bits.git
[1/20143] Fetching core
[2/20501] Fetching core, bits
[762/20761] Fetching core, bits, debugging
Fetched https://github.com/vapor/debugging.git from cache (1.52s)
Fetched https://github.com/vapor/core.git from cache (1.52s)
Fetched https://github.com/vapor/bits.git from cache (1.52s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.66s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.68s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.66s)
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.1
Creating working copy for https://github.com/vapor/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.1
========================================
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": "node",
"name": "Node",
"url": "https://github.com/vapor-community/node.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/node",
"dependencies": [
{
"identity": "core",
"name": "Core",
"url": "https://github.com/vapor/core.git",
"version": "2.2.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/core",
"dependencies": [
{
"identity": "bits",
"name": "Bits",
"url": "https://github.com/vapor/bits.git",
"version": "1.1.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/bits",
"dependencies": [
]
},
{
"identity": "debugging",
"name": "Debugging",
"url": "https://github.com/vapor/debugging.git",
"version": "1.1.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/debugging",
"dependencies": [
]
}
]
},
{
"identity": "bits",
"name": "Bits",
"url": "https://github.com/vapor/bits.git",
"version": "1.1.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/bits",
"dependencies": [
]
},
{
"identity": "debugging",
"name": "Debugging",
"url": "https://github.com/vapor/debugging.git",
"version": "1.1.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/debugging",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/vapor-community/node.git
[1/4211] Fetching node
Fetched https://github.com/vapor-community/node.git from cache (1.09s)
Fetching https://github.com/vapor/bits.git from cache
Fetching https://github.com/vapor/debugging.git from cache
Fetching https://github.com/vapor/core.git from cache
Fetched https://github.com/vapor/debugging.git from cache (0.58s)
Fetched https://github.com/vapor/bits.git from cache (0.58s)
Fetched https://github.com/vapor/core.git from cache (0.58s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.04s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.04s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.04s)
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.1
Creating working copy for https://github.com/vapor-community/node.git
Working copy of https://github.com/vapor-community/node.git resolved at 2.1.5 (607aa59)
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.1
Creating working copy for https://github.com/vapor/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.1
warning: '.resolve-product-dependencies': dependency 'node' is not used by any target
Found 3 product dependencies
- Core
- Bits
- Debugging
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/vapor-community/node.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version--7754E27361AE5C74.txt
[8/33] Emitting module libc
[9/33] Compiling PathIndexable PathIndexable.swift
[10/33] Emitting module Debugging
[11/33] Compiling Debugging Debuggable.swift
[12/33] Compiling PathIndexable PathIndexable+Subscripting.swift
[13/33] Emitting module PathIndexable
[14/33] Compiling Bits HexEncoder.swift
[15/33] Compiling Bits Operators.swift
[16/33] Compiling Bits String+BytesConvertible.swift
[17/33] Compiling Bits UnsignedInteger+BytesConvertible.swift
[18/34] Compiling Bits UnsignedInteger+Shifting.swift
[19/34] Compiling Bits Byte+Alphabet.swift
[20/34] Compiling Bits Byte+ControlCharacters.swift
[21/34] Compiling libc libc.swift
[22/34] Compiling Bits BytesConvertible.swift
[23/34] Compiling Bits Data+BytesConvertible.swift
[24/34] Compiling Bits Byte+Random.swift
[25/34] Compiling Bits Byte+UTF8Numbers.swift
[26/34] Compiling Bits Byte+Convenience.swift
[27/34] Compiling Bits Byte+PatternMatching.swift
[28/34] Compiling Bits ByteSequence+Conversions.swift
[29/34] Compiling Bits Bytes+Base64.swift
[30/34] Compiling Bits Aliases.swift
[31/34] Compiling Bits Base64Encoder.swift
[32/34] Emitting module Bits
[33/34] Compiling Bits Bytes+Hex.swift
[34/34] Compiling Bits Bytes+Percent.swift
[35/56] Emitting module Core
[36/58] Compiling Core Array.swift
[37/58] Compiling Core Bits.swift
[38/58] Compiling Core Cache.swift
[39/58] Compiling Core String+CaseInsensitiveCompare.swift
[40/58] Compiling Core String+Polymorphic.swift
[41/58] Compiling Core Int+Hex.swift
[42/58] Compiling Core Lock.swift
[43/58] Compiling Core Sequence.swift
[44/58] Compiling Core StaticDataBuffer.swift
[45/58] Compiling Core String.swift
[46/58] Compiling Core WorkingDirectory.swift
[47/58] Compiling Core Result.swift
[48/58] Compiling Core Semaphore.swift
[49/58] Compiling Core Portal.swift
[50/58] Compiling Core RFC1123.swift
[51/58] Compiling Core Extendable.swift
[52/58] Compiling Core FileProtocol.swift
[53/58] Compiling Core Collection+Safe.swift
[54/58] Compiling Core DataFile.swift
[55/58] Compiling Core Dispatch.swift
[56/58] Compiling Core DispatchTime+Utilities.swift
[57/58] Compiling Core EmptyInitializable.swift
[58/58] Compiling Core Exports.swift
[59/94] Emitting module Node
/Users/admin/builder/spi-builder-workspace/Sources/Node/Convertibles/Date+Convertible.swift:14:23: warning: static property 'incomingTimestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | Override for custom implementations
13 | */
14 | public static var incomingTimestamp: (Node.Number) throws -> Date = {
| |- warning: static property 'incomingTimestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'incomingTimestamp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'incomingTimestamp' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | return Date(timeIntervalSince1970: $0.double)
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/Node/Convertibles/Date+Convertible.swift:26:23: warning: static property 'outgoingTimestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | Override for custom implementations.
25 | */
26 | public static var outgoingTimestamp: (Date) throws -> Node.Number = {
| |- warning: static property 'outgoingTimestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'outgoingTimestamp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'outgoingTimestamp' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | return Node.Number($0.timeIntervalSince1970)
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/Node/Convertibles/Date+Convertible.swift:36:23: warning: static property 'incomingDateFormatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | Override for custom implementations, or to remove supported formats
35 | */
36 | public static var incomingDateFormatters: [DateFormatter] = [
| |- warning: static property 'incomingDateFormatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'incomingDateFormatters' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'incomingDateFormatters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | .iso8601,
38 | .mysql,
/Users/admin/builder/spi-builder-workspace/Sources/Node/Convertibles/Date+Convertible.swift:53:23: warning: static property 'outgoingDateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | the user is responsible for handling their date formatting manually.
52 | */
53 | public static var outgoingDateFormatter: DateFormatter = .iso8601
| |- warning: static property 'outgoingDateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'outgoingDateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'outgoingDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Node/Core/Context.swift:16:12: warning: let 'emptyContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public protocol Context {}
8 |
9 | public final class ObjectContext<K: Hashable, V>: Context {
| `- note: generic class 'ObjectContext' does not conform to the 'Sendable' protocol
10 | public let object: [K: V]
11 | public init(_ object: [K: V]) {
:
14 | }
15 |
16 | public let emptyContext = ObjectContext<String, Int>([:])
| |- warning: let 'emptyContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Node/Core/Node.swift:2:23: warning: static property 'defaultContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Node: StructuredDataWrapper {
2 | public static let defaultContext = emptyContext
| |- warning: static property 'defaultContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 |
4 | public var wrapped: StructuredData
/Users/admin/builder/spi-builder-workspace/Sources/Node/Core/Context.swift:9:20: note: generic class 'ObjectContext' does not conform to the 'Sendable' protocol
7 | public protocol Context {}
8 |
9 | public final class ObjectContext<K: Hashable, V>: Context {
| `- note: generic class 'ObjectContext' does not conform to the 'Sendable' protocol
10 | public let object: [K: V]
11 | public init(_ object: [K: V]) {
/Users/admin/builder/spi-builder-workspace/Sources/Node/Fuzzy/FuzzyConverter.swift:12:13: warning: var '_fuzzyTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | }
11 |
12 | private var _fuzzyTypes: [FuzzyConverter.Type] = [Node.self]
| |- warning: var '_fuzzyTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_fuzzyTypes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_fuzzyTypes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | extension Node {
/Users/admin/builder/spi-builder-workspace/Sources/Node/Number/Number.swift:66:25: warning: static property 'intMax' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 |
65 | extension UInt {
66 | internal static var intMax = UInt(Int.max)
| |- warning: static property 'intMax' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'intMax' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'intMax' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | }
68 |
/Users/admin/builder/spi-builder-workspace/Sources/Node/Utilities/Errors.swift:4:10: warning: associated value 'noFuzzyConverter(item:type:)' of 'Sendable'-conforming enum 'NodeError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
2 |
3 | public enum NodeError: Debuggable {
4 | case noFuzzyConverter(item: Any?, type: Any.Type)
| `- warning: associated value 'noFuzzyConverter(item:type:)' of 'Sendable'-conforming enum 'NodeError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
5 | case invalidDictionaryKeyType
6 | case unableToConvert(input: Node?, expectation: String, path: [PathIndexer])
/Users/admin/builder/spi-builder-workspace/Sources/Node/Utilities/Errors.swift:6:10: warning: associated value 'unableToConvert(input:expectation:path:)' of 'Sendable'-conforming enum 'NodeError' has non-sendable type 'Node'; this is an error in the Swift 6 language mode
4 | case noFuzzyConverter(item: Any?, type: Any.Type)
5 | case invalidDictionaryKeyType
6 | case unableToConvert(input: Node?, expectation: String, path: [PathIndexer])
| `- warning: associated value 'unableToConvert(input:expectation:path:)' of 'Sendable'-conforming enum 'NodeError' has non-sendable type 'Node'; this is an error in the Swift 6 language mode
7 | }
8 |
/Users/admin/builder/spi-builder-workspace/Sources/Node/Core/Node.swift:1:15: note: consider making struct 'Node' conform to the 'Sendable' protocol
1 | public struct Node: StructuredDataWrapper {
| `- note: consider making struct 'Node' conform to the 'Sendable' protocol
2 | public static let defaultContext = emptyContext
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Node/Utilities/Errors.swift:6:10: warning: associated value 'unableToConvert(input:expectation:path:)' of 'Sendable'-conforming enum 'NodeError' has non-sendable type 'any PathIndexer'; this is an error in the Swift 6 language mode
4 | case noFuzzyConverter(item: Any?, type: Any.Type)
5 | case invalidDictionaryKeyType
6 | case unableToConvert(input: Node?, expectation: String, path: [PathIndexer])
| `- warning: associated value 'unableToConvert(input:expectation:path:)' of 'Sendable'-conforming enum 'NodeError' has non-sendable type 'any PathIndexer'; this is an error in the Swift 6 language mode
7 | }
8 |
/Users/admin/builder/spi-builder-workspace/Sources/PathIndexable/PathIndexable.swift:36:17: note: protocol 'PathIndexer' does not conform to the 'Sendable' protocol
34 | should only be added after very careful consideration.
35 | */
36 | public protocol PathIndexer: CustomStringConvertible {
| `- note: protocol 'PathIndexer' does not conform to the 'Sendable' protocol
37 | /**
38 | Access for 'self' within the given node,
[60/97] Compiling Node Node.swift
/Users/admin/builder/spi-builder-workspace/Sources/Node/Core/Node.swift:2:23: warning: static property 'defaultContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Node: StructuredDataWrapper {
2 | public static let defaultContext = emptyContext
| |- warning: static property 'defaultContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 |
4 | public var wrapped: StructuredData
/Users/admin/builder/spi-builder-workspace/Sources/Node/Core/Context.swift:9:20: note: generic class 'ObjectContext' does not conform to the 'Sendable' protocol
7 | public protocol Context {}
8 |
9 | public final class ObjectContext<K: Hashable, V>: Context {
| `- note: generic class 'ObjectContext' does not conform to the 'Sendable' protocol
10 | public let object: [K: V]
11 | public init(_ object: [K: V]) {
/Users/admin/builder/spi-builder-workspace/Sources/Node/Core/Context.swift:16:12: warning: let 'emptyContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public protocol Context {}
8 |
9 | public final class ObjectContext<K: Hashable, V>: Context {
| `- note: generic class 'ObjectContext' does not conform to the 'Sendable' protocol
10 | public let object: [K: V]
11 | public init(_ object: [K: V]) {
:
14 | }
15 |
16 | public let emptyContext = ObjectContext<String, Int>([:])
| |- warning: let 'emptyContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
[61/97] Compiling Node NodeConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/Node/Core/Node.swift:2:23: warning: static property 'defaultContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Node: StructuredDataWrapper {
2 | public static let defaultContext = emptyContext
| |- warning: static property 'defaultContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 |
4 | public var wrapped: StructuredData
/Users/admin/builder/spi-builder-workspace/Sources/Node/Core/Context.swift:9:20: note: generic class 'ObjectContext' does not conform to the 'Sendable' protocol
7 | public protocol Context {}
8 |
9 | public final class ObjectContext<K: Hashable, V>: Context {
| `- note: generic class 'ObjectContext' does not conform to the 'Sendable' protocol
10 | public let object: [K: V]
11 | public init(_ object: [K: V]) {
/Users/admin/builder/spi-builder-workspace/Sources/Node/Core/Context.swift:16:12: warning: let 'emptyContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public protocol Context {}
8 |
9 | public final class ObjectContext<K: Hashable, V>: Context {
| `- note: generic class 'ObjectContext' does not conform to the 'Sendable' protocol
10 | public let object: [K: V]
11 | public init(_ object: [K: V]) {
:
14 | }
15 |
16 | public let emptyContext = ObjectContext<String, Int>([:])
| |- warning: let 'emptyContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
[62/97] Compiling Node NodeInitializable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Node/Core/Node.swift:2:23: warning: static property 'defaultContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Node: StructuredDataWrapper {
2 | public static let defaultContext = emptyContext
| |- warning: static property 'defaultContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 |
4 | public var wrapped: StructuredData
/Users/admin/builder/spi-builder-workspace/Sources/Node/Core/Context.swift:9:20: note: generic class 'ObjectContext' does not conform to the 'Sendable' protocol
7 | public protocol Context {}
8 |
9 | public final class ObjectContext<K: Hashable, V>: Context {
| `- note: generic class 'ObjectContext' does not conform to the 'Sendable' protocol
10 | public let object: [K: V]
11 | public init(_ object: [K: V]) {
/Users/admin/builder/spi-builder-workspace/Sources/Node/Core/Context.swift:16:12: warning: let 'emptyContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public protocol Context {}
8 |
9 | public final class ObjectContext<K: Hashable, V>: Context {
| `- note: generic class 'ObjectContext' does not conform to the 'Sendable' protocol
10 | public let object: [K: V]
11 | public init(_ object: [K: V]) {
:
14 | }
15 |
16 | public let emptyContext = ObjectContext<String, Int>([:])
| |- warning: let 'emptyContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
[63/97] Compiling Node NodeRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Node/Core/Node.swift:2:23: warning: static property 'defaultContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Node: StructuredDataWrapper {
2 | public static let defaultContext = emptyContext
| |- warning: static property 'defaultContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 |
4 | public var wrapped: StructuredData
/Users/admin/builder/spi-builder-workspace/Sources/Node/Core/Context.swift:9:20: note: generic class 'ObjectContext' does not conform to the 'Sendable' protocol
7 | public protocol Context {}
8 |
9 | public final class ObjectContext<K: Hashable, V>: Context {
| `- note: generic class 'ObjectContext' does not conform to the 'Sendable' protocol
10 | public let object: [K: V]
11 | public init(_ object: [K: V]) {
/Users/admin/builder/spi-builder-workspace/Sources/Node/Core/Context.swift:16:12: warning: let 'emptyContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public protocol Context {}
8 |
9 | public final class ObjectContext<K: Hashable, V>: Context {
| `- note: generic class 'ObjectContext' does not conform to the 'Sendable' protocol
10 | public let object: [K: V]
11 | public init(_ object: [K: V]) {
:
14 | }
15 |
16 | public let emptyContext = ObjectContext<String, Int>([:])
| |- warning: let 'emptyContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
[64/97] Compiling Node String+Convertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/Node/Core/Context.swift:16:12: warning: let 'emptyContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public protocol Context {}
8 |
9 | public final class ObjectContext<K: Hashable, V>: Context {
| `- note: generic class 'ObjectContext' does not conform to the 'Sendable' protocol
10 | public let object: [K: V]
11 | public init(_ object: [K: V]) {
:
14 | }
15 |
16 | public let emptyContext = ObjectContext<String, Int>([:])
| |- warning: let 'emptyContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
[65/97] Compiling Node UUID+Convertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/Node/Core/Context.swift:16:12: warning: let 'emptyContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public protocol Context {}
8 |
9 | public final class ObjectContext<K: Hashable, V>: Context {
| `- note: generic class 'ObjectContext' does not conform to the 'Sendable' protocol
10 | public let object: [K: V]
11 | public init(_ object: [K: V]) {
:
14 | }
15 |
16 | public let emptyContext = ObjectContext<String, Int>([:])
| |- warning: let 'emptyContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
[66/97] Compiling Node UnsignedInteger+Convertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/Node/Core/Context.swift:16:12: warning: let 'emptyContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public protocol Context {}
8 |
9 | public final class ObjectContext<K: Hashable, V>: Context {
| `- note: generic class 'ObjectContext' does not conform to the 'Sendable' protocol
10 | public let object: [K: V]
11 | public init(_ object: [K: V]) {
:
14 | }
15 |
16 | public let emptyContext = ObjectContext<String, Int>([:])
| |- warning: let 'emptyContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
[67/97] Compiling Node Context.swift
/Users/admin/builder/spi-builder-workspace/Sources/Node/Core/Context.swift:16:12: warning: let 'emptyContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public protocol Context {}
8 |
9 | public final class ObjectContext<K: Hashable, V>: Context {
| `- note: generic class 'ObjectContext' does not conform to the 'Sendable' protocol
10 | public let object: [K: V]
11 | public init(_ object: [K: V]) {
:
14 | }
15 |
16 | public let emptyContext = ObjectContext<String, Int>([:])
| |- warning: let 'emptyContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
[68/97] Compiling Node Getters.swift
/Users/admin/builder/spi-builder-workspace/Sources/Node/Convertibles/Date+Convertible.swift:14:23: warning: static property 'incomingTimestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | Override for custom implementations
13 | */
14 | public static var incomingTimestamp: (Node.Number) throws -> Date = {
| |- warning: static property 'incomingTimestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'incomingTimestamp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'incomingTimestamp' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | return Date(timeIntervalSince1970: $0.double)
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/Node/Convertibles/Date+Convertible.swift:26:23: warning: static property 'outgoingTimestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | Override for custom implementations.
25 | */
26 | public static var outgoingTimestamp: (Date) throws -> Node.Number = {
| |- warning: static property 'outgoingTimestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'outgoingTimestamp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'outgoingTimestamp' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | return Node.Number($0.timeIntervalSince1970)
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/Node/Convertibles/Date+Convertible.swift:36:23: warning: static property 'incomingDateFormatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | Override for custom implementations, or to remove supported formats
35 | */
36 | public static var incomingDateFormatters: [DateFormatter] = [
| |- warning: static property 'incomingDateFormatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'incomingDateFormatters' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'incomingDateFormatters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | .iso8601,
38 | .mysql,
/Users/admin/builder/spi-builder-workspace/Sources/Node/Convertibles/Date+Convertible.swift:53:23: warning: static property 'outgoingDateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | the user is responsible for handling their date formatting manually.
52 | */
53 | public static var outgoingDateFormatter: DateFormatter = .iso8601
| |- warning: static property 'outgoingDateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'outgoingDateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'outgoingDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Node/Convertibles/Date+Convertible.swift:71:22: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
69 | let date = Date.incomingDateFormatters
70 | .lazy
71 | .flatMap({ $0.date(from: string) })
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
| `- note: use 'compactMap(_:)' instead
72 | .first
73 | else { fallthrough }
[69/97] Compiling Node Setters.swift
/Users/admin/builder/spi-builder-workspace/Sources/Node/Convertibles/Date+Convertible.swift:14:23: warning: static property 'incomingTimestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | Override for custom implementations
13 | */
14 | public static var incomingTimestamp: (Node.Number) throws -> Date = {
| |- warning: static property 'incomingTimestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'incomingTimestamp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'incomingTimestamp' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | return Date(timeIntervalSince1970: $0.double)
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/Node/Convertibles/Date+Convertible.swift:26:23: warning: static property 'outgoingTimestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | Override for custom implementations.
25 | */
26 | public static var outgoingTimestamp: (Date) throws -> Node.Number = {
| |- warning: static property 'outgoingTimestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'outgoingTimestamp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'outgoingTimestamp' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | return Node.Number($0.timeIntervalSince1970)
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/Node/Convertibles/Date+Convertible.swift:36:23: warning: static property 'incomingDateFormatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | Override for custom implementations, or to remove supported formats
35 | */
36 | public static var incomingDateFormatters: [DateFormatter] = [
| |- warning: static property 'incomingDateFormatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'incomingDateFormatters' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'incomingDateFormatters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | .iso8601,
38 | .mysql,
/Users/admin/builder/spi-builder-workspace/Sources/Node/Convertibles/Date+Convertible.swift:53:23: warning: static property 'outgoingDateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | the user is responsible for handling their date formatting manually.
52 | */
53 | public static var outgoingDateFormatter: DateFormatter = .iso8601
| |- warning: static property 'outgoingDateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'outgoingDateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'outgoingDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Node/Convertibles/Date+Convertible.swift:71:22: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
69 | let date = Date.incomingDateFormatters
70 | .lazy
71 | .flatMap({ $0.date(from: string) })
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
| `- note: use 'compactMap(_:)' instead
72 | .first
73 | else { fallthrough }
[70/97] Compiling Node Bool+Convertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/Node/Convertibles/Date+Convertible.swift:14:23: warning: static property 'incomingTimestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | Override for custom implementations
13 | */
14 | public static var incomingTimestamp: (Node.Number) throws -> Date = {
| |- warning: static property 'incomingTimestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'incomingTimestamp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'incomingTimestamp' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | return Date(timeIntervalSince1970: $0.double)
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/Node/Convertibles/Date+Convertible.swift:26:23: warning: static property 'outgoingTimestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | Override for custom implementations.
25 | */
26 | public static var outgoingTimestamp: (Date) throws -> Node.Number = {
| |- warning: static property 'outgoingTimestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'outgoingTimestamp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'outgoingTimestamp' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | return Node.Number($0.timeIntervalSince1970)
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/Node/Convertibles/Date+Convertible.swift:36:23: warning: static property 'incomingDateFormatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | Override for custom implementations, or to remove supported formats
35 | */
36 | public static var incomingDateFormatters: [DateFormatter] = [
| |- warning: static property 'incomingDateFormatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'incomingDateFormatters' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'incomingDateFormatters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | .iso8601,
38 | .mysql,
/Users/admin/builder/spi-builder-workspace/Sources/Node/Convertibles/Date+Convertible.swift:53:23: warning: static property 'outgoingDateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | the user is responsible for handling their date formatting manually.
52 | */
53 | public static var outgoingDateFormatter: DateFormatter = .iso8601
| |- warning: static property 'outgoingDateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'outgoingDateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'outgoingDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Node/Convertibles/Date+Convertible.swift:71:22: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
69 | let date = Date.incomingDateFormatters
70 | .lazy
71 | .flatMap({ $0.date(from: string) })
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
| `- note: use 'compactMap(_:)' instead
72 | .first
73 | else { fallthrough }
[71/97] Compiling Node Date+Convertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/Node/Convertibles/Date+Convertible.swift:14:23: warning: static property 'incomingTimestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | Override for custom implementations
13 | */
14 | public static var incomingTimestamp: (Node.Number) throws -> Date = {
| |- warning: static property 'incomingTimestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'incomingTimestamp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'incomingTimestamp' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | return Date(timeIntervalSince1970: $0.double)
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/Node/Convertibles/Date+Convertible.swift:26:23: warning: static property 'outgoingTimestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | Override for custom implementations.
25 | */
26 | public static var outgoingTimestamp: (Date) throws -> Node.Number = {
| |- warning: static property 'outgoingTimestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'outgoingTimestamp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'outgoingTimestamp' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | return Node.Number($0.timeIntervalSince1970)
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/Node/Convertibles/Date+Convertible.swift:36:23: warning: static property 'incomingDateFormatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | Override for custom implementations, or to remove supported formats
35 | */
36 | public static var incomingDateFormatters: [DateFormatter] = [
| |- warning: static property 'incomingDateFormatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'incomingDateFormatters' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'incomingDateFormatters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | .iso8601,
38 | .mysql,
/Users/admin/builder/spi-builder-workspace/Sources/Node/Convertibles/Date+Convertible.swift:53:23: warning: static property 'outgoingDateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | the user is responsible for handling their date formatting manually.
52 | */
53 | public static var outgoingDateFormatter: DateFormatter = .iso8601
| |- warning: static property 'outgoingDateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'outgoingDateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'outgoingDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Node/Convertibles/Date+Convertible.swift:71:22: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
69 | let date = Date.incomingDateFormatters
70 | .lazy
71 | .flatMap({ $0.date(from: string) })
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
| `- note: use 'compactMap(_:)' instead
72 | .first
73 | else { fallthrough }
[72/97] Compiling Node StructuredDataWrapper+PathIndexable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+PathIndexable.swift:30:34: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
28 |
29 | // take first context to attempt inference, should all be same
30 | let context = array.lazy.flatMap { $0.context } .first
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
| `- note: use 'compactMap(_:)' instead
31 | self.init(node, in: context)
32 | }
[73/97] Compiling Node StructuredDataWrapper+Polymorphic.swift
/Users/admin/builder/spi-builder-workspace/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+PathIndexable.swift:30:34: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
28 |
29 | // take first context to attempt inference, should all be same
30 | let context = array.lazy.flatMap { $0.context } .first
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
| `- note: use 'compactMap(_:)' instead
31 | self.init(node, in: context)
32 | }
[74/97] Compiling Node StructuredDataWrapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+PathIndexable.swift:30:34: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
28 |
29 | // take first context to attempt inference, should all be same
30 | let context = array.lazy.flatMap { $0.context } .first
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
| `- note: use 'compactMap(_:)' instead
31 | self.init(node, in: context)
32 | }
[75/97] Compiling Node Array+Convertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/Node/Fuzzy/FuzzyConverter.swift:12:13: warning: var '_fuzzyTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | }
11 |
12 | private var _fuzzyTypes: [FuzzyConverter.Type] = [Node.self]
| |- warning: var '_fuzzyTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_fuzzyTypes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_fuzzyTypes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | extension Node {
/Users/admin/builder/spi-builder-workspace/Sources/Node/Core/Node.swift:2:23: warning: static property 'defaultContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Node: StructuredDataWrapper {
2 | public static let defaultContext = emptyContext
| |- warning: static property 'defaultContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 |
4 | public var wrapped: StructuredData
/Users/admin/builder/spi-builder-workspace/Sources/Node/Core/Context.swift:9:20: note: generic class 'ObjectContext' does not conform to the 'Sendable' protocol
7 | public protocol Context {}
8 |
9 | public final class ObjectContext<K: Hashable, V>: Context {
| `- note: generic class 'ObjectContext' does not conform to the 'Sendable' protocol
10 | public let object: [K: V]
11 | public init(_ object: [K: V]) {
[76/97] Compiling Node Dictionary+Convertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/Node/Fuzzy/FuzzyConverter.swift:12:13: warning: var '_fuzzyTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | }
11 |
12 | private var _fuzzyTypes: [FuzzyConverter.Type] = [Node.self]
| |- warning: var '_fuzzyTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_fuzzyTypes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_fuzzyTypes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | extension Node {
/Users/admin/builder/spi-builder-workspace/Sources/Node/Core/Node.swift:2:23: warning: static property 'defaultContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Node: StructuredDataWrapper {
2 | public static let defaultContext = emptyContext
| |- warning: static property 'defaultContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 |
4 | public var wrapped: StructuredData
/Users/admin/builder/spi-builder-workspace/Sources/Node/Core/Context.swift:9:20: note: generic class 'ObjectContext' does not conform to the 'Sendable' protocol
7 | public protocol Context {}
8 |
9 | public final class ObjectContext<K: Hashable, V>: Context {
| `- note: generic class 'ObjectContext' does not conform to the 'Sendable' protocol
10 | public let object: [K: V]
11 | public init(_ object: [K: V]) {
[77/97] Compiling Node Fuzzy+Any.swift
/Users/admin/builder/spi-builder-workspace/Sources/Node/Fuzzy/FuzzyConverter.swift:12:13: warning: var '_fuzzyTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | }
11 |
12 | private var _fuzzyTypes: [FuzzyConverter.Type] = [Node.self]
| |- warning: var '_fuzzyTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_fuzzyTypes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_fuzzyTypes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | extension Node {
/Users/admin/builder/spi-builder-workspace/Sources/Node/Core/Node.swift:2:23: warning: static property 'defaultContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Node: StructuredDataWrapper {
2 | public static let defaultContext = emptyContext
| |- warning: static property 'defaultContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 |
4 | public var wrapped: StructuredData
/Users/admin/builder/spi-builder-workspace/Sources/Node/Core/Context.swift:9:20: note: generic class 'ObjectContext' does not conform to the 'Sendable' protocol
7 | public protocol Context {}
8 |
9 | public final class ObjectContext<K: Hashable, V>: Context {
| `- note: generic class 'ObjectContext' does not conform to the 'Sendable' protocol
10 | public let object: [K: V]
11 | public init(_ object: [K: V]) {
[78/97] Compiling Node FuzzyConverter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Node/Fuzzy/FuzzyConverter.swift:12:13: warning: var '_fuzzyTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | }
11 |
12 | private var _fuzzyTypes: [FuzzyConverter.Type] = [Node.self]
| |- warning: var '_fuzzyTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_fuzzyTypes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_fuzzyTypes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | extension Node {
/Users/admin/builder/spi-builder-workspace/Sources/Node/Core/Node.swift:2:23: warning: static property 'defaultContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Node: StructuredDataWrapper {
2 | public static let defaultContext = emptyContext
| |- warning: static property 'defaultContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 |
4 | public var wrapped: StructuredData
/Users/admin/builder/spi-builder-workspace/Sources/Node/Core/Context.swift:9:20: note: generic class 'ObjectContext' does not conform to the 'Sendable' protocol
7 | public protocol Context {}
8 |
9 | public final class ObjectContext<K: Hashable, V>: Context {
| `- note: generic class 'ObjectContext' does not conform to the 'Sendable' protocol
10 | public let object: [K: V]
11 | public init(_ object: [K: V]) {
[79/97] Compiling Node StructuredData+Init.swift
/Users/admin/builder/spi-builder-workspace/Sources/Node/Convertibles/Date+Convertible.swift:53:23: warning: static property 'outgoingDateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | the user is responsible for handling their date formatting manually.
52 | */
53 | public static var outgoingDateFormatter: DateFormatter = .iso8601
| |- warning: static property 'outgoingDateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'outgoingDateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'outgoingDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Node/Convertibles/Date+Convertible.swift:26:23: warning: static property 'outgoingTimestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | Override for custom implementations.
25 | */
26 | public static var outgoingTimestamp: (Date) throws -> Node.Number = {
| |- warning: static property 'outgoingTimestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'outgoingTimestamp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'outgoingTimestamp' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | return Node.Number($0.timeIntervalSince1970)
28 | }
[80/97] Compiling Node StructuredData+PathIndexable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Node/Convertibles/Date+Convertible.swift:53:23: warning: static property 'outgoingDateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | the user is responsible for handling their date formatting manually.
52 | */
53 | public static var outgoingDateFormatter: DateFormatter = .iso8601
| |- warning: static property 'outgoingDateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'outgoingDateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'outgoingDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Node/Convertibles/Date+Convertible.swift:26:23: warning: static property 'outgoingTimestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | Override for custom implementations.
25 | */
26 | public static var outgoingTimestamp: (Date) throws -> Node.Number = {
| |- warning: static property 'outgoingTimestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'outgoingTimestamp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'outgoingTimestamp' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | return Node.Number($0.timeIntervalSince1970)
28 | }
[81/97] Compiling Node StructuredData+Polymorphic.swift
/Users/admin/builder/spi-builder-workspace/Sources/Node/Convertibles/Date+Convertible.swift:53:23: warning: static property 'outgoingDateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | the user is responsible for handling their date formatting manually.
52 | */
53 | public static var outgoingDateFormatter: DateFormatter = .iso8601
| |- warning: static property 'outgoingDateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'outgoingDateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'outgoingDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Node/Convertibles/Date+Convertible.swift:26:23: warning: static property 'outgoingTimestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | Override for custom implementations.
25 | */
26 | public static var outgoingTimestamp: (Date) throws -> Node.Number = {
| |- warning: static property 'outgoingTimestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'outgoingTimestamp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'outgoingTimestamp' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | return Node.Number($0.timeIntervalSince1970)
28 | }
[82/97] Compiling Node StructuredData.swift
/Users/admin/builder/spi-builder-workspace/Sources/Node/Convertibles/Date+Convertible.swift:53:23: warning: static property 'outgoingDateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | the user is responsible for handling their date formatting manually.
52 | */
53 | public static var outgoingDateFormatter: DateFormatter = .iso8601
| |- warning: static property 'outgoingDateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'outgoingDateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'outgoingDateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Node/Convertibles/Date+Convertible.swift:26:23: warning: static property 'outgoingTimestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | Override for custom implementations.
25 | */
26 | public static var outgoingTimestamp: (Date) throws -> Node.Number = {
| |- warning: static property 'outgoingTimestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'outgoingTimestamp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'outgoingTimestamp' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | return Node.Number($0.timeIntervalSince1970)
28 | }
[83/97] Compiling Node StructuredDataWrapper+Cases.swift
[84/97] Compiling Node StructuredDataWrapper+Convenience.swift
[85/97] Compiling Node StructuredDataWrapper+Equatable.swift
[86/97] Compiling Node StructuredDataWrapper+Literals.swift
[87/97] Compiling Node Optional+Convertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/Node/Number/Number.swift:66:25: warning: static property 'intMax' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 |
65 | extension UInt {
66 | internal static var intMax = UInt(Int.max)
| |- warning: static property 'intMax' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'intMax' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'intMax' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | }
68 |
[88/97] Compiling Node Set+Convertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/Node/Number/Number.swift:66:25: warning: static property 'intMax' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 |
65 | extension UInt {
66 | internal static var intMax = UInt(Int.max)
| |- warning: static property 'intMax' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'intMax' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'intMax' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | }
68 |
[89/97] Compiling Node Number.swift
/Users/admin/builder/spi-builder-workspace/Sources/Node/Number/Number.swift:66:25: warning: static property 'intMax' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 |
65 | extension UInt {
66 | internal static var intMax = UInt(Int.max)
| |- warning: static property 'intMax' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'intMax' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'intMax' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | }
68 |
[90/97] Compiling Node StructuredData+Equatable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Node/Number/Number.swift:66:25: warning: static property 'intMax' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 |
65 | extension UInt {
66 | internal static var intMax = UInt(Int.max)
| |- warning: static property 'intMax' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'intMax' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'intMax' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | }
68 |
[91/97] Compiling Node FloatingPoint+Convertible.swift
[92/97] Compiling Node Integer+Convertible.swift
[93/97] Compiling Node Schema+Convertible.swift
[94/97] Compiling Node SchemaWrapper+Convertible.swift
[95/97] Compiling Node Errors.swift
/Users/admin/builder/spi-builder-workspace/Sources/Node/Utilities/Errors.swift:4:10: warning: associated value 'noFuzzyConverter(item:type:)' of 'Sendable'-conforming enum 'NodeError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
2 |
3 | public enum NodeError: Debuggable {
4 | case noFuzzyConverter(item: Any?, type: Any.Type)
| `- warning: associated value 'noFuzzyConverter(item:type:)' of 'Sendable'-conforming enum 'NodeError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
5 | case invalidDictionaryKeyType
6 | case unableToConvert(input: Node?, expectation: String, path: [PathIndexer])
/Users/admin/builder/spi-builder-workspace/Sources/Node/Utilities/Errors.swift:6:10: warning: associated value 'unableToConvert(input:expectation:path:)' of 'Sendable'-conforming enum 'NodeError' has non-sendable type 'Node'; this is an error in the Swift 6 language mode
4 | case noFuzzyConverter(item: Any?, type: Any.Type)
5 | case invalidDictionaryKeyType
6 | case unableToConvert(input: Node?, expectation: String, path: [PathIndexer])
| `- warning: associated value 'unableToConvert(input:expectation:path:)' of 'Sendable'-conforming enum 'NodeError' has non-sendable type 'Node'; this is an error in the Swift 6 language mode
7 | }
8 |
/Users/admin/builder/spi-builder-workspace/Sources/Node/Core/Node.swift:1:15: note: consider making struct 'Node' conform to the 'Sendable' protocol
1 | public struct Node: StructuredDataWrapper {
| `- note: consider making struct 'Node' conform to the 'Sendable' protocol
2 | public static let defaultContext = emptyContext
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Node/Utilities/Errors.swift:6:10: warning: associated value 'unableToConvert(input:expectation:path:)' of 'Sendable'-conforming enum 'NodeError' has non-sendable type 'any PathIndexer'; this is an error in the Swift 6 language mode
4 | case noFuzzyConverter(item: Any?, type: Any.Type)
5 | case invalidDictionaryKeyType
6 | case unableToConvert(input: Node?, expectation: String, path: [PathIndexer])
| `- warning: associated value 'unableToConvert(input:expectation:path:)' of 'Sendable'-conforming enum 'NodeError' has non-sendable type 'any PathIndexer'; this is an error in the Swift 6 language mode
7 | }
8 |
/Users/admin/builder/spi-builder-workspace/Sources/PathIndexable/PathIndexable.swift:36:17: note: protocol 'PathIndexer' does not conform to the 'Sendable' protocol
34 | should only be added after very careful consideration.
35 | */
36 | public protocol PathIndexer: CustomStringConvertible {
| `- note: protocol 'PathIndexer' does not conform to the 'Sendable' protocol
37 | /**
38 | Access for 'self' within the given node,
/Users/admin/builder/spi-builder-workspace/Sources/Node/Core/Context.swift:16:12: warning: let 'emptyContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public protocol Context {}
8 |
9 | public final class ObjectContext<K: Hashable, V>: Context {
| `- note: generic class 'ObjectContext' does not conform to the 'Sendable' protocol
10 | public let object: [K: V]
11 | public init(_ object: [K: V]) {
:
14 | }
15 |
16 | public let emptyContext = ObjectContext<String, Int>([:])
| |- warning: let 'emptyContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
[96/97] Compiling Node Exports.swift
/Users/admin/builder/spi-builder-workspace/Sources/Node/Utilities/Errors.swift:4:10: warning: associated value 'noFuzzyConverter(item:type:)' of 'Sendable'-conforming enum 'NodeError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
2 |
3 | public enum NodeError: Debuggable {
4 | case noFuzzyConverter(item: Any?, type: Any.Type)
| `- warning: associated value 'noFuzzyConverter(item:type:)' of 'Sendable'-conforming enum 'NodeError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
5 | case invalidDictionaryKeyType
6 | case unableToConvert(input: Node?, expectation: String, path: [PathIndexer])
/Users/admin/builder/spi-builder-workspace/Sources/Node/Utilities/Errors.swift:6:10: warning: associated value 'unableToConvert(input:expectation:path:)' of 'Sendable'-conforming enum 'NodeError' has non-sendable type 'Node'; this is an error in the Swift 6 language mode
4 | case noFuzzyConverter(item: Any?, type: Any.Type)
5 | case invalidDictionaryKeyType
6 | case unableToConvert(input: Node?, expectation: String, path: [PathIndexer])
| `- warning: associated value 'unableToConvert(input:expectation:path:)' of 'Sendable'-conforming enum 'NodeError' has non-sendable type 'Node'; this is an error in the Swift 6 language mode
7 | }
8 |
/Users/admin/builder/spi-builder-workspace/Sources/Node/Core/Node.swift:1:15: note: consider making struct 'Node' conform to the 'Sendable' protocol
1 | public struct Node: StructuredDataWrapper {
| `- note: consider making struct 'Node' conform to the 'Sendable' protocol
2 | public static let defaultContext = emptyContext
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Node/Utilities/Errors.swift:6:10: warning: associated value 'unableToConvert(input:expectation:path:)' of 'Sendable'-conforming enum 'NodeError' has non-sendable type 'any PathIndexer'; this is an error in the Swift 6 language mode
4 | case noFuzzyConverter(item: Any?, type: Any.Type)
5 | case invalidDictionaryKeyType
6 | case unableToConvert(input: Node?, expectation: String, path: [PathIndexer])
| `- warning: associated value 'unableToConvert(input:expectation:path:)' of 'Sendable'-conforming enum 'NodeError' has non-sendable type 'any PathIndexer'; this is an error in the Swift 6 language mode
7 | }
8 |
/Users/admin/builder/spi-builder-workspace/Sources/PathIndexable/PathIndexable.swift:36:17: note: protocol 'PathIndexer' does not conform to the 'Sendable' protocol
34 | should only be added after very careful consideration.
35 | */
36 | public protocol PathIndexer: CustomStringConvertible {
| `- note: protocol 'PathIndexer' does not conform to the 'Sendable' protocol
37 | /**
38 | Access for 'self' within the given node,
/Users/admin/builder/spi-builder-workspace/Sources/Node/Core/Context.swift:16:12: warning: let 'emptyContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public protocol Context {}
8 |
9 | public final class ObjectContext<K: Hashable, V>: Context {
| `- note: generic class 'ObjectContext' does not conform to the 'Sendable' protocol
10 | public let object: [K: V]
11 | public init(_ object: [K: V]) {
:
14 | }
15 |
16 | public let emptyContext = ObjectContext<String, Int>([:])
| |- warning: let 'emptyContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
[97/97] Compiling Node Identifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/Node/Utilities/Errors.swift:4:10: warning: associated value 'noFuzzyConverter(item:type:)' of 'Sendable'-conforming enum 'NodeError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
2 |
3 | public enum NodeError: Debuggable {
4 | case noFuzzyConverter(item: Any?, type: Any.Type)
| `- warning: associated value 'noFuzzyConverter(item:type:)' of 'Sendable'-conforming enum 'NodeError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
5 | case invalidDictionaryKeyType
6 | case unableToConvert(input: Node?, expectation: String, path: [PathIndexer])
/Users/admin/builder/spi-builder-workspace/Sources/Node/Utilities/Errors.swift:6:10: warning: associated value 'unableToConvert(input:expectation:path:)' of 'Sendable'-conforming enum 'NodeError' has non-sendable type 'Node'; this is an error in the Swift 6 language mode
4 | case noFuzzyConverter(item: Any?, type: Any.Type)
5 | case invalidDictionaryKeyType
6 | case unableToConvert(input: Node?, expectation: String, path: [PathIndexer])
| `- warning: associated value 'unableToConvert(input:expectation:path:)' of 'Sendable'-conforming enum 'NodeError' has non-sendable type 'Node'; this is an error in the Swift 6 language mode
7 | }
8 |
/Users/admin/builder/spi-builder-workspace/Sources/Node/Core/Node.swift:1:15: note: consider making struct 'Node' conform to the 'Sendable' protocol
1 | public struct Node: StructuredDataWrapper {
| `- note: consider making struct 'Node' conform to the 'Sendable' protocol
2 | public static let defaultContext = emptyContext
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Node/Utilities/Errors.swift:6:10: warning: associated value 'unableToConvert(input:expectation:path:)' of 'Sendable'-conforming enum 'NodeError' has non-sendable type 'any PathIndexer'; this is an error in the Swift 6 language mode
4 | case noFuzzyConverter(item: Any?, type: Any.Type)
5 | case invalidDictionaryKeyType
6 | case unableToConvert(input: Node?, expectation: String, path: [PathIndexer])
| `- warning: associated value 'unableToConvert(input:expectation:path:)' of 'Sendable'-conforming enum 'NodeError' has non-sendable type 'any PathIndexer'; this is an error in the Swift 6 language mode
7 | }
8 |
/Users/admin/builder/spi-builder-workspace/Sources/PathIndexable/PathIndexable.swift:36:17: note: protocol 'PathIndexer' does not conform to the 'Sendable' protocol
34 | should only be added after very careful consideration.
35 | */
36 | public protocol PathIndexer: CustomStringConvertible {
| `- note: protocol 'PathIndexer' does not conform to the 'Sendable' protocol
37 | /**
38 | Access for 'self' within the given node,
/Users/admin/builder/spi-builder-workspace/Sources/Node/Core/Context.swift:16:12: warning: let 'emptyContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public protocol Context {}
8 |
9 | public final class ObjectContext<K: Hashable, V>: Context {
| `- note: generic class 'ObjectContext' does not conform to the 'Sendable' protocol
10 | public let object: [K: V]
11 | public init(_ object: [K: V]) {
:
14 | }
15 |
16 | public let emptyContext = ObjectContext<String, Int>([:])
| |- warning: let 'emptyContext' is not concurrency-safe because non-'Sendable' type 'ObjectContext<String, Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
Build complete! (9.82s)
warning: 'spi-builder-workspace': dependency 'debugging' is not used by any target
Build complete.
{
"dependencies" : [
{
"identity" : "core",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/core.git"
},
{
"identity" : "bits",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/bits.git"
},
{
"identity" : "debugging",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/debugging.git"
}
],
"manifest_display_name" : "Node",
"name" : "Node",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Node",
"targets" : [
"Node"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PathIndexable",
"targets" : [
"PathIndexable"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PathIndexableTests",
"module_type" : "SwiftTarget",
"name" : "PathIndexableTests",
"path" : "Tests/PathIndexableTests",
"sources" : [
"PathIndexableTests.swift"
],
"target_dependencies" : [
"PathIndexable"
],
"type" : "test"
},
{
"c99name" : "PathIndexable",
"module_type" : "SwiftTarget",
"name" : "PathIndexable",
"path" : "Sources/PathIndexable",
"product_memberships" : [
"Node",
"PathIndexable"
],
"sources" : [
"PathIndexable+Subscripting.swift",
"PathIndexable.swift"
],
"type" : "library"
},
{
"c99name" : "NodeTests",
"module_type" : "SwiftTarget",
"name" : "NodeTests",
"path" : "Tests/NodeTests",
"sources" : [
"BasicConvertibleTests.swift",
"DictionaryKeyPathTests.swift",
"NodeBackedTests.swift",
"NodeDataTypeTests.swift",
"NodeGetterTests.swift",
"NodeIndexableTests.swift",
"NodePolymorphicTests.swift",
"NodeTests.swift",
"NumberTests.swift",
"SequenceConvertibleTests.swift",
"SettersTests.swift"
],
"target_dependencies" : [
"Node"
],
"type" : "test"
},
{
"c99name" : "Node",
"module_type" : "SwiftTarget",
"name" : "Node",
"path" : "Sources/Node",
"product_dependencies" : [
"Bits",
"Core"
],
"product_memberships" : [
"Node"
],
"sources" : [
"Accessors/Getters.swift",
"Accessors/Setters.swift",
"Convertibles/Bool+Convertible.swift",
"Convertibles/Date+Convertible.swift",
"Convertibles/FloatingPoint+Convertible.swift",
"Convertibles/Integer+Convertible.swift",
"Convertibles/Schema+Convertible.swift",
"Convertibles/SchemaWrapper+Convertible.swift",
"Convertibles/String+Convertible.swift",
"Convertibles/UUID+Convertible.swift",
"Convertibles/UnsignedInteger+Convertible.swift",
"Core/Context.swift",
"Core/Node.swift",
"Core/NodeConvertible.swift",
"Core/NodeInitializable.swift",
"Core/NodeRepresentable.swift",
"Fuzzy/Array+Convertible.swift",
"Fuzzy/Dictionary+Convertible.swift",
"Fuzzy/Fuzzy+Any.swift",
"Fuzzy/FuzzyConverter.swift",
"Fuzzy/Optional+Convertible.swift",
"Fuzzy/Set+Convertible.swift",
"Number/Number.swift",
"StructuredData/StructuredData+Equatable.swift",
"StructuredData/StructuredData+Init.swift",
"StructuredData/StructuredData+PathIndexable.swift",
"StructuredData/StructuredData+Polymorphic.swift",
"StructuredData/StructuredData.swift",
"StructuredDataWrapper/StructuredDataWrapper+Cases.swift",
"StructuredDataWrapper/StructuredDataWrapper+Convenience.swift",
"StructuredDataWrapper/StructuredDataWrapper+Equatable.swift",
"StructuredDataWrapper/StructuredDataWrapper+Literals.swift",
"StructuredDataWrapper/StructuredDataWrapper+PathIndexable.swift",
"StructuredDataWrapper/StructuredDataWrapper+Polymorphic.swift",
"StructuredDataWrapper/StructuredDataWrapper.swift",
"Utilities/Errors.swift",
"Utilities/Exports.swift",
"Utilities/Identifier.swift"
],
"target_dependencies" : [
"PathIndexable"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.