The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SlideToConfirm, reference 1.0.0 (359ca0), with Swift 6.1 for macOS (SPM) on 14 Aug 2026 22:19:52 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build 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: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/o-danylenko/Slide-To-Button
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 359ca06 Fix DocC links that only fail under warnings-as-errors
Cloned https://github.com/o-danylenko/Slide-To-Button.git
Revision (git rev-parse @):
359ca06274229cf4e43ba6ea660faa1148658dd2
SUCCESS checkout https://github.com/o-danylenko/Slide-To-Button.git at 1.0.0
========================================
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"
      ],
      "sources" : [
        "SlideFill.swift",
        "SlideGeometry.swift",
        "SlideState.swift",
        "SlideStyle.swift",
        "SlideToConfirm.swift",
        "SlideTrack.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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/9] Compiling SlideToConfirm SlideState.swift
[4/9] Compiling SlideToConfirm SlideTrack.swift
/Users/admin/builder/spi-builder-workspace/Sources/SlideToConfirm/SlideTrack.swift:60:23: error: call to main actor-isolated instance method 'knobWidth(labelHeight:)' in a synchronous nonisolated context
 58 |             .alignmentGuide(HorizontalAlignment.center) { dimensions in
 59 |                 dimensions[HorizontalAlignment.center]
 60 |                     + knobWidth(labelHeight: dimensions.height) / 2
    |                       `- error: call to main actor-isolated instance method 'knobWidth(labelHeight:)' in a synchronous nonisolated context
 61 |             }
 62 |             .frame(maxWidth: .infinity, alignment: .center)
    :
 81 |     /// from the label itself when it is not — in which case the label is the tallest child, so its
 82 |     /// height *is* the row's. Exact either way, and no measurement pass to get it.
 83 |     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'
 84 |         if let height { return max(0, height - inset * 2) }
 85 |         return labelHeight ?? 0
/Users/admin/builder/spi-builder-workspace/Sources/SlideToConfirm/SlideTrack.swift:99:29: error: value of type 'Color' has no member 'glassEffect'
 97 |         case .glass(let tint, let fallback):
 98 |             if #available(iOS 26, macOS 26, *) {
 99 |                 Color.clear.glassEffect(.regular.tint(tint), in: Capsule())
    |                             `- error: value of type 'Color' has no member 'glassEffect'
100 |             } else {
101 |                 Capsule().fill(fallback)
/Users/admin/builder/spi-builder-workspace/Sources/SlideToConfirm/SlideTrack.swift:99:42: error: cannot infer contextual base in reference to member 'regular'
 97 |         case .glass(let tint, let fallback):
 98 |             if #available(iOS 26, macOS 26, *) {
 99 |                 Color.clear.glassEffect(.regular.tint(tint), in: Capsule())
    |                                          `- error: cannot infer contextual base in reference to member 'regular'
100 |             } else {
101 |                 Capsule().fill(fallback)
[5/9] Compiling SlideToConfirm SlideStyle.swift
[6/9] Compiling SlideToConfirm SlideGeometry.swift
[7/9] Compiling SlideToConfirm SlideFill.swift
[8/9] Emitting module SlideToConfirm
[9/9] Compiling SlideToConfirm SlideToConfirm.swift
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/8] Compiling SlideToConfirm SlideTrack.swift
/Users/admin/builder/spi-builder-workspace/Sources/SlideToConfirm/SlideTrack.swift:60:23: error: call to main actor-isolated instance method 'knobWidth(labelHeight:)' in a synchronous nonisolated context
 58 |             .alignmentGuide(HorizontalAlignment.center) { dimensions in
 59 |                 dimensions[HorizontalAlignment.center]
 60 |                     + knobWidth(labelHeight: dimensions.height) / 2
    |                       `- error: call to main actor-isolated instance method 'knobWidth(labelHeight:)' in a synchronous nonisolated context
 61 |             }
 62 |             .frame(maxWidth: .infinity, alignment: .center)
    :
 81 |     /// from the label itself when it is not — in which case the label is the tallest child, so its
 82 |     /// height *is* the row's. Exact either way, and no measurement pass to get it.
 83 |     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'
 84 |         if let height { return max(0, height - inset * 2) }
 85 |         return labelHeight ?? 0
/Users/admin/builder/spi-builder-workspace/Sources/SlideToConfirm/SlideTrack.swift:99:29: error: value of type 'Color' has no member 'glassEffect'
 97 |         case .glass(let tint, let fallback):
 98 |             if #available(iOS 26, macOS 26, *) {
 99 |                 Color.clear.glassEffect(.regular.tint(tint), in: Capsule())
    |                             `- error: value of type 'Color' has no member 'glassEffect'
100 |             } else {
101 |                 Capsule().fill(fallback)
/Users/admin/builder/spi-builder-workspace/Sources/SlideToConfirm/SlideTrack.swift:99:42: error: cannot infer contextual base in reference to member 'regular'
 97 |         case .glass(let tint, let fallback):
 98 |             if #available(iOS 26, macOS 26, *) {
 99 |                 Color.clear.glassEffect(.regular.tint(tint), in: Capsule())
    |                                          `- error: cannot infer contextual base in reference to member 'regular'
100 |             } else {
101 |                 Capsule().fill(fallback)
[3/8] Emitting module SlideToConfirm
[4/8] Compiling SlideToConfirm SlideStyle.swift
[5/8] Compiling SlideToConfirm SlideFill.swift
[6/8] Compiling SlideToConfirm SlideState.swift
[7/8] Compiling SlideToConfirm SlideGeometry.swift
[8/8] Compiling SlideToConfirm SlideToConfirm.swift
BUILD FAILURE 6.1 macosSpm