The Swift Package Index logo.Swift Package Index

Build Information

Failed to build JoyStickView with Swift 5.7 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.28.7
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bradhowes/Joystick.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/bradhowes/Joystick
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f78731f Use correct sim
Cloned https://github.com/bradhowes/Joystick.git
Revision (git rev-parse @):
f78731f0af5ed86071fc0fef860ffa35f82309b1
SUCCESS checkout https://github.com/bradhowes/Joystick.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.7
Building package at path:  $PWD/checkout
https://github.com/bradhowes/Joystick.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.2.0.app xcrun swift build --arch arm64
Compiling plugin Swift-DocC...
Compiling plugin Swift-DocC Preview...
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)[1/6] Emitting module JoyStickView
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/JoyStickView/JoyStickView.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
[2/6] Compiling JoyStickView Bundle+Additions.swift
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/JoyStickView/JoyStickView.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
[3/6] Compiling JoyStickView JoyStickViewMonitor.swift
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/JoyStickView/JoyStickView.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
[4/6] Compiling JoyStickView Polar.swift
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/JoyStickView/JoyStickView.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
[5/6] Compiling JoyStickView CoreGraphics+Additions.swift
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/JoyStickView/JoyStickView.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
[6/6] Compiling JoyStickView JoyStickView.swift
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-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 from cache
Fetched https://github.com/apple/swift-docc-plugin (0.58s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.02s)
Fetching https://github.com/apple/swift-docc-symbolkit from cache
Fetched https://github.com/apple/swift-docc-symbolkit (0.76s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.03s)
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/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/JoyStickView/Resources/Assets.xcassets
[0/1] Planning build
Compiling plugin Swift-DocC...
Compiling plugin Swift-DocC Preview...
Building for debugging...
[1/6] Compiling JoyStickView Polar.swift
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/JoyStickView/JoyStickView.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
[2/6] Compiling JoyStickView JoyStickViewMonitor.swift
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-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)[3/6] Emitting module JoyStickView
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/JoyStickView/JoyStickView.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
[4/6] Compiling JoyStickView Bundle+Additions.swift
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/JoyStickView/JoyStickView.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
[5/6] Compiling JoyStickView CoreGraphics+Additions.swift
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/JoyStickView/JoyStickView.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
[6/6] Compiling JoyStickView JoyStickView.swift
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/JoyStickView/JoyStickView.swift:3:8: error: no such module 'UIKit'
import UIKit
       ^
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/JoyStickView/Resources/Assets.xcassets
BUILD FAILURE 5.7 macosSpm

Build Machine: Mac 5