Build Information
Failed to build Outlaw, reference 4.1.0 (55306e
), with Swift 6.1 for Wasm on 27 May 2025 10:41:03 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
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))
[38/50] 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))
[39/50] Compiling Outlaw IndexDeserializableWithContext.swift
[40/50] Compiling Outlaw IndexSerializable.swift
[41/50] Compiling Outlaw IndexSerializableWithContext.swift
[42/50] Compiling Outlaw IndexUpdatable.swift
[43/50] Compiling Outlaw IndexUpdatableWithContext.swift
[44/50] Compiling Outlaw Value.swift
[45/50] Compiling Outlaw Key.swift
[46/50] Compiling Outlaw Array+IndexExtractable.swift
[47/50] Compiling Outlaw Index.swift
[48/50] Compiling Outlaw IndexExtractable+Enum.swift
[49/50] Compiling Outlaw IndexExtractable+Value.swift
[50/50] Compiling Outlaw IndexExtractable+ValueWithContext.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/44] Compiling Outlaw IndexDeserializableWithContext.swift
[3/44] Compiling Outlaw IndexSerializable.swift
[4/44] Compiling Outlaw IndexSerializableWithContext.swift
[5/44] Compiling Outlaw IndexUpdatable.swift
[6/44] Compiling Outlaw IndexUpdatableWithContext.swift
[7/44] Compiling Outlaw Value.swift
[8/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 })
[9/49] Compiling Outlaw DeserializableWithContext.swift
[10/49] Compiling Outlaw Serializable.swift
[11/49] Compiling Outlaw SerializableWithContext.swift
[12/49] Compiling Outlaw Updatable.swift
[13/49] Compiling Outlaw UpdatableWithContext.swift
[14/49] Compiling Outlaw IndexDeserializable.swift
[15/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 | }
[16/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 | }
[17/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 | }
[18/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 | }
[19/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 | }
[20/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 | }
[21/49] 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))
[22/49] 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))
[23/49] 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))
[24/49] 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))
[25/49] 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))
[26/49] 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))
[27/49] Compiling Outlaw IndexExtractable.swift
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:41:40: error: type 'JSONSerialization' has no member 'writeJSONObject'
39 | #else
40 | var error: NSError? = nil
41 | let result = JSONSerialization.writeJSONObject(collection, to: stream, options: options, error: &error)
| `- error: type 'JSONSerialization' has no member 'writeJSONObject'
42 | if let error = error {
43 | throw error
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:164:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
162 | public extension JSON {
163 | static func value<V>(from stream: InputStream) throws -> [V] {
164 | let any = try JSONSerialization.jsonObject(with: stream, options: [])
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
165 | return try Array<V>.value(from: any)
166 | }
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:178:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
176 |
177 | static func value<K, V>(from stream: InputStream) throws -> [K: V] {
178 | let any = try JSONSerialization.jsonObject(with: stream, options: [])
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
179 | return try Dictionary<K, V>.value(from: any)
180 | }
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:192:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
190 |
191 | static func value<V>(from stream: InputStream) throws -> Set<V> {
192 | let any = try JSONSerialization.jsonObject(with: stream, options: [])
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
193 | return try Set<V>.value(from: any)
194 | }
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:206:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
204 |
205 | static func value<V: Value>(from stream: InputStream) throws -> V {
206 | let any = try JSONSerialization.jsonObject(with: stream, options: .allowFragments)
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
207 | guard let result = try V.value(from: any) as? V else {
208 | throw OutlawError.typeMismatch(expected: V.self, actual: any)
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:225:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
223 | public extension JSON {
224 | static func value<V: Value>(from stream: InputStream) throws -> [V] {
225 | let any = try JSONSerialization.jsonObject(with: stream, options: [])
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
226 | return try Array<V>.mappedValue(from: any)
227 | }
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:239:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
237 |
238 | static func value<K, V: Value>(from stream: InputStream) throws -> [K: V] {
239 | let any = try JSONSerialization.jsonObject(with: stream, options: [])
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
240 | return try Dictionary<K, V>.mappedValue(from: any)
241 | }
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:253:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
251 |
252 | static func value<V: Value>(from stream: InputStream) throws -> Set<V> {
253 | let any = try JSONSerialization.jsonObject(with: stream, options: [])
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
254 | return try Set<V>.mappedValue(from: any)
255 | }
[28/49] Compiling Outlaw OutlawError.swift
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:41:40: error: type 'JSONSerialization' has no member 'writeJSONObject'
39 | #else
40 | var error: NSError? = nil
41 | let result = JSONSerialization.writeJSONObject(collection, to: stream, options: options, error: &error)
| `- error: type 'JSONSerialization' has no member 'writeJSONObject'
42 | if let error = error {
43 | throw error
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:164:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
162 | public extension JSON {
163 | static func value<V>(from stream: InputStream) throws -> [V] {
164 | let any = try JSONSerialization.jsonObject(with: stream, options: [])
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
165 | return try Array<V>.value(from: any)
166 | }
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:178:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
176 |
177 | static func value<K, V>(from stream: InputStream) throws -> [K: V] {
178 | let any = try JSONSerialization.jsonObject(with: stream, options: [])
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
179 | return try Dictionary<K, V>.value(from: any)
180 | }
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:192:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
190 |
191 | static func value<V>(from stream: InputStream) throws -> Set<V> {
192 | let any = try JSONSerialization.jsonObject(with: stream, options: [])
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
193 | return try Set<V>.value(from: any)
194 | }
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:206:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
204 |
205 | static func value<V: Value>(from stream: InputStream) throws -> V {
206 | let any = try JSONSerialization.jsonObject(with: stream, options: .allowFragments)
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
207 | guard let result = try V.value(from: any) as? V else {
208 | throw OutlawError.typeMismatch(expected: V.self, actual: any)
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:225:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
223 | public extension JSON {
224 | static func value<V: Value>(from stream: InputStream) throws -> [V] {
225 | let any = try JSONSerialization.jsonObject(with: stream, options: [])
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
226 | return try Array<V>.mappedValue(from: any)
227 | }
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:239:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
237 |
238 | static func value<K, V: Value>(from stream: InputStream) throws -> [K: V] {
239 | let any = try JSONSerialization.jsonObject(with: stream, options: [])
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
240 | return try Dictionary<K, V>.mappedValue(from: any)
241 | }
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:253:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
251 |
252 | static func value<V: Value>(from stream: InputStream) throws -> Set<V> {
253 | let any = try JSONSerialization.jsonObject(with: stream, options: [])
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
254 | return try Set<V>.mappedValue(from: any)
255 | }
[29/49] Compiling Outlaw JSON.swift
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:41:40: error: type 'JSONSerialization' has no member 'writeJSONObject'
39 | #else
40 | var error: NSError? = nil
41 | let result = JSONSerialization.writeJSONObject(collection, to: stream, options: options, error: &error)
| `- error: type 'JSONSerialization' has no member 'writeJSONObject'
42 | if let error = error {
43 | throw error
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:164:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
162 | public extension JSON {
163 | static func value<V>(from stream: InputStream) throws -> [V] {
164 | let any = try JSONSerialization.jsonObject(with: stream, options: [])
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
165 | return try Array<V>.value(from: any)
166 | }
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:178:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
176 |
177 | static func value<K, V>(from stream: InputStream) throws -> [K: V] {
178 | let any = try JSONSerialization.jsonObject(with: stream, options: [])
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
179 | return try Dictionary<K, V>.value(from: any)
180 | }
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:192:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
190 |
191 | static func value<V>(from stream: InputStream) throws -> Set<V> {
192 | let any = try JSONSerialization.jsonObject(with: stream, options: [])
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
193 | return try Set<V>.value(from: any)
194 | }
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:206:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
204 |
205 | static func value<V: Value>(from stream: InputStream) throws -> V {
206 | let any = try JSONSerialization.jsonObject(with: stream, options: .allowFragments)
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
207 | guard let result = try V.value(from: any) as? V else {
208 | throw OutlawError.typeMismatch(expected: V.self, actual: any)
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:225:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
223 | public extension JSON {
224 | static func value<V: Value>(from stream: InputStream) throws -> [V] {
225 | let any = try JSONSerialization.jsonObject(with: stream, options: [])
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
226 | return try Array<V>.mappedValue(from: any)
227 | }
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:239:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
237 |
238 | static func value<K, V: Value>(from stream: InputStream) throws -> [K: V] {
239 | let any = try JSONSerialization.jsonObject(with: stream, options: [])
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
240 | return try Dictionary<K, V>.mappedValue(from: any)
241 | }
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:253:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
251 |
252 | static func value<V: Value>(from stream: InputStream) throws -> Set<V> {
253 | let any = try JSONSerialization.jsonObject(with: stream, options: [])
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
254 | return try Set<V>.mappedValue(from: any)
255 | }
[30/49] Compiling Outlaw JSONCollection.swift
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:41:40: error: type 'JSONSerialization' has no member 'writeJSONObject'
39 | #else
40 | var error: NSError? = nil
41 | let result = JSONSerialization.writeJSONObject(collection, to: stream, options: options, error: &error)
| `- error: type 'JSONSerialization' has no member 'writeJSONObject'
42 | if let error = error {
43 | throw error
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:164:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
162 | public extension JSON {
163 | static func value<V>(from stream: InputStream) throws -> [V] {
164 | let any = try JSONSerialization.jsonObject(with: stream, options: [])
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
165 | return try Array<V>.value(from: any)
166 | }
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:178:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
176 |
177 | static func value<K, V>(from stream: InputStream) throws -> [K: V] {
178 | let any = try JSONSerialization.jsonObject(with: stream, options: [])
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
179 | return try Dictionary<K, V>.value(from: any)
180 | }
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:192:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
190 |
191 | static func value<V>(from stream: InputStream) throws -> Set<V> {
192 | let any = try JSONSerialization.jsonObject(with: stream, options: [])
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
193 | return try Set<V>.value(from: any)
194 | }
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:206:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
204 |
205 | static func value<V: Value>(from stream: InputStream) throws -> V {
206 | let any = try JSONSerialization.jsonObject(with: stream, options: .allowFragments)
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
207 | guard let result = try V.value(from: any) as? V else {
208 | throw OutlawError.typeMismatch(expected: V.self, actual: any)
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:225:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
223 | public extension JSON {
224 | static func value<V: Value>(from stream: InputStream) throws -> [V] {
225 | let any = try JSONSerialization.jsonObject(with: stream, options: [])
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
226 | return try Array<V>.mappedValue(from: any)
227 | }
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:239:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
237 |
238 | static func value<K, V: Value>(from stream: InputStream) throws -> [K: V] {
239 | let any = try JSONSerialization.jsonObject(with: stream, options: [])
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
240 | return try Dictionary<K, V>.mappedValue(from: any)
241 | }
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:253:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
251 |
252 | static func value<V: Value>(from stream: InputStream) throws -> Set<V> {
253 | let any = try JSONSerialization.jsonObject(with: stream, options: [])
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
254 | return try Set<V>.mappedValue(from: any)
255 | }
[31/49] Compiling Outlaw JSONSerializable.swift
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:41:40: error: type 'JSONSerialization' has no member 'writeJSONObject'
39 | #else
40 | var error: NSError? = nil
41 | let result = JSONSerialization.writeJSONObject(collection, to: stream, options: options, error: &error)
| `- error: type 'JSONSerialization' has no member 'writeJSONObject'
42 | if let error = error {
43 | throw error
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:164:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
162 | public extension JSON {
163 | static func value<V>(from stream: InputStream) throws -> [V] {
164 | let any = try JSONSerialization.jsonObject(with: stream, options: [])
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
165 | return try Array<V>.value(from: any)
166 | }
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:178:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
176 |
177 | static func value<K, V>(from stream: InputStream) throws -> [K: V] {
178 | let any = try JSONSerialization.jsonObject(with: stream, options: [])
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
179 | return try Dictionary<K, V>.value(from: any)
180 | }
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:192:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
190 |
191 | static func value<V>(from stream: InputStream) throws -> Set<V> {
192 | let any = try JSONSerialization.jsonObject(with: stream, options: [])
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
193 | return try Set<V>.value(from: any)
194 | }
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:206:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
204 |
205 | static func value<V: Value>(from stream: InputStream) throws -> V {
206 | let any = try JSONSerialization.jsonObject(with: stream, options: .allowFragments)
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
207 | guard let result = try V.value(from: any) as? V else {
208 | throw OutlawError.typeMismatch(expected: V.self, actual: any)
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:225:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
223 | public extension JSON {
224 | static func value<V: Value>(from stream: InputStream) throws -> [V] {
225 | let any = try JSONSerialization.jsonObject(with: stream, options: [])
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
226 | return try Array<V>.mappedValue(from: any)
227 | }
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:239:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
237 |
238 | static func value<K, V: Value>(from stream: InputStream) throws -> [K: V] {
239 | let any = try JSONSerialization.jsonObject(with: stream, options: [])
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
240 | return try Dictionary<K, V>.mappedValue(from: any)
241 | }
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:253:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
251 |
252 | static func value<V: Value>(from stream: InputStream) throws -> Set<V> {
253 | let any = try JSONSerialization.jsonObject(with: stream, options: [])
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
254 | return try Set<V>.mappedValue(from: any)
255 | }
[32/49] Compiling Outlaw Deserializable.swift
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:41:40: error: type 'JSONSerialization' has no member 'writeJSONObject'
39 | #else
40 | var error: NSError? = nil
41 | let result = JSONSerialization.writeJSONObject(collection, to: stream, options: options, error: &error)
| `- error: type 'JSONSerialization' has no member 'writeJSONObject'
42 | if let error = error {
43 | throw error
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:164:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
162 | public extension JSON {
163 | static func value<V>(from stream: InputStream) throws -> [V] {
164 | let any = try JSONSerialization.jsonObject(with: stream, options: [])
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
165 | return try Array<V>.value(from: any)
166 | }
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:178:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
176 |
177 | static func value<K, V>(from stream: InputStream) throws -> [K: V] {
178 | let any = try JSONSerialization.jsonObject(with: stream, options: [])
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
179 | return try Dictionary<K, V>.value(from: any)
180 | }
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:192:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
190 |
191 | static func value<V>(from stream: InputStream) throws -> Set<V> {
192 | let any = try JSONSerialization.jsonObject(with: stream, options: [])
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
193 | return try Set<V>.value(from: any)
194 | }
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:206:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
204 |
205 | static func value<V: Value>(from stream: InputStream) throws -> V {
206 | let any = try JSONSerialization.jsonObject(with: stream, options: .allowFragments)
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
207 | guard let result = try V.value(from: any) as? V else {
208 | throw OutlawError.typeMismatch(expected: V.self, actual: any)
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:225:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
223 | public extension JSON {
224 | static func value<V: Value>(from stream: InputStream) throws -> [V] {
225 | let any = try JSONSerialization.jsonObject(with: stream, options: [])
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
226 | return try Array<V>.mappedValue(from: any)
227 | }
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:239:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
237 |
238 | static func value<K, V: Value>(from stream: InputStream) throws -> [K: V] {
239 | let any = try JSONSerialization.jsonObject(with: stream, options: [])
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
240 | return try Dictionary<K, V>.mappedValue(from: any)
241 | }
/host/spi-builder-workspace/Sources/Outlaw/JSON/JSON.swift:253:58: error: cannot convert value of type 'InputStream' to expected argument type 'Data'
251 |
252 | static func value<V: Value>(from stream: InputStream) throws -> Set<V> {
253 | let any = try JSONSerialization.jsonObject(with: stream, options: [])
| `- error: cannot convert value of type 'InputStream' to expected argument type 'Data'
254 | return try Set<V>.mappedValue(from: any)
255 | }
[33/49] Compiling Outlaw Key.swift
[34/49] Compiling Outlaw Array+IndexExtractable.swift
[35/49] Compiling Outlaw Index.swift
[36/49] Compiling Outlaw IndexExtractable+Enum.swift
[37/49] Compiling Outlaw IndexExtractable+Value.swift
[38/49] Compiling Outlaw IndexExtractable+ValueWithContext.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 wasm