Build Information
Successful build of QuickLayout, reference 3.0.2 (e290c6
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 16:18:23 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/huri000/QuickLayout.git
Reference: 3.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/huri000/QuickLayout
* tag 3.0.2 -> FETCH_HEAD
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 3.0.2
========================================
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": "quicklayout",
"name": "QuickLayout",
"url": "https://github.com/huri000/QuickLayout.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/QuickLayout",
"dependencies": [
]
}
]
}
Fetching https://github.com/huri000/QuickLayout.git
[1/2421] Fetching quicklayout
Fetched https://github.com/huri000/QuickLayout.git from cache (1.44s)
Creating working copy for https://github.com/huri000/QuickLayout.git
Working copy of https://github.com/huri000/QuickLayout.git resolved at 3.0.2 (e290c61)
warning: '.resolve-product-dependencies': dependency 'quicklayout' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/huri000/QuickLayout.git
https://github.com/huri000/QuickLayout.git
{
"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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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-2F0A5646E1D333AE.txt
[3/8] Compiling QuickLayout QLUtils.swift
[4/8] Compiling QuickLayout UIView+QLContentWrap.swift
[5/8] Compiling QuickLayout UIView+QuickLayout.swift
[6/8] Emitting module QuickLayout
[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
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
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
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
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
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
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
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
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
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
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 nonisolated 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 nonisolated context; this is an error in the Swift 6 language mode
138 | }
139 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:87:59: note: property declared here
85 |
86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
| `- note: property declared here
88 | @property (copy) NSArray<__kindof NSView *> *subviews;
89 | - (BOOL)isDescendantOf:(NSView *)view;
/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
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
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
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
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 nonisolated 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 nonisolated 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 QLCompatibility.swift
Build complete! (7.36s)
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.