The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Astral, reference main (e9d873), with Swift 6.2 for macOS (SPM) on 13 Oct 2026 00:52:56 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xiangyu-sun/Astral.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/xiangyu-sun/Astral
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e9d873f Fix three bugs: moon T factor, midnight rollover, rahukaalam duration
Cloned https://github.com/xiangyu-sun/Astral.git
Revision (git rev-parse @):
e9d873f744021db6f69a06877562ee0ed1091360
SUCCESS checkout https://github.com/xiangyu-sun/Astral.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/xiangyu-sun/Astral.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin FormatSwift
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/9] Write sources
[7/9] Compiling _NumericsShims _NumericsShims.c
[8/9] Write swift-version--3CB7CFEC50E0D141.txt
[10/20] Compiling RealModule Real.swift
[11/20] Compiling RealModule RealFunctions.swift
[12/21] Compiling RealModule Float80+Real.swift
[13/21] Compiling RealModule Float16+Real.swift
[14/21] Compiling RealModule Double+Real.swift
[15/21] Compiling RealModule AugmentedArithmetic.swift
[16/21] Compiling RealModule AlgebraicField.swift
[17/21] Compiling RealModule ApproximateEquality.swift
[18/21] Emitting module RealModule
[19/21] Compiling RealModule Float+Real.swift
[20/21] Compiling RealModule ElementaryFunctions.swift
[21/21] Compiling RealModule RelaxedArithmetic.swift
[22/32] Compiling ComplexModule Polar.swift
[23/32] Compiling ComplexModule Complex.swift
[24/32] Compiling ComplexModule Complex+Hashable.swift
[25/32] Compiling ComplexModule Complex+StringConvertible.swift
[26/32] Compiling ComplexModule Complex+IntegerLiteral.swift
[27/32] Compiling ComplexModule Complex+Numeric.swift
[28/33] Compiling ComplexModule Scale.swift
[29/33] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[30/33] Compiling ComplexModule Complex+AlgebraicField.swift
[31/33] Compiling ComplexModule Complex+ElementaryFunctions.swift
[32/33] Compiling ComplexModule Complex+Codable.swift
[33/33] Emitting module ComplexModule
[34/35] Compiling Numerics Numerics.swift
[35/35] Emitting module Numerics
[36/54] Compiling Astral Observer.swift
[37/54] Compiling Astral SideReal.swift
[38/54] Compiling Astral DateComponent.swift
/Users/admin/builder/spi-builder-workspace/Sources/Astral/DateComponents+Comparable.swift:13:1: warning: extension declares a conformance of imported type 'DateComponents' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
11 |
12 | /// Allows `DateComponents` values to be compared using their total seconds.
13 | extension DateComponents: Comparable {
   | |- warning: extension declares a conformance of imported type 'DateComponents' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
14 |
15 |   /// Returns `true` if `lhs` occurs before `rhs` when both are interpreted as durations.
[39/54] Compiling Astral DateComponents+Comparable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Astral/DateComponents+Comparable.swift:13:1: warning: extension declares a conformance of imported type 'DateComponents' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
11 |
12 | /// Allows `DateComponents` values to be compared using their total seconds.
13 | extension DateComponents: Comparable {
   | |- warning: extension declares a conformance of imported type 'DateComponents' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
14 |
15 |   /// Returns `true` if `lhs` occurs before `rhs` when both are interpreted as durations.
[40/54] Compiling Astral DateToJC.swift
[41/54] Compiling Astral DegressMinutesSeconds.swift
[42/54] Compiling Astral Angle.swift
[43/54] Compiling Astral AstralBodyPosition.swift
[44/54] Compiling Astral Moon.swift
[45/54] Compiling Astral MoonPhase.swift
[46/54] Emitting module Astral
/Users/admin/builder/spi-builder-workspace/Sources/Astral/DateComponents+Comparable.swift:13:1: warning: extension declares a conformance of imported type 'DateComponents' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
11 |
12 | /// Allows `DateComponents` values to be compared using their total seconds.
13 | extension DateComponents: Comparable {
   | |- warning: extension declares a conformance of imported type 'DateComponents' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
14 |
15 |   /// Returns `true` if `lhs` occurs before `rhs` when both are interpreted as durations.
[47/54] Compiling Astral SolarTerm.swift
[48/54] Compiling Astral Sun.swift
[49/54] Compiling Astral Depression.swift
[50/54] Compiling Astral Int2Double.swift
[51/54] Compiling Astral SunDirection.swift
[52/54] Compiling Astral Table4Row.swift
[53/54] Compiling Astral Julian.swift
[54/54] Compiling Astral LocationInfo.swift
[55/56] Compiling Astral Types.swift
[56/56] Compiling Astral Zenith.swift
Build complete! (34.88s)
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/airbnb/swift
[1/5579] Fetching swift
[280/12322] Fetching swift, swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (1.56s)
[1853/5579] Fetching swift
Fetched https://github.com/airbnb/swift from cache (10.55s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (11.10s)
Computing version for https://github.com/airbnb/swift
Computed https://github.com/airbnb/swift at 1.2.0 (2.93s)
Fetching https://github.com/apple/swift-argument-parser
[1/19112] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.86s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (2.48s)
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Creating working copy for https://github.com/airbnb/swift
Working copy of https://github.com/airbnb/swift resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Downloading binary artifact https://github.com/calda/SwiftFormat-nightly/releases/download/2025-12-20/SwiftFormat.artifactbundle.zip
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip
[16375/11034045] Downloading https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip
[6203448/57305396] Downloading https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip, https://github.com/calda/SwiftFormat-nightly/releases/download/2025-12-20/SwiftFormat.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip (0.96s)
Downloaded https://github.com/calda/SwiftFormat-nightly/releases/download/2025-12-20/SwiftFormat.artifactbundle.zip (2.46s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/airbnb/swift"
    },
    {
      "identity" : "swift-numerics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-numerics"
    }
  ],
  "manifest_display_name" : "Astral",
  "name" : "Astral",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "5.0"
    }
  ],
  "products" : [
    {
      "name" : "Astral",
      "targets" : [
        "Astral"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AstralTests",
      "module_type" : "SwiftTarget",
      "name" : "AstralTests",
      "path" : "Tests/AstralTests",
      "sources" : [
        "AstralTests.swift",
        "AzimuthTests.swift",
        "BugFixRegressionTests.swift",
        "DMSTests.swift",
        "DateCompoenentHelper.swift",
        "ExtremeDateTests.swift",
        "JulianTests.swift",
        "LocationInfoTests.swift",
        "Moon2Tests.swift",
        "MoonPostionTests.swift",
        "MoonTests.swift",
        "ObserverTests.swift",
        "PolarRegionTests.swift",
        "SideRealTests.swift",
        "SolarTermDaysTests.swift",
        "SolarTermTests.swift",
        "SunCalcTests.swift",
        "SunElevationAdjustmentTests.swift",
        "SunGoldenHourTests.swift",
        "SunLocalTests.swift",
        "SunUTCTests.swift",
        "TestTags.swift",
        "XCTAssertEqual.swift"
      ],
      "target_dependencies" : [
        "Astral"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Astral",
      "module_type" : "SwiftTarget",
      "name" : "Astral",
      "path" : "Sources/Astral",
      "product_dependencies" : [
        "Numerics"
      ],
      "product_memberships" : [
        "Astral"
      ],
      "sources" : [
        "Angle.swift",
        "AstralBodyPosition.swift",
        "DateComponent.swift",
        "DateComponents+Comparable.swift",
        "DateToJC.swift",
        "DegressMinutesSeconds.swift",
        "Depression.swift",
        "Int2Double.swift",
        "Julian.swift",
        "LocationInfo.swift",
        "Moon.swift",
        "MoonPhase.swift",
        "Observer.swift",
        "SideReal.swift",
        "SolarTerm.swift",
        "Sun.swift",
        "SunDirection.swift",
        "Table4Row.swift",
        "Types.swift",
        "Zenith.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.