The Swift Package Index logo.Swift Package Index

Build Information

Successful build of MiniQTc, reference main (144b34), with Swift 6.1 for macOS (SPM) on 16 Jul 2026 05:58:44 UTC.

Swift 6 data race errors: 10

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: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mannd/MiniQTc.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mannd/MiniQTc
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 144b349 Add Swift Package Index shields to README
Cloned https://github.com/mannd/MiniQTc.git
Revision (git rev-parse @):
144b349d653c57b89a009d2a55b42ef74d6d16bf
SUCCESS checkout https://github.com/mannd/MiniQTc.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mannd/MiniQTc.git
https://github.com/mannd/MiniQTc.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MiniQTc",
  "name" : "MiniQTc",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.14"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "MiniQTc",
      "targets" : [
        "MiniQTc"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MiniQTcTests",
      "module_type" : "SwiftTarget",
      "name" : "MiniQTcTests",
      "path" : "Tests/MiniQTcTests",
      "sources" : [
        "QTc_iOSTests.swift"
      ],
      "target_dependencies" : [
        "MiniQTc"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MiniQTc",
      "module_type" : "SwiftTarget",
      "name" : "MiniQTc",
      "path" : "Sources/MiniQTc",
      "product_memberships" : [
        "MiniQTc"
      ],
      "sources" : [
        "AbnormalQTc.swift",
        "Formulas.swift",
        "QTc.swift",
        "QtMeasurement.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/7] Compiling MiniQTc QtMeasurement.swift
[4/7] Compiling MiniQTc QTc.swift
[5/7] Compiling MiniQTc Formulas.swift
/Users/admin/builder/spi-builder-workspace/Sources/MiniQTc/Formulas.swift:38:16: warning: static property 'qtcDictionary' is not concurrency-safe because non-'Sendable' type '[Formula : QTcCalculator]' may have shared mutable state; this is an error in the Swift 6 language mode
36 |     // This is the data source for the formulas.  Potentially this could be a database, but there
37 |     // aren't that many formulas, so for now the formulas are inlined here.
38 |     static let qtcDictionary: [Formula: QTcCalculator] =
   |                |- warning: static property 'qtcDictionary' is not concurrency-safe because non-'Sendable' type '[Formula : QTcCalculator]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'qtcDictionary' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |         [.qtcBzt:
40 |             QTcCalculator(formula: .qtcBzt,
/Users/admin/builder/spi-builder-workspace/Sources/MiniQTc/QTc.swift:18:13: note: consider making enum 'Formula' conform to the 'Sendable' protocol
 16 |     QTc formulas labeled as qtcXXX, QTp as qtpXXX.
 17 |  */
 18 | public enum Formula: String {
    |             `- note: consider making enum 'Formula' conform to the 'Sendable' protocol
 19 |     // QTc formulas
 20 |     case qtcBzt  // Bazett
    :
131 |
132 | /// Class containing all aspects of a QTc calculator.
133 | public class QTcCalculator: Calculator {
    |              `- note: class 'QTcCalculator' does not conform to the 'Sendable' protocol
134 |     let baseEquation: QTcEquation
135 |
[6/7] Compiling MiniQTc AbnormalQTc.swift
/Users/admin/builder/spi-builder-workspace/Sources/MiniQTc/AbnormalQTc.swift:39:23: warning: static property 'undefined' is not concurrency-safe because non-'Sendable' type 'Severity' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | // TODO: Consider refactor name of Severity to Interpretation.
 33 | /// Different levels of Severity in the interpretation of the QTc/p interval
 34 | public struct Severity: OptionSet {
    |               `- note: consider making struct 'Severity' conform to the 'Sendable' protocol
 35 |     public let rawValue: Int
 36 |     public init(rawValue: Int) {
 37 |         self.rawValue = rawValue
 38 |     }
 39 |     public static let undefined = Severity([])
    |                       |- warning: static property 'undefined' is not concurrency-safe because non-'Sendable' type 'Severity' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'undefined' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |     public static let normal = Severity(rawValue: 1)
 41 |     public static let borderline = Severity(rawValue: 2)
/Users/admin/builder/spi-builder-workspace/Sources/MiniQTc/AbnormalQTc.swift:40:23: warning: static property 'normal' is not concurrency-safe because non-'Sendable' type 'Severity' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | // TODO: Consider refactor name of Severity to Interpretation.
 33 | /// Different levels of Severity in the interpretation of the QTc/p interval
 34 | public struct Severity: OptionSet {
    |               `- note: consider making struct 'Severity' conform to the 'Sendable' protocol
 35 |     public let rawValue: Int
 36 |     public init(rawValue: Int) {
    :
 38 |     }
 39 |     public static let undefined = Severity([])
 40 |     public static let normal = Severity(rawValue: 1)
    |                       |- warning: static property 'normal' is not concurrency-safe because non-'Sendable' type 'Severity' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'normal' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 41 |     public static let borderline = Severity(rawValue: 2)
 42 |     public static let abnormal = Severity(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/MiniQTc/AbnormalQTc.swift:41:23: warning: static property 'borderline' is not concurrency-safe because non-'Sendable' type 'Severity' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | // TODO: Consider refactor name of Severity to Interpretation.
 33 | /// Different levels of Severity in the interpretation of the QTc/p interval
 34 | public struct Severity: OptionSet {
    |               `- note: consider making struct 'Severity' conform to the 'Sendable' protocol
 35 |     public let rawValue: Int
 36 |     public init(rawValue: Int) {
    :
 39 |     public static let undefined = Severity([])
 40 |     public static let normal = Severity(rawValue: 1)
 41 |     public static let borderline = Severity(rawValue: 2)
    |                       |- warning: static property 'borderline' is not concurrency-safe because non-'Sendable' type 'Severity' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'borderline' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 42 |     public static let abnormal = Severity(rawValue: 4)
 43 |     public static let mild = Severity(rawValue: 8)
/Users/admin/builder/spi-builder-workspace/Sources/MiniQTc/AbnormalQTc.swift:42:23: warning: static property 'abnormal' is not concurrency-safe because non-'Sendable' type 'Severity' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | // TODO: Consider refactor name of Severity to Interpretation.
 33 | /// Different levels of Severity in the interpretation of the QTc/p interval
 34 | public struct Severity: OptionSet {
    |               `- note: consider making struct 'Severity' conform to the 'Sendable' protocol
 35 |     public let rawValue: Int
 36 |     public init(rawValue: Int) {
    :
 40 |     public static let normal = Severity(rawValue: 1)
 41 |     public static let borderline = Severity(rawValue: 2)
 42 |     public static let abnormal = Severity(rawValue: 4)
    |                       |- warning: static property 'abnormal' is not concurrency-safe because non-'Sendable' type 'Severity' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'abnormal' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 |     public static let mild = Severity(rawValue: 8)
 44 |     public static let moderate = Severity(rawValue: 16)
/Users/admin/builder/spi-builder-workspace/Sources/MiniQTc/AbnormalQTc.swift:43:23: warning: static property 'mild' is not concurrency-safe because non-'Sendable' type 'Severity' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | // TODO: Consider refactor name of Severity to Interpretation.
 33 | /// Different levels of Severity in the interpretation of the QTc/p interval
 34 | public struct Severity: OptionSet {
    |               `- note: consider making struct 'Severity' conform to the 'Sendable' protocol
 35 |     public let rawValue: Int
 36 |     public init(rawValue: Int) {
    :
 41 |     public static let borderline = Severity(rawValue: 2)
 42 |     public static let abnormal = Severity(rawValue: 4)
 43 |     public static let mild = Severity(rawValue: 8)
    |                       |- warning: static property 'mild' is not concurrency-safe because non-'Sendable' type 'Severity' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'mild' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 44 |     public static let moderate = Severity(rawValue: 16)
 45 |     public static let severe = Severity(rawValue: 32)
/Users/admin/builder/spi-builder-workspace/Sources/MiniQTc/AbnormalQTc.swift:44:23: warning: static property 'moderate' is not concurrency-safe because non-'Sendable' type 'Severity' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | // TODO: Consider refactor name of Severity to Interpretation.
 33 | /// Different levels of Severity in the interpretation of the QTc/p interval
 34 | public struct Severity: OptionSet {
    |               `- note: consider making struct 'Severity' conform to the 'Sendable' protocol
 35 |     public let rawValue: Int
 36 |     public init(rawValue: Int) {
    :
 42 |     public static let abnormal = Severity(rawValue: 4)
 43 |     public static let mild = Severity(rawValue: 8)
 44 |     public static let moderate = Severity(rawValue: 16)
    |                       |- warning: static property 'moderate' is not concurrency-safe because non-'Sendable' type 'Severity' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'moderate' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |     public static let severe = Severity(rawValue: 32)
 46 |     public static let error = Severity(rawValue: 64)
/Users/admin/builder/spi-builder-workspace/Sources/MiniQTc/AbnormalQTc.swift:45:23: warning: static property 'severe' is not concurrency-safe because non-'Sendable' type 'Severity' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | // TODO: Consider refactor name of Severity to Interpretation.
 33 | /// Different levels of Severity in the interpretation of the QTc/p interval
 34 | public struct Severity: OptionSet {
    |               `- note: consider making struct 'Severity' conform to the 'Sendable' protocol
 35 |     public let rawValue: Int
 36 |     public init(rawValue: Int) {
    :
 43 |     public static let mild = Severity(rawValue: 8)
 44 |     public static let moderate = Severity(rawValue: 16)
 45 |     public static let severe = Severity(rawValue: 32)
    |                       |- warning: static property 'severe' is not concurrency-safe because non-'Sendable' type 'Severity' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'severe' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 46 |     public static let error = Severity(rawValue: 64)
 47 |
/Users/admin/builder/spi-builder-workspace/Sources/MiniQTc/AbnormalQTc.swift:46:23: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'Severity' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | // TODO: Consider refactor name of Severity to Interpretation.
 33 | /// Different levels of Severity in the interpretation of the QTc/p interval
 34 | public struct Severity: OptionSet {
    |               `- note: consider making struct 'Severity' conform to the 'Sendable' protocol
 35 |     public let rawValue: Int
 36 |     public init(rawValue: Int) {
    :
 44 |     public static let moderate = Severity(rawValue: 16)
 45 |     public static let severe = Severity(rawValue: 32)
 46 |     public static let error = Severity(rawValue: 64)
    |                       |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'Severity' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'error' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |
 48 |     public func isAbnormal() -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/MiniQTc/AbnormalQTc.swift:307:16: warning: static property 'testSuiteDictionary' is not concurrency-safe because non-'Sendable' type '[Criterion : QTcTestSuite]' may have shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 | /// These are tests for abnormal QTc values from the literature.
 12 | public enum Criterion: String {
    |             `- note: consider making enum 'Criterion' conform to the 'Sendable' protocol
 13 |     case schwartz1985 = "schwartz1985"
 14 |     case schwartz1993 = "schwartz1993"
    :
200 |
201 | /// Wrapper for a set of QTcTests, based on a literature reference
202 | public struct QTcTestSuite {
    |               `- note: consider making struct 'QTcTestSuite' conform to the 'Sendable' protocol
203 |     public let name: String
204 |     let qtcTests: QTcTests
    :
305 | /// Provides dictionary of QTcTestSuites
306 | public struct AbnormalQTc {
307 |     static let testSuiteDictionary: [Criterion: QTcTestSuite] =
    |                |- warning: static property 'testSuiteDictionary' is not concurrency-safe because non-'Sendable' type '[Criterion : QTcTestSuite]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'testSuiteDictionary' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
308 |         [.schwartz1985:
309 |             QTcTestSuite(
[7/7] Emitting module MiniQTc
/Users/admin/builder/spi-builder-workspace/Sources/MiniQTc/AbnormalQTc.swift:39:23: warning: static property 'undefined' is not concurrency-safe because non-'Sendable' type 'Severity' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | // TODO: Consider refactor name of Severity to Interpretation.
 33 | /// Different levels of Severity in the interpretation of the QTc/p interval
 34 | public struct Severity: OptionSet {
    |               `- note: consider making struct 'Severity' conform to the 'Sendable' protocol
 35 |     public let rawValue: Int
 36 |     public init(rawValue: Int) {
 37 |         self.rawValue = rawValue
 38 |     }
 39 |     public static let undefined = Severity([])
    |                       |- warning: static property 'undefined' is not concurrency-safe because non-'Sendable' type 'Severity' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'undefined' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |     public static let normal = Severity(rawValue: 1)
 41 |     public static let borderline = Severity(rawValue: 2)
/Users/admin/builder/spi-builder-workspace/Sources/MiniQTc/AbnormalQTc.swift:40:23: warning: static property 'normal' is not concurrency-safe because non-'Sendable' type 'Severity' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | // TODO: Consider refactor name of Severity to Interpretation.
 33 | /// Different levels of Severity in the interpretation of the QTc/p interval
 34 | public struct Severity: OptionSet {
    |               `- note: consider making struct 'Severity' conform to the 'Sendable' protocol
 35 |     public let rawValue: Int
 36 |     public init(rawValue: Int) {
    :
 38 |     }
 39 |     public static let undefined = Severity([])
 40 |     public static let normal = Severity(rawValue: 1)
    |                       |- warning: static property 'normal' is not concurrency-safe because non-'Sendable' type 'Severity' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'normal' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 41 |     public static let borderline = Severity(rawValue: 2)
 42 |     public static let abnormal = Severity(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/MiniQTc/AbnormalQTc.swift:41:23: warning: static property 'borderline' is not concurrency-safe because non-'Sendable' type 'Severity' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | // TODO: Consider refactor name of Severity to Interpretation.
 33 | /// Different levels of Severity in the interpretation of the QTc/p interval
 34 | public struct Severity: OptionSet {
    |               `- note: consider making struct 'Severity' conform to the 'Sendable' protocol
 35 |     public let rawValue: Int
 36 |     public init(rawValue: Int) {
    :
 39 |     public static let undefined = Severity([])
 40 |     public static let normal = Severity(rawValue: 1)
 41 |     public static let borderline = Severity(rawValue: 2)
    |                       |- warning: static property 'borderline' is not concurrency-safe because non-'Sendable' type 'Severity' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'borderline' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 42 |     public static let abnormal = Severity(rawValue: 4)
 43 |     public static let mild = Severity(rawValue: 8)
/Users/admin/builder/spi-builder-workspace/Sources/MiniQTc/AbnormalQTc.swift:42:23: warning: static property 'abnormal' is not concurrency-safe because non-'Sendable' type 'Severity' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | // TODO: Consider refactor name of Severity to Interpretation.
 33 | /// Different levels of Severity in the interpretation of the QTc/p interval
 34 | public struct Severity: OptionSet {
    |               `- note: consider making struct 'Severity' conform to the 'Sendable' protocol
 35 |     public let rawValue: Int
 36 |     public init(rawValue: Int) {
    :
 40 |     public static let normal = Severity(rawValue: 1)
 41 |     public static let borderline = Severity(rawValue: 2)
 42 |     public static let abnormal = Severity(rawValue: 4)
    |                       |- warning: static property 'abnormal' is not concurrency-safe because non-'Sendable' type 'Severity' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'abnormal' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 |     public static let mild = Severity(rawValue: 8)
 44 |     public static let moderate = Severity(rawValue: 16)
/Users/admin/builder/spi-builder-workspace/Sources/MiniQTc/AbnormalQTc.swift:43:23: warning: static property 'mild' is not concurrency-safe because non-'Sendable' type 'Severity' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | // TODO: Consider refactor name of Severity to Interpretation.
 33 | /// Different levels of Severity in the interpretation of the QTc/p interval
 34 | public struct Severity: OptionSet {
    |               `- note: consider making struct 'Severity' conform to the 'Sendable' protocol
 35 |     public let rawValue: Int
 36 |     public init(rawValue: Int) {
    :
 41 |     public static let borderline = Severity(rawValue: 2)
 42 |     public static let abnormal = Severity(rawValue: 4)
 43 |     public static let mild = Severity(rawValue: 8)
    |                       |- warning: static property 'mild' is not concurrency-safe because non-'Sendable' type 'Severity' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'mild' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 44 |     public static let moderate = Severity(rawValue: 16)
 45 |     public static let severe = Severity(rawValue: 32)
/Users/admin/builder/spi-builder-workspace/Sources/MiniQTc/AbnormalQTc.swift:44:23: warning: static property 'moderate' is not concurrency-safe because non-'Sendable' type 'Severity' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | // TODO: Consider refactor name of Severity to Interpretation.
 33 | /// Different levels of Severity in the interpretation of the QTc/p interval
 34 | public struct Severity: OptionSet {
    |               `- note: consider making struct 'Severity' conform to the 'Sendable' protocol
 35 |     public let rawValue: Int
 36 |     public init(rawValue: Int) {
    :
 42 |     public static let abnormal = Severity(rawValue: 4)
 43 |     public static let mild = Severity(rawValue: 8)
 44 |     public static let moderate = Severity(rawValue: 16)
    |                       |- warning: static property 'moderate' is not concurrency-safe because non-'Sendable' type 'Severity' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'moderate' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |     public static let severe = Severity(rawValue: 32)
 46 |     public static let error = Severity(rawValue: 64)
/Users/admin/builder/spi-builder-workspace/Sources/MiniQTc/AbnormalQTc.swift:45:23: warning: static property 'severe' is not concurrency-safe because non-'Sendable' type 'Severity' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | // TODO: Consider refactor name of Severity to Interpretation.
 33 | /// Different levels of Severity in the interpretation of the QTc/p interval
 34 | public struct Severity: OptionSet {
    |               `- note: consider making struct 'Severity' conform to the 'Sendable' protocol
 35 |     public let rawValue: Int
 36 |     public init(rawValue: Int) {
    :
 43 |     public static let mild = Severity(rawValue: 8)
 44 |     public static let moderate = Severity(rawValue: 16)
 45 |     public static let severe = Severity(rawValue: 32)
    |                       |- warning: static property 'severe' is not concurrency-safe because non-'Sendable' type 'Severity' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'severe' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 46 |     public static let error = Severity(rawValue: 64)
 47 |
/Users/admin/builder/spi-builder-workspace/Sources/MiniQTc/AbnormalQTc.swift:46:23: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'Severity' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | // TODO: Consider refactor name of Severity to Interpretation.
 33 | /// Different levels of Severity in the interpretation of the QTc/p interval
 34 | public struct Severity: OptionSet {
    |               `- note: consider making struct 'Severity' conform to the 'Sendable' protocol
 35 |     public let rawValue: Int
 36 |     public init(rawValue: Int) {
    :
 44 |     public static let moderate = Severity(rawValue: 16)
 45 |     public static let severe = Severity(rawValue: 32)
 46 |     public static let error = Severity(rawValue: 64)
    |                       |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'Severity' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'error' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |
 48 |     public func isAbnormal() -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/MiniQTc/AbnormalQTc.swift:307:16: warning: static property 'testSuiteDictionary' is not concurrency-safe because non-'Sendable' type '[Criterion : QTcTestSuite]' may have shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 | /// These are tests for abnormal QTc values from the literature.
 12 | public enum Criterion: String {
    |             `- note: consider making enum 'Criterion' conform to the 'Sendable' protocol
 13 |     case schwartz1985 = "schwartz1985"
 14 |     case schwartz1993 = "schwartz1993"
    :
200 |
201 | /// Wrapper for a set of QTcTests, based on a literature reference
202 | public struct QTcTestSuite {
    |               `- note: consider making struct 'QTcTestSuite' conform to the 'Sendable' protocol
203 |     public let name: String
204 |     let qtcTests: QTcTests
    :
305 | /// Provides dictionary of QTcTestSuites
306 | public struct AbnormalQTc {
307 |     static let testSuiteDictionary: [Criterion: QTcTestSuite] =
    |                |- warning: static property 'testSuiteDictionary' is not concurrency-safe because non-'Sendable' type '[Criterion : QTcTestSuite]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'testSuiteDictionary' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
308 |         [.schwartz1985:
309 |             QTcTestSuite(
/Users/admin/builder/spi-builder-workspace/Sources/MiniQTc/Formulas.swift:38:16: warning: static property 'qtcDictionary' is not concurrency-safe because non-'Sendable' type '[Formula : QTcCalculator]' may have shared mutable state; this is an error in the Swift 6 language mode
36 |     // This is the data source for the formulas.  Potentially this could be a database, but there
37 |     // aren't that many formulas, so for now the formulas are inlined here.
38 |     static let qtcDictionary: [Formula: QTcCalculator] =
   |                |- warning: static property 'qtcDictionary' is not concurrency-safe because non-'Sendable' type '[Formula : QTcCalculator]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'qtcDictionary' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |         [.qtcBzt:
40 |             QTcCalculator(formula: .qtcBzt,
/Users/admin/builder/spi-builder-workspace/Sources/MiniQTc/QTc.swift:18:13: note: consider making enum 'Formula' conform to the 'Sendable' protocol
 16 |     QTc formulas labeled as qtcXXX, QTp as qtpXXX.
 17 |  */
 18 | public enum Formula: String {
    |             `- note: consider making enum 'Formula' conform to the 'Sendable' protocol
 19 |     // QTc formulas
 20 |     case qtcBzt  // Bazett
    :
131 |
132 | /// Class containing all aspects of a QTc calculator.
133 | public class QTcCalculator: Calculator {
    |              `- note: class 'QTcCalculator' does not conform to the 'Sendable' protocol
134 |     let baseEquation: QTcEquation
135 |
Build complete! (4.03s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MiniQTc",
  "name" : "MiniQTc",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.14"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "MiniQTc",
      "targets" : [
        "MiniQTc"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MiniQTcTests",
      "module_type" : "SwiftTarget",
      "name" : "MiniQTcTests",
      "path" : "Tests/MiniQTcTests",
      "sources" : [
        "QTc_iOSTests.swift"
      ],
      "target_dependencies" : [
        "MiniQTc"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MiniQTc",
      "module_type" : "SwiftTarget",
      "name" : "MiniQTc",
      "path" : "Sources/MiniQTc",
      "product_memberships" : [
        "MiniQTc"
      ],
      "sources" : [
        "AbnormalQTc.swift",
        "Formulas.swift",
        "QTc.swift",
        "QtMeasurement.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Done.