Build Information
Successful build of MiniQTc, reference main (144b34), with Swift 6.1 for Wasm on 16 Jul 2026 05:39:30 UTC.
Swift 6 data race errors: 10
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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>&1Build Log
========================================
RunAll
========================================
Builder version: 333316120c8b89ed7d21f1b34865290794301d91
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mannd/MiniQTc.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/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: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/mannd/MiniQTc.git
https://github.com/mannd/MiniQTc.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:1ad245dad3d2ae0004e1afbc92334bd39884ed9ca587cf04d0a8d5f640fb02e9
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/7] Compiling MiniQTc QtMeasurement.swift
[4/7] Compiling MiniQTc QTc.swift
[5/7] Compiling MiniQTc AbnormalQTc.swift
/host/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)
/host/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)
/host/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)
/host/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)
/host/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)
/host/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)
/host/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 |
/host/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 {
/host/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(
[6/7] Compiling MiniQTc Formulas.swift
/host/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,
/host/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 |
[7/7] Emitting module MiniQTc
/host/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)
/host/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)
/host/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)
/host/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)
/host/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)
/host/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)
/host/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 |
/host/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 {
/host/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(
/host/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,
/host/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! (2.86s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "MiniQTc",
"name" : "MiniQTc",
"path" : "/host/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"
}
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:1ad245dad3d2ae0004e1afbc92334bd39884ed9ca587cf04d0a8d5f640fb02e9
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Done.