Build Information
Failed to build UIRotationEffect 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/DominicHolmes/UIRotationEffect.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/DominicHolmes/UIRotationEffect
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at be51edc typo
Cloned https://github.com/DominicHolmes/UIRotationEffect.git
Revision (git rev-parse @):
be51edc6a0970ad5c2867ba8ceba6617a4605711
SUCCESS checkout https://github.com/DominicHolmes/UIRotationEffect.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/DominicHolmes/UIRotationEffect.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/4] Emitting module UIRotationEffect
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:5:18: error: cannot find type 'UIView' in scope
let content: UIView
^~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:9:18: error: cannot find type 'UIView' in scope
let options: UIView.AnimationOptions?
^~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:6:16: error: 'Angle' is only available in macOS 10.15 or newer
let angle: Angle
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:4:8: note: add @available attribute to enclosing generic struct
struct UIRotationView<Content: View>: UIViewRepresentable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:16:42: error: cannot find type 'UIView' in scope
func makeUIView(context: Context) -> UIView {
^~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:16:30: error: cannot find type 'Context' in scope
func makeUIView(context: Context) -> UIView {
^~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:22:33: error: cannot find type 'UIView' in scope
func updateUIView(_ uiView: UIView, context: Context) {
^~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:22:50: error: cannot find type 'Context' in scope
func updateUIView(_ uiView: UIView, context: Context) {
^~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:4:39: error: cannot find type 'UIViewRepresentable' in scope
struct UIRotationView<Content: View>: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:4:32: error: 'View' is only available in macOS 10.15 or newer
struct UIRotationView<Content: View>: UIViewRepresentable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:4:8: note: add @available attribute to enclosing generic struct
struct UIRotationView<Content: View>: UIViewRepresentable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:42:18: error: cannot find type 'UIView' in scope
let options: UIView.AnimationOptions?
^~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:39:16: error: 'Angle' is only available in macOS 10.15 or newer
let angle: Angle
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:38:8: note: add @available attribute to enclosing struct
struct UIRotationViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:45:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:45:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:38:8: note: add @available attribute to enclosing struct
struct UIRotationViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:53:111: error: cannot find type 'UIView' in scope
func uiRotationEffect(_ angle: Angle, duration: TimeInterval? = nil, delay: TimeInterval? = nil, options: UIView.AnimationOptions? = nil, completion: ((Bool) -> Void)? = nil) -> some View {
^~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:53:36: error: 'Angle' is only available in macOS 10.15 or newer
func uiRotationEffect(_ angle: Angle, duration: TimeInterval? = nil, delay: TimeInterval? = nil, options: UIView.AnimationOptions? = nil, completion: ((Bool) -> Void)? = nil) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:53:10: note: add @available attribute to enclosing instance method
func uiRotationEffect(_ angle: Angle, duration: TimeInterval? = nil, delay: TimeInterval? = nil, options: UIView.AnimationOptions? = nil, completion: ((Bool) -> Void)? = nil) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:52:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:53:188: error: 'View' is only available in macOS 10.15 or newer
func uiRotationEffect(_ angle: Angle, duration: TimeInterval? = nil, delay: TimeInterval? = nil, options: UIView.AnimationOptions? = nil, completion: ((Bool) -> Void)? = nil) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:53:10: note: add @available attribute to enclosing instance method
func uiRotationEffect(_ angle: Angle, duration: TimeInterval? = nil, delay: TimeInterval? = nil, options: UIView.AnimationOptions? = nil, completion: ((Bool) -> Void)? = nil) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:52:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:52:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:52:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:62:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:62:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:60:8: note: add @available attribute to enclosing struct
struct UIRotationView_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:68:35: error: 'Angle' is only available in macOS 10.15 or newer
@State private var angle: Angle = .degrees(340)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:66:12: note: add @available attribute to enclosing struct
struct RotationExampleContentView: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:68:10: error: 'State' is only available in macOS 10.15 or newer
@State private var angle: Angle = .degrees(340)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:66:12: note: add @available attribute to enclosing struct
struct RotationExampleContentView: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:66:12: note: add @available attribute to enclosing struct
struct RotationExampleContentView: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:70:24: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:70:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:66:12: note: add @available attribute to enclosing struct
struct RotationExampleContentView: View {
^
[4/4] Compiling UIRotationEffect UIRotationEffect.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:5:18: error: cannot find type 'UIView' in scope
let content: UIView
^~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:9:18: error: cannot find type 'UIView' in scope
let options: UIView.AnimationOptions?
^~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:6:16: error: 'Angle' is only available in macOS 10.15 or newer
let angle: Angle
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:4:8: note: add @available attribute to enclosing generic struct
struct UIRotationView<Content: View>: UIViewRepresentable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:16:42: error: cannot find type 'UIView' in scope
func makeUIView(context: Context) -> UIView {
^~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:16:30: error: cannot find type 'Context' in scope
func makeUIView(context: Context) -> UIView {
^~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:22:33: error: cannot find type 'UIView' in scope
func updateUIView(_ uiView: UIView, context: Context) {
^~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:22:50: error: cannot find type 'Context' in scope
func updateUIView(_ uiView: UIView, context: Context) {
^~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:4:39: error: cannot find type 'UIViewRepresentable' in scope
struct UIRotationView<Content: View>: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:4:32: error: 'View' is only available in macOS 10.15 or newer
struct UIRotationView<Content: View>: UIViewRepresentable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:4:8: note: add @available attribute to enclosing generic struct
struct UIRotationView<Content: View>: UIViewRepresentable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:42:18: error: cannot find type 'UIView' in scope
let options: UIView.AnimationOptions?
^~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:39:16: error: 'Angle' is only available in macOS 10.15 or newer
let angle: Angle
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:38:8: note: add @available attribute to enclosing struct
struct UIRotationViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:45:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:45:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:38:8: note: add @available attribute to enclosing struct
struct UIRotationViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:53:111: error: cannot find type 'UIView' in scope
func uiRotationEffect(_ angle: Angle, duration: TimeInterval? = nil, delay: TimeInterval? = nil, options: UIView.AnimationOptions? = nil, completion: ((Bool) -> Void)? = nil) -> some View {
^~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:53:36: error: 'Angle' is only available in macOS 10.15 or newer
func uiRotationEffect(_ angle: Angle, duration: TimeInterval? = nil, delay: TimeInterval? = nil, options: UIView.AnimationOptions? = nil, completion: ((Bool) -> Void)? = nil) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:53:10: note: add @available attribute to enclosing instance method
func uiRotationEffect(_ angle: Angle, duration: TimeInterval? = nil, delay: TimeInterval? = nil, options: UIView.AnimationOptions? = nil, completion: ((Bool) -> Void)? = nil) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:52:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:53:188: error: 'View' is only available in macOS 10.15 or newer
func uiRotationEffect(_ angle: Angle, duration: TimeInterval? = nil, delay: TimeInterval? = nil, options: UIView.AnimationOptions? = nil, completion: ((Bool) -> Void)? = nil) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:53:10: note: add @available attribute to enclosing instance method
func uiRotationEffect(_ angle: Angle, duration: TimeInterval? = nil, delay: TimeInterval? = nil, options: UIView.AnimationOptions? = nil, completion: ((Bool) -> Void)? = nil) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:52:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:52:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:52:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:62:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:62:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:60:8: note: add @available attribute to enclosing struct
struct UIRotationView_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:68:35: error: 'Angle' is only available in macOS 10.15 or newer
@State private var angle: Angle = .degrees(340)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:66:12: note: add @available attribute to enclosing struct
struct RotationExampleContentView: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:68:10: error: 'State' is only available in macOS 10.15 or newer
@State private var angle: Angle = .degrees(340)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:66:12: note: add @available attribute to enclosing struct
struct RotationExampleContentView: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:66:12: note: add @available attribute to enclosing struct
struct RotationExampleContentView: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:70:24: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:70:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:66:12: note: add @available attribute to enclosing struct
struct RotationExampleContentView: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:18:36: error: cannot infer contextual base in reference to member 'clear'
content.backgroundColor = .clear
~^~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:23:9: error: cannot find 'UIView' in scope
UIView.animate(withDuration: duration ?? 0.25, delay: delay ?? 0.0, options: options ?? [], animations: {
^~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:46:17: error: cannot find 'UIHostingController' in scope
let c = UIHostingController(rootView: content).view
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:76:26: error: no exact matches in reference to static method 'buildExpression'
.font(.caption)
^
SwiftUI.AccessibilityRotorContentBuilder:3:24: note: candidate requires that 'Text' conform to 'AccessibilityRotorContent' (requirement specified as 'Content' : 'AccessibilityRotorContent')
public static func buildExpression<Content>(_ content: Content) -> Content where Content : AccessibilityRotorContent
^
SwiftUI.SceneBuilder:3:24: note: candidate requires that 'Text' conform to 'Scene' (requirement specified as 'Content' : 'Scene')
public static func buildExpression<Content>(_ content: Content) -> Content where Content : Scene
^
SwiftUI.ToolbarContentBuilder:6:24: note: candidate requires that 'Text' conform to 'CustomizableToolbarContent' (requirement specified as 'Content' : 'CustomizableToolbarContent')
public static func buildExpression<Content>(_ content: Content) -> Content where Content : CustomizableToolbarContent
^
SwiftUI.ToolbarContentBuilder:6:24: note: candidate requires that 'Text' conform to 'CustomizableToolbarContent' (requirement specified as 'Content' : 'CustomizableToolbarContent')
public static func buildExpression<Content>(_ content: Content) -> Content where Content : CustomizableToolbarContent
^
SwiftUI.TableColumnBuilder:7:24: note: candidate requires that 'Text' conform to 'TableColumnContent' (requirement specified as 'Column' : 'TableColumnContent')
public static func buildExpression<Column>(_ column: Column) -> Column where RowValue == Column.TableRowValue, Sort == Column.TableColumnSortComparator, Column : TableColumnContent
^
SwiftUI.CommandsBuilder:5:24: note: candidate requires that 'Text' conform to 'Commands' (requirement specified as 'Content' : 'Commands')
public static func buildExpression<Content>(_ content: Content) -> Content where Content : Commands
^
SwiftUI.TableRowBuilder:5:24: note: candidate requires that 'Text' conform to 'TableRowContent' (requirement specified as 'Content' : 'TableRowContent')
public static func buildExpression<Content>(_ content: Content) -> Content where Value == Content.TableRowValue, Content : TableRowContent
^
error: fatalError
[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/3] Emitting module UIRotationEffect
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:5:18: error: cannot find type 'UIView' in scope
let content: UIView
^~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:9:18: error: cannot find type 'UIView' in scope
let options: UIView.AnimationOptions?
^~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:6:16: error: 'Angle' is only available in macOS 10.15 or newer
let angle: Angle
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:4:8: note: add @available attribute to enclosing generic struct
struct UIRotationView<Content: View>: UIViewRepresentable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:16:42: error: cannot find type 'UIView' in scope
func makeUIView(context: Context) -> UIView {
^~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:16:30: error: cannot find type 'Context' in scope
func makeUIView(context: Context) -> UIView {
^~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:22:33: error: cannot find type 'UIView' in scope
func updateUIView(_ uiView: UIView, context: Context) {
^~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:22:50: error: cannot find type 'Context' in scope
func updateUIView(_ uiView: UIView, context: Context) {
^~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:4:39: error: cannot find type 'UIViewRepresentable' in scope
struct UIRotationView<Content: View>: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:4:32: error: 'View' is only available in macOS 10.15 or newer
struct UIRotationView<Content: View>: UIViewRepresentable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:4:8: note: add @available attribute to enclosing generic struct
struct UIRotationView<Content: View>: UIViewRepresentable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:42:18: error: cannot find type 'UIView' in scope
let options: UIView.AnimationOptions?
^~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:39:16: error: 'Angle' is only available in macOS 10.15 or newer
let angle: Angle
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:38:8: note: add @available attribute to enclosing struct
struct UIRotationViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:45:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:45:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:38:8: note: add @available attribute to enclosing struct
struct UIRotationViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:53:111: error: cannot find type 'UIView' in scope
func uiRotationEffect(_ angle: Angle, duration: TimeInterval? = nil, delay: TimeInterval? = nil, options: UIView.AnimationOptions? = nil, completion: ((Bool) -> Void)? = nil) -> some View {
^~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:53:36: error: 'Angle' is only available in macOS 10.15 or newer
func uiRotationEffect(_ angle: Angle, duration: TimeInterval? = nil, delay: TimeInterval? = nil, options: UIView.AnimationOptions? = nil, completion: ((Bool) -> Void)? = nil) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:53:10: note: add @available attribute to enclosing instance method
func uiRotationEffect(_ angle: Angle, duration: TimeInterval? = nil, delay: TimeInterval? = nil, options: UIView.AnimationOptions? = nil, completion: ((Bool) -> Void)? = nil) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:52:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:53:188: error: 'View' is only available in macOS 10.15 or newer
func uiRotationEffect(_ angle: Angle, duration: TimeInterval? = nil, delay: TimeInterval? = nil, options: UIView.AnimationOptions? = nil, completion: ((Bool) -> Void)? = nil) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:53:10: note: add @available attribute to enclosing instance method
func uiRotationEffect(_ angle: Angle, duration: TimeInterval? = nil, delay: TimeInterval? = nil, options: UIView.AnimationOptions? = nil, completion: ((Bool) -> Void)? = nil) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:52:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:52:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:52:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:62:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:62:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:60:8: note: add @available attribute to enclosing struct
struct UIRotationView_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:68:35: error: 'Angle' is only available in macOS 10.15 or newer
@State private var angle: Angle = .degrees(340)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:66:12: note: add @available attribute to enclosing struct
struct RotationExampleContentView: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:68:10: error: 'State' is only available in macOS 10.15 or newer
@State private var angle: Angle = .degrees(340)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:66:12: note: add @available attribute to enclosing struct
struct RotationExampleContentView: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:66:12: note: add @available attribute to enclosing struct
struct RotationExampleContentView: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:70:24: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:70:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:66:12: note: add @available attribute to enclosing struct
struct RotationExampleContentView: View {
^
[3/3] Compiling UIRotationEffect UIRotationEffect.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:5:18: error: cannot find type 'UIView' in scope
let content: UIView
^~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:9:18: error: cannot find type 'UIView' in scope
let options: UIView.AnimationOptions?
^~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:6:16: error: 'Angle' is only available in macOS 10.15 or newer
let angle: Angle
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:4:8: note: add @available attribute to enclosing generic struct
struct UIRotationView<Content: View>: UIViewRepresentable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:16:42: error: cannot find type 'UIView' in scope
func makeUIView(context: Context) -> UIView {
^~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:16:30: error: cannot find type 'Context' in scope
func makeUIView(context: Context) -> UIView {
^~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:22:33: error: cannot find type 'UIView' in scope
func updateUIView(_ uiView: UIView, context: Context) {
^~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:22:50: error: cannot find type 'Context' in scope
func updateUIView(_ uiView: UIView, context: Context) {
^~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:4:39: error: cannot find type 'UIViewRepresentable' in scope
struct UIRotationView<Content: View>: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:4:32: error: 'View' is only available in macOS 10.15 or newer
struct UIRotationView<Content: View>: UIViewRepresentable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:4:8: note: add @available attribute to enclosing generic struct
struct UIRotationView<Content: View>: UIViewRepresentable {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:42:18: error: cannot find type 'UIView' in scope
let options: UIView.AnimationOptions?
^~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:39:16: error: 'Angle' is only available in macOS 10.15 or newer
let angle: Angle
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:38:8: note: add @available attribute to enclosing struct
struct UIRotationViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:45:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:45:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:38:8: note: add @available attribute to enclosing struct
struct UIRotationViewModifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:53:111: error: cannot find type 'UIView' in scope
func uiRotationEffect(_ angle: Angle, duration: TimeInterval? = nil, delay: TimeInterval? = nil, options: UIView.AnimationOptions? = nil, completion: ((Bool) -> Void)? = nil) -> some View {
^~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:53:36: error: 'Angle' is only available in macOS 10.15 or newer
func uiRotationEffect(_ angle: Angle, duration: TimeInterval? = nil, delay: TimeInterval? = nil, options: UIView.AnimationOptions? = nil, completion: ((Bool) -> Void)? = nil) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:53:10: note: add @available attribute to enclosing instance method
func uiRotationEffect(_ angle: Angle, duration: TimeInterval? = nil, delay: TimeInterval? = nil, options: UIView.AnimationOptions? = nil, completion: ((Bool) -> Void)? = nil) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:52:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:53:188: error: 'View' is only available in macOS 10.15 or newer
func uiRotationEffect(_ angle: Angle, duration: TimeInterval? = nil, delay: TimeInterval? = nil, options: UIView.AnimationOptions? = nil, completion: ((Bool) -> Void)? = nil) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:53:10: note: add @available attribute to enclosing instance method
func uiRotationEffect(_ angle: Angle, duration: TimeInterval? = nil, delay: TimeInterval? = nil, options: UIView.AnimationOptions? = nil, completion: ((Bool) -> Void)? = nil) -> some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:52:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:52:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:52:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:62:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:62:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:60:8: note: add @available attribute to enclosing struct
struct UIRotationView_Previews: PreviewProvider {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:68:35: error: 'Angle' is only available in macOS 10.15 or newer
@State private var angle: Angle = .degrees(340)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:66:12: note: add @available attribute to enclosing struct
struct RotationExampleContentView: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:68:10: error: 'State' is only available in macOS 10.15 or newer
@State private var angle: Angle = .degrees(340)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:66:12: note: add @available attribute to enclosing struct
struct RotationExampleContentView: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:66:12: note: add @available attribute to enclosing struct
struct RotationExampleContentView: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:70:24: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:70:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:66:12: note: add @available attribute to enclosing struct
struct RotationExampleContentView: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:18:36: error: cannot infer contextual base in reference to member 'clear'
content.backgroundColor = .clear
~^~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:23:9: error: cannot find 'UIView' in scope
UIView.animate(withDuration: duration ?? 0.25, delay: delay ?? 0.0, options: options ?? [], animations: {
^~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:46:17: error: cannot find 'UIHostingController' in scope
let c = UIHostingController(rootView: content).view
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIRotationEffect/UIRotationEffect.swift:76:26: error: no exact matches in reference to static method 'buildExpression'
.font(.caption)
^
SwiftUI.AccessibilityRotorContentBuilder:3:24: note: candidate requires that 'Text' conform to 'AccessibilityRotorContent' (requirement specified as 'Content' : 'AccessibilityRotorContent')
public static func buildExpression<Content>(_ content: Content) -> Content where Content : AccessibilityRotorContent
^
SwiftUI.SceneBuilder:3:24: note: candidate requires that 'Text' conform to 'Scene' (requirement specified as 'Content' : 'Scene')
public static func buildExpression<Content>(_ content: Content) -> Content where Content : Scene
^
SwiftUI.ToolbarContentBuilder:6:24: note: candidate requires that 'Text' conform to 'CustomizableToolbarContent' (requirement specified as 'Content' : 'CustomizableToolbarContent')
public static func buildExpression<Content>(_ content: Content) -> Content where Content : CustomizableToolbarContent
^
SwiftUI.ToolbarContentBuilder:6:24: note: candidate requires that 'Text' conform to 'CustomizableToolbarContent' (requirement specified as 'Content' : 'CustomizableToolbarContent')
public static func buildExpression<Content>(_ content: Content) -> Content where Content : CustomizableToolbarContent
^
SwiftUI.TableColumnBuilder:7:24: note: candidate requires that 'Text' conform to 'TableColumnContent' (requirement specified as 'Column' : 'TableColumnContent')
public static func buildExpression<Column>(_ column: Column) -> Column where RowValue == Column.TableRowValue, Sort == Column.TableColumnSortComparator, Column : TableColumnContent
^
SwiftUI.CommandsBuilder:5:24: note: candidate requires that 'Text' conform to 'Commands' (requirement specified as 'Content' : 'Commands')
public static func buildExpression<Content>(_ content: Content) -> Content where Content : Commands
^
SwiftUI.TableRowBuilder:5:24: note: candidate requires that 'Text' conform to 'TableRowContent' (requirement specified as 'Content' : 'TableRowContent')
public static func buildExpression<Content>(_ content: Content) -> Content where Value == Content.TableRowValue, Content : TableRowContent
^
error: fatalError
BUILD FAILURE 5.10 macosSpm
Build Machine: Mac 7