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 Colors, reference main (6d4691), with Swift 5.8 for macOS (SPM) on 13 Nov 2024 16:08:17 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xWDG/Colors.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/0xWDG/Colors
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6d46916 Create FUNDING.yml
Cloned https://github.com/0xWDG/Colors.git
Revision (git rev-parse @):
6d46916d6b57efa265fd19fe97999d7c08a2ab37
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/0xWDG/Colors.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.8
Building package at path:  $PWD
https://github.com/0xWDG/Colors.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[1/4] Compiling Colors Colors.swift
/Users/admin/builder/spi-builder-workspace/Sources/Colors/Colors.swift:337:13: warning: result of 'Color' initializer is unused
            Color(NSColor.systemCyan)
            ^    ~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Colors/Colors.swift:339:23: warning: expression of type 'Color' is unused
            BaseColor.systemCyan
            ~~~~~~~~~~^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Colors/Colors.swift:356:13: warning: result of 'Color' initializer is unused
            Color(NSColor.systemMint)
            ^    ~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Colors/Colors.swift:358:23: warning: expression of type 'Color' is unused
            BaseColor.systemMint
            ~~~~~~~~~~^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Colors/Colors.swift:344:5: error: missing return in getter expected to return 'Color'
    }
    ^
/Users/admin/builder/spi-builder-workspace/Sources/Colors/Colors.swift:363:5: error: missing return in getter expected to return 'Color'
    }
    ^
[2/4] Compiling Colors ColorExtractor.swift
[3/4] Emitting module Colors
[4/4] Compiling Colors BaseColors.swift
BUILD FAILURE 5.8 macosSpm