Build Information
Failed to build HeadingIndicator, reference main (550c7f
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 10:48:20 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kiliankoe/HeadingIndicator.git
Reference: main
Initialized empty Git repository in /Users/admin/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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "headingindicator",
"name": "HeadingIndicator",
"url": "https://github.com/kiliankoe/HeadingIndicator.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/HeadingIndicator",
"dependencies": [
]
}
]
}
Fetching https://github.com/kiliankoe/HeadingIndicator.git
[1/27] Fetching headingindicator
Fetched https://github.com/kiliankoe/HeadingIndicator.git from cache (0.56s)
Creating working copy for https://github.com/kiliankoe/HeadingIndicator.git
Working copy of https://github.com/kiliankoe/HeadingIndicator.git resolved at main (550c7f7)
warning: '.resolve-product-dependencies': dependency 'headingindicator' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/kiliankoe/HeadingIndicator.git
https://github.com/kiliankoe/HeadingIndicator.git
{
"dependencies" : [
],
"manifest_display_name" : "HeadingIndicator",
"name" : "HeadingIndicator",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "HeadingIndicator",
"targets" : [
"HeadingIndicator"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "HeadingIndicator",
"module_type" : "SwiftTarget",
"name" : "HeadingIndicator",
"path" : "Sources/HeadingIndicator",
"product_memberships" : [
"HeadingIndicator"
],
"sources" : [
"Double+ext.swift",
"HeadingIndicator.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Compiling HeadingIndicator Double+ext.swift
[4/5] Emitting module HeadingIndicator
/Users/admin/builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:48:27: error: 'View' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | public struct HeadingIndicator<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
5 | let currentLocation: CLLocationCoordinate2D
6 | let currentHeading: CLHeading
:
46 | }
47 |
48 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
49 | content
50 | .rotationEffect(.degrees(self.targetHeading))
/Users/admin/builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:4:41: error: 'View' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | public struct HeadingIndicator<Content: View>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
5 | let currentLocation: CLLocationCoordinate2D
6 | let currentHeading: CLHeading
[5/5] Compiling HeadingIndicator HeadingIndicator.swift
/Users/admin/builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:48:27: error: 'View' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | public struct HeadingIndicator<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
5 | let currentLocation: CLLocationCoordinate2D
6 | let currentHeading: CLHeading
:
46 | }
47 |
48 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
49 | content
50 | .rotationEffect(.degrees(self.targetHeading))
/Users/admin/builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:4:41: error: 'View' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | public struct HeadingIndicator<Content: View>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
5 | let currentLocation: CLLocationCoordinate2D
6 | let currentHeading: CLHeading
/Users/admin/builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:50:14: error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | public struct HeadingIndicator<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
5 | let currentLocation: CLLocationCoordinate2D
6 | let currentHeading: CLHeading
:
46 | }
47 |
48 | public var body: some View {
| `- note: add @available attribute to enclosing property
49 | content
50 | .rotationEffect(.degrees(self.targetHeading))
| |- error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
51 | }
52 | }
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] Compiling HeadingIndicator Double+ext.swift
[3/4] Emitting module HeadingIndicator
/Users/admin/builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:48:27: error: 'View' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | public struct HeadingIndicator<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
5 | let currentLocation: CLLocationCoordinate2D
6 | let currentHeading: CLHeading
:
46 | }
47 |
48 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
49 | content
50 | .rotationEffect(.degrees(self.targetHeading))
/Users/admin/builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:4:41: error: 'View' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | public struct HeadingIndicator<Content: View>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
5 | let currentLocation: CLLocationCoordinate2D
6 | let currentHeading: CLHeading
[4/4] Compiling HeadingIndicator HeadingIndicator.swift
/Users/admin/builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:48:27: error: 'View' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | public struct HeadingIndicator<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
5 | let currentLocation: CLLocationCoordinate2D
6 | let currentHeading: CLHeading
:
46 | }
47 |
48 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
49 | content
50 | .rotationEffect(.degrees(self.targetHeading))
/Users/admin/builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:4:41: error: 'View' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | public struct HeadingIndicator<Content: View>: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing generic struct
5 | let currentLocation: CLLocationCoordinate2D
6 | let currentHeading: CLHeading
/Users/admin/builder/spi-builder-workspace/Sources/HeadingIndicator/HeadingIndicator.swift:50:14: error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
2 | import SwiftUI
3 |
4 | public struct HeadingIndicator<Content: View>: View {
| `- note: add @available attribute to enclosing generic struct
5 | let currentLocation: CLLocationCoordinate2D
6 | let currentHeading: CLHeading
:
46 | }
47 |
48 | public var body: some View {
| `- note: add @available attribute to enclosing property
49 | content
50 | .rotationEffect(.degrees(self.targetHeading))
| |- error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
51 | }
52 | }
BUILD FAILURE 6.1 macosSpm