Build Information
Successful build of SketchKit, reference 2.1.0 (9fc2dd
), with Swift 6.0 for macOS (SPM) on 26 Mar 2025 18:36:10 UTC.
Swift 6 data race errors: 10
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dogo/SketchKit.git
Reference: 2.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dogo/SketchKit
* tag 2.1.0 -> FETCH_HEAD
HEAD is now at 9fc2dd2 Fix compilation issues for tvOS
Cloned https://github.com/dogo/SketchKit.git
Revision (git rev-parse @):
9fc2dd2bf706e39f7241c00c1ffa69883d11a302
SUCCESS checkout https://github.com/dogo/SketchKit.git at 2.1.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "sketchkit",
"name": "SketchKit",
"url": "https://github.com/dogo/SketchKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SketchKit",
"dependencies": [
]
}
]
}
Fetching https://github.com/dogo/SketchKit.git
[10/987] Fetching sketchkit
Fetched https://github.com/dogo/SketchKit.git from cache (0.94s)
Creating working copy for https://github.com/dogo/SketchKit.git
Working copy of https://github.com/dogo/SketchKit.git resolved at 2.1.0 (9fc2dd2)
warning: '.resolve-product-dependencies': dependency 'sketchkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/dogo/SketchKit.git
https://github.com/dogo/SketchKit.git
{
"dependencies" : [
],
"manifest_display_name" : "SketchKit",
"name" : "SketchKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "9.0"
},
{
"name" : "macos",
"version" : "10.11"
}
],
"products" : [
{
"name" : "SketchKit",
"targets" : [
"SketchKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SketchKitTests",
"module_type" : "SwiftTarget",
"name" : "SketchKitTests",
"path" : "Tests/SketchKitTests",
"sources" : [
"Addons/Anchor+AddonsTests.swift",
"Addons/UILayoutGuide+AddonsTests.swift",
"Helpers/Mirror/KeyboardLayoutGuide+Mirror.swift",
"Helpers/TestExtensions/Mirror+Testable.swift",
"KeyboardLayoutGuideTests.swift",
"UILayoutGuide/UILayoutGuide+BottomAnchorTests.swift",
"UILayoutGuide/UILayoutGuide+CenterAnchorTests.swift",
"UILayoutGuide/UILayoutGuide+HeightAnchorTests.swift",
"UILayoutGuide/UILayoutGuide+LeadingAnchorTests.swift",
"UILayoutGuide/UILayoutGuide+LeftAnchorTests.swift",
"UILayoutGuide/UILayoutGuide+RightAnchorTests.swift",
"UILayoutGuide/UILayoutGuide+TopAnchorTests.swift",
"UILayoutGuide/UILayoutGuide+TrailingAnchorTests.swift",
"UILayoutGuide/UILayoutGuide+WidthAnchorTests.swift",
"UIView/LayoutGuide/BottomAnchorTests.swift",
"UIView/LayoutGuide/CenterAnchorTests.swift",
"UIView/LayoutGuide/HeightAnchorTests.swift",
"UIView/LayoutGuide/LeadingAnchorTests.swift",
"UIView/LayoutGuide/LeftAnchorTests.swift",
"UIView/LayoutGuide/RightAnchorTests.swift",
"UIView/LayoutGuide/TopAnchorTests.swift",
"UIView/LayoutGuide/TrailingAnchorTests.swift",
"UIView/LayoutGuide/WidthAnchorTests.swift",
"UIView/SafeArea/SafeBottomAnchorTests.swift",
"UIView/SafeArea/SafeCenterAnchorTests.swift",
"UIView/SafeArea/SafeHeightAnchorTests.swift",
"UIView/SafeArea/SafeLeadingAnchorTests.swift",
"UIView/SafeArea/SafeLeftAnchorTests.swift",
"UIView/SafeArea/SafeRightAnchorTests.swift",
"UIView/SafeArea/SafeTopAnchorTests.swift",
"UIView/SafeArea/SafeTrailingAnchorTests.swift",
"UIView/SafeArea/SafeWidthAnchorTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SketchKit"
],
"type" : "test"
},
{
"c99name" : "SketchKit",
"module_type" : "SwiftTarget",
"name" : "SketchKit",
"path" : "Sources",
"product_memberships" : [
"SketchKit"
],
"sources" : [
"SketchKit/Constrainable.swift",
"SketchKit/Extensions/Anchors+SafeArea.swift",
"SketchKit/Extensions/Constrainable+Anchors.swift",
"SketchKit/KeyboardLayoutGuide.swift",
"SketchKit/SketchKitDSL.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
[3/8] Compiling SketchKit SketchKitDSL.swift
/Users/admin/builder/spi-builder-workspace/Sources/SketchKit/SketchKitDSL.swift:54:39: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
50 | /// Apply all the constraints to a UIView or UILayoutGuide using SketchKitDSL
51 | /// - Parameter block: Block with all constraints to be applied to the current layoutGuide.
52 | public func applyConstraint(_ block: ((Constrainable) -> Void)) {
| `- note: add '@MainActor' to make instance method 'applyConstraint' part of global actor 'MainActor'
53 | if constrainable is View {
54 | (constrainable as? View)?.translatesAutoresizingMaskIntoConstraints = false
| `- warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
55 | }
56 | block(self.constrainable)
AppKit.NSView:3:25: note: mutation of this property is only permitted within the actor
1 | extension NSView {
2 | @available(macOS 10.7, *)
3 | @MainActor open var translatesAutoresizingMaskIntoConstraints: Bool { get set }
| `- note: mutation of this property is only permitted within the actor
4 | @available(macOS 10.7, *)
5 | open class var requiresConstraintBasedLayout: Bool { get }
[4/8] Compiling SketchKit KeyboardLayoutGuide.swift
[5/8] Compiling SketchKit Anchors+SafeArea.swift
[6/8] Emitting module SketchKit
AppKit.NSView:11:25: warning: main actor-isolated property 'topAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
9 | open var rightAnchor: NSLayoutXAxisAnchor { get }
10 | @available(macOS 10.11, *)
11 | @MainActor open var topAnchor: NSLayoutYAxisAnchor { get }
| `- warning: main actor-isolated property 'topAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
12 | @available(macOS 10.11, *)
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/SketchKit/Constrainable.swift:50:17: note: add '@preconcurrency' to the 'Constrainable' conformance to defer isolation checking to run time
17 |
18 | /// A layout anchor abstraction representing the top edge of the view or layout guide frame.
19 | var topAnchor: NSLayoutYAxisAnchor { get }
| `- note: 'topAnchor' declared here
20 |
21 | /// A layout anchor abstraction representing the bottom edge of the view or layout guide frame.
:
48 |
49 | /// VIew is an abstraction of Apple visual layout system
50 | extension View: Constrainable {
| `- note: add '@preconcurrency' to the 'Constrainable' conformance to defer isolation checking to run time
51 |
52 | /// Property to access the SketchKitDSL and be able to applyConstraints
AppKit.NSView:13:14: warning: main actor-isolated property 'bottomAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
11 | @MainActor open var topAnchor: NSLayoutYAxisAnchor { get }
12 | @available(macOS 10.11, *)
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- warning: main actor-isolated property 'bottomAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
14 | @available(macOS 10.11, *)
15 | open var widthAnchor: NSLayoutDimension { get }
/Users/admin/builder/spi-builder-workspace/Sources/SketchKit/Constrainable.swift:22:9: note: 'bottomAnchor' declared here
20 |
21 | /// A layout anchor abstraction representing the bottom edge of the view or layout guide frame.
22 | var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- note: 'bottomAnchor' declared here
23 |
24 | /// A layout anchor abstraction representing the leading edge of the view or layout guide frame.
AppKit.NSView:3:14: warning: main actor-isolated property 'leadingAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | open var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'leadingAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
4 | @available(macOS 10.11, *)
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/SketchKit/Constrainable.swift:25:9: note: 'leadingAnchor' declared here
23 |
24 | /// A layout anchor abstraction representing the leading edge of the view or layout guide frame.
25 | var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'leadingAnchor' declared here
26 |
27 | /// A layout anchor abstraction representing the left edge of the view or layout guide frame.
AppKit.NSView:7:14: warning: main actor-isolated property 'leftAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
6 | @available(macOS 10.11, *)
7 | open var leftAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'leftAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
8 | @available(macOS 10.11, *)
9 | open var rightAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/SketchKit/Constrainable.swift:28:9: note: 'leftAnchor' declared here
26 |
27 | /// A layout anchor abstraction representing the left edge of the view or layout guide frame.
28 | var leftAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'leftAnchor' declared here
29 |
30 | /// A layout anchor abstraction representing the trailing edge of the view or layout guide frame.
AppKit.NSView:5:14: warning: main actor-isolated property 'trailingAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
3 | open var leadingAnchor: NSLayoutXAxisAnchor { get }
4 | @available(macOS 10.11, *)
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'trailingAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
6 | @available(macOS 10.11, *)
7 | open var leftAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/SketchKit/Constrainable.swift:31:9: note: 'trailingAnchor' declared here
29 |
30 | /// A layout anchor abstraction representing the trailing edge of the view or layout guide frame.
31 | var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'trailingAnchor' declared here
32 |
33 | /// A layout anchor abstraction representing the right edge of the view or layout guide frame.
AppKit.NSView:9:14: warning: main actor-isolated property 'rightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
7 | open var leftAnchor: NSLayoutXAxisAnchor { get }
8 | @available(macOS 10.11, *)
9 | open var rightAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'rightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
10 | @available(macOS 10.11, *)
11 | @MainActor open var topAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/SketchKit/Constrainable.swift:34:9: note: 'rightAnchor' declared here
32 |
33 | /// A layout anchor abstraction representing the right edge of the view or layout guide frame.
34 | var rightAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'rightAnchor' declared here
35 |
36 | /// A layout anchor abstraction representing the height of the view or layout guide frame.
AppKit.NSView:17:14: warning: main actor-isolated property 'heightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
15 | open var widthAnchor: NSLayoutDimension { get }
16 | @available(macOS 10.11, *)
17 | open var heightAnchor: NSLayoutDimension { get }
| `- warning: main actor-isolated property 'heightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
18 | @available(macOS 10.11, *)
19 | open var centerXAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/SketchKit/Constrainable.swift:37:9: note: 'heightAnchor' declared here
35 |
36 | /// A layout anchor abstraction representing the height of the view or layout guide frame.
37 | var heightAnchor: NSLayoutDimension { get }
| `- note: 'heightAnchor' declared here
38 |
39 | /// A layout anchor abstraction representing the width of the view or layout guide frame.
AppKit.NSView:15:14: warning: main actor-isolated property 'widthAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
14 | @available(macOS 10.11, *)
15 | open var widthAnchor: NSLayoutDimension { get }
| `- warning: main actor-isolated property 'widthAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
16 | @available(macOS 10.11, *)
17 | open var heightAnchor: NSLayoutDimension { get }
/Users/admin/builder/spi-builder-workspace/Sources/SketchKit/Constrainable.swift:40:9: note: 'widthAnchor' declared here
38 |
39 | /// A layout anchor abstraction representing the width of the view or layout guide frame.
40 | var widthAnchor: NSLayoutDimension { get }
| `- note: 'widthAnchor' declared here
41 |
42 | /// A layout anchor abstraction representing the horizontal center of the view or layout guide frame.
AppKit.NSView:19:14: warning: main actor-isolated property 'centerXAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
17 | open var heightAnchor: NSLayoutDimension { get }
18 | @available(macOS 10.11, *)
19 | open var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'centerXAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
20 | @available(macOS 10.11, *)
21 | open var centerYAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/SketchKit/Constrainable.swift:43:9: note: 'centerXAnchor' declared here
41 |
42 | /// A layout anchor abstraction representing the horizontal center of the view or layout guide frame.
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'centerXAnchor' declared here
44 |
45 | /// A layout anchor abstraction representing the vertical center of the view or layout guide frame.
AppKit.NSView:21:14: warning: main actor-isolated property 'centerYAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
19 | open var centerXAnchor: NSLayoutXAxisAnchor { get }
20 | @available(macOS 10.11, *)
21 | open var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- warning: main actor-isolated property 'centerYAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
22 | @available(macOS 10.11, *)
23 | open var firstBaselineAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/SketchKit/Constrainable.swift:46:9: note: 'centerYAnchor' declared here
44 |
45 | /// A layout anchor abstraction representing the vertical center of the view or layout guide frame.
46 | var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- note: 'centerYAnchor' declared here
47 | }
48 |
[7/8] Compiling SketchKit Constrainable.swift
AppKit.NSView:11:25: warning: main actor-isolated property 'topAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
9 | open var rightAnchor: NSLayoutXAxisAnchor { get }
10 | @available(macOS 10.11, *)
11 | @MainActor open var topAnchor: NSLayoutYAxisAnchor { get }
| `- warning: main actor-isolated property 'topAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
12 | @available(macOS 10.11, *)
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/SketchKit/Constrainable.swift:50:17: note: add '@preconcurrency' to the 'Constrainable' conformance to defer isolation checking to run time
17 |
18 | /// A layout anchor abstraction representing the top edge of the view or layout guide frame.
19 | var topAnchor: NSLayoutYAxisAnchor { get }
| `- note: 'topAnchor' declared here
20 |
21 | /// A layout anchor abstraction representing the bottom edge of the view or layout guide frame.
:
48 |
49 | /// VIew is an abstraction of Apple visual layout system
50 | extension View: Constrainable {
| `- note: add '@preconcurrency' to the 'Constrainable' conformance to defer isolation checking to run time
51 |
52 | /// Property to access the SketchKitDSL and be able to applyConstraints
AppKit.NSView:13:14: warning: main actor-isolated property 'bottomAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
11 | @MainActor open var topAnchor: NSLayoutYAxisAnchor { get }
12 | @available(macOS 10.11, *)
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- warning: main actor-isolated property 'bottomAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
14 | @available(macOS 10.11, *)
15 | open var widthAnchor: NSLayoutDimension { get }
/Users/admin/builder/spi-builder-workspace/Sources/SketchKit/Constrainable.swift:22:9: note: 'bottomAnchor' declared here
20 |
21 | /// A layout anchor abstraction representing the bottom edge of the view or layout guide frame.
22 | var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- note: 'bottomAnchor' declared here
23 |
24 | /// A layout anchor abstraction representing the leading edge of the view or layout guide frame.
AppKit.NSView:3:14: warning: main actor-isolated property 'leadingAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | open var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'leadingAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
4 | @available(macOS 10.11, *)
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/SketchKit/Constrainable.swift:25:9: note: 'leadingAnchor' declared here
23 |
24 | /// A layout anchor abstraction representing the leading edge of the view or layout guide frame.
25 | var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'leadingAnchor' declared here
26 |
27 | /// A layout anchor abstraction representing the left edge of the view or layout guide frame.
AppKit.NSView:7:14: warning: main actor-isolated property 'leftAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
6 | @available(macOS 10.11, *)
7 | open var leftAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'leftAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
8 | @available(macOS 10.11, *)
9 | open var rightAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/SketchKit/Constrainable.swift:28:9: note: 'leftAnchor' declared here
26 |
27 | /// A layout anchor abstraction representing the left edge of the view or layout guide frame.
28 | var leftAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'leftAnchor' declared here
29 |
30 | /// A layout anchor abstraction representing the trailing edge of the view or layout guide frame.
AppKit.NSView:5:14: warning: main actor-isolated property 'trailingAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
3 | open var leadingAnchor: NSLayoutXAxisAnchor { get }
4 | @available(macOS 10.11, *)
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'trailingAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
6 | @available(macOS 10.11, *)
7 | open var leftAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/SketchKit/Constrainable.swift:31:9: note: 'trailingAnchor' declared here
29 |
30 | /// A layout anchor abstraction representing the trailing edge of the view or layout guide frame.
31 | var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'trailingAnchor' declared here
32 |
33 | /// A layout anchor abstraction representing the right edge of the view or layout guide frame.
AppKit.NSView:9:14: warning: main actor-isolated property 'rightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
7 | open var leftAnchor: NSLayoutXAxisAnchor { get }
8 | @available(macOS 10.11, *)
9 | open var rightAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'rightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
10 | @available(macOS 10.11, *)
11 | @MainActor open var topAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/SketchKit/Constrainable.swift:34:9: note: 'rightAnchor' declared here
32 |
33 | /// A layout anchor abstraction representing the right edge of the view or layout guide frame.
34 | var rightAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'rightAnchor' declared here
35 |
36 | /// A layout anchor abstraction representing the height of the view or layout guide frame.
AppKit.NSView:17:14: warning: main actor-isolated property 'heightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
15 | open var widthAnchor: NSLayoutDimension { get }
16 | @available(macOS 10.11, *)
17 | open var heightAnchor: NSLayoutDimension { get }
| `- warning: main actor-isolated property 'heightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
18 | @available(macOS 10.11, *)
19 | open var centerXAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/SketchKit/Constrainable.swift:37:9: note: 'heightAnchor' declared here
35 |
36 | /// A layout anchor abstraction representing the height of the view or layout guide frame.
37 | var heightAnchor: NSLayoutDimension { get }
| `- note: 'heightAnchor' declared here
38 |
39 | /// A layout anchor abstraction representing the width of the view or layout guide frame.
AppKit.NSView:15:14: warning: main actor-isolated property 'widthAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
14 | @available(macOS 10.11, *)
15 | open var widthAnchor: NSLayoutDimension { get }
| `- warning: main actor-isolated property 'widthAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
16 | @available(macOS 10.11, *)
17 | open var heightAnchor: NSLayoutDimension { get }
/Users/admin/builder/spi-builder-workspace/Sources/SketchKit/Constrainable.swift:40:9: note: 'widthAnchor' declared here
38 |
39 | /// A layout anchor abstraction representing the width of the view or layout guide frame.
40 | var widthAnchor: NSLayoutDimension { get }
| `- note: 'widthAnchor' declared here
41 |
42 | /// A layout anchor abstraction representing the horizontal center of the view or layout guide frame.
AppKit.NSView:19:14: warning: main actor-isolated property 'centerXAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
17 | open var heightAnchor: NSLayoutDimension { get }
18 | @available(macOS 10.11, *)
19 | open var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'centerXAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
20 | @available(macOS 10.11, *)
21 | open var centerYAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/SketchKit/Constrainable.swift:43:9: note: 'centerXAnchor' declared here
41 |
42 | /// A layout anchor abstraction representing the horizontal center of the view or layout guide frame.
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'centerXAnchor' declared here
44 |
45 | /// A layout anchor abstraction representing the vertical center of the view or layout guide frame.
AppKit.NSView:21:14: warning: main actor-isolated property 'centerYAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
19 | open var centerXAnchor: NSLayoutXAxisAnchor { get }
20 | @available(macOS 10.11, *)
21 | open var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- warning: main actor-isolated property 'centerYAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
22 | @available(macOS 10.11, *)
23 | open var firstBaselineAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/SketchKit/Constrainable.swift:46:9: note: 'centerYAnchor' declared here
44 |
45 | /// A layout anchor abstraction representing the vertical center of the view or layout guide frame.
46 | var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- note: 'centerYAnchor' declared here
47 | }
48 |
[8/8] Compiling SketchKit Constrainable+Anchors.swift
/Users/admin/builder/spi-builder-workspace/Sources/SketchKit/Extensions/Constrainable+Anchors.swift:528:37: warning: main actor-isolated property 'topAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
524 | /// - Returns: All the activated and applied constraints to the current View with
525 | @discardableResult
526 | func inset(to view: View, withInset inset: EdgeInsets? = nil) -> [NSLayoutConstraint] {
| `- note: add '@MainActor' to make instance method 'inset(to:withInset:)' part of global actor 'MainActor'
527 | return [
528 | topAnchor(equalTo: view.topAnchor, constant: inset?.top ?? 0),
| `- warning: main actor-isolated property 'topAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
529 | bottomAnchor(equalTo: view.bottomAnchor, constant: -(inset?.bottom ?? 0)),
530 | leadingAnchor(equalTo: view.leadingAnchor, constant: inset?.left ?? 0),
AppKit.NSView:11:25: note: property declared here
9 | open var rightAnchor: NSLayoutXAxisAnchor { get }
10 | @available(macOS 10.11, *)
11 | @MainActor open var topAnchor: NSLayoutYAxisAnchor { get }
| `- note: property declared here
12 | @available(macOS 10.11, *)
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/SketchKit/Extensions/Constrainable+Anchors.swift:529:40: warning: main actor-isolated property 'bottomAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
524 | /// - Returns: All the activated and applied constraints to the current View with
525 | @discardableResult
526 | func inset(to view: View, withInset inset: EdgeInsets? = nil) -> [NSLayoutConstraint] {
| `- note: add '@MainActor' to make instance method 'inset(to:withInset:)' part of global actor 'MainActor'
527 | return [
528 | topAnchor(equalTo: view.topAnchor, constant: inset?.top ?? 0),
529 | bottomAnchor(equalTo: view.bottomAnchor, constant: -(inset?.bottom ?? 0)),
| `- warning: main actor-isolated property 'bottomAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
530 | leadingAnchor(equalTo: view.leadingAnchor, constant: inset?.left ?? 0),
531 | trailingAnchor(equalTo: view.trailingAnchor, constant: -(inset?.right ?? 0))
AppKit.NSView:13:14: note: property declared here
11 | @MainActor open var topAnchor: NSLayoutYAxisAnchor { get }
12 | @available(macOS 10.11, *)
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- note: property declared here
14 | @available(macOS 10.11, *)
15 | open var widthAnchor: NSLayoutDimension { get }
/Users/admin/builder/spi-builder-workspace/Sources/SketchKit/Extensions/Constrainable+Anchors.swift:530:41: warning: main actor-isolated property 'leadingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
524 | /// - Returns: All the activated and applied constraints to the current View with
525 | @discardableResult
526 | func inset(to view: View, withInset inset: EdgeInsets? = nil) -> [NSLayoutConstraint] {
| `- note: add '@MainActor' to make instance method 'inset(to:withInset:)' part of global actor 'MainActor'
527 | return [
528 | topAnchor(equalTo: view.topAnchor, constant: inset?.top ?? 0),
529 | bottomAnchor(equalTo: view.bottomAnchor, constant: -(inset?.bottom ?? 0)),
530 | leadingAnchor(equalTo: view.leadingAnchor, constant: inset?.left ?? 0),
| `- warning: main actor-isolated property 'leadingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
531 | trailingAnchor(equalTo: view.trailingAnchor, constant: -(inset?.right ?? 0))
532 | ]
AppKit.NSView:3:14: note: property declared here
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | open var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- note: property declared here
4 | @available(macOS 10.11, *)
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/SketchKit/Extensions/Constrainable+Anchors.swift:531:42: warning: main actor-isolated property 'trailingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
524 | /// - Returns: All the activated and applied constraints to the current View with
525 | @discardableResult
526 | func inset(to view: View, withInset inset: EdgeInsets? = nil) -> [NSLayoutConstraint] {
| `- note: add '@MainActor' to make instance method 'inset(to:withInset:)' part of global actor 'MainActor'
527 | return [
528 | topAnchor(equalTo: view.topAnchor, constant: inset?.top ?? 0),
529 | bottomAnchor(equalTo: view.bottomAnchor, constant: -(inset?.bottom ?? 0)),
530 | leadingAnchor(equalTo: view.leadingAnchor, constant: inset?.left ?? 0),
531 | trailingAnchor(equalTo: view.trailingAnchor, constant: -(inset?.right ?? 0))
| `- warning: main actor-isolated property 'trailingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
532 | ]
533 | }
AppKit.NSView:5:14: note: property declared here
3 | open var leadingAnchor: NSLayoutXAxisAnchor { get }
4 | @available(macOS 10.11, *)
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- note: property declared here
6 | @available(macOS 10.11, *)
7 | open var leftAnchor: NSLayoutXAxisAnchor { get }
Build complete! (9.99s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SketchKit",
"name" : "SketchKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "9.0"
},
{
"name" : "macos",
"version" : "10.11"
}
],
"products" : [
{
"name" : "SketchKit",
"targets" : [
"SketchKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SketchKitTests",
"module_type" : "SwiftTarget",
"name" : "SketchKitTests",
"path" : "Tests/SketchKitTests",
"sources" : [
"Addons/Anchor+AddonsTests.swift",
"Addons/UILayoutGuide+AddonsTests.swift",
"Helpers/Mirror/KeyboardLayoutGuide+Mirror.swift",
"Helpers/TestExtensions/Mirror+Testable.swift",
"KeyboardLayoutGuideTests.swift",
"UILayoutGuide/UILayoutGuide+BottomAnchorTests.swift",
"UILayoutGuide/UILayoutGuide+CenterAnchorTests.swift",
"UILayoutGuide/UILayoutGuide+HeightAnchorTests.swift",
"UILayoutGuide/UILayoutGuide+LeadingAnchorTests.swift",
"UILayoutGuide/UILayoutGuide+LeftAnchorTests.swift",
"UILayoutGuide/UILayoutGuide+RightAnchorTests.swift",
"UILayoutGuide/UILayoutGuide+TopAnchorTests.swift",
"UILayoutGuide/UILayoutGuide+TrailingAnchorTests.swift",
"UILayoutGuide/UILayoutGuide+WidthAnchorTests.swift",
"UIView/LayoutGuide/BottomAnchorTests.swift",
"UIView/LayoutGuide/CenterAnchorTests.swift",
"UIView/LayoutGuide/HeightAnchorTests.swift",
"UIView/LayoutGuide/LeadingAnchorTests.swift",
"UIView/LayoutGuide/LeftAnchorTests.swift",
"UIView/LayoutGuide/RightAnchorTests.swift",
"UIView/LayoutGuide/TopAnchorTests.swift",
"UIView/LayoutGuide/TrailingAnchorTests.swift",
"UIView/LayoutGuide/WidthAnchorTests.swift",
"UIView/SafeArea/SafeBottomAnchorTests.swift",
"UIView/SafeArea/SafeCenterAnchorTests.swift",
"UIView/SafeArea/SafeHeightAnchorTests.swift",
"UIView/SafeArea/SafeLeadingAnchorTests.swift",
"UIView/SafeArea/SafeLeftAnchorTests.swift",
"UIView/SafeArea/SafeRightAnchorTests.swift",
"UIView/SafeArea/SafeTopAnchorTests.swift",
"UIView/SafeArea/SafeTrailingAnchorTests.swift",
"UIView/SafeArea/SafeWidthAnchorTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SketchKit"
],
"type" : "test"
},
{
"c99name" : "SketchKit",
"module_type" : "SwiftTarget",
"name" : "SketchKit",
"path" : "Sources",
"product_memberships" : [
"SketchKit"
],
"sources" : [
"SketchKit/Constrainable.swift",
"SketchKit/Extensions/Anchors+SafeArea.swift",
"SketchKit/Extensions/Constrainable+Anchors.swift",
"SketchKit/KeyboardLayoutGuide.swift",
"SketchKit/SketchKitDSL.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.