Build Information
Successful build of Node, reference 2.1.5 (607aa5
), with Swift 6.0 for Linux on 4 Nov 2024 04:54:58 UTC.
Swift 6 data race errors: 11
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/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
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/vapor-community/node.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/vapor/bits.git
Fetching https://github.com/vapor/debugging.git
Fetching https://github.com/vapor/core.git
[1/20143] Fetching core
[1009/20501] Fetching core, bits
[2133/20761] Fetching core, bits, debugging
Fetched https://github.com/vapor/debugging.git from cache (1.41s)
Fetched https://github.com/vapor/bits.git from cache (1.41s)
Fetched https://github.com/vapor/core.git from cache (1.45s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (1.02s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (1.00s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.90s)
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/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.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
warning: 'spi-builder-workspace': dependency 'debugging' is not used by any target
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/32] Emitting module PathIndexable
[9/32] Emitting module libc
[10/32] Compiling Bits Operators.swift
[11/32] Compiling Bits String+BytesConvertible.swift
[12/34] Compiling PathIndexable PathIndexable.swift
[13/34] Compiling PathIndexable PathIndexable+Subscripting.swift
[14/35] Emitting module Bits
[15/35] Compiling Debugging Debuggable.swift
[16/35] Emitting module Debugging
[19/36] Compiling Bits UnsignedInteger+BytesConvertible.swift
[20/36] Compiling Bits UnsignedInteger+Shifting.swift
[21/36] Compiling libc libc.swift
[22/36] Compiling Bits Byte+ControlCharacters.swift
[23/36] Compiling Bits Byte+Convenience.swift
[24/36] Compiling Bits Byte+PatternMatching.swift
[25/36] Compiling Bits Aliases.swift
[26/36] Compiling Bits Base64Encoder.swift
[27/36] Compiling Bits Byte+Alphabet.swift
[29/37] Compiling Bits Bytes+Percent.swift
[30/37] Compiling Bits BytesConvertible.swift
[31/37] Compiling Bits Data+BytesConvertible.swift
[32/37] Compiling Bits HexEncoder.swift
[33/37] Compiling Bits Byte+Random.swift
[34/37] Compiling Bits Byte+UTF8Numbers.swift
[35/37] Compiling Bits ByteSequence+Conversions.swift
[36/37] Compiling Bits Bytes+Base64.swift
[37/37] Compiling Bits Bytes+Hex.swift
[39/60] Compiling Core DispatchTime+Utilities.swift
[40/60] Compiling Core EmptyInitializable.swift
[41/60] Compiling Core Exports.swift
[42/62] Emitting module Core
[43/62] Compiling Core Array.swift
[44/62] Compiling Core Bits.swift
[45/62] Compiling Core Cache.swift
[46/62] Compiling Core Extendable.swift
[47/62] Compiling Core FileProtocol.swift
[48/62] Compiling Core Int+Hex.swift
[49/62] Compiling Core Collection+Safe.swift
[50/62] Compiling Core DataFile.swift
[51/62] Compiling Core Dispatch.swift
[52/62] Compiling Core String.swift
[53/62] Compiling Core WorkingDirectory.swift
[54/62] Compiling Core Result.swift
[55/62] Compiling Core Semaphore.swift
[56/62] Compiling Core Sequence.swift
[57/62] Compiling Core Lock.swift
[58/62] Compiling Core Portal.swift
[59/62] Compiling Core RFC1123.swift
[60/62] Compiling Core StaticDataBuffer.swift
[61/62] Compiling Core String+CaseInsensitiveCompare.swift
[62/62] Compiling Core String+Polymorphic.swift
[64/98] Compiling Node UnsignedInteger+Convertible.swift
/host/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 |
/host/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
/host/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]) {
[65/98] Compiling Node Context.swift
/host/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 |
/host/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
/host/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]) {
[66/98] Compiling Node Node.swift
/host/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 |
/host/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
/host/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]) {
[67/98] Compiling Node NodeConvertible.swift
/host/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 |
/host/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
/host/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]) {
[68/98] Compiling Node NodeInitializable.swift
/host/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 |
/host/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
/host/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]) {
[69/102] Compiling Node Getters.swift
/host/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 | }
/host/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 | }
/host/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,
/host/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 | /**
/host/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/102] Compiling Node Setters.swift
/host/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 | }
/host/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 | }
/host/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,
/host/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 | /**
/host/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/102] Compiling Node Bool+Convertible.swift
/host/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 | }
/host/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 | }
/host/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,
/host/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 | /**
/host/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/102] Compiling Node Date+Convertible.swift
/host/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 | }
/host/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 | }
/host/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,
/host/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 | /**
/host/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 }
[73/102] Compiling Node FloatingPoint+Convertible.swift
/host/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 | }
/host/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 | }
/host/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,
/host/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 | /**
/host/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 }
[74/102] Compiling Node Integer+Convertible.swift
[75/102] Compiling Node Schema+Convertible.swift
[76/102] Compiling Node SchemaWrapper+Convertible.swift
[77/102] Compiling Node String+Convertible.swift
[78/102] Compiling Node UUID+Convertible.swift
[79/102] Compiling Node StructuredDataWrapper+Equatable.swift
/host/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 | }
[80/102] Compiling Node StructuredDataWrapper+Literals.swift
/host/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 | }
[81/102] Compiling Node StructuredDataWrapper+PathIndexable.swift
/host/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 | }
[82/102] Compiling Node StructuredDataWrapper+Polymorphic.swift
/host/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 | }
[83/102] Emitting module Node
/host/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 | }
/host/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 | }
/host/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,
/host/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 | /**
/host/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 |
/host/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
/host/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]) {
/host/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 {
/host/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 |
/host/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])
/host/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 |
/host/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 |
/host/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 |
/host/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,
[84/102] Compiling Node StructuredData+PathIndexable.swift
/host/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 | /**
/host/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 | }
[85/102] Compiling Node StructuredData+Polymorphic.swift
/host/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 | /**
/host/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 | }
[86/102] Compiling Node StructuredData.swift
/host/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 | /**
/host/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 | }
[87/102] Compiling Node StructuredDataWrapper+Cases.swift
/host/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 | /**
/host/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 | }
[88/102] Compiling Node StructuredDataWrapper+Convenience.swift
/host/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 | /**
/host/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 | }
[89/102] Compiling Node NodeRepresentable.swift
/host/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 {
/host/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
/host/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]) {
[90/102] Compiling Node Array+Convertible.swift
/host/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 {
/host/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
/host/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]) {
[91/102] Compiling Node Dictionary+Convertible.swift
/host/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 {
/host/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
/host/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]) {
[92/102] Compiling Node Fuzzy+Any.swift
/host/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 {
/host/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
/host/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]) {
[93/102] Compiling Node FuzzyConverter.swift
/host/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 {
/host/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
/host/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]) {
[94/102] Compiling Node Optional+Convertible.swift
/host/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 |
[95/102] Compiling Node Set+Convertible.swift
/host/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 |
[96/102] Compiling Node Number.swift
/host/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 |
[97/102] Compiling Node StructuredData+Equatable.swift
/host/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 |
[98/102] Compiling Node StructuredData+Init.swift
/host/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 |
[99/102] Compiling Node StructuredDataWrapper.swift
/host/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])
/host/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 |
/host/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 |
/host/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 |
/host/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,
/host/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 |
[100/102] Compiling Node Errors.swift
/host/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])
/host/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 |
/host/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 |
/host/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 |
/host/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,
/host/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 |
[101/102] Compiling Node Exports.swift
/host/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])
/host/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 |
/host/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 |
/host/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 |
/host/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,
/host/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 |
[102/102] Compiling Node Identifier.swift
/host/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])
/host/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 |
/host/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 |
/host/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 |
/host/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,
/host/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! (31.82s)
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" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.