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: master
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/scalessec/Toast-Swift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at d780ff8 Update README.md
Cloned https://github.com/scalessec/Toast-Swift.git
Revision (git rev-parse @):
d780ff8fe55659b4fddf1fbfaf930d967f35d9ea
SUCCESS checkout https://github.com/scalessec/Toast-Swift.git at master
========================================
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
[1/1435] Fetching toast-swift
Fetched https://github.com/scalessec/Toast-Swift.git from cache (0.26s)
Creating working copy for https://github.com/scalessec/Toast-Swift.git
Working copy of https://github.com/scalessec/Toast-Swift.git resolved at master (d780ff8)
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] Copying PrivacyInfo.xcprivacy
[1/3] Write sources
[2/3] Write swift-version-6044DDE57671499D.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/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
^
[5/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
^
[6/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: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-6044DDE57671499D.txt
[2/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
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/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
^
[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