Build Information
Failed to build Scout, reference 4.1.0 (da48b2
), with Swift 6.0 for Linux on 29 Nov 2024 22:58:52 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
9 | public struct ExplorerError: LocalizedError, Equatable {
10 | public private(set) var path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'ExplorerError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
11 | let description: String
12 |
/host/spi-builder-workspace/Sources/Scout/Models/Path/Path.swift:9:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
7 |
8 | /// Collection of ``PathElement``s to subscript a `PathExplorer`
9 | public struct Path: Hashable {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Scout/Models/Path/Bounds.swift:91:27: warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
87 | public extension Bounds {
88 |
89 | struct Bound: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'Bound' conform to the 'Sendable' protocol
90 | public typealias IntegerLiteralType = Int
91 | public static let first = Bound(0, identifier: "first")
| |- warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'first' 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
92 | public static let last = Bound(-1, identifier: "last")
93 |
/host/spi-builder-workspace/Sources/Scout/Models/Path/Bounds.swift:92:27: warning: static property 'last' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
87 | public extension Bounds {
88 |
89 | struct Bound: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'Bound' conform to the 'Sendable' protocol
90 | public typealias IntegerLiteralType = Int
91 | public static let first = Bound(0, identifier: "first")
92 | public static let last = Bound(-1, identifier: "last")
| |- warning: static property 'last' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'last' 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
93 |
94 | var value: Int
/host/spi-builder-workspace/Sources/Scout/Models/Error/ExplorerError.swift:10:29: warning: stored property 'path' of 'Sendable'-conforming struct 'ExplorerError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
8 | /// Errors that can be thrown when exploring data using a ``PathExplorer``
9 | public struct ExplorerError: LocalizedError, Equatable {
10 | public private(set) var path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'ExplorerError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
11 | let description: String
12 |
/host/spi-builder-workspace/Sources/Scout/Models/Path/Path.swift:9:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
7 |
8 | /// Collection of ``PathElement``s to subscript a `PathExplorer`
9 | public struct Path: Hashable {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Scout/Models/Path/Bounds.swift:91:27: warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
87 | public extension Bounds {
88 |
89 | struct Bound: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'Bound' conform to the 'Sendable' protocol
90 | public typealias IntegerLiteralType = Int
91 | public static let first = Bound(0, identifier: "first")
| |- warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'first' 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
92 | public static let last = Bound(-1, identifier: "last")
93 |
/host/spi-builder-workspace/Sources/Scout/Models/Path/Bounds.swift:92:27: warning: static property 'last' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
87 | public extension Bounds {
88 |
89 | struct Bound: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'Bound' conform to the 'Sendable' protocol
90 | public typealias IntegerLiteralType = Int
91 | public static let first = Bound(0, identifier: "first")
92 | public static let last = Bound(-1, identifier: "last")
| |- warning: static property 'last' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'last' 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
93 |
94 | var value: Int
/host/spi-builder-workspace/Sources/Scout/Models/Error/ExplorerError.swift:10:29: warning: stored property 'path' of 'Sendable'-conforming struct 'ExplorerError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
8 | /// Errors that can be thrown when exploring data using a ``PathExplorer``
9 | public struct ExplorerError: LocalizedError, Equatable {
10 | public private(set) var path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'ExplorerError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
11 | let description: String
12 |
/host/spi-builder-workspace/Sources/Scout/Models/Path/Path.swift:9:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
7 |
8 | /// Collection of ``PathElement``s to subscript a `PathExplorer`
9 | public struct Path: Hashable {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Scout/Models/Path/Bounds.swift:91:27: warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
87 | public extension Bounds {
88 |
89 | struct Bound: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'Bound' conform to the 'Sendable' protocol
90 | public typealias IntegerLiteralType = Int
91 | public static let first = Bound(0, identifier: "first")
| |- warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'first' 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
92 | public static let last = Bound(-1, identifier: "last")
93 |
/host/spi-builder-workspace/Sources/Scout/Models/Path/Bounds.swift:92:27: warning: static property 'last' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
87 | public extension Bounds {
88 |
89 | struct Bound: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'Bound' conform to the 'Sendable' protocol
90 | public typealias IntegerLiteralType = Int
91 | public static let first = Bound(0, identifier: "first")
92 | public static let last = Bound(-1, identifier: "last")
| |- warning: static property 'last' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'last' 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
93 |
94 | var value: Int
/host/spi-builder-workspace/Sources/Scout/Models/Error/ExplorerError.swift:10:29: warning: stored property 'path' of 'Sendable'-conforming struct 'ExplorerError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
8 | /// Errors that can be thrown when exploring data using a ``PathExplorer``
9 | public struct ExplorerError: LocalizedError, Equatable {
10 | public private(set) var path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'ExplorerError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
11 | let description: String
12 |
/host/spi-builder-workspace/Sources/Scout/Models/Path/Path.swift:9:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
7 |
8 | /// Collection of ``PathElement``s to subscript a `PathExplorer`
9 | public struct Path: Hashable {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
10 |
11 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Scout/Models/Path/Bounds.swift:91:27: warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
87 | public extension Bounds {
88 |
89 | struct Bound: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'Bound' conform to the 'Sendable' protocol
90 | public typealias IntegerLiteralType = Int
91 | public static let first = Bound(0, identifier: "first")
| |- warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'first' 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
92 | public static let last = Bound(-1, identifier: "last")
93 |
/host/spi-builder-workspace/Sources/Scout/Models/Path/Bounds.swift:92:27: warning: static property 'last' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
87 | public extension Bounds {
88 |
89 | struct Bound: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'Bound' conform to the 'Sendable' protocol
90 | public typealias IntegerLiteralType = Int
91 | public static let first = Bound(0, identifier: "first")
92 | public static let last = Bound(-1, identifier: "last")
| |- warning: static property 'last' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'last' 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
93 |
94 | var value: Int
[327/383] Wrapping AST for Lux for debugging
/host/spi-builder-workspace/Sources/Scout/Models/Path/Path+StringConvertible.swift:49:1: warning: extension declares a conformance of imported type 'Slice' to imported protocols 'CustomStringConvertible', 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
47 |
48 | extension Path: CustomStringConvertible, CustomDebugStringConvertible {}
49 | extension Slice: CustomStringConvertible, CustomDebugStringConvertible where Base == Path {}
| |- warning: extension declares a conformance of imported type 'Slice' to imported protocols 'CustomStringConvertible', 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
50 |
/host/spi-builder-workspace/Sources/Scout/Models/Path/Bounds.swift:91:27: warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
87 | public extension Bounds {
88 |
89 | struct Bound: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'Bound' conform to the 'Sendable' protocol
90 | public typealias IntegerLiteralType = Int
91 | public static let first = Bound(0, identifier: "first")
| |- warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'first' 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
92 | public static let last = Bound(-1, identifier: "last")
93 |
/host/spi-builder-workspace/Sources/Scout/Models/Path/Bounds.swift:92:27: warning: static property 'last' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
87 | public extension Bounds {
88 |
89 | struct Bound: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'Bound' conform to the 'Sendable' protocol
90 | public typealias IntegerLiteralType = Int
91 | public static let first = Bound(0, identifier: "first")
92 | public static let last = Bound(-1, identifier: "last")
| |- warning: static property 'last' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'last' 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
93 |
94 | var value: Int
/host/spi-builder-workspace/Sources/Scout/Models/Path/Path+StringConvertible.swift:49:1: warning: extension declares a conformance of imported type 'Slice' to imported protocols 'CustomStringConvertible', 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
47 |
48 | extension Path: CustomStringConvertible, CustomDebugStringConvertible {}
49 | extension Slice: CustomStringConvertible, CustomDebugStringConvertible where Base == Path {}
| |- warning: extension declares a conformance of imported type 'Slice' to imported protocols 'CustomStringConvertible', 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
50 |
/host/spi-builder-workspace/Sources/Scout/Models/Path/Bounds.swift:91:27: warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
87 | public extension Bounds {
88 |
89 | struct Bound: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'Bound' conform to the 'Sendable' protocol
90 | public typealias IntegerLiteralType = Int
91 | public static let first = Bound(0, identifier: "first")
| |- warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'first' 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
92 | public static let last = Bound(-1, identifier: "last")
93 |
/host/spi-builder-workspace/Sources/Scout/Models/Path/Bounds.swift:92:27: warning: static property 'last' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
87 | public extension Bounds {
88 |
89 | struct Bound: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'Bound' conform to the 'Sendable' protocol
90 | public typealias IntegerLiteralType = Int
91 | public static let first = Bound(0, identifier: "first")
92 | public static let last = Bound(-1, identifier: "last")
| |- warning: static property 'last' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'last' 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
93 |
94 | var value: Int
/host/spi-builder-workspace/Sources/Scout/Models/Path/Path+StringConvertible.swift:49:1: warning: extension declares a conformance of imported type 'Slice' to imported protocols 'CustomStringConvertible', 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
47 |
48 | extension Path: CustomStringConvertible, CustomDebugStringConvertible {}
49 | extension Slice: CustomStringConvertible, CustomDebugStringConvertible where Base == Path {}
| |- warning: extension declares a conformance of imported type 'Slice' to imported protocols 'CustomStringConvertible', 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
50 |
/host/spi-builder-workspace/Sources/Scout/Models/Path/Bounds.swift:91:27: warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
87 | public extension Bounds {
88 |
89 | struct Bound: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'Bound' conform to the 'Sendable' protocol
90 | public typealias IntegerLiteralType = Int
91 | public static let first = Bound(0, identifier: "first")
| |- warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'first' 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
92 | public static let last = Bound(-1, identifier: "last")
93 |
/host/spi-builder-workspace/Sources/Scout/Models/Path/Bounds.swift:92:27: warning: static property 'last' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
87 | public extension Bounds {
88 |
89 | struct Bound: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'Bound' conform to the 'Sendable' protocol
90 | public typealias IntegerLiteralType = Int
91 | public static let first = Bound(0, identifier: "first")
92 | public static let last = Bound(-1, identifier: "last")
| |- warning: static property 'last' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'last' 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
93 |
94 | var value: Int
/host/spi-builder-workspace/Sources/Scout/Models/Path/Path+StringConvertible.swift:49:1: warning: extension declares a conformance of imported type 'Slice' to imported protocols 'CustomStringConvertible', 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
47 |
48 | extension Path: CustomStringConvertible, CustomDebugStringConvertible {}
49 | extension Slice: CustomStringConvertible, CustomDebugStringConvertible where Base == Path {}
| |- warning: extension declares a conformance of imported type 'Slice' to imported protocols 'CustomStringConvertible', 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
50 |
/host/spi-builder-workspace/Sources/Scout/Models/Path/Bounds.swift:91:27: warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
87 | public extension Bounds {
88 |
89 | struct Bound: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'Bound' conform to the 'Sendable' protocol
90 | public typealias IntegerLiteralType = Int
91 | public static let first = Bound(0, identifier: "first")
| |- warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'first' 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
92 | public static let last = Bound(-1, identifier: "last")
93 |
/host/spi-builder-workspace/Sources/Scout/Models/Path/Bounds.swift:92:27: warning: static property 'last' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
87 | public extension Bounds {
88 |
89 | struct Bound: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'Bound' conform to the 'Sendable' protocol
90 | public typealias IntegerLiteralType = Int
91 | public static let first = Bound(0, identifier: "first")
92 | public static let last = Bound(-1, identifier: "last")
| |- warning: static property 'last' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'last' 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
93 |
94 | var value: Int
/host/spi-builder-workspace/Sources/Scout/Models/Path/Path+StringConvertible.swift:49:1: warning: extension declares a conformance of imported type 'Slice' to imported protocols 'CustomStringConvertible', 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
47 |
48 | extension Path: CustomStringConvertible, CustomDebugStringConvertible {}
49 | extension Slice: CustomStringConvertible, CustomDebugStringConvertible where Base == Path {}
| |- warning: extension declares a conformance of imported type 'Slice' to imported protocols 'CustomStringConvertible', 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
50 |
/host/spi-builder-workspace/Sources/Scout/Models/Path/Bounds.swift:91:27: warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
87 | public extension Bounds {
88 |
89 | struct Bound: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'Bound' conform to the 'Sendable' protocol
90 | public typealias IntegerLiteralType = Int
91 | public static let first = Bound(0, identifier: "first")
| |- warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'first' 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
92 | public static let last = Bound(-1, identifier: "last")
93 |
/host/spi-builder-workspace/Sources/Scout/Models/Path/Bounds.swift:92:27: warning: static property 'last' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
87 | public extension Bounds {
88 |
89 | struct Bound: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'Bound' conform to the 'Sendable' protocol
90 | public typealias IntegerLiteralType = Int
91 | public static let first = Bound(0, identifier: "first")
92 | public static let last = Bound(-1, identifier: "last")
| |- warning: static property 'last' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'last' 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
93 |
94 | var value: Int
/host/spi-builder-workspace/Sources/Scout/Models/Path/Path+StringConvertible.swift:49:1: warning: extension declares a conformance of imported type 'Slice' to imported protocols 'CustomStringConvertible', 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
47 |
48 | extension Path: CustomStringConvertible, CustomDebugStringConvertible {}
49 | extension Slice: CustomStringConvertible, CustomDebugStringConvertible where Base == Path {}
| |- warning: extension declares a conformance of imported type 'Slice' to imported protocols 'CustomStringConvertible', 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
50 |
/host/spi-builder-workspace/Sources/Scout/Models/Path/Bounds.swift:91:27: warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
87 | public extension Bounds {
88 |
89 | struct Bound: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'Bound' conform to the 'Sendable' protocol
90 | public typealias IntegerLiteralType = Int
91 | public static let first = Bound(0, identifier: "first")
| |- warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'first' 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
92 | public static let last = Bound(-1, identifier: "last")
93 |
/host/spi-builder-workspace/Sources/Scout/Models/Path/Bounds.swift:92:27: warning: static property 'last' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
87 | public extension Bounds {
88 |
89 | struct Bound: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'Bound' conform to the 'Sendable' protocol
90 | public typealias IntegerLiteralType = Int
91 | public static let first = Bound(0, identifier: "first")
92 | public static let last = Bound(-1, identifier: "last")
| |- warning: static property 'last' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'last' 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
93 |
94 | var value: Int
/host/spi-builder-workspace/Sources/Scout/Models/Path/Path+StringConvertible.swift:49:1: warning: extension declares a conformance of imported type 'Slice' to imported protocols 'CustomStringConvertible', 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
47 |
48 | extension Path: CustomStringConvertible, CustomDebugStringConvertible {}
49 | extension Slice: CustomStringConvertible, CustomDebugStringConvertible where Base == Path {}
| |- warning: extension declares a conformance of imported type 'Slice' to imported protocols 'CustomStringConvertible', 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
50 |
/host/spi-builder-workspace/Sources/Scout/Models/Path/Bounds.swift:91:27: warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
87 | public extension Bounds {
88 |
89 | struct Bound: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'Bound' conform to the 'Sendable' protocol
90 | public typealias IntegerLiteralType = Int
91 | public static let first = Bound(0, identifier: "first")
| |- warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'first' 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
92 | public static let last = Bound(-1, identifier: "last")
93 |
/host/spi-builder-workspace/Sources/Scout/Models/Path/Bounds.swift:92:27: warning: static property 'last' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
87 | public extension Bounds {
88 |
89 | struct Bound: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'Bound' conform to the 'Sendable' protocol
90 | public typealias IntegerLiteralType = Int
91 | public static let first = Bound(0, identifier: "first")
92 | public static let last = Bound(-1, identifier: "last")
| |- warning: static property 'last' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'last' 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
93 |
94 | var value: Int
/host/spi-builder-workspace/Sources/Scout/Models/Path/Path+StringConvertible.swift:49:1: warning: extension declares a conformance of imported type 'Slice' to imported protocols 'CustomStringConvertible', 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
47 |
48 | extension Path: CustomStringConvertible, CustomDebugStringConvertible {}
49 | extension Slice: CustomStringConvertible, CustomDebugStringConvertible where Base == Path {}
| |- warning: extension declares a conformance of imported type 'Slice' to imported protocols 'CustomStringConvertible', 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
50 |
/host/spi-builder-workspace/Sources/Scout/Models/Path/Bounds.swift:91:27: warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
87 | public extension Bounds {
88 |
89 | struct Bound: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'Bound' conform to the 'Sendable' protocol
90 | public typealias IntegerLiteralType = Int
91 | public static let first = Bound(0, identifier: "first")
| |- warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'first' 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
92 | public static let last = Bound(-1, identifier: "last")
93 |
/host/spi-builder-workspace/Sources/Scout/Models/Path/Bounds.swift:92:27: warning: static property 'last' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
87 | public extension Bounds {
88 |
89 | struct Bound: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'Bound' conform to the 'Sendable' protocol
90 | public typealias IntegerLiteralType = Int
91 | public static let first = Bound(0, identifier: "first")
92 | public static let last = Bound(-1, identifier: "last")
| |- warning: static property 'last' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'last' 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
93 |
94 | var value: Int
/host/spi-builder-workspace/Sources/Scout/Models/Path/Path+StringConvertible.swift:49:1: warning: extension declares a conformance of imported type 'Slice' to imported protocols 'CustomStringConvertible', 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
47 |
48 | extension Path: CustomStringConvertible, CustomDebugStringConvertible {}
49 | extension Slice: CustomStringConvertible, CustomDebugStringConvertible where Base == Path {}
| |- warning: extension declares a conformance of imported type 'Slice' to imported protocols 'CustomStringConvertible', 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
50 |
/host/spi-builder-workspace/Sources/Scout/Models/Path/Bounds.swift:91:27: warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
87 | public extension Bounds {
88 |
89 | struct Bound: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'Bound' conform to the 'Sendable' protocol
90 | public typealias IntegerLiteralType = Int
91 | public static let first = Bound(0, identifier: "first")
| |- warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'first' 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
92 | public static let last = Bound(-1, identifier: "last")
93 |
/host/spi-builder-workspace/Sources/Scout/Models/Path/Bounds.swift:92:27: warning: static property 'last' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
87 | public extension Bounds {
88 |
89 | struct Bound: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'Bound' conform to the 'Sendable' protocol
90 | public typealias IntegerLiteralType = Int
91 | public static let first = Bound(0, identifier: "first")
92 | public static let last = Bound(-1, identifier: "last")
| |- warning: static property 'last' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'last' 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
93 |
94 | var value: Int
/host/spi-builder-workspace/Sources/Scout/Models/Path/Path+StringConvertible.swift:49:1: warning: extension declares a conformance of imported type 'Slice' to imported protocols 'CustomStringConvertible', 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
47 |
48 | extension Path: CustomStringConvertible, CustomDebugStringConvertible {}
49 | extension Slice: CustomStringConvertible, CustomDebugStringConvertible where Base == Path {}
| |- warning: extension declares a conformance of imported type 'Slice' to imported protocols 'CustomStringConvertible', 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
50 |
/host/spi-builder-workspace/Sources/Scout/Models/Path/Bounds.swift:91:27: warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
87 | public extension Bounds {
88 |
89 | struct Bound: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'Bound' conform to the 'Sendable' protocol
90 | public typealias IntegerLiteralType = Int
91 | public static let first = Bound(0, identifier: "first")
| |- warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'first' 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
92 | public static let last = Bound(-1, identifier: "last")
93 |
/host/spi-builder-workspace/Sources/Scout/Models/Path/Bounds.swift:92:27: warning: static property 'last' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
87 | public extension Bounds {
88 |
89 | struct Bound: ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'Bound' conform to the 'Sendable' protocol
90 | public typealias IntegerLiteralType = Int
91 | public static let first = Bound(0, identifier: "first")
92 | public static let last = Bound(-1, identifier: "last")
| |- warning: static property 'last' is not concurrency-safe because non-'Sendable' type 'Bounds.Bound' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'last' 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
93 |
94 | var value: Int
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:90:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
88 | /// Check the the element name. With a default name, an array is returned.
89 | /// Otherwise a dictionary
90 | public static let `default` = SingleChildStrategy { (key, value) in
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
91 | if key == Element.defaultName {
92 | return array.transform(key, value)
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:90:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
88 | /// Check the the element name. With a default name, an array is returned.
89 | /// Otherwise a dictionary
90 | public static let `default` = SingleChildStrategy { (key, value) in
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
91 | if key == Element.defaultName {
92 | return array.transform(key, value)
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:90:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
88 | /// Check the the element name. With a default name, an array is returned.
89 | /// Otherwise a dictionary
90 | public static let `default` = SingleChildStrategy { (key, value) in
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
91 | if key == Element.defaultName {
92 | return array.transform(key, value)
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:90:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
88 | /// Check the the element name. With a default name, an array is returned.
89 | /// Otherwise a dictionary
90 | public static let `default` = SingleChildStrategy { (key, value) in
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
91 | if key == Element.defaultName {
92 | return array.transform(key, value)
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:90:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
88 | /// Check the the element name. With a default name, an array is returned.
89 | /// Otherwise a dictionary
90 | public static let `default` = SingleChildStrategy { (key, value) in
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
91 | if key == Element.defaultName {
92 | return array.transform(key, value)
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:90:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
88 | /// Check the the element name. With a default name, an array is returned.
89 | /// Otherwise a dictionary
90 | public static let `default` = SingleChildStrategy { (key, value) in
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
91 | if key == Element.defaultName {
92 | return array.transform(key, value)
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:90:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
88 | /// Check the the element name. With a default name, an array is returned.
89 | /// Otherwise a dictionary
90 | public static let `default` = SingleChildStrategy { (key, value) in
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
91 | if key == Element.defaultName {
92 | return array.transform(key, value)
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:90:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
88 | /// Check the the element name. With a default name, an array is returned.
89 | /// Otherwise a dictionary
90 | public static let `default` = SingleChildStrategy { (key, value) in
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
91 | if key == Element.defaultName {
92 | return array.transform(key, value)
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:90:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
88 | /// Check the the element name. With a default name, an array is returned.
89 | /// Otherwise a dictionary
90 | public static let `default` = SingleChildStrategy { (key, value) in
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
91 | if key == Element.defaultName {
92 | return array.transform(key, value)
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:90:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
88 | /// Check the the element name. With a default name, an array is returned.
89 | /// Otherwise a dictionary
90 | public static let `default` = SingleChildStrategy { (key, value) in
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
91 | if key == Element.defaultName {
92 | return array.transform(key, value)
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:67:27: warning: static property 'dataFormat' is not concurrency-safe because non-'Sendable' type 'DataFormat' may have shared mutable state; this is an error in the Swift 6 language mode
65 | public enum JsonDateIso8601: CodableFormat {
66 |
67 | public static let dataFormat: DataFormat = .json
| |- warning: static property 'dataFormat' is not concurrency-safe because non-'Sendable' type 'DataFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dataFormat' 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
68 | public static var foldedRegexPattern: String { JsonDefault.foldedRegexPattern }
69 |
/host/spi-builder-workspace/Sources/Scout/Constants/DataFormat.swift:7:13: note: consider making enum 'DataFormat' conform to the 'Sendable' protocol
5 |
6 | /// Unique identifier of a data format
7 | public enum DataFormat: String, CaseIterable {
| `- note: consider making enum 'DataFormat' conform to the 'Sendable' protocol
8 | case json, plist, xml, yaml
9 | }
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:133:28: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'YAMLEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
131 | }
132 |
133 | private static let encoder = YAMLEncoder()
| `- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'YAMLEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
134 | private static let decoder = YAMLDecoder()
135 |
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Encoder.swift:11:14: note: class 'YAMLEncoder' does not conform to the 'Sendable' protocol
9 | /// `Codable`-style `Encoder` that can be used to encode an `Encodable` type to a YAML string using optional
10 | /// user info mapping. Similar to `Foundation.JSONEncoder`.
11 | public class YAMLEncoder {
| `- note: class 'YAMLEncoder' does not conform to the 'Sendable' protocol
12 | /// Options to use when encoding to YAML.
13 | public typealias Options = Emitter.Options
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Yams'
5 |
6 | import Foundation
7 | import Yams
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Yams'
8 |
9 | public protocol CodableFormat {
:
131 | }
132 |
133 | private static let encoder = YAMLEncoder()
| |- note: annotate 'encoder' 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
134 | private static let decoder = YAMLDecoder()
135 |
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:134:28: warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'YAMLDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
132 |
133 | private static let encoder = YAMLEncoder()
134 | private static let decoder = YAMLDecoder()
| |- warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'YAMLDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decoder' 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
135 |
136 | public static func encode<E>(_ value: E, rootName: String?) throws -> Data where E: Encodable {
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Decoder.swift:13:14: note: class 'YAMLDecoder' does not conform to the 'Sendable' protocol
11 | /// `Codable`-style `Decoder` that can be used to decode a `Decodable` type from a given `String` and optional
12 | /// user info mapping. Similar to `Foundation.JSONDecoder`.
13 | public class YAMLDecoder {
| `- note: class 'YAMLDecoder' does not conform to the 'Sendable' protocol
14 | /// Creates a `YAMLDecoder` instance.
15 | ///
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:67:27: warning: static property 'dataFormat' is not concurrency-safe because non-'Sendable' type 'DataFormat' may have shared mutable state; this is an error in the Swift 6 language mode
65 | public enum JsonDateIso8601: CodableFormat {
66 |
67 | public static let dataFormat: DataFormat = .json
| |- warning: static property 'dataFormat' is not concurrency-safe because non-'Sendable' type 'DataFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dataFormat' 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
68 | public static var foldedRegexPattern: String { JsonDefault.foldedRegexPattern }
69 |
/host/spi-builder-workspace/Sources/Scout/Constants/DataFormat.swift:7:13: note: consider making enum 'DataFormat' conform to the 'Sendable' protocol
5 |
6 | /// Unique identifier of a data format
7 | public enum DataFormat: String, CaseIterable {
| `- note: consider making enum 'DataFormat' conform to the 'Sendable' protocol
8 | case json, plist, xml, yaml
9 | }
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:133:28: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'YAMLEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
131 | }
132 |
133 | private static let encoder = YAMLEncoder()
| `- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'YAMLEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
134 | private static let decoder = YAMLDecoder()
135 |
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Encoder.swift:11:14: note: class 'YAMLEncoder' does not conform to the 'Sendable' protocol
9 | /// `Codable`-style `Encoder` that can be used to encode an `Encodable` type to a YAML string using optional
10 | /// user info mapping. Similar to `Foundation.JSONEncoder`.
11 | public class YAMLEncoder {
| `- note: class 'YAMLEncoder' does not conform to the 'Sendable' protocol
12 | /// Options to use when encoding to YAML.
13 | public typealias Options = Emitter.Options
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Yams'
5 |
6 | import Foundation
7 | import Yams
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Yams'
8 |
9 | public protocol CodableFormat {
:
131 | }
132 |
133 | private static let encoder = YAMLEncoder()
| |- note: annotate 'encoder' 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
134 | private static let decoder = YAMLDecoder()
135 |
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:134:28: warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'YAMLDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
132 |
133 | private static let encoder = YAMLEncoder()
134 | private static let decoder = YAMLDecoder()
| |- warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'YAMLDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decoder' 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
135 |
136 | public static func encode<E>(_ value: E, rootName: String?) throws -> Data where E: Encodable {
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Decoder.swift:13:14: note: class 'YAMLDecoder' does not conform to the 'Sendable' protocol
11 | /// `Codable`-style `Decoder` that can be used to decode a `Decodable` type from a given `String` and optional
12 | /// user info mapping. Similar to `Foundation.JSONDecoder`.
13 | public class YAMLDecoder {
| `- note: class 'YAMLDecoder' does not conform to the 'Sendable' protocol
14 | /// Creates a `YAMLDecoder` instance.
15 | ///
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:67:27: warning: static property 'dataFormat' is not concurrency-safe because non-'Sendable' type 'DataFormat' may have shared mutable state; this is an error in the Swift 6 language mode
65 | public enum JsonDateIso8601: CodableFormat {
66 |
67 | public static let dataFormat: DataFormat = .json
| |- warning: static property 'dataFormat' is not concurrency-safe because non-'Sendable' type 'DataFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dataFormat' 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
68 | public static var foldedRegexPattern: String { JsonDefault.foldedRegexPattern }
69 |
/host/spi-builder-workspace/Sources/Scout/Constants/DataFormat.swift:7:13: note: consider making enum 'DataFormat' conform to the 'Sendable' protocol
5 |
6 | /// Unique identifier of a data format
7 | public enum DataFormat: String, CaseIterable {
| `- note: consider making enum 'DataFormat' conform to the 'Sendable' protocol
8 | case json, plist, xml, yaml
9 | }
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:133:28: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'YAMLEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
131 | }
132 |
133 | private static let encoder = YAMLEncoder()
| `- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'YAMLEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
134 | private static let decoder = YAMLDecoder()
135 |
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Encoder.swift:11:14: note: class 'YAMLEncoder' does not conform to the 'Sendable' protocol
9 | /// `Codable`-style `Encoder` that can be used to encode an `Encodable` type to a YAML string using optional
10 | /// user info mapping. Similar to `Foundation.JSONEncoder`.
11 | public class YAMLEncoder {
| `- note: class 'YAMLEncoder' does not conform to the 'Sendable' protocol
12 | /// Options to use when encoding to YAML.
13 | public typealias Options = Emitter.Options
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Yams'
5 |
6 | import Foundation
7 | import Yams
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Yams'
8 |
9 | public protocol CodableFormat {
:
131 | }
132 |
133 | private static let encoder = YAMLEncoder()
| |- note: annotate 'encoder' 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
134 | private static let decoder = YAMLDecoder()
135 |
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:134:28: warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'YAMLDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
132 |
133 | private static let encoder = YAMLEncoder()
134 | private static let decoder = YAMLDecoder()
| |- warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'YAMLDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decoder' 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
135 |
136 | public static func encode<E>(_ value: E, rootName: String?) throws -> Data where E: Encodable {
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Decoder.swift:13:14: note: class 'YAMLDecoder' does not conform to the 'Sendable' protocol
11 | /// `Codable`-style `Decoder` that can be used to decode a `Decodable` type from a given `String` and optional
12 | /// user info mapping. Similar to `Foundation.JSONDecoder`.
13 | public class YAMLDecoder {
| `- note: class 'YAMLDecoder' does not conform to the 'Sendable' protocol
14 | /// Creates a `YAMLDecoder` instance.
15 | ///
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:67:27: warning: static property 'dataFormat' is not concurrency-safe because non-'Sendable' type 'DataFormat' may have shared mutable state; this is an error in the Swift 6 language mode
65 | public enum JsonDateIso8601: CodableFormat {
66 |
67 | public static let dataFormat: DataFormat = .json
| |- warning: static property 'dataFormat' is not concurrency-safe because non-'Sendable' type 'DataFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dataFormat' 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
68 | public static var foldedRegexPattern: String { JsonDefault.foldedRegexPattern }
69 |
/host/spi-builder-workspace/Sources/Scout/Constants/DataFormat.swift:7:13: note: consider making enum 'DataFormat' conform to the 'Sendable' protocol
5 |
6 | /// Unique identifier of a data format
7 | public enum DataFormat: String, CaseIterable {
| `- note: consider making enum 'DataFormat' conform to the 'Sendable' protocol
8 | case json, plist, xml, yaml
9 | }
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:133:28: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'YAMLEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
131 | }
132 |
133 | private static let encoder = YAMLEncoder()
| `- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'YAMLEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
134 | private static let decoder = YAMLDecoder()
135 |
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Encoder.swift:11:14: note: class 'YAMLEncoder' does not conform to the 'Sendable' protocol
9 | /// `Codable`-style `Encoder` that can be used to encode an `Encodable` type to a YAML string using optional
10 | /// user info mapping. Similar to `Foundation.JSONEncoder`.
11 | public class YAMLEncoder {
| `- note: class 'YAMLEncoder' does not conform to the 'Sendable' protocol
12 | /// Options to use when encoding to YAML.
13 | public typealias Options = Emitter.Options
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Yams'
5 |
6 | import Foundation
7 | import Yams
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Yams'
8 |
9 | public protocol CodableFormat {
:
131 | }
132 |
133 | private static let encoder = YAMLEncoder()
| |- note: annotate 'encoder' 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
134 | private static let decoder = YAMLDecoder()
135 |
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:134:28: warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'YAMLDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
132 |
133 | private static let encoder = YAMLEncoder()
134 | private static let decoder = YAMLDecoder()
| |- warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'YAMLDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decoder' 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
135 |
136 | public static func encode<E>(_ value: E, rootName: String?) throws -> Data where E: Encodable {
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Decoder.swift:13:14: note: class 'YAMLDecoder' does not conform to the 'Sendable' protocol
11 | /// `Codable`-style `Decoder` that can be used to decode a `Decodable` type from a given `String` and optional
12 | /// user info mapping. Similar to `Foundation.JSONDecoder`.
13 | public class YAMLDecoder {
| `- note: class 'YAMLDecoder' does not conform to the 'Sendable' protocol
14 | /// Creates a `YAMLDecoder` instance.
15 | ///
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:67:27: warning: static property 'dataFormat' is not concurrency-safe because non-'Sendable' type 'DataFormat' may have shared mutable state; this is an error in the Swift 6 language mode
65 | public enum JsonDateIso8601: CodableFormat {
66 |
67 | public static let dataFormat: DataFormat = .json
| |- warning: static property 'dataFormat' is not concurrency-safe because non-'Sendable' type 'DataFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dataFormat' 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
68 | public static var foldedRegexPattern: String { JsonDefault.foldedRegexPattern }
69 |
/host/spi-builder-workspace/Sources/Scout/Constants/DataFormat.swift:7:13: note: consider making enum 'DataFormat' conform to the 'Sendable' protocol
5 |
6 | /// Unique identifier of a data format
7 | public enum DataFormat: String, CaseIterable {
| `- note: consider making enum 'DataFormat' conform to the 'Sendable' protocol
8 | case json, plist, xml, yaml
9 | }
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:133:28: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'YAMLEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
131 | }
132 |
133 | private static let encoder = YAMLEncoder()
| `- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'YAMLEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
134 | private static let decoder = YAMLDecoder()
135 |
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Encoder.swift:11:14: note: class 'YAMLEncoder' does not conform to the 'Sendable' protocol
9 | /// `Codable`-style `Encoder` that can be used to encode an `Encodable` type to a YAML string using optional
10 | /// user info mapping. Similar to `Foundation.JSONEncoder`.
11 | public class YAMLEncoder {
| `- note: class 'YAMLEncoder' does not conform to the 'Sendable' protocol
12 | /// Options to use when encoding to YAML.
13 | public typealias Options = Emitter.Options
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Yams'
5 |
6 | import Foundation
7 | import Yams
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Yams'
8 |
9 | public protocol CodableFormat {
:
131 | }
132 |
133 | private static let encoder = YAMLEncoder()
| |- note: annotate 'encoder' 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
134 | private static let decoder = YAMLDecoder()
135 |
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:134:28: warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'YAMLDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
132 |
133 | private static let encoder = YAMLEncoder()
134 | private static let decoder = YAMLDecoder()
| |- warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'YAMLDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decoder' 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
135 |
136 | public static func encode<E>(_ value: E, rootName: String?) throws -> Data where E: Encodable {
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Decoder.swift:13:14: note: class 'YAMLDecoder' does not conform to the 'Sendable' protocol
11 | /// `Codable`-style `Decoder` that can be used to decode a `Decodable` type from a given `String` and optional
12 | /// user info mapping. Similar to `Foundation.JSONDecoder`.
13 | public class YAMLDecoder {
| `- note: class 'YAMLDecoder' does not conform to the 'Sendable' protocol
14 | /// Creates a `YAMLDecoder` instance.
15 | ///
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:67:27: warning: static property 'dataFormat' is not concurrency-safe because non-'Sendable' type 'DataFormat' may have shared mutable state; this is an error in the Swift 6 language mode
65 | public enum JsonDateIso8601: CodableFormat {
66 |
67 | public static let dataFormat: DataFormat = .json
| |- warning: static property 'dataFormat' is not concurrency-safe because non-'Sendable' type 'DataFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dataFormat' 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
68 | public static var foldedRegexPattern: String { JsonDefault.foldedRegexPattern }
69 |
/host/spi-builder-workspace/Sources/Scout/Constants/DataFormat.swift:7:13: note: consider making enum 'DataFormat' conform to the 'Sendable' protocol
5 |
6 | /// Unique identifier of a data format
7 | public enum DataFormat: String, CaseIterable {
| `- note: consider making enum 'DataFormat' conform to the 'Sendable' protocol
8 | case json, plist, xml, yaml
9 | }
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:133:28: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'YAMLEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
131 | }
132 |
133 | private static let encoder = YAMLEncoder()
| `- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'YAMLEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
134 | private static let decoder = YAMLDecoder()
135 |
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Encoder.swift:11:14: note: class 'YAMLEncoder' does not conform to the 'Sendable' protocol
9 | /// `Codable`-style `Encoder` that can be used to encode an `Encodable` type to a YAML string using optional
10 | /// user info mapping. Similar to `Foundation.JSONEncoder`.
11 | public class YAMLEncoder {
| `- note: class 'YAMLEncoder' does not conform to the 'Sendable' protocol
12 | /// Options to use when encoding to YAML.
13 | public typealias Options = Emitter.Options
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Yams'
5 |
6 | import Foundation
7 | import Yams
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Yams'
8 |
9 | public protocol CodableFormat {
:
131 | }
132 |
133 | private static let encoder = YAMLEncoder()
| |- note: annotate 'encoder' 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
134 | private static let decoder = YAMLDecoder()
135 |
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:134:28: warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'YAMLDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
132 |
133 | private static let encoder = YAMLEncoder()
134 | private static let decoder = YAMLDecoder()
| |- warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'YAMLDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decoder' 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
135 |
136 | public static func encode<E>(_ value: E, rootName: String?) throws -> Data where E: Encodable {
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Decoder.swift:13:14: note: class 'YAMLDecoder' does not conform to the 'Sendable' protocol
11 | /// `Codable`-style `Decoder` that can be used to decode a `Decodable` type from a given `String` and optional
12 | /// user info mapping. Similar to `Foundation.JSONDecoder`.
13 | public class YAMLDecoder {
| `- note: class 'YAMLDecoder' does not conform to the 'Sendable' protocol
14 | /// Creates a `YAMLDecoder` instance.
15 | ///
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:67:27: warning: static property 'dataFormat' is not concurrency-safe because non-'Sendable' type 'DataFormat' may have shared mutable state; this is an error in the Swift 6 language mode
65 | public enum JsonDateIso8601: CodableFormat {
66 |
67 | public static let dataFormat: DataFormat = .json
| |- warning: static property 'dataFormat' is not concurrency-safe because non-'Sendable' type 'DataFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dataFormat' 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
68 | public static var foldedRegexPattern: String { JsonDefault.foldedRegexPattern }
69 |
/host/spi-builder-workspace/Sources/Scout/Constants/DataFormat.swift:7:13: note: consider making enum 'DataFormat' conform to the 'Sendable' protocol
5 |
6 | /// Unique identifier of a data format
7 | public enum DataFormat: String, CaseIterable {
| `- note: consider making enum 'DataFormat' conform to the 'Sendable' protocol
8 | case json, plist, xml, yaml
9 | }
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:133:28: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'YAMLEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
131 | }
132 |
133 | private static let encoder = YAMLEncoder()
| `- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'YAMLEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
134 | private static let decoder = YAMLDecoder()
135 |
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Encoder.swift:11:14: note: class 'YAMLEncoder' does not conform to the 'Sendable' protocol
9 | /// `Codable`-style `Encoder` that can be used to encode an `Encodable` type to a YAML string using optional
10 | /// user info mapping. Similar to `Foundation.JSONEncoder`.
11 | public class YAMLEncoder {
| `- note: class 'YAMLEncoder' does not conform to the 'Sendable' protocol
12 | /// Options to use when encoding to YAML.
13 | public typealias Options = Emitter.Options
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Yams'
5 |
6 | import Foundation
7 | import Yams
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Yams'
8 |
9 | public protocol CodableFormat {
:
131 | }
132 |
133 | private static let encoder = YAMLEncoder()
| |- note: annotate 'encoder' 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
134 | private static let decoder = YAMLDecoder()
135 |
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:134:28: warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'YAMLDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
132 |
133 | private static let encoder = YAMLEncoder()
134 | private static let decoder = YAMLDecoder()
| |- warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'YAMLDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decoder' 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
135 |
136 | public static func encode<E>(_ value: E, rootName: String?) throws -> Data where E: Encodable {
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Decoder.swift:13:14: note: class 'YAMLDecoder' does not conform to the 'Sendable' protocol
11 | /// `Codable`-style `Decoder` that can be used to decode a `Decodable` type from a given `String` and optional
12 | /// user info mapping. Similar to `Foundation.JSONDecoder`.
13 | public class YAMLDecoder {
| `- note: class 'YAMLDecoder' does not conform to the 'Sendable' protocol
14 | /// Creates a `YAMLDecoder` instance.
15 | ///
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:67:27: warning: static property 'dataFormat' is not concurrency-safe because non-'Sendable' type 'DataFormat' may have shared mutable state; this is an error in the Swift 6 language mode
65 | public enum JsonDateIso8601: CodableFormat {
66 |
67 | public static let dataFormat: DataFormat = .json
| |- warning: static property 'dataFormat' is not concurrency-safe because non-'Sendable' type 'DataFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dataFormat' 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
68 | public static var foldedRegexPattern: String { JsonDefault.foldedRegexPattern }
69 |
/host/spi-builder-workspace/Sources/Scout/Constants/DataFormat.swift:7:13: note: consider making enum 'DataFormat' conform to the 'Sendable' protocol
5 |
6 | /// Unique identifier of a data format
7 | public enum DataFormat: String, CaseIterable {
| `- note: consider making enum 'DataFormat' conform to the 'Sendable' protocol
8 | case json, plist, xml, yaml
9 | }
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:133:28: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'YAMLEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
131 | }
132 |
133 | private static let encoder = YAMLEncoder()
| `- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'YAMLEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
134 | private static let decoder = YAMLDecoder()
135 |
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Encoder.swift:11:14: note: class 'YAMLEncoder' does not conform to the 'Sendable' protocol
9 | /// `Codable`-style `Encoder` that can be used to encode an `Encodable` type to a YAML string using optional
10 | /// user info mapping. Similar to `Foundation.JSONEncoder`.
11 | public class YAMLEncoder {
| `- note: class 'YAMLEncoder' does not conform to the 'Sendable' protocol
12 | /// Options to use when encoding to YAML.
13 | public typealias Options = Emitter.Options
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Yams'
5 |
6 | import Foundation
7 | import Yams
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Yams'
8 |
9 | public protocol CodableFormat {
:
131 | }
132 |
133 | private static let encoder = YAMLEncoder()
| |- note: annotate 'encoder' 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
134 | private static let decoder = YAMLDecoder()
135 |
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:134:28: warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'YAMLDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
132 |
133 | private static let encoder = YAMLEncoder()
134 | private static let decoder = YAMLDecoder()
| |- warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'YAMLDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decoder' 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
135 |
136 | public static func encode<E>(_ value: E, rootName: String?) throws -> Data where E: Encodable {
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Decoder.swift:13:14: note: class 'YAMLDecoder' does not conform to the 'Sendable' protocol
11 | /// `Codable`-style `Decoder` that can be used to decode a `Decodable` type from a given `String` and optional
12 | /// user info mapping. Similar to `Foundation.JSONDecoder`.
13 | public class YAMLDecoder {
| `- note: class 'YAMLDecoder' does not conform to the 'Sendable' protocol
14 | /// Creates a `YAMLDecoder` instance.
15 | ///
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:67:27: warning: static property 'dataFormat' is not concurrency-safe because non-'Sendable' type 'DataFormat' may have shared mutable state; this is an error in the Swift 6 language mode
65 | public enum JsonDateIso8601: CodableFormat {
66 |
67 | public static let dataFormat: DataFormat = .json
| |- warning: static property 'dataFormat' is not concurrency-safe because non-'Sendable' type 'DataFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dataFormat' 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
68 | public static var foldedRegexPattern: String { JsonDefault.foldedRegexPattern }
69 |
/host/spi-builder-workspace/Sources/Scout/Constants/DataFormat.swift:7:13: note: consider making enum 'DataFormat' conform to the 'Sendable' protocol
5 |
6 | /// Unique identifier of a data format
7 | public enum DataFormat: String, CaseIterable {
| `- note: consider making enum 'DataFormat' conform to the 'Sendable' protocol
8 | case json, plist, xml, yaml
9 | }
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:133:28: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'YAMLEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
131 | }
132 |
133 | private static let encoder = YAMLEncoder()
| `- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'YAMLEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
134 | private static let decoder = YAMLDecoder()
135 |
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Encoder.swift:11:14: note: class 'YAMLEncoder' does not conform to the 'Sendable' protocol
9 | /// `Codable`-style `Encoder` that can be used to encode an `Encodable` type to a YAML string using optional
10 | /// user info mapping. Similar to `Foundation.JSONEncoder`.
11 | public class YAMLEncoder {
| `- note: class 'YAMLEncoder' does not conform to the 'Sendable' protocol
12 | /// Options to use when encoding to YAML.
13 | public typealias Options = Emitter.Options
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Yams'
5 |
6 | import Foundation
7 | import Yams
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Yams'
8 |
9 | public protocol CodableFormat {
:
131 | }
132 |
133 | private static let encoder = YAMLEncoder()
| |- note: annotate 'encoder' 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
134 | private static let decoder = YAMLDecoder()
135 |
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:134:28: warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'YAMLDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
132 |
133 | private static let encoder = YAMLEncoder()
134 | private static let decoder = YAMLDecoder()
| |- warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'YAMLDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decoder' 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
135 |
136 | public static func encode<E>(_ value: E, rootName: String?) throws -> Data where E: Encodable {
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Decoder.swift:13:14: note: class 'YAMLDecoder' does not conform to the 'Sendable' protocol
11 | /// `Codable`-style `Decoder` that can be used to decode a `Decodable` type from a given `String` and optional
12 | /// user info mapping. Similar to `Foundation.JSONDecoder`.
13 | public class YAMLDecoder {
| `- note: class 'YAMLDecoder' does not conform to the 'Sendable' protocol
14 | /// Creates a `YAMLDecoder` instance.
15 | ///
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:67:27: warning: static property 'dataFormat' is not concurrency-safe because non-'Sendable' type 'DataFormat' may have shared mutable state; this is an error in the Swift 6 language mode
65 | public enum JsonDateIso8601: CodableFormat {
66 |
67 | public static let dataFormat: DataFormat = .json
| |- warning: static property 'dataFormat' is not concurrency-safe because non-'Sendable' type 'DataFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dataFormat' 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
68 | public static var foldedRegexPattern: String { JsonDefault.foldedRegexPattern }
69 |
/host/spi-builder-workspace/Sources/Scout/Constants/DataFormat.swift:7:13: note: consider making enum 'DataFormat' conform to the 'Sendable' protocol
5 |
6 | /// Unique identifier of a data format
7 | public enum DataFormat: String, CaseIterable {
| `- note: consider making enum 'DataFormat' conform to the 'Sendable' protocol
8 | case json, plist, xml, yaml
9 | }
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:133:28: warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'YAMLEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
131 | }
132 |
133 | private static let encoder = YAMLEncoder()
| `- warning: static property 'encoder' is not concurrency-safe because non-'Sendable' type 'YAMLEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
134 | private static let decoder = YAMLDecoder()
135 |
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Encoder.swift:11:14: note: class 'YAMLEncoder' does not conform to the 'Sendable' protocol
9 | /// `Codable`-style `Encoder` that can be used to encode an `Encodable` type to a YAML string using optional
10 | /// user info mapping. Similar to `Foundation.JSONEncoder`.
11 | public class YAMLEncoder {
| `- note: class 'YAMLEncoder' does not conform to the 'Sendable' protocol
12 | /// Options to use when encoding to YAML.
13 | public typealias Options = Emitter.Options
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Yams'
5 |
6 | import Foundation
7 | import Yams
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Yams'
8 |
9 | public protocol CodableFormat {
:
131 | }
132 |
133 | private static let encoder = YAMLEncoder()
| |- note: annotate 'encoder' 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
134 | private static let decoder = YAMLDecoder()
135 |
/host/spi-builder-workspace/Sources/Scout/ExplorerValueSerialization/CodableFormat.swift:134:28: warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'YAMLDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
132 |
133 | private static let encoder = YAMLEncoder()
134 | private static let decoder = YAMLDecoder()
| |- warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'YAMLDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decoder' 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
135 |
136 | public static func encode<E>(_ value: E, rootName: String?) throws -> Data where E: Encodable {
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Decoder.swift:13:14: note: class 'YAMLDecoder' does not conform to the 'Sendable' protocol
11 | /// `Codable`-style `Decoder` that can be used to decode a `Decodable` type from a given `String` and optional
12 | /// user info mapping. Similar to `Foundation.JSONDecoder`.
13 | public class YAMLDecoder {
| `- note: class 'YAMLDecoder' does not conform to the 'Sendable' protocol
14 | /// Creates a `YAMLDecoder` instance.
15 | ///
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:18:35: error: reference to generic type 'CSV' requires arguments in <...>
16 | }
17 |
18 | private static func from(csv: CSV, headers: Bool) throws -> ExplorerXML {
| `- error: reference to generic type 'CSV' requires arguments in <...>
19 | if headers {
20 | return try fromArrayOfDictionaries(csv: csv)
/host/spi-builder-workspace/.build/checkouts/SwiftCSV/SwiftCSV/CSV.swift:66:12: note: generic type 'CSV' declared here
64 | /// For convenience, there's `EnumeratedCSV` to access fields in rows by their column index,
65 | /// and `NamedCSV` to access fields by their column names as defined in a header row.
66 | open class CSV<DataView : CSVView> {
| `- note: generic type 'CSV' declared here
67 |
68 | public let header: [String]
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:41:54: error: reference to generic type 'CSV' requires arguments in <...>
39 | }
40 |
41 | private static func fromArrayOfDictionaries(csv: CSV) throws -> ExplorerXML {
| `- error: reference to generic type 'CSV' requires arguments in <...>
42 | let rootTree = Tree.root(name: "element")
43 | let headers = try csv.header
/host/spi-builder-workspace/.build/checkouts/SwiftCSV/SwiftCSV/CSV.swift:66:12: note: generic type 'CSV' declared here
64 | /// For convenience, there's `EnumeratedCSV` to access fields in rows by their column index,
65 | /// and `NamedCSV` to access fields by their column names as defined in a header row.
66 | open class CSV<DataView : CSVView> {
| `- note: generic type 'CSV' declared here
67 |
68 | public let header: [String]
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:14:54: error: cannot convert value of type 'Character' to expected argument type 'CSVDelimiter'
12 |
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
| `- error: cannot convert value of type 'Character' to expected argument type 'CSVDelimiter'
15 | return try from(csv: csv, headers: hasHeaders)
16 | }
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:14:23: error: generic parameter 'DataView' could not be inferred
12 |
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
| |- error: generic parameter 'DataView' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
15 | return try from(csv: csv, headers: hasHeaders)
16 | }
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:15:24: error: extra arguments at positions #1, #2 in call
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
15 | return try from(csv: csv, headers: hasHeaders)
| `- error: extra arguments at positions #1, #2 in call
16 | }
17 |
:
56 | }
57 |
58 | private static func from(row: [String: String], with keysTrees: [(key: String, path: Tree)], rootTree: Tree) throws -> ExplorerXML {
| `- note: 'from(row:with:rootTree:)' declared here
59 | keysTrees.forEach { (key, tree) in
60 | if let value = row[key] {
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:15:24: error: missing arguments for parameters 'row', 'with', 'rootTree' in call
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
15 | return try from(csv: csv, headers: hasHeaders)
| `- error: missing arguments for parameters 'row', 'with', 'rootTree' in call
16 | }
17 |
:
56 | }
57 |
58 | private static func from(row: [String: String], with keysTrees: [(key: String, path: Tree)], rootTree: Tree) throws -> ExplorerXML {
| `- note: 'from(row:with:rootTree:)' declared here
59 | keysTrees.forEach { (key, tree) in
60 | if let value = row[key] {
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:90:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
88 | /// Check the the element name. With a default name, an array is returned.
89 | /// Otherwise a dictionary
90 | public static let `default` = SingleChildStrategy { (key, value) in
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
91 | if key == Element.defaultName {
92 | return array.transform(key, value)
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:82:27: warning: static property 'dictionary' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
80 | }
81 |
82 | public static let dictionary = SingleChildStrategy { (key, value) -> ExplorerValue in .dictionary([key: value]) }
| |- warning: static property 'dictionary' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dictionary' 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
83 | public static let array = SingleChildStrategy { (_, value) -> ExplorerValue in .array([value]) }
84 | public static func custom(_ transform: @escaping Transform) -> SingleChildStrategy {
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:83:27: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
81 |
82 | public static let dictionary = SingleChildStrategy { (key, value) -> ExplorerValue in .dictionary([key: value]) }
83 | public static let array = SingleChildStrategy { (_, value) -> ExplorerValue in .array([value]) }
| |- warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'array' 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
84 | public static func custom(_ transform: @escaping Transform) -> SingleChildStrategy {
85 | SingleChildStrategy { (key, value) in transform(key, value) }
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:18:35: error: reference to generic type 'CSV' requires arguments in <...>
16 | }
17 |
18 | private static func from(csv: CSV, headers: Bool) throws -> ExplorerXML {
| `- error: reference to generic type 'CSV' requires arguments in <...>
19 | if headers {
20 | return try fromArrayOfDictionaries(csv: csv)
/host/spi-builder-workspace/.build/checkouts/SwiftCSV/SwiftCSV/CSV.swift:66:12: note: generic type 'CSV' declared here
64 | /// For convenience, there's `EnumeratedCSV` to access fields in rows by their column index,
65 | /// and `NamedCSV` to access fields by their column names as defined in a header row.
66 | open class CSV<DataView : CSVView> {
| `- note: generic type 'CSV' declared here
67 |
68 | public let header: [String]
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:41:54: error: reference to generic type 'CSV' requires arguments in <...>
39 | }
40 |
41 | private static func fromArrayOfDictionaries(csv: CSV) throws -> ExplorerXML {
| `- error: reference to generic type 'CSV' requires arguments in <...>
42 | let rootTree = Tree.root(name: "element")
43 | let headers = try csv.header
/host/spi-builder-workspace/.build/checkouts/SwiftCSV/SwiftCSV/CSV.swift:66:12: note: generic type 'CSV' declared here
64 | /// For convenience, there's `EnumeratedCSV` to access fields in rows by their column index,
65 | /// and `NamedCSV` to access fields by their column names as defined in a header row.
66 | open class CSV<DataView : CSVView> {
| `- note: generic type 'CSV' declared here
67 |
68 | public let header: [String]
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:14:54: error: cannot convert value of type 'Character' to expected argument type 'CSVDelimiter'
12 |
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
| `- error: cannot convert value of type 'Character' to expected argument type 'CSVDelimiter'
15 | return try from(csv: csv, headers: hasHeaders)
16 | }
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:14:23: error: generic parameter 'DataView' could not be inferred
12 |
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
| |- error: generic parameter 'DataView' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
15 | return try from(csv: csv, headers: hasHeaders)
16 | }
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:15:24: error: extra arguments at positions #1, #2 in call
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
15 | return try from(csv: csv, headers: hasHeaders)
| `- error: extra arguments at positions #1, #2 in call
16 | }
17 |
:
56 | }
57 |
58 | private static func from(row: [String: String], with keysTrees: [(key: String, path: Tree)], rootTree: Tree) throws -> ExplorerXML {
| `- note: 'from(row:with:rootTree:)' declared here
59 | keysTrees.forEach { (key, tree) in
60 | if let value = row[key] {
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:15:24: error: missing arguments for parameters 'row', 'with', 'rootTree' in call
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
15 | return try from(csv: csv, headers: hasHeaders)
| `- error: missing arguments for parameters 'row', 'with', 'rootTree' in call
16 | }
17 |
:
56 | }
57 |
58 | private static func from(row: [String: String], with keysTrees: [(key: String, path: Tree)], rootTree: Tree) throws -> ExplorerXML {
| `- note: 'from(row:with:rootTree:)' declared here
59 | keysTrees.forEach { (key, tree) in
60 | if let value = row[key] {
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:90:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
88 | /// Check the the element name. With a default name, an array is returned.
89 | /// Otherwise a dictionary
90 | public static let `default` = SingleChildStrategy { (key, value) in
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
91 | if key == Element.defaultName {
92 | return array.transform(key, value)
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:82:27: warning: static property 'dictionary' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
80 | }
81 |
82 | public static let dictionary = SingleChildStrategy { (key, value) -> ExplorerValue in .dictionary([key: value]) }
| |- warning: static property 'dictionary' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dictionary' 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
83 | public static let array = SingleChildStrategy { (_, value) -> ExplorerValue in .array([value]) }
84 | public static func custom(_ transform: @escaping Transform) -> SingleChildStrategy {
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:83:27: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
81 |
82 | public static let dictionary = SingleChildStrategy { (key, value) -> ExplorerValue in .dictionary([key: value]) }
83 | public static let array = SingleChildStrategy { (_, value) -> ExplorerValue in .array([value]) }
| |- warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'array' 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
84 | public static func custom(_ transform: @escaping Transform) -> SingleChildStrategy {
85 | SingleChildStrategy { (key, value) in transform(key, value) }
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:18:35: error: reference to generic type 'CSV' requires arguments in <...>
16 | }
17 |
18 | private static func from(csv: CSV, headers: Bool) throws -> ExplorerXML {
| `- error: reference to generic type 'CSV' requires arguments in <...>
19 | if headers {
20 | return try fromArrayOfDictionaries(csv: csv)
/host/spi-builder-workspace/.build/checkouts/SwiftCSV/SwiftCSV/CSV.swift:66:12: note: generic type 'CSV' declared here
64 | /// For convenience, there's `EnumeratedCSV` to access fields in rows by their column index,
65 | /// and `NamedCSV` to access fields by their column names as defined in a header row.
66 | open class CSV<DataView : CSVView> {
| `- note: generic type 'CSV' declared here
67 |
68 | public let header: [String]
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:41:54: error: reference to generic type 'CSV' requires arguments in <...>
39 | }
40 |
41 | private static func fromArrayOfDictionaries(csv: CSV) throws -> ExplorerXML {
| `- error: reference to generic type 'CSV' requires arguments in <...>
42 | let rootTree = Tree.root(name: "element")
43 | let headers = try csv.header
/host/spi-builder-workspace/.build/checkouts/SwiftCSV/SwiftCSV/CSV.swift:66:12: note: generic type 'CSV' declared here
64 | /// For convenience, there's `EnumeratedCSV` to access fields in rows by their column index,
65 | /// and `NamedCSV` to access fields by their column names as defined in a header row.
66 | open class CSV<DataView : CSVView> {
| `- note: generic type 'CSV' declared here
67 |
68 | public let header: [String]
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:14:54: error: cannot convert value of type 'Character' to expected argument type 'CSVDelimiter'
12 |
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
| `- error: cannot convert value of type 'Character' to expected argument type 'CSVDelimiter'
15 | return try from(csv: csv, headers: hasHeaders)
16 | }
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:14:23: error: generic parameter 'DataView' could not be inferred
12 |
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
| |- error: generic parameter 'DataView' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
15 | return try from(csv: csv, headers: hasHeaders)
16 | }
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:15:24: error: extra arguments at positions #1, #2 in call
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
15 | return try from(csv: csv, headers: hasHeaders)
| `- error: extra arguments at positions #1, #2 in call
16 | }
17 |
:
56 | }
57 |
58 | private static func from(row: [String: String], with keysTrees: [(key: String, path: Tree)], rootTree: Tree) throws -> ExplorerXML {
| `- note: 'from(row:with:rootTree:)' declared here
59 | keysTrees.forEach { (key, tree) in
60 | if let value = row[key] {
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:15:24: error: missing arguments for parameters 'row', 'with', 'rootTree' in call
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
15 | return try from(csv: csv, headers: hasHeaders)
| `- error: missing arguments for parameters 'row', 'with', 'rootTree' in call
16 | }
17 |
:
56 | }
57 |
58 | private static func from(row: [String: String], with keysTrees: [(key: String, path: Tree)], rootTree: Tree) throws -> ExplorerXML {
| `- note: 'from(row:with:rootTree:)' declared here
59 | keysTrees.forEach { (key, tree) in
60 | if let value = row[key] {
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:90:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
88 | /// Check the the element name. With a default name, an array is returned.
89 | /// Otherwise a dictionary
90 | public static let `default` = SingleChildStrategy { (key, value) in
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
91 | if key == Element.defaultName {
92 | return array.transform(key, value)
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:82:27: warning: static property 'dictionary' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
80 | }
81 |
82 | public static let dictionary = SingleChildStrategy { (key, value) -> ExplorerValue in .dictionary([key: value]) }
| |- warning: static property 'dictionary' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dictionary' 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
83 | public static let array = SingleChildStrategy { (_, value) -> ExplorerValue in .array([value]) }
84 | public static func custom(_ transform: @escaping Transform) -> SingleChildStrategy {
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:83:27: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
81 |
82 | public static let dictionary = SingleChildStrategy { (key, value) -> ExplorerValue in .dictionary([key: value]) }
83 | public static let array = SingleChildStrategy { (_, value) -> ExplorerValue in .array([value]) }
| |- warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'array' 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
84 | public static func custom(_ transform: @escaping Transform) -> SingleChildStrategy {
85 | SingleChildStrategy { (key, value) in transform(key, value) }
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:18:35: error: reference to generic type 'CSV' requires arguments in <...>
16 | }
17 |
18 | private static func from(csv: CSV, headers: Bool) throws -> ExplorerXML {
| `- error: reference to generic type 'CSV' requires arguments in <...>
19 | if headers {
20 | return try fromArrayOfDictionaries(csv: csv)
/host/spi-builder-workspace/.build/checkouts/SwiftCSV/SwiftCSV/CSV.swift:66:12: note: generic type 'CSV' declared here
64 | /// For convenience, there's `EnumeratedCSV` to access fields in rows by their column index,
65 | /// and `NamedCSV` to access fields by their column names as defined in a header row.
66 | open class CSV<DataView : CSVView> {
| `- note: generic type 'CSV' declared here
67 |
68 | public let header: [String]
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:41:54: error: reference to generic type 'CSV' requires arguments in <...>
39 | }
40 |
41 | private static func fromArrayOfDictionaries(csv: CSV) throws -> ExplorerXML {
| `- error: reference to generic type 'CSV' requires arguments in <...>
42 | let rootTree = Tree.root(name: "element")
43 | let headers = try csv.header
/host/spi-builder-workspace/.build/checkouts/SwiftCSV/SwiftCSV/CSV.swift:66:12: note: generic type 'CSV' declared here
64 | /// For convenience, there's `EnumeratedCSV` to access fields in rows by their column index,
65 | /// and `NamedCSV` to access fields by their column names as defined in a header row.
66 | open class CSV<DataView : CSVView> {
| `- note: generic type 'CSV' declared here
67 |
68 | public let header: [String]
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:14:54: error: cannot convert value of type 'Character' to expected argument type 'CSVDelimiter'
12 |
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
| `- error: cannot convert value of type 'Character' to expected argument type 'CSVDelimiter'
15 | return try from(csv: csv, headers: hasHeaders)
16 | }
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:14:23: error: generic parameter 'DataView' could not be inferred
12 |
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
| |- error: generic parameter 'DataView' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
15 | return try from(csv: csv, headers: hasHeaders)
16 | }
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:15:24: error: extra arguments at positions #1, #2 in call
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
15 | return try from(csv: csv, headers: hasHeaders)
| `- error: extra arguments at positions #1, #2 in call
16 | }
17 |
:
56 | }
57 |
58 | private static func from(row: [String: String], with keysTrees: [(key: String, path: Tree)], rootTree: Tree) throws -> ExplorerXML {
| `- note: 'from(row:with:rootTree:)' declared here
59 | keysTrees.forEach { (key, tree) in
60 | if let value = row[key] {
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:15:24: error: missing arguments for parameters 'row', 'with', 'rootTree' in call
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
15 | return try from(csv: csv, headers: hasHeaders)
| `- error: missing arguments for parameters 'row', 'with', 'rootTree' in call
16 | }
17 |
:
56 | }
57 |
58 | private static func from(row: [String: String], with keysTrees: [(key: String, path: Tree)], rootTree: Tree) throws -> ExplorerXML {
| `- note: 'from(row:with:rootTree:)' declared here
59 | keysTrees.forEach { (key, tree) in
60 | if let value = row[key] {
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:90:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
88 | /// Check the the element name. With a default name, an array is returned.
89 | /// Otherwise a dictionary
90 | public static let `default` = SingleChildStrategy { (key, value) in
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
91 | if key == Element.defaultName {
92 | return array.transform(key, value)
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:82:27: warning: static property 'dictionary' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
80 | }
81 |
82 | public static let dictionary = SingleChildStrategy { (key, value) -> ExplorerValue in .dictionary([key: value]) }
| |- warning: static property 'dictionary' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dictionary' 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
83 | public static let array = SingleChildStrategy { (_, value) -> ExplorerValue in .array([value]) }
84 | public static func custom(_ transform: @escaping Transform) -> SingleChildStrategy {
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:83:27: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
81 |
82 | public static let dictionary = SingleChildStrategy { (key, value) -> ExplorerValue in .dictionary([key: value]) }
83 | public static let array = SingleChildStrategy { (_, value) -> ExplorerValue in .array([value]) }
| |- warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'array' 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
84 | public static func custom(_ transform: @escaping Transform) -> SingleChildStrategy {
85 | SingleChildStrategy { (key, value) in transform(key, value) }
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:18:35: error: reference to generic type 'CSV' requires arguments in <...>
16 | }
17 |
18 | private static func from(csv: CSV, headers: Bool) throws -> ExplorerXML {
| `- error: reference to generic type 'CSV' requires arguments in <...>
19 | if headers {
20 | return try fromArrayOfDictionaries(csv: csv)
/host/spi-builder-workspace/.build/checkouts/SwiftCSV/SwiftCSV/CSV.swift:66:12: note: generic type 'CSV' declared here
64 | /// For convenience, there's `EnumeratedCSV` to access fields in rows by their column index,
65 | /// and `NamedCSV` to access fields by their column names as defined in a header row.
66 | open class CSV<DataView : CSVView> {
| `- note: generic type 'CSV' declared here
67 |
68 | public let header: [String]
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:41:54: error: reference to generic type 'CSV' requires arguments in <...>
39 | }
40 |
41 | private static func fromArrayOfDictionaries(csv: CSV) throws -> ExplorerXML {
| `- error: reference to generic type 'CSV' requires arguments in <...>
42 | let rootTree = Tree.root(name: "element")
43 | let headers = try csv.header
/host/spi-builder-workspace/.build/checkouts/SwiftCSV/SwiftCSV/CSV.swift:66:12: note: generic type 'CSV' declared here
64 | /// For convenience, there's `EnumeratedCSV` to access fields in rows by their column index,
65 | /// and `NamedCSV` to access fields by their column names as defined in a header row.
66 | open class CSV<DataView : CSVView> {
| `- note: generic type 'CSV' declared here
67 |
68 | public let header: [String]
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:14:54: error: cannot convert value of type 'Character' to expected argument type 'CSVDelimiter'
12 |
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
| `- error: cannot convert value of type 'Character' to expected argument type 'CSVDelimiter'
15 | return try from(csv: csv, headers: hasHeaders)
16 | }
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:14:23: error: generic parameter 'DataView' could not be inferred
12 |
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
| |- error: generic parameter 'DataView' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
15 | return try from(csv: csv, headers: hasHeaders)
16 | }
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:15:24: error: extra arguments at positions #1, #2 in call
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
15 | return try from(csv: csv, headers: hasHeaders)
| `- error: extra arguments at positions #1, #2 in call
16 | }
17 |
:
56 | }
57 |
58 | private static func from(row: [String: String], with keysTrees: [(key: String, path: Tree)], rootTree: Tree) throws -> ExplorerXML {
| `- note: 'from(row:with:rootTree:)' declared here
59 | keysTrees.forEach { (key, tree) in
60 | if let value = row[key] {
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:15:24: error: missing arguments for parameters 'row', 'with', 'rootTree' in call
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
15 | return try from(csv: csv, headers: hasHeaders)
| `- error: missing arguments for parameters 'row', 'with', 'rootTree' in call
16 | }
17 |
:
56 | }
57 |
58 | private static func from(row: [String: String], with keysTrees: [(key: String, path: Tree)], rootTree: Tree) throws -> ExplorerXML {
| `- note: 'from(row:with:rootTree:)' declared here
59 | keysTrees.forEach { (key, tree) in
60 | if let value = row[key] {
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:90:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
88 | /// Check the the element name. With a default name, an array is returned.
89 | /// Otherwise a dictionary
90 | public static let `default` = SingleChildStrategy { (key, value) in
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
91 | if key == Element.defaultName {
92 | return array.transform(key, value)
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:82:27: warning: static property 'dictionary' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
80 | }
81 |
82 | public static let dictionary = SingleChildStrategy { (key, value) -> ExplorerValue in .dictionary([key: value]) }
| |- warning: static property 'dictionary' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dictionary' 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
83 | public static let array = SingleChildStrategy { (_, value) -> ExplorerValue in .array([value]) }
84 | public static func custom(_ transform: @escaping Transform) -> SingleChildStrategy {
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:83:27: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
81 |
82 | public static let dictionary = SingleChildStrategy { (key, value) -> ExplorerValue in .dictionary([key: value]) }
83 | public static let array = SingleChildStrategy { (_, value) -> ExplorerValue in .array([value]) }
| |- warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'array' 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
84 | public static func custom(_ transform: @escaping Transform) -> SingleChildStrategy {
85 | SingleChildStrategy { (key, value) in transform(key, value) }
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:18:35: error: reference to generic type 'CSV' requires arguments in <...>
16 | }
17 |
18 | private static func from(csv: CSV, headers: Bool) throws -> ExplorerXML {
| `- error: reference to generic type 'CSV' requires arguments in <...>
19 | if headers {
20 | return try fromArrayOfDictionaries(csv: csv)
/host/spi-builder-workspace/.build/checkouts/SwiftCSV/SwiftCSV/CSV.swift:66:12: note: generic type 'CSV' declared here
64 | /// For convenience, there's `EnumeratedCSV` to access fields in rows by their column index,
65 | /// and `NamedCSV` to access fields by their column names as defined in a header row.
66 | open class CSV<DataView : CSVView> {
| `- note: generic type 'CSV' declared here
67 |
68 | public let header: [String]
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:41:54: error: reference to generic type 'CSV' requires arguments in <...>
39 | }
40 |
41 | private static func fromArrayOfDictionaries(csv: CSV) throws -> ExplorerXML {
| `- error: reference to generic type 'CSV' requires arguments in <...>
42 | let rootTree = Tree.root(name: "element")
43 | let headers = try csv.header
/host/spi-builder-workspace/.build/checkouts/SwiftCSV/SwiftCSV/CSV.swift:66:12: note: generic type 'CSV' declared here
64 | /// For convenience, there's `EnumeratedCSV` to access fields in rows by their column index,
65 | /// and `NamedCSV` to access fields by their column names as defined in a header row.
66 | open class CSV<DataView : CSVView> {
| `- note: generic type 'CSV' declared here
67 |
68 | public let header: [String]
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:14:54: error: cannot convert value of type 'Character' to expected argument type 'CSVDelimiter'
12 |
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
| `- error: cannot convert value of type 'Character' to expected argument type 'CSVDelimiter'
15 | return try from(csv: csv, headers: hasHeaders)
16 | }
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:14:23: error: generic parameter 'DataView' could not be inferred
12 |
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
| |- error: generic parameter 'DataView' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
15 | return try from(csv: csv, headers: hasHeaders)
16 | }
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:15:24: error: extra arguments at positions #1, #2 in call
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
15 | return try from(csv: csv, headers: hasHeaders)
| `- error: extra arguments at positions #1, #2 in call
16 | }
17 |
:
56 | }
57 |
58 | private static func from(row: [String: String], with keysTrees: [(key: String, path: Tree)], rootTree: Tree) throws -> ExplorerXML {
| `- note: 'from(row:with:rootTree:)' declared here
59 | keysTrees.forEach { (key, tree) in
60 | if let value = row[key] {
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:15:24: error: missing arguments for parameters 'row', 'with', 'rootTree' in call
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
15 | return try from(csv: csv, headers: hasHeaders)
| `- error: missing arguments for parameters 'row', 'with', 'rootTree' in call
16 | }
17 |
:
56 | }
57 |
58 | private static func from(row: [String: String], with keysTrees: [(key: String, path: Tree)], rootTree: Tree) throws -> ExplorerXML {
| `- note: 'from(row:with:rootTree:)' declared here
59 | keysTrees.forEach { (key, tree) in
60 | if let value = row[key] {
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:90:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
88 | /// Check the the element name. With a default name, an array is returned.
89 | /// Otherwise a dictionary
90 | public static let `default` = SingleChildStrategy { (key, value) in
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
91 | if key == Element.defaultName {
92 | return array.transform(key, value)
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:82:27: warning: static property 'dictionary' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
80 | }
81 |
82 | public static let dictionary = SingleChildStrategy { (key, value) -> ExplorerValue in .dictionary([key: value]) }
| |- warning: static property 'dictionary' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dictionary' 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
83 | public static let array = SingleChildStrategy { (_, value) -> ExplorerValue in .array([value]) }
84 | public static func custom(_ transform: @escaping Transform) -> SingleChildStrategy {
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:83:27: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
81 |
82 | public static let dictionary = SingleChildStrategy { (key, value) -> ExplorerValue in .dictionary([key: value]) }
83 | public static let array = SingleChildStrategy { (_, value) -> ExplorerValue in .array([value]) }
| |- warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'array' 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
84 | public static func custom(_ transform: @escaping Transform) -> SingleChildStrategy {
85 | SingleChildStrategy { (key, value) in transform(key, value) }
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:18:35: error: reference to generic type 'CSV' requires arguments in <...>
16 | }
17 |
18 | private static func from(csv: CSV, headers: Bool) throws -> ExplorerXML {
| `- error: reference to generic type 'CSV' requires arguments in <...>
19 | if headers {
20 | return try fromArrayOfDictionaries(csv: csv)
/host/spi-builder-workspace/.build/checkouts/SwiftCSV/SwiftCSV/CSV.swift:66:12: note: generic type 'CSV' declared here
64 | /// For convenience, there's `EnumeratedCSV` to access fields in rows by their column index,
65 | /// and `NamedCSV` to access fields by their column names as defined in a header row.
66 | open class CSV<DataView : CSVView> {
| `- note: generic type 'CSV' declared here
67 |
68 | public let header: [String]
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:41:54: error: reference to generic type 'CSV' requires arguments in <...>
39 | }
40 |
41 | private static func fromArrayOfDictionaries(csv: CSV) throws -> ExplorerXML {
| `- error: reference to generic type 'CSV' requires arguments in <...>
42 | let rootTree = Tree.root(name: "element")
43 | let headers = try csv.header
/host/spi-builder-workspace/.build/checkouts/SwiftCSV/SwiftCSV/CSV.swift:66:12: note: generic type 'CSV' declared here
64 | /// For convenience, there's `EnumeratedCSV` to access fields in rows by their column index,
65 | /// and `NamedCSV` to access fields by their column names as defined in a header row.
66 | open class CSV<DataView : CSVView> {
| `- note: generic type 'CSV' declared here
67 |
68 | public let header: [String]
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:14:54: error: cannot convert value of type 'Character' to expected argument type 'CSVDelimiter'
12 |
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
| `- error: cannot convert value of type 'Character' to expected argument type 'CSVDelimiter'
15 | return try from(csv: csv, headers: hasHeaders)
16 | }
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:14:23: error: generic parameter 'DataView' could not be inferred
12 |
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
| |- error: generic parameter 'DataView' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
15 | return try from(csv: csv, headers: hasHeaders)
16 | }
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:15:24: error: extra arguments at positions #1, #2 in call
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
15 | return try from(csv: csv, headers: hasHeaders)
| `- error: extra arguments at positions #1, #2 in call
16 | }
17 |
:
56 | }
57 |
58 | private static func from(row: [String: String], with keysTrees: [(key: String, path: Tree)], rootTree: Tree) throws -> ExplorerXML {
| `- note: 'from(row:with:rootTree:)' declared here
59 | keysTrees.forEach { (key, tree) in
60 | if let value = row[key] {
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:15:24: error: missing arguments for parameters 'row', 'with', 'rootTree' in call
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
15 | return try from(csv: csv, headers: hasHeaders)
| `- error: missing arguments for parameters 'row', 'with', 'rootTree' in call
16 | }
17 |
:
56 | }
57 |
58 | private static func from(row: [String: String], with keysTrees: [(key: String, path: Tree)], rootTree: Tree) throws -> ExplorerXML {
| `- note: 'from(row:with:rootTree:)' declared here
59 | keysTrees.forEach { (key, tree) in
60 | if let value = row[key] {
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:90:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
88 | /// Check the the element name. With a default name, an array is returned.
89 | /// Otherwise a dictionary
90 | public static let `default` = SingleChildStrategy { (key, value) in
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
91 | if key == Element.defaultName {
92 | return array.transform(key, value)
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:82:27: warning: static property 'dictionary' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
80 | }
81 |
82 | public static let dictionary = SingleChildStrategy { (key, value) -> ExplorerValue in .dictionary([key: value]) }
| |- warning: static property 'dictionary' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dictionary' 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
83 | public static let array = SingleChildStrategy { (_, value) -> ExplorerValue in .array([value]) }
84 | public static func custom(_ transform: @escaping Transform) -> SingleChildStrategy {
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:83:27: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
81 |
82 | public static let dictionary = SingleChildStrategy { (key, value) -> ExplorerValue in .dictionary([key: value]) }
83 | public static let array = SingleChildStrategy { (_, value) -> ExplorerValue in .array([value]) }
| |- warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'array' 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
84 | public static func custom(_ transform: @escaping Transform) -> SingleChildStrategy {
85 | SingleChildStrategy { (key, value) in transform(key, value) }
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:18:35: error: reference to generic type 'CSV' requires arguments in <...>
16 | }
17 |
18 | private static func from(csv: CSV, headers: Bool) throws -> ExplorerXML {
| `- error: reference to generic type 'CSV' requires arguments in <...>
19 | if headers {
20 | return try fromArrayOfDictionaries(csv: csv)
/host/spi-builder-workspace/.build/checkouts/SwiftCSV/SwiftCSV/CSV.swift:66:12: note: generic type 'CSV' declared here
64 | /// For convenience, there's `EnumeratedCSV` to access fields in rows by their column index,
65 | /// and `NamedCSV` to access fields by their column names as defined in a header row.
66 | open class CSV<DataView : CSVView> {
| `- note: generic type 'CSV' declared here
67 |
68 | public let header: [String]
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:41:54: error: reference to generic type 'CSV' requires arguments in <...>
39 | }
40 |
41 | private static func fromArrayOfDictionaries(csv: CSV) throws -> ExplorerXML {
| `- error: reference to generic type 'CSV' requires arguments in <...>
42 | let rootTree = Tree.root(name: "element")
43 | let headers = try csv.header
/host/spi-builder-workspace/.build/checkouts/SwiftCSV/SwiftCSV/CSV.swift:66:12: note: generic type 'CSV' declared here
64 | /// For convenience, there's `EnumeratedCSV` to access fields in rows by their column index,
65 | /// and `NamedCSV` to access fields by their column names as defined in a header row.
66 | open class CSV<DataView : CSVView> {
| `- note: generic type 'CSV' declared here
67 |
68 | public let header: [String]
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:14:54: error: cannot convert value of type 'Character' to expected argument type 'CSVDelimiter'
12 |
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
| `- error: cannot convert value of type 'Character' to expected argument type 'CSVDelimiter'
15 | return try from(csv: csv, headers: hasHeaders)
16 | }
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:14:23: error: generic parameter 'DataView' could not be inferred
12 |
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
| |- error: generic parameter 'DataView' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
15 | return try from(csv: csv, headers: hasHeaders)
16 | }
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:15:24: error: extra arguments at positions #1, #2 in call
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
15 | return try from(csv: csv, headers: hasHeaders)
| `- error: extra arguments at positions #1, #2 in call
16 | }
17 |
:
56 | }
57 |
58 | private static func from(row: [String: String], with keysTrees: [(key: String, path: Tree)], rootTree: Tree) throws -> ExplorerXML {
| `- note: 'from(row:with:rootTree:)' declared here
59 | keysTrees.forEach { (key, tree) in
60 | if let value = row[key] {
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:15:24: error: missing arguments for parameters 'row', 'with', 'rootTree' in call
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
15 | return try from(csv: csv, headers: hasHeaders)
| `- error: missing arguments for parameters 'row', 'with', 'rootTree' in call
16 | }
17 |
:
56 | }
57 |
58 | private static func from(row: [String: String], with keysTrees: [(key: String, path: Tree)], rootTree: Tree) throws -> ExplorerXML {
| `- note: 'from(row:with:rootTree:)' declared here
59 | keysTrees.forEach { (key, tree) in
60 | if let value = row[key] {
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:90:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
88 | /// Check the the element name. With a default name, an array is returned.
89 | /// Otherwise a dictionary
90 | public static let `default` = SingleChildStrategy { (key, value) in
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
91 | if key == Element.defaultName {
92 | return array.transform(key, value)
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:82:27: warning: static property 'dictionary' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
80 | }
81 |
82 | public static let dictionary = SingleChildStrategy { (key, value) -> ExplorerValue in .dictionary([key: value]) }
| |- warning: static property 'dictionary' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dictionary' 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
83 | public static let array = SingleChildStrategy { (_, value) -> ExplorerValue in .array([value]) }
84 | public static func custom(_ transform: @escaping Transform) -> SingleChildStrategy {
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:83:27: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
81 |
82 | public static let dictionary = SingleChildStrategy { (key, value) -> ExplorerValue in .dictionary([key: value]) }
83 | public static let array = SingleChildStrategy { (_, value) -> ExplorerValue in .array([value]) }
| |- warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'array' 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
84 | public static func custom(_ transform: @escaping Transform) -> SingleChildStrategy {
85 | SingleChildStrategy { (key, value) in transform(key, value) }
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:18:35: error: reference to generic type 'CSV' requires arguments in <...>
16 | }
17 |
18 | private static func from(csv: CSV, headers: Bool) throws -> ExplorerXML {
| `- error: reference to generic type 'CSV' requires arguments in <...>
19 | if headers {
20 | return try fromArrayOfDictionaries(csv: csv)
/host/spi-builder-workspace/.build/checkouts/SwiftCSV/SwiftCSV/CSV.swift:66:12: note: generic type 'CSV' declared here
64 | /// For convenience, there's `EnumeratedCSV` to access fields in rows by their column index,
65 | /// and `NamedCSV` to access fields by their column names as defined in a header row.
66 | open class CSV<DataView : CSVView> {
| `- note: generic type 'CSV' declared here
67 |
68 | public let header: [String]
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:41:54: error: reference to generic type 'CSV' requires arguments in <...>
39 | }
40 |
41 | private static func fromArrayOfDictionaries(csv: CSV) throws -> ExplorerXML {
| `- error: reference to generic type 'CSV' requires arguments in <...>
42 | let rootTree = Tree.root(name: "element")
43 | let headers = try csv.header
/host/spi-builder-workspace/.build/checkouts/SwiftCSV/SwiftCSV/CSV.swift:66:12: note: generic type 'CSV' declared here
64 | /// For convenience, there's `EnumeratedCSV` to access fields in rows by their column index,
65 | /// and `NamedCSV` to access fields by their column names as defined in a header row.
66 | open class CSV<DataView : CSVView> {
| `- note: generic type 'CSV' declared here
67 |
68 | public let header: [String]
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:14:54: error: cannot convert value of type 'Character' to expected argument type 'CSVDelimiter'
12 |
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
| `- error: cannot convert value of type 'Character' to expected argument type 'CSVDelimiter'
15 | return try from(csv: csv, headers: hasHeaders)
16 | }
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:14:23: error: generic parameter 'DataView' could not be inferred
12 |
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
| |- error: generic parameter 'DataView' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
15 | return try from(csv: csv, headers: hasHeaders)
16 | }
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:15:24: error: extra arguments at positions #1, #2 in call
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
15 | return try from(csv: csv, headers: hasHeaders)
| `- error: extra arguments at positions #1, #2 in call
16 | }
17 |
:
56 | }
57 |
58 | private static func from(row: [String: String], with keysTrees: [(key: String, path: Tree)], rootTree: Tree) throws -> ExplorerXML {
| `- note: 'from(row:with:rootTree:)' declared here
59 | keysTrees.forEach { (key, tree) in
60 | if let value = row[key] {
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:15:24: error: missing arguments for parameters 'row', 'with', 'rootTree' in call
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
15 | return try from(csv: csv, headers: hasHeaders)
| `- error: missing arguments for parameters 'row', 'with', 'rootTree' in call
16 | }
17 |
:
56 | }
57 |
58 | private static func from(row: [String: String], with keysTrees: [(key: String, path: Tree)], rootTree: Tree) throws -> ExplorerXML {
| `- note: 'from(row:with:rootTree:)' declared here
59 | keysTrees.forEach { (key, tree) in
60 | if let value = row[key] {
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:90:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
88 | /// Check the the element name. With a default name, an array is returned.
89 | /// Otherwise a dictionary
90 | public static let `default` = SingleChildStrategy { (key, value) in
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
91 | if key == Element.defaultName {
92 | return array.transform(key, value)
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:82:27: warning: static property 'dictionary' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
80 | }
81 |
82 | public static let dictionary = SingleChildStrategy { (key, value) -> ExplorerValue in .dictionary([key: value]) }
| |- warning: static property 'dictionary' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dictionary' 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
83 | public static let array = SingleChildStrategy { (_, value) -> ExplorerValue in .array([value]) }
84 | public static func custom(_ transform: @escaping Transform) -> SingleChildStrategy {
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:83:27: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
81 |
82 | public static let dictionary = SingleChildStrategy { (key, value) -> ExplorerValue in .dictionary([key: value]) }
83 | public static let array = SingleChildStrategy { (_, value) -> ExplorerValue in .array([value]) }
| |- warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'array' 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
84 | public static func custom(_ transform: @escaping Transform) -> SingleChildStrategy {
85 | SingleChildStrategy { (key, value) in transform(key, value) }
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:18:35: error: reference to generic type 'CSV' requires arguments in <...>
16 | }
17 |
18 | private static func from(csv: CSV, headers: Bool) throws -> ExplorerXML {
| `- error: reference to generic type 'CSV' requires arguments in <...>
19 | if headers {
20 | return try fromArrayOfDictionaries(csv: csv)
/host/spi-builder-workspace/.build/checkouts/SwiftCSV/SwiftCSV/CSV.swift:66:12: note: generic type 'CSV' declared here
64 | /// For convenience, there's `EnumeratedCSV` to access fields in rows by their column index,
65 | /// and `NamedCSV` to access fields by their column names as defined in a header row.
66 | open class CSV<DataView : CSVView> {
| `- note: generic type 'CSV' declared here
67 |
68 | public let header: [String]
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:41:54: error: reference to generic type 'CSV' requires arguments in <...>
39 | }
40 |
41 | private static func fromArrayOfDictionaries(csv: CSV) throws -> ExplorerXML {
| `- error: reference to generic type 'CSV' requires arguments in <...>
42 | let rootTree = Tree.root(name: "element")
43 | let headers = try csv.header
/host/spi-builder-workspace/.build/checkouts/SwiftCSV/SwiftCSV/CSV.swift:66:12: note: generic type 'CSV' declared here
64 | /// For convenience, there's `EnumeratedCSV` to access fields in rows by their column index,
65 | /// and `NamedCSV` to access fields by their column names as defined in a header row.
66 | open class CSV<DataView : CSVView> {
| `- note: generic type 'CSV' declared here
67 |
68 | public let header: [String]
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:14:54: error: cannot convert value of type 'Character' to expected argument type 'CSVDelimiter'
12 |
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
| `- error: cannot convert value of type 'Character' to expected argument type 'CSVDelimiter'
15 | return try from(csv: csv, headers: hasHeaders)
16 | }
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:14:23: error: generic parameter 'DataView' could not be inferred
12 |
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
| |- error: generic parameter 'DataView' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
15 | return try from(csv: csv, headers: hasHeaders)
16 | }
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:15:24: error: extra arguments at positions #1, #2 in call
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
15 | return try from(csv: csv, headers: hasHeaders)
| `- error: extra arguments at positions #1, #2 in call
16 | }
17 |
:
56 | }
57 |
58 | private static func from(row: [String: String], with keysTrees: [(key: String, path: Tree)], rootTree: Tree) throws -> ExplorerXML {
| `- note: 'from(row:with:rootTree:)' declared here
59 | keysTrees.forEach { (key, tree) in
60 | if let value = row[key] {
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+CSVImport.swift:15:24: error: missing arguments for parameters 'row', 'with', 'rootTree' in call
13 | public static func fromCSV(string: String, separator: Character, hasHeaders: Bool) throws -> ExplorerXML {
14 | let csv = try CSV(string: string, delimiter: separator, loadColumns: hasHeaders)
15 | return try from(csv: csv, headers: hasHeaders)
| `- error: missing arguments for parameters 'row', 'with', 'rootTree' in call
16 | }
17 |
:
56 | }
57 |
58 | private static func from(row: [String: String], with keysTrees: [(key: String, path: Tree)], rootTree: Tree) throws -> ExplorerXML {
| `- note: 'from(row:with:rootTree:)' declared here
59 | keysTrees.forEach { (key, tree) in
60 | if let value = row[key] {
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:90:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
88 | /// Check the the element name. With a default name, an array is returned.
89 | /// Otherwise a dictionary
90 | public static let `default` = SingleChildStrategy { (key, value) in
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
91 | if key == Element.defaultName {
92 | return array.transform(key, value)
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:82:27: warning: static property 'dictionary' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
80 | }
81 |
82 | public static let dictionary = SingleChildStrategy { (key, value) -> ExplorerValue in .dictionary([key: value]) }
| |- warning: static property 'dictionary' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dictionary' 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
83 | public static let array = SingleChildStrategy { (_, value) -> ExplorerValue in .array([value]) }
84 | public static func custom(_ transform: @escaping Transform) -> SingleChildStrategy {
/host/spi-builder-workspace/Sources/Scout/ExplorerXML/ExplorerXML+ExplorerValue.swift:83:27: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
72 | }
73 |
74 | public struct SingleChildStrategy {
| `- note: consider making struct 'SingleChildStrategy' conform to the 'Sendable' protocol
75 | public typealias Transform = (_ key: String, _ value: ExplorerValue) -> ExplorerValue
76 | var transform: Transform
:
81 |
82 | public static let dictionary = SingleChildStrategy { (key, value) -> ExplorerValue in .dictionary([key: value]) }
83 | public static let array = SingleChildStrategy { (_, value) -> ExplorerValue in .array([value]) }
| |- warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'ExplorerXML.SingleChildStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'array' 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
84 | public static func custom(_ transform: @escaping Transform) -> SingleChildStrategy {
85 | SingleChildStrategy { (key, value) in transform(key, value) }
BUILD FAILURE 6.0 linux