Build Information
Failed to build Outlaw, reference master (55306e
), with Swift 6.1 for Android on 27 May 2025 10:41:58 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
14 | case keyNotFound(key: Key)
15 | case nullValueWithKey(key: Key)
16 | case typeMismatchWithKey(key: Key, expected: Any, actual: Any)
| `- warning: associated value 'typeMismatchWithKey(key:expected:actual:)' of 'Sendable'-conforming enum 'OutlawError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
17 | case indexNotFound(index: Index)
18 | case nullValueWithIndex(index: Index)
/host/spi-builder-workspace/Sources/Outlaw/Core/OutlawError.swift:17:10: warning: associated value 'indexNotFound(index:)' of 'Sendable'-conforming enum 'OutlawError' has non-sendable type 'any Index'; this is an error in the Swift 6 language mode
15 | case nullValueWithKey(key: Key)
16 | case typeMismatchWithKey(key: Key, expected: Any, actual: Any)
17 | case indexNotFound(index: Index)
| `- warning: associated value 'indexNotFound(index:)' of 'Sendable'-conforming enum 'OutlawError' has non-sendable type 'any Index'; this is an error in the Swift 6 language mode
18 | case nullValueWithIndex(index: Index)
19 | case typeMismatchWithIndex(index: Index, expected: Any, actual: Any)
/host/spi-builder-workspace/Sources/Outlaw/Core/IndexExtractable/Index.swift:12:17: note: protocol 'Index' does not conform to the 'Sendable' protocol
10 |
11 |
12 | public protocol Index {
| `- note: protocol 'Index' does not conform to the 'Sendable' protocol
13 | var outlawIndex: Int { get }
14 | }
/host/spi-builder-workspace/Sources/Outlaw/Core/OutlawError.swift:18:10: warning: associated value 'nullValueWithIndex(index:)' of 'Sendable'-conforming enum 'OutlawError' has non-sendable type 'any Index'; this is an error in the Swift 6 language mode
16 | case typeMismatchWithKey(key: Key, expected: Any, actual: Any)
17 | case indexNotFound(index: Index)
18 | case nullValueWithIndex(index: Index)
| `- warning: associated value 'nullValueWithIndex(index:)' of 'Sendable'-conforming enum 'OutlawError' has non-sendable type 'any Index'; this is an error in the Swift 6 language mode
19 | case typeMismatchWithIndex(index: Index, expected: Any, actual: Any)
20 |
/host/spi-builder-workspace/Sources/Outlaw/Core/IndexExtractable/Index.swift:12:17: note: protocol 'Index' does not conform to the 'Sendable' protocol
10 |
11 |
12 | public protocol Index {
| `- note: protocol 'Index' does not conform to the 'Sendable' protocol
13 | var outlawIndex: Int { get }
14 | }
/host/spi-builder-workspace/Sources/Outlaw/Core/OutlawError.swift:19:10: warning: associated value 'typeMismatchWithIndex(index:expected:actual:)' of 'Sendable'-conforming enum 'OutlawError' has non-sendable type 'any Index'; this is an error in the Swift 6 language mode
17 | case indexNotFound(index: Index)
18 | case nullValueWithIndex(index: Index)
19 | case typeMismatchWithIndex(index: Index, expected: Any, actual: Any)
| `- warning: associated value 'typeMismatchWithIndex(index:expected:actual:)' of 'Sendable'-conforming enum 'OutlawError' has non-sendable type 'any Index'; this is an error in the Swift 6 language mode
20 |
21 | public var description: String {
/host/spi-builder-workspace/Sources/Outlaw/Core/IndexExtractable/Index.swift:12:17: note: protocol 'Index' does not conform to the 'Sendable' protocol
10 |
11 |
12 | public protocol Index {
| `- note: protocol 'Index' does not conform to the 'Sendable' protocol
13 | var outlawIndex: Int { get }
14 | }
/host/spi-builder-workspace/Sources/Outlaw/Core/OutlawError.swift:19:10: warning: associated value 'typeMismatchWithIndex(index:expected:actual:)' of 'Sendable'-conforming enum 'OutlawError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
17 | case indexNotFound(index: Index)
18 | case nullValueWithIndex(index: Index)
19 | case typeMismatchWithIndex(index: Index, expected: Any, actual: Any)
| `- warning: associated value 'typeMismatchWithIndex(index:expected:actual:)' of 'Sendable'-conforming enum 'OutlawError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
20 |
21 | public var description: String {
/host/spi-builder-workspace/Sources/Outlaw/Core/OutlawError.swift:19:10: warning: associated value 'typeMismatchWithIndex(index:expected:actual:)' of 'Sendable'-conforming enum 'OutlawError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
17 | case indexNotFound(index: Index)
18 | case nullValueWithIndex(index: Index)
19 | case typeMismatchWithIndex(index: Index, expected: Any, actual: Any)
| `- warning: associated value 'typeMismatchWithIndex(index:expected:actual:)' of 'Sendable'-conforming enum 'OutlawError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
20 |
21 | public var description: String {
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:41:55: error: extra arguments at positions #2, #4 in call
39 | #else
40 | var error: NSError? = nil
41 | let result = JSONSerialization.writeJSONObject(collection, to: stream, options: options, error: &error)
| `- error: extra arguments at positions #2, #4 in call
42 | if let error = error {
43 | throw error
Foundation.JSONSerialization.writeJSONObject:2:17: note: 'writeJSONObject(_:toStream:options:)' declared here
1 | class JSONSerialization {
2 | open class func writeJSONObject(_ obj: Any, toStream stream: OutputStream, options opt: JSONSerialization.WritingOptions) throws -> Int}
| `- note: 'writeJSONObject(_:toStream:options:)' declared here
3 |
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:41:66: error: missing argument for parameter 'toStream' in call
39 | #else
40 | var error: NSError? = nil
41 | let result = JSONSerialization.writeJSONObject(collection, to: stream, options: options, error: &error)
| `- error: missing argument for parameter 'toStream' in call
42 | if let error = error {
43 | throw error
Foundation.JSONSerialization.writeJSONObject:2:17: note: 'writeJSONObject(_:toStream:options:)' declared here
1 | class JSONSerialization {
2 | open class func writeJSONObject(_ obj: Any, toStream stream: OutputStream, options opt: JSONSerialization.WritingOptions) throws -> Int}
| `- note: 'writeJSONObject(_:toStream:options:)' declared here
3 |
[38/50] Compiling Outlaw Deserializable.swift
/host/spi-builder-workspace/Sources/Outlaw/Core/OutlawError.swift:13:10: warning: associated value 'typeMismatch(expected:actual:)' of 'Sendable'-conforming enum 'OutlawError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
11 |
12 | public enum OutlawError: Error, CustomStringConvertible, CustomDebugStringConvertible {
13 | case typeMismatch(expected: Any, actual: Any)
| `- warning: associated value 'typeMismatch(expected:actual:)' of 'Sendable'-conforming enum 'OutlawError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
14 | case keyNotFound(key: Key)
15 | case nullValueWithKey(key: Key)
/host/spi-builder-workspace/Sources/Outlaw/Core/OutlawError.swift:13:10: warning: associated value 'typeMismatch(expected:actual:)' of 'Sendable'-conforming enum 'OutlawError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
11 |
12 | public enum OutlawError: Error, CustomStringConvertible, CustomDebugStringConvertible {
13 | case typeMismatch(expected: Any, actual: Any)
| `- warning: associated value 'typeMismatch(expected:actual:)' of 'Sendable'-conforming enum 'OutlawError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
14 | case keyNotFound(key: Key)
15 | case nullValueWithKey(key: Key)
/host/spi-builder-workspace/Sources/Outlaw/Core/OutlawError.swift:14:10: warning: associated value 'keyNotFound(key:)' of 'Sendable'-conforming enum 'OutlawError' has non-sendable type 'any Key'; this is an error in the Swift 6 language mode
12 | public enum OutlawError: Error, CustomStringConvertible, CustomDebugStringConvertible {
13 | case typeMismatch(expected: Any, actual: Any)
14 | case keyNotFound(key: Key)
| `- warning: associated value 'keyNotFound(key:)' of 'Sendable'-conforming enum 'OutlawError' has non-sendable type 'any Key'; this is an error in the Swift 6 language mode
15 | case nullValueWithKey(key: Key)
16 | case typeMismatchWithKey(key: Key, expected: Any, actual: Any)
/host/spi-builder-workspace/Sources/Outlaw/Core/Extractable/Key.swift:13:17: note: protocol 'Key' does not conform to the 'Sendable' protocol
11 |
12 |
13 | public protocol Key {
| `- note: protocol 'Key' does not conform to the 'Sendable' protocol
14 | var outlawKey: String { get }
15 | }
/host/spi-builder-workspace/Sources/Outlaw/Core/OutlawError.swift:15:10: warning: associated value 'nullValueWithKey(key:)' of 'Sendable'-conforming enum 'OutlawError' has non-sendable type 'any Key'; this is an error in the Swift 6 language mode
13 | case typeMismatch(expected: Any, actual: Any)
14 | case keyNotFound(key: Key)
15 | case nullValueWithKey(key: Key)
| `- warning: associated value 'nullValueWithKey(key:)' of 'Sendable'-conforming enum 'OutlawError' has non-sendable type 'any Key'; this is an error in the Swift 6 language mode
16 | case typeMismatchWithKey(key: Key, expected: Any, actual: Any)
17 | case indexNotFound(index: Index)
/host/spi-builder-workspace/Sources/Outlaw/Core/Extractable/Key.swift:13:17: note: protocol 'Key' does not conform to the 'Sendable' protocol
11 |
12 |
13 | public protocol Key {
| `- note: protocol 'Key' does not conform to the 'Sendable' protocol
14 | var outlawKey: String { get }
15 | }
/host/spi-builder-workspace/Sources/Outlaw/Core/OutlawError.swift:16:10: warning: associated value 'typeMismatchWithKey(key:expected:actual:)' of 'Sendable'-conforming enum 'OutlawError' has non-sendable type 'any Key'; this is an error in the Swift 6 language mode
14 | case keyNotFound(key: Key)
15 | case nullValueWithKey(key: Key)
16 | case typeMismatchWithKey(key: Key, expected: Any, actual: Any)
| `- warning: associated value 'typeMismatchWithKey(key:expected:actual:)' of 'Sendable'-conforming enum 'OutlawError' has non-sendable type 'any Key'; this is an error in the Swift 6 language mode
17 | case indexNotFound(index: Index)
18 | case nullValueWithIndex(index: Index)
/host/spi-builder-workspace/Sources/Outlaw/Core/Extractable/Key.swift:13:17: note: protocol 'Key' does not conform to the 'Sendable' protocol
11 |
12 |
13 | public protocol Key {
| `- note: protocol 'Key' does not conform to the 'Sendable' protocol
14 | var outlawKey: String { get }
15 | }
/host/spi-builder-workspace/Sources/Outlaw/Core/OutlawError.swift:16:10: warning: associated value 'typeMismatchWithKey(key:expected:actual:)' of 'Sendable'-conforming enum 'OutlawError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
14 | case keyNotFound(key: Key)
15 | case nullValueWithKey(key: Key)
16 | case typeMismatchWithKey(key: Key, expected: Any, actual: Any)
| `- warning: associated value 'typeMismatchWithKey(key:expected:actual:)' of 'Sendable'-conforming enum 'OutlawError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
17 | case indexNotFound(index: Index)
18 | case nullValueWithIndex(index: Index)
/host/spi-builder-workspace/Sources/Outlaw/Core/OutlawError.swift:16:10: warning: associated value 'typeMismatchWithKey(key:expected:actual:)' of 'Sendable'-conforming enum 'OutlawError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
14 | case keyNotFound(key: Key)
15 | case nullValueWithKey(key: Key)
16 | case typeMismatchWithKey(key: Key, expected: Any, actual: Any)
| `- warning: associated value 'typeMismatchWithKey(key:expected:actual:)' of 'Sendable'-conforming enum 'OutlawError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
17 | case indexNotFound(index: Index)
18 | case nullValueWithIndex(index: Index)
/host/spi-builder-workspace/Sources/Outlaw/Core/OutlawError.swift:17:10: warning: associated value 'indexNotFound(index:)' of 'Sendable'-conforming enum 'OutlawError' has non-sendable type 'any Index'; this is an error in the Swift 6 language mode
15 | case nullValueWithKey(key: Key)
16 | case typeMismatchWithKey(key: Key, expected: Any, actual: Any)
17 | case indexNotFound(index: Index)
| `- warning: associated value 'indexNotFound(index:)' of 'Sendable'-conforming enum 'OutlawError' has non-sendable type 'any Index'; this is an error in the Swift 6 language mode
18 | case nullValueWithIndex(index: Index)
19 | case typeMismatchWithIndex(index: Index, expected: Any, actual: Any)
/host/spi-builder-workspace/Sources/Outlaw/Core/IndexExtractable/Index.swift:12:17: note: protocol 'Index' does not conform to the 'Sendable' protocol
10 |
11 |
12 | public protocol Index {
| `- note: protocol 'Index' does not conform to the 'Sendable' protocol
13 | var outlawIndex: Int { get }
14 | }
/host/spi-builder-workspace/Sources/Outlaw/Core/OutlawError.swift:18:10: warning: associated value 'nullValueWithIndex(index:)' of 'Sendable'-conforming enum 'OutlawError' has non-sendable type 'any Index'; this is an error in the Swift 6 language mode
16 | case typeMismatchWithKey(key: Key, expected: Any, actual: Any)
17 | case indexNotFound(index: Index)
18 | case nullValueWithIndex(index: Index)
| `- warning: associated value 'nullValueWithIndex(index:)' of 'Sendable'-conforming enum 'OutlawError' has non-sendable type 'any Index'; this is an error in the Swift 6 language mode
19 | case typeMismatchWithIndex(index: Index, expected: Any, actual: Any)
20 |
/host/spi-builder-workspace/Sources/Outlaw/Core/IndexExtractable/Index.swift:12:17: note: protocol 'Index' does not conform to the 'Sendable' protocol
10 |
11 |
12 | public protocol Index {
| `- note: protocol 'Index' does not conform to the 'Sendable' protocol
13 | var outlawIndex: Int { get }
14 | }
/host/spi-builder-workspace/Sources/Outlaw/Core/OutlawError.swift:19:10: warning: associated value 'typeMismatchWithIndex(index:expected:actual:)' of 'Sendable'-conforming enum 'OutlawError' has non-sendable type 'any Index'; this is an error in the Swift 6 language mode
17 | case indexNotFound(index: Index)
18 | case nullValueWithIndex(index: Index)
19 | case typeMismatchWithIndex(index: Index, expected: Any, actual: Any)
| `- warning: associated value 'typeMismatchWithIndex(index:expected:actual:)' of 'Sendable'-conforming enum 'OutlawError' has non-sendable type 'any Index'; this is an error in the Swift 6 language mode
20 |
21 | public var description: String {
/host/spi-builder-workspace/Sources/Outlaw/Core/IndexExtractable/Index.swift:12:17: note: protocol 'Index' does not conform to the 'Sendable' protocol
10 |
11 |
12 | public protocol Index {
| `- note: protocol 'Index' does not conform to the 'Sendable' protocol
13 | var outlawIndex: Int { get }
14 | }
/host/spi-builder-workspace/Sources/Outlaw/Core/OutlawError.swift:19:10: warning: associated value 'typeMismatchWithIndex(index:expected:actual:)' of 'Sendable'-conforming enum 'OutlawError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
17 | case indexNotFound(index: Index)
18 | case nullValueWithIndex(index: Index)
19 | case typeMismatchWithIndex(index: Index, expected: Any, actual: Any)
| `- warning: associated value 'typeMismatchWithIndex(index:expected:actual:)' of 'Sendable'-conforming enum 'OutlawError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
20 |
21 | public var description: String {
/host/spi-builder-workspace/Sources/Outlaw/Core/OutlawError.swift:19:10: warning: associated value 'typeMismatchWithIndex(index:expected:actual:)' of 'Sendable'-conforming enum 'OutlawError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
17 | case indexNotFound(index: Index)
18 | case nullValueWithIndex(index: Index)
19 | case typeMismatchWithIndex(index: Index, expected: Any, actual: Any)
| `- warning: associated value 'typeMismatchWithIndex(index:expected:actual:)' of 'Sendable'-conforming enum 'OutlawError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
20 |
21 | public var description: String {
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:41:55: error: extra arguments at positions #2, #4 in call
39 | #else
40 | var error: NSError? = nil
41 | let result = JSONSerialization.writeJSONObject(collection, to: stream, options: options, error: &error)
| `- error: extra arguments at positions #2, #4 in call
42 | if let error = error {
43 | throw error
Foundation.JSONSerialization.writeJSONObject:2:17: note: 'writeJSONObject(_:toStream:options:)' declared here
1 | class JSONSerialization {
2 | open class func writeJSONObject(_ obj: Any, toStream stream: OutputStream, options opt: JSONSerialization.WritingOptions) throws -> Int}
| `- note: 'writeJSONObject(_:toStream:options:)' declared here
3 |
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:41:66: error: missing argument for parameter 'toStream' in call
39 | #else
40 | var error: NSError? = nil
41 | let result = JSONSerialization.writeJSONObject(collection, to: stream, options: options, error: &error)
| `- error: missing argument for parameter 'toStream' in call
42 | if let error = error {
43 | throw error
Foundation.JSONSerialization.writeJSONObject:2:17: note: 'writeJSONObject(_:toStream:options:)' declared here
1 | class JSONSerialization {
2 | open class func writeJSONObject(_ obj: Any, toStream stream: OutputStream, options opt: JSONSerialization.WritingOptions) throws -> Int}
| `- note: 'writeJSONObject(_:toStream:options:)' declared here
3 |
[39/50] Compiling Outlaw Key.swift
[40/50] Compiling Outlaw Array+IndexExtractable.swift
[41/50] Compiling Outlaw Index.swift
[42/50] Compiling Outlaw IndexExtractable+Enum.swift
[43/50] Compiling Outlaw IndexExtractable+Value.swift
[44/50] Compiling Outlaw IndexExtractable+ValueWithContext.swift
[45/50] Compiling Outlaw Dictionary+map.swift
/host/spi-builder-workspace/Sources/Outlaw/Core/Extractable/Dictionary+Extractable.swift:26:42: error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
24 | }
25 | #else
26 | guard let value: Any = self.value(forKeyPath: key.outlawKey) else {
| `- error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
27 | throw OutlawError.keyNotFound(key: key)
28 | }
[46/50] Compiling Outlaw Dictionary+Extractable.swift
/host/spi-builder-workspace/Sources/Outlaw/Core/Extractable/Dictionary+Extractable.swift:26:42: error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
24 | }
25 | #else
26 | guard let value: Any = self.value(forKeyPath: key.outlawKey) else {
| `- error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
27 | throw OutlawError.keyNotFound(key: key)
28 | }
[47/50] Compiling Outlaw Extractable+Enum.swift
/host/spi-builder-workspace/Sources/Outlaw/Core/Extractable/Dictionary+Extractable.swift:26:42: error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
24 | }
25 | #else
26 | guard let value: Any = self.value(forKeyPath: key.outlawKey) else {
| `- error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
27 | throw OutlawError.keyNotFound(key: key)
28 | }
[48/50] Compiling Outlaw Extractable+Value.swift
/host/spi-builder-workspace/Sources/Outlaw/Core/Extractable/Dictionary+Extractable.swift:26:42: error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
24 | }
25 | #else
26 | guard let value: Any = self.value(forKeyPath: key.outlawKey) else {
| `- error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
27 | throw OutlawError.keyNotFound(key: key)
28 | }
[49/50] Compiling Outlaw Extractable+ValueWithContext.swift
/host/spi-builder-workspace/Sources/Outlaw/Core/Extractable/Dictionary+Extractable.swift:26:42: error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
24 | }
25 | #else
26 | guard let value: Any = self.value(forKeyPath: key.outlawKey) else {
| `- error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
27 | throw OutlawError.keyNotFound(key: key)
28 | }
[50/50] Compiling Outlaw Extractable.swift
/host/spi-builder-workspace/Sources/Outlaw/Core/Extractable/Dictionary+Extractable.swift:26:42: error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
24 | }
25 | #else
26 | guard let value: Any = self.value(forKeyPath: key.outlawKey) else {
| `- error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
27 | throw OutlawError.keyNotFound(key: key)
28 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/44] Compiling Outlaw ValueWithContext.swift
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:13:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Array {
13 | static func mappedValue<Element: Value>(from object: Any) throws -> [Element] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | guard let anyArray = object as? [Any] else {
15 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:27:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
25 | }
26 |
27 | static func mappedValue<Element: Value>(from object: Any) throws -> [Element?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | guard let anyArray = object as? [Any?] else {
29 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:44:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
42 |
43 | public extension Array {
44 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element) throws -> T) throws -> [T] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
45 | guard let anyArray = object as? [Any] else {
46 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:58:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
56 | }
57 |
58 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element?) throws -> T) throws -> [T] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
59 | guard let anyArray = object as? [Any?] else {
60 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:70:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
68 | }
69 |
70 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element) -> T?) throws -> [T?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
71 | guard let anyArray = object as? [Any?] else {
72 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:84:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
82 | }
83 |
84 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element?) -> T?) throws -> [T?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
85 | guard let anyArray = object as? [Any?] else {
86 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
[3/44] Compiling Outlaw Array.swift
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:13:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Array {
13 | static func mappedValue<Element: Value>(from object: Any) throws -> [Element] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | guard let anyArray = object as? [Any] else {
15 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:27:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
25 | }
26 |
27 | static func mappedValue<Element: Value>(from object: Any) throws -> [Element?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | guard let anyArray = object as? [Any?] else {
29 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:44:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
42 |
43 | public extension Array {
44 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element) throws -> T) throws -> [T] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
45 | guard let anyArray = object as? [Any] else {
46 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:58:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
56 | }
57 |
58 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element?) throws -> T) throws -> [T] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
59 | guard let anyArray = object as? [Any?] else {
60 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:70:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
68 | }
69 |
70 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element) -> T?) throws -> [T?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
71 | guard let anyArray = object as? [Any?] else {
72 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:84:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
82 | }
83 |
84 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element?) -> T?) throws -> [T?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
85 | guard let anyArray = object as? [Any?] else {
86 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
[4/44] Compiling Outlaw Dictionary.swift
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:13:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Array {
13 | static func mappedValue<Element: Value>(from object: Any) throws -> [Element] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | guard let anyArray = object as? [Any] else {
15 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:27:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
25 | }
26 |
27 | static func mappedValue<Element: Value>(from object: Any) throws -> [Element?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | guard let anyArray = object as? [Any?] else {
29 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:44:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
42 |
43 | public extension Array {
44 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element) throws -> T) throws -> [T] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
45 | guard let anyArray = object as? [Any] else {
46 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:58:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
56 | }
57 |
58 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element?) throws -> T) throws -> [T] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
59 | guard let anyArray = object as? [Any?] else {
60 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:70:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
68 | }
69 |
70 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element) -> T?) throws -> [T?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
71 | guard let anyArray = object as? [Any?] else {
72 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:84:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
82 | }
83 |
84 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element?) -> T?) throws -> [T?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
85 | guard let anyArray = object as? [Any?] else {
86 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
[5/44] Compiling Outlaw Set.swift
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:13:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Array {
13 | static func mappedValue<Element: Value>(from object: Any) throws -> [Element] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | guard let anyArray = object as? [Any] else {
15 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:27:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
25 | }
26 |
27 | static func mappedValue<Element: Value>(from object: Any) throws -> [Element?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | guard let anyArray = object as? [Any?] else {
29 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:44:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
42 |
43 | public extension Array {
44 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element) throws -> T) throws -> [T] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
45 | guard let anyArray = object as? [Any] else {
46 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:58:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
56 | }
57 |
58 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element?) throws -> T) throws -> [T] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
59 | guard let anyArray = object as? [Any?] else {
60 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:70:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
68 | }
69 |
70 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element) -> T?) throws -> [T?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
71 | guard let anyArray = object as? [Any?] else {
72 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:84:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
82 | }
83 |
84 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element?) -> T?) throws -> [T?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
85 | guard let anyArray = object as? [Any?] else {
86 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
[6/44] Compiling Outlaw Array+Value.swift
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:13:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Array {
13 | static func mappedValue<Element: Value>(from object: Any) throws -> [Element] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | guard let anyArray = object as? [Any] else {
15 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:27:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
25 | }
26 |
27 | static func mappedValue<Element: Value>(from object: Any) throws -> [Element?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | guard let anyArray = object as? [Any?] else {
29 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:44:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
42 |
43 | public extension Array {
44 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element) throws -> T) throws -> [T] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
45 | guard let anyArray = object as? [Any] else {
46 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:58:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
56 | }
57 |
58 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element?) throws -> T) throws -> [T] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
59 | guard let anyArray = object as? [Any?] else {
60 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:70:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
68 | }
69 |
70 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element) -> T?) throws -> [T?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
71 | guard let anyArray = object as? [Any?] else {
72 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:84:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
82 | }
83 |
84 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element?) -> T?) throws -> [T?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
85 | guard let anyArray = object as? [Any?] else {
86 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
[7/44] Compiling Outlaw Bool+Value.swift
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:13:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Array {
13 | static func mappedValue<Element: Value>(from object: Any) throws -> [Element] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | guard let anyArray = object as? [Any] else {
15 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:27:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
25 | }
26 |
27 | static func mappedValue<Element: Value>(from object: Any) throws -> [Element?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | guard let anyArray = object as? [Any?] else {
29 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:44:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
42 |
43 | public extension Array {
44 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element) throws -> T) throws -> [T] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
45 | guard let anyArray = object as? [Any] else {
46 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:58:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
56 | }
57 |
58 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element?) throws -> T) throws -> [T] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
59 | guard let anyArray = object as? [Any?] else {
60 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:70:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
68 | }
69 |
70 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element) -> T?) throws -> [T?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
71 | guard let anyArray = object as? [Any?] else {
72 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:84:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
82 | }
83 |
84 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element?) -> T?) throws -> [T?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
85 | guard let anyArray = object as? [Any?] else {
86 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
[8/49] Compiling Outlaw Dictionary+map.swift
/host/spi-builder-workspace/Sources/Outlaw/Core/Extractable/Dictionary+Extractable.swift:26:42: error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
24 | }
25 | #else
26 | guard let value: Any = self.value(forKeyPath: key.outlawKey) else {
| `- error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
27 | throw OutlawError.keyNotFound(key: key)
28 | }
[9/49] Compiling Outlaw Dictionary+Extractable.swift
/host/spi-builder-workspace/Sources/Outlaw/Core/Extractable/Dictionary+Extractable.swift:26:42: error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
24 | }
25 | #else
26 | guard let value: Any = self.value(forKeyPath: key.outlawKey) else {
| `- error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
27 | throw OutlawError.keyNotFound(key: key)
28 | }
[10/49] Compiling Outlaw Extractable+Enum.swift
/host/spi-builder-workspace/Sources/Outlaw/Core/Extractable/Dictionary+Extractable.swift:26:42: error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
24 | }
25 | #else
26 | guard let value: Any = self.value(forKeyPath: key.outlawKey) else {
| `- error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
27 | throw OutlawError.keyNotFound(key: key)
28 | }
[11/49] Compiling Outlaw Extractable+Value.swift
/host/spi-builder-workspace/Sources/Outlaw/Core/Extractable/Dictionary+Extractable.swift:26:42: error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
24 | }
25 | #else
26 | guard let value: Any = self.value(forKeyPath: key.outlawKey) else {
| `- error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
27 | throw OutlawError.keyNotFound(key: key)
28 | }
[12/49] Compiling Outlaw Extractable+ValueWithContext.swift
/host/spi-builder-workspace/Sources/Outlaw/Core/Extractable/Dictionary+Extractable.swift:26:42: error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
24 | }
25 | #else
26 | guard let value: Any = self.value(forKeyPath: key.outlawKey) else {
| `- error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
27 | throw OutlawError.keyNotFound(key: key)
28 | }
[13/49] Compiling Outlaw Extractable.swift
/host/spi-builder-workspace/Sources/Outlaw/Core/Extractable/Dictionary+Extractable.swift:26:42: error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
24 | }
25 | #else
26 | guard let value: Any = self.value(forKeyPath: key.outlawKey) else {
| `- error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
27 | throw OutlawError.keyNotFound(key: key)
28 | }
[14/49] Emitting module Outlaw
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:13:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Array {
13 | static func mappedValue<Element: Value>(from object: Any) throws -> [Element] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | guard let anyArray = object as? [Any] else {
15 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:27:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
25 | }
26 |
27 | static func mappedValue<Element: Value>(from object: Any) throws -> [Element?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | guard let anyArray = object as? [Any?] else {
29 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:44:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
42 |
43 | public extension Array {
44 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element) throws -> T) throws -> [T] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
45 | guard let anyArray = object as? [Any] else {
46 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:58:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
56 | }
57 |
58 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element?) throws -> T) throws -> [T] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
59 | guard let anyArray = object as? [Any?] else {
60 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:70:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
68 | }
69 |
70 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element) -> T?) throws -> [T?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
71 | guard let anyArray = object as? [Any?] else {
72 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Array+Value.swift:84:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
82 | }
83 |
84 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element?) -> T?) throws -> [T?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
85 | guard let anyArray = object as? [Any?] else {
86 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:13:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Dictionary {
13 | static func mappedValue<Value: Outlaw.Value>(from object: Any) throws -> [Key: Value] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | guard let anyDictionary = object as? [Key: Any] else {
15 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:27:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
25 | }
26 |
27 | static func mappedValue<Value: Outlaw.Value>(from object: Any) throws -> [Key: Value?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | guard let anyDictionary = object as? [Key: Any?] else {
29 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:44:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
42 |
43 | public extension Dictionary {
44 | static func mappedValue<Value: Outlaw.Value, T>(from object: Any, with transform:(Value) throws -> T) throws -> [Key: T] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
45 | guard let anyDictionary = object as? [Key: Any] else {
46 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:58:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
56 | }
57 |
58 | static func mappedValue<Value: Outlaw.Value, T>(from object: Any, with transform:(Value?) throws -> T) throws -> [Key: T] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
59 | guard let anyDictionary = object as? [Key: Any?] else {
60 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:70:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
68 | }
69 |
70 | static func mappedValue<Value: Outlaw.Value, T>(from object: Any, with transform:(Value) -> T?) throws -> [Key: T?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
71 | guard let anyDictionary = object as? [Key: Any?] else {
72 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:84:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
82 | }
83 |
84 | static func mappedValue<Value: Outlaw.Value, T>(from object: Any, with transform:(Value?) -> T?) throws -> [Key: T?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
85 | guard let anyDictionary = object as? [Key: Any?] else {
86 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Set+Value.swift:13:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Set {
13 | static func mappedValue<Element: Value>(from object: Any) throws -> Set<Element> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | let anyArray: [Element] = try [Element].mappedValue(from: object)
15 | return Set<Element>(anyArray)
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Set+Value.swift:23:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
21 |
22 | public extension Set {
23 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element) throws -> T) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
24 | let anyArray: [T] = try [Element].mappedValue(from: object, with: transform)
25 | return Set<T>(anyArray)
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Set+Value.swift:28:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
26 | }
27 |
28 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element?) throws -> T) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | let anyArray: [T?] = try [Element?].mappedValue(from: object, with: transform)
30 | return Set<T>(anyArray.compactMap { $0 })
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Set+Value.swift:33:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
31 | }
32 |
33 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element) -> T?) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
34 | let anyArray: [T?] = try [Element?].mappedValue(from: object, with: transform)
35 | return Set<T>(anyArray.compactMap { $0 })
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Set+Value.swift:38:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
36 | }
37 |
38 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element?) -> T?) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
39 | let anyArray: [T?] = try [Element?].mappedValue(from: object, with: transform)
40 | return Set<T>(anyArray.compactMap { $0 })
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Array+ValueWithContext.swift:13:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Array {
13 | static func mappedValue<Element: ValueWithContext>(from object: Any, using context: Element.Context) throws -> [Element] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | guard let anyArray = object as? [Any] else {
15 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Array+ValueWithContext.swift:27:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
25 | }
26 |
27 | static func mappedValue<Element: ValueWithContext>(from object: Any, using context: Element.Context) throws -> [Element?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | guard let anyArray = object as? [Any?] else {
29 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Array+ValueWithContext.swift:44:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
42 |
43 | public extension Array {
44 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element, Element.Context) throws -> T) throws -> [T] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
45 | guard let anyArray = object as? [Any] else {
46 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Array+ValueWithContext.swift:58:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
56 | }
57 |
58 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element?, Element.Context) throws -> T) throws -> [T] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
59 | guard let anyArray = object as? [Any?] else {
60 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Array+ValueWithContext.swift:70:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
68 | }
69 |
70 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element, Element.Context) -> T?) throws -> [T?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
71 | guard let anyArray = object as? [Any?] else {
72 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Array+ValueWithContext.swift:84:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
82 | }
83 |
84 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element?, Element.Context) -> T?) throws -> [T?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
85 | guard let anyArray = object as? [Any?] else {
86 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Dictionary+ValueWithContext.swift:13:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Dictionary {
13 | static func mappedValue<Value: ValueWithContext>(from object: Any, using context: Value.Context) throws -> [Key: Value] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | guard let anyDictionary = object as? [Key: Any] else {
15 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Dictionary+ValueWithContext.swift:27:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
25 | }
26 |
27 | static func mappedValue<Value: ValueWithContext>(from object: Any, using context: Value.Context) throws -> [Key: Value?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | guard let anyDictionary = object as? [Key: Any?] else {
29 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Dictionary+ValueWithContext.swift:44:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
42 |
43 | public extension Dictionary {
44 | static func mappedValue<Value: ValueWithContext, T>(from object: Any, using context: Value.Context, with transform:(Value, Value.Context) throws -> T) throws -> [Key: T] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
45 | guard let anyDictionary = object as? [Key: Any] else {
46 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Dictionary+ValueWithContext.swift:58:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
56 | }
57 |
58 | static func mappedValue<Value: ValueWithContext, T>(from object: Any, using context: Value.Context, with transform:(Value?, Value.Context) throws -> T) throws -> [Key: T] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
59 | guard let anyDictionary = object as? [Key: Any?] else {
60 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Dictionary+ValueWithContext.swift:70:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
68 | }
69 |
70 | static func mappedValue<Value: ValueWithContext, T>(from object: Any, using context: Value.Context, with transform:(Value, Value.Context) -> T?) throws -> [Key: T?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
71 | guard let anyDictionary = object as? [Key: Any?] else {
72 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Dictionary+ValueWithContext.swift:84:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
82 | }
83 |
84 | static func mappedValue<Value: ValueWithContext, T>(from object: Any, using context: Value.Context, with transform:(Value?, Value.Context) -> T?) throws -> [Key: T?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
85 | guard let anyDictionary = object as? [Key: Any?] else {
86 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Set+ValueWithContext.swift:13:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Set {
13 | static func mappedValue<Element: ValueWithContext>(from object: Any, using context: Element.Context) throws -> Set<Element> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | let anyArray: [Element] = try [Element].mappedValue(from: object, using: context)
15 | return Set<Element>(anyArray)
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Set+ValueWithContext.swift:23:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
21 |
22 | public extension Set {
23 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element, Element.Context) throws -> T) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
24 | let anyArray: [T] = try [Element].mappedValue(from: object, using: context, with: transform)
25 | return Set<T>(anyArray)
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Set+ValueWithContext.swift:28:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
26 | }
27 |
28 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element?, Element.Context) throws -> T) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | let anyArray: [T?] = try [Element?].mappedValue(from: object, using: context, with: transform)
30 | return Set<T>(anyArray.compactMap { $0 })
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Set+ValueWithContext.swift:33:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
31 | }
32 |
33 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element, Element.Context) -> T?) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
34 | let anyArray: [T?] = try [Element?].mappedValue(from: object, using: context, with: transform)
35 | return Set<T>(anyArray.compactMap { $0 })
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Set+ValueWithContext.swift:38:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
36 | }
37 |
38 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element?, Element.Context) -> T?) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
39 | let anyArray: [T?] = try [Element?].mappedValue(from: object, using: context, with: transform)
40 | return Set<T>(anyArray.compactMap { $0 })
[15/49] Compiling Outlaw IndexExtractable.swift
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:41:55: error: extra arguments at positions #2, #4 in call
39 | #else
40 | var error: NSError? = nil
41 | let result = JSONSerialization.writeJSONObject(collection, to: stream, options: options, error: &error)
| `- error: extra arguments at positions #2, #4 in call
42 | if let error = error {
43 | throw error
Foundation.JSONSerialization.writeJSONObject:2:17: note: 'writeJSONObject(_:toStream:options:)' declared here
1 | class JSONSerialization {
2 | open class func writeJSONObject(_ obj: Any, toStream stream: OutputStream, options opt: JSONSerialization.WritingOptions) throws -> Int}
| `- note: 'writeJSONObject(_:toStream:options:)' declared here
3 |
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:41:66: error: missing argument for parameter 'toStream' in call
39 | #else
40 | var error: NSError? = nil
41 | let result = JSONSerialization.writeJSONObject(collection, to: stream, options: options, error: &error)
| `- error: missing argument for parameter 'toStream' in call
42 | if let error = error {
43 | throw error
Foundation.JSONSerialization.writeJSONObject:2:17: note: 'writeJSONObject(_:toStream:options:)' declared here
1 | class JSONSerialization {
2 | open class func writeJSONObject(_ obj: Any, toStream stream: OutputStream, options opt: JSONSerialization.WritingOptions) throws -> Int}
| `- note: 'writeJSONObject(_:toStream:options:)' declared here
3 |
[16/49] Compiling Outlaw OutlawError.swift
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:41:55: error: extra arguments at positions #2, #4 in call
39 | #else
40 | var error: NSError? = nil
41 | let result = JSONSerialization.writeJSONObject(collection, to: stream, options: options, error: &error)
| `- error: extra arguments at positions #2, #4 in call
42 | if let error = error {
43 | throw error
Foundation.JSONSerialization.writeJSONObject:2:17: note: 'writeJSONObject(_:toStream:options:)' declared here
1 | class JSONSerialization {
2 | open class func writeJSONObject(_ obj: Any, toStream stream: OutputStream, options opt: JSONSerialization.WritingOptions) throws -> Int}
| `- note: 'writeJSONObject(_:toStream:options:)' declared here
3 |
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:41:66: error: missing argument for parameter 'toStream' in call
39 | #else
40 | var error: NSError? = nil
41 | let result = JSONSerialization.writeJSONObject(collection, to: stream, options: options, error: &error)
| `- error: missing argument for parameter 'toStream' in call
42 | if let error = error {
43 | throw error
Foundation.JSONSerialization.writeJSONObject:2:17: note: 'writeJSONObject(_:toStream:options:)' declared here
1 | class JSONSerialization {
2 | open class func writeJSONObject(_ obj: Any, toStream stream: OutputStream, options opt: JSONSerialization.WritingOptions) throws -> Int}
| `- note: 'writeJSONObject(_:toStream:options:)' declared here
3 |
[17/49] Compiling Outlaw JSON.swift
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:41:55: error: extra arguments at positions #2, #4 in call
39 | #else
40 | var error: NSError? = nil
41 | let result = JSONSerialization.writeJSONObject(collection, to: stream, options: options, error: &error)
| `- error: extra arguments at positions #2, #4 in call
42 | if let error = error {
43 | throw error
Foundation.JSONSerialization.writeJSONObject:2:17: note: 'writeJSONObject(_:toStream:options:)' declared here
1 | class JSONSerialization {
2 | open class func writeJSONObject(_ obj: Any, toStream stream: OutputStream, options opt: JSONSerialization.WritingOptions) throws -> Int}
| `- note: 'writeJSONObject(_:toStream:options:)' declared here
3 |
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:41:66: error: missing argument for parameter 'toStream' in call
39 | #else
40 | var error: NSError? = nil
41 | let result = JSONSerialization.writeJSONObject(collection, to: stream, options: options, error: &error)
| `- error: missing argument for parameter 'toStream' in call
42 | if let error = error {
43 | throw error
Foundation.JSONSerialization.writeJSONObject:2:17: note: 'writeJSONObject(_:toStream:options:)' declared here
1 | class JSONSerialization {
2 | open class func writeJSONObject(_ obj: Any, toStream stream: OutputStream, options opt: JSONSerialization.WritingOptions) throws -> Int}
| `- note: 'writeJSONObject(_:toStream:options:)' declared here
3 |
[18/49] Compiling Outlaw JSONCollection.swift
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:41:55: error: extra arguments at positions #2, #4 in call
39 | #else
40 | var error: NSError? = nil
41 | let result = JSONSerialization.writeJSONObject(collection, to: stream, options: options, error: &error)
| `- error: extra arguments at positions #2, #4 in call
42 | if let error = error {
43 | throw error
Foundation.JSONSerialization.writeJSONObject:2:17: note: 'writeJSONObject(_:toStream:options:)' declared here
1 | class JSONSerialization {
2 | open class func writeJSONObject(_ obj: Any, toStream stream: OutputStream, options opt: JSONSerialization.WritingOptions) throws -> Int}
| `- note: 'writeJSONObject(_:toStream:options:)' declared here
3 |
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:41:66: error: missing argument for parameter 'toStream' in call
39 | #else
40 | var error: NSError? = nil
41 | let result = JSONSerialization.writeJSONObject(collection, to: stream, options: options, error: &error)
| `- error: missing argument for parameter 'toStream' in call
42 | if let error = error {
43 | throw error
Foundation.JSONSerialization.writeJSONObject:2:17: note: 'writeJSONObject(_:toStream:options:)' declared here
1 | class JSONSerialization {
2 | open class func writeJSONObject(_ obj: Any, toStream stream: OutputStream, options opt: JSONSerialization.WritingOptions) throws -> Int}
| `- note: 'writeJSONObject(_:toStream:options:)' declared here
3 |
[19/49] Compiling Outlaw JSONSerializable.swift
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:41:55: error: extra arguments at positions #2, #4 in call
39 | #else
40 | var error: NSError? = nil
41 | let result = JSONSerialization.writeJSONObject(collection, to: stream, options: options, error: &error)
| `- error: extra arguments at positions #2, #4 in call
42 | if let error = error {
43 | throw error
Foundation.JSONSerialization.writeJSONObject:2:17: note: 'writeJSONObject(_:toStream:options:)' declared here
1 | class JSONSerialization {
2 | open class func writeJSONObject(_ obj: Any, toStream stream: OutputStream, options opt: JSONSerialization.WritingOptions) throws -> Int}
| `- note: 'writeJSONObject(_:toStream:options:)' declared here
3 |
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:41:66: error: missing argument for parameter 'toStream' in call
39 | #else
40 | var error: NSError? = nil
41 | let result = JSONSerialization.writeJSONObject(collection, to: stream, options: options, error: &error)
| `- error: missing argument for parameter 'toStream' in call
42 | if let error = error {
43 | throw error
Foundation.JSONSerialization.writeJSONObject:2:17: note: 'writeJSONObject(_:toStream:options:)' declared here
1 | class JSONSerialization {
2 | open class func writeJSONObject(_ obj: Any, toStream stream: OutputStream, options opt: JSONSerialization.WritingOptions) throws -> Int}
| `- note: 'writeJSONObject(_:toStream:options:)' declared here
3 |
[20/49] Compiling Outlaw Deserializable.swift
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:41:55: error: extra arguments at positions #2, #4 in call
39 | #else
40 | var error: NSError? = nil
41 | let result = JSONSerialization.writeJSONObject(collection, to: stream, options: options, error: &error)
| `- error: extra arguments at positions #2, #4 in call
42 | if let error = error {
43 | throw error
Foundation.JSONSerialization.writeJSONObject:2:17: note: 'writeJSONObject(_:toStream:options:)' declared here
1 | class JSONSerialization {
2 | open class func writeJSONObject(_ obj: Any, toStream stream: OutputStream, options opt: JSONSerialization.WritingOptions) throws -> Int}
| `- note: 'writeJSONObject(_:toStream:options:)' declared here
3 |
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:41:66: error: missing argument for parameter 'toStream' in call
39 | #else
40 | var error: NSError? = nil
41 | let result = JSONSerialization.writeJSONObject(collection, to: stream, options: options, error: &error)
| `- error: missing argument for parameter 'toStream' in call
42 | if let error = error {
43 | throw error
Foundation.JSONSerialization.writeJSONObject:2:17: note: 'writeJSONObject(_:toStream:options:)' declared here
1 | class JSONSerialization {
2 | open class func writeJSONObject(_ obj: Any, toStream stream: OutputStream, options opt: JSONSerialization.WritingOptions) throws -> Int}
| `- note: 'writeJSONObject(_:toStream:options:)' declared here
3 |
[21/49] Compiling Outlaw Key.swift
[22/49] Compiling Outlaw Array+IndexExtractable.swift
[23/49] Compiling Outlaw Index.swift
[24/49] Compiling Outlaw IndexExtractable+Enum.swift
[25/49] Compiling Outlaw IndexExtractable+Value.swift
[26/49] Compiling Outlaw IndexExtractable+ValueWithContext.swift
[27/49] Compiling Outlaw IndexDeserializableWithContext.swift
[28/49] Compiling Outlaw IndexSerializable.swift
[29/49] Compiling Outlaw IndexSerializableWithContext.swift
[30/49] Compiling Outlaw IndexUpdatable.swift
[31/49] Compiling Outlaw IndexUpdatableWithContext.swift
[32/49] Compiling Outlaw Value.swift
[33/49] Compiling Outlaw DeserializableWithContext.swift
[34/49] Compiling Outlaw Serializable.swift
[35/49] Compiling Outlaw SerializableWithContext.swift
[36/49] Compiling Outlaw Updatable.swift
[37/49] Compiling Outlaw UpdatableWithContext.swift
[38/49] Compiling Outlaw IndexDeserializable.swift
[39/49] Compiling Outlaw Date+Value.swift
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:13:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Dictionary {
13 | static func mappedValue<Value: Outlaw.Value>(from object: Any) throws -> [Key: Value] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | guard let anyDictionary = object as? [Key: Any] else {
15 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:27:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
25 | }
26 |
27 | static func mappedValue<Value: Outlaw.Value>(from object: Any) throws -> [Key: Value?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | guard let anyDictionary = object as? [Key: Any?] else {
29 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:44:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
42 |
43 | public extension Dictionary {
44 | static func mappedValue<Value: Outlaw.Value, T>(from object: Any, with transform:(Value) throws -> T) throws -> [Key: T] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
45 | guard let anyDictionary = object as? [Key: Any] else {
46 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:58:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
56 | }
57 |
58 | static func mappedValue<Value: Outlaw.Value, T>(from object: Any, with transform:(Value?) throws -> T) throws -> [Key: T] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
59 | guard let anyDictionary = object as? [Key: Any?] else {
60 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:70:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
68 | }
69 |
70 | static func mappedValue<Value: Outlaw.Value, T>(from object: Any, with transform:(Value) -> T?) throws -> [Key: T?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
71 | guard let anyDictionary = object as? [Key: Any?] else {
72 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:84:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
82 | }
83 |
84 | static func mappedValue<Value: Outlaw.Value, T>(from object: Any, with transform:(Value?) -> T?) throws -> [Key: T?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
85 | guard let anyDictionary = object as? [Key: Any?] else {
86 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Set+Value.swift:13:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Set {
13 | static func mappedValue<Element: Value>(from object: Any) throws -> Set<Element> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | let anyArray: [Element] = try [Element].mappedValue(from: object)
15 | return Set<Element>(anyArray)
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Set+Value.swift:23:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
21 |
22 | public extension Set {
23 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element) throws -> T) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
24 | let anyArray: [T] = try [Element].mappedValue(from: object, with: transform)
25 | return Set<T>(anyArray)
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Set+Value.swift:28:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
26 | }
27 |
28 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element?) throws -> T) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | let anyArray: [T?] = try [Element?].mappedValue(from: object, with: transform)
30 | return Set<T>(anyArray.compactMap { $0 })
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Set+Value.swift:33:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
31 | }
32 |
33 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element) -> T?) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
34 | let anyArray: [T?] = try [Element?].mappedValue(from: object, with: transform)
35 | return Set<T>(anyArray.compactMap { $0 })
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Set+Value.swift:38:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
36 | }
37 |
38 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element?) -> T?) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
39 | let anyArray: [T?] = try [Element?].mappedValue(from: object, with: transform)
40 | return Set<T>(anyArray.compactMap { $0 })
[40/49] Compiling Outlaw Dictionary+Value.swift
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:13:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Dictionary {
13 | static func mappedValue<Value: Outlaw.Value>(from object: Any) throws -> [Key: Value] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | guard let anyDictionary = object as? [Key: Any] else {
15 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:27:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
25 | }
26 |
27 | static func mappedValue<Value: Outlaw.Value>(from object: Any) throws -> [Key: Value?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | guard let anyDictionary = object as? [Key: Any?] else {
29 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:44:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
42 |
43 | public extension Dictionary {
44 | static func mappedValue<Value: Outlaw.Value, T>(from object: Any, with transform:(Value) throws -> T) throws -> [Key: T] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
45 | guard let anyDictionary = object as? [Key: Any] else {
46 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:58:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
56 | }
57 |
58 | static func mappedValue<Value: Outlaw.Value, T>(from object: Any, with transform:(Value?) throws -> T) throws -> [Key: T] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
59 | guard let anyDictionary = object as? [Key: Any?] else {
60 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:70:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
68 | }
69 |
70 | static func mappedValue<Value: Outlaw.Value, T>(from object: Any, with transform:(Value) -> T?) throws -> [Key: T?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
71 | guard let anyDictionary = object as? [Key: Any?] else {
72 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:84:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
82 | }
83 |
84 | static func mappedValue<Value: Outlaw.Value, T>(from object: Any, with transform:(Value?) -> T?) throws -> [Key: T?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
85 | guard let anyDictionary = object as? [Key: Any?] else {
86 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Set+Value.swift:13:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Set {
13 | static func mappedValue<Element: Value>(from object: Any) throws -> Set<Element> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | let anyArray: [Element] = try [Element].mappedValue(from: object)
15 | return Set<Element>(anyArray)
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Set+Value.swift:23:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
21 |
22 | public extension Set {
23 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element) throws -> T) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
24 | let anyArray: [T] = try [Element].mappedValue(from: object, with: transform)
25 | return Set<T>(anyArray)
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Set+Value.swift:28:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
26 | }
27 |
28 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element?) throws -> T) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | let anyArray: [T?] = try [Element?].mappedValue(from: object, with: transform)
30 | return Set<T>(anyArray.compactMap { $0 })
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Set+Value.swift:33:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
31 | }
32 |
33 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element) -> T?) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
34 | let anyArray: [T?] = try [Element?].mappedValue(from: object, with: transform)
35 | return Set<T>(anyArray.compactMap { $0 })
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Set+Value.swift:38:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
36 | }
37 |
38 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element?) -> T?) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
39 | let anyArray: [T?] = try [Element?].mappedValue(from: object, with: transform)
40 | return Set<T>(anyArray.compactMap { $0 })
[41/49] Compiling Outlaw Float+Value.swift
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:13:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Dictionary {
13 | static func mappedValue<Value: Outlaw.Value>(from object: Any) throws -> [Key: Value] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | guard let anyDictionary = object as? [Key: Any] else {
15 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:27:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
25 | }
26 |
27 | static func mappedValue<Value: Outlaw.Value>(from object: Any) throws -> [Key: Value?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | guard let anyDictionary = object as? [Key: Any?] else {
29 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:44:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
42 |
43 | public extension Dictionary {
44 | static func mappedValue<Value: Outlaw.Value, T>(from object: Any, with transform:(Value) throws -> T) throws -> [Key: T] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
45 | guard let anyDictionary = object as? [Key: Any] else {
46 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:58:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
56 | }
57 |
58 | static func mappedValue<Value: Outlaw.Value, T>(from object: Any, with transform:(Value?) throws -> T) throws -> [Key: T] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
59 | guard let anyDictionary = object as? [Key: Any?] else {
60 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:70:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
68 | }
69 |
70 | static func mappedValue<Value: Outlaw.Value, T>(from object: Any, with transform:(Value) -> T?) throws -> [Key: T?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
71 | guard let anyDictionary = object as? [Key: Any?] else {
72 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:84:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
82 | }
83 |
84 | static func mappedValue<Value: Outlaw.Value, T>(from object: Any, with transform:(Value?) -> T?) throws -> [Key: T?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
85 | guard let anyDictionary = object as? [Key: Any?] else {
86 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Set+Value.swift:13:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Set {
13 | static func mappedValue<Element: Value>(from object: Any) throws -> Set<Element> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | let anyArray: [Element] = try [Element].mappedValue(from: object)
15 | return Set<Element>(anyArray)
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Set+Value.swift:23:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
21 |
22 | public extension Set {
23 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element) throws -> T) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
24 | let anyArray: [T] = try [Element].mappedValue(from: object, with: transform)
25 | return Set<T>(anyArray)
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Set+Value.swift:28:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
26 | }
27 |
28 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element?) throws -> T) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | let anyArray: [T?] = try [Element?].mappedValue(from: object, with: transform)
30 | return Set<T>(anyArray.compactMap { $0 })
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Set+Value.swift:33:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
31 | }
32 |
33 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element) -> T?) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
34 | let anyArray: [T?] = try [Element?].mappedValue(from: object, with: transform)
35 | return Set<T>(anyArray.compactMap { $0 })
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Set+Value.swift:38:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
36 | }
37 |
38 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element?) -> T?) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
39 | let anyArray: [T?] = try [Element?].mappedValue(from: object, with: transform)
40 | return Set<T>(anyArray.compactMap { $0 })
[42/49] Compiling Outlaw Int+Value.swift
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:13:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Dictionary {
13 | static func mappedValue<Value: Outlaw.Value>(from object: Any) throws -> [Key: Value] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | guard let anyDictionary = object as? [Key: Any] else {
15 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:27:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
25 | }
26 |
27 | static func mappedValue<Value: Outlaw.Value>(from object: Any) throws -> [Key: Value?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | guard let anyDictionary = object as? [Key: Any?] else {
29 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:44:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
42 |
43 | public extension Dictionary {
44 | static func mappedValue<Value: Outlaw.Value, T>(from object: Any, with transform:(Value) throws -> T) throws -> [Key: T] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
45 | guard let anyDictionary = object as? [Key: Any] else {
46 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:58:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
56 | }
57 |
58 | static func mappedValue<Value: Outlaw.Value, T>(from object: Any, with transform:(Value?) throws -> T) throws -> [Key: T] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
59 | guard let anyDictionary = object as? [Key: Any?] else {
60 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:70:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
68 | }
69 |
70 | static func mappedValue<Value: Outlaw.Value, T>(from object: Any, with transform:(Value) -> T?) throws -> [Key: T?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
71 | guard let anyDictionary = object as? [Key: Any?] else {
72 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:84:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
82 | }
83 |
84 | static func mappedValue<Value: Outlaw.Value, T>(from object: Any, with transform:(Value?) -> T?) throws -> [Key: T?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
85 | guard let anyDictionary = object as? [Key: Any?] else {
86 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Set+Value.swift:13:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Set {
13 | static func mappedValue<Element: Value>(from object: Any) throws -> Set<Element> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | let anyArray: [Element] = try [Element].mappedValue(from: object)
15 | return Set<Element>(anyArray)
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Set+Value.swift:23:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
21 |
22 | public extension Set {
23 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element) throws -> T) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
24 | let anyArray: [T] = try [Element].mappedValue(from: object, with: transform)
25 | return Set<T>(anyArray)
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Set+Value.swift:28:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
26 | }
27 |
28 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element?) throws -> T) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | let anyArray: [T?] = try [Element?].mappedValue(from: object, with: transform)
30 | return Set<T>(anyArray.compactMap { $0 })
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Set+Value.swift:33:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
31 | }
32 |
33 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element) -> T?) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
34 | let anyArray: [T?] = try [Element?].mappedValue(from: object, with: transform)
35 | return Set<T>(anyArray.compactMap { $0 })
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Set+Value.swift:38:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
36 | }
37 |
38 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element?) -> T?) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
39 | let anyArray: [T?] = try [Element?].mappedValue(from: object, with: transform)
40 | return Set<T>(anyArray.compactMap { $0 })
[43/49] Compiling Outlaw Set+Value.swift
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:13:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Dictionary {
13 | static func mappedValue<Value: Outlaw.Value>(from object: Any) throws -> [Key: Value] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | guard let anyDictionary = object as? [Key: Any] else {
15 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:27:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
25 | }
26 |
27 | static func mappedValue<Value: Outlaw.Value>(from object: Any) throws -> [Key: Value?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | guard let anyDictionary = object as? [Key: Any?] else {
29 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:44:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
42 |
43 | public extension Dictionary {
44 | static func mappedValue<Value: Outlaw.Value, T>(from object: Any, with transform:(Value) throws -> T) throws -> [Key: T] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
45 | guard let anyDictionary = object as? [Key: Any] else {
46 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:58:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
56 | }
57 |
58 | static func mappedValue<Value: Outlaw.Value, T>(from object: Any, with transform:(Value?) throws -> T) throws -> [Key: T] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
59 | guard let anyDictionary = object as? [Key: Any?] else {
60 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:70:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
68 | }
69 |
70 | static func mappedValue<Value: Outlaw.Value, T>(from object: Any, with transform:(Value) -> T?) throws -> [Key: T?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
71 | guard let anyDictionary = object as? [Key: Any?] else {
72 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:84:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
82 | }
83 |
84 | static func mappedValue<Value: Outlaw.Value, T>(from object: Any, with transform:(Value?) -> T?) throws -> [Key: T?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
85 | guard let anyDictionary = object as? [Key: Any?] else {
86 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Set+Value.swift:13:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Set {
13 | static func mappedValue<Element: Value>(from object: Any) throws -> Set<Element> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | let anyArray: [Element] = try [Element].mappedValue(from: object)
15 | return Set<Element>(anyArray)
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Set+Value.swift:23:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
21 |
22 | public extension Set {
23 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element) throws -> T) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
24 | let anyArray: [T] = try [Element].mappedValue(from: object, with: transform)
25 | return Set<T>(anyArray)
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Set+Value.swift:28:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
26 | }
27 |
28 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element?) throws -> T) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | let anyArray: [T?] = try [Element?].mappedValue(from: object, with: transform)
30 | return Set<T>(anyArray.compactMap { $0 })
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Set+Value.swift:33:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
31 | }
32 |
33 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element) -> T?) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
34 | let anyArray: [T?] = try [Element?].mappedValue(from: object, with: transform)
35 | return Set<T>(anyArray.compactMap { $0 })
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Set+Value.swift:38:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
36 | }
37 |
38 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element?) -> T?) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
39 | let anyArray: [T?] = try [Element?].mappedValue(from: object, with: transform)
40 | return Set<T>(anyArray.compactMap { $0 })
[44/49] Compiling Outlaw String+Value.swift
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:13:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Dictionary {
13 | static func mappedValue<Value: Outlaw.Value>(from object: Any) throws -> [Key: Value] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | guard let anyDictionary = object as? [Key: Any] else {
15 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:27:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
25 | }
26 |
27 | static func mappedValue<Value: Outlaw.Value>(from object: Any) throws -> [Key: Value?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | guard let anyDictionary = object as? [Key: Any?] else {
29 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:44:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
42 |
43 | public extension Dictionary {
44 | static func mappedValue<Value: Outlaw.Value, T>(from object: Any, with transform:(Value) throws -> T) throws -> [Key: T] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
45 | guard let anyDictionary = object as? [Key: Any] else {
46 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:58:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
56 | }
57 |
58 | static func mappedValue<Value: Outlaw.Value, T>(from object: Any, with transform:(Value?) throws -> T) throws -> [Key: T] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
59 | guard let anyDictionary = object as? [Key: Any?] else {
60 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:70:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
68 | }
69 |
70 | static func mappedValue<Value: Outlaw.Value, T>(from object: Any, with transform:(Value) -> T?) throws -> [Key: T?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
71 | guard let anyDictionary = object as? [Key: Any?] else {
72 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Dictionary+Value.swift:84:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
82 | }
83 |
84 | static func mappedValue<Value: Outlaw.Value, T>(from object: Any, with transform:(Value?) -> T?) throws -> [Key: T?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
85 | guard let anyDictionary = object as? [Key: Any?] else {
86 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Set+Value.swift:13:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Set {
13 | static func mappedValue<Element: Value>(from object: Any) throws -> Set<Element> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | let anyArray: [Element] = try [Element].mappedValue(from: object)
15 | return Set<Element>(anyArray)
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Set+Value.swift:23:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
21 |
22 | public extension Set {
23 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element) throws -> T) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
24 | let anyArray: [T] = try [Element].mappedValue(from: object, with: transform)
25 | return Set<T>(anyArray)
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Set+Value.swift:28:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
26 | }
27 |
28 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element?) throws -> T) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | let anyArray: [T?] = try [Element?].mappedValue(from: object, with: transform)
30 | return Set<T>(anyArray.compactMap { $0 })
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Set+Value.swift:33:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
31 | }
32 |
33 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element) -> T?) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
34 | let anyArray: [T?] = try [Element?].mappedValue(from: object, with: transform)
35 | return Set<T>(anyArray.compactMap { $0 })
/host/spi-builder-workspace/Sources/Outlaw/Types/Value/Set+Value.swift:38:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
36 | }
37 |
38 | static func mappedValue<Element: Value, T>(from object: Any, with transform:(Element?) -> T?) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
39 | let anyArray: [T?] = try [Element?].mappedValue(from: object, with: transform)
40 | return Set<T>(anyArray.compactMap { $0 })
[45/49] Compiling Outlaw UInt+Value.swift
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Array+ValueWithContext.swift:13:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Array {
13 | static func mappedValue<Element: ValueWithContext>(from object: Any, using context: Element.Context) throws -> [Element] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | guard let anyArray = object as? [Any] else {
15 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Array+ValueWithContext.swift:27:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
25 | }
26 |
27 | static func mappedValue<Element: ValueWithContext>(from object: Any, using context: Element.Context) throws -> [Element?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | guard let anyArray = object as? [Any?] else {
29 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Array+ValueWithContext.swift:44:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
42 |
43 | public extension Array {
44 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element, Element.Context) throws -> T) throws -> [T] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
45 | guard let anyArray = object as? [Any] else {
46 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Array+ValueWithContext.swift:58:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
56 | }
57 |
58 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element?, Element.Context) throws -> T) throws -> [T] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
59 | guard let anyArray = object as? [Any?] else {
60 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Array+ValueWithContext.swift:70:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
68 | }
69 |
70 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element, Element.Context) -> T?) throws -> [T?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
71 | guard let anyArray = object as? [Any?] else {
72 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Array+ValueWithContext.swift:84:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
82 | }
83 |
84 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element?, Element.Context) -> T?) throws -> [T?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
85 | guard let anyArray = object as? [Any?] else {
86 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Dictionary+ValueWithContext.swift:13:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Dictionary {
13 | static func mappedValue<Value: ValueWithContext>(from object: Any, using context: Value.Context) throws -> [Key: Value] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | guard let anyDictionary = object as? [Key: Any] else {
15 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Dictionary+ValueWithContext.swift:27:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
25 | }
26 |
27 | static func mappedValue<Value: ValueWithContext>(from object: Any, using context: Value.Context) throws -> [Key: Value?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | guard let anyDictionary = object as? [Key: Any?] else {
29 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Dictionary+ValueWithContext.swift:44:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
42 |
43 | public extension Dictionary {
44 | static func mappedValue<Value: ValueWithContext, T>(from object: Any, using context: Value.Context, with transform:(Value, Value.Context) throws -> T) throws -> [Key: T] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
45 | guard let anyDictionary = object as? [Key: Any] else {
46 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Dictionary+ValueWithContext.swift:58:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
56 | }
57 |
58 | static func mappedValue<Value: ValueWithContext, T>(from object: Any, using context: Value.Context, with transform:(Value?, Value.Context) throws -> T) throws -> [Key: T] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
59 | guard let anyDictionary = object as? [Key: Any?] else {
60 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Dictionary+ValueWithContext.swift:70:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
68 | }
69 |
70 | static func mappedValue<Value: ValueWithContext, T>(from object: Any, using context: Value.Context, with transform:(Value, Value.Context) -> T?) throws -> [Key: T?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
71 | guard let anyDictionary = object as? [Key: Any?] else {
72 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Dictionary+ValueWithContext.swift:84:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
82 | }
83 |
84 | static func mappedValue<Value: ValueWithContext, T>(from object: Any, using context: Value.Context, with transform:(Value?, Value.Context) -> T?) throws -> [Key: T?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
85 | guard let anyDictionary = object as? [Key: Any?] else {
86 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Set+ValueWithContext.swift:13:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Set {
13 | static func mappedValue<Element: ValueWithContext>(from object: Any, using context: Element.Context) throws -> Set<Element> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | let anyArray: [Element] = try [Element].mappedValue(from: object, using: context)
15 | return Set<Element>(anyArray)
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Set+ValueWithContext.swift:23:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
21 |
22 | public extension Set {
23 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element, Element.Context) throws -> T) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
24 | let anyArray: [T] = try [Element].mappedValue(from: object, using: context, with: transform)
25 | return Set<T>(anyArray)
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Set+ValueWithContext.swift:28:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
26 | }
27 |
28 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element?, Element.Context) throws -> T) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | let anyArray: [T?] = try [Element?].mappedValue(from: object, using: context, with: transform)
30 | return Set<T>(anyArray.compactMap { $0 })
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Set+ValueWithContext.swift:33:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
31 | }
32 |
33 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element, Element.Context) -> T?) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
34 | let anyArray: [T?] = try [Element?].mappedValue(from: object, using: context, with: transform)
35 | return Set<T>(anyArray.compactMap { $0 })
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Set+ValueWithContext.swift:38:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
36 | }
37 |
38 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element?, Element.Context) -> T?) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
39 | let anyArray: [T?] = try [Element?].mappedValue(from: object, using: context, with: transform)
40 | return Set<T>(anyArray.compactMap { $0 })
[46/49] Compiling Outlaw URL+Value.swift
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Array+ValueWithContext.swift:13:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Array {
13 | static func mappedValue<Element: ValueWithContext>(from object: Any, using context: Element.Context) throws -> [Element] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | guard let anyArray = object as? [Any] else {
15 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Array+ValueWithContext.swift:27:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
25 | }
26 |
27 | static func mappedValue<Element: ValueWithContext>(from object: Any, using context: Element.Context) throws -> [Element?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | guard let anyArray = object as? [Any?] else {
29 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Array+ValueWithContext.swift:44:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
42 |
43 | public extension Array {
44 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element, Element.Context) throws -> T) throws -> [T] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
45 | guard let anyArray = object as? [Any] else {
46 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Array+ValueWithContext.swift:58:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
56 | }
57 |
58 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element?, Element.Context) throws -> T) throws -> [T] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
59 | guard let anyArray = object as? [Any?] else {
60 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Array+ValueWithContext.swift:70:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
68 | }
69 |
70 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element, Element.Context) -> T?) throws -> [T?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
71 | guard let anyArray = object as? [Any?] else {
72 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Array+ValueWithContext.swift:84:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
82 | }
83 |
84 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element?, Element.Context) -> T?) throws -> [T?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
85 | guard let anyArray = object as? [Any?] else {
86 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Dictionary+ValueWithContext.swift:13:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Dictionary {
13 | static func mappedValue<Value: ValueWithContext>(from object: Any, using context: Value.Context) throws -> [Key: Value] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | guard let anyDictionary = object as? [Key: Any] else {
15 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Dictionary+ValueWithContext.swift:27:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
25 | }
26 |
27 | static func mappedValue<Value: ValueWithContext>(from object: Any, using context: Value.Context) throws -> [Key: Value?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | guard let anyDictionary = object as? [Key: Any?] else {
29 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Dictionary+ValueWithContext.swift:44:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
42 |
43 | public extension Dictionary {
44 | static func mappedValue<Value: ValueWithContext, T>(from object: Any, using context: Value.Context, with transform:(Value, Value.Context) throws -> T) throws -> [Key: T] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
45 | guard let anyDictionary = object as? [Key: Any] else {
46 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Dictionary+ValueWithContext.swift:58:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
56 | }
57 |
58 | static func mappedValue<Value: ValueWithContext, T>(from object: Any, using context: Value.Context, with transform:(Value?, Value.Context) throws -> T) throws -> [Key: T] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
59 | guard let anyDictionary = object as? [Key: Any?] else {
60 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Dictionary+ValueWithContext.swift:70:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
68 | }
69 |
70 | static func mappedValue<Value: ValueWithContext, T>(from object: Any, using context: Value.Context, with transform:(Value, Value.Context) -> T?) throws -> [Key: T?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
71 | guard let anyDictionary = object as? [Key: Any?] else {
72 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Dictionary+ValueWithContext.swift:84:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
82 | }
83 |
84 | static func mappedValue<Value: ValueWithContext, T>(from object: Any, using context: Value.Context, with transform:(Value?, Value.Context) -> T?) throws -> [Key: T?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
85 | guard let anyDictionary = object as? [Key: Any?] else {
86 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Set+ValueWithContext.swift:13:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Set {
13 | static func mappedValue<Element: ValueWithContext>(from object: Any, using context: Element.Context) throws -> Set<Element> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | let anyArray: [Element] = try [Element].mappedValue(from: object, using: context)
15 | return Set<Element>(anyArray)
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Set+ValueWithContext.swift:23:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
21 |
22 | public extension Set {
23 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element, Element.Context) throws -> T) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
24 | let anyArray: [T] = try [Element].mappedValue(from: object, using: context, with: transform)
25 | return Set<T>(anyArray)
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Set+ValueWithContext.swift:28:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
26 | }
27 |
28 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element?, Element.Context) throws -> T) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | let anyArray: [T?] = try [Element?].mappedValue(from: object, using: context, with: transform)
30 | return Set<T>(anyArray.compactMap { $0 })
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Set+ValueWithContext.swift:33:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
31 | }
32 |
33 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element, Element.Context) -> T?) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
34 | let anyArray: [T?] = try [Element?].mappedValue(from: object, using: context, with: transform)
35 | return Set<T>(anyArray.compactMap { $0 })
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Set+ValueWithContext.swift:38:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
36 | }
37 |
38 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element?, Element.Context) -> T?) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
39 | let anyArray: [T?] = try [Element?].mappedValue(from: object, using: context, with: transform)
40 | return Set<T>(anyArray.compactMap { $0 })
[47/49] Compiling Outlaw Array+ValueWithContext.swift
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Array+ValueWithContext.swift:13:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Array {
13 | static func mappedValue<Element: ValueWithContext>(from object: Any, using context: Element.Context) throws -> [Element] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | guard let anyArray = object as? [Any] else {
15 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Array+ValueWithContext.swift:27:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
25 | }
26 |
27 | static func mappedValue<Element: ValueWithContext>(from object: Any, using context: Element.Context) throws -> [Element?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | guard let anyArray = object as? [Any?] else {
29 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Array+ValueWithContext.swift:44:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
42 |
43 | public extension Array {
44 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element, Element.Context) throws -> T) throws -> [T] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
45 | guard let anyArray = object as? [Any] else {
46 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Array+ValueWithContext.swift:58:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
56 | }
57 |
58 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element?, Element.Context) throws -> T) throws -> [T] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
59 | guard let anyArray = object as? [Any?] else {
60 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Array+ValueWithContext.swift:70:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
68 | }
69 |
70 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element, Element.Context) -> T?) throws -> [T?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
71 | guard let anyArray = object as? [Any?] else {
72 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Array+ValueWithContext.swift:84:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
82 | }
83 |
84 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element?, Element.Context) -> T?) throws -> [T?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
85 | guard let anyArray = object as? [Any?] else {
86 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Dictionary+ValueWithContext.swift:13:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Dictionary {
13 | static func mappedValue<Value: ValueWithContext>(from object: Any, using context: Value.Context) throws -> [Key: Value] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | guard let anyDictionary = object as? [Key: Any] else {
15 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Dictionary+ValueWithContext.swift:27:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
25 | }
26 |
27 | static func mappedValue<Value: ValueWithContext>(from object: Any, using context: Value.Context) throws -> [Key: Value?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | guard let anyDictionary = object as? [Key: Any?] else {
29 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Dictionary+ValueWithContext.swift:44:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
42 |
43 | public extension Dictionary {
44 | static func mappedValue<Value: ValueWithContext, T>(from object: Any, using context: Value.Context, with transform:(Value, Value.Context) throws -> T) throws -> [Key: T] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
45 | guard let anyDictionary = object as? [Key: Any] else {
46 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Dictionary+ValueWithContext.swift:58:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
56 | }
57 |
58 | static func mappedValue<Value: ValueWithContext, T>(from object: Any, using context: Value.Context, with transform:(Value?, Value.Context) throws -> T) throws -> [Key: T] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
59 | guard let anyDictionary = object as? [Key: Any?] else {
60 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Dictionary+ValueWithContext.swift:70:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
68 | }
69 |
70 | static func mappedValue<Value: ValueWithContext, T>(from object: Any, using context: Value.Context, with transform:(Value, Value.Context) -> T?) throws -> [Key: T?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
71 | guard let anyDictionary = object as? [Key: Any?] else {
72 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Dictionary+ValueWithContext.swift:84:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
82 | }
83 |
84 | static func mappedValue<Value: ValueWithContext, T>(from object: Any, using context: Value.Context, with transform:(Value?, Value.Context) -> T?) throws -> [Key: T?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
85 | guard let anyDictionary = object as? [Key: Any?] else {
86 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Set+ValueWithContext.swift:13:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Set {
13 | static func mappedValue<Element: ValueWithContext>(from object: Any, using context: Element.Context) throws -> Set<Element> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | let anyArray: [Element] = try [Element].mappedValue(from: object, using: context)
15 | return Set<Element>(anyArray)
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Set+ValueWithContext.swift:23:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
21 |
22 | public extension Set {
23 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element, Element.Context) throws -> T) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
24 | let anyArray: [T] = try [Element].mappedValue(from: object, using: context, with: transform)
25 | return Set<T>(anyArray)
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Set+ValueWithContext.swift:28:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
26 | }
27 |
28 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element?, Element.Context) throws -> T) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | let anyArray: [T?] = try [Element?].mappedValue(from: object, using: context, with: transform)
30 | return Set<T>(anyArray.compactMap { $0 })
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Set+ValueWithContext.swift:33:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
31 | }
32 |
33 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element, Element.Context) -> T?) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
34 | let anyArray: [T?] = try [Element?].mappedValue(from: object, using: context, with: transform)
35 | return Set<T>(anyArray.compactMap { $0 })
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Set+ValueWithContext.swift:38:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
36 | }
37 |
38 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element?, Element.Context) -> T?) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
39 | let anyArray: [T?] = try [Element?].mappedValue(from: object, using: context, with: transform)
40 | return Set<T>(anyArray.compactMap { $0 })
[48/49] Compiling Outlaw Dictionary+ValueWithContext.swift
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Array+ValueWithContext.swift:13:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Array {
13 | static func mappedValue<Element: ValueWithContext>(from object: Any, using context: Element.Context) throws -> [Element] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | guard let anyArray = object as? [Any] else {
15 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Array+ValueWithContext.swift:27:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
25 | }
26 |
27 | static func mappedValue<Element: ValueWithContext>(from object: Any, using context: Element.Context) throws -> [Element?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | guard let anyArray = object as? [Any?] else {
29 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Array+ValueWithContext.swift:44:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
42 |
43 | public extension Array {
44 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element, Element.Context) throws -> T) throws -> [T] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
45 | guard let anyArray = object as? [Any] else {
46 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Array+ValueWithContext.swift:58:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
56 | }
57 |
58 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element?, Element.Context) throws -> T) throws -> [T] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
59 | guard let anyArray = object as? [Any?] else {
60 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Array+ValueWithContext.swift:70:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
68 | }
69 |
70 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element, Element.Context) -> T?) throws -> [T?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
71 | guard let anyArray = object as? [Any?] else {
72 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Array+ValueWithContext.swift:84:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
82 | }
83 |
84 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element?, Element.Context) -> T?) throws -> [T?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
85 | guard let anyArray = object as? [Any?] else {
86 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Dictionary+ValueWithContext.swift:13:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Dictionary {
13 | static func mappedValue<Value: ValueWithContext>(from object: Any, using context: Value.Context) throws -> [Key: Value] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | guard let anyDictionary = object as? [Key: Any] else {
15 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Dictionary+ValueWithContext.swift:27:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
25 | }
26 |
27 | static func mappedValue<Value: ValueWithContext>(from object: Any, using context: Value.Context) throws -> [Key: Value?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | guard let anyDictionary = object as? [Key: Any?] else {
29 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Dictionary+ValueWithContext.swift:44:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
42 |
43 | public extension Dictionary {
44 | static func mappedValue<Value: ValueWithContext, T>(from object: Any, using context: Value.Context, with transform:(Value, Value.Context) throws -> T) throws -> [Key: T] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
45 | guard let anyDictionary = object as? [Key: Any] else {
46 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Dictionary+ValueWithContext.swift:58:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
56 | }
57 |
58 | static func mappedValue<Value: ValueWithContext, T>(from object: Any, using context: Value.Context, with transform:(Value?, Value.Context) throws -> T) throws -> [Key: T] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
59 | guard let anyDictionary = object as? [Key: Any?] else {
60 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Dictionary+ValueWithContext.swift:70:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
68 | }
69 |
70 | static func mappedValue<Value: ValueWithContext, T>(from object: Any, using context: Value.Context, with transform:(Value, Value.Context) -> T?) throws -> [Key: T?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
71 | guard let anyDictionary = object as? [Key: Any?] else {
72 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Dictionary+ValueWithContext.swift:84:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
82 | }
83 |
84 | static func mappedValue<Value: ValueWithContext, T>(from object: Any, using context: Value.Context, with transform:(Value?, Value.Context) -> T?) throws -> [Key: T?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
85 | guard let anyDictionary = object as? [Key: Any?] else {
86 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Set+ValueWithContext.swift:13:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Set {
13 | static func mappedValue<Element: ValueWithContext>(from object: Any, using context: Element.Context) throws -> Set<Element> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | let anyArray: [Element] = try [Element].mappedValue(from: object, using: context)
15 | return Set<Element>(anyArray)
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Set+ValueWithContext.swift:23:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
21 |
22 | public extension Set {
23 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element, Element.Context) throws -> T) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
24 | let anyArray: [T] = try [Element].mappedValue(from: object, using: context, with: transform)
25 | return Set<T>(anyArray)
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Set+ValueWithContext.swift:28:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
26 | }
27 |
28 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element?, Element.Context) throws -> T) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | let anyArray: [T?] = try [Element?].mappedValue(from: object, using: context, with: transform)
30 | return Set<T>(anyArray.compactMap { $0 })
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Set+ValueWithContext.swift:33:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
31 | }
32 |
33 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element, Element.Context) -> T?) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
34 | let anyArray: [T?] = try [Element?].mappedValue(from: object, using: context, with: transform)
35 | return Set<T>(anyArray.compactMap { $0 })
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Set+ValueWithContext.swift:38:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
36 | }
37 |
38 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element?, Element.Context) -> T?) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
39 | let anyArray: [T?] = try [Element?].mappedValue(from: object, using: context, with: transform)
40 | return Set<T>(anyArray.compactMap { $0 })
[49/49] Compiling Outlaw Set+ValueWithContext.swift
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Array+ValueWithContext.swift:13:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Array {
13 | static func mappedValue<Element: ValueWithContext>(from object: Any, using context: Element.Context) throws -> [Element] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | guard let anyArray = object as? [Any] else {
15 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Array+ValueWithContext.swift:27:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
25 | }
26 |
27 | static func mappedValue<Element: ValueWithContext>(from object: Any, using context: Element.Context) throws -> [Element?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | guard let anyArray = object as? [Any?] else {
29 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Array+ValueWithContext.swift:44:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
42 |
43 | public extension Array {
44 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element, Element.Context) throws -> T) throws -> [T] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
45 | guard let anyArray = object as? [Any] else {
46 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Array+ValueWithContext.swift:58:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
56 | }
57 |
58 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element?, Element.Context) throws -> T) throws -> [T] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
59 | guard let anyArray = object as? [Any?] else {
60 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Array+ValueWithContext.swift:70:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
68 | }
69 |
70 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element, Element.Context) -> T?) throws -> [T?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
71 | guard let anyArray = object as? [Any?] else {
72 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Array+ValueWithContext.swift:84:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
82 | }
83 |
84 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element?, Element.Context) -> T?) throws -> [T?] {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
85 | guard let anyArray = object as? [Any?] else {
86 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Dictionary+ValueWithContext.swift:13:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Dictionary {
13 | static func mappedValue<Value: ValueWithContext>(from object: Any, using context: Value.Context) throws -> [Key: Value] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | guard let anyDictionary = object as? [Key: Any] else {
15 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Dictionary+ValueWithContext.swift:27:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
25 | }
26 |
27 | static func mappedValue<Value: ValueWithContext>(from object: Any, using context: Value.Context) throws -> [Key: Value?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | guard let anyDictionary = object as? [Key: Any?] else {
29 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Dictionary+ValueWithContext.swift:44:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
42 |
43 | public extension Dictionary {
44 | static func mappedValue<Value: ValueWithContext, T>(from object: Any, using context: Value.Context, with transform:(Value, Value.Context) throws -> T) throws -> [Key: T] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
45 | guard let anyDictionary = object as? [Key: Any] else {
46 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Dictionary+ValueWithContext.swift:58:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
56 | }
57 |
58 | static func mappedValue<Value: ValueWithContext, T>(from object: Any, using context: Value.Context, with transform:(Value?, Value.Context) throws -> T) throws -> [Key: T] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
59 | guard let anyDictionary = object as? [Key: Any?] else {
60 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Dictionary+ValueWithContext.swift:70:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
68 | }
69 |
70 | static func mappedValue<Value: ValueWithContext, T>(from object: Any, using context: Value.Context, with transform:(Value, Value.Context) -> T?) throws -> [Key: T?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
71 | guard let anyDictionary = object as? [Key: Any?] else {
72 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Dictionary+ValueWithContext.swift:84:29: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
82 | }
83 |
84 | static func mappedValue<Value: ValueWithContext, T>(from object: Any, using context: Value.Context, with transform:(Value?, Value.Context) -> T?) throws -> [Key: T?] {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
85 | guard let anyDictionary = object as? [Key: Any?] else {
86 | throw OutlawError.typeMismatch(expected: self, actual: type(of: object))
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Set+ValueWithContext.swift:13:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | public extension Set {
13 | static func mappedValue<Element: ValueWithContext>(from object: Any, using context: Element.Context) throws -> Set<Element> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | let anyArray: [Element] = try [Element].mappedValue(from: object, using: context)
15 | return Set<Element>(anyArray)
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Set+ValueWithContext.swift:23:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
21 |
22 | public extension Set {
23 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element, Element.Context) throws -> T) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
24 | let anyArray: [T] = try [Element].mappedValue(from: object, using: context, with: transform)
25 | return Set<T>(anyArray)
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Set+ValueWithContext.swift:28:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
26 | }
27 |
28 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element?, Element.Context) throws -> T) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | let anyArray: [T?] = try [Element?].mappedValue(from: object, using: context, with: transform)
30 | return Set<T>(anyArray.compactMap { $0 })
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Set+ValueWithContext.swift:33:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
31 | }
32 |
33 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element, Element.Context) -> T?) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
34 | let anyArray: [T?] = try [Element?].mappedValue(from: object, using: context, with: transform)
35 | return Set<T>(anyArray.compactMap { $0 })
/host/spi-builder-workspace/Sources/Outlaw/Types/ValueWithContext/Set+ValueWithContext.swift:38:29: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
36 | }
37 |
38 | static func mappedValue<Element: ValueWithContext, T>(from object: Any, using context: Element.Context, with transform:(Element?, Element.Context) -> T?) throws -> Set<T> {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
39 | let anyArray: [T?] = try [Element?].mappedValue(from: object, using: context, with: transform)
40 | return Set<T>(anyArray.compactMap { $0 })
BUILD FAILURE 6.1 android