The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build PlusNightMode, reference 0.3.0 (fd51b0), with Swift 5.10 for macOS (SPM) on 8 Aug 2024 04:59:38 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.49.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/11834] Fetching swift-snapshot-testing
[830/75629] Fetching swift-snapshot-testing, swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (3.47s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (3.47s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.17.4 (2.80s)
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.74s)
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
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
========================================
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
[1/189] Fetching plusnightmode
Fetched https://github.com/DandyLyons/PlusNightMode.git from cache (1.27s)
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:             5.10
Building package at path:  $PWD
https://github.com/DandyLyons/PlusNightMode.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[1/3] Copying Assets.xcassets
[2/3] Write swift-version-33747A42983211AE.txt
[4/12] Compiling PlusNightMode resource_bundle_accessor.swift
[5/12] Compiling PlusNightMode View + Night Mode.swift
[6/12] Compiling PlusNightMode ColorSchemeMode+.swift
[7/12] Compiling PlusNightMode monochromed.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/12] Compiling PlusNightMode ColorSchemeMode.swift
[9/12] Compiling PlusNightMode ColorScheme+.swift
[10/12] Compiling PlusNightMode ColorSchemeModeModifier.swift
[11/12] Emitting module PlusNightMode
/Users/admin/builder/spi-builder-workspace/Sources/PlusNightMode/ExampleNightModeView.swift:66:11: error: 'ExampleNightModeView' is only available in macOS 14.0 or newer
extension ExampleNightModeView {
          ^
/Users/admin/builder/spi-builder-workspace/Sources/PlusNightMode/ExampleNightModeView.swift:66:1: note: add @available attribute to enclosing extension
extension ExampleNightModeView {
^
/Users/admin/builder/spi-builder-workspace/Sources/PlusNightMode/ExampleNightModeView.swift:105:3: error: 'ExampleNightModeView' is only available in macOS 14.0 or newer
  ExampleNightModeView.night
  ^
/Users/admin/builder/spi-builder-workspace/Sources/PlusNightMode/ExampleNightModeView.swift:105:3: note: add 'if #available' version check
  ExampleNightModeView.night
  ^
/Users/admin/builder/spi-builder-workspace/Sources/PlusNightMode/ExampleNightModeView.swift:109:3: error: 'ExampleNightModeView' is only available in macOS 14.0 or newer
  ExampleNightModeView.light
  ^
/Users/admin/builder/spi-builder-workspace/Sources/PlusNightMode/ExampleNightModeView.swift:109:3: note: add 'if #available' version check
  ExampleNightModeView.light
  ^
/Users/admin/builder/spi-builder-workspace/Sources/PlusNightMode/ExampleNightModeView.swift:112:3: error: 'ExampleNightModeView' is only available in macOS 14.0 or newer
  ExampleNightModeView.dark
  ^
/Users/admin/builder/spi-builder-workspace/Sources/PlusNightMode/ExampleNightModeView.swift:112:3: note: add 'if #available' version check
  ExampleNightModeView.dark
  ^
/Users/admin/builder/spi-builder-workspace/Sources/PlusNightMode/ExampleNightModeView.swift:115:3: error: 'ExampleNightModeView' is only available in macOS 14.0 or newer
  ExampleNightModeView.auto
  ^
/Users/admin/builder/spi-builder-workspace/Sources/PlusNightMode/ExampleNightModeView.swift:115:3: note: add 'if #available' version check
  ExampleNightModeView.auto
  ^
[12/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
extension ExampleNightModeView {
          ^
/Users/admin/builder/spi-builder-workspace/Sources/PlusNightMode/ExampleNightModeView.swift:66:1: note: add @available attribute to enclosing extension
extension ExampleNightModeView {
^
/Users/admin/builder/spi-builder-workspace/Sources/PlusNightMode/ExampleNightModeView.swift:105:3: error: 'ExampleNightModeView' is only available in macOS 14.0 or newer
  ExampleNightModeView.night
  ^
/Users/admin/builder/spi-builder-workspace/Sources/PlusNightMode/ExampleNightModeView.swift:105:3: note: add 'if #available' version check
  ExampleNightModeView.night
  ^
/Users/admin/builder/spi-builder-workspace/Sources/PlusNightMode/ExampleNightModeView.swift:109:3: error: 'ExampleNightModeView' is only available in macOS 14.0 or newer
  ExampleNightModeView.light
  ^
/Users/admin/builder/spi-builder-workspace/Sources/PlusNightMode/ExampleNightModeView.swift:109:3: note: add 'if #available' version check
  ExampleNightModeView.light
  ^
/Users/admin/builder/spi-builder-workspace/Sources/PlusNightMode/ExampleNightModeView.swift:112:3: error: 'ExampleNightModeView' is only available in macOS 14.0 or newer
  ExampleNightModeView.dark
  ^
/Users/admin/builder/spi-builder-workspace/Sources/PlusNightMode/ExampleNightModeView.swift:112:3: note: add 'if #available' version check
  ExampleNightModeView.dark
  ^
/Users/admin/builder/spi-builder-workspace/Sources/PlusNightMode/ExampleNightModeView.swift:115:3: error: 'ExampleNightModeView' is only available in macOS 14.0 or newer
  ExampleNightModeView.auto
  ^
/Users/admin/builder/spi-builder-workspace/Sources/PlusNightMode/ExampleNightModeView.swift:115:3: note: add 'if #available' version check
  ExampleNightModeView.auto
  ^
error: fatalError
warning: 'spi-builder-workspace': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Tests/Plus Night ModeTests/__Snapshots__/PlusNightModeTests/testSnapshot.2.png
    /Users/admin/builder/spi-builder-workspace/Tests/Plus Night ModeTests/__Snapshots__/PlusNightModeTests/testSnapshot.4.png
    /Users/admin/builder/spi-builder-workspace/Tests/Plus Night ModeTests/__Snapshots__/PlusNightModeTests/testSnapshot.3.png
    /Users/admin/builder/spi-builder-workspace/Tests/Plus Night ModeTests/__Snapshots__/PlusNightModeTests/testSnapshot.1.png
BUILD FAILURE 5.10 macosSpm