Build Information
Failed to build SlideToConfirm, reference main (298699), with Swift 6.1 for macOS (SPM) on 14 Aug 2026 22:20:02 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/o-danylenko/Slide-To-Button.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/o-danylenko/Slide-To-Button
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 298699c Rewrite the README for a reader, not a reviewer
Cloned https://github.com/o-danylenko/Slide-To-Button.git
Revision (git rev-parse @):
298699c90ebf3f6ee88641665f96ad7ce775adce
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/o-danylenko/Slide-To-Button.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/o-danylenko/Slide-To-Button.git
https://github.com/o-danylenko/Slide-To-Button.git
{
"dependencies" : [
],
"manifest_display_name" : "SlideToConfirm",
"name" : "SlideToConfirm",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "SlideToConfirm",
"targets" : [
"SlideToConfirm"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SlideToConfirmTests",
"module_type" : "SwiftTarget",
"name" : "SlideToConfirmTests",
"path" : "Tests/SlideToConfirmTests",
"sources" : [
"SlideGeometryTests.swift",
"SlideStateTests.swift"
],
"target_dependencies" : [
"SlideToConfirm"
],
"type" : "test"
},
{
"c99name" : "SlideToConfirm",
"module_type" : "SwiftTarget",
"name" : "SlideToConfirm",
"path" : "Sources/SlideToConfirm",
"product_memberships" : [
"SlideToConfirm"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SlideToConfirm/SlideWake.metal",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"SlideFill.swift",
"SlideGeometry.swift",
"SlideKnob.swift",
"SlideState.swift",
"SlideStyle.swift",
"SlideToConfirm.swift",
"SlideTrack.swift",
"SlideWake.swift"
],
"type" : "library"
}
],
"tools_version" : "6.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
Building for debugging...
[0/3] Write sources
[1/3] Copying SlideWake.metal
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/13] Compiling SlideToConfirm SlideKnob.swift
[5/13] Compiling SlideToConfirm SlideTrack.swift
/Users/admin/builder/spi-builder-workspace/Sources/SlideToConfirm/SlideTrack.swift:70:23: error: call to main actor-isolated instance method 'knobWidth(labelHeight:)' in a synchronous nonisolated context
68 | .alignmentGuide(HorizontalAlignment.center) { dimensions in
69 | dimensions[HorizontalAlignment.center]
70 | + knobWidth(labelHeight: dimensions.height) / 2
| `- error: call to main actor-isolated instance method 'knobWidth(labelHeight:)' in a synchronous nonisolated context
71 | }
72 | .frame(maxWidth: .infinity, alignment: .center)
:
91 | /// from the label itself when it is not — in which case the label is the tallest child, so its
92 | /// height *is* the row's. Exact either way, and no measurement pass to get it.
93 | private func knobWidth(labelHeight: CGFloat?) -> CGFloat {
| |- note: calls to instance method 'knobWidth(labelHeight:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
94 | if let height { return max(0, height - inset * 2) }
95 | return labelHeight ?? 0
/Users/admin/builder/spi-builder-workspace/Sources/SlideToConfirm/SlideTrack.swift:109:29: error: value of type 'Color' has no member 'glassEffect'
107 | case .glass(let tint, let fallback):
108 | if #available(iOS 26, macOS 26, *) {
109 | Color.clear.glassEffect(.regular.tint(tint), in: Capsule())
| `- error: value of type 'Color' has no member 'glassEffect'
110 | } else {
111 | Capsule().fill(fallback)
/Users/admin/builder/spi-builder-workspace/Sources/SlideToConfirm/SlideTrack.swift:109:42: error: cannot infer contextual base in reference to member 'regular'
107 | case .glass(let tint, let fallback):
108 | if #available(iOS 26, macOS 26, *) {
109 | Color.clear.glassEffect(.regular.tint(tint), in: Capsule())
| `- error: cannot infer contextual base in reference to member 'regular'
110 | } else {
111 | Capsule().fill(fallback)
[6/13] Compiling SlideToConfirm resource_bundle_accessor.swift
[7/13] Compiling SlideToConfirm SlideFill.swift
[8/13] Compiling SlideToConfirm SlideGeometry.swift
[9/13] Emitting module SlideToConfirm
[10/13] Compiling SlideToConfirm SlideToConfirm.swift
[11/13] Compiling SlideToConfirm SlideState.swift
[12/13] Compiling SlideToConfirm SlideStyle.swift
[13/13] Compiling SlideToConfirm SlideWake.swift
/Users/admin/builder/spi-builder-workspace/Sources/SlideToConfirm/SlideWake.swift:155:17: error: call to main actor-isolated instance method 'knob(in:)' in a synchronous nonisolated context
153 | // born of the gesture that caused it.
154 | .onGeometryChange(for: SlideKnob.self) { proxy in
155 | knob(in: SlideGeometry(trackSize: proxy.size, inset: inset))
| `- error: call to main actor-isolated instance method 'knob(in:)' in a synchronous nonisolated context
156 | } action: { knob in
157 | trail.follow(knob, wake: wake)
:
163 |
164 | /// Where the ripples originate, and whether a finger is down.
165 | private func knob(in geometry: SlideGeometry) -> SlideKnob {
| |- note: calls to instance method 'knob(in:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
166 | let offset = geometry.handleOffset(at: state.progress)
167 | let radius = geometry.handleDiameter / 2
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/11] Compiling SlideToConfirm resource_bundle_accessor.swift
[3/11] Compiling SlideToConfirm SlideState.swift
[4/11] Compiling SlideToConfirm SlideKnob.swift
[5/11] Compiling SlideToConfirm SlideStyle.swift
[6/11] Emitting module SlideToConfirm
[7/11] Compiling SlideToConfirm SlideToConfirm.swift
[8/11] Compiling SlideToConfirm SlideFill.swift
[9/11] Compiling SlideToConfirm SlideWake.swift
/Users/admin/builder/spi-builder-workspace/Sources/SlideToConfirm/SlideWake.swift:155:17: error: call to main actor-isolated instance method 'knob(in:)' in a synchronous nonisolated context
153 | // born of the gesture that caused it.
154 | .onGeometryChange(for: SlideKnob.self) { proxy in
155 | knob(in: SlideGeometry(trackSize: proxy.size, inset: inset))
| `- error: call to main actor-isolated instance method 'knob(in:)' in a synchronous nonisolated context
156 | } action: { knob in
157 | trail.follow(knob, wake: wake)
:
163 |
164 | /// Where the ripples originate, and whether a finger is down.
165 | private func knob(in geometry: SlideGeometry) -> SlideKnob {
| |- note: calls to instance method 'knob(in:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
166 | let offset = geometry.handleOffset(at: state.progress)
167 | let radius = geometry.handleDiameter / 2
[10/11] Compiling SlideToConfirm SlideGeometry.swift
[11/11] Compiling SlideToConfirm SlideTrack.swift
/Users/admin/builder/spi-builder-workspace/Sources/SlideToConfirm/SlideTrack.swift:70:23: error: call to main actor-isolated instance method 'knobWidth(labelHeight:)' in a synchronous nonisolated context
68 | .alignmentGuide(HorizontalAlignment.center) { dimensions in
69 | dimensions[HorizontalAlignment.center]
70 | + knobWidth(labelHeight: dimensions.height) / 2
| `- error: call to main actor-isolated instance method 'knobWidth(labelHeight:)' in a synchronous nonisolated context
71 | }
72 | .frame(maxWidth: .infinity, alignment: .center)
:
91 | /// from the label itself when it is not — in which case the label is the tallest child, so its
92 | /// height *is* the row's. Exact either way, and no measurement pass to get it.
93 | private func knobWidth(labelHeight: CGFloat?) -> CGFloat {
| |- note: calls to instance method 'knobWidth(labelHeight:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
94 | if let height { return max(0, height - inset * 2) }
95 | return labelHeight ?? 0
/Users/admin/builder/spi-builder-workspace/Sources/SlideToConfirm/SlideTrack.swift:109:29: error: value of type 'Color' has no member 'glassEffect'
107 | case .glass(let tint, let fallback):
108 | if #available(iOS 26, macOS 26, *) {
109 | Color.clear.glassEffect(.regular.tint(tint), in: Capsule())
| `- error: value of type 'Color' has no member 'glassEffect'
110 | } else {
111 | Capsule().fill(fallback)
/Users/admin/builder/spi-builder-workspace/Sources/SlideToConfirm/SlideTrack.swift:109:42: error: cannot infer contextual base in reference to member 'regular'
107 | case .glass(let tint, let fallback):
108 | if #available(iOS 26, macOS 26, *) {
109 | Color.clear.glassEffect(.regular.tint(tint), in: Capsule())
| `- error: cannot infer contextual base in reference to member 'regular'
110 | } else {
111 | Capsule().fill(fallback)
BUILD FAILURE 6.1 macosSpm