The Swift Package Index logo.Swift Package Index

Build Information

Successful build of ChineseAstrologyCalendar, reference v4.2.0 (4a7456), with Swift 6.4 for macOS (SPM) on 15 Oct 2026 22:36:36 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xiangyu-sun/ChineseAstrologyCalendar.git
Reference: v4.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/xiangyu-sun/ChineseAstrologyCalendar
 * tag               v4.2.0     -> FETCH_HEAD
HEAD is now at 4a74564 feat: time-zone-aware special-day sources, today-or-next and upcoming queries, RecurringDaySource (v4.2.0)
Cloned https://github.com/xiangyu-sun/ChineseAstrologyCalendar.git
Revision (git rev-parse @):
4a7456493b13ba9476a78a705fac85dbc8aa3c93
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/xiangyu-sun/ChineseAstrologyCalendar.git at v4.2.0
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/xiangyu-sun/Astral.git
[1/802] Fetching astral
[50/7558] Fetching astral, swift-numerics
Fetched https://github.com/xiangyu-sun/Astral.git (1.48s)
Fetched https://github.com/apple/swift-numerics (1.48s)
Creating working copy for https://github.com/xiangyu-sun/Astral.git
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/xiangyu-sun/Astral.git resolved at 1.2.0
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
========================================
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": "chineseastrologycalendar",
      "name": "ChineseAstrologyCalendar",
      "url": "https://github.com/xiangyu-sun/ChineseAstrologyCalendar.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ChineseAstrologyCalendar",
      "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": [
          ]
        },
        {
          "identity": "astral",
          "name": "Astral",
          "url": "https://github.com/xiangyu-sun/Astral.git",
          "version": "1.2.0",
          "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/ChineseAstrologyCalendar.git
[1/2025] Fetching chineseastrologycalendar
Fetched https://github.com/xiangyu-sun/ChineseAstrologyCalendar.git (1.07s)
Fetching https://github.com/apple/swift-numerics from cache
Fetching https://github.com/xiangyu-sun/Astral.git from cache
Fetched https://github.com/apple/swift-numerics from cache (0.56s)
Fetched https://github.com/xiangyu-sun/Astral.git from cache (0.58s)
Computing version for https://github.com/xiangyu-sun/Astral.git
Computed https://github.com/xiangyu-sun/Astral.git at 1.2.0 (1.18s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.57s)
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/xiangyu-sun/ChineseAstrologyCalendar.git
Working copy of https://github.com/xiangyu-sun/ChineseAstrologyCalendar.git resolved at v4.2.0 (4a74564)
Creating working copy for https://github.com/xiangyu-sun/Astral.git
Working copy of https://github.com/xiangyu-sun/Astral.git resolved at 1.2.0
warning: '.resolve-product-dependencies': dependency 'chineseastrologycalendar' is not used by any target
Found 2 product dependencies
  - swift-numerics
  - Astral
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/xiangyu-sun/ChineseAstrologyCalendar.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[45 / 89]
[48 / 90] _NumericsShims
[52 / 104]
[63 / 104] RealModule
[64 / 104] RealModule
[80 / 116] ComplexModule
[83 / 116] ComplexModule
[94 / 119] Numerics
[103 / 120] Astral
[111 / 176]
[117 / 176]
[122 / 176]
[124 / 176]
[128 / 176]
[130 / 176]
[133 / 176]
[137 / 176]
[139 / 176]
[140 / 176]
[141 / 176]
[146 / 176]
[148 / 176]
[159 / 176] Astral
[160 / 176] Astral
[166 / 177] Astral
[168 / 177] Astral
[168 / 177] ChineseAstrologyCalendar
[178 / 238]
[181 / 238]
[189 / 238]
[191 / 238]
[192 / 238]
[196 / 238]
[197 / 238]
[199 / 238]
[203 / 238]
[206 / 238]
[209 / 238]
[210 / 238]
[216 / 238]
[218 / 238]
[229 / 238] ChineseAstrologyCalendar
[235 / 238] ChineseAstrologyCalendar
Build complete! (14.79 sec)
/Users/admin/builder/spi-builder-workspace/Sources/ChineseAstrologyCalendar/Date/Date+DateComponents.swift:84:3: warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'DateFormatter', consider removing it
82 |   static let chineseENDateFormatterLock = NSLock()
83 |
84 |   nonisolated(unsafe) static let chineseENDateFormatter: DateFormatter = {
   |   `- warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'DateFormatter', consider removing it
85 |     let df = DateFormatter()
86 |     df.calendar = Calendar.chineseCalendar
/Users/admin/builder/spi-builder-workspace/Sources/ChineseAstrologyCalendar/Date/Date+DateComponents.swift:84:3: warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'DateFormatter', consider removing it
82 |   static let chineseENDateFormatterLock = NSLock()
83 |
84 |   nonisolated(unsafe) static let chineseENDateFormatter: DateFormatter = {
   |   `- warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'DateFormatter', consider removing it
85 |     let df = DateFormatter()
86 |     df.calendar = Calendar.chineseCalendar
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-numerics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-numerics"
    },
    {
      "identity" : "astral",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/xiangyu-sun/Astral.git"
    }
  ],
  "manifest_display_name" : "ChineseAstrologyCalendar",
  "name" : "ChineseAstrologyCalendar",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "macos",
      "version" : "10.14"
    }
  ],
  "products" : [
    {
      "name" : "ChineseAstrologyCalendar",
      "targets" : [
        "ChineseAstrologyCalendar"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ChineseAstrologyCalendarTests",
      "module_type" : "SwiftTarget",
      "name" : "ChineseAstrologyCalendarTests",
      "path" : "Tests/ChineseAstrologyCalendarTests",
      "sources" : [
        "BaziCorrectnessTests.swift",
        "BaziTests.swift",
        "ChineseAstrologyCalendarTests.swift",
        "ChineseFestivalTests.swift",
        "ChineseNewYearTests.swift",
        "DateComponentsFromChineseCalendarTests.swift",
        "DateComponentsMonthTests.swift",
        "DateComponentsMonthTests_25.swift",
        "DateConstructorTests.swift",
        "DateStringTests.swift",
        "DayConverterTests.swift",
        "DayMoonPhaseTests.swift",
        "DebugLunarMansionTest.swift",
        "DizhiAdditionalTests.swift",
        "DizhiRelationshipTests.swift",
        "EventModelTitleTests.swift",
        "FourAnimalsTest.swift",
        "IntegrationTests.swift",
        "JiaziTests.swift",
        "JieqiHealthTests.swift",
        "JieqiTests.swift",
        "LocalizationCoverageTests.swift",
        "LocalizationTests.swift",
        "LocalizedContentProviderTests.swift",
        "LunarMansionCorrectionTest.swift",
        "LunarMansionOffsetTest.swift",
        "LunarMansionTests.swift",
        "LunarMansionValidationTests.swift",
        "NayinTests.swift",
        "NextFiveDaysTwelveGodTests.swift",
        "QijieDizhiTests.swift",
        "RiZhuTests.swift",
        "SeasonTests.swift",
        "ShiZhuTests.swift",
        "ShichenAdditionalTests.swift",
        "ShichenTests.swift",
        "SpecialDayTests.swift",
        "SpecialDayTimeZoneTests.swift",
        "TodayLunarMansionTest.swift",
        "V4APITests.swift",
        "WuxingAdditionalTests.swift",
        "WuxingTests.swift"
      ],
      "target_dependencies" : [
        "ChineseAstrologyCalendar"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ChineseAstrologyCalendar",
      "module_type" : "SwiftTarget",
      "name" : "ChineseAstrologyCalendar",
      "path" : "Sources/ChineseAstrologyCalendar",
      "product_dependencies" : [
        "Numerics",
        "Astral"
      ],
      "product_memberships" : [
        "ChineseAstrologyCalendar"
      ],
      "sources" : [
        "Bazi.swift",
        "ChineseAlmanac.swift",
        "ChineseFestival.swift",
        "Date/Date+Construct.swift",
        "Date/Date+DateComponents.swift",
        "Date/Date+Day.swift",
        "Date/Date+Ganzhi.swift",
        "Date/Date+SpecialDay.swift",
        "Date/Date+Year.swift",
        "Date/DateComponents+Day.swift",
        "Date/DateComponents+Hour.swift",
        "Date/DateComponents+Month.swift",
        "Date/DayConverter.swift",
        "Date/LunarDate.swift",
        "Date/YearGanzhi.swift",
        "DateFormatter.swift",
        "Day.swift",
        "DizhiGanzhi/Dizhi.swift",
        "DizhiGanzhi/DizhiRelationship.swift",
        "DizhiGanzhi/Ganzhi.swift",
        "DizhiGanzhi/Jiazi.swift",
        "DizhiGanzhi/Nayin.swift",
        "DizhiGanzhi/Tiangan.swift",
        "DizhiGanzhi/Zodiac.swift",
        "Event/EventModel.swift",
        "FiveElements/FangWei.swift",
        "FiveElements/FangWeiConvertible.swift",
        "FiveElements/Season.swift",
        "FiveElements/WuxingConvertable.swift",
        "FiveElements/wuxing.swift",
        "Jieqi/Jieqi+Health.swift",
        "Jieqi/Jieqi.swift",
        "Localization/Bazi+Localized.swift",
        "Localization/ChineseFestival+Localized.swift",
        "Localization/ChineseMoonPhase+Localized.swift",
        "Localization/Day+Localized.swift",
        "Localization/DisplayLanguage.swift",
        "Localization/DizhiRelationship+Localized.swift",
        "Localization/EventModel+Localized.swift",
        "Localization/FangWei+Localized.swift",
        "Localization/Ganzhi+Localized.swift",
        "Localization/Jieqi+Localized.swift",
        "Localization/LunarMansion+Localized.swift",
        "Localization/LunarMonth.swift",
        "Localization/Nayin+Localized.swift",
        "Localization/Season+Localized.swift",
        "Localization/Shichen+Localized.swift",
        "Localization/Tables/RussianFestivalContent.swift",
        "Localization/Tables/RussianJieqiContent.swift",
        "Localization/Tables/SpanishFestivalContent.swift",
        "Localization/Tables/SpanishJieqiContent.swift",
        "Localization/TwelveGods+Localized.swift",
        "Localization/Wuxing+Localized.swift",
        "Localization/Zodiac+Localized.swift",
        "LunarMansion.swift",
        "Math.swift",
        "Moon/MoonPhase.swift",
        "NumberFormatter+Text.swift",
        "Shichen.swift",
        "SpecialDay.swift",
        "SpecialDaySources/ChineseFestivalContentProvider.swift",
        "SpecialDaySources/DeprecatedContentProviders.swift",
        "SpecialDaySources/FestivalSource.swift",
        "SpecialDaySources/JieqiContentProvider.swift",
        "SpecialDaySources/JieqiSource.swift",
        "SpecialDaySources/LocalizedFestivalContentProvider.swift",
        "SpecialDaySources/LocalizedJieqiContentProvider.swift",
        "SpecialDaySources/RecurringDaySource.swift",
        "TwelveGods.swift",
        "YingYang.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/xiangyu-sun/chineseastrologycalendar/v4.2.0
Repository:               xiangyu-sun/ChineseAstrologyCalendar
Swift version used:       6.4
Target:                   ChineseAstrologyCalendar
Extracting symbol information for 'ChineseAstrologyCalendar'...
Finished extracting symbol information for 'ChineseAstrologyCalendar'. (3.21s)
Building documentation for 'ChineseAstrologyCalendar'...
warning: Parameter 'date' not found in instance method declaration
   --> Sources/ChineseAstrologyCalendar/Shichen.swift:205:7-205:42
203 |   /// Checks if a given date falls within this Shichen period.
204 |   ///
205 +   /// - Parameter date: The date to check
    |       ╰─suggestion: Remove 'date' parameter documentation
206 |   /// - Returns: `true` if the date is within this Shichen's time range
207 |   public func contains(_ testDate: Date) -> Bool {
warning: Parameter 'testDate' is missing documentation
   --> Sources/ChineseAstrologyCalendar/Shichen.swift:205:42-205:42
203 |   /// Checks if a given date falls within this Shichen period.
204 |   ///
205 +   /// - Parameter date: The date to check
    |                                          ╰─suggestion: Document 'testDate' parameter
206 |   /// - Returns: `true` if the date is within this Shichen's time range
207 |   public func contains(_ testDate: Date) -> Bool {
warning: 'true' doesn't exist at '/ChineseAstrologyCalendar/YinYangIdentifiable/yin'
  --> Sources/ChineseAstrologyCalendar/YingYang.swift:22:17-22:21
20 | /// Types that can indicate whether they are Yin or Yang based on their raw value.
21 | public protocol YinYangIdentifiable {
22 +   /// Returns ``true`` if the value represents Yin.
23 |   var yin: Bool { get }
24 | }
Finished building documentation for 'ChineseAstrologyCalendar' (0.51s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/xiangyu-sun/chineseastrologycalendar/v4.2.0
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/apple/swift-numerics
Updating https://github.com/xiangyu-sun/Astral.git
Updated https://github.com/apple/swift-numerics (0.61s)
Updated https://github.com/xiangyu-sun/Astral.git (0.63s)
[1/2345] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin (2.66s)
Computing version for https://github.com/xiangyu-sun/Astral.git
Computed https://github.com/xiangyu-sun/Astral.git at 1.2.0 (3.24s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.54s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (2.31s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3839] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (1.27s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.05s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
Building for debugging...
[Planning deferred tasks]
[20 / 43] Snippets
[31 / 58] SymbolKit
[40 / 58] SymbolKit
[52 / 59] SymbolKit
[56 / 63] snippet-extract-product
[59 / 63] snippet-extract-product
[61 / 63] snippet-extract-product
Build complete! (2.28 sec)
Building for debugging...
[Pre-planning 1 / 184]
[Planning deferred tasks]
[2 / 44]
[14 / 53] RealModule
[30 / 65] ComplexModule
[37 / 63] Numerics
[42 / 59] Astral
[53 / 70] Astral
[57 / 67] Astral
[69 / 77] ChineseAstrologyCalendar
/Users/admin/builder/spi-builder-workspace/Sources/ChineseAstrologyCalendar/Date/Date+DateComponents.swift:84:3: warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'DateFormatter', consider removing it
82 |   static let chineseENDateFormatterLock = NSLock()
83 |
84 |   nonisolated(unsafe) static let chineseENDateFormatter: DateFormatter = {
   |   `- warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'DateFormatter', consider removing it
85 |     let df = DateFormatter()
86 |     df.calendar = Calendar.chineseCalendar
/Users/admin/builder/spi-builder-workspace/Sources/ChineseAstrologyCalendar/Date/Date+DateComponents.swift:84:3: warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'DateFormatter', consider removing it
82 |   static let chineseENDateFormatterLock = NSLock()
83 |
84 |   nonisolated(unsafe) static let chineseENDateFormatter: DateFormatter = {
   |   `- warning: 'nonisolated(unsafe)' is unnecessary for a constant with 'Sendable' type 'DateFormatter', consider removing it
85 |     let df = DateFormatter()
86 |     df.calendar = Calendar.chineseCalendar
[71 / 73] ChineseAstrologyCalendar
Build complete! (2.96 sec)
    1886
12	/Users/admin/builder/spi-builder-workspace/.docs/xiangyu-sun/chineseastrologycalendar/v4.2.0
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/xiangyu-sun/chineseastrologycalendar/v4.2.0
File count: 1886
Doc size:   12.0MB
Preparing doc bundle ...
Using presigned URL upload - AWS credentials not required
Uploading -xiangyu-sun-chineseastrologycalendar-v4.2.0-ddb81574.zip to presigned URL
Starting upload of 2521083 bytes...
Upload completed successfully
Done.