The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ErrorHandler, reference master (a40c6a), with Swift 6.1 for macOS (SPM) on 20 Jul 2026 17:10:21 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/AreroKetahi/ErrorHandler.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/AreroKetahi/ErrorHandler
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at a40c6a7 removed unexposed API
Cloned https://github.com/AreroKetahi/ErrorHandler.git
Revision (git rev-parse @):
a40c6a764937da09a32985dfb4464951c619aeea
SUCCESS checkout https://github.com/AreroKetahi/ErrorHandler.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/AreroKetahi/ErrorHandler.git
https://github.com/AreroKetahi/ErrorHandler.git
{
  "default_localization" : "en",
  "dependencies" : [
  ],
  "manifest_display_name" : "ErrorHandler",
  "name" : "ErrorHandler",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "tvos",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "17.0"
    },
    {
      "name" : "driverkit",
      "version" : "23.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "ErrorHandler",
      "targets" : [
        "ErrorHandler"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "ErrorHandlerTests",
      "module_type" : "SwiftTarget",
      "name" : "ErrorHandlerTests",
      "path" : "Tests/ErrorHandlerTests",
      "sources" : [
        "ErrorHandlerTests.swift"
      ],
      "target_dependencies" : [
        "ErrorHandler"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ErrorHandler",
      "module_type" : "SwiftTarget",
      "name" : "ErrorHandler",
      "path" : "Sources/ErrorHandler",
      "product_memberships" : [
        "ErrorHandler"
      ],
      "sources" : [
        "AnyLocalizedError.swift",
        "AnyPresentableError.swift",
        "ErrorHandler.swift",
        "Expectable Handler.swift",
        "Globle Functions.swift",
        "SwiftUI Extension.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 ErrorHandler Globle Functions.swift
[4/9] Compiling ErrorHandler ErrorHandler.swift
[5/9] Compiling ErrorHandler Expectable Handler.swift
[6/9] Compiling ErrorHandler AnyLocalizedError.swift
[7/9] Emitting module ErrorHandler
[8/9] Compiling ErrorHandler AnyPresentableError.swift
[9/9] Compiling ErrorHandler SwiftUI Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/ErrorHandler/SwiftUI Extension.swift:26:28: error: missing argument for parameter #1 in call
24 |                     error: handler.error
25 |                 ) {
26 |                     Button(role: .confirm) {
   |                            `- error: missing argument for parameter #1 in call
27 |                         #if DEBUG
28 |                             print(
SwiftUI.Button.init:2:36: note: 'init(_:role:action:)' declared here
1 | generic struct Button {
2 | @preconcurrency nonisolated public init(_ titleKey: LocalizedStringKey, role: ButtonRole?, action: @escaping @MainActor () -> Void)}
  |                                    `- note: 'init(_:role:action:)' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ErrorHandler/SwiftUI Extension.swift:26:35: error: type 'ButtonRole?' has no member 'confirm'
24 |                     error: handler.error
25 |                 ) {
26 |                     Button(role: .confirm) {
   |                                   `- error: type 'ButtonRole?' has no member 'confirm'
27 |                         #if DEBUG
28 |                             print(
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/ErrorHandler/Localizable.xcstrings
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 ErrorHandler Globle Functions.swift
[3/8] Compiling ErrorHandler Expectable Handler.swift
[4/8] Compiling ErrorHandler AnyLocalizedError.swift
[5/8] Compiling ErrorHandler ErrorHandler.swift
[6/8] Emitting module ErrorHandler
[7/8] Compiling ErrorHandler AnyPresentableError.swift
[8/8] Compiling ErrorHandler SwiftUI Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/ErrorHandler/SwiftUI Extension.swift:26:28: error: missing argument for parameter #1 in call
24 |                     error: handler.error
25 |                 ) {
26 |                     Button(role: .confirm) {
   |                            `- error: missing argument for parameter #1 in call
27 |                         #if DEBUG
28 |                             print(
SwiftUI.Button.init:2:36: note: 'init(_:role:action:)' declared here
1 | generic struct Button {
2 | @preconcurrency nonisolated public init(_ titleKey: LocalizedStringKey, role: ButtonRole?, action: @escaping @MainActor () -> Void)}
  |                                    `- note: 'init(_:role:action:)' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ErrorHandler/SwiftUI Extension.swift:26:35: error: type 'ButtonRole?' has no member 'confirm'
24 |                     error: handler.error
25 |                 ) {
26 |                     Button(role: .confirm) {
   |                                   `- error: type 'ButtonRole?' has no member 'confirm'
27 |                         #if DEBUG
28 |                             print(
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/ErrorHandler/Localizable.xcstrings
BUILD FAILURE 6.1 macosSpm