Build Information
Failed to build HeadingIndicator, reference main (550c7f
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 01:24:29 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.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.66s)
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.0
Building package at path: $PWD
https://github.com/kiliankoe/HeadingIndicator.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun 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--7754E27361AE5C74.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/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 | }
BUILD FAILURE 6.0 macosSpm