The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SFSymbolsPicker, reference master (ad07a0), with Swift 5.8 for macOS (SPM) on 26 Sep 2024 10:49:36 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.54.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alessiorubicini/SFSymbolsPickerForSwiftUI.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/alessiorubicini/SFSymbolsPickerForSwiftUI
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at ad07a0d updated readme
Cloned https://github.com/alessiorubicini/SFSymbolsPickerForSwiftUI.git
Revision (git rev-parse @):
ad07a0d94f88eeecfb2c1216e8bd019ca75c232b
SUCCESS checkout https://github.com/alessiorubicini/SFSymbolsPickerForSwiftUI.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.8
Building package at path:  $PWD
https://github.com/alessiorubicini/SFSymbolsPickerForSwiftUI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[1/6] Compiling SFSymbolsPicker UsageExample.swift
/Users/admin/builder/spi-builder-workspace/Sources/SFSymbolsPicker/SymbolIcon.swift:30:1: error: use of unknown directive '#Preview'
#Preview {
^
/Users/admin/builder/spi-builder-workspace/Sources/SFSymbolsPicker/SymbolsPicker.swift:94:1: error: use of unknown directive '#Preview'
#Preview {
^
/Users/admin/builder/spi-builder-workspace/Sources/SFSymbolsPicker/UsageExample.swift:9:8: warning: file 'UsageExample.swift' is part of module 'SFSymbolsPicker'; ignoring import
import SFSymbolsPicker
       ^
[2/6] Compiling SFSymbolsPicker SymbolsPickerVM.swift
/Users/admin/builder/spi-builder-workspace/Sources/SFSymbolsPicker/SymbolIcon.swift:30:1: error: use of unknown directive '#Preview'
#Preview {
^
/Users/admin/builder/spi-builder-workspace/Sources/SFSymbolsPicker/SymbolsPicker.swift:94:1: error: use of unknown directive '#Preview'
#Preview {
^
[3/6] Compiling SFSymbolsPicker SymbolLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/SFSymbolsPicker/SymbolIcon.swift:30:1: error: use of unknown directive '#Preview'
#Preview {
^
/Users/admin/builder/spi-builder-workspace/Sources/SFSymbolsPicker/SymbolsPicker.swift:94:1: error: use of unknown directive '#Preview'
#Preview {
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/6] Compiling SFSymbolsPicker SymbolsPicker.swift
/Users/admin/builder/spi-builder-workspace/Sources/SFSymbolsPicker/SymbolIcon.swift:30:1: error: use of unknown directive '#Preview'
#Preview {
^
/Users/admin/builder/spi-builder-workspace/Sources/SFSymbolsPicker/SymbolsPicker.swift:94:1: error: use of unknown directive '#Preview'
#Preview {
^
[5/6] Emitting module SFSymbolsPicker
/Users/admin/builder/spi-builder-workspace/Sources/SFSymbolsPicker/SymbolIcon.swift:30:1: error: use of unknown directive '#Preview'
#Preview {
^
/Users/admin/builder/spi-builder-workspace/Sources/SFSymbolsPicker/SymbolsPicker.swift:94:1: error: use of unknown directive '#Preview'
#Preview {
^
/Users/admin/builder/spi-builder-workspace/Sources/SFSymbolsPicker/UsageExample.swift:9:8: warning: file 'UsageExample.swift' is part of module 'SFSymbolsPicker'; ignoring import
import SFSymbolsPicker
       ^
[6/6] Compiling SFSymbolsPicker SymbolIcon.swift
/Users/admin/builder/spi-builder-workspace/Sources/SFSymbolsPicker/SymbolIcon.swift:30:1: error: use of unknown directive '#Preview'
#Preview {
^
/Users/admin/builder/spi-builder-workspace/Sources/SFSymbolsPicker/SymbolsPicker.swift:94:1: error: use of unknown directive '#Preview'
#Preview {
^
/Users/admin/builder/spi-builder-workspace/Sources/SFSymbolsPicker/SymbolIcon.swift:18:14: warning: 'animation' was deprecated in macOS 12.0: Use withAnimation or animation(_:value:) instead.
            .animation(.linear)
             ^
BUILD FAILURE 5.8 macosSpm