Build Information
Failed to build PlusNightMode, reference 0.3.0 (fd51b0
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 16:55:30 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/DandyLyons/PlusNightMode.git
Reference: 0.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/DandyLyons/PlusNightMode
* tag 0.3.0 -> FETCH_HEAD
HEAD is now at fd51b0d Update docs
Cloned https://github.com/DandyLyons/PlusNightMode.git
Revision (git rev-parse @):
fd51b0dd0810b47386574904a65904ccdc5df2d2
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/DandyLyons/PlusNightMode.git at 0.3.0
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/swiftlang/swift-syntax
[1/12446] Fetching swift-snapshot-testing
[4233/78854] Fetching swift-snapshot-testing, swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (3.34s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (3.34s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.17.4 (3.58s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.0-prerelease-2024-07-30 (0.72s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.0-prerelease-2024-07-30
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.17.4
========================================
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": "plusnightmode",
"name": "PlusNightMode",
"url": "https://github.com/DandyLyons/PlusNightMode.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PlusNightMode",
"dependencies": [
]
}
]
}
Fetching https://github.com/DandyLyons/PlusNightMode.git
[7/205] Fetching plusnightmode
Fetched https://github.com/DandyLyons/PlusNightMode.git from cache (1.26s)
Creating working copy for https://github.com/DandyLyons/PlusNightMode.git
Working copy of https://github.com/DandyLyons/PlusNightMode.git resolved at 0.3.0 (fd51b0d)
warning: '.resolve-product-dependencies': dependency 'plusnightmode' 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/DandyLyons/PlusNightMode.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/3] Write sources
[1/3] Copying Assets.xcassets
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/12] Compiling PlusNightMode ColorSchemeModeModifier.swift
[5/12] Compiling PlusNightMode resource_bundle_accessor.swift
[6/12] Compiling PlusNightMode monochromed.swift
[7/12] Compiling PlusNightMode View + Night Mode.swift
[8/12] Compiling PlusNightMode ColorSchemeMode.swift
[9/12] Compiling PlusNightMode ColorSchemeMode+.swift
[10/12] Compiling PlusNightMode ExampleNightModeView.swift
/Users/admin/builder/spi-builder-workspace/Sources/PlusNightMode/ExampleNightModeView.swift:66:11: error: 'ExampleNightModeView' is only available in macOS 14.0 or newer
64 | /// Also used in tests.
65 | @MainActor // This shouldn't be necessary post Xcode 16 since `View` will be `@MainActor` isolated
66 | extension ExampleNightModeView {
| | `- error: 'ExampleNightModeView' is only available in macOS 14.0 or newer
| `- note: add @available attribute to enclosing extension
67 | static let night = Self(colorSchemeMode: .night)
68 | static let light = Self(colorSchemeMode: .light)
/Users/admin/builder/spi-builder-workspace/Sources/PlusNightMode/ExampleNightModeView.swift:105:3: error: 'ExampleNightModeView' is only available in macOS 14.0 or newer
103 |
104 | #Preview("Night") {
105 | ExampleNightModeView.night
| |- error: 'ExampleNightModeView' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
106 | }
107 |
/Users/admin/builder/spi-builder-workspace/Sources/PlusNightMode/ExampleNightModeView.swift:109:3: error: 'ExampleNightModeView' is only available in macOS 14.0 or newer
107 |
108 | #Preview("Light") {
109 | ExampleNightModeView.light
| |- error: 'ExampleNightModeView' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
110 | }
111 | #Preview("Dark") {
/Users/admin/builder/spi-builder-workspace/Sources/PlusNightMode/ExampleNightModeView.swift:112:3: error: 'ExampleNightModeView' is only available in macOS 14.0 or newer
110 | }
111 | #Preview("Dark") {
112 | ExampleNightModeView.dark
| |- error: 'ExampleNightModeView' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
113 | }
114 | #Preview("Auto") {
/Users/admin/builder/spi-builder-workspace/Sources/PlusNightMode/ExampleNightModeView.swift:115:3: error: 'ExampleNightModeView' is only available in macOS 14.0 or newer
113 | }
114 | #Preview("Auto") {
115 | ExampleNightModeView.auto
| |- error: 'ExampleNightModeView' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
116 | }
117 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/12] Emitting module PlusNightMode
/Users/admin/builder/spi-builder-workspace/Sources/PlusNightMode/ColorScheme+.swift:3:1: warning: extension declares a conformance of imported type 'ColorScheme' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
1 | import SwiftUI
2 |
3 | extension ColorScheme: CustomDebugStringConvertible {
| |- warning: extension declares a conformance of imported type 'ColorScheme' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
4 | public var debugDescription: String {
5 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/PlusNightMode/ExampleNightModeView.swift:66:11: error: 'ExampleNightModeView' is only available in macOS 14.0 or newer
64 | /// Also used in tests.
65 | @MainActor // This shouldn't be necessary post Xcode 16 since `View` will be `@MainActor` isolated
66 | extension ExampleNightModeView {
| | `- error: 'ExampleNightModeView' is only available in macOS 14.0 or newer
| `- note: add @available attribute to enclosing extension
67 | static let night = Self(colorSchemeMode: .night)
68 | static let light = Self(colorSchemeMode: .light)
/Users/admin/builder/spi-builder-workspace/Sources/PlusNightMode/ExampleNightModeView.swift:105:3: error: 'ExampleNightModeView' is only available in macOS 14.0 or newer
103 |
104 | #Preview("Night") {
105 | ExampleNightModeView.night
| |- error: 'ExampleNightModeView' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
106 | }
107 |
/Users/admin/builder/spi-builder-workspace/Sources/PlusNightMode/ExampleNightModeView.swift:109:3: error: 'ExampleNightModeView' is only available in macOS 14.0 or newer
107 |
108 | #Preview("Light") {
109 | ExampleNightModeView.light
| |- error: 'ExampleNightModeView' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
110 | }
111 | #Preview("Dark") {
/Users/admin/builder/spi-builder-workspace/Sources/PlusNightMode/ExampleNightModeView.swift:112:3: error: 'ExampleNightModeView' is only available in macOS 14.0 or newer
110 | }
111 | #Preview("Dark") {
112 | ExampleNightModeView.dark
| |- error: 'ExampleNightModeView' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
113 | }
114 | #Preview("Auto") {
/Users/admin/builder/spi-builder-workspace/Sources/PlusNightMode/ExampleNightModeView.swift:115:3: error: 'ExampleNightModeView' is only available in macOS 14.0 or newer
113 | }
114 | #Preview("Auto") {
115 | ExampleNightModeView.auto
| |- error: 'ExampleNightModeView' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
116 | }
117 |
[12/12] Compiling PlusNightMode ColorScheme+.swift
/Users/admin/builder/spi-builder-workspace/Sources/PlusNightMode/ColorScheme+.swift:3:1: warning: extension declares a conformance of imported type 'ColorScheme' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
1 | import SwiftUI
2 |
3 | extension ColorScheme: CustomDebugStringConvertible {
| |- warning: extension declares a conformance of imported type 'ColorScheme' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
4 | public var debugDescription: String {
5 | switch self {
BUILD FAILURE 6.0 macosSpm