The Swift Package Index logo.Swift Package Index

Build Information

Successful build of GanZhi, reference main (025eb0), with Swift 6.1 for Android on 30 Mar 2026 03:25:33 UTC.

Swift 6 data race errors: 28

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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 2>&1

Build 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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Mazeye/SwiftStemBranch.git
https://github.com/Mazeye/SwiftStemBranch.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "GanZhi",
  "name" : "GanZhi",
  "path" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:8d42880410d691f231f1a6445d3941a4c9d6c7af65062a9750a54d2059944963
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
Building for debugging...
[0/11] Write sources
[3/11] Write swift-version-24593BA9C3E375BF.txt
[5/35] Emitting module GanZhi
/host/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 |
/host/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 |
/host/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.
/host/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 {
/host/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 = "火"
[6/38] Compiling GanZhi Pattern.swift
/host/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.
/host/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 |         }
[7/38] Compiling GanZhi Relationship.swift
/host/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.
/host/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 |         }
[8/38] Compiling GanZhi GlobalSituationRegistry.swift
/host/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.
/host/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 |         }
[9/38] Compiling GanZhi LuckTypes.swift
[10/38] Compiling GanZhi SolarCalculator+Luck.swift
[11/38] Compiling GanZhi LunarCalculator.swift
[12/38] Compiling GanZhi ShenSha.swift
[13/38] Compiling GanZhi SolarCalculator.swift
[14/38] Compiling GanZhi Stem.swift
[15/38] Compiling GanZhi StemBranch.swift
[16/38] Compiling GanZhi TenGods+Calculation.swift
[17/38] Compiling GanZhi TenGods.swift
[18/38] Compiling GanZhi FiveElements+Relations.swift
[19/38] Compiling GanZhi FiveElements.swift
[20/38] Compiling GanZhi FourPillars+Strength.swift
[21/38] Compiling GanZhi FourPillars.swift
[22/38] Compiling GanZhi Branch.swift
/host/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 |
[23/38] Compiling GanZhi Configuration.swift
/host/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/38] Compiling GanZhi CyclicEnum.swift
/host/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/38] Compiling GanZhi DateExtensions.swift
/host/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/38] Compiling GanZhi LifeStage.swift
/host/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 |
[27/38] Compiling GanZhi Location.swift
/host/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 |
[28/38] Compiling GanZhi LuckCalculator.swift
/host/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 |
[29/38] Compiling GanZhi ThermalBalance.swift
/host/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 {
/host/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 = "火"
[30/38] Compiling GanZhi UsefulGod.swift
/host/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 {
/host/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 = "火"
[31/38] Compiling GanZhi YinYang.swift
/host/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 {
/host/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 = "火"
[32/39] Wrapping AST for GanZhi for debugging
[34/44] Compiling BaziDistribution main.swift
[35/44] Emitting module BaziDistribution
[37/45] Compiling Sample UsefulGodTest.swift
[38/45] Emitting module Sample
/host/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 [
/host/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 |
/host/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 {
/host/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 |
/host/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 |
/host/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 |
/host/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 |
/host/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 |
/host/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))")
/host/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 |
/host/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]" : " [气]"
/host/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 |
/host/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)
/host/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 |
/host/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" : "照亮"
/host/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 |
/host/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))%)")
/host/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 |
/host/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 | }
/host/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 |
/host/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
/host/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 |
/host/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 }
/host/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 |
/host/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 |
/host/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 |
/host/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:" : "喜用五行:"
/host/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 |
/host/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:" : "忌讳五行:"
/host/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 |
/host/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 |
/host/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 |
/host/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 {
/host/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 |
/host/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]" : "[旺衰法]"
/host/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 |
/host/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 |     }
/host/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 |
/host/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 |
/host/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 |
/host/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)")
/host/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 |
/host/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)")
/host/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 |
/host/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 |
/host/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 |
/host/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 {
/host/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/45] Compiling Sample main.swift
/host/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 [
/host/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 |
/host/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 {
/host/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 |
/host/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 |
/host/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 |
/host/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 |
/host/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 |
/host/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))")
/host/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 |
/host/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]" : " [气]"
/host/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 |
/host/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)
/host/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 |
/host/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" : "照亮"
/host/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 |
/host/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))%)")
/host/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 |
/host/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 | }
/host/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 |
/host/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
/host/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 |
/host/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 }
/host/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 |
/host/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 |
/host/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 |
/host/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:" : "喜用五行:"
/host/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 |
/host/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:" : "忌讳五行:"
/host/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 |
/host/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 |
/host/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 |
/host/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 {
/host/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 |
/host/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]" : "[旺衰法]"
/host/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 |
/host/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 |     }
/host/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 |
/host/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 |
/host/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 |
/host/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)")
/host/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 |
/host/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)")
/host/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 |
/host/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 |
/host/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 |
/host/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 {
/host/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 |
/host/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
/host/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 |
/host/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
/host/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 |
/host/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
/host/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 |
/host/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 |
/host/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 |
/host/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
/host/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: 甲(阳木)[比肩][临官]
[40/46] Wrapping AST for BaziDistribution for debugging
[41/46] Write Objects.LinkFileList
[42/46] Wrapping AST for Sample for debugging
[43/46] Write Objects.LinkFileList
[44/46] Linking BaziDistribution
[45/46] Linking Sample
Build complete! (19.01s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "GanZhi",
  "name" : "GanZhi",
  "path" : "/host/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"
}
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:8d42880410d691f231f1a6445d3941a4c9d6c7af65062a9750a54d2059944963
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
Done.