Build Information
Successful build of BBLayoutKit, reference master (54b41a
), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 21:41:23 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bibinjacobpulickal/BBLayoutKit.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bibinjacobpulickal/BBLayoutKit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 54b41a0 BBLayoutKitTests: Added isActives cases test.
Cloned https://github.com/bibinjacobpulickal/BBLayoutKit.git
Revision (git rev-parse @):
54b41a05f928e764f102aaf166bf24659e2ee18d
SUCCESS checkout https://github.com/bibinjacobpulickal/BBLayoutKit.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/bibinjacobpulickal/BBLayoutKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/19] Compiling BBLayoutKit BBAutoLayoutableOperators.swift
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:175:39: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
173 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
174 | -> NSLayoutConstraint {
175 | if let lhsAnchor = lhs as? NSLayoutDimension,
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
176 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
177 | let constraint = lhsAnchor.constraint(equalTo: rhsAnchor,
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:176:41: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
174 | -> NSLayoutConstraint {
175 | if let lhsAnchor = lhs as? NSLayoutDimension,
176 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
177 | let constraint = lhsAnchor.constraint(equalTo: rhsAnchor,
178 | multiplier: rhs.1.0,
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:193:39: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
191 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
192 | -> NSLayoutConstraint {
193 | if let lhsAnchor = lhs as? NSLayoutDimension,
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
194 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
195 | let constraint = lhsAnchor.constraint(lessThanOrEqualTo: rhsAnchor,
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:194:41: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
192 | -> NSLayoutConstraint {
193 | if let lhsAnchor = lhs as? NSLayoutDimension,
194 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
195 | let constraint = lhsAnchor.constraint(lessThanOrEqualTo: rhsAnchor,
196 | multiplier: rhs.1.0,
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:211:39: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
209 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
210 | -> NSLayoutConstraint {
211 | if let lhsAnchor = lhs as? NSLayoutDimension,
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
212 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
213 | let constraint = lhsAnchor.constraint(greaterThanOrEqualTo: rhsAnchor,
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:212:41: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
210 | -> NSLayoutConstraint {
211 | if let lhsAnchor = lhs as? NSLayoutDimension,
212 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
213 | let constraint = lhsAnchor.constraint(greaterThanOrEqualTo: rhsAnchor,
214 | multiplier: rhs.1.0,
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:231:39: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
229 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
230 | -> NSLayoutConstraint {
231 | if let lhsAnchor = lhs as? NSLayoutDimension,
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
232 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
233 | let constraint = lhsAnchor.constraint(equalTo: rhsAnchor,
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:232:41: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
230 | -> NSLayoutConstraint {
231 | if let lhsAnchor = lhs as? NSLayoutDimension,
232 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
233 | let constraint = lhsAnchor.constraint(equalTo: rhsAnchor,
234 | multiplier: rhs.1.0,
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:249:39: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
247 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
248 | -> NSLayoutConstraint {
249 | if let lhsAnchor = lhs as? NSLayoutDimension,
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
250 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
251 | let constraint = lhsAnchor.constraint(lessThanOrEqualTo: rhsAnchor,
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:250:41: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
248 | -> NSLayoutConstraint {
249 | if let lhsAnchor = lhs as? NSLayoutDimension,
250 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
251 | let constraint = lhsAnchor.constraint(lessThanOrEqualTo: rhsAnchor,
252 | multiplier: rhs.1.0,
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:267:39: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
265 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
266 | -> NSLayoutConstraint {
267 | if let lhsAnchor = lhs as? NSLayoutDimension,
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
268 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
269 | let constraint = lhsAnchor.constraint(greaterThanOrEqualTo: rhsAnchor,
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:268:41: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
266 | -> NSLayoutConstraint {
267 | if let lhsAnchor = lhs as? NSLayoutDimension,
268 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
269 | let constraint = lhsAnchor.constraint(greaterThanOrEqualTo: rhsAnchor,
270 | multiplier: rhs.1.0,
[4/19] Compiling BBLayoutKit BBAutoLayoutableQuadrupleOperators.swift
[5/20] Compiling BBLayoutKit BBOffsetConvertible.swift
[6/20] Compiling BBLayoutKit BBSizeConvertible.swift
[7/20] Compiling BBLayoutKit BBMultiplier.swift
[8/20] Compiling BBLayoutKit BBOffset.swift
[9/20] Compiling BBLayoutKit BBAutoLayoutableExtensions.swift
[10/20] Compiling BBLayoutKit BBAutoLayoutableHelpers.swift
[11/20] Compiling BBLayoutKit BBAnchorableHelpers.swift
[12/20] Compiling BBLayoutKit BBAutoLayoutable.swift
[13/20] Compiling BBLayoutKit BBEdgeInsetConvertible.swift
[14/20] Compiling BBLayoutKit BBMultiplierConvertible.swift
[15/20] Compiling BBLayoutKit NSLayoutConstraintAttributeExtensions.swift
[16/20] Compiling BBLayoutKit BBAnchorableViewOperators.swift
[17/20] Emitting module BBLayoutKit
[18/20] Compiling BBLayoutKit BBAnchorable.swift
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:215:30: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
213 | switch relation {
214 | case .lessThanOrEqual:
215 | if let lhs = lhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
216 | if let rhs = rhs as? NSLayoutDimension {
217 | lhs.constraint(
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:216:34: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
214 | case .lessThanOrEqual:
215 | if let lhs = lhs as? NSLayoutDimension {
216 | if let rhs = rhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
217 | lhs.constraint(
218 | lessThanOrEqualTo: rhs,
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:234:30: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
232 | }
233 | case .greaterThanOrEqual:
234 | if let lhs = lhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
235 | if let rhs = rhs as? NSLayoutDimension {
236 | lhs.constraint(
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:235:34: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
233 | case .greaterThanOrEqual:
234 | if let lhs = lhs as? NSLayoutDimension {
235 | if let rhs = rhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
236 | lhs.constraint(
237 | greaterThanOrEqualTo: rhs,
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:253:30: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
251 | }
252 | default:
253 | if let lhs = lhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
254 | if let rhs = rhs as? NSLayoutDimension {
255 | lhs.constraint(
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:254:34: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
252 | default:
253 | if let lhs = lhs as? NSLayoutDimension {
254 | if let rhs = rhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
255 | lhs.constraint(
256 | equalTo: rhs,
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:306:24: warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
304 | switch attribute {
305 | case .top:
306 | return top as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
307 | case .left:
308 | return left as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:308:25: warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
306 | return top as? NSLayoutAnchor<AnchorType>
307 | case .left:
308 | return left as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
309 | case .leading:
310 | return leading as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:310:28: warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
308 | return left as? NSLayoutAnchor<AnchorType>
309 | case .leading:
310 | return leading as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
311 | case .bottom:
312 | return bottom as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:312:27: warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
310 | return leading as? NSLayoutAnchor<AnchorType>
311 | case .bottom:
312 | return bottom as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
313 | case .right:
314 | return right as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:314:26: warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
312 | return bottom as? NSLayoutAnchor<AnchorType>
313 | case .right:
314 | return right as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
315 | case .trailing:
316 | return trailing as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:316:29: warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
314 | return right as? NSLayoutAnchor<AnchorType>
315 | case .trailing:
316 | return trailing as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
317 | case .width:
318 | return width as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:318:26: warning: cast from 'NSLayoutDimension' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
316 | return trailing as? NSLayoutAnchor<AnchorType>
317 | case .width:
318 | return width as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutDimension' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
319 | case .height:
320 | return height as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:320:27: warning: cast from 'NSLayoutDimension' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
318 | return width as? NSLayoutAnchor<AnchorType>
319 | case .height:
320 | return height as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutDimension' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
321 | case .centerX:
322 | return centerX as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:322:28: warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
320 | return height as? NSLayoutAnchor<AnchorType>
321 | case .centerX:
322 | return centerX as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
323 | case .centerY:
324 | return centerY as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:324:28: warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
322 | return centerX as? NSLayoutAnchor<AnchorType>
323 | case .centerY:
324 | return centerY as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
325 | default:
326 | return nil
[19/20] Compiling BBLayoutKit BBAnchorableExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:215:30: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
213 | switch relation {
214 | case .lessThanOrEqual:
215 | if let lhs = lhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
216 | if let rhs = rhs as? NSLayoutDimension {
217 | lhs.constraint(
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:216:34: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
214 | case .lessThanOrEqual:
215 | if let lhs = lhs as? NSLayoutDimension {
216 | if let rhs = rhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
217 | lhs.constraint(
218 | lessThanOrEqualTo: rhs,
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:234:30: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
232 | }
233 | case .greaterThanOrEqual:
234 | if let lhs = lhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
235 | if let rhs = rhs as? NSLayoutDimension {
236 | lhs.constraint(
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:235:34: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
233 | case .greaterThanOrEqual:
234 | if let lhs = lhs as? NSLayoutDimension {
235 | if let rhs = rhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
236 | lhs.constraint(
237 | greaterThanOrEqualTo: rhs,
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:253:30: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
251 | }
252 | default:
253 | if let lhs = lhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
254 | if let rhs = rhs as? NSLayoutDimension {
255 | lhs.constraint(
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:254:34: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
252 | default:
253 | if let lhs = lhs as? NSLayoutDimension {
254 | if let rhs = rhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
255 | lhs.constraint(
256 | equalTo: rhs,
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:306:24: warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
304 | switch attribute {
305 | case .top:
306 | return top as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
307 | case .left:
308 | return left as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:308:25: warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
306 | return top as? NSLayoutAnchor<AnchorType>
307 | case .left:
308 | return left as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
309 | case .leading:
310 | return leading as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:310:28: warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
308 | return left as? NSLayoutAnchor<AnchorType>
309 | case .leading:
310 | return leading as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
311 | case .bottom:
312 | return bottom as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:312:27: warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
310 | return leading as? NSLayoutAnchor<AnchorType>
311 | case .bottom:
312 | return bottom as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
313 | case .right:
314 | return right as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:314:26: warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
312 | return bottom as? NSLayoutAnchor<AnchorType>
313 | case .right:
314 | return right as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
315 | case .trailing:
316 | return trailing as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:316:29: warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
314 | return right as? NSLayoutAnchor<AnchorType>
315 | case .trailing:
316 | return trailing as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
317 | case .width:
318 | return width as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:318:26: warning: cast from 'NSLayoutDimension' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
316 | return trailing as? NSLayoutAnchor<AnchorType>
317 | case .width:
318 | return width as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutDimension' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
319 | case .height:
320 | return height as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:320:27: warning: cast from 'NSLayoutDimension' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
318 | return width as? NSLayoutAnchor<AnchorType>
319 | case .height:
320 | return height as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutDimension' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
321 | case .centerX:
322 | return centerX as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:322:28: warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
320 | return height as? NSLayoutAnchor<AnchorType>
321 | case .centerX:
322 | return centerX as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
323 | case .centerY:
324 | return centerY as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:324:28: warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
322 | return centerX as? NSLayoutAnchor<AnchorType>
323 | case .centerY:
324 | return centerY as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
325 | default:
326 | return nil
[20/20] Compiling BBLayoutKit BBAutoLayoutableTupleOperators.swift
Build complete! (6.87s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "BBLayoutKit",
"name" : "BBLayoutKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.11"
},
{
"name" : "ios",
"version" : "9.0"
}
],
"products" : [
{
"name" : "BBLayoutKit",
"targets" : [
"BBLayoutKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "BBLayoutKitTests",
"module_type" : "SwiftTarget",
"name" : "BBLayoutKitTests",
"path" : "Tests/BBLayoutKitTests",
"sources" : [
"BBLayoutAppKitTests.swift",
"BBLayoutKitTests.swift",
"BBLayoutUIKitTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"BBLayoutKit"
],
"type" : "test"
},
{
"c99name" : "BBLayoutKit",
"module_type" : "SwiftTarget",
"name" : "BBLayoutKit",
"path" : "Sources/BBLayoutKit",
"product_memberships" : [
"BBLayoutKit"
],
"sources" : [
"BBAnchorable/BBAnchorable.swift",
"BBAnchorable/BBAnchorableExtensions.swift",
"BBAnchorable/BBAnchorableHelpers.swift",
"BBAutoLayoutable/BBAutoLayoutable.swift",
"BBAutoLayoutable/BBAutoLayoutableExtensions.swift",
"BBAutoLayoutable/BBAutoLayoutableHelpers.swift",
"BBConvertible/BBEdgeInsetConvertible.swift",
"BBConvertible/BBMultiplierConvertible.swift",
"BBConvertible/BBOffsetConvertible.swift",
"BBConvertible/BBSizeConvertible.swift",
"BBHelpers/BBMultiplier.swift",
"BBHelpers/BBOffset.swift",
"BBHelpers/NSLayoutConstraintAttributeExtensions.swift",
"BBOperators/BBAnchorableViewOperators.swift",
"BBOperators/BBAutoLayoutableOperators.swift",
"BBOperators/BBAutoLayoutableQuadrupleOperators.swift",
"BBOperators/BBAutoLayoutableTupleOperators.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Done.