The Swift Package Index logo.Swift Package Index

Build Information

Successful build of AZCalc, reference 2.1.0 (59fad5), with Swift 6.1 for macOS (SPM) on 27 Sep 2026 19:26:00 UTC.

Swift 6 data race errors: 2

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 InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SumPositive/AZCalc.git
Reference: 2.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SumPositive/AZCalc
 * tag               2.1.0      -> FETCH_HEAD
HEAD is now at 59fad57 掛け算(桁あふれしたら true を返す。その場合 pAns の内容は不定)
Cloned https://github.com/SumPositive/AZCalc.git
Revision (git rev-parse @):
59fad575609785ca3ccc76dc83215eb836b6012b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/SumPositive/AZCalc.git at 2.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/SumPositive/AZCalc.git
https://github.com/SumPositive/AZCalc.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AZCalc",
  "name" : "AZCalc",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "AZDecimal",
      "targets" : [
        "AZDecimal"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AZFormula",
      "targets" : [
        "AZFormula"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AZFormulaTests",
      "module_type" : "SwiftTarget",
      "name" : "AZFormulaTests",
      "path" : "Tests/AZFormulaTests",
      "sources" : [
        "AZFormulaTests.swift"
      ],
      "target_dependencies" : [
        "AZFormula"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AZFormula",
      "module_type" : "SwiftTarget",
      "name" : "AZFormula",
      "path" : "Sources/AZFormula",
      "product_memberships" : [
        "AZFormula"
      ],
      "sources" : [
        "AZFormula.swift"
      ],
      "target_dependencies" : [
        "AZDecimal"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AZDecimalTests",
      "module_type" : "SwiftTarget",
      "name" : "AZDecimalTests",
      "path" : "Tests/AZDecimalTests",
      "sources" : [
        "AZDecimalTests.swift"
      ],
      "target_dependencies" : [
        "AZDecimal"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AZDecimalC",
      "module_type" : "ClangTarget",
      "name" : "AZDecimalC",
      "path" : "Sources/AZDecimalC",
      "product_memberships" : [
        "AZDecimal",
        "AZFormula"
      ],
      "sources" : [
        "SBCD.cpp",
        "SBCD_objC_Wrapper.mm"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AZDecimal",
      "module_type" : "SwiftTarget",
      "name" : "AZDecimal",
      "path" : "Sources/AZDecimal",
      "product_memberships" : [
        "AZDecimal",
        "AZFormula"
      ],
      "sources" : [
        "AZDecimal.swift",
        "AZDecimalConfig.swift"
      ],
      "target_dependencies" : [
        "AZDecimalC"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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/5] Write sources
[2/5] Write swift-version-2F0A5646E1D333AE.txt
[3/5] Compiling AZDecimalC SBCD.cpp
[4/5] Compiling AZDecimalC SBCD_objC_Wrapper.mm
[6/8] Compiling AZDecimal AZDecimalConfig.swift
[7/8] Emitting module AZDecimal
[8/8] Compiling AZDecimal AZDecimal.swift
[9/10] Emitting module AZFormula
/Users/admin/builder/spi-builder-workspace/Sources/AZFormula/AZFormula.swift:72:23: warning: static property 'maxFormulaLength' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 70 |     /// 評価可能な数式の最大文字数。これを超えると `.tooLong` エラーを返します。
 71 |     /// アプリ起動時に変更できます(例: `AZFormula.maxFormulaLength = 500`)。
 72 |     public static var maxFormulaLength = 200
    |                       |- warning: static property 'maxFormulaLength' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'maxFormulaLength' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'maxFormulaLength' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 73 |
 74 |     /// `percentDivisors` の既定値(`% → 100`、`割 → 10`、`分 → 100`、`厘 → 1000`)。
/Users/admin/builder/spi-builder-workspace/Sources/AZFormula/AZFormula.swift:91:23: warning: static property 'percentDivisors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 89 |     /// - Note: 既定の 4 記号(`% 割 分 厘`)以外の新しい記号を追加する場合は、
 90 |     ///   その文字が許可文字に含まれないため数式評価前にフィルタで除去されます。
 91 |     public static var percentDivisors: [Character: String] = defaultPercentDivisors
    |                       |- warning: static property 'percentDivisors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'percentDivisors' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'percentDivisors' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 92 |
 93 |     // MARK: - 公開 API
[10/10] Compiling AZFormula AZFormula.swift
/Users/admin/builder/spi-builder-workspace/Sources/AZFormula/AZFormula.swift:72:23: warning: static property 'maxFormulaLength' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 70 |     /// 評価可能な数式の最大文字数。これを超えると `.tooLong` エラーを返します。
 71 |     /// アプリ起動時に変更できます(例: `AZFormula.maxFormulaLength = 500`)。
 72 |     public static var maxFormulaLength = 200
    |                       |- warning: static property 'maxFormulaLength' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'maxFormulaLength' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'maxFormulaLength' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 73 |
 74 |     /// `percentDivisors` の既定値(`% → 100`、`割 → 10`、`分 → 100`、`厘 → 1000`)。
/Users/admin/builder/spi-builder-workspace/Sources/AZFormula/AZFormula.swift:91:23: warning: static property 'percentDivisors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 89 |     /// - Note: 既定の 4 記号(`% 割 分 厘`)以外の新しい記号を追加する場合は、
 90 |     ///   その文字が許可文字に含まれないため数式評価前にフィルタで除去されます。
 91 |     public static var percentDivisors: [Character: String] = defaultPercentDivisors
    |                       |- warning: static property 'percentDivisors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'percentDivisors' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'percentDivisors' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 92 |
 93 |     // MARK: - 公開 API
Build complete! (5.03s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AZCalc",
  "name" : "AZCalc",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "AZDecimal",
      "targets" : [
        "AZDecimal"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AZFormula",
      "targets" : [
        "AZFormula"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AZFormulaTests",
      "module_type" : "SwiftTarget",
      "name" : "AZFormulaTests",
      "path" : "Tests/AZFormulaTests",
      "sources" : [
        "AZFormulaTests.swift"
      ],
      "target_dependencies" : [
        "AZFormula"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AZFormula",
      "module_type" : "SwiftTarget",
      "name" : "AZFormula",
      "path" : "Sources/AZFormula",
      "product_memberships" : [
        "AZFormula"
      ],
      "sources" : [
        "AZFormula.swift"
      ],
      "target_dependencies" : [
        "AZDecimal"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AZDecimalTests",
      "module_type" : "SwiftTarget",
      "name" : "AZDecimalTests",
      "path" : "Tests/AZDecimalTests",
      "sources" : [
        "AZDecimalTests.swift"
      ],
      "target_dependencies" : [
        "AZDecimal"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AZDecimalC",
      "module_type" : "ClangTarget",
      "name" : "AZDecimalC",
      "path" : "Sources/AZDecimalC",
      "product_memberships" : [
        "AZDecimal",
        "AZFormula"
      ],
      "sources" : [
        "SBCD.cpp",
        "SBCD_objC_Wrapper.mm"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AZDecimal",
      "module_type" : "SwiftTarget",
      "name" : "AZDecimal",
      "path" : "Sources/AZDecimal",
      "product_memberships" : [
        "AZDecimal",
        "AZFormula"
      ],
      "sources" : [
        "AZDecimal.swift",
        "AZDecimalConfig.swift"
      ],
      "target_dependencies" : [
        "AZDecimalC"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.