Build Information
Successful build of QuickLayout with Swift 6.0 (beta) for macOS (SPM).
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/huri000/QuickLayout.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/huri000/QuickLayout
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at e290c61 Release 3.0.2 (#41)
Cloned https://github.com/huri000/QuickLayout.git
Revision (git rev-parse @):
e290c6143ff08fc3b84ecdbe02aed9826191f1b3
SUCCESS checkout https://github.com/huri000/QuickLayout.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/huri000/QuickLayout.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/8] Compiling QuickLayout QLCompatibility.swift
[4/8] Compiling QuickLayout UIView+QuickLayout.swift
[5/8] Emitting module QuickLayout
[6/8] Compiling QuickLayout UIView+QLContentWrap.swift
[7/8] Compiling QuickLayout UIViewArray+QuickLayout.swift
/Users/admin/builder/spi-builder-workspace/QuickLayout/UIViewArray+QuickLayout.swift:30:35: warning: call to main actor-isolated instance method 'set(_:of:relation:ratio:priority:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
24 | */
25 | @discardableResult
26 | func set(_ edge: QLAttribute, of value: CGFloat,
| `- note: add '@MainActor' to make instance method 'set(_:of:priority:)' part of global actor 'MainActor'
27 | priority: QLPriority = .required) -> [NSLayoutConstraint] {
28 | var constraints: [NSLayoutConstraint] = []
29 | for view in self {
30 | let constraint = view.set(edge, of: value)
| `- warning: call to main actor-isolated instance method 'set(_:of:relation:ratio:priority:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 | constraints.append(constraint)
32 | }
/Users/admin/builder/spi-builder-workspace/QuickLayout/UIView+QuickLayout.swift:28:10: note: calls to instance method 'set(_:of:relation:ratio:priority:)' from outside of its actor context are implicitly asynchronous
26 | */
27 | @discardableResult
28 | func set(_ edge: QLAttribute, of value: CGFloat, relation: QLRelation = .equal,
| `- note: calls to instance method 'set(_:of:relation:ratio:priority:)' from outside of its actor context are implicitly asynchronous
29 | ratio: CGFloat = 1.0, priority: QLPriority = .required) -> NSLayoutConstraint {
30 | if translatesAutoresizingMaskIntoConstraints {
/Users/admin/builder/spi-builder-workspace/QuickLayout/UIViewArray+QuickLayout.swift:48:36: warning: call to main actor-isolated instance method 'set(_:to:relation:ratio:priority:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | */
43 | @discardableResult
44 | func set(_ edges: QLAttribute..., of value: CGFloat,
| `- note: add '@MainActor' to make instance method 'set(_:of:priority:)' part of global actor 'MainActor'
45 | priority: QLPriority = .required) -> [QLMultipleConstraints] {
46 | var constraintsArray: [QLMultipleConstraints] = []
47 | for view in self {
48 | let constraints = view.set(edges, to: value, priority: priority)
| `- warning: call to main actor-isolated instance method 'set(_:to:relation:ratio:priority:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
49 | constraintsArray.append(constraints)
50 | }
/Users/admin/builder/spi-builder-workspace/QuickLayout/UIView+QuickLayout.swift:55:10: note: calls to instance method 'set(_:to:relation:ratio:priority:)' from outside of its actor context are implicitly asynchronous
53 | /** **PRIVATELY USED** AS A REPLACEMENT for the variadic version for the method*/
54 | @discardableResult
55 | func set(_ edges: [QLAttribute], to value: CGFloat, relation: QLRelation = .equal,
| `- note: calls to instance method 'set(_:to:relation:ratio:priority:)' from outside of its actor context are implicitly asynchronous
56 | ratio: CGFloat = 1.0, priority: QLPriority = .required) -> QLMultipleConstraints {
57 | var constraints: QLMultipleConstraints = [:]
/Users/admin/builder/spi-builder-workspace/QuickLayout/UIViewArray+QuickLayout.swift:71:37: warning: call to main actor-isolated instance method 'layoutToSuperview(_:relation:ratio:offset:priority:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
60 | */
61 | @discardableResult
62 | func spread(_ axis: QLAxis, stretchEdgesToSuperview: Bool = false, offset: CGFloat = 0,
| `- note: add '@MainActor' to make instance method 'spread(_:stretchEdgesToSuperview:offset:priority:)' part of global actor 'MainActor'
63 | priority: QLPriority = .required) -> [NSLayoutConstraint] {
64 | guard isValidForQuickLayout else {
:
69 |
70 | if stretchEdgesToSuperview {
71 | let constraint = first!.layoutToSuperview(attributes.first, offset: offset)!
| `- warning: call to main actor-isolated instance method 'layoutToSuperview(_:relation:ratio:offset:priority:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
72 | constraints.append(constraint)
73 | }
/Users/admin/builder/spi-builder-workspace/QuickLayout/UIView+QuickLayout.swift:141:10: note: calls to instance method 'layoutToSuperview(_:relation:ratio:offset:priority:)' from outside of its actor context are implicitly asynchronous
139 | */
140 | @discardableResult
141 | func layoutToSuperview(_ edge: QLAttribute, relation: QLRelation = .equal,
| `- note: calls to instance method 'layoutToSuperview(_:relation:ratio:offset:priority:)' from outside of its actor context are implicitly asynchronous
142 | ratio: CGFloat = 1, offset: CGFloat = 0,
143 | priority: QLPriority = .required) -> NSLayoutConstraint? {
/Users/admin/builder/spi-builder-workspace/QuickLayout/UIViewArray+QuickLayout.swift:80:35: warning: call to main actor-isolated instance method 'layout(_:to:of:relation:ratio:offset:priority:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
60 | */
61 | @discardableResult
62 | func spread(_ axis: QLAxis, stretchEdgesToSuperview: Bool = false, offset: CGFloat = 0,
| `- note: add '@MainActor' to make instance method 'spread(_:stretchEdgesToSuperview:offset:priority:)' part of global actor 'MainActor'
63 | priority: QLPriority = .required) -> [NSLayoutConstraint] {
64 | guard isValidForQuickLayout else {
:
78 | }
79 | let previousView = self[index - 1]
80 | let constraint = view.layout(attributes.first, to: attributes.second, of: previousView, offset: offset, priority: priority)!
| `- warning: call to main actor-isolated instance method 'layout(_:to:of:relation:ratio:offset:priority:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
81 | constraints.append(constraint)
82 | }
/Users/admin/builder/spi-builder-workspace/QuickLayout/UIView+QuickLayout.swift:82:10: note: calls to instance method 'layout(_:to:of:relation:ratio:offset:priority:)' from outside of its actor context are implicitly asynchronous
80 | */
81 | @discardableResult
82 | func layout(_ edge: QLAttribute? = nil, to otherEdge: QLAttribute, of view: QLView,
| `- note: calls to instance method 'layout(_:to:of:relation:ratio:offset:priority:)' from outside of its actor context are implicitly asynchronous
83 | relation: QLRelation = .equal, ratio: CGFloat = 1.0, offset: CGFloat = 0,
84 | priority: QLPriority = .required) -> NSLayoutConstraint? {
/Users/admin/builder/spi-builder-workspace/QuickLayout/UIViewArray+QuickLayout.swift:85:36: warning: call to main actor-isolated instance method 'layoutToSuperview(_:relation:ratio:offset:priority:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
60 | */
61 | @discardableResult
62 | func spread(_ axis: QLAxis, stretchEdgesToSuperview: Bool = false, offset: CGFloat = 0,
| `- note: add '@MainActor' to make instance method 'spread(_:stretchEdgesToSuperview:offset:priority:)' part of global actor 'MainActor'
63 | priority: QLPriority = .required) -> [NSLayoutConstraint] {
64 | guard isValidForQuickLayout else {
:
83 |
84 | if stretchEdgesToSuperview {
85 | let constraint = last!.layoutToSuperview(attributes.second, offset: -offset)!
| `- warning: call to main actor-isolated instance method 'layoutToSuperview(_:relation:ratio:offset:priority:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
86 | constraints.append(constraint)
87 | }
/Users/admin/builder/spi-builder-workspace/QuickLayout/UIView+QuickLayout.swift:141:10: note: calls to instance method 'layoutToSuperview(_:relation:ratio:offset:priority:)' from outside of its actor context are implicitly asynchronous
139 | */
140 | @discardableResult
141 | func layoutToSuperview(_ edge: QLAttribute, relation: QLRelation = .equal,
| `- note: calls to instance method 'layoutToSuperview(_:relation:ratio:offset:priority:)' from outside of its actor context are implicitly asynchronous
142 | ratio: CGFloat = 1, offset: CGFloat = 0,
143 | priority: QLPriority = .required) -> NSLayoutConstraint? {
/Users/admin/builder/spi-builder-workspace/QuickLayout/UIViewArray+QuickLayout.swift:137:44: warning: main actor-isolated property 'superview' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
130 | */
131 | @discardableResult
132 | func layoutToSuperview(_ edge: QLAttribute, ratio: CGFloat = 1, offset: CGFloat = 0,
| `- note: add '@MainActor' to make instance method 'layoutToSuperview(_:ratio:offset:priority:)' part of global actor 'MainActor'
133 | priority: QLPriority = .required) -> [NSLayoutConstraint] {
134 | guard isValidForQuickLayout else {
135 | return []
136 | }
137 | return layout(to: edge, of: first!.superview!, ratio: ratio, offset: offset, priority: priority)
| `- warning: main actor-isolated property 'superview' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
138 | }
139 |
AppKit.NSView:5:41: note: property declared here
3 | public init?(coder: NSCoder)
4 | unowned(unsafe) open var window: NSWindow? { get }
5 | @MainActor unowned(unsafe) open var superview: NSView? { get }
| `- note: property declared here
6 | open var subviews: [NSView] { get set }
7 | open func isDescendant(of view: NSView) -> Bool
/Users/admin/builder/spi-builder-workspace/QuickLayout/UIViewArray+QuickLayout.swift:167:35: warning: call to main actor-isolated instance method 'layout(_:to:of:relation:ratio:offset:priority:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
149 | */
150 | @discardableResult
151 | func layout(_ firstEdge: QLAttribute? = nil, to anchorEdge: QLAttribute,
| `- note: add '@MainActor' to make instance method 'layout(_:to:of:ratio:offset:priority:)' part of global actor 'MainActor'
152 | of anchorView: QLView, ratio: CGFloat = 1, offset: CGFloat = 0,
153 | priority: QLPriority = .required) -> [NSLayoutConstraint] {
:
165 | var result: [NSLayoutConstraint] = []
166 | for view in self {
167 | let constraint = view.layout(edge, to: anchorEdge, of: anchorView, ratio: ratio, offset: offset, priority: priority)!
| `- warning: call to main actor-isolated instance method 'layout(_:to:of:relation:ratio:offset:priority:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
168 | result.append(constraint)
169 | }
/Users/admin/builder/spi-builder-workspace/QuickLayout/UIView+QuickLayout.swift:82:10: note: calls to instance method 'layout(_:to:of:relation:ratio:offset:priority:)' from outside of its actor context are implicitly asynchronous
80 | */
81 | @discardableResult
82 | func layout(_ edge: QLAttribute? = nil, to otherEdge: QLAttribute, of view: QLView,
| `- note: calls to instance method 'layout(_:to:of:relation:ratio:offset:priority:)' from outside of its actor context are implicitly asynchronous
83 | relation: QLRelation = .equal, ratio: CGFloat = 1.0, offset: CGFloat = 0,
84 | priority: QLPriority = .required) -> NSLayoutConstraint? {
/Users/admin/builder/spi-builder-workspace/QuickLayout/UIViewArray+QuickLayout.swift:195:39: warning: call to main actor-isolated instance method 'layout(_:to:of:relation:ratio:offset:priority:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
181 | */
182 | @discardableResult
183 | func layout(_ edges: QLAttribute..., to anchorView: QLView,
| `- note: add '@MainActor' to make instance method 'layout(_:to:ratio:offset:priority:)' part of global actor 'MainActor'
184 | ratio: CGFloat = 1, offset: CGFloat = 0,
185 | priority: QLPriority = .required) -> [QLMultipleConstraints] {
:
193 | var multipleConstraints: QLMultipleConstraints = [:]
194 | for edge in uniqueEdges {
195 | let constraint = view.layout(to: edge, of: anchorView, ratio: ratio, offset: offset, priority: priority)!
| `- warning: call to main actor-isolated instance method 'layout(_:to:of:relation:ratio:offset:priority:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
196 | multipleConstraints[edge] = constraint
197 | }
/Users/admin/builder/spi-builder-workspace/QuickLayout/UIView+QuickLayout.swift:82:10: note: calls to instance method 'layout(_:to:of:relation:ratio:offset:priority:)' from outside of its actor context are implicitly asynchronous
80 | */
81 | @discardableResult
82 | func layout(_ edge: QLAttribute? = nil, to otherEdge: QLAttribute, of view: QLView,
| `- note: calls to instance method 'layout(_:to:of:relation:ratio:offset:priority:)' from outside of its actor context are implicitly asynchronous
83 | relation: QLRelation = .equal, ratio: CGFloat = 1.0, offset: CGFloat = 0,
84 | priority: QLPriority = .required) -> NSLayoutConstraint? {
/Users/admin/builder/spi-builder-workspace/QuickLayout/UIViewArray+QuickLayout.swift:211:24: warning: main actor-isolated property 'isValidForQuickLayout' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
209 |
210 | for view in self {
211 | guard view.isValidForQuickLayout else {
| `- warning: main actor-isolated property 'isValidForQuickLayout' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
212 | print("\(String(describing: self)) Error in func: \(#function)")
213 | return false
/Users/admin/builder/spi-builder-workspace/QuickLayout/UIView+QuickLayout.swift:261:9: note: property declared here
259 |
260 | /** **PRIVATELY USED** to test for validation*/
261 | var isValidForQuickLayout: Bool {
| `- note: property declared here
262 | guard superview != nil else {
263 | print("\(String(describing: self)):\(#function) - superview is unexpectedly nullified")
[8/8] Compiling QuickLayout QLUtils.swift
Build complete! (25.01s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "QuickLayout",
"name" : "QuickLayout",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "9.0"
},
{
"name" : "macos",
"version" : "10.10"
}
],
"products" : [
{
"name" : "QuickLayout",
"targets" : [
"QuickLayout"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "QuickLayout",
"module_type" : "SwiftTarget",
"name" : "QuickLayout",
"path" : "QuickLayout",
"product_memberships" : [
"QuickLayout"
],
"sources" : [
"QLCompatibility.swift",
"QLUtils.swift",
"UIView+QLContentWrap.swift",
"UIView+QuickLayout.swift",
"UIViewArray+QuickLayout.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.