Build Information
Failed to build UIPilot with Swift 5.9 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/canopas/UIPilot.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/canopas/UIPilot
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 73b2ed3 Merge pull request #54 from canopas/cp-amisha-i-patch-1
Cloned https://github.com/canopas/UIPilot.git
Revision (git rev-parse @):
73b2ed393870aa7e20ec7e5c312a5737b1927fe7
SUCCESS checkout https://github.com/canopas/UIPilot.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "uipilot",
"name": "UIPilot",
"url": "https://github.com/canopas/UIPilot.git",
"version": "unspecified",
"path": "/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/UIPilot",
"dependencies": [
]
}
]
}
Fetching https://github.com/canopas/UIPilot.git from cache
Fetched https://github.com/canopas/UIPilot.git (0.22s)
Creating working copy for https://github.com/canopas/UIPilot.git
Working copy of https://github.com/canopas/UIPilot.git resolved at main
warning: '.resolve-product-dependencies': dependency 'uipilot' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $workDir
https://github.com/canopas/UIPilot.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/4] Emitting module UIPilot
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIPilot/UIPilot.swift:3:8: error: no such module 'UIKit'
import UIKit
^
[2/4] Compiling UIPilot UIPilot.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIPilot/UIPilot.swift:3:8: error: no such module 'UIKit'
import UIKit
^
[3/4] Compiling UIPilot EmptyLog.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIPilot/UIPilot.swift:3:8: error: no such module 'UIKit'
import UIKit
^
[4/4] Compiling UIPilot DebugLog.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIPilot/UIPilot.swift:3:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/4] Emitting module UIPilot
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIPilot/UIPilot.swift:3:8: error: no such module 'UIKit'
import UIKit
^
[2/4] Compiling UIPilot UIPilot.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIPilot/UIPilot.swift:3:8: error: no such module 'UIKit'
import UIKit
^
[3/4] Compiling UIPilot DebugLog.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIPilot/UIPilot.swift:3:8: error: no such module 'UIKit'
import UIKit
^
[4/4] Compiling UIPilot EmptyLog.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIPilot/UIPilot.swift:3:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
BUILD FAILURE 5.9 macosSpm