Build Information
Failed to build SunKit, reference main (a18a6f
), with Swift 5.9 for macOS (SPM) on 3 Nov 2024 12:46:15 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Sunlitt/SunKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Sunlitt/SunKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a18a6f7 Created SunKit.yml (#56)
Cloned https://github.com/Sunlitt/SunKit.git
Revision (git rev-parse @):
a18a6f780770680f4f2ffe3488a1f3b335ec5ff6
SUCCESS checkout https://github.com/Sunlitt/SunKit.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD
https://github.com/Sunlitt/SunKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/10] Compiling SunKit EquatorialCoordinates.swift
[2/10] Compiling SunKit HorizonCoordinates.swift
[3/11] Compiling SunKit Angle.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/11] Compiling SunKit EclipticCoordinates.swift
[5/11] Compiling SunKit DMS.swift
[6/11] Emitting module SunKit
/Users/admin/builder/spi-builder-workspace/Sources/SunKit/Extensions.swift:22:17: error: unknown attribute 'retroactive'
extension Date: @retroactive Strideable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SunKit/Extensions.swift:22:1: error: inheritance from non-protocol type 'any Strideable'
extension Date: @retroactive Strideable {
^
[7/11] Compiling SunKit Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SunKit/Extensions.swift:22:17: error: unknown attribute 'retroactive'
extension Date: @retroactive Strideable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SunKit/Extensions.swift:22:1: error: inheritance from non-protocol type 'any Strideable'
extension Date: @retroactive Strideable {
^
[8/11] Compiling SunKit HMS.swift
[9/11] Compiling SunKit SunElevationEvents.swift
[10/11] Compiling SunKit Sun.swift
[11/11] Compiling SunKit Utils.swift
error: fatalError
BUILD FAILURE 5.9 macosSpm