Build Information
Failed to build MultiPicker, reference main (2201cb
), with Swift 6.0 for macOS (SPM) on 5 May 2025 05:54:06 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.3
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.0
Building package at path: $PWD
https://github.com/toastersocks/MultiPicker.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-5BDAB9E9C0126B9D.txt
[5/15] Compiling Helpers Variadic.swift
[6/15] Emitting module Helpers
[7/15] Compiling Helpers Backport.swift
[8/15] Compiling Helpers Extensions.swift
[9/15] Compiling Helpers Combine+.swift
[10/15] Compiling Helpers PreviewHelpers.swift
[11/15] Compiling Helpers Backports.swift
[12/15] Compiling Flow SupportingTypes.swift
[13/15] Compiling Flow PreviewCode.swift
[14/15] Emitting module Flow
[15/15] Compiling Flow Flow.swift
[16/19] Compiling MultiPicker SupportingTypes.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/19] Compiling MultiPicker PreviewSupport.swift
[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: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:4:23: note: 'navigationLink' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | extension PickerStyle where Self == NavigationLinkPickerStyle {
4 | public static var navigationLink: NavigationLinkPickerStyle { get }
| `- note: 'navigationLink' has been explicitly marked unavailable here
5 | }
/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:4:23: note: 'navigationLink' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | extension PickerStyle where Self == NavigationLinkPickerStyle {
4 | public static var navigationLink: NavigationLinkPickerStyle { get }
| `- note: 'navigationLink' has been explicitly marked unavailable here
5 | }
Fetching https://github.com/toastersocks/Flow.git
Fetching https://github.com/toastersocks/Helpers.git
[7/334] Fetching flow
[232/443] Fetching flow, helpers
Fetched https://github.com/toastersocks/Flow.git from cache (0.85s)
Fetched https://github.com/toastersocks/Helpers.git from cache (0.85s)
Computing version for https://github.com/toastersocks/Flow.git
Computed https://github.com/toastersocks/Flow.git at 1.2.3 (0.43s)
Computing version for https://github.com/toastersocks/Helpers.git
Computed https://github.com/toastersocks/Helpers.git at 0.7.0 (3.42s)
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.0 macosSpm