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 JoyStickView, reference main (88defe), with Swift 5.8 for macOS (SPM) on 18 Aug 2024 01:27:54 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.50.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bradhowes/Joystick.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bradhowes/Joystick
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 88defe3 Update README.md
Cloned https://github.com/bradhowes/Joystick.git
Revision (git rev-parse @):
88defe372fa5587aca12c5cdbd9984b4f8e7679e
SUCCESS checkout https://github.com/bradhowes/Joystick.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.8
Building package at path:  $PWD
https://github.com/bradhowes/Joystick.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[3/8] Compiling JoyStickView Polar.swift
/Users/admin/builder/spi-builder-workspace/Sources/JoyStickView/JoyStickView.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
[4/8] Compiling JoyStickView JoyStickViewMonitor.swift
/Users/admin/builder/spi-builder-workspace/Sources/JoyStickView/JoyStickView.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/8] Emitting module JoyStickView
/Users/admin/builder/spi-builder-workspace/Sources/JoyStickView/JoyStickView.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
[6/8] Compiling JoyStickView CoreGraphics+Additions.swift
/Users/admin/builder/spi-builder-workspace/Sources/JoyStickView/JoyStickView.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
[7/8] Compiling JoyStickView Bundle+Additions.swift
/Users/admin/builder/spi-builder-workspace/Sources/JoyStickView/JoyStickView.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
[8/8] Compiling JoyStickView JoyStickView.swift
/Users/admin/builder/spi-builder-workspace/Sources/JoyStickView/JoyStickView.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
Fetching https://github.com/apple/swift-docc-plugin
[1/1768] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin (1.74s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.75s)
Fetching https://github.com/apple/swift-docc-symbolkit
[1/3055] Fetching swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit (1.26s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.78s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
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/JoyStickView/Resources/Assets.xcassets
BUILD FAILURE 5.8 macosSpm