The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Astral, reference main (e9d873), with Swift 6.3 for macOS (SPM) on 13 Oct 2026 00:53:28 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.5.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
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/airbnb/swift
Fetching https://github.com/apple/swift-argument-parser
[1/5579] Fetching swift
[2/12322] Fetching swift, swift-numerics
[1258/31434] Fetching swift, swift-numerics, swift-argument-parser
Fetched https://github.com/airbnb/swift from cache (4.25s)
Fetched https://github.com/apple/swift-argument-parser from cache (4.25s)
Fetched https://github.com/apple/swift-numerics from cache (4.25s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (7.20s)
Computing version for https://github.com/airbnb/swift
Computed https://github.com/airbnb/swift at 1.0.3 (0.67s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.1 (0.68s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.2
Creating working copy for https://github.com/airbnb/swift
Working copy of https://github.com/airbnb/swift resolved at 1.0.3
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.48.0/SwiftLintBinary-macos.artifactbundle.zip
Downloading binary artifact https://github.com/calda/SwiftFormat/releases/download/0.51-beta-6/SwiftFormat.artifactbundle.zip
[16375/1928976] Downloading https://github.com/calda/SwiftFormat/releases/download/0.51-beta-6/SwiftFormat.artifactbundle.zip
[327644/23623156] Downloading https://github.com/calda/SwiftFormat/releases/download/0.51-beta-6/SwiftFormat.artifactbundle.zip, https://github.com/realm/SwiftLint/releases/download/0.48.0/SwiftLintBinary-macos.artifactbundle.zip
Downloaded https://github.com/calda/SwiftFormat/releases/download/0.51-beta-6/SwiftFormat.artifactbundle.zip (0.55s)
Downloaded https://github.com/realm/SwiftLint/releases/download/0.48.0/SwiftLintBinary-macos.artifactbundle.zip (1.38s)
========================================
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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "astral",
      "name": "Astral",
      "url": "https://github.com/xiangyu-sun/Astral.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Astral",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "swift-numerics",
          "name": "swift-numerics",
          "url": "https://github.com/apple/swift-numerics",
          "version": "1.1.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-numerics",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/xiangyu-sun/Astral.git
[1/802] Fetching astral
Fetched https://github.com/xiangyu-sun/Astral.git from cache (0.95s)
Fetching https://github.com/apple/swift-numerics from cache
Fetched https://github.com/apple/swift-numerics from cache (0.55s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (1.15s)
Creating working copy for https://github.com/xiangyu-sun/Astral.git
Working copy of https://github.com/xiangyu-sun/Astral.git resolved at main (e9d873f)
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
warning: '.resolve-product-dependencies': dependency 'astral' is not used by any target
Found 1 product dependencies
  - swift-numerics
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/xiangyu-sun/Astral.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin FormatSwift
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/8] Write sources
[6/8] Compiling _NumericsShims _NumericsShims.c
[7/8] Write swift-version-69A768CDF2A0BEE1.txt
[9/18] Compiling RealModule Real.swift
[10/18] Compiling RealModule Float80+Real.swift
[11/19] Compiling RealModule Float16+Real.swift
[12/19] Compiling RealModule Float+Real.swift
[13/19] Compiling RealModule ElementaryFunctions.swift
[14/19] Compiling RealModule ApproximateEquality.swift
[15/19] Compiling RealModule AugmentedArithmetic.swift
[16/19] Compiling RealModule AlgebraicField.swift
[17/19] Emitting module RealModule
[18/19] Compiling RealModule Double+Real.swift
[19/19] Compiling RealModule RealFunctions.swift
[20/24] Compiling ComplexModule Complex.swift
[21/24] Compiling ComplexModule ElementaryFunctions.swift
[22/24] Compiling ComplexModule Arithmetic.swift
[23/24] Compiling ComplexModule Differentiable.swift
[24/24] Emitting module ComplexModule
[25/26] Compiling Numerics Numerics.swift
[26/26] Emitting module Numerics
[27/45] Compiling Astral SunDirection.swift
[28/45] Compiling Astral Table4Row.swift
[29/45] Compiling Astral SolarTerm.swift
[30/45] Compiling Astral Sun.swift
[31/47] Compiling Astral Types.swift
[32/47] Compiling Astral Zenith.swift
[33/47] Compiling Astral Julian.swift
[34/47] Compiling Astral LocationInfo.swift
[35/47] Compiling Astral Moon.swift
[36/47] Compiling Astral MoonPhase.swift
[37/47] Compiling Astral Depression.swift
[38/47] Compiling Astral Int2Double.swift
[39/47] 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.
[40/47] 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.
[41/47] Compiling Astral DateToJC.swift
[42/47] Compiling Astral DegressMinutesSeconds.swift
[43/47] Compiling Astral Angle.swift
[44/47] Compiling Astral AstralBodyPosition.swift
[45/47] Compiling Astral Observer.swift
[46/47] Compiling Astral SideReal.swift
[47/47] 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.
Build complete! (11.64s)
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.