Build Information
Failed to build Subviews with Swift 6.0 for watchOS using Xcode 16.0.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a xcodebuild -IDEClonedSourcePackagesDirPathOverride=$workDir/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $workDir/.derivedData build -scheme Subviews -destination generic/platform=watchos OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete
Build Log
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:33:20: error: cannot find type 'LayoutItem' in scope
31 | #endif
32 |
33 | internal extension LayoutItem { // Align methods are available via `LayoutAnchors`
| `- error: cannot find type 'LayoutItem' in scope
34 | @nonobjc var anchors: LayoutAnchors<Self> { LayoutAnchors(base: self) }
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:43:46: error: cannot find type 'LayoutItem' in scope
41 | }
42 |
43 | internal extension LayoutAnchors where Base: LayoutItem {
| `- error: cannot find type 'LayoutItem' in scope
44 |
45 | // MARK: Anchors
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:100:15: error: cannot find type 'LayoutItem' in scope
98 | /// `centerX`, `width`, etc). Use the anchor’s methods to construct constraints.
99 | internal struct Anchor<Type, Axis> { // type and axis are phantom types
100 | let item: LayoutItem
| `- error: cannot find type 'LayoutItem' in scope
101 | fileprivate let attribute: NSLayoutConstraint.Attribute
102 | fileprivate let offset: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:101:32: error: cannot find type 'NSLayoutConstraint' in scope
99 | internal struct Anchor<Type, Axis> { // type and axis are phantom types
100 | let item: LayoutItem
101 | fileprivate let attribute: NSLayoutConstraint.Attribute
| `- error: cannot find type 'NSLayoutConstraint' in scope
102 | fileprivate let offset: CGFloat
103 | fileprivate let multiplier: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:102:29: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
100 | let item: LayoutItem
101 | fileprivate let attribute: NSLayoutConstraint.Attribute
102 | fileprivate let offset: CGFloat
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
103 | fileprivate let multiplier: CGFloat
104 |
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:103:33: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
101 | fileprivate let attribute: NSLayoutConstraint.Attribute
102 | fileprivate let offset: CGFloat
103 | fileprivate let multiplier: CGFloat
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
104 |
105 | fileprivate init(_ item: LayoutItem, _ attribute: NSLayoutConstraint.Attribute, offset: CGFloat = 0, multiplier: CGFloat = 1) {
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:105:30: error: cannot find type 'LayoutItem' in scope
103 | fileprivate let multiplier: CGFloat
104 |
105 | fileprivate init(_ item: LayoutItem, _ attribute: NSLayoutConstraint.Attribute, offset: CGFloat = 0, multiplier: CGFloat = 1) {
| `- error: cannot find type 'LayoutItem' in scope
106 | self.item = item; self.attribute = attribute; self.offset = offset; self.multiplier = multiplier
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:105:55: error: cannot find type 'NSLayoutConstraint' in scope
103 | fileprivate let multiplier: CGFloat
104 |
105 | fileprivate init(_ item: LayoutItem, _ attribute: NSLayoutConstraint.Attribute, offset: CGFloat = 0, multiplier: CGFloat = 1) {
| `- error: cannot find type 'NSLayoutConstraint' in scope
106 | self.item = item; self.attribute = attribute; self.offset = offset; self.multiplier = multiplier
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:105:93: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
103 | fileprivate let multiplier: CGFloat
104 |
105 | fileprivate init(_ item: LayoutItem, _ attribute: NSLayoutConstraint.Attribute, offset: CGFloat = 0, multiplier: CGFloat = 1) {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
106 | self.item = item; self.attribute = attribute; self.offset = offset; self.multiplier = multiplier
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:105:118: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
103 | fileprivate let multiplier: CGFloat
104 |
105 | fileprivate init(_ item: LayoutItem, _ attribute: NSLayoutConstraint.Attribute, offset: CGFloat = 0, multiplier: CGFloat = 1) {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
106 | self.item = item; self.attribute = attribute; self.offset = offset; self.multiplier = multiplier
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:112:41: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
110 | ///
111 | /// - note: Consider using a convenience operator instead: `view.anchors.top + 10`.
112 | internal func offsetting(by offset: CGFloat) -> Anchor<Type, Axis> {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
113 | Anchor<Type, Axis>(item, attribute, offset: self.offset + offset, multiplier: self.multiplier)
114 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:119:45: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
117 | ///
118 | /// - note: Consider using a convenience operator instead: `view.anchors.height * 2`.
119 | internal func multiplied(by multiplier: CGFloat) -> Anchor<Type, Axis> {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
120 | Anchor<Type, Axis>(item, attribute, offset: self.offset * multiplier, multiplier: self.multiplier * multiplier)
121 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:124:66: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
122 | }
123 |
124 | internal func + <Type, Axis>(anchor: Anchor<Type, Axis>, offset: CGFloat) -> Anchor<Type, Axis> {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
125 | anchor.offsetting(by: offset)
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:124:66: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
122 | }
123 |
124 | internal func + <Type, Axis>(anchor: Anchor<Type, Axis>, offset: CGFloat) -> Anchor<Type, Axis> {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
125 | anchor.offsetting(by: offset)
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:128:66: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
126 | }
127 |
128 | internal func - <Type, Axis>(anchor: Anchor<Type, Axis>, offset: CGFloat) -> Anchor<Type, Axis> {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
129 | anchor.offsetting(by: -offset)
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:128:66: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
126 | }
127 |
128 | internal func - <Type, Axis>(anchor: Anchor<Type, Axis>, offset: CGFloat) -> Anchor<Type, Axis> {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
129 | anchor.offsetting(by: -offset)
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:132:70: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
130 | }
131 |
132 | internal func * <Type, Axis>(anchor: Anchor<Type, Axis>, multiplier: CGFloat) -> Anchor<Type, Axis> {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
133 | anchor.multiplied(by: multiplier)
134 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:132:70: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
130 | }
131 |
132 | internal func * <Type, Axis>(anchor: Anchor<Type, Axis>, multiplier: CGFloat) -> Anchor<Type, Axis> {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
133 | anchor.multiplied(by: multiplier)
134 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:139:103: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
137 |
138 | internal extension Anchor where Type: AnchorType.Alignment {
139 | @discardableResult func equal<Type: AnchorType.Alignment>(_ anchor: Anchor<Type, Axis>, constant: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
140 | Constraints.constrain(self, anchor, constant: constant, relation: .equal)
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:139:119: error: cannot find type 'NSLayoutConstraint' in scope
137 |
138 | internal extension Anchor where Type: AnchorType.Alignment {
139 | @discardableResult func equal<Type: AnchorType.Alignment>(_ anchor: Anchor<Type, Axis>, constant: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
140 | Constraints.constrain(self, anchor, constant: constant, relation: .equal)
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:139:103: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
137 |
138 | internal extension Anchor where Type: AnchorType.Alignment {
139 | @discardableResult func equal<Type: AnchorType.Alignment>(_ anchor: Anchor<Type, Axis>, constant: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
140 | Constraints.constrain(self, anchor, constant: constant, relation: .equal)
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:143:116: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
141 | }
142 |
143 | @discardableResult func greaterThanOrEqual<Type: AnchorType.Alignment>(_ anchor: Anchor<Type, Axis>, constant: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
144 | Constraints.constrain(self, anchor, constant: constant, relation: .greaterThanOrEqual)
145 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:143:132: error: cannot find type 'NSLayoutConstraint' in scope
141 | }
142 |
143 | @discardableResult func greaterThanOrEqual<Type: AnchorType.Alignment>(_ anchor: Anchor<Type, Axis>, constant: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
144 | Constraints.constrain(self, anchor, constant: constant, relation: .greaterThanOrEqual)
145 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:143:116: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
141 | }
142 |
143 | @discardableResult func greaterThanOrEqual<Type: AnchorType.Alignment>(_ anchor: Anchor<Type, Axis>, constant: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
144 | Constraints.constrain(self, anchor, constant: constant, relation: .greaterThanOrEqual)
145 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:147:113: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
145 | }
146 |
147 | @discardableResult func lessThanOrEqual<Type: AnchorType.Alignment>(_ anchor: Anchor<Type, Axis>, constant: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
148 | Constraints.constrain(self, anchor, constant: constant, relation: .lessThanOrEqual)
149 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:147:129: error: cannot find type 'NSLayoutConstraint' in scope
145 | }
146 |
147 | @discardableResult func lessThanOrEqual<Type: AnchorType.Alignment>(_ anchor: Anchor<Type, Axis>, constant: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
148 | Constraints.constrain(self, anchor, constant: constant, relation: .lessThanOrEqual)
149 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:147:113: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
145 | }
146 |
147 | @discardableResult func lessThanOrEqual<Type: AnchorType.Alignment>(_ anchor: Anchor<Type, Axis>, constant: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
148 | Constraints.constrain(self, anchor, constant: constant, relation: .lessThanOrEqual)
149 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:155:109: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
153 |
154 | internal extension Anchor where Type: AnchorType.Dimension {
155 | @discardableResult func equal<Type: AnchorType.Dimension, Axis>(_ anchor: Anchor<Type, Axis>, constant: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
156 | Constraints.constrain(self, anchor, constant: constant, relation: .equal)
157 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:155:125: error: cannot find type 'NSLayoutConstraint' in scope
153 |
154 | internal extension Anchor where Type: AnchorType.Dimension {
155 | @discardableResult func equal<Type: AnchorType.Dimension, Axis>(_ anchor: Anchor<Type, Axis>, constant: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
156 | Constraints.constrain(self, anchor, constant: constant, relation: .equal)
157 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:155:109: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
153 |
154 | internal extension Anchor where Type: AnchorType.Dimension {
155 | @discardableResult func equal<Type: AnchorType.Dimension, Axis>(_ anchor: Anchor<Type, Axis>, constant: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
156 | Constraints.constrain(self, anchor, constant: constant, relation: .equal)
157 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:159:122: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
157 | }
158 |
159 | @discardableResult func greaterThanOrEqual<Type: AnchorType.Dimension, Axis>(_ anchor: Anchor<Type, Axis>, constant: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
160 | Constraints.constrain(self, anchor, constant: constant, relation: .greaterThanOrEqual)
161 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:159:138: error: cannot find type 'NSLayoutConstraint' in scope
157 | }
158 |
159 | @discardableResult func greaterThanOrEqual<Type: AnchorType.Dimension, Axis>(_ anchor: Anchor<Type, Axis>, constant: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
160 | Constraints.constrain(self, anchor, constant: constant, relation: .greaterThanOrEqual)
161 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:159:122: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
157 | }
158 |
159 | @discardableResult func greaterThanOrEqual<Type: AnchorType.Dimension, Axis>(_ anchor: Anchor<Type, Axis>, constant: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
160 | Constraints.constrain(self, anchor, constant: constant, relation: .greaterThanOrEqual)
161 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:163:119: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
161 | }
162 |
163 | @discardableResult func lessThanOrEqual<Type: AnchorType.Dimension, Axis>(_ anchor: Anchor<Type, Axis>, constant: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
164 | Constraints.constrain(self, anchor, constant: constant, relation: .lessThanOrEqual)
165 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:163:135: error: cannot find type 'NSLayoutConstraint' in scope
161 | }
162 |
163 | @discardableResult func lessThanOrEqual<Type: AnchorType.Dimension, Axis>(_ anchor: Anchor<Type, Axis>, constant: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
164 | Constraints.constrain(self, anchor, constant: constant, relation: .lessThanOrEqual)
165 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:163:119: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
161 | }
162 |
163 | @discardableResult func lessThanOrEqual<Type: AnchorType.Dimension, Axis>(_ anchor: Anchor<Type, Axis>, constant: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
164 | Constraints.constrain(self, anchor, constant: constant, relation: .lessThanOrEqual)
165 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:171:68: error: cannot find type 'NSLayoutConstraint' in scope
169 |
170 | extension Anchor where Type: AnchorType.Dimension {
171 | @discardableResult internal func equal(_ constant: CGFloat) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
172 | Constraints.constrain(item: item, attribute: attribute, relatedBy: .equal, constant: constant)
173 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:171:56: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
169 |
170 | extension Anchor where Type: AnchorType.Dimension {
171 | @discardableResult internal func equal(_ constant: CGFloat) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
172 | Constraints.constrain(item: item, attribute: attribute, relatedBy: .equal, constant: constant)
173 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:175:81: error: cannot find type 'NSLayoutConstraint' in scope
173 | }
174 |
175 | @discardableResult internal func greaterThanOrEqual(_ constant: CGFloat) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
176 | Constraints.constrain(item: item, attribute: attribute, relatedBy: .greaterThanOrEqual, constant: constant)
177 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:175:69: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
173 | }
174 |
175 | @discardableResult internal func greaterThanOrEqual(_ constant: CGFloat) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
176 | Constraints.constrain(item: item, attribute: attribute, relatedBy: .greaterThanOrEqual, constant: constant)
177 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:179:78: error: cannot find type 'NSLayoutConstraint' in scope
177 | }
178 |
179 | @discardableResult internal func lessThanOrEqual(_ constant: CGFloat) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
180 | Constraints.constrain(item: item, attribute: attribute, relatedBy: .lessThanOrEqual, constant: constant)
181 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:179:66: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
177 | }
178 |
179 | @discardableResult internal func lessThanOrEqual(_ constant: CGFloat) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
180 | Constraints.constrain(item: item, attribute: attribute, relatedBy: .lessThanOrEqual, constant: constant)
181 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:188:92: error: cannot find type 'NSLayoutConstraint' in scope
186 | extension Anchor where Type: AnchorType.Edge {
187 | /// Pins the edge to the respected edges of the given container.
188 | @discardableResult internal func pin(to container: LayoutItem?, inset: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
189 | let isInverted = [.trailing, .right, .bottom].contains(attribute)
190 | return Constraints.constrain(self, toItem: container ?? item.superview!, attribute: attribute, constant: (isInverted ? -inset : inset))
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:188:56: error: cannot find type 'LayoutItem' in scope
186 | extension Anchor where Type: AnchorType.Edge {
187 | /// Pins the edge to the respected edges of the given container.
188 | @discardableResult internal func pin(to container: LayoutItem?, inset: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'LayoutItem' in scope
189 | let isInverted = [.trailing, .right, .bottom].contains(attribute)
190 | return Constraints.constrain(self, toItem: container ?? item.superview!, attribute: attribute, constant: (isInverted ? -inset : inset))
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:188:76: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
186 | extension Anchor where Type: AnchorType.Edge {
187 | /// Pins the edge to the respected edges of the given container.
188 | @discardableResult internal func pin(to container: LayoutItem?, inset: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
189 | let isInverted = [.trailing, .right, .bottom].contains(attribute)
190 | return Constraints.constrain(self, toItem: container ?? item.superview!, attribute: attribute, constant: (isInverted ? -inset : inset))
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:193:65: error: cannot find type 'NSLayoutConstraint' in scope
191 | }
192 |
193 | @discardableResult internal func pin(inset: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
194 | return pin(to: nil, inset: inset)
195 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:193:49: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
191 | }
192 |
193 | @discardableResult internal func pin(inset: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
194 | return pin(to: nil, inset: inset)
195 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:198:80: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
196 |
197 | /// Adds spacing between the current anchors.
198 | @discardableResult internal func spacing<Type: AnchorType.Edge>(_ spacing: CGFloat, to anchor: Anchor<Type, Axis>, relation: NSLayoutConstraint.Relation = .equal) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
199 | let isInverted = (attribute == .bottom && anchor.attribute == .top) ||
200 | (attribute == .right && anchor.attribute == .left) ||
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:198:130: error: cannot find type 'NSLayoutConstraint' in scope
196 |
197 | /// Adds spacing between the current anchors.
198 | @discardableResult internal func spacing<Type: AnchorType.Edge>(_ spacing: CGFloat, to anchor: Anchor<Type, Axis>, relation: NSLayoutConstraint.Relation = .equal) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
199 | let isInverted = (attribute == .bottom && anchor.attribute == .top) ||
200 | (attribute == .right && anchor.attribute == .left) ||
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:198:171: error: cannot find type 'NSLayoutConstraint' in scope
196 |
197 | /// Adds spacing between the current anchors.
198 | @discardableResult internal func spacing<Type: AnchorType.Edge>(_ spacing: CGFloat, to anchor: Anchor<Type, Axis>, relation: NSLayoutConstraint.Relation = .equal) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
199 | let isInverted = (attribute == .bottom && anchor.attribute == .top) ||
200 | (attribute == .right && anchor.attribute == .left) ||
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:198:80: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
196 |
197 | /// Adds spacing between the current anchors.
198 | @discardableResult internal func spacing<Type: AnchorType.Edge>(_ spacing: CGFloat, to anchor: Anchor<Type, Axis>, relation: NSLayoutConstraint.Relation = .equal) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
199 | let isInverted = (attribute == .bottom && anchor.attribute == .top) ||
200 | (attribute == .right && anchor.attribute == .left) ||
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:210:68: error: cannot find type 'NSLayoutConstraint' in scope
208 | extension Anchor where Type: AnchorType.Center {
209 | /// Aligns the axis with a superview axis.
210 | @discardableResult internal func align(offset: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
211 | Constraints.constrain(self, toItem: item.superview!, attribute: attribute, constant: offset)
212 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:210:52: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
208 | extension Anchor where Type: AnchorType.Center {
209 | /// Aligns the axis with a superview axis.
210 | @discardableResult internal func align(offset: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
211 | Constraints.constrain(self, toItem: item.superview!, attribute: attribute, constant: offset)
212 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:245:25: error: cannot find type 'LayoutItem' in scope
243 |
244 | internal struct AnchorCollectionEdges {
245 | internal init(item: LayoutItem, isAbsolute: Bool = false, axis: AnchorCollectionEdges.Axis?) {
| `- error: cannot find type 'LayoutItem' in scope
246 | self.item = item
247 | self.isAbsolute = isAbsolute
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:263:31: error: cannot find type 'NSLayoutConstraint' in scope
261 | internal typealias Axis = NSLayoutConstraint.Axis
262 | #else
263 | internal typealias Axis = NSLayoutConstraint.Orientation
| `- error: cannot find type 'NSLayoutConstraint' in scope
264 | #endif
265 |
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:251:27: error: cannot find type 'LayoutItem' in scope
249 | }
250 |
251 | fileprivate let item: LayoutItem
| `- error: cannot find type 'LayoutItem' in scope
252 | fileprivate var isAbsolute = false
253 | fileprivate var axis: Axis?
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:266:134: error: cannot find type 'NSLayoutConstraint' in scope
264 | #endif
265 |
266 | @discardableResult internal func pin(to item2: LayoutItem? = nil, insets: EdgeInsets = .zero, alignment: Alignmment = .fill) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
267 | let item2 = item2 ?? item.superview!
268 | let left: NSLayoutConstraint.Attribute = isAbsolute ? .left : .leading
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:266:52: error: cannot find type 'LayoutItem' in scope
264 | #endif
265 |
266 | @discardableResult internal func pin(to item2: LayoutItem? = nil, insets: EdgeInsets = .zero, alignment: Alignmment = .fill) -> [NSLayoutConstraint] {
| `- error: cannot find type 'LayoutItem' in scope
267 | let item2 = item2 ?? item.superview!
268 | let left: NSLayoutConstraint.Attribute = isAbsolute ? .left : .leading
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:266:79: error: cannot find type 'EdgeInsets' in scope
264 | #endif
265 |
266 | @discardableResult internal func pin(to item2: LayoutItem? = nil, insets: EdgeInsets = .zero, alignment: Alignmment = .fill) -> [NSLayoutConstraint] {
| `- error: cannot find type 'EdgeInsets' in scope
267 | let item2 = item2 ?? item.superview!
268 | let left: NSLayoutConstraint.Attribute = isAbsolute ? .left : .leading
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:294:147: error: cannot find type 'NSLayoutConstraint' in scope
292 |
293 | @available(*, deprecated, message: "Use .horizontal or .vertical before calling .pin instead of specifying axis")
294 | @discardableResult internal func pin(to item2: LayoutItem? = nil, insets: EdgeInsets = .zero, axis: Axis?, alignment: Alignmment = .fill) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
295 | if let axis = axis {
296 | return AnchorCollectionEdges(item: item, isAbsolute: isAbsolute, axis: axis).pin(to: item2, insets: insets, alignment: alignment)
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:294:52: error: cannot find type 'LayoutItem' in scope
292 |
293 | @available(*, deprecated, message: "Use .horizontal or .vertical before calling .pin instead of specifying axis")
294 | @discardableResult internal func pin(to item2: LayoutItem? = nil, insets: EdgeInsets = .zero, axis: Axis?, alignment: Alignmment = .fill) -> [NSLayoutConstraint] {
| `- error: cannot find type 'LayoutItem' in scope
295 | if let axis = axis {
296 | return AnchorCollectionEdges(item: item, isAbsolute: isAbsolute, axis: axis).pin(to: item2, insets: insets, alignment: alignment)
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:294:79: error: cannot find type 'EdgeInsets' in scope
292 |
293 | @available(*, deprecated, message: "Use .horizontal or .vertical before calling .pin instead of specifying axis")
294 | @discardableResult internal func pin(to item2: LayoutItem? = nil, insets: EdgeInsets = .zero, axis: Axis?, alignment: Alignmment = .fill) -> [NSLayoutConstraint] {
| `- error: cannot find type 'EdgeInsets' in scope
295 | if let axis = axis {
296 | return AnchorCollectionEdges(item: item, isAbsolute: isAbsolute, axis: axis).pin(to: item2, insets: insets, alignment: alignment)
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:310:50: error: cannot find type 'NSLayoutConstraint' in scope
308 |
309 | /// Centers the view in the superview.
310 | @discardableResult internal func align() -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
311 | [x.align(), y.align()]
312 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:315:83: error: cannot find type 'NSLayoutConstraint' in scope
313 |
314 | /// Makes the axis equal to the other collection of axis.
315 | @discardableResult internal func align<Item: LayoutItem>(with item: Item) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
316 | [x.equal(item.anchors.centerX), y.equal(item.anchors.centerY)]
317 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:315:50: error: cannot find type 'LayoutItem' in scope
313 |
314 | /// Makes the axis equal to the other collection of axis.
315 | @discardableResult internal func align<Item: LayoutItem>(with item: Item) -> [NSLayoutConstraint] {
| `- error: cannot find type 'LayoutItem' in scope
316 | [x.equal(item.anchors.centerX), y.equal(item.anchors.centerY)]
317 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:327:64: error: cannot find type 'NSLayoutConstraint' in scope
325 |
326 | /// Set the size of item.
327 | @discardableResult internal func equal(_ size: CGSize) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
328 | [width.equal(size.width), height.equal(size.height)]
329 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:327:52: error: cannot find type 'CGSize' in scope
325 |
326 | /// Set the size of item.
327 | @discardableResult internal func equal(_ size: CGSize) -> [NSLayoutConstraint] {
| `- error: cannot find type 'CGSize' in scope
328 | [width.equal(size.width), height.equal(size.height)]
329 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:332:76: error: cannot find type 'NSLayoutConstraint' in scope
330 |
331 | /// Set the size of item.
332 | @discardableResult internal func greaterThanOrEqul(_ size: CGSize) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
333 | [width.greaterThanOrEqual(size.width), height.greaterThanOrEqual(size.height)]
334 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:332:64: error: cannot find type 'CGSize' in scope
330 |
331 | /// Set the size of item.
332 | @discardableResult internal func greaterThanOrEqul(_ size: CGSize) -> [NSLayoutConstraint] {
| `- error: cannot find type 'CGSize' in scope
333 | [width.greaterThanOrEqual(size.width), height.greaterThanOrEqual(size.height)]
334 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:337:74: error: cannot find type 'NSLayoutConstraint' in scope
335 |
336 | /// Set the size of item.
337 | @discardableResult internal func lessThanOrEqual(_ size: CGSize) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
338 | [width.lessThanOrEqual(size.width), height.lessThanOrEqual(size.height)]
339 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:337:62: error: cannot find type 'CGSize' in scope
335 |
336 | /// Set the size of item.
337 | @discardableResult internal func lessThanOrEqual(_ size: CGSize) -> [NSLayoutConstraint] {
| `- error: cannot find type 'CGSize' in scope
338 | [width.lessThanOrEqual(size.width), height.lessThanOrEqual(size.height)]
339 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:342:84: error: cannot find type 'CGSize' in scope
340 |
341 | /// Makes the size of the item equal to the size of the other item.
342 | @discardableResult internal func equal<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1) -> [NSLayoutConstraint] {
| `- error: cannot find type 'CGSize' in scope
343 | [width.equal(item.anchors.width * multiplier - insets.width), height.equal(item.anchors.height * multiplier - insets.height)]
344 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:342:112: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
340 |
341 | /// Makes the size of the item equal to the size of the other item.
342 | @discardableResult internal func equal<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1) -> [NSLayoutConstraint] {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
343 | [width.equal(item.anchors.width * multiplier - insets.width), height.equal(item.anchors.height * multiplier - insets.height)]
344 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:342:129: error: cannot find type 'NSLayoutConstraint' in scope
340 |
341 | /// Makes the size of the item equal to the size of the other item.
342 | @discardableResult internal func equal<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
343 | [width.equal(item.anchors.width * multiplier - insets.width), height.equal(item.anchors.height * multiplier - insets.height)]
344 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:342:50: error: cannot find type 'LayoutItem' in scope
340 |
341 | /// Makes the size of the item equal to the size of the other item.
342 | @discardableResult internal func equal<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1) -> [NSLayoutConstraint] {
| `- error: cannot find type 'LayoutItem' in scope
343 | [width.equal(item.anchors.width * multiplier - insets.width), height.equal(item.anchors.height * multiplier - insets.height)]
344 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:342:112: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
340 |
341 | /// Makes the size of the item equal to the size of the other item.
342 | @discardableResult internal func equal<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1) -> [NSLayoutConstraint] {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
343 | [width.equal(item.anchors.width * multiplier - insets.width), height.equal(item.anchors.height * multiplier - insets.height)]
344 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:346:97: error: cannot find type 'CGSize' in scope
344 | }
345 |
346 | @discardableResult internal func greaterThanOrEqual<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1) -> [NSLayoutConstraint] {
| `- error: cannot find type 'CGSize' in scope
347 | [width.greaterThanOrEqual(item.anchors.width * multiplier - insets.width), height.greaterThanOrEqual(item.anchors.height * multiplier - insets.height)]
348 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:346:125: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
344 | }
345 |
346 | @discardableResult internal func greaterThanOrEqual<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1) -> [NSLayoutConstraint] {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
347 | [width.greaterThanOrEqual(item.anchors.width * multiplier - insets.width), height.greaterThanOrEqual(item.anchors.height * multiplier - insets.height)]
348 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:346:142: error: cannot find type 'NSLayoutConstraint' in scope
344 | }
345 |
346 | @discardableResult internal func greaterThanOrEqual<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
347 | [width.greaterThanOrEqual(item.anchors.width * multiplier - insets.width), height.greaterThanOrEqual(item.anchors.height * multiplier - insets.height)]
348 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:346:63: error: cannot find type 'LayoutItem' in scope
344 | }
345 |
346 | @discardableResult internal func greaterThanOrEqual<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1) -> [NSLayoutConstraint] {
| `- error: cannot find type 'LayoutItem' in scope
347 | [width.greaterThanOrEqual(item.anchors.width * multiplier - insets.width), height.greaterThanOrEqual(item.anchors.height * multiplier - insets.height)]
348 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:346:125: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
344 | }
345 |
346 | @discardableResult internal func greaterThanOrEqual<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1) -> [NSLayoutConstraint] {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
347 | [width.greaterThanOrEqual(item.anchors.width * multiplier - insets.width), height.greaterThanOrEqual(item.anchors.height * multiplier - insets.height)]
348 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:350:94: error: cannot find type 'CGSize' in scope
348 | }
349 |
350 | @discardableResult internal func lessThanOrEqual<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1) -> [NSLayoutConstraint] {
| `- error: cannot find type 'CGSize' in scope
351 | [width.lessThanOrEqual(item.anchors.width * multiplier - insets.width), height.lessThanOrEqual(item.anchors.height * multiplier - insets.height)]
352 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:350:122: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
348 | }
349 |
350 | @discardableResult internal func lessThanOrEqual<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1) -> [NSLayoutConstraint] {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
351 | [width.lessThanOrEqual(item.anchors.width * multiplier - insets.width), height.lessThanOrEqual(item.anchors.height * multiplier - insets.height)]
352 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:350:139: error: cannot find type 'NSLayoutConstraint' in scope
348 | }
349 |
350 | @discardableResult internal func lessThanOrEqual<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
351 | [width.lessThanOrEqual(item.anchors.width * multiplier - insets.width), height.lessThanOrEqual(item.anchors.height * multiplier - insets.height)]
352 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:350:60: error: cannot find type 'LayoutItem' in scope
348 | }
349 |
350 | @discardableResult internal func lessThanOrEqual<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1) -> [NSLayoutConstraint] {
| `- error: cannot find type 'LayoutItem' in scope
351 | [width.lessThanOrEqual(item.anchors.width * multiplier - insets.width), height.lessThanOrEqual(item.anchors.height * multiplier - insets.height)]
352 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:350:122: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
348 | }
349 |
350 | @discardableResult internal func lessThanOrEqual<Item: LayoutItem>(_ item: Item, insets: CGSize = .zero, multiplier: CGFloat = 1) -> [NSLayoutConstraint] {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
351 | [width.lessThanOrEqual(item.anchors.width * multiplier - insets.width), height.lessThanOrEqual(item.anchors.height * multiplier - insets.height)]
352 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:359:46: error: cannot find 'NSLayoutConstraint' in scope
357 | internal final class Constraints {
358 | /// Returns all of the created constraints.
359 | internal private(set) var constraints = [NSLayoutConstraint]()
| `- error: cannot find 'NSLayoutConstraint' in scope
360 |
361 | /// All of the constraints created in the given closure are automatically
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:359:45: error: cannot call value of non-function type '[Any]'
357 | internal final class Constraints {
358 | /// Returns all of the created constraints.
359 | internal private(set) var constraints = [NSLayoutConstraint]()
| `- error: cannot call value of non-function type '[Any]'
360 |
361 | /// All of the constraints created in the given closure are automatically
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:376:292: error: cannot find type 'NSLayoutConstraint' in scope
374 |
375 | /// Creates and automatically installs a constraint.
376 | fileprivate static func constrain(item item1: Any, attribute attr1: NSLayoutConstraint.Attribute, relatedBy relation: NSLayoutConstraint.Relation = .equal, toItem item2: Any? = nil, attribute attr2: NSLayoutConstraint.Attribute? = nil, multiplier: CGFloat = 1, constant: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
377 | precondition(Thread.isMainThread, "Align APIs can only be used from the main thread")
378 | #if os(iOS) || os(tvOS)
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:376:73: error: cannot find type 'NSLayoutConstraint' in scope
374 |
375 | /// Creates and automatically installs a constraint.
376 | fileprivate static func constrain(item item1: Any, attribute attr1: NSLayoutConstraint.Attribute, relatedBy relation: NSLayoutConstraint.Relation = .equal, toItem item2: Any? = nil, attribute attr2: NSLayoutConstraint.Attribute? = nil, multiplier: CGFloat = 1, constant: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
377 | precondition(Thread.isMainThread, "Align APIs can only be used from the main thread")
378 | #if os(iOS) || os(tvOS)
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:376:123: error: cannot find type 'NSLayoutConstraint' in scope
374 |
375 | /// Creates and automatically installs a constraint.
376 | fileprivate static func constrain(item item1: Any, attribute attr1: NSLayoutConstraint.Attribute, relatedBy relation: NSLayoutConstraint.Relation = .equal, toItem item2: Any? = nil, attribute attr2: NSLayoutConstraint.Attribute? = nil, multiplier: CGFloat = 1, constant: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
377 | precondition(Thread.isMainThread, "Align APIs can only be used from the main thread")
378 | #if os(iOS) || os(tvOS)
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:376:204: error: cannot find type 'NSLayoutConstraint' in scope
374 |
375 | /// Creates and automatically installs a constraint.
376 | fileprivate static func constrain(item item1: Any, attribute attr1: NSLayoutConstraint.Attribute, relatedBy relation: NSLayoutConstraint.Relation = .equal, toItem item2: Any? = nil, attribute attr2: NSLayoutConstraint.Attribute? = nil, multiplier: CGFloat = 1, constant: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
377 | precondition(Thread.isMainThread, "Align APIs can only be used from the main thread")
378 | #if os(iOS) || os(tvOS)
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:376:253: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
374 |
375 | /// Creates and automatically installs a constraint.
376 | fileprivate static func constrain(item item1: Any, attribute attr1: NSLayoutConstraint.Attribute, relatedBy relation: NSLayoutConstraint.Relation = .equal, toItem item2: Any? = nil, attribute attr2: NSLayoutConstraint.Attribute? = nil, multiplier: CGFloat = 1, constant: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
377 | precondition(Thread.isMainThread, "Align APIs can only be used from the main thread")
378 | #if os(iOS) || os(tvOS)
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:376:276: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
374 |
375 | /// Creates and automatically installs a constraint.
376 | fileprivate static func constrain(item item1: Any, attribute attr1: NSLayoutConstraint.Attribute, relatedBy relation: NSLayoutConstraint.Relation = .equal, toItem item2: Any? = nil, attribute attr2: NSLayoutConstraint.Attribute? = nil, multiplier: CGFloat = 1, constant: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
377 | precondition(Thread.isMainThread, "Align APIs can only be used from the main thread")
378 | #if os(iOS) || os(tvOS)
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:389:111: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
387 |
388 | /// Creates and automatically installs a constraint between two anchors.
389 | fileprivate static func constrain<T1, A1, T2, A2>(_ lhs: Anchor<T1, A1>, _ rhs: Anchor<T2, A2>, constant: CGFloat = 0, multiplier: CGFloat = 1, relation: NSLayoutConstraint.Relation = .equal) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
390 | constrain(item: lhs.item, attribute: lhs.attribute, relatedBy: relation, toItem: rhs.item, attribute: rhs.attribute, multiplier: (multiplier / lhs.multiplier) * rhs.multiplier, constant: constant - lhs.offset + rhs.offset)
391 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:389:136: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
387 |
388 | /// Creates and automatically installs a constraint between two anchors.
389 | fileprivate static func constrain<T1, A1, T2, A2>(_ lhs: Anchor<T1, A1>, _ rhs: Anchor<T2, A2>, constant: CGFloat = 0, multiplier: CGFloat = 1, relation: NSLayoutConstraint.Relation = .equal) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
390 | constrain(item: lhs.item, attribute: lhs.attribute, relatedBy: relation, toItem: rhs.item, attribute: rhs.attribute, multiplier: (multiplier / lhs.multiplier) * rhs.multiplier, constant: constant - lhs.offset + rhs.offset)
391 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:389:159: error: cannot find type 'NSLayoutConstraint' in scope
387 |
388 | /// Creates and automatically installs a constraint between two anchors.
389 | fileprivate static func constrain<T1, A1, T2, A2>(_ lhs: Anchor<T1, A1>, _ rhs: Anchor<T2, A2>, constant: CGFloat = 0, multiplier: CGFloat = 1, relation: NSLayoutConstraint.Relation = .equal) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
390 | constrain(item: lhs.item, attribute: lhs.attribute, relatedBy: relation, toItem: rhs.item, attribute: rhs.attribute, multiplier: (multiplier / lhs.multiplier) * rhs.multiplier, constant: constant - lhs.offset + rhs.offset)
391 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:389:200: error: cannot find type 'NSLayoutConstraint' in scope
387 |
388 | /// Creates and automatically installs a constraint between two anchors.
389 | fileprivate static func constrain<T1, A1, T2, A2>(_ lhs: Anchor<T1, A1>, _ rhs: Anchor<T2, A2>, constant: CGFloat = 0, multiplier: CGFloat = 1, relation: NSLayoutConstraint.Relation = .equal) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
390 | constrain(item: lhs.item, attribute: lhs.attribute, relatedBy: relation, toItem: rhs.item, attribute: rhs.attribute, multiplier: (multiplier / lhs.multiplier) * rhs.multiplier, constant: constant - lhs.offset + rhs.offset)
391 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:389:111: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
387 |
388 | /// Creates and automatically installs a constraint between two anchors.
389 | fileprivate static func constrain<T1, A1, T2, A2>(_ lhs: Anchor<T1, A1>, _ rhs: Anchor<T2, A2>, constant: CGFloat = 0, multiplier: CGFloat = 1, relation: NSLayoutConstraint.Relation = .equal) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
390 | constrain(item: lhs.item, attribute: lhs.attribute, relatedBy: relation, toItem: rhs.item, attribute: rhs.attribute, multiplier: (multiplier / lhs.multiplier) * rhs.multiplier, constant: constant - lhs.offset + rhs.offset)
391 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:389:136: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
387 |
388 | /// Creates and automatically installs a constraint between two anchors.
389 | fileprivate static func constrain<T1, A1, T2, A2>(_ lhs: Anchor<T1, A1>, _ rhs: Anchor<T2, A2>, constant: CGFloat = 0, multiplier: CGFloat = 1, relation: NSLayoutConstraint.Relation = .equal) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
390 | constrain(item: lhs.item, attribute: lhs.attribute, relatedBy: relation, toItem: rhs.item, attribute: rhs.attribute, multiplier: (multiplier / lhs.multiplier) * rhs.multiplier, constant: constant - lhs.offset + rhs.offset)
391 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:395:107: error: cannot find type 'NSLayoutConstraint' in scope
393 | /// Creates and automatically installs a constraint between an anchor and
394 | /// a given item.
395 | fileprivate static func constrain<T1, A1>(_ lhs: Anchor<T1, A1>, toItem item2: Any?, attribute attr2: NSLayoutConstraint.Attribute?, constant: CGFloat = 0, multiplier: CGFloat = 1, relation: NSLayoutConstraint.Relation = .equal) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
396 | constrain(item: lhs.item, attribute: lhs.attribute, relatedBy: relation, toItem: item2, attribute: attr2, multiplier: multiplier / lhs.multiplier, constant: constant - lhs.offset)
397 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:395:148: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
393 | /// Creates and automatically installs a constraint between an anchor and
394 | /// a given item.
395 | fileprivate static func constrain<T1, A1>(_ lhs: Anchor<T1, A1>, toItem item2: Any?, attribute attr2: NSLayoutConstraint.Attribute?, constant: CGFloat = 0, multiplier: CGFloat = 1, relation: NSLayoutConstraint.Relation = .equal) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
396 | constrain(item: lhs.item, attribute: lhs.attribute, relatedBy: relation, toItem: item2, attribute: attr2, multiplier: multiplier / lhs.multiplier, constant: constant - lhs.offset)
397 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:395:173: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
393 | /// Creates and automatically installs a constraint between an anchor and
394 | /// a given item.
395 | fileprivate static func constrain<T1, A1>(_ lhs: Anchor<T1, A1>, toItem item2: Any?, attribute attr2: NSLayoutConstraint.Attribute?, constant: CGFloat = 0, multiplier: CGFloat = 1, relation: NSLayoutConstraint.Relation = .equal) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
396 | constrain(item: lhs.item, attribute: lhs.attribute, relatedBy: relation, toItem: item2, attribute: attr2, multiplier: multiplier / lhs.multiplier, constant: constant - lhs.offset)
397 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:395:196: error: cannot find type 'NSLayoutConstraint' in scope
393 | /// Creates and automatically installs a constraint between an anchor and
394 | /// a given item.
395 | fileprivate static func constrain<T1, A1>(_ lhs: Anchor<T1, A1>, toItem item2: Any?, attribute attr2: NSLayoutConstraint.Attribute?, constant: CGFloat = 0, multiplier: CGFloat = 1, relation: NSLayoutConstraint.Relation = .equal) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
396 | constrain(item: lhs.item, attribute: lhs.attribute, relatedBy: relation, toItem: item2, attribute: attr2, multiplier: multiplier / lhs.multiplier, constant: constant - lhs.offset)
397 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:395:237: error: cannot find type 'NSLayoutConstraint' in scope
393 | /// Creates and automatically installs a constraint between an anchor and
394 | /// a given item.
395 | fileprivate static func constrain<T1, A1>(_ lhs: Anchor<T1, A1>, toItem item2: Any?, attribute attr2: NSLayoutConstraint.Attribute?, constant: CGFloat = 0, multiplier: CGFloat = 1, relation: NSLayoutConstraint.Relation = .equal) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
396 | constrain(item: lhs.item, attribute: lhs.attribute, relatedBy: relation, toItem: item2, attribute: attr2, multiplier: multiplier / lhs.multiplier, constant: constant - lhs.offset)
397 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:395:148: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
393 | /// Creates and automatically installs a constraint between an anchor and
394 | /// a given item.
395 | fileprivate static func constrain<T1, A1>(_ lhs: Anchor<T1, A1>, toItem item2: Any?, attribute attr2: NSLayoutConstraint.Attribute?, constant: CGFloat = 0, multiplier: CGFloat = 1, relation: NSLayoutConstraint.Relation = .equal) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
396 | constrain(item: lhs.item, attribute: lhs.attribute, relatedBy: relation, toItem: item2, attribute: attr2, multiplier: multiplier / lhs.multiplier, constant: constant - lhs.offset)
397 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:395:173: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
393 | /// Creates and automatically installs a constraint between an anchor and
394 | /// a given item.
395 | fileprivate static func constrain<T1, A1>(_ lhs: Anchor<T1, A1>, toItem item2: Any?, attribute attr2: NSLayoutConstraint.Attribute?, constant: CGFloat = 0, multiplier: CGFloat = 1, relation: NSLayoutConstraint.Relation = .equal) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
396 | constrain(item: lhs.item, attribute: lhs.attribute, relatedBy: relation, toItem: item2, attribute: attr2, multiplier: multiplier / lhs.multiplier, constant: constant - lhs.offset)
397 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:399:24: warning: static property '_stack' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
397 | }
398 |
399 | private static var _stack = [Constraints]() // this is what enabled constraint auto-installing
| |- warning: static property '_stack' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_stack' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_stack' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
400 |
401 | private static func _install(_ constraint: NSLayoutConstraint) {
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:401:48: error: cannot find type 'NSLayoutConstraint' in scope
399 | private static var _stack = [Constraints]() // this is what enabled constraint auto-installing
400 |
401 | private static func _install(_ constraint: NSLayoutConstraint) {
| `- error: cannot find type 'NSLayoutConstraint' in scope
402 | if let group = _stack.last {
403 | group.constraints.append(constraint)
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:411:53: error: cannot find type 'LayoutItem' in scope
409 |
410 | extension Constraints {
411 | @discardableResult internal convenience init<A: LayoutItem>(for a: A, _ closure: (LayoutAnchors<A>) -> Void) {
| `- error: cannot find type 'LayoutItem' in scope
412 | self.init { closure(a.anchors) }
413 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:415:53: error: cannot find type 'LayoutItem' in scope
413 | }
414 |
415 | @discardableResult internal convenience init<A: LayoutItem, B: LayoutItem>(for a: A, _ b: B, _ closure: (LayoutAnchors<A>, LayoutAnchors<B>) -> Void) {
| `- error: cannot find type 'LayoutItem' in scope
416 | self.init { closure(a.anchors, b.anchors) }
417 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:415:68: error: cannot find type 'LayoutItem' in scope
413 | }
414 |
415 | @discardableResult internal convenience init<A: LayoutItem, B: LayoutItem>(for a: A, _ b: B, _ closure: (LayoutAnchors<A>, LayoutAnchors<B>) -> Void) {
| `- error: cannot find type 'LayoutItem' in scope
416 | self.init { closure(a.anchors, b.anchors) }
417 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:419:53: error: cannot find type 'LayoutItem' in scope
417 | }
418 |
419 | @discardableResult internal convenience init<A: LayoutItem, B: LayoutItem, C: LayoutItem>(for a: A, _ b: B, _ c: C, _ closure: (LayoutAnchors<A>, LayoutAnchors<B>, LayoutAnchors<C>) -> Void) {
| `- error: cannot find type 'LayoutItem' in scope
420 | self.init { closure(a.anchors, b.anchors, c.anchors) }
421 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:419:68: error: cannot find type 'LayoutItem' in scope
417 | }
418 |
419 | @discardableResult internal convenience init<A: LayoutItem, B: LayoutItem, C: LayoutItem>(for a: A, _ b: B, _ c: C, _ closure: (LayoutAnchors<A>, LayoutAnchors<B>, LayoutAnchors<C>) -> Void) {
| `- error: cannot find type 'LayoutItem' in scope
420 | self.init { closure(a.anchors, b.anchors, c.anchors) }
421 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:419:83: error: cannot find type 'LayoutItem' in scope
417 | }
418 |
419 | @discardableResult internal convenience init<A: LayoutItem, B: LayoutItem, C: LayoutItem>(for a: A, _ b: B, _ c: C, _ closure: (LayoutAnchors<A>, LayoutAnchors<B>, LayoutAnchors<C>) -> Void) {
| `- error: cannot find type 'LayoutItem' in scope
420 | self.init { closure(a.anchors, b.anchors, c.anchors) }
421 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:423:53: error: cannot find type 'LayoutItem' in scope
421 | }
422 |
423 | @discardableResult internal convenience init<A: LayoutItem, B: LayoutItem, C: LayoutItem, D: LayoutItem>(for a: A, _ b: B, _ c: C, _ d: D, _ closure: (LayoutAnchors<A>, LayoutAnchors<B>, LayoutAnchors<C>, LayoutAnchors<D>) -> Void) {
| `- error: cannot find type 'LayoutItem' in scope
424 | self.init { closure(a.anchors, b.anchors, c.anchors, d.anchors) }
425 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:423:68: error: cannot find type 'LayoutItem' in scope
421 | }
422 |
423 | @discardableResult internal convenience init<A: LayoutItem, B: LayoutItem, C: LayoutItem, D: LayoutItem>(for a: A, _ b: B, _ c: C, _ d: D, _ closure: (LayoutAnchors<A>, LayoutAnchors<B>, LayoutAnchors<C>, LayoutAnchors<D>) -> Void) {
| `- error: cannot find type 'LayoutItem' in scope
424 | self.init { closure(a.anchors, b.anchors, c.anchors, d.anchors) }
425 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:423:83: error: cannot find type 'LayoutItem' in scope
421 | }
422 |
423 | @discardableResult internal convenience init<A: LayoutItem, B: LayoutItem, C: LayoutItem, D: LayoutItem>(for a: A, _ b: B, _ c: C, _ d: D, _ closure: (LayoutAnchors<A>, LayoutAnchors<B>, LayoutAnchors<C>, LayoutAnchors<D>) -> Void) {
| `- error: cannot find type 'LayoutItem' in scope
424 | self.init { closure(a.anchors, b.anchors, c.anchors, d.anchors) }
425 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:423:98: error: cannot find type 'LayoutItem' in scope
421 | }
422 |
423 | @discardableResult internal convenience init<A: LayoutItem, B: LayoutItem, C: LayoutItem, D: LayoutItem>(for a: A, _ b: B, _ c: C, _ d: D, _ closure: (LayoutAnchors<A>, LayoutAnchors<B>, LayoutAnchors<C>, LayoutAnchors<D>) -> Void) {
| `- error: cannot find type 'LayoutItem' in scope
424 | self.init { closure(a.anchors, b.anchors, c.anchors, d.anchors) }
425 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:440:11: error: cannot find type 'NSLayoutConstraint' in scope
438 | #endif
439 |
440 | extension NSLayoutConstraint.Relation {
| `- error: cannot find type 'NSLayoutConstraint' in scope
441 | fileprivate var inverted: NSLayoutConstraint.Relation {
442 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:451:11: error: cannot find type 'EdgeInsets' in scope
449 | }
450 |
451 | extension EdgeInsets {
| `- error: cannot find type 'EdgeInsets' in scope
452 | fileprivate func inset(for attribute: NSLayoutConstraint.Attribute, edge: Bool = false) -> CGFloat {
453 | switch attribute {
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:465:73: error: cannot find type 'NSLayoutConstraint' in scope
463 |
464 | extension Anchor where Type: AnchorType.Edge {
465 | @discardableResult internal func safeAreaPin(inset: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
466 | pin(to: item.superview!.safeAreaLayoutGuide, inset: inset)
467 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:465:57: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
463 |
464 | extension Anchor where Type: AnchorType.Edge {
465 | @discardableResult internal func safeAreaPin(inset: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
466 | pin(to: item.superview!.safeAreaLayoutGuide, inset: inset)
467 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:469:80: error: cannot find type 'NSLayoutConstraint' in scope
467 | }
468 |
469 | @discardableResult internal func readableContentPin(inset: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
470 | pin(to: item.superview!.readableContentGuide, inset: inset)
471 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:469:64: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
467 | }
468 |
469 | @discardableResult internal func readableContentPin(inset: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
470 | pin(to: item.superview!.readableContentGuide, inset: inset)
471 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:473:72: error: cannot find type 'NSLayoutConstraint' in scope
471 | }
472 |
473 | @discardableResult internal func marginsPin(inset: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
474 | pin(to: item.superview!.layoutMarginsGuide, inset: inset)
475 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:473:56: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
471 | }
472 |
473 | @discardableResult internal func marginsPin(inset: CGFloat = 0) -> NSLayoutConstraint {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
474 | pin(to: item.superview!.layoutMarginsGuide, inset: inset)
475 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:479:113: error: cannot find type 'NSLayoutConstraint' in scope
477 |
478 | extension AnchorCollectionEdges {
479 | @discardableResult internal func safeAreaPin(insets: EdgeInsets = .zero, alignment: Alignmment = .fill) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
480 | pin(to: item.superview!.safeAreaLayoutGuide, insets: insets, alignment: alignment)
481 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:479:58: error: cannot find type 'EdgeInsets' in scope
477 |
478 | extension AnchorCollectionEdges {
479 | @discardableResult internal func safeAreaPin(insets: EdgeInsets = .zero, alignment: Alignmment = .fill) -> [NSLayoutConstraint] {
| `- error: cannot find type 'EdgeInsets' in scope
480 | pin(to: item.superview!.safeAreaLayoutGuide, insets: insets, alignment: alignment)
481 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:483:120: error: cannot find type 'NSLayoutConstraint' in scope
481 | }
482 |
483 | @discardableResult internal func readableContentPin(insets: EdgeInsets = .zero, alignment: Alignmment = .fill) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
484 | pin(to: item.superview!.readableContentGuide, insets: insets, alignment: alignment)
485 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:483:65: error: cannot find type 'EdgeInsets' in scope
481 | }
482 |
483 | @discardableResult internal func readableContentPin(insets: EdgeInsets = .zero, alignment: Alignmment = .fill) -> [NSLayoutConstraint] {
| `- error: cannot find type 'EdgeInsets' in scope
484 | pin(to: item.superview!.readableContentGuide, insets: insets, alignment: alignment)
485 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:487:112: error: cannot find type 'NSLayoutConstraint' in scope
485 | }
486 |
487 | @discardableResult internal func marginsPin(insets: EdgeInsets = .zero, alignment: Alignmment = .fill) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
488 | pin(to: item.superview!.layoutMarginsGuide, insets: insets, alignment: alignment)
489 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:487:57: error: cannot find type 'EdgeInsets' in scope
485 | }
486 |
487 | @discardableResult internal func marginsPin(insets: EdgeInsets = .zero, alignment: Alignmment = .fill) -> [NSLayoutConstraint] {
| `- error: cannot find type 'EdgeInsets' in scope
488 | pin(to: item.superview!.layoutMarginsGuide, insets: insets, alignment: alignment)
489 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:494:126: error: cannot find type 'NSLayoutConstraint' in scope
492 | extension AnchorCollectionEdges {
493 | @available(*, deprecated, message: "Use .horizontal or .vertical before calling .pin instead of specifying axis")
494 | @discardableResult internal func safeAreaPin(insets: EdgeInsets = .zero, axis: Axis?, alignment: Alignmment = .fill) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
495 | pin(to: item.superview!.safeAreaLayoutGuide, insets: insets, axis: axis, alignment: alignment)
496 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:494:58: error: cannot find type 'EdgeInsets' in scope
492 | extension AnchorCollectionEdges {
493 | @available(*, deprecated, message: "Use .horizontal or .vertical before calling .pin instead of specifying axis")
494 | @discardableResult internal func safeAreaPin(insets: EdgeInsets = .zero, axis: Axis?, alignment: Alignmment = .fill) -> [NSLayoutConstraint] {
| `- error: cannot find type 'EdgeInsets' in scope
495 | pin(to: item.superview!.safeAreaLayoutGuide, insets: insets, axis: axis, alignment: alignment)
496 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:499:133: error: cannot find type 'NSLayoutConstraint' in scope
497 |
498 | @available(*, deprecated, message: "Use .horizontal or .vertical before calling .pin instead of specifying axis")
499 | @discardableResult internal func readableContentPin(insets: EdgeInsets = .zero, axis: Axis?, alignment: Alignmment = .fill) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
500 | pin(to: item.superview!.readableContentGuide, insets: insets, axis: axis, alignment: alignment)
501 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:499:65: error: cannot find type 'EdgeInsets' in scope
497 |
498 | @available(*, deprecated, message: "Use .horizontal or .vertical before calling .pin instead of specifying axis")
499 | @discardableResult internal func readableContentPin(insets: EdgeInsets = .zero, axis: Axis?, alignment: Alignmment = .fill) -> [NSLayoutConstraint] {
| `- error: cannot find type 'EdgeInsets' in scope
500 | pin(to: item.superview!.readableContentGuide, insets: insets, axis: axis, alignment: alignment)
501 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:504:125: error: cannot find type 'NSLayoutConstraint' in scope
502 |
503 | @available(*, deprecated, message: "Use .horizontal or .vertical before calling .pin instead of specifying axis")
504 | @discardableResult internal func marginsPin(insets: EdgeInsets = .zero, axis: Axis?, alignment: Alignmment = .fill) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
505 | pin(to: item.superview!.layoutMarginsGuide, insets: insets, axis: axis, alignment: alignment)
506 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift:504:57: error: cannot find type 'EdgeInsets' in scope
502 |
503 | @available(*, deprecated, message: "Use .horizontal or .vertical before calling .pin instead of specifying axis")
504 | @discardableResult internal func marginsPin(insets: EdgeInsets = .zero, axis: Axis?, alignment: Alignmment = .fill) -> [NSLayoutConstraint] {
| `- error: cannot find type 'EdgeInsets' in scope
505 | pin(to: item.superview!.layoutMarginsGuide, insets: insets, axis: axis, alignment: alignment)
506 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift:3:43: error: cannot find type 'UIStackView' in scope
1 | import UIKit
2 |
3 | internal class TouchTransparentStackView: UIStackView {
| `- error: cannot find type 'UIStackView' in scope
4 | override open func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
5 | let subview = super.hitTest(point, with: event)
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift:4:75: error: cannot find type 'UIView' in scope
2 |
3 | internal class TouchTransparentStackView: UIStackView {
4 | override open func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: cannot find type 'UIView' in scope
5 | let subview = super.hitTest(point, with: event)
6 | return subview !== self ? subview : nil
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift:4:62: error: cannot find type 'UIEvent' in scope
2 |
3 | internal class TouchTransparentStackView: UIStackView {
4 | override open func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: cannot find type 'UIEvent' in scope
5 | let subview = super.hitTest(point, with: event)
6 | return subview !== self ? subview : nil
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift:4:24: error: method does not override any method from its superclass
2 |
3 | internal class TouchTransparentStackView: UIStackView {
4 | override open func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
| `- error: method does not override any method from its superclass
5 | let subview = super.hitTest(point, with: event)
6 | return subview !== self ? subview : nil
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift:11:21: error: initializer does not override a designated initializer from its superclass
9 |
10 | internal final class HorizontalStackView: TouchTransparentStackView {
11 | public override init(frame: CGRect) {
| `- error: initializer does not override a designated initializer from its superclass
12 | super.init(frame: frame)
13 | self.axis = .horizontal
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift:23:21: error: initializer does not override a designated initializer from its superclass
21 |
22 | internal final class VerticalStackView: TouchTransparentStackView {
23 | public override init(frame: CGRect) {
| `- error: initializer does not override a designated initializer from its superclass
24 | super.init(frame: frame)
25 | self.axis = .vertical
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift:38:61: error: cannot find type 'UIView' in scope
36 | public func _StackView<EnclosingSelf: AddsSubviews, Stack: UIStackView>(
37 | _ stackViewType: Stack.Type,
38 | @StackBuilder _ subviews: @escaping (EnclosingSelf) -> [UIView]
| `- error: cannot find type 'UIView' in scope
39 | // setup: @escaping (UIStackView) -> Void
40 | ) -> (EnclosingSelf) -> UIStackView {
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift:38:31: error: @escaping attribute only applies to function types
36 | public func _StackView<EnclosingSelf: AddsSubviews, Stack: UIStackView>(
37 | _ stackViewType: Stack.Type,
38 | @StackBuilder _ subviews: @escaping (EnclosingSelf) -> [UIView]
| `- error: @escaping attribute only applies to function types
39 | // setup: @escaping (UIStackView) -> Void
40 | ) -> (EnclosingSelf) -> UIStackView {
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift:40:25: error: cannot find type 'UIStackView' in scope
38 | @StackBuilder _ subviews: @escaping (EnclosingSelf) -> [UIView]
39 | // setup: @escaping (UIStackView) -> Void
40 | ) -> (EnclosingSelf) -> UIStackView {
| `- error: cannot find type 'UIStackView' in scope
41 | return { (self) in
42 | let stack = Stack(frame: .zero)
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift:36:60: error: cannot find type 'UIStackView' in scope
34 | // MARK: - Specialized / Enclosed
35 |
36 | public func _StackView<EnclosingSelf: AddsSubviews, Stack: UIStackView>(
| `- error: cannot find type 'UIStackView' in scope
37 | _ stackViewType: Stack.Type,
38 | @StackBuilder _ subviews: @escaping (EnclosingSelf) -> [UIView]
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift:38:5: error: result builder attribute 'StackBuilder' can only be applied to a parameter of function type
36 | public func _StackView<EnclosingSelf: AddsSubviews, Stack: UIStackView>(
37 | _ stackViewType: Stack.Type,
38 | @StackBuilder _ subviews: @escaping (EnclosingSelf) -> [UIView]
| `- error: result builder attribute 'StackBuilder' can only be applied to a parameter of function type
39 | // setup: @escaping (UIStackView) -> Void
40 | ) -> (EnclosingSelf) -> UIStackView {
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift:53:71: error: cannot find type 'UIView' in scope
51 |
52 | public func _VerticalStack<EnclosingSelf: AddsSubviews>(
53 | @StackBuilder _ subviews: @escaping (_ `self`: EnclosingSelf) -> [UIView]
| `- error: cannot find type 'UIView' in scope
54 | ) -> (EnclosingSelf) -> UIStackView {
55 | _StackView(VerticalStackView.self, subviews)
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift:53:31: error: @escaping attribute only applies to function types
51 |
52 | public func _VerticalStack<EnclosingSelf: AddsSubviews>(
53 | @StackBuilder _ subviews: @escaping (_ `self`: EnclosingSelf) -> [UIView]
| `- error: @escaping attribute only applies to function types
54 | ) -> (EnclosingSelf) -> UIStackView {
55 | _StackView(VerticalStackView.self, subviews)
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift:54:25: error: cannot find type 'UIStackView' in scope
52 | public func _VerticalStack<EnclosingSelf: AddsSubviews>(
53 | @StackBuilder _ subviews: @escaping (_ `self`: EnclosingSelf) -> [UIView]
54 | ) -> (EnclosingSelf) -> UIStackView {
| `- error: cannot find type 'UIStackView' in scope
55 | _StackView(VerticalStackView.self, subviews)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift:53:5: error: result builder attribute 'StackBuilder' can only be applied to a parameter of function type
51 |
52 | public func _VerticalStack<EnclosingSelf: AddsSubviews>(
53 | @StackBuilder _ subviews: @escaping (_ `self`: EnclosingSelf) -> [UIView]
| `- error: result builder attribute 'StackBuilder' can only be applied to a parameter of function type
54 | ) -> (EnclosingSelf) -> UIStackView {
55 | _StackView(VerticalStackView.self, subviews)
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift:66:71: error: cannot find type 'UIView' in scope
64 |
65 | public func _HorizontalStack<EnclosingSelf: AddsSubviews>(
66 | @StackBuilder _ subviews: @escaping (_ `self`: EnclosingSelf) -> [UIView]
| `- error: cannot find type 'UIView' in scope
67 | ) -> (EnclosingSelf) -> UIStackView {
68 | _StackView(HorizontalStackView.self, subviews)
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift:66:31: error: @escaping attribute only applies to function types
64 |
65 | public func _HorizontalStack<EnclosingSelf: AddsSubviews>(
66 | @StackBuilder _ subviews: @escaping (_ `self`: EnclosingSelf) -> [UIView]
| `- error: @escaping attribute only applies to function types
67 | ) -> (EnclosingSelf) -> UIStackView {
68 | _StackView(HorizontalStackView.self, subviews)
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift:67:25: error: cannot find type 'UIStackView' in scope
65 | public func _HorizontalStack<EnclosingSelf: AddsSubviews>(
66 | @StackBuilder _ subviews: @escaping (_ `self`: EnclosingSelf) -> [UIView]
67 | ) -> (EnclosingSelf) -> UIStackView {
| `- error: cannot find type 'UIStackView' in scope
68 | _StackView(HorizontalStackView.self, subviews)
69 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift:66:5: error: result builder attribute 'StackBuilder' can only be applied to a parameter of function type
64 |
65 | public func _HorizontalStack<EnclosingSelf: AddsSubviews>(
66 | @StackBuilder _ subviews: @escaping (_ `self`: EnclosingSelf) -> [UIView]
| `- error: result builder attribute 'StackBuilder' can only be applied to a parameter of function type
67 | ) -> (EnclosingSelf) -> UIStackView {
68 | _StackView(HorizontalStackView.self, subviews)
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift:82:35: error: cannot find type 'UIView' in scope
80 | public typealias Expression = UIView
81 |
82 | public typealias Component = [UIView]
| `- error: cannot find type 'UIView' in scope
83 |
84 | public static func buildExpression(_ expression: Expression) -> Component {
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift:80:35: error: cannot find type 'UIView' in scope
78 | @resultBuilder
79 | public enum StackBuilder {
80 | public typealias Expression = UIView
| `- error: cannot find type 'UIView' in scope
81 |
82 | public typealias Component = [UIView]
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:8:34: error: cannot find type 'UIView' in scope
6 |
7 | public protocol AddsSubviews: Enclosing, SuperviewContainer {
8 | typealias Subview<Superview: UIView, View: UIView> = AnySubview<Self, Superview, View>
| `- error: cannot find type 'UIView' in scope
9 | typealias ArrangedSubview<Stack: UIStackView, View: UIView> = AnyArrangedSubview<Self, Stack, View>
10 | }
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:8:48: error: cannot find type 'UIView' in scope
6 |
7 | public protocol AddsSubviews: Enclosing, SuperviewContainer {
8 | typealias Subview<Superview: UIView, View: UIView> = AnySubview<Self, Superview, View>
| `- error: cannot find type 'UIView' in scope
9 | typealias ArrangedSubview<Stack: UIStackView, View: UIView> = AnyArrangedSubview<Self, Stack, View>
10 | }
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:25:66: error: cannot find type 'UIView' in scope
23 |
24 | @propertyWrapper
25 | public struct AnySubview<EnclosingSelf: AddsSubviews, Superview: UIView, View: UIView>: Enclosed {
| `- error: cannot find type 'UIView' in scope
26 |
27 | public static subscript(
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:25:80: error: cannot find type 'UIView' in scope
23 |
24 | @propertyWrapper
25 | public struct AnySubview<EnclosingSelf: AddsSubviews, Superview: UIView, View: UIView>: Enclosed {
| `- error: cannot find type 'UIView' in scope
26 |
27 | public static subscript(
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:9:38: error: cannot find type 'UIStackView' in scope
7 | public protocol AddsSubviews: Enclosing, SuperviewContainer {
8 | typealias Subview<Superview: UIView, View: UIView> = AnySubview<Self, Superview, View>
9 | typealias ArrangedSubview<Stack: UIStackView, View: UIView> = AnyArrangedSubview<Self, Stack, View>
| `- error: cannot find type 'UIStackView' in scope
10 | }
11 |
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:9:57: error: cannot find type 'UIView' in scope
7 | public protocol AddsSubviews: Enclosing, SuperviewContainer {
8 | typealias Subview<Superview: UIView, View: UIView> = AnySubview<Self, Superview, View>
9 | typealias ArrangedSubview<Stack: UIStackView, View: UIView> = AnyArrangedSubview<Self, Stack, View>
| `- error: cannot find type 'UIView' in scope
10 | }
11 |
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:259:74: error: cannot find type 'UIStackView' in scope
257 |
258 | @propertyWrapper
259 | public struct AnyArrangedSubview<EnclosingSelf: AddsSubviews, Superview: UIStackView, View: UIView>: Enclosed {
| `- error: cannot find type 'UIStackView' in scope
260 |
261 | public static subscript(
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:259:93: error: cannot find type 'UIView' in scope
257 |
258 | @propertyWrapper
259 | public struct AnyArrangedSubview<EnclosingSelf: AddsSubviews, Superview: UIStackView, View: UIView>: Enclosed {
| `- error: cannot find type 'UIView' in scope
260 |
261 | public static subscript(
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:18:11: error: cannot find type 'UIView' in scope
16 | }
17 |
18 | extension UIView: SuperviewContainer {
| `- error: cannot find type 'UIView' in scope
19 | public static var defaultSuperview: (UIView) -> UIView {
20 | return \.self
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:182:41: error: cannot find type 'UIView' in scope
180 | }
181 |
182 | extension AnySubview where Superview == UIView {
| `- error: cannot find type 'UIView' in scope
183 | @_disfavoredOverload
184 | public init(
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:394:33: error: cannot find type 'UIView' in scope
392 | let old: (UIView) -> Void
393 |
394 | public init(new: @escaping (UIView) -> Void, old: @escaping (UIView) -> Void) {
| `- error: cannot find type 'UIView' in scope
395 | self.new = new
396 | self.old = old
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:394:66: error: cannot find type 'UIView' in scope
392 | let old: (UIView) -> Void
393 |
394 | public init(new: @escaping (UIView) -> Void, old: @escaping (UIView) -> Void) {
| `- error: cannot find type 'UIView' in scope
395 | self.new = new
396 | self.old = old
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:391:15: error: cannot find type 'UIView' in scope
389 |
390 | public struct SubviewReplaceBehavior {
391 | let new: (UIView) -> Void
| `- error: cannot find type 'UIView' in scope
392 | let old: (UIView) -> Void
393 |
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:392:15: error: cannot find type 'UIView' in scope
390 | public struct SubviewReplaceBehavior {
391 | let new: (UIView) -> Void
392 | let old: (UIView) -> Void
| `- error: cannot find type 'UIView' in scope
393 |
394 | public init(new: @escaping (UIView) -> Void, old: @escaping (UIView) -> Void) {
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:415:9: error: cannot find 'UIView' in scope
413 | public static let _removeAndFadeIn = SubviewReplaceBehavior { newVc in
414 | newVc.alpha = 0.0
415 | UIView.animate(withDuration: 0.3, delay: 0, options: .curveEaseInOut) {
| `- error: cannot find 'UIView' in scope
416 | newVc.alpha = 1.0
417 | }
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:415:63: error: cannot infer contextual base in reference to member 'curveEaseInOut'
413 | public static let _removeAndFadeIn = SubviewReplaceBehavior { newVc in
414 | newVc.alpha = 0.0
415 | UIView.animate(withDuration: 0.3, delay: 0, options: .curveEaseInOut) {
| `- error: cannot infer contextual base in reference to member 'curveEaseInOut'
416 | newVc.alpha = 1.0
417 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:424:9: error: cannot find 'UIView' in scope
422 | public static let _fadeOutAndFadeIn = SubviewReplaceBehavior { newVc in
423 | newVc.alpha = 0.0
424 | UIView.animate(withDuration: 0.33, delay: 0.4, options: .curveEaseInOut) {
| `- error: cannot find 'UIView' in scope
425 | newVc.alpha = 1.0
426 | }
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:428:9: error: cannot find 'UIView' in scope
426 | }
427 | } old: { oldVc in
428 | UIView.animate(withDuration: 0.33, delay: 0, options: .curveEaseInOut) {
| `- error: cannot find 'UIView' in scope
429 | oldVc.alpha = 0.0
430 | } completion: { _ in
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:424:66: error: cannot infer contextual base in reference to member 'curveEaseInOut'
422 | public static let _fadeOutAndFadeIn = SubviewReplaceBehavior { newVc in
423 | newVc.alpha = 0.0
424 | UIView.animate(withDuration: 0.33, delay: 0.4, options: .curveEaseInOut) {
| `- error: cannot infer contextual base in reference to member 'curveEaseInOut'
425 | newVc.alpha = 1.0
426 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:428:64: error: cannot infer contextual base in reference to member 'curveEaseInOut'
426 | }
427 | } old: { oldVc in
428 | UIView.animate(withDuration: 0.33, delay: 0, options: .curveEaseInOut) {
| `- error: cannot infer contextual base in reference to member 'curveEaseInOut'
429 | oldVc.alpha = 0.0
430 | } completion: { _ in
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:437:9: error: cannot find 'UIView' in scope
435 | public static let _crossFade = SubviewReplaceBehavior { newVc in
436 | newVc.alpha = 0.0
437 | UIView.animate(withDuration: 0.33, delay: 0, options: .curveEaseInOut) {
| `- error: cannot find 'UIView' in scope
438 | newVc.alpha = 1.0
439 | }
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:441:9: error: cannot find 'UIView' in scope
439 | }
440 | } old: { oldVc in
441 | UIView.animate(withDuration: 0.33, delay: 0, options: .curveEaseInOut) {
| `- error: cannot find 'UIView' in scope
442 | oldVc.alpha = 0.0
443 | } completion: { _ in
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:437:64: error: cannot infer contextual base in reference to member 'curveEaseInOut'
435 | public static let _crossFade = SubviewReplaceBehavior { newVc in
436 | newVc.alpha = 0.0
437 | UIView.animate(withDuration: 0.33, delay: 0, options: .curveEaseInOut) {
| `- error: cannot infer contextual base in reference to member 'curveEaseInOut'
438 | newVc.alpha = 1.0
439 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:441:64: error: cannot infer contextual base in reference to member 'curveEaseInOut'
439 | }
440 | } old: { oldVc in
441 | UIView.animate(withDuration: 0.33, delay: 0, options: .curveEaseInOut) {
| `- error: cannot infer contextual base in reference to member 'curveEaseInOut'
442 | oldVc.alpha = 0.0
443 | } completion: { _ in
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:4:29: error: cannot find type 'UIView' in scope
2 |
3 | public protocol ViewLayoutParent {
4 | func addSubview(_ view: UIView)
| `- error: cannot find type 'UIView' in scope
5 | }
6 |
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:7:11: error: cannot find type 'UIView' in scope
5 | }
6 |
7 | extension UIView: ViewLayoutParent { }
| `- error: cannot find type 'UIView' in scope
8 |
9 | extension ViewLayoutParent {
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:10:37: error: cannot find type 'UIView' in scope
8 |
9 | extension ViewLayoutParent {
10 | public func addSubview<Subview: UIView>(_ view: Subview, _ viewLayoutOptions: ViewLayoutOption = [], configure: (Subview) -> () = { _ in }) {
| `- error: cannot find type 'UIView' in scope
11 | addSubview(view)
12 | viewLayoutOptions.layout(view)
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:18:25: error: cannot find type 'UIView' in scope
16 |
17 | public protocol ViewLayoutSupporting: AnyObject {
18 | var _viewForLayout: UIView { get }
| `- error: cannot find type 'UIView' in scope
19 | }
20 |
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:21:11: error: cannot find type 'UIView' in scope
19 | }
20 |
21 | extension UIView: ViewLayoutSupporting {
| `- error: cannot find type 'UIView' in scope
22 | public var _viewForLayout: UIView { self }
23 | }
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:25:11: error: cannot find type 'UIViewController' in scope
23 | }
24 |
25 | extension UIViewController: ViewLayoutSupporting {
| `- error: cannot find type 'UIViewController' in scope
26 | public var _viewForLayout: UIView { self.view }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:33:36: error: cannot find type 'UIView' in scope
31 | // MARK: Internals
32 |
33 | public init(layout: @escaping (UIView) -> Void) {
| `- error: cannot find type 'UIView' in scope
34 | self.layout = layout
35 | }
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:43:59: error: cannot find type 'UIView' in scope
41 | }
42 |
43 | public static func withSuperview(_ layout: @escaping (UIView, _ superview: UIView) -> Void) -> ViewLayoutOption {
| `- error: cannot find type 'UIView' in scope
44 | ViewLayoutOption {
45 | guard let superview = $0.superview else {
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:43:80: error: cannot find type 'UIView' in scope
41 | }
42 |
43 | public static func withSuperview(_ layout: @escaping (UIView, _ superview: UIView) -> Void) -> ViewLayoutOption {
| `- error: cannot find type 'UIView' in scope
44 | ViewLayoutOption {
45 | guard let superview = $0.superview else {
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:54:25: error: cannot find type 'UIView' in scope
52 | public typealias ArrayLiteralElement = ViewLayoutOption
53 |
54 | public var layout: (UIView) -> ()
| `- error: cannot find type 'UIView' in scope
55 |
56 | // MARK: Public Quick Layout Options
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:129:70: error: cannot find type 'UIView' in scope
127 | Self { $0.anchors.verticalEdges.pin() }
128 | }
129 | internal static func pinEdge<Axis>(_ edge: KeyPath<LayoutAnchors<UIView>, Anchor<AnchorType.Edge, Axis>>, inset: CGFloat = 0) -> Self {
| `- error: cannot find type 'UIView' in scope
130 | return Self { $0.anchors[keyPath: edge].pin(inset: inset) }
131 | }
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:177:77: error: cannot find type 'UIView' in scope
175 | Self { $0.anchors.verticalEdges.marginsPin() }
176 | }
177 | internal static func marginsPinEdge<Axis>(_ edge: KeyPath<LayoutAnchors<UIView>, Anchor<AnchorType.Edge, Axis>>, inset: CGFloat = 0) -> Self {
| `- error: cannot find type 'UIView' in scope
178 | return Self { $0.anchors[keyPath: edge].marginsPin(inset: inset) }
179 | }
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:225:78: error: cannot find type 'UIView' in scope
223 | Self { $0.anchors.verticalEdges.safeAreaPin() }
224 | }
225 | internal static func safeAreaPinEdge<Axis>(_ edge: KeyPath<LayoutAnchors<UIView>, Anchor<AnchorType.Edge, Axis>>, inset: CGFloat = 0) -> Self {
| `- error: cannot find type 'UIView' in scope
226 | return Self { $0.anchors[keyPath: edge].safeAreaPin(inset: inset) }
227 | }
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:273:85: error: cannot find type 'UIView' in scope
271 | Self { $0.anchors.verticalEdges.readableContentPin() }
272 | }
273 | internal static func readableContentPinEdge<Axis>(_ edge: KeyPath<LayoutAnchors<UIView>, Anchor<AnchorType.Edge, Axis>>, inset: CGFloat = 0) -> Self {
| `- error: cannot find type 'UIView' in scope
274 | return Self { $0.anchors[keyPath: edge].readableContentPin(inset: inset) }
275 | }
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
21 | @class NSLayoutManager;
22 | @class UIImage;
23 | @class UIView;
| `- note: interface 'UIView' forward declared here
24 | @class NSFileWrapper;
25 | @class NSTextAttachmentViewProvider;
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:324:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'VerticalInsets' may have shared mutable state; this is an error in the Swift 6 language mode
309 | }
310 |
311 | public struct VerticalInsets: Hashable {
| `- note: consider making struct 'VerticalInsets' conform to the 'Sendable' protocol
312 | public var top: CGFloat
313 | public var bottom: CGFloat
:
322 | }
323 |
324 | public static let zero = VerticalInsets(top: 0, bottom: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'VerticalInsets' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
325 | }
326 |
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:340:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'HorizontalInsets' may have shared mutable state; this is an error in the Swift 6 language mode
325 | }
326 |
327 | public struct HorizontalInsets: Hashable {
| `- note: consider making struct 'HorizontalInsets' conform to the 'Sendable' protocol
328 | public var left: CGFloat
329 | public var right: CGFloat
:
338 | }
339 |
340 | public static let zero = HorizontalInsets(left: 0, right: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'HorizontalInsets' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
341 | }
342 |
SwiftCompile normal armv7k Compiling\ Subview.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift (in target 'Subviews' from project 'Subviews')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftTaskExecution -- /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/Subviews/AutoParent.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/AutoSuperview.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Child.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Enclosed.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Creatable.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/armv7k/Subview.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/armv7k/Subview.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/armv7k/Subview.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/armv7k/Subview.dia -target armv7k-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/armv7k/Subviews_const_extract_protocols.json -strict-concurrency\=complete -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name Subviews -frontend-parseable-output -disable-clang-spi -target-sdk-version 10.4 -target-sdk-name watchos10.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/armv7k/Subview.o -index-unit-output-path /Subviews.build/Debug-watchos/Subviews.build/Objects-normal/armv7k/Subview.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift (in target 'Subviews' from project 'Subviews')
cd /Users/admin/builder/spi-builder-workspace
/Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -c /Users/admin/builder/spi-builder-workspace/Sources/Subviews/AutoParent.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/AutoSuperview.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Child.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Enclosed.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Creatable.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/armv7k/Subview.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/armv7k/Subview.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/armv7k/Subview.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/armv7k/Subview.dia -target armv7k-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/armv7k/Subviews_const_extract_protocols.json -strict-concurrency\=complete -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name Subviews -frontend-parseable-output -disable-clang-spi -target-sdk-version 10.4 -target-sdk-name watchos10.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/armv7k/Subview.o -index-unit-output-path /Subviews.build/Debug-watchos/Subviews.build/Objects-normal/armv7k/Subview.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:4:44: error: cannot find type 'UIView' in scope
static var defaultSuperview: (Self) -> UIView { get }
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:8:34: error: cannot find type 'UIView' in scope
typealias Subview<Superview: UIView, View: UIView> = AnySubview<Self, Superview, View>
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:8:48: error: cannot find type 'UIView' in scope
typealias Subview<Superview: UIView, View: UIView> = AnySubview<Self, Superview, View>
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:25:66: error: cannot find type 'UIView' in scope
public struct AnySubview<EnclosingSelf: AddsSubviews, Superview: UIView, View: UIView>: Enclosed {
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:25:80: error: cannot find type 'UIView' in scope
public struct AnySubview<EnclosingSelf: AddsSubviews, Superview: UIView, View: UIView>: Enclosed {
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:9:38: error: cannot find type 'UIStackView' in scope
typealias ArrangedSubview<Stack: UIStackView, View: UIView> = AnyArrangedSubview<Self, Stack, View>
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:9:57: error: cannot find type 'UIView' in scope
typealias ArrangedSubview<Stack: UIStackView, View: UIView> = AnyArrangedSubview<Self, Stack, View>
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:259:74: error: cannot find type 'UIStackView' in scope
public struct AnyArrangedSubview<EnclosingSelf: AddsSubviews, Superview: UIStackView, View: UIView>: Enclosed {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:259:93: error: cannot find type 'UIView' in scope
public struct AnyArrangedSubview<EnclosingSelf: AddsSubviews, Superview: UIStackView, View: UIView>: Enclosed {
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:18:11: error: cannot find type 'UIView' in scope
extension UIView: SuperviewContainer {
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:182:41: error: cannot find type 'UIView' in scope
extension AnySubview where Superview == UIView {
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:394:33: error: cannot find type 'UIView' in scope
public init(new: @escaping (UIView) -> Void, old: @escaping (UIView) -> Void) {
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:394:66: error: cannot find type 'UIView' in scope
public init(new: @escaping (UIView) -> Void, old: @escaping (UIView) -> Void) {
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:391:15: error: cannot find type 'UIView' in scope
let new: (UIView) -> Void
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:392:15: error: cannot find type 'UIView' in scope
let old: (UIView) -> Void
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:415:9: error: cannot find 'UIView' in scope
UIView.animate(withDuration: 0.3, delay: 0, options: .curveEaseInOut) {
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:415:63: error: cannot infer contextual base in reference to member 'curveEaseInOut'
UIView.animate(withDuration: 0.3, delay: 0, options: .curveEaseInOut) {
~^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:424:9: error: cannot find 'UIView' in scope
UIView.animate(withDuration: 0.33, delay: 0.4, options: .curveEaseInOut) {
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:428:9: error: cannot find 'UIView' in scope
UIView.animate(withDuration: 0.33, delay: 0, options: .curveEaseInOut) {
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:424:66: error: cannot infer contextual base in reference to member 'curveEaseInOut'
UIView.animate(withDuration: 0.33, delay: 0.4, options: .curveEaseInOut) {
~^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:428:64: error: cannot infer contextual base in reference to member 'curveEaseInOut'
UIView.animate(withDuration: 0.33, delay: 0, options: .curveEaseInOut) {
~^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:437:9: error: cannot find 'UIView' in scope
UIView.animate(withDuration: 0.33, delay: 0, options: .curveEaseInOut) {
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:441:9: error: cannot find 'UIView' in scope
UIView.animate(withDuration: 0.33, delay: 0, options: .curveEaseInOut) {
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:437:64: error: cannot infer contextual base in reference to member 'curveEaseInOut'
UIView.animate(withDuration: 0.33, delay: 0, options: .curveEaseInOut) {
~^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:441:64: error: cannot infer contextual base in reference to member 'curveEaseInOut'
UIView.animate(withDuration: 0.33, delay: 0, options: .curveEaseInOut) {
~^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:63:19: error: value of type 'Superview' has no member 'addSubview'
superview.addSubview(created)
~~~~~~~~~ ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:54:25: error: cannot find type 'UIView' in scope
public var layout: (UIView) -> ()
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:287:19: error: value of type 'Superview' has no member 'addArrangedSubview'
superview.addArrangedSubview(created)
~~~~~~~~~ ^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:19:42: error: cannot find type 'UIView' in scope
public static var defaultSuperview: (UIView) -> UIView {
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:19:53: error: cannot find type 'UIView' in scope
public static var defaultSuperview: (UIView) -> UIView {
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
SwiftCompile normal arm64_32 Compiling\ Stacks.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift (in target 'Subviews' from project 'Subviews')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftTaskExecution -- /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/Subviews/AutoParent.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/AutoSuperview.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Child.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Enclosed.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Creatable.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/arm64_32/Stacks.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/arm64_32/Stacks.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/arm64_32/Stacks.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/arm64_32/Stacks.dia -target arm64_32-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/arm64_32/Subviews_const_extract_protocols.json -strict-concurrency\=complete -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name Subviews -frontend-parseable-output -disable-clang-spi -target-sdk-version 10.4 -target-sdk-name watchos10.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/arm64_32/Stacks.o -index-unit-output-path /Subviews.build/Debug-watchos/Subviews.build/Objects-normal/arm64_32/Stacks.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift (in target 'Subviews' from project 'Subviews')
cd /Users/admin/builder/spi-builder-workspace
/Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -c /Users/admin/builder/spi-builder-workspace/Sources/Subviews/AutoParent.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/AutoSuperview.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Child.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Enclosed.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Creatable.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/arm64_32/Stacks.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/arm64_32/Stacks.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/arm64_32/Stacks.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/arm64_32/Stacks.dia -target arm64_32-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/arm64_32/Subviews_const_extract_protocols.json -strict-concurrency\=complete -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name Subviews -frontend-parseable-output -disable-clang-spi -target-sdk-version 10.4 -target-sdk-name watchos10.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/arm64_32/Stacks.o -index-unit-output-path /Subviews.build/Debug-watchos/Subviews.build/Objects-normal/arm64_32/Stacks.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftDriver\ Compilation\ Requirements Subviews normal armv7k com.apple.xcode.tools.swift.compiler (in target 'Subviews' from project 'Subviews')
cd /Users/admin/builder/spi-builder-workspace
builtin-Swift-Compilation-Requirements -- /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swiftc -module-name Subviews -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/armv7k/Subviews.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -target armv7k-apple-watchos5.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/armv7k/Subviews-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/armv7k/Subviews.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/armv7k/Subviews_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/armv7k/Subviews-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace -experimental-emit-module-separately -disable-cmo
SwiftCompile normal armv7k Compiling\ AutoParent.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/AutoParent.swift (in target 'Subviews' from project 'Subviews')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftTaskExecution -- /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/Sources/Subviews/AutoParent.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/AutoSuperview.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Child.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Enclosed.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Creatable.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/armv7k/AutoParent.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/armv7k/AutoParent.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/armv7k/AutoParent.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/armv7k/AutoParent.dia -target armv7k-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/armv7k/Subviews_const_extract_protocols.json -strict-concurrency\=complete -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name Subviews -frontend-parseable-output -disable-clang-spi -target-sdk-version 10.4 -target-sdk-name watchos10.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/armv7k/AutoParent.o -index-unit-output-path /Subviews.build/Debug-watchos/Subviews.build/Objects-normal/armv7k/AutoParent.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/Subviews/AutoParent.swift (in target 'Subviews' from project 'Subviews')
cd /Users/admin/builder/spi-builder-workspace
/Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/Sources/Subviews/AutoParent.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/AutoSuperview.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Child.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Enclosed.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Align.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Internal/Creatable.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Stacks.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/armv7k/AutoParent.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/armv7k/AutoParent.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/armv7k/AutoParent.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/armv7k/AutoParent.dia -target armv7k-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/armv7k/Subviews_const_extract_protocols.json -strict-concurrency\=complete -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name Subviews -frontend-parseable-output -disable-clang-spi -target-sdk-version 10.4 -target-sdk-name watchos10.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/armv7k/AutoParent.o -index-unit-output-path /Subviews.build/Debug-watchos/Subviews.build/Objects-normal/armv7k/AutoParent.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/AutoParent.swift:4:24: error: method does not override any method from its superclass
open override func viewDidLoad() {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/AutoParent.swift:3:34: error: cannot find type 'UIViewController' in scope
open class ParentViewController: UIViewController, AddsSubviews, AddsChildrenViewControllers {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:4:44: error: cannot find type 'UIView' in scope
static var defaultSuperview: (Self) -> UIView { get }
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/AutoParent.swift:5:9: error: 'super' members cannot be referenced in a root class
super.viewDidLoad()
^
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:8:34: error: cannot find type 'UIView' in scope
typealias Subview<Superview: UIView, View: UIView> = AnySubview<Self, Superview, View>
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:8:48: error: cannot find type 'UIView' in scope
typealias Subview<Superview: UIView, View: UIView> = AnySubview<Self, Superview, View>
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:25:66: error: cannot find type 'UIView' in scope
public struct AnySubview<EnclosingSelf: AddsSubviews, Superview: UIView, View: UIView>: Enclosed {
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:25:80: error: cannot find type 'UIView' in scope
public struct AnySubview<EnclosingSelf: AddsSubviews, Superview: UIView, View: UIView>: Enclosed {
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:9:38: error: cannot find type 'UIStackView' in scope
typealias ArrangedSubview<Stack: UIStackView, View: UIView> = AnyArrangedSubview<Self, Stack, View>
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:9:57: error: cannot find type 'UIView' in scope
typealias ArrangedSubview<Stack: UIStackView, View: UIView> = AnyArrangedSubview<Self, Stack, View>
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:259:74: error: cannot find type 'UIStackView' in scope
public struct AnyArrangedSubview<EnclosingSelf: AddsSubviews, Superview: UIStackView, View: UIView>: Enclosed {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift:259:93: error: cannot find type 'UIView' in scope
public struct AnyArrangedSubview<EnclosingSelf: AddsSubviews, Superview: UIStackView, View: UIView>: Enclosed {
^~~~~~
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h:23:1: note: interface 'UIView' forward declared here
@class UIView;
^
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/Subviews.swiftmodule/armv7k-apple-watchos.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/armv7k/Subviews.swiftmodule (in target 'Subviews' from project 'Subviews')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/armv7k/Subviews.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/Subviews.swiftmodule/armv7k-apple-watchos.swiftmodule
error: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/armv7k/Subviews.swiftmodule: No such file or directory (in target 'Subviews' from project 'Subviews')
SwiftDriver\ Compilation\ Requirements Subviews normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'Subviews' from project 'Subviews')
cd /Users/admin/builder/spi-builder-workspace
builtin-Swift-Compilation-Requirements -- /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swiftc -module-name Subviews -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/arm64_32/Subviews.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -target arm64_32-apple-watchos5.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/arm64_32/Subviews-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/arm64_32/Subviews.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/arm64_32/Subviews_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/arm64_32/Subviews-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace -experimental-emit-module-separately -disable-cmo
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'Subviews' from project 'Subviews')
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ Subviews (in target 'Subviews' from project 'Subviews')
SwiftEmitModule normal armv7k Emitting\ module\ for\ Subviews (in target 'Subviews' from project 'Subviews')
SwiftCompile normal armv7k Compiling\ Subview.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift (in target 'Subviews' from project 'Subviews')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/Subviews/Subview.swift (in target 'Subviews' from project 'Subviews')
SwiftCompile normal armv7k Compiling\ AutoParent.swift /Users/admin/builder/spi-builder-workspace/Sources/Subviews/AutoParent.swift (in target 'Subviews' from project 'Subviews')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/Subviews/AutoParent.swift (in target 'Subviews' from project 'Subviews')
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/Subviews.swiftmodule/armv7k-apple-watchos.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Subviews.build/Debug-watchos/Subviews.build/Objects-normal/armv7k/Subviews.swiftmodule (in target 'Subviews' from project 'Subviews')
(7 failures)
BUILD FAILURE 6.0 watchOS