Build Information
Failed to build HeadingIndicator 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/kiliankoe/HeadingIndicator.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/kiliankoe/HeadingIndicator
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 550c7f7 fix example indentation
Cloned https://github.com/kiliankoe/HeadingIndicator.git
Revision (git rev-parse @):
550c7f7a4636f4fae276939706b040a7294f520a
SUCCESS checkout https://github.com/kiliankoe/HeadingIndicator.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/kiliankoe/HeadingIndicator.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
[3/5] Compiling HeadingIndicator Double+ext.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] Emitting module HeadingIndicator
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:48:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:48:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:4:15: note: add @available attribute to enclosing generic struct
public struct HeadingIndicator<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:4:41: error: 'View' is only available in macOS 10.15 or newer
public struct HeadingIndicator<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:4:15: note: add @available attribute to enclosing generic struct
public struct HeadingIndicator<Content: View>: View {
^
[5/5] Compiling HeadingIndicator HeadingIndicator.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:48:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:48:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:4:15: note: add @available attribute to enclosing generic struct
public struct HeadingIndicator<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:4:41: error: 'View' is only available in macOS 10.15 or newer
public struct HeadingIndicator<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:4:15: note: add @available attribute to enclosing generic struct
public struct HeadingIndicator<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:50:14: error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
.rotationEffect(.degrees(self.targetHeading))
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:50:14: note: add 'if #available' version check
.rotationEffect(.degrees(self.targetHeading))
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:48:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:4:15: note: add @available attribute to enclosing generic struct
public struct HeadingIndicator<Content: View>: View {
^
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 HeadingIndicator
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:48:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:48:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:4:15: note: add @available attribute to enclosing generic struct
public struct HeadingIndicator<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:4:41: error: 'View' is only available in macOS 10.15 or newer
public struct HeadingIndicator<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:4:15: note: add @available attribute to enclosing generic struct
public struct HeadingIndicator<Content: View>: View {
^
[3/3] Compiling HeadingIndicator HeadingIndicator.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:48:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:48:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:4:15: note: add @available attribute to enclosing generic struct
public struct HeadingIndicator<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:4:41: error: 'View' is only available in macOS 10.15 or newer
public struct HeadingIndicator<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:4:15: note: add @available attribute to enclosing generic struct
public struct HeadingIndicator<Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:50:14: error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
.rotationEffect(.degrees(self.targetHeading))
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:50:14: note: add 'if #available' version check
.rotationEffect(.degrees(self.targetHeading))
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:48:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:4:15: note: add @available attribute to enclosing generic struct
public struct HeadingIndicator<Content: View>: View {
^
error: fatalError
BUILD FAILURE 5.10 macosSpm