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 0.0.4 (8195cc), with Swift 5.8 for macOS (SPM) on 21 Sep 2024 11:31:40 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.54.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xWDG/Colors.git
Reference: 0.0.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/0xWDG/Colors
 * tag               0.0.4      -> FETCH_HEAD
HEAD is now at 8195cc6 Fix building for multi-platform
Cloned https://github.com/0xWDG/Colors.git
Revision (git rev-parse @):
8195cc6d3046a256164c09f2c090b531b959f48c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/0xWDG/Colors.git at 0.0.4
========================================
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