Build Information
Failed to build AttributedStringBuilder with Swift 6.0 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/carson-katri/attributedstringbuilder.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/carson-katri/attributedstringbuilder
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at d2e6699 Installation instructions
Cloned https://github.com/carson-katri/attributedstringbuilder.git
Revision (git rev-parse @):
d2e66992fa56d438f30fb1ebe235f22cbdca7ea8
SUCCESS checkout https://github.com/carson-katri/attributedstringbuilder.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/carson-katri/attributedstringbuilder.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module AttributedStringBuilder
/Users/admin/builder/spi-builder-workspace/Sources/AttributedStringBuilder/AttributedStringBuilder.swift:3:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
1 | import UIKit
2 |
3 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
4 | public struct AttributedStringBuilder {
5 | public static func buildBlock(_ segments: NSAttributedString...) -> NSAttributedString {
/Users/admin/builder/spi-builder-workspace/Sources/AttributedStringBuilder/AttributedStringBuilder.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | @_functionBuilder
[4/5] Compiling AttributedStringBuilder AttributedStringBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/AttributedStringBuilder/AttributedStringBuilder.swift:3:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
1 | import UIKit
2 |
3 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
4 | public struct AttributedStringBuilder {
5 | public static func buildBlock(_ segments: NSAttributedString...) -> NSAttributedString {
/Users/admin/builder/spi-builder-workspace/Sources/AttributedStringBuilder/AttributedStringBuilder.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | @_functionBuilder
[5/5] Compiling AttributedStringBuilder Modifiers.swift
/Users/admin/builder/spi-builder-workspace/Sources/AttributedStringBuilder/AttributedStringBuilder.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | @_functionBuilder
BUILD FAILURE 6.0 macosSpm