The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LCLabel with Swift 5.10 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mustiikhalil/lclabel.git
Reference: 1.3.0
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/mustiikhalil/lclabel
 * tag               1.3.0      -> FETCH_HEAD
HEAD is now at 8ce969d Merge branch 'release/1.3.0'
Cloned https://github.com/mustiikhalil/lclabel.git
Revision (git rev-parse @):
8ce969d6ba9feee59d75b48abf3997694e5dfd28
SUCCESS checkout https://github.com/mustiikhalil/lclabel.git at 1.3.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/mustiikhalil/lclabel.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Emitting module LCLabel
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LCLabel/LCLabel.swift:6:8: error: no such module 'UIKit'
import UIKit
       ^
[4/6] Compiling LCLabel LCLabel.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LCLabel/LCLabel.swift:6:8: error: no such module 'UIKit'
import UIKit
       ^
[5/6] Compiling LCLabel NSStorageExtension.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LCLabel/LCLabel.swift:6:8: error: no such module 'UIKit'
import UIKit
       ^
[6/6] Compiling LCLabel Utils.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LCLabel/LCLabel.swift:6:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
Fetching https://github.com/pointfreeco/swift-snapshot-testing from cache
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (0.40s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.15.3 (0.54s)
Fetching https://github.com/apple/swift-syntax.git from cache
Fetched https://github.com/apple/swift-syntax.git from cache (0.38s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (0.02s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
warning: /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/swift-snapshot-testing-fc18b6b3 is not valid git repository for 'https://github.com/pointfreeco/swift-snapshot-testing', will fetch again.
Fetching https://github.com/pointfreeco/swift-snapshot-testing from cache
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (0.01s)
warning: /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/swift-snapshot-testing-fc18b6b3 is not valid git repository for 'https://github.com/pointfreeco/swift-snapshot-testing', will fetch again.
Fetching https://github.com/pointfreeco/swift-snapshot-testing from cache
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (0.01s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.15.3
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/5] Emitting module LCLabel
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LCLabel/LCLabel.swift:6:8: error: no such module 'UIKit'
import UIKit
       ^
[3/5] Compiling LCLabel LCLabel.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LCLabel/LCLabel.swift:6:8: error: no such module 'UIKit'
import UIKit
       ^
[4/5] Compiling LCLabel Utils.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LCLabel/LCLabel.swift:6:8: error: no such module 'UIKit'
import UIKit
       ^
[5/5] Compiling LCLabel NSStorageExtension.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LCLabel/LCLabel.swift:6:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.10 macosSpm