The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build MultiPicker, reference main (2201cb), with Swift 6.2 (beta) for macOS (SPM) on 23 Jun 2025 23:04:33 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/toastersocks/MultiPicker.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/toastersocks/MultiPicker
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2201cb0 Fix errors building with Swift compiler versions < 6.0
Cloned https://github.com/toastersocks/MultiPicker.git
Revision (git rev-parse @):
2201cb04de77147778b351b71fcda030fb7ac6a2
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/toastersocks/MultiPicker.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/toastersocks/MultiPicker.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-1EA4D86E10B52AF.txt
[5/15] Emitting module Helpers
[6/15] Compiling Flow SupportingTypes.swift
[7/15] Compiling Helpers Backports.swift
[8/15] Compiling Helpers Variadic.swift
[9/15] Compiling Helpers Combine+.swift
[10/15] Compiling Helpers Extensions.swift
[11/15] Compiling Helpers Backport.swift
[12/15] Compiling Helpers PreviewHelpers.swift
[13/15] Emitting module Flow
[14/15] Compiling Flow Flow.swift
[15/15] Compiling Flow PreviewCode.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/19] Compiling MultiPicker PreviewSupport.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiPicker/MultiPicker.swift:6:8: error: macOS not currently supported
  4 |
  5 | #if os(macOS)
  6 | #error("macOS not currently supported")
    |        `- error: macOS not currently supported
  7 | #endif
  8 |
[17/19] Compiling MultiPicker SupportingTypes.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiPicker/MultiPicker.swift:6:8: error: macOS not currently supported
  4 |
  5 | #if os(macOS)
  6 | #error("macOS not currently supported")
    |        `- error: macOS not currently supported
  7 | #endif
  8 |
[18/19] Emitting module MultiPicker
/Users/admin/builder/spi-builder-workspace/Sources/MultiPicker/MultiPicker.swift:6:8: error: macOS not currently supported
  4 |
  5 | #if os(macOS)
  6 | #error("macOS not currently supported")
    |        `- error: macOS not currently supported
  7 | #endif
  8 |
[19/19] Compiling MultiPicker MultiPicker.swift
/Users/admin/builder/spi-builder-workspace/Sources/MultiPicker/MultiPicker.swift:6:8: error: macOS not currently supported
  4 |
  5 | #if os(macOS)
  6 | #error("macOS not currently supported")
    |        `- error: macOS not currently supported
  7 | #endif
  8 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiPicker/MultiPicker.swift:99:38: warning: capture of non-sendable type 'SelectionValue.Type' in an isolated closure
 97 |             "\(binding.wrappedValue.map { "\($0)" } ?? "\(noneText)")"
 98 |         case .multiple(let binding):
 99 |             binding.wrappedValue.map(String.init(describing:)).formatted(.list(type: .and))
    |                                      `- warning: capture of non-sendable type 'SelectionValue.Type' in an isolated closure
100 |         }
101 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MultiPicker/MultiPicker.swift:470:35: error: 'navigationLink' is unavailable in macOS
468 |                         }
469 |                     }
470 |                     .pickerStyle(.navigationLink)
    |                                   `- error: 'navigationLink' is unavailable in macOS
471 |                     #if !os(macOS)
472 |                     //                .pickerStyle(.navigationLink)
SwiftUI.PickerStyle.navigationLink:2:19: note: 'navigationLink' has been explicitly marked unavailable here
1 | protocol PickerStyle {
2 | public static var navigationLink: NavigationLinkPickerStyle { get }}
  |                   `- note: 'navigationLink' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/MultiPicker/MultiPicker.swift:531:35: error: 'navigationLink' is unavailable in macOS
529 |                         }
530 |                     }
531 |                     .pickerStyle(.navigationLink)
    |                                   `- error: 'navigationLink' is unavailable in macOS
532 | #if !os(macOS)
533 |                     //                .pickerStyle(.navigationLink)
SwiftUI.PickerStyle.navigationLink:2:19: note: 'navigationLink' has been explicitly marked unavailable here
1 | protocol PickerStyle {
2 | public static var navigationLink: NavigationLinkPickerStyle { get }}
  |                   `- note: 'navigationLink' has been explicitly marked unavailable here
3 |
Fetching https://github.com/toastersocks/Flow.git
Fetching https://github.com/toastersocks/Helpers.git
[1/109] Fetching helpers
[110/443] Fetching helpers, flow
Fetched https://github.com/toastersocks/Helpers.git from cache (0.94s)
Fetched https://github.com/toastersocks/Flow.git from cache (0.94s)
Computing version for https://github.com/toastersocks/Flow.git
Computed https://github.com/toastersocks/Flow.git at 1.2.3 (1.37s)
Computing version for https://github.com/toastersocks/Helpers.git
Computed https://github.com/toastersocks/Helpers.git at 0.7.0 (2.92s)
Creating working copy for https://github.com/toastersocks/Flow.git
Working copy of https://github.com/toastersocks/Flow.git resolved at 1.2.3
Creating working copy for https://github.com/toastersocks/Helpers.git
Working copy of https://github.com/toastersocks/Helpers.git resolved at 0.7.0
BUILD FAILURE 6.2 macosSpm