Build Information
Successful build of SwiftUIRules, reference 0.2.0 (00dff8
), with Swift 6.2 (beta) for macOS (SPM) on 17 Jun 2025 15:42:04 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DirectToSwift/SwiftUIRules.git
Reference: 0.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/DirectToSwift/SwiftUIRules
* tag 0.2.0 -> FETCH_HEAD
HEAD is now at 00dff8d Merge branch 'develop'
Cloned https://github.com/DirectToSwift/SwiftUIRules.git
Revision (git rev-parse @):
00dff8dbe59d3663df6ca69d904f41c5ab74779e
SUCCESS checkout https://github.com/DirectToSwift/SwiftUIRules.git at 0.2.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/DirectToSwift/SwiftUIRules.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/23] Emitting module SwiftUIRules
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/Assignments/RuleKeyAssignment.swift:49:33: warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | * @see RuleAssignment
29 | */
30 | public struct RuleKeyAssignment<K: DynamicEnvironmentKey,
| `- note: 'K' previously declared here
31 | Value: DynamicEnvironmentKey>
32 | : RuleCandidate, RuleAction
:
47 | return ObjectIdentifier(key)
48 | }
49 | public func isCandidateForKey<K: DynamicEnvironmentKey>(_ key: K.Type)
| `- warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
50 | -> Bool
51 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/Assignments/RuleTypeIDAssignment.swift:66:29: warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
64 |
65 | init<K: DynamicEnvironmentKey>(_ key: K.Type, _ constant: K.Value)
66 | where Value == K.Value
| `- warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
67 | {
68 | self.init(ObjectIdentifier(key), constant)
SwiftUI.EnvironmentKey.Value:2:16: note: associated type declared here
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: associated type declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/Assignments/RuleTypeIDAssignment.swift:65:63: warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
63 | public extension RuleTypeIDAssignment {
64 |
65 | init<K: DynamicEnvironmentKey>(_ key: K.Type, _ constant: K.Value)
| `- warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
66 | where Value == K.Value
67 | {
SwiftUI.EnvironmentKey.Value:2:16: note: associated type declared here
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: associated type declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/Assignments/RuleValueAssignment.swift:15:28: warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
13 |
14 | public let key : K.Type
15 | public let constant : K.Value
| `- warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
16 |
17 | public init(_ key: K.Type, _ constant: K.Value) {
SwiftUI.EnvironmentKey.Value:2:16: note: associated type declared here
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: associated type declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/Assignments/RuleValueAssignment.swift:17:44: warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
15 | public let constant : K.Value
16 |
17 | public init(_ key: K.Type, _ constant: K.Value) {
| `- warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
18 | self.key = key
19 | self.constant = constant
SwiftUI.EnvironmentKey.Value:2:16: note: associated type declared here
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: associated type declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/Assignments/RuleValueAssignment.swift:26:33: warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct RuleValueAssignment<K: DynamicEnvironmentKey>
| `- note: 'K' previously declared here
10 | : RuleCandidate, RuleAction
11 | {
:
24 | }
25 |
26 | public func isCandidateForKey<K: DynamicEnvironmentKey>(_ key: K.Type)
| `- warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
27 | -> Bool
28 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/DynamicEnvironment/DynamicEnvironmentValues.swift:22:69: warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
20 | mutating func storeValue<V>(_ value: V, forTypeID typeID: ObjectIdentifier)
21 |
22 | func defaultValue<K: DynamicEnvironmentKey>(for key: K.Type) -> K.Value
| `- warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
23 | }
24 |
SwiftUI.EnvironmentKey.Value:2:16: note: associated type declared here
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: associated type declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/DynamicEnvironment/DynamicEnvironmentValues.swift:31:57: warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
29 | * the key if the `resolveValueForTypeID` returns no value.
30 | */
31 | subscript<K: DynamicEnvironmentKey>(key: K.Type) -> K.Value {
| `- warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
32 | // Note a subscript w/o a name can be used on types w/o adding `.self`!!
33 | set { storeValue(newValue, forTypeID: ObjectIdentifier(key)) }
SwiftUI.EnvironmentKey.Value:2:16: note: associated type declared here
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: associated type declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/DynamicEnvironment/DynamicEnvironmentValues.swift:47:63: warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
45 | * key.
46 | */
47 | func optional<K: DynamicEnvironmentKey>(_ key: K.Type) -> K.Value? {
| `- warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
48 | let typeID = ObjectIdentifier(key)
49 |
SwiftUI.EnvironmentKey.Value:2:16: note: associated type declared here
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: associated type declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/Predicates/RuleKeyPathPredicate.swift:68:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct RuleKeyPathPredicate<Value>: RulePredicate {
| `- note: 'Value' previously declared here
10 | // This is like a ClosurePredicate, but it preserves the static type.
11 | // Which has to be passed in explicitly! Can't add further constraints to
:
66 | public extension RuleKeyPathPredicate {
67 |
68 | init<Value>(keyPath: Swift.KeyPath<RuleContext, 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
69 | value: Value) where Value: Equatable
70 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/Predicates/RuleKeyPathPredicate.swift:83:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct RuleKeyPathPredicate<Value>: RulePredicate {
| `- note: 'Value' previously declared here
10 | // This is like a ClosurePredicate, but it preserves the static type.
11 | // Which has to be passed in explicitly! Can't add further constraints to
:
81 | }
82 |
83 | init<Value>(keyPath: Swift.KeyPath<RuleContext, 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
84 | operation: RuleComparisonOperation = .equal,
85 | value: Value) where Value: Comparable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/Predicates/RuleKeyPathPredicate.swift:94:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct RuleKeyPathPredicate<Value>: RulePredicate {
| `- note: 'Value' previously declared here
10 | // This is like a ClosurePredicate, but it preserves the static type.
11 | // Which has to be passed in explicitly! Can't add further constraints to
:
92 |
93 | public extension RuleKeyPathPredicate {
94 | init<Value>(_ lhs: Swift.KeyPath<RuleContext, 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
95 | _ rhs: Swift.KeyPath<RuleContext, Value>) where Value: Equatable
96 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/Predicates/RuleKeyPathPredicate.swift:110:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct RuleKeyPathPredicate<Value>: RulePredicate {
| `- note: 'Value' previously declared here
10 | // This is like a ClosurePredicate, but it preserves the static type.
11 | // Which has to be passed in explicitly! Can't add further constraints to
:
108 | }
109 |
110 | init<Value>(_ lhs: Swift.KeyPath<RuleContext, 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
111 | operation: RuleComparisonOperation = .equal,
112 | _ rhs: Swift.KeyPath<RuleContext, Value>) where Value: Comparable
[4/25] Compiling SwiftUIRules RuleAction.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/Assignments/RuleKeyAssignment.swift:49:33: warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | * @see RuleAssignment
29 | */
30 | public struct RuleKeyAssignment<K: DynamicEnvironmentKey,
| `- note: 'K' previously declared here
31 | Value: DynamicEnvironmentKey>
32 | : RuleCandidate, RuleAction
:
47 | return ObjectIdentifier(key)
48 | }
49 | public func isCandidateForKey<K: DynamicEnvironmentKey>(_ key: K.Type)
| `- warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
50 | -> Bool
51 | {
[5/25] Compiling SwiftUIRules RuleCandidate.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/Assignments/RuleKeyAssignment.swift:49:33: warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | * @see RuleAssignment
29 | */
30 | public struct RuleKeyAssignment<K: DynamicEnvironmentKey,
| `- note: 'K' previously declared here
31 | Value: DynamicEnvironmentKey>
32 | : RuleCandidate, RuleAction
:
47 | return ObjectIdentifier(key)
48 | }
49 | public func isCandidateForKey<K: DynamicEnvironmentKey>(_ key: K.Type)
| `- warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
50 | -> Bool
51 | {
[6/25] Compiling SwiftUIRules RuleKeyAssignment.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/Assignments/RuleKeyAssignment.swift:49:33: warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 | * @see RuleAssignment
29 | */
30 | public struct RuleKeyAssignment<K: DynamicEnvironmentKey,
| `- note: 'K' previously declared here
31 | Value: DynamicEnvironmentKey>
32 | : RuleCandidate, RuleAction
:
47 | return ObjectIdentifier(key)
48 | }
49 | public func isCandidateForKey<K: DynamicEnvironmentKey>(_ key: K.Type)
| `- warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
50 | -> Bool
51 | {
[7/25] Compiling SwiftUIRules RuleModel.swift
[8/25] Compiling SwiftUIRules RuleDebug.swift
[9/25] Compiling SwiftUIRules RuleKeyPathPredicate.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/Predicates/RuleKeyPathPredicate.swift:68:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct RuleKeyPathPredicate<Value>: RulePredicate {
| `- note: 'Value' previously declared here
10 | // This is like a ClosurePredicate, but it preserves the static type.
11 | // Which has to be passed in explicitly! Can't add further constraints to
:
66 | public extension RuleKeyPathPredicate {
67 |
68 | init<Value>(keyPath: Swift.KeyPath<RuleContext, 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
69 | value: Value) where Value: Equatable
70 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/Predicates/RuleKeyPathPredicate.swift:83:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct RuleKeyPathPredicate<Value>: RulePredicate {
| `- note: 'Value' previously declared here
10 | // This is like a ClosurePredicate, but it preserves the static type.
11 | // Which has to be passed in explicitly! Can't add further constraints to
:
81 | }
82 |
83 | init<Value>(keyPath: Swift.KeyPath<RuleContext, 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
84 | operation: RuleComparisonOperation = .equal,
85 | value: Value) where Value: Comparable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/Predicates/RuleKeyPathPredicate.swift:94:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct RuleKeyPathPredicate<Value>: RulePredicate {
| `- note: 'Value' previously declared here
10 | // This is like a ClosurePredicate, but it preserves the static type.
11 | // Which has to be passed in explicitly! Can't add further constraints to
:
92 |
93 | public extension RuleKeyPathPredicate {
94 | init<Value>(_ lhs: Swift.KeyPath<RuleContext, 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
95 | _ rhs: Swift.KeyPath<RuleContext, Value>) where Value: Equatable
96 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/Predicates/RuleKeyPathPredicate.swift:110:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct RuleKeyPathPredicate<Value>: RulePredicate {
| `- note: 'Value' previously declared here
10 | // This is like a ClosurePredicate, but it preserves the static type.
11 | // Which has to be passed in explicitly! Can't add further constraints to
:
108 | }
109 |
110 | init<Value>(_ lhs: Swift.KeyPath<RuleContext, 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
111 | operation: RuleComparisonOperation = .equal,
112 | _ rhs: Swift.KeyPath<RuleContext, Value>) where Value: Comparable
[10/25] Compiling SwiftUIRules RulePredicate.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/Predicates/RuleKeyPathPredicate.swift:68:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct RuleKeyPathPredicate<Value>: RulePredicate {
| `- note: 'Value' previously declared here
10 | // This is like a ClosurePredicate, but it preserves the static type.
11 | // Which has to be passed in explicitly! Can't add further constraints to
:
66 | public extension RuleKeyPathPredicate {
67 |
68 | init<Value>(keyPath: Swift.KeyPath<RuleContext, 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
69 | value: Value) where Value: Equatable
70 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/Predicates/RuleKeyPathPredicate.swift:83:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct RuleKeyPathPredicate<Value>: RulePredicate {
| `- note: 'Value' previously declared here
10 | // This is like a ClosurePredicate, but it preserves the static type.
11 | // Which has to be passed in explicitly! Can't add further constraints to
:
81 | }
82 |
83 | init<Value>(keyPath: Swift.KeyPath<RuleContext, 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
84 | operation: RuleComparisonOperation = .equal,
85 | value: Value) where Value: Comparable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/Predicates/RuleKeyPathPredicate.swift:94:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct RuleKeyPathPredicate<Value>: RulePredicate {
| `- note: 'Value' previously declared here
10 | // This is like a ClosurePredicate, but it preserves the static type.
11 | // Which has to be passed in explicitly! Can't add further constraints to
:
92 |
93 | public extension RuleKeyPathPredicate {
94 | init<Value>(_ lhs: Swift.KeyPath<RuleContext, 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
95 | _ rhs: Swift.KeyPath<RuleContext, Value>) where Value: Equatable
96 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/Predicates/RuleKeyPathPredicate.swift:110:8: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct RuleKeyPathPredicate<Value>: RulePredicate {
| `- note: 'Value' previously declared here
10 | // This is like a ClosurePredicate, but it preserves the static type.
11 | // Which has to be passed in explicitly! Can't add further constraints to
:
108 | }
109 |
110 | init<Value>(_ lhs: Swift.KeyPath<RuleContext, 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
111 | operation: RuleComparisonOperation = .equal,
112 | _ rhs: Swift.KeyPath<RuleContext, Value>) where Value: Comparable
[11/25] Compiling SwiftUIRules CompoundPredicateOperators.swift
[12/25] Compiling SwiftUIRules KeyPathPredicateOperators.swift
[13/25] Compiling SwiftUIRules RuleOperators.swift
[14/25] Compiling SwiftUIRules RuleBoolPredicate.swift
[15/25] Compiling SwiftUIRules Rule.swift
[16/25] Compiling SwiftUIRules RuleContext.swift
[17/25] Compiling SwiftUIRules DynamicEnvironmentValues.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/DynamicEnvironment/DynamicEnvironmentValues.swift:22:69: warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
20 | mutating func storeValue<V>(_ value: V, forTypeID typeID: ObjectIdentifier)
21 |
22 | func defaultValue<K: DynamicEnvironmentKey>(for key: K.Type) -> K.Value
| `- warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
23 | }
24 |
SwiftUI.EnvironmentKey.Value:2:16: note: associated type declared here
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: associated type declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/DynamicEnvironment/DynamicEnvironmentValues.swift:31:57: warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
29 | * the key if the `resolveValueForTypeID` returns no value.
30 | */
31 | subscript<K: DynamicEnvironmentKey>(key: K.Type) -> K.Value {
| `- warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
32 | // Note a subscript w/o a name can be used on types w/o adding `.self`!!
33 | set { storeValue(newValue, forTypeID: ObjectIdentifier(key)) }
SwiftUI.EnvironmentKey.Value:2:16: note: associated type declared here
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: associated type declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/DynamicEnvironment/DynamicEnvironmentValues.swift:47:63: warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
45 | * key.
46 | */
47 | func optional<K: DynamicEnvironmentKey>(_ key: K.Type) -> K.Value? {
| `- warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
48 | let typeID = ObjectIdentifier(key)
49 |
SwiftUI.EnvironmentKey.Value:2:16: note: associated type declared here
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: associated type declared here
3 |
[18/25] Compiling SwiftUIRules AssignmentOperators.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/DynamicEnvironment/DynamicEnvironmentValues.swift:22:69: warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
20 | mutating func storeValue<V>(_ value: V, forTypeID typeID: ObjectIdentifier)
21 |
22 | func defaultValue<K: DynamicEnvironmentKey>(for key: K.Type) -> K.Value
| `- warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
23 | }
24 |
SwiftUI.EnvironmentKey.Value:2:16: note: associated type declared here
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: associated type declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/DynamicEnvironment/DynamicEnvironmentValues.swift:31:57: warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
29 | * the key if the `resolveValueForTypeID` returns no value.
30 | */
31 | subscript<K: DynamicEnvironmentKey>(key: K.Type) -> K.Value {
| `- warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
32 | // Note a subscript w/o a name can be used on types w/o adding `.self`!!
33 | set { storeValue(newValue, forTypeID: ObjectIdentifier(key)) }
SwiftUI.EnvironmentKey.Value:2:16: note: associated type declared here
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: associated type declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/DynamicEnvironment/DynamicEnvironmentValues.swift:47:63: warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
45 | * key.
46 | */
47 | func optional<K: DynamicEnvironmentKey>(_ key: K.Type) -> K.Value? {
| `- warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
48 | let typeID = ObjectIdentifier(key)
49 |
SwiftUI.EnvironmentKey.Value:2:16: note: associated type declared here
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: associated type declared here
3 |
[19/25] Compiling SwiftUIRules RuleClosurePredicate.swift
[20/25] Compiling SwiftUIRules RuleCompoundPredicate.swift
[21/25] Compiling SwiftUIRules RuleTypeIDAssignment.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/Assignments/RuleTypeIDAssignment.swift:66:29: warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
64 |
65 | init<K: DynamicEnvironmentKey>(_ key: K.Type, _ constant: K.Value)
66 | where Value == K.Value
| `- warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
67 | {
68 | self.init(ObjectIdentifier(key), constant)
SwiftUI.EnvironmentKey.Value:2:16: note: associated type declared here
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: associated type declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/Assignments/RuleTypeIDAssignment.swift:65:63: warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
63 | public extension RuleTypeIDAssignment {
64 |
65 | init<K: DynamicEnvironmentKey>(_ key: K.Type, _ constant: K.Value)
| `- warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
66 | where Value == K.Value
67 | {
SwiftUI.EnvironmentKey.Value:2:16: note: associated type declared here
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: associated type declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/Assignments/RuleValueAssignment.swift:15:28: warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
13 |
14 | public let key : K.Type
15 | public let constant : K.Value
| `- warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
16 |
17 | public init(_ key: K.Type, _ constant: K.Value) {
SwiftUI.EnvironmentKey.Value:2:16: note: associated type declared here
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: associated type declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/Assignments/RuleValueAssignment.swift:17:44: warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
15 | public let constant : K.Value
16 |
17 | public init(_ key: K.Type, _ constant: K.Value) {
| `- warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
18 | self.key = key
19 | self.constant = constant
SwiftUI.EnvironmentKey.Value:2:16: note: associated type declared here
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: associated type declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/Assignments/RuleValueAssignment.swift:26:33: warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct RuleValueAssignment<K: DynamicEnvironmentKey>
| `- note: 'K' previously declared here
10 | : RuleCandidate, RuleAction
11 | {
:
24 | }
25 |
26 | public func isCandidateForKey<K: DynamicEnvironmentKey>(_ key: K.Type)
| `- warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
27 | -> Bool
28 | {
[22/25] Compiling SwiftUIRules RuleTypeIDPathAssignment.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/Assignments/RuleTypeIDAssignment.swift:66:29: warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
64 |
65 | init<K: DynamicEnvironmentKey>(_ key: K.Type, _ constant: K.Value)
66 | where Value == K.Value
| `- warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
67 | {
68 | self.init(ObjectIdentifier(key), constant)
SwiftUI.EnvironmentKey.Value:2:16: note: associated type declared here
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: associated type declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/Assignments/RuleTypeIDAssignment.swift:65:63: warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
63 | public extension RuleTypeIDAssignment {
64 |
65 | init<K: DynamicEnvironmentKey>(_ key: K.Type, _ constant: K.Value)
| `- warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
66 | where Value == K.Value
67 | {
SwiftUI.EnvironmentKey.Value:2:16: note: associated type declared here
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: associated type declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/Assignments/RuleValueAssignment.swift:15:28: warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
13 |
14 | public let key : K.Type
15 | public let constant : K.Value
| `- warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
16 |
17 | public init(_ key: K.Type, _ constant: K.Value) {
SwiftUI.EnvironmentKey.Value:2:16: note: associated type declared here
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: associated type declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/Assignments/RuleValueAssignment.swift:17:44: warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
15 | public let constant : K.Value
16 |
17 | public init(_ key: K.Type, _ constant: K.Value) {
| `- warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
18 | self.key = key
19 | self.constant = constant
SwiftUI.EnvironmentKey.Value:2:16: note: associated type declared here
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: associated type declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/Assignments/RuleValueAssignment.swift:26:33: warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct RuleValueAssignment<K: DynamicEnvironmentKey>
| `- note: 'K' previously declared here
10 | : RuleCandidate, RuleAction
11 | {
:
24 | }
25 |
26 | public func isCandidateForKey<K: DynamicEnvironmentKey>(_ key: K.Type)
| `- warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
27 | -> Bool
28 | {
[23/25] Compiling SwiftUIRules RuleValueAssignment.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/Assignments/RuleTypeIDAssignment.swift:66:29: warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
64 |
65 | init<K: DynamicEnvironmentKey>(_ key: K.Type, _ constant: K.Value)
66 | where Value == K.Value
| `- warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
67 | {
68 | self.init(ObjectIdentifier(key), constant)
SwiftUI.EnvironmentKey.Value:2:16: note: associated type declared here
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: associated type declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/Assignments/RuleTypeIDAssignment.swift:65:63: warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
63 | public extension RuleTypeIDAssignment {
64 |
65 | init<K: DynamicEnvironmentKey>(_ key: K.Type, _ constant: K.Value)
| `- warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
66 | where Value == K.Value
67 | {
SwiftUI.EnvironmentKey.Value:2:16: note: associated type declared here
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: associated type declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/Assignments/RuleValueAssignment.swift:15:28: warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
13 |
14 | public let key : K.Type
15 | public let constant : K.Value
| `- warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
16 |
17 | public init(_ key: K.Type, _ constant: K.Value) {
SwiftUI.EnvironmentKey.Value:2:16: note: associated type declared here
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: associated type declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/Assignments/RuleValueAssignment.swift:17:44: warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
15 | public let constant : K.Value
16 |
17 | public init(_ key: K.Type, _ constant: K.Value) {
| `- warning: cannot use associated type 'Value' here; 'SwiftUICore' was not imported by this file
18 | self.key = key
19 | self.constant = constant
SwiftUI.EnvironmentKey.Value:2:16: note: associated type declared here
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: associated type declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIRules/Assignments/RuleValueAssignment.swift:26:33: warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct RuleValueAssignment<K: DynamicEnvironmentKey>
| `- note: 'K' previously declared here
10 | : RuleCandidate, RuleAction
11 | {
:
24 | }
25 |
26 | public func isCandidateForKey<K: DynamicEnvironmentKey>(_ key: K.Type)
| `- warning: generic parameter 'K' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
27 | -> Bool
28 | {
[24/25] Compiling SwiftUIRules DynamicEnvironmentKey.swift
[25/25] Compiling SwiftUIRules DynamicEnvironmentPathes.swift
Build complete! (7.41s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftUIRules",
"name" : "SwiftUIRules",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "SwiftUIRules",
"targets" : [
"SwiftUIRules"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftUIRules",
"module_type" : "SwiftTarget",
"name" : "SwiftUIRules",
"path" : "Sources/SwiftUIRules",
"product_memberships" : [
"SwiftUIRules"
],
"sources" : [
"Assignments/RuleAction.swift",
"Assignments/RuleCandidate.swift",
"Assignments/RuleKeyAssignment.swift",
"Assignments/RuleTypeIDAssignment.swift",
"Assignments/RuleTypeIDPathAssignment.swift",
"Assignments/RuleValueAssignment.swift",
"DynamicEnvironment/DynamicEnvironmentKey.swift",
"DynamicEnvironment/DynamicEnvironmentPathes.swift",
"DynamicEnvironment/DynamicEnvironmentValues.swift",
"Operators/AssignmentOperators.swift",
"Operators/CompoundPredicateOperators.swift",
"Operators/KeyPathPredicateOperators.swift",
"Operators/RuleOperators.swift",
"Predicates/RuleBoolPredicate.swift",
"Predicates/RuleClosurePredicate.swift",
"Predicates/RuleCompoundPredicate.swift",
"Predicates/RuleKeyPathPredicate.swift",
"Predicates/RulePredicate.swift",
"Rule.swift",
"RuleContext.swift",
"RuleModel.swift",
"Support/RuleDebug.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.