Build Information
Successful build of CGLayout, reference 0.7.2 (c059f2
), with Swift 6.0 for Linux on 8 Oct 2024 05:38:17 UTC.
Swift 6 data race errors: 21
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/k-o-d-e-n/CGLayout.git
Reference: 0.7.2
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/k-o-d-e-n/CGLayout
* tag 0.7.2 -> FETCH_HEAD
HEAD is now at c059f2f 0.7.2
Cloned https://github.com/k-o-d-e-n/CGLayout.git
Revision (git rev-parse @):
c059f2f8d5d87fda9ba101028986530dceb0ac6e
SUCCESS checkout https://github.com/k-o-d-e-n/CGLayout.git at 0.7.2
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/k-o-d-e-n/CGLayout.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:b1f5b321a5d74ef5eaf6f5f3afbfebaaa54c7954de6f859009c18a90e0e1c3b4
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/18] Emitting module CGLayout
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:123:1: warning: extension declares a conformance of imported type 'NSEdgeInsets' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
121 |
122 | #if os(macOS) || os(Linux)
123 | extension EdgeInsets: Equatable {
| |- warning: extension declares a conformance of imported type 'NSEdgeInsets' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
124 | public static func ==(lhs: EdgeInsets, rhs: EdgeInsets) -> Bool {
125 | return lhs.left == rhs.left && lhs.right == rhs.right
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:286:23: warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
284 | }
285 |
286 | public static var horizontal: CGRectAxis.Horizontal = Horizontal()
| |- warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'horizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'horizontal' 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
287 | public struct Horizontal: RectAxis {
288 | public var isHorizontal: Bool { return true }
/host/spi-builder-workspace/Sources/Classes/rtl.cglayout.swift:13:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public var isRTLMode: Bool = false
12 |
13 | public static var `default` = CGLConfiguration()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
14 | }
15 |
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:300:23: warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
298 | }
299 |
300 | public static var vertical: CGRectAxis.Vertical = Vertical()
| |- warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vertical' 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
301 | public struct Vertical: RectAxis {
302 | public var isHorizontal: Bool { return false }
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:267:23: warning: static property 'xy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
265 | public func offset(rect: CGRect, by value: CGFloat) -> CGRect { return base.offset(rect: rect, by: value) }
266 |
267 | public static var xy: CGRectAxis.XY = .init()
| |- warning: static property 'xy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'xy' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'xy' 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
268 | /// not completed
269 | public struct XY: RectAxis { // TODO:
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:325:16: warning: static property 'leadingHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
323 |
324 | struct _RectAnchor {
325 | static var leadingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(minOf:))
| |- warning: static property 'leadingHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leadingHorizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leadingHorizontal' 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
326 | static var trailingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(maxOf:))
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:326:16: warning: static property 'trailingHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
324 | struct _RectAnchor {
325 | static var leadingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(minOf:))
326 | static var trailingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(maxOf:))
| |- warning: static property 'trailingHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trailingHorizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trailingHorizontal' 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
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:327:16: warning: static property 'leadingVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
325 | static var leadingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(minOf:))
326 | static var trailingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(maxOf:))
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
| |- warning: static property 'leadingVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leadingVertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leadingVertical' 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
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:328:16: warning: static property 'trailingVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
326 | static var trailingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(maxOf:))
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
| |- warning: static property 'trailingVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trailingVertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trailingVertical' 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
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:329:16: warning: static property 'centerHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
| |- warning: static property 'centerHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'centerHorizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'centerHorizontal' 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
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:330:16: warning: static property 'centerVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
| |- warning: static property 'centerVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'centerVertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'centerVertical' 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
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:331:16: warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
| |- warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'center' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'center' 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
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
333 | static var sizeVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(sizeAt:))
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:332:16: warning: static property 'sizeHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
| |- warning: static property 'sizeHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sizeHorizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sizeHorizontal' 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
333 | static var sizeVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(sizeAt:))
334 | static var size = AnyAnchor<CGSize>(getter: { $0.size })//CGSize(width: CGRectAxis.horizontal.get(sizeAt: $0), height: CGRectAxis.vertical.get(sizeAt: $0)) })
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:333:16: warning: static property 'sizeVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
333 | static var sizeVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(sizeAt:))
| |- warning: static property 'sizeVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sizeVertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sizeVertical' 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
334 | static var size = AnyAnchor<CGSize>(getter: { $0.size })//CGSize(width: CGRectAxis.horizontal.get(sizeAt: $0), height: CGRectAxis.vertical.get(sizeAt: $0)) })
335 | }
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:334:16: warning: static property 'size' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
333 | static var sizeVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(sizeAt:))
334 | static var size = AnyAnchor<CGSize>(getter: { $0.size })//CGSize(width: CGRectAxis.horizontal.get(sizeAt: $0), height: CGRectAxis.vertical.get(sizeAt: $0)) })
| |- warning: static property 'size' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'size' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'size' 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
335 | }
336 |
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:15:23: warning: static property 'leading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 | struct CGRectAxisAnchor {
15 | public static var leading: RectAxisAnchor = Leading()
| |- warning: static property 'leading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leading' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leading' 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
16 | struct Leading: RectAxisAnchor {
17 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:21:23: warning: static property 'trailing' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | }
21 | public static var trailing: RectAxisAnchor = Trailing()
| |- warning: static property 'trailing' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trailing' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trailing' 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
22 | struct Trailing: RectAxisAnchor {
23 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:27:23: warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 | }
27 | public static var center: RectAxisAnchor = Center()
| |- warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'center' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'center' 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
28 | struct Center: RectAxisAnchor {
29 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:33:23: warning: static property 'size' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | }
32 | }
33 | public static var size: RectAxisAnchor = Size()
| |- warning: static property 'size' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'size' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'size' 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
34 | struct Size: RectAxisAnchor {
35 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:125:23: warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
123 | }
124 |
125 | public static var horizontal: ScrollDirection = ScrollDirection(constraints: [.width()], rawValue: 1)
| |- warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'horizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'horizontal' 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
126 | public static var vertical: ScrollDirection = ScrollDirection(constraints: [.height()], rawValue: 2)
127 | public static var both: ScrollDirection = ScrollDirection(constraints: [.height(), .width()], rawValue: 0)
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:126:23: warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
124 |
125 | public static var horizontal: ScrollDirection = ScrollDirection(constraints: [.width()], rawValue: 1)
126 | public static var vertical: ScrollDirection = ScrollDirection(constraints: [.height()], rawValue: 2)
| |- warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vertical' 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
127 | public static var both: ScrollDirection = ScrollDirection(constraints: [.height(), .width()], rawValue: 0)
128 | }
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:127:23: warning: static property 'both' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
125 | public static var horizontal: ScrollDirection = ScrollDirection(constraints: [.width()], rawValue: 1)
126 | public static var vertical: ScrollDirection = ScrollDirection(constraints: [.height()], rawValue: 2)
127 | public static var both: ScrollDirection = ScrollDirection(constraints: [.height(), .width()], rawValue: 0)
| |- warning: static property 'both' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'both' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'both' 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
128 | }
129 |
[4/20] Compiling CGLayout system.cglayout.swift
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:15:23: warning: static property 'leading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 | struct CGRectAxisAnchor {
15 | public static var leading: RectAxisAnchor = Leading()
| |- warning: static property 'leading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leading' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leading' 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
16 | struct Leading: RectAxisAnchor {
17 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:21:23: warning: static property 'trailing' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | }
21 | public static var trailing: RectAxisAnchor = Trailing()
| |- warning: static property 'trailing' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trailing' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trailing' 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
22 | struct Trailing: RectAxisAnchor {
23 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:27:23: warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 | }
27 | public static var center: RectAxisAnchor = Center()
| |- warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'center' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'center' 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
28 | struct Center: RectAxisAnchor {
29 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:33:23: warning: static property 'size' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | }
32 | }
33 | public static var size: RectAxisAnchor = Size()
| |- warning: static property 'size' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'size' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'size' 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
34 | struct Size: RectAxisAnchor {
35 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
[5/20] Compiling CGLayout workspace.cglayout.swift
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:15:23: warning: static property 'leading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 | struct CGRectAxisAnchor {
15 | public static var leading: RectAxisAnchor = Leading()
| |- warning: static property 'leading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leading' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leading' 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
16 | struct Leading: RectAxisAnchor {
17 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:21:23: warning: static property 'trailing' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | }
21 | public static var trailing: RectAxisAnchor = Trailing()
| |- warning: static property 'trailing' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trailing' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trailing' 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
22 | struct Trailing: RectAxisAnchor {
23 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:27:23: warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 | }
27 | public static var center: RectAxisAnchor = Center()
| |- warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'center' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'center' 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
28 | struct Center: RectAxisAnchor {
29 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:33:23: warning: static property 'size' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | }
32 | }
33 | public static var size: RectAxisAnchor = Size()
| |- warning: static property 'size' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'size' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'size' 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
34 | struct Size: RectAxisAnchor {
35 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
[6/20] Compiling CGLayout layoutGuide.cglayout.swift
[7/20] Compiling CGLayout private.cglayout.swift
[8/20] Compiling CGLayout rtl.cglayout.swift
/host/spi-builder-workspace/Sources/Classes/rtl.cglayout.swift:13:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public var isRTLMode: Bool = false
12 |
13 | public static var `default` = CGLConfiguration()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
14 | }
15 |
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:125:23: warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
123 | }
124 |
125 | public static var horizontal: ScrollDirection = ScrollDirection(constraints: [.width()], rawValue: 1)
| |- warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'horizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'horizontal' 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
126 | public static var vertical: ScrollDirection = ScrollDirection(constraints: [.height()], rawValue: 2)
127 | public static var both: ScrollDirection = ScrollDirection(constraints: [.height(), .width()], rawValue: 0)
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:126:23: warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
124 |
125 | public static var horizontal: ScrollDirection = ScrollDirection(constraints: [.width()], rawValue: 1)
126 | public static var vertical: ScrollDirection = ScrollDirection(constraints: [.height()], rawValue: 2)
| |- warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vertical' 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
127 | public static var both: ScrollDirection = ScrollDirection(constraints: [.height(), .width()], rawValue: 0)
128 | }
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:127:23: warning: static property 'both' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
125 | public static var horizontal: ScrollDirection = ScrollDirection(constraints: [.width()], rawValue: 1)
126 | public static var vertical: ScrollDirection = ScrollDirection(constraints: [.height()], rawValue: 2)
127 | public static var both: ScrollDirection = ScrollDirection(constraints: [.height(), .width()], rawValue: 0)
| |- warning: static property 'both' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'both' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'both' 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
128 | }
129 |
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:188:17: warning: initialization of immutable value 'oldPosition' was never used; consider replacing with assignment to '_' or removing it
186 | self.velocity += F * CGFloat(physicsTimeStep)
187 | // print("v:", velocity, oldVelocity)
188 | let oldPosition = self.position
| `- warning: initialization of immutable value 'oldPosition' was never used; consider replacing with assignment to '_' or removing it
189 | self.position += -velocity * CGFloat(physicsTimeStep)
190 | // print("p:", oldPosition, self.position)
[9/20] Compiling CGLayout scroll.layoutGuide.cglayout.swift
/host/spi-builder-workspace/Sources/Classes/rtl.cglayout.swift:13:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public var isRTLMode: Bool = false
12 |
13 | public static var `default` = CGLConfiguration()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
14 | }
15 |
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:125:23: warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
123 | }
124 |
125 | public static var horizontal: ScrollDirection = ScrollDirection(constraints: [.width()], rawValue: 1)
| |- warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'horizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'horizontal' 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
126 | public static var vertical: ScrollDirection = ScrollDirection(constraints: [.height()], rawValue: 2)
127 | public static var both: ScrollDirection = ScrollDirection(constraints: [.height(), .width()], rawValue: 0)
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:126:23: warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
124 |
125 | public static var horizontal: ScrollDirection = ScrollDirection(constraints: [.width()], rawValue: 1)
126 | public static var vertical: ScrollDirection = ScrollDirection(constraints: [.height()], rawValue: 2)
| |- warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vertical' 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
127 | public static var both: ScrollDirection = ScrollDirection(constraints: [.height(), .width()], rawValue: 0)
128 | }
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:127:23: warning: static property 'both' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
125 | public static var horizontal: ScrollDirection = ScrollDirection(constraints: [.width()], rawValue: 1)
126 | public static var vertical: ScrollDirection = ScrollDirection(constraints: [.height()], rawValue: 2)
127 | public static var both: ScrollDirection = ScrollDirection(constraints: [.height(), .width()], rawValue: 0)
| |- warning: static property 'both' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'both' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'both' 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
128 | }
129 |
/host/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:188:17: warning: initialization of immutable value 'oldPosition' was never used; consider replacing with assignment to '_' or removing it
186 | self.velocity += F * CGFloat(physicsTimeStep)
187 | // print("v:", velocity, oldVelocity)
188 | let oldPosition = self.position
| `- warning: initialization of immutable value 'oldPosition' was never used; consider replacing with assignment to '_' or removing it
189 | self.position += -velocity * CGFloat(physicsTimeStep)
190 | // print("p:", oldPosition, self.position)
[10/20] Compiling CGLayout stack.layoutGuide.cglayout.swift
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:286:23: warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
284 | }
285 |
286 | public static var horizontal: CGRectAxis.Horizontal = Horizontal()
| |- warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'horizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'horizontal' 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
287 | public struct Horizontal: RectAxis {
288 | public var isHorizontal: Bool { return true }
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:300:23: warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
298 | }
299 |
300 | public static var vertical: CGRectAxis.Vertical = Vertical()
| |- warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vertical' 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
301 | public struct Vertical: RectAxis {
302 | public var isHorizontal: Bool { return false }
/host/spi-builder-workspace/Sources/Classes/rtl.cglayout.swift:13:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public var isRTLMode: Bool = false
12 |
13 | public static var `default` = CGLConfiguration()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
14 | }
15 |
[11/20] Compiling CGLayout support.cglayout.swift
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:286:23: warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
284 | }
285 |
286 | public static var horizontal: CGRectAxis.Horizontal = Horizontal()
| |- warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'horizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'horizontal' 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
287 | public struct Horizontal: RectAxis {
288 | public var isHorizontal: Bool { return true }
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:300:23: warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
298 | }
299 |
300 | public static var vertical: CGRectAxis.Vertical = Vertical()
| |- warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vertical' 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
301 | public struct Vertical: RectAxis {
302 | public var isHorizontal: Bool { return false }
/host/spi-builder-workspace/Sources/Classes/rtl.cglayout.swift:13:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public var isRTLMode: Bool = false
12 |
13 | public static var `default` = CGLConfiguration()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
14 | }
15 |
[12/20] Compiling CGLayout anchors.cglayout.swift
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:286:23: warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
284 | }
285 |
286 | public static var horizontal: CGRectAxis.Horizontal = Horizontal()
| |- warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'horizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'horizontal' 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
287 | public struct Horizontal: RectAxis {
288 | public var isHorizontal: Bool { return true }
/host/spi-builder-workspace/Sources/Classes/rtl.cglayout.swift:13:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public var isRTLMode: Bool = false
12 |
13 | public static var `default` = CGLConfiguration()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
14 | }
15 |
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:300:23: warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
298 | }
299 |
300 | public static var vertical: CGRectAxis.Vertical = Vertical()
| |- warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vertical' 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
301 | public struct Vertical: RectAxis {
302 | public var isHorizontal: Bool { return false }
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:267:23: warning: static property 'xy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
265 | public func offset(rect: CGRect, by value: CGFloat) -> CGRect { return base.offset(rect: rect, by: value) }
266 |
267 | public static var xy: CGRectAxis.XY = .init()
| |- warning: static property 'xy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'xy' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'xy' 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
268 | /// not completed
269 | public struct XY: RectAxis { // TODO:
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:325:16: warning: static property 'leadingHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
323 |
324 | struct _RectAnchor {
325 | static var leadingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(minOf:))
| |- warning: static property 'leadingHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leadingHorizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leadingHorizontal' 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
326 | static var trailingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(maxOf:))
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:326:16: warning: static property 'trailingHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
324 | struct _RectAnchor {
325 | static var leadingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(minOf:))
326 | static var trailingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(maxOf:))
| |- warning: static property 'trailingHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trailingHorizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trailingHorizontal' 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
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:327:16: warning: static property 'leadingVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
325 | static var leadingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(minOf:))
326 | static var trailingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(maxOf:))
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
| |- warning: static property 'leadingVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leadingVertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leadingVertical' 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
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:328:16: warning: static property 'trailingVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
326 | static var trailingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(maxOf:))
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
| |- warning: static property 'trailingVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trailingVertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trailingVertical' 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
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:329:16: warning: static property 'centerHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
| |- warning: static property 'centerHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'centerHorizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'centerHorizontal' 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
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:330:16: warning: static property 'centerVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
| |- warning: static property 'centerVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'centerVertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'centerVertical' 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
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:331:16: warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
| |- warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'center' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'center' 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
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
333 | static var sizeVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(sizeAt:))
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:332:16: warning: static property 'sizeHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
| |- warning: static property 'sizeHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sizeHorizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sizeHorizontal' 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
333 | static var sizeVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(sizeAt:))
334 | static var size = AnyAnchor<CGSize>(getter: { $0.size })//CGSize(width: CGRectAxis.horizontal.get(sizeAt: $0), height: CGRectAxis.vertical.get(sizeAt: $0)) })
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:333:16: warning: static property 'sizeVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
333 | static var sizeVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(sizeAt:))
| |- warning: static property 'sizeVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sizeVertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sizeVertical' 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
334 | static var size = AnyAnchor<CGSize>(getter: { $0.size })//CGSize(width: CGRectAxis.horizontal.get(sizeAt: $0), height: CGRectAxis.vertical.get(sizeAt: $0)) })
335 | }
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:334:16: warning: static property 'size' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
333 | static var sizeVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(sizeAt:))
334 | static var size = AnyAnchor<CGSize>(getter: { $0.size })//CGSize(width: CGRectAxis.horizontal.get(sizeAt: $0), height: CGRectAxis.vertical.get(sizeAt: $0)) })
| |- warning: static property 'size' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'size' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'size' 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
335 | }
336 |
[13/20] Compiling CGLayout backend.anchors.cglayout.swift
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:286:23: warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
284 | }
285 |
286 | public static var horizontal: CGRectAxis.Horizontal = Horizontal()
| |- warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'horizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'horizontal' 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
287 | public struct Horizontal: RectAxis {
288 | public var isHorizontal: Bool { return true }
/host/spi-builder-workspace/Sources/Classes/rtl.cglayout.swift:13:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public var isRTLMode: Bool = false
12 |
13 | public static var `default` = CGLConfiguration()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
14 | }
15 |
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:300:23: warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
298 | }
299 |
300 | public static var vertical: CGRectAxis.Vertical = Vertical()
| |- warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vertical' 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
301 | public struct Vertical: RectAxis {
302 | public var isHorizontal: Bool { return false }
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:267:23: warning: static property 'xy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
265 | public func offset(rect: CGRect, by value: CGFloat) -> CGRect { return base.offset(rect: rect, by: value) }
266 |
267 | public static var xy: CGRectAxis.XY = .init()
| |- warning: static property 'xy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'xy' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'xy' 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
268 | /// not completed
269 | public struct XY: RectAxis { // TODO:
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:325:16: warning: static property 'leadingHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
323 |
324 | struct _RectAnchor {
325 | static var leadingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(minOf:))
| |- warning: static property 'leadingHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leadingHorizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leadingHorizontal' 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
326 | static var trailingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(maxOf:))
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:326:16: warning: static property 'trailingHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
324 | struct _RectAnchor {
325 | static var leadingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(minOf:))
326 | static var trailingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(maxOf:))
| |- warning: static property 'trailingHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trailingHorizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trailingHorizontal' 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
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:327:16: warning: static property 'leadingVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
325 | static var leadingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(minOf:))
326 | static var trailingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(maxOf:))
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
| |- warning: static property 'leadingVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leadingVertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leadingVertical' 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
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:328:16: warning: static property 'trailingVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
326 | static var trailingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(maxOf:))
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
| |- warning: static property 'trailingVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trailingVertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trailingVertical' 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
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:329:16: warning: static property 'centerHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
| |- warning: static property 'centerHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'centerHorizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'centerHorizontal' 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
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:330:16: warning: static property 'centerVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
| |- warning: static property 'centerVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'centerVertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'centerVertical' 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
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:331:16: warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
| |- warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'center' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'center' 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
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
333 | static var sizeVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(sizeAt:))
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:332:16: warning: static property 'sizeHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
| |- warning: static property 'sizeHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sizeHorizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sizeHorizontal' 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
333 | static var sizeVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(sizeAt:))
334 | static var size = AnyAnchor<CGSize>(getter: { $0.size })//CGSize(width: CGRectAxis.horizontal.get(sizeAt: $0), height: CGRectAxis.vertical.get(sizeAt: $0)) })
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:333:16: warning: static property 'sizeVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
333 | static var sizeVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(sizeAt:))
| |- warning: static property 'sizeVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sizeVertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sizeVertical' 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
334 | static var size = AnyAnchor<CGSize>(getter: { $0.size })//CGSize(width: CGRectAxis.horizontal.get(sizeAt: $0), height: CGRectAxis.vertical.get(sizeAt: $0)) })
335 | }
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:334:16: warning: static property 'size' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
333 | static var sizeVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(sizeAt:))
334 | static var size = AnyAnchor<CGSize>(getter: { $0.size })//CGSize(width: CGRectAxis.horizontal.get(sizeAt: $0), height: CGRectAxis.vertical.get(sizeAt: $0)) })
| |- warning: static property 'size' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'size' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'size' 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
335 | }
336 |
[14/20] Compiling CGLayout layoutBlock.cglayout.swift
[15/20] Compiling CGLayout layoutConstraint.cglayout.swift
[16/20] Compiling CGLayout core.cglayout.swift
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:300:23: warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
298 | }
299 |
300 | public static var vertical: CGRectAxis.Vertical = Vertical()
| |- warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vertical' 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
301 | public struct Vertical: RectAxis {
302 | public var isHorizontal: Bool { return false }
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:27:23: warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 | }
27 | public static var center: RectAxisAnchor = Center()
| |- warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'center' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'center' 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
28 | struct Center: RectAxisAnchor {
29 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:286:23: warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
284 | }
285 |
286 | public static var horizontal: CGRectAxis.Horizontal = Horizontal()
| |- warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'horizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'horizontal' 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
287 | public struct Horizontal: RectAxis {
288 | public var isHorizontal: Bool { return true }
/host/spi-builder-workspace/Sources/Classes/rtl.cglayout.swift:13:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public var isRTLMode: Bool = false
12 |
13 | public static var `default` = CGLConfiguration()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
14 | }
15 |
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:21:23: warning: static property 'trailing' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | }
21 | public static var trailing: RectAxisAnchor = Trailing()
| |- warning: static property 'trailing' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trailing' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trailing' 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
22 | struct Trailing: RectAxisAnchor {
23 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:15:23: warning: static property 'leading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 | struct CGRectAxisAnchor {
15 | public static var leading: RectAxisAnchor = Leading()
| |- warning: static property 'leading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leading' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leading' 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
16 | struct Leading: RectAxisAnchor {
17 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
[17/20] Compiling CGLayout deprecated.cglayout.swift
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:300:23: warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
298 | }
299 |
300 | public static var vertical: CGRectAxis.Vertical = Vertical()
| |- warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vertical' 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
301 | public struct Vertical: RectAxis {
302 | public var isHorizontal: Bool { return false }
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:27:23: warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 | }
27 | public static var center: RectAxisAnchor = Center()
| |- warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'center' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'center' 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
28 | struct Center: RectAxisAnchor {
29 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:286:23: warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
284 | }
285 |
286 | public static var horizontal: CGRectAxis.Horizontal = Horizontal()
| |- warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'horizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'horizontal' 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
287 | public struct Horizontal: RectAxis {
288 | public var isHorizontal: Bool { return true }
/host/spi-builder-workspace/Sources/Classes/rtl.cglayout.swift:13:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public var isRTLMode: Bool = false
12 |
13 | public static var `default` = CGLConfiguration()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
14 | }
15 |
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:21:23: warning: static property 'trailing' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | }
21 | public static var trailing: RectAxisAnchor = Trailing()
| |- warning: static property 'trailing' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trailing' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trailing' 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
22 | struct Trailing: RectAxisAnchor {
23 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/host/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:15:23: warning: static property 'leading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 | struct CGRectAxisAnchor {
15 | public static var leading: RectAxisAnchor = Leading()
| |- warning: static property 'leading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leading' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leading' 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
16 | struct Leading: RectAxisAnchor {
17 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
[18/20] Compiling CGLayout common.cglayout.swift
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:123:1: warning: extension declares a conformance of imported type 'NSEdgeInsets' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
121 |
122 | #if os(macOS) || os(Linux)
123 | extension EdgeInsets: Equatable {
| |- warning: extension declares a conformance of imported type 'NSEdgeInsets' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
124 | public static func ==(lhs: EdgeInsets, rhs: EdgeInsets) -> Bool {
125 | return lhs.left == rhs.left && lhs.right == rhs.right
[19/20] Compiling CGLayout container.cglayout.swift
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:123:1: warning: extension declares a conformance of imported type 'NSEdgeInsets' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
121 |
122 | #if os(macOS) || os(Linux)
123 | extension EdgeInsets: Equatable {
| |- warning: extension declares a conformance of imported type 'NSEdgeInsets' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
124 | public static func ==(lhs: EdgeInsets, rhs: EdgeInsets) -> Bool {
125 | return lhs.left == rhs.left && lhs.right == rhs.right
[20/20] Compiling CGLayout coordinate.cglayout.swift
/host/spi-builder-workspace/Sources/Classes/common.cglayout.swift:123:1: warning: extension declares a conformance of imported type 'NSEdgeInsets' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
121 |
122 | #if os(macOS) || os(Linux)
123 | extension EdgeInsets: Equatable {
| |- warning: extension declares a conformance of imported type 'NSEdgeInsets' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
124 | public static func ==(lhs: EdgeInsets, rhs: EdgeInsets) -> Bool {
125 | return lhs.left == rhs.left && lhs.right == rhs.right
Build complete! (17.71s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "CGLayout",
"name" : "CGLayout",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "CGLayout",
"targets" : [
"CGLayout"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CGLayoutTests",
"module_type" : "SwiftTarget",
"name" : "CGLayoutTests",
"path" : "Tests/CGLayoutTests",
"sources" : [
"CGLayoutTests.swift",
"Tests.swift",
"XCTestManifests.swift",
"support_linux.tests.swift"
],
"target_dependencies" : [
"CGLayout"
],
"type" : "test"
},
{
"c99name" : "CGLayout",
"module_type" : "SwiftTarget",
"name" : "CGLayout",
"path" : "Sources/Classes",
"product_memberships" : [
"CGLayout"
],
"sources" : [
"common.cglayout.swift",
"container.cglayout.swift",
"coordinate.cglayout.swift",
"core.cglayout.swift",
"deprecated.cglayout.swift",
"evolution.cglayout/anchors.cglayout.swift",
"evolution.cglayout/backend.anchors.cglayout.swift",
"evolution.cglayout/system.cglayout.swift",
"evolution.cglayout/workspace.cglayout.swift",
"layoutBlock.cglayout.swift",
"layoutConstraint.cglayout.swift",
"layoutGuide.cglayout.swift",
"private.cglayout.swift",
"rtl.cglayout.swift",
"scroll.layoutGuide.cglayout.swift",
"stack.layoutGuide.cglayout.swift",
"support.cglayout.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:b1f5b321a5d74ef5eaf6f5f3afbfebaaa54c7954de6f859009c18a90e0e1c3b4
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.