Build Information
Successful build of GanZhi, reference main (025eb0), with Swift 6.1 for macOS (SPM) on 30 Mar 2026 03:27:36 UTC.
Swift 6 data race errors: 28
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Mazeye/SwiftStemBranch.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Mazeye/SwiftStemBranch
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 025eb02 delete files added by miss
Cloned https://github.com/Mazeye/SwiftStemBranch.git
Revision (git rev-parse @):
025eb022bc0ff6bece45466c60366b255bc61c46
SUCCESS checkout https://github.com/Mazeye/SwiftStemBranch.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Mazeye/SwiftStemBranch.git
https://github.com/Mazeye/SwiftStemBranch.git
{
"dependencies" : [
],
"manifest_display_name" : "GanZhi",
"name" : "GanZhi",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "GanZhi",
"targets" : [
"GanZhi"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Sample",
"targets" : [
"Sample"
],
"type" : {
"executable" : null
}
},
{
"name" : "BaziDistribution",
"targets" : [
"BaziDistribution"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "Sample",
"module_type" : "SwiftTarget",
"name" : "Sample",
"path" : "Sources/Sample",
"product_memberships" : [
"Sample"
],
"sources" : [
"UsefulGodTest.swift",
"main.swift"
],
"target_dependencies" : [
"GanZhi"
],
"type" : "executable"
},
{
"c99name" : "GanZhiTests",
"module_type" : "SwiftTarget",
"name" : "GanZhiTests",
"path" : "Tests/GanZhiTests",
"sources" : [
"GanZhiTests.swift",
"PatternTests.swift",
"RelationshipTests.swift",
"ShenShaTests.swift",
"ThermalBalanceTests.swift"
],
"target_dependencies" : [
"GanZhi"
],
"type" : "test"
},
{
"c99name" : "GanZhi",
"module_type" : "SwiftTarget",
"name" : "GanZhi",
"path" : "Sources/GanZhi",
"product_memberships" : [
"GanZhi",
"Sample",
"BaziDistribution"
],
"sources" : [
"Branch.swift",
"Configuration.swift",
"CyclicEnum.swift",
"DateExtensions.swift",
"FiveElements+Relations.swift",
"FiveElements.swift",
"FourPillars+Strength.swift",
"FourPillars.swift",
"LifeStage.swift",
"Location.swift",
"Luck/LuckCalculator.swift",
"Luck/LuckTypes.swift",
"Luck/SolarCalculator+Luck.swift",
"LunarCalculator.swift",
"Pattern.swift",
"Relationship.swift",
"ShenSha/GlobalSituationRegistry.swift",
"ShenSha/ShenSha.swift",
"SolarCalculator.swift",
"Stem.swift",
"StemBranch.swift",
"TenGods+Calculation.swift",
"TenGods.swift",
"ThermalBalance.swift",
"UsefulGod.swift",
"YinYang.swift"
],
"type" : "library"
},
{
"c99name" : "BaziDistribution",
"module_type" : "SwiftTarget",
"name" : "BaziDistribution",
"path" : "Sources/BaziDistribution",
"product_memberships" : [
"BaziDistribution"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"GanZhi"
],
"type" : "executable"
}
],
"tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/12] Write sources
[1/12] Write Sample-entitlement.plist
[4/12] Write BaziDistribution-entitlement.plist
[5/12] Write swift-version-2F0A5646E1D333AE.txt
[7/37] Emitting module GanZhi
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: warning: static property 'language' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| |- warning: static property 'language' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'language' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'language' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Location.swift:16:23: warning: static property 'beijing' is not concurrency-safe because non-'Sendable' type 'Location' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents a geographic location used for True Solar Time calculation.
4 | public struct Location {
| `- note: consider making struct 'Location' conform to the 'Sendable' protocol
5 | /// East longitude is positive, West is negative.
6 | public let longitude: Double
:
14 | }
15 |
16 | public static let beijing = Location(longitude: 120.0, timeZone: 8.0)
| |- warning: static property 'beijing' is not concurrency-safe because non-'Sendable' type 'Location' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'beijing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/ShenSha/GlobalSituationRegistry.swift:19:24: warning: static property 'rules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | public class GlobalSituationRegistry {
18 | /// Storage for registered rules.
19 | private static var rules: [CustomGlobalSituation] = []
| |- warning: static property 'rules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'rules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | /// Registers a new custom Global Situation rule.
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/UsefulGod.swift:503:17: warning: static property 'allElements' is not concurrency-safe because non-'Sendable' type '[FiveElements]' may have shared mutable state; this is an error in the Swift 6 language mode
501 |
502 | private struct TenGodRelations {
503 | static let allElements = FiveElements.allCases
| |- warning: static property 'allElements' is not concurrency-safe because non-'Sendable' type '[FiveElements]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'allElements' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
504 |
505 | static func getParent(_ e: FiveElements) -> FiveElements {
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/FiveElements.swift:4:13: note: consider making enum 'FiveElements' conform to the 'Sendable' protocol
2 |
3 | /// Represents the Five Elements (Wu Xing).
4 | public enum FiveElements: String, CaseIterable, CustomStringConvertible {
| `- note: consider making enum 'FiveElements' conform to the 'Sendable' protocol
5 | case wood = "木"
6 | case fire = "火"
[8/39] Compiling GanZhi UsefulGod.swift
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/UsefulGod.swift:503:17: warning: static property 'allElements' is not concurrency-safe because non-'Sendable' type '[FiveElements]' may have shared mutable state; this is an error in the Swift 6 language mode
501 |
502 | private struct TenGodRelations {
503 | static let allElements = FiveElements.allCases
| |- warning: static property 'allElements' is not concurrency-safe because non-'Sendable' type '[FiveElements]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'allElements' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
504 |
505 | static func getParent(_ e: FiveElements) -> FiveElements {
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/FiveElements.swift:4:13: note: consider making enum 'FiveElements' conform to the 'Sendable' protocol
2 |
3 | /// Represents the Five Elements (Wu Xing).
4 | public enum FiveElements: String, CaseIterable, CustomStringConvertible {
| `- note: consider making enum 'FiveElements' conform to the 'Sendable' protocol
5 | case wood = "木"
6 | case fire = "火"
[9/39] Compiling GanZhi YinYang.swift
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/UsefulGod.swift:503:17: warning: static property 'allElements' is not concurrency-safe because non-'Sendable' type '[FiveElements]' may have shared mutable state; this is an error in the Swift 6 language mode
501 |
502 | private struct TenGodRelations {
503 | static let allElements = FiveElements.allCases
| |- warning: static property 'allElements' is not concurrency-safe because non-'Sendable' type '[FiveElements]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'allElements' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
504 |
505 | static func getParent(_ e: FiveElements) -> FiveElements {
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/FiveElements.swift:4:13: note: consider making enum 'FiveElements' conform to the 'Sendable' protocol
2 |
3 | /// Represents the Five Elements (Wu Xing).
4 | public enum FiveElements: String, CaseIterable, CustomStringConvertible {
| `- note: consider making enum 'FiveElements' conform to the 'Sendable' protocol
5 | case wood = "木"
6 | case fire = "火"
[10/39] Compiling GanZhi StemBranch.swift
[11/39] Compiling GanZhi TenGods+Calculation.swift
[12/39] Compiling GanZhi DateExtensions.swift
[13/39] Compiling GanZhi FiveElements+Relations.swift
[14/39] Compiling GanZhi FiveElements.swift
[15/39] Compiling GanZhi FourPillars+Strength.swift
[16/39] Compiling GanZhi FourPillars.swift
[17/39] Compiling GanZhi LifeStage.swift
[18/39] Compiling GanZhi SolarCalculator.swift
[19/39] Compiling GanZhi Stem.swift
[20/39] Compiling GanZhi Location.swift
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Location.swift:16:23: warning: static property 'beijing' is not concurrency-safe because non-'Sendable' type 'Location' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents a geographic location used for True Solar Time calculation.
4 | public struct Location {
| `- note: consider making struct 'Location' conform to the 'Sendable' protocol
5 | /// East longitude is positive, West is negative.
6 | public let longitude: Double
:
14 | }
15 |
16 | public static let beijing = Location(longitude: 120.0, timeZone: 8.0)
| |- warning: static property 'beijing' is not concurrency-safe because non-'Sendable' type 'Location' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'beijing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
[21/39] Compiling GanZhi LuckCalculator.swift
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Location.swift:16:23: warning: static property 'beijing' is not concurrency-safe because non-'Sendable' type 'Location' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents a geographic location used for True Solar Time calculation.
4 | public struct Location {
| `- note: consider making struct 'Location' conform to the 'Sendable' protocol
5 | /// East longitude is positive, West is negative.
6 | public let longitude: Double
:
14 | }
15 |
16 | public static let beijing = Location(longitude: 120.0, timeZone: 8.0)
| |- warning: static property 'beijing' is not concurrency-safe because non-'Sendable' type 'Location' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'beijing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
[22/39] Compiling GanZhi LuckTypes.swift
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Location.swift:16:23: warning: static property 'beijing' is not concurrency-safe because non-'Sendable' type 'Location' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents a geographic location used for True Solar Time calculation.
4 | public struct Location {
| `- note: consider making struct 'Location' conform to the 'Sendable' protocol
5 | /// East longitude is positive, West is negative.
6 | public let longitude: Double
:
14 | }
15 |
16 | public static let beijing = Location(longitude: 120.0, timeZone: 8.0)
| |- warning: static property 'beijing' is not concurrency-safe because non-'Sendable' type 'Location' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'beijing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
[23/39] Compiling GanZhi Branch.swift
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: warning: static property 'language' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| |- warning: static property 'language' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'language' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'language' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | }
17 |
[24/39] Compiling GanZhi Configuration.swift
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: warning: static property 'language' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| |- warning: static property 'language' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'language' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'language' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | }
17 |
[25/39] Compiling GanZhi CyclicEnum.swift
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: warning: static property 'language' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| |- warning: static property 'language' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'language' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'language' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | }
17 |
[26/39] Compiling GanZhi Relationship.swift
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/ShenSha/GlobalSituationRegistry.swift:19:24: warning: static property 'rules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | public class GlobalSituationRegistry {
18 | /// Storage for registered rules.
19 | private static var rules: [CustomGlobalSituation] = []
| |- warning: static property 'rules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'rules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | /// Registers a new custom Global Situation rule.
[27/39] Compiling GanZhi GlobalSituationRegistry.swift
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/ShenSha/GlobalSituationRegistry.swift:19:24: warning: static property 'rules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | public class GlobalSituationRegistry {
18 | /// Storage for registered rules.
19 | private static var rules: [CustomGlobalSituation] = []
| |- warning: static property 'rules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'rules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | /// Registers a new custom Global Situation rule.
[28/39] Compiling GanZhi ShenSha.swift
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/ShenSha/GlobalSituationRegistry.swift:19:24: warning: static property 'rules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | public class GlobalSituationRegistry {
18 | /// Storage for registered rules.
19 | private static var rules: [CustomGlobalSituation] = []
| |- warning: static property 'rules' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rules' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'rules' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | /// Registers a new custom Global Situation rule.
[29/39] Compiling GanZhi SolarCalculator+Luck.swift
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Pattern.swift:309:13: warning: default will never be executed
307 | return Pattern(tenGod: .friend, method: .runXia, customName: Pattern.DeterminationMethod.runXia.description)
308 | }
309 | default: break
| `- warning: default will never be executed
310 | }
311 | }
[30/39] Compiling GanZhi LunarCalculator.swift
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Pattern.swift:309:13: warning: default will never be executed
307 | return Pattern(tenGod: .friend, method: .runXia, customName: Pattern.DeterminationMethod.runXia.description)
308 | }
309 | default: break
| `- warning: default will never be executed
310 | }
311 | }
[31/39] Compiling GanZhi Pattern.swift
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Pattern.swift:309:13: warning: default will never be executed
307 | return Pattern(tenGod: .friend, method: .runXia, customName: Pattern.DeterminationMethod.runXia.description)
308 | }
309 | default: break
| `- warning: default will never be executed
310 | }
311 | }
[32/39] Compiling GanZhi TenGods.swift
[33/39] Compiling GanZhi ThermalBalance.swift
[34/44] Compiling BaziDistribution main.swift
[35/44] Emitting module BaziDistribution
[35/44] Write Objects.LinkFileList
[37/44] Compiling Sample main.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:85:25: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
83 | // Localized strings for Sample output labels
84 | let labels: [String: String] = {
85 | switch GanZhiConfig.language {
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
86 | case .simplifiedChinese:
87 | return [
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:172:34: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
170 | let chartRels = pillars.relationships
171 | if !chartRels.isEmpty {
172 | let relTitle = (GanZhiConfig.language == .english) ? "Relationships:" : "干支关系:"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
173 | print(relTitle)
174 | for rel in chartRels {
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:185:29: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
183 | print("--------------------------------------------------")
184 | let tb = pillars.thermalBalance
185 | let tbTitle = (GanZhiConfig.language == .english) ? "Thermal Balance:" : "调候解析:"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
186 | print(tbTitle)
187 |
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:188:31: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
186 | print(tbTitle)
187 |
188 | let tempLabel = (GanZhiConfig.language == .english) ? " Temperature Score:" : " 寒暖分值:"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
189 | let moistLabel = (GanZhiConfig.language == .english) ? " Moisture Score: " : " 湿燥分值:"
190 |
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:189:32: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
187 |
188 | let tempLabel = (GanZhiConfig.language == .english) ? " Temperature Score:" : " 寒暖分值:"
189 | let moistLabel = (GanZhiConfig.language == .english) ? " Moisture Score: " : " 湿燥分值:"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
190 |
191 | print("\(tempLabel) \(String(format: "%.2f", tb.temperature))")
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:195:34: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
193 | var moistOutput = "\(moistLabel) \(String(format: "%.2f", tb.moisture))"
194 | if tb.isFrozen {
195 | moistOutput += (GanZhiConfig.language == .english) ? " [Frozen]" : " [冻]"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
196 | } else if tb.isVapor {
197 | moistOutput += (GanZhiConfig.language == .english) ? " [Vapor]" : " [气]"
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:197:34: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
195 | moistOutput += (GanZhiConfig.language == .english) ? " [Frozen]" : " [冻]"
196 | } else if tb.isVapor {
197 | moistOutput += (GanZhiConfig.language == .english) ? " [Vapor]" : " [气]"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
198 | }
199 | print(moistOutput)
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:213:35: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
211 | // Lunar Phase info
212 | if let phase = pillars.lunarPhase {
213 | let moonLabel = (GanZhiConfig.language == .english) ? "Moon Phase" : "月相信息"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
214 | let ageLabel = (GanZhiConfig.language == .english) ? "Age" : "月龄"
215 | let illumLabel = (GanZhiConfig.language == .english) ? "Illum" : "照亮"
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:214:34: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
212 | if let phase = pillars.lunarPhase {
213 | let moonLabel = (GanZhiConfig.language == .english) ? "Moon Phase" : "月相信息"
214 | let ageLabel = (GanZhiConfig.language == .english) ? "Age" : "月龄"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
215 | let illumLabel = (GanZhiConfig.language == .english) ? "Illum" : "照亮"
216 | print("\n\(moonLabel): \(phase.phaseName) (\(ageLabel) \(String(format: "%.1f", phase.age)), \(illumLabel) \(String(format: "%.0f", phase.illumination * 100))%)")
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:215:36: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
213 | let moonLabel = (GanZhiConfig.language == .english) ? "Moon Phase" : "月相信息"
214 | let ageLabel = (GanZhiConfig.language == .english) ? "Age" : "月龄"
215 | let illumLabel = (GanZhiConfig.language == .english) ? "Illum" : "照亮"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
216 | print("\n\(moonLabel): \(phase.phaseName) (\(ageLabel) \(String(format: "%.1f", phase.age)), \(illumLabel) \(String(format: "%.0f", phase.illumination * 100))%)")
217 | }
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:232:21: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
230 |
231 | // Print Ten Gods Ranking
232 | print((GanZhiConfig.language == .english) ? "Ten Gods Strength:" : "十神力量排序:")
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
233 |
234 | // Create a unified list for sorting
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:236:31: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
234 | // Create a unified list for sorting
235 | var ranking: [(name: String, score: Double)] = tenGodScores.map { ($0.key.description, $0.value) }
236 | ranking.append(((GanZhiConfig.language == .english) ? "Day Master" : "日主", dayMasterScore))
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
237 |
238 | let sortedRanking = ranking.sorted { $0.score > $1.score }
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:252:19: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
250 | let methods: [UsefulGodMethod] = [.pattern, .wangShuai, .tiaoHou]
251 | let usefulGodTitle =
252 | (GanZhiConfig.language == .english) ? "Useful God Analysis (Comparison):" : "用神分析 (对比):"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
253 | print(usefulGodTitle)
254 |
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:255:35: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
253 | print(usefulGodTitle)
254 |
255 | let yongShenLabel = (GanZhiConfig.language == .english) ? "Yong Shen (Useful):" : "建议用神:"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
256 | let jiShenLabel = (GanZhiConfig.language == .english) ? "Ji Shen (Avoid):" : "建议忌神:"
257 | let favLabel = (GanZhiConfig.language == .english) ? "Fav Elements:" : "喜用五行:"
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:256:33: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
254 |
255 | let yongShenLabel = (GanZhiConfig.language == .english) ? "Yong Shen (Useful):" : "建议用神:"
256 | let jiShenLabel = (GanZhiConfig.language == .english) ? "Ji Shen (Avoid):" : "建议忌神:"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
257 | let favLabel = (GanZhiConfig.language == .english) ? "Fav Elements:" : "喜用五行:"
258 | let unfavLabel = (GanZhiConfig.language == .english) ? "Unfav Elements:" : "忌讳五行:"
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:257:30: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
255 | let yongShenLabel = (GanZhiConfig.language == .english) ? "Yong Shen (Useful):" : "建议用神:"
256 | let jiShenLabel = (GanZhiConfig.language == .english) ? "Ji Shen (Avoid):" : "建议忌神:"
257 | let favLabel = (GanZhiConfig.language == .english) ? "Fav Elements:" : "喜用五行:"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
258 | let unfavLabel = (GanZhiConfig.language == .english) ? "Unfav Elements:" : "忌讳五行:"
259 |
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:258:32: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
256 | let jiShenLabel = (GanZhiConfig.language == .english) ? "Ji Shen (Avoid):" : "建议忌神:"
257 | let favLabel = (GanZhiConfig.language == .english) ? "Fav Elements:" : "喜用五行:"
258 | let unfavLabel = (GanZhiConfig.language == .english) ? "Unfav Elements:" : "忌讳五行:"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
259 |
260 | for method in methods {
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:264:48: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
262 | var methodTitle = ""
263 | switch method {
264 | case .pattern: methodTitle = (GanZhiConfig.language == .english) ? "[Pattern Method]" : "[格局法]"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
265 | case .wangShuai:
266 | methodTitle = (GanZhiConfig.language == .english) ? "[Wang Shuai Method]" : "[旺衰法]"
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:266:37: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
264 | case .pattern: methodTitle = (GanZhiConfig.language == .english) ? "[Pattern Method]" : "[格局法]"
265 | case .wangShuai:
266 | methodTitle = (GanZhiConfig.language == .english) ? "[Wang Shuai Method]" : "[旺衰法]"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
267 | case .tiaoHou: methodTitle = (GanZhiConfig.language == .english) ? "[Tiao Hou Method]" : "[调侯法]"
268 | }
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:267:48: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
265 | case .wangShuai:
266 | methodTitle = (GanZhiConfig.language == .english) ? "[Wang Shuai Method]" : "[旺衰法]"
267 | case .tiaoHou: methodTitle = (GanZhiConfig.language == .english) ? "[Tiao Hou Method]" : "[调侯法]"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
268 | }
269 |
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:323:37: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
321 |
322 | let posName = positions[index]
323 | let branchLabel = (GanZhiConfig.language == .english) ? "\(posName) Branch" : "\(posName)支"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
324 |
325 | print("\(branchLabel) [\(branch.character)]: \(info)")
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:331:31: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
329 | let globalSituationNames = pillars.allGlobalSituations
330 | if !globalSituationNames.isEmpty {
331 | let title = (GanZhiConfig.language == .english) ? "Global Situations" : "全局局面"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
332 | let situationsStr = globalSituationNames.joined(separator: " ")
333 | print("\(title): \(situationsStr)")
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:376:33: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
374 | // Energy Coefficients
375 | print("--------------------------------------------------")
376 | let energyTitle = (GanZhiConfig.language == .english) ? "Energy Coefficients:" : "能量系数:"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
377 | print(energyTitle)
378 |
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:380:17: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
378 |
379 | let pillarsType: [FourPillars.PillarType] = [.year, .month, .day, .hour]
380 | if GanZhiConfig.language == .english {
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
381 | print("Pillar | Stem Energy | Branch Energy")
382 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:13:22: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
11 | // Parse language
12 | if args.contains("-en") || args.contains("--english") {
13 | GanZhiConfig.language = .english
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
14 | } else if args.contains("-jp") || args.contains("--japanese") {
15 | GanZhiConfig.language = .japanese
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:15:22: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
13 | GanZhiConfig.language = .english
14 | } else if args.contains("-jp") || args.contains("--japanese") {
15 | GanZhiConfig.language = .japanese
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
16 | } else if args.contains("-tc") || args.contains("--traditional") {
17 | GanZhiConfig.language = .traditionalChinese
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:17:22: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
15 | GanZhiConfig.language = .japanese
16 | } else if args.contains("-tc") || args.contains("--traditional") {
17 | GanZhiConfig.language = .traditionalChinese
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
18 | } else if args.contains("-sc") || args.contains("--simplified") {
19 | GanZhiConfig.language = .simplifiedChinese
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:19:22: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
17 | GanZhiConfig.language = .traditionalChinese
18 | } else if args.contains("-sc") || args.contains("--simplified") {
19 | GanZhiConfig.language = .simplifiedChinese
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:144:22: warning: main actor-isolated let 'pillars' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
58 |
59 | let (date, gender) = parseDate(args)
60 | let pillars = date.fourPillars()
| `- note: let declared here
61 |
62 | // --------------------------------------------------
:
141 | print(L("details"))
142 |
143 | func printPillar(_ name: String, _ pillar: FourPillars.Pillar) {
| `- note: add '@MainActor' to make global function 'printPillar' part of global actor 'MainActor'
144 | let stemTenGod = pillars.tenGod(for: pillar.stem).name
| `- warning: main actor-isolated let 'pillars' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
145 | let stemLifeStage = pillar.stem.value.lifeStage(in: pillar.branch.value).description
146 | let branchTenGod = pillars.tenGod(for: pillar.branch).name
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:146:24: warning: main actor-isolated let 'pillars' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
58 |
59 | let (date, gender) = parseDate(args)
60 | let pillars = date.fourPillars()
| `- note: let declared here
61 |
62 | // --------------------------------------------------
:
141 | print(L("details"))
142 |
143 | func printPillar(_ name: String, _ pillar: FourPillars.Pillar) {
| `- note: add '@MainActor' to make global function 'printPillar' part of global actor 'MainActor'
144 | let stemTenGod = pillars.tenGod(for: pillar.stem).name
145 | let stemLifeStage = pillar.stem.value.lifeStage(in: pillar.branch.value).description
146 | let branchTenGod = pillars.tenGod(for: pillar.branch).name
| `- warning: main actor-isolated let 'pillars' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
147 |
148 | // Example: 甲(阳木)[比肩][临官]
[38/44] Compiling Sample UsefulGodTest.swift
[39/44] Emitting module Sample
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:85:25: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
83 | // Localized strings for Sample output labels
84 | let labels: [String: String] = {
85 | switch GanZhiConfig.language {
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
86 | case .simplifiedChinese:
87 | return [
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:172:34: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
170 | let chartRels = pillars.relationships
171 | if !chartRels.isEmpty {
172 | let relTitle = (GanZhiConfig.language == .english) ? "Relationships:" : "干支关系:"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
173 | print(relTitle)
174 | for rel in chartRels {
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:185:29: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
183 | print("--------------------------------------------------")
184 | let tb = pillars.thermalBalance
185 | let tbTitle = (GanZhiConfig.language == .english) ? "Thermal Balance:" : "调候解析:"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
186 | print(tbTitle)
187 |
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:188:31: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
186 | print(tbTitle)
187 |
188 | let tempLabel = (GanZhiConfig.language == .english) ? " Temperature Score:" : " 寒暖分值:"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
189 | let moistLabel = (GanZhiConfig.language == .english) ? " Moisture Score: " : " 湿燥分值:"
190 |
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:189:32: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
187 |
188 | let tempLabel = (GanZhiConfig.language == .english) ? " Temperature Score:" : " 寒暖分值:"
189 | let moistLabel = (GanZhiConfig.language == .english) ? " Moisture Score: " : " 湿燥分值:"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
190 |
191 | print("\(tempLabel) \(String(format: "%.2f", tb.temperature))")
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:195:34: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
193 | var moistOutput = "\(moistLabel) \(String(format: "%.2f", tb.moisture))"
194 | if tb.isFrozen {
195 | moistOutput += (GanZhiConfig.language == .english) ? " [Frozen]" : " [冻]"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
196 | } else if tb.isVapor {
197 | moistOutput += (GanZhiConfig.language == .english) ? " [Vapor]" : " [气]"
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:197:34: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
195 | moistOutput += (GanZhiConfig.language == .english) ? " [Frozen]" : " [冻]"
196 | } else if tb.isVapor {
197 | moistOutput += (GanZhiConfig.language == .english) ? " [Vapor]" : " [气]"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
198 | }
199 | print(moistOutput)
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:213:35: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
211 | // Lunar Phase info
212 | if let phase = pillars.lunarPhase {
213 | let moonLabel = (GanZhiConfig.language == .english) ? "Moon Phase" : "月相信息"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
214 | let ageLabel = (GanZhiConfig.language == .english) ? "Age" : "月龄"
215 | let illumLabel = (GanZhiConfig.language == .english) ? "Illum" : "照亮"
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:214:34: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
212 | if let phase = pillars.lunarPhase {
213 | let moonLabel = (GanZhiConfig.language == .english) ? "Moon Phase" : "月相信息"
214 | let ageLabel = (GanZhiConfig.language == .english) ? "Age" : "月龄"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
215 | let illumLabel = (GanZhiConfig.language == .english) ? "Illum" : "照亮"
216 | print("\n\(moonLabel): \(phase.phaseName) (\(ageLabel) \(String(format: "%.1f", phase.age)), \(illumLabel) \(String(format: "%.0f", phase.illumination * 100))%)")
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:215:36: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
213 | let moonLabel = (GanZhiConfig.language == .english) ? "Moon Phase" : "月相信息"
214 | let ageLabel = (GanZhiConfig.language == .english) ? "Age" : "月龄"
215 | let illumLabel = (GanZhiConfig.language == .english) ? "Illum" : "照亮"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
216 | print("\n\(moonLabel): \(phase.phaseName) (\(ageLabel) \(String(format: "%.1f", phase.age)), \(illumLabel) \(String(format: "%.0f", phase.illumination * 100))%)")
217 | }
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:232:21: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
230 |
231 | // Print Ten Gods Ranking
232 | print((GanZhiConfig.language == .english) ? "Ten Gods Strength:" : "十神力量排序:")
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
233 |
234 | // Create a unified list for sorting
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:236:31: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
234 | // Create a unified list for sorting
235 | var ranking: [(name: String, score: Double)] = tenGodScores.map { ($0.key.description, $0.value) }
236 | ranking.append(((GanZhiConfig.language == .english) ? "Day Master" : "日主", dayMasterScore))
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
237 |
238 | let sortedRanking = ranking.sorted { $0.score > $1.score }
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:252:19: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
250 | let methods: [UsefulGodMethod] = [.pattern, .wangShuai, .tiaoHou]
251 | let usefulGodTitle =
252 | (GanZhiConfig.language == .english) ? "Useful God Analysis (Comparison):" : "用神分析 (对比):"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
253 | print(usefulGodTitle)
254 |
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:255:35: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
253 | print(usefulGodTitle)
254 |
255 | let yongShenLabel = (GanZhiConfig.language == .english) ? "Yong Shen (Useful):" : "建议用神:"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
256 | let jiShenLabel = (GanZhiConfig.language == .english) ? "Ji Shen (Avoid):" : "建议忌神:"
257 | let favLabel = (GanZhiConfig.language == .english) ? "Fav Elements:" : "喜用五行:"
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:256:33: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
254 |
255 | let yongShenLabel = (GanZhiConfig.language == .english) ? "Yong Shen (Useful):" : "建议用神:"
256 | let jiShenLabel = (GanZhiConfig.language == .english) ? "Ji Shen (Avoid):" : "建议忌神:"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
257 | let favLabel = (GanZhiConfig.language == .english) ? "Fav Elements:" : "喜用五行:"
258 | let unfavLabel = (GanZhiConfig.language == .english) ? "Unfav Elements:" : "忌讳五行:"
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:257:30: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
255 | let yongShenLabel = (GanZhiConfig.language == .english) ? "Yong Shen (Useful):" : "建议用神:"
256 | let jiShenLabel = (GanZhiConfig.language == .english) ? "Ji Shen (Avoid):" : "建议忌神:"
257 | let favLabel = (GanZhiConfig.language == .english) ? "Fav Elements:" : "喜用五行:"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
258 | let unfavLabel = (GanZhiConfig.language == .english) ? "Unfav Elements:" : "忌讳五行:"
259 |
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:258:32: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
256 | let jiShenLabel = (GanZhiConfig.language == .english) ? "Ji Shen (Avoid):" : "建议忌神:"
257 | let favLabel = (GanZhiConfig.language == .english) ? "Fav Elements:" : "喜用五行:"
258 | let unfavLabel = (GanZhiConfig.language == .english) ? "Unfav Elements:" : "忌讳五行:"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
259 |
260 | for method in methods {
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:264:48: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
262 | var methodTitle = ""
263 | switch method {
264 | case .pattern: methodTitle = (GanZhiConfig.language == .english) ? "[Pattern Method]" : "[格局法]"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
265 | case .wangShuai:
266 | methodTitle = (GanZhiConfig.language == .english) ? "[Wang Shuai Method]" : "[旺衰法]"
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:266:37: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
264 | case .pattern: methodTitle = (GanZhiConfig.language == .english) ? "[Pattern Method]" : "[格局法]"
265 | case .wangShuai:
266 | methodTitle = (GanZhiConfig.language == .english) ? "[Wang Shuai Method]" : "[旺衰法]"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
267 | case .tiaoHou: methodTitle = (GanZhiConfig.language == .english) ? "[Tiao Hou Method]" : "[调侯法]"
268 | }
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:267:48: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
265 | case .wangShuai:
266 | methodTitle = (GanZhiConfig.language == .english) ? "[Wang Shuai Method]" : "[旺衰法]"
267 | case .tiaoHou: methodTitle = (GanZhiConfig.language == .english) ? "[Tiao Hou Method]" : "[调侯法]"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
268 | }
269 |
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:323:37: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
321 |
322 | let posName = positions[index]
323 | let branchLabel = (GanZhiConfig.language == .english) ? "\(posName) Branch" : "\(posName)支"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
324 |
325 | print("\(branchLabel) [\(branch.character)]: \(info)")
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:331:31: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
329 | let globalSituationNames = pillars.allGlobalSituations
330 | if !globalSituationNames.isEmpty {
331 | let title = (GanZhiConfig.language == .english) ? "Global Situations" : "全局局面"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
332 | let situationsStr = globalSituationNames.joined(separator: " ")
333 | print("\(title): \(situationsStr)")
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:376:33: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
374 | // Energy Coefficients
375 | print("--------------------------------------------------")
376 | let energyTitle = (GanZhiConfig.language == .english) ? "Energy Coefficients:" : "能量系数:"
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
377 | print(energyTitle)
378 |
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Sample/main.swift:380:17: warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
378 |
379 | let pillarsType: [FourPillars.PillarType] = [.year, .month, .day, .hour]
380 | if GanZhiConfig.language == .english {
| `- warning: reference to static property 'language' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
381 | print("Pillar | Stem Energy | Branch Energy")
382 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/GanZhi/Configuration.swift:15:23: note: static property declared here
13 | /// The current language used for text output.
14 | /// Defaults to .simplifiedChinese.
15 | public static var language: Language = .simplifiedChinese
| `- note: static property declared here
16 | }
17 |
[39/44] Write Objects.LinkFileList
[40/44] Linking BaziDistribution
[41/44] Applying BaziDistribution
[42/44] Linking Sample
[43/44] Applying Sample
Build complete! (6.33s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "GanZhi",
"name" : "GanZhi",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "GanZhi",
"targets" : [
"GanZhi"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Sample",
"targets" : [
"Sample"
],
"type" : {
"executable" : null
}
},
{
"name" : "BaziDistribution",
"targets" : [
"BaziDistribution"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "Sample",
"module_type" : "SwiftTarget",
"name" : "Sample",
"path" : "Sources/Sample",
"product_memberships" : [
"Sample"
],
"sources" : [
"UsefulGodTest.swift",
"main.swift"
],
"target_dependencies" : [
"GanZhi"
],
"type" : "executable"
},
{
"c99name" : "GanZhiTests",
"module_type" : "SwiftTarget",
"name" : "GanZhiTests",
"path" : "Tests/GanZhiTests",
"sources" : [
"GanZhiTests.swift",
"PatternTests.swift",
"RelationshipTests.swift",
"ShenShaTests.swift",
"ThermalBalanceTests.swift"
],
"target_dependencies" : [
"GanZhi"
],
"type" : "test"
},
{
"c99name" : "GanZhi",
"module_type" : "SwiftTarget",
"name" : "GanZhi",
"path" : "Sources/GanZhi",
"product_memberships" : [
"GanZhi",
"Sample",
"BaziDistribution"
],
"sources" : [
"Branch.swift",
"Configuration.swift",
"CyclicEnum.swift",
"DateExtensions.swift",
"FiveElements+Relations.swift",
"FiveElements.swift",
"FourPillars+Strength.swift",
"FourPillars.swift",
"LifeStage.swift",
"Location.swift",
"Luck/LuckCalculator.swift",
"Luck/LuckTypes.swift",
"Luck/SolarCalculator+Luck.swift",
"LunarCalculator.swift",
"Pattern.swift",
"Relationship.swift",
"ShenSha/GlobalSituationRegistry.swift",
"ShenSha/ShenSha.swift",
"SolarCalculator.swift",
"Stem.swift",
"StemBranch.swift",
"TenGods+Calculation.swift",
"TenGods.swift",
"ThermalBalance.swift",
"UsefulGod.swift",
"YinYang.swift"
],
"type" : "library"
},
{
"c99name" : "BaziDistribution",
"module_type" : "SwiftTarget",
"name" : "BaziDistribution",
"path" : "Sources/BaziDistribution",
"product_memberships" : [
"BaziDistribution"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"GanZhi"
],
"type" : "executable"
}
],
"tools_version" : "5.7"
}
Done.