Build Information
Failed to build Toast with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.34.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/scalessec/Toast-Swift.git
Reference: 5.1.1
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/scalessec/Toast-Swift
* tag 5.1.1 -> FETCH_HEAD
HEAD is now at ddccd20 Merge pull request #215 from iblacksun/master
Cloned https://github.com/scalessec/Toast-Swift.git
Revision (git rev-parse @):
ddccd20d6fb718448d9b179c454c561653fda7d5
SUCCESS checkout https://github.com/scalessec/Toast-Swift.git at 5.1.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "toast-swift",
"name": "Toast",
"url": "https://github.com/scalessec/Toast-Swift.git",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Toast-Swift",
"dependencies": [
]
}
]
}
Fetching https://github.com/scalessec/Toast-Swift.git from cache
Fetched https://github.com/scalessec/Toast-Swift.git from cache (0.16s)
Creating working copy for https://github.com/scalessec/Toast-Swift.git
Working copy of https://github.com/scalessec/Toast-Swift.git resolved at 5.1.1 (ddccd20)
warning: '.resolve-product-dependencies': dependency 'toast-swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/scalessec/Toast-Swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-6044DDE57671499D.txt
[4/6] Compiling Toast Toast.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Toast/Toast.swift:26:8: error: no such module 'UIKit'
import UIKit
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/6] Emitting module Toast
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Toast/Toast.swift:26:8: error: no such module 'UIKit'
import UIKit
^
[6/6] Compiling Toast resource_bundle_accessor.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Toast/Toast.swift:26:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-6044DDE57671499D.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] Emitting module Toast
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Toast/Toast.swift:26:8: error: no such module 'UIKit'
import UIKit
^
[3/4] Compiling Toast resource_bundle_accessor.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Toast/Toast.swift:26:8: error: no such module 'UIKit'
import UIKit
^
[4/4] Compiling Toast Toast.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Toast/Toast.swift:26:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
BUILD FAILURE 5.10 macosSpm