Build Information
Successful build of SMCKit, reference main (8286f3), with Swift 6.1 for macOS (SPM) on 20 Feb 2026 10:26:56 UTC.
Swift 6 data race errors: 12
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/srimanachanta/SMCKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/srimanachanta/SMCKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 8286f3b Update README.md
Cloned https://github.com/srimanachanta/SMCKit.git
Revision (git rev-parse @):
8286f3b11ad9801405e0be062a07e557fb654019
SUCCESS checkout https://github.com/srimanachanta/SMCKit.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/srimanachanta/SMCKit.git
https://github.com/srimanachanta/SMCKit.git
{
"dependencies" : [
],
"manifest_display_name" : "SMCKit",
"name" : "SMCKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "SMC",
"targets" : [
"SMC"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SMCKit",
"targets" : [
"SMCKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SMCKit",
"module_type" : "SwiftTarget",
"name" : "SMCKit",
"path" : "Sources/SMCKit",
"product_memberships" : [
"SMCKit"
],
"sources" : [
"SMCKit+Error.swift",
"SMCKit+Types.swift",
"SMCKit.swift"
],
"target_dependencies" : [
"SMC"
],
"type" : "library"
},
{
"c99name" : "SMC",
"module_type" : "ClangTarget",
"name" : "SMC",
"path" : "Sources/SMC",
"product_memberships" : [
"SMC",
"SMCKit"
],
"sources" : [
"smc.c"
],
"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/3] Write sources
[1/3] Write swift-version-2F0A5646E1D333AE.txt
[2/3] Compiling SMC smc.c
[4/7] Compiling SMCKit SMCKit.swift
[5/7] Compiling SMCKit SMCKit+Error.swift
[6/7] Compiling SMCKit SMCKit+Types.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMCKit/SMCKit+Types.swift:67:16: warning: static property 'UInt8' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
58 | }
59 |
60 | public struct DataType: Equatable {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
61 | public let type: FourCharCode
62 | public let size: UInt32
:
65 | // TODO Other DataTypes from other machines?
66 | enum DataTypes {
67 | static let UInt8 = DataType(
| |- warning: static property 'UInt8' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'UInt8' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | type: FourCharCode(fromStaticString: "ui8 "),
69 | size: 1
/Users/admin/builder/spi-builder-workspace/Sources/SMCKit/SMCKit+Types.swift:71:16: warning: static property 'UInt16' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
58 | }
59 |
60 | public struct DataType: Equatable {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
61 | public let type: FourCharCode
62 | public let size: UInt32
:
69 | size: 1
70 | )
71 | static let UInt16 = DataType(
| |- warning: static property 'UInt16' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'UInt16' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | type: FourCharCode(fromStaticString: "ui16"),
73 | size: 2
/Users/admin/builder/spi-builder-workspace/Sources/SMCKit/SMCKit+Types.swift:75:16: warning: static property 'UInt32' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
58 | }
59 |
60 | public struct DataType: Equatable {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
61 | public let type: FourCharCode
62 | public let size: UInt32
:
73 | size: 2
74 | )
75 | static let UInt32 = DataType(
| |- warning: static property 'UInt32' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'UInt32' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | type: FourCharCode(fromStaticString: "ui32"),
77 | size: 4
/Users/admin/builder/spi-builder-workspace/Sources/SMCKit/SMCKit+Types.swift:79:16: warning: static property 'UInt64' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
58 | }
59 |
60 | public struct DataType: Equatable {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
61 | public let type: FourCharCode
62 | public let size: UInt32
:
77 | size: 4
78 | )
79 | static let UInt64 = DataType(
| |- warning: static property 'UInt64' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'UInt64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | type: FourCharCode(fromStaticString: "ui64"),
81 | size: 8
/Users/admin/builder/spi-builder-workspace/Sources/SMCKit/SMCKit+Types.swift:84:16: warning: static property 'Int8' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
58 | }
59 |
60 | public struct DataType: Equatable {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
61 | public let type: FourCharCode
62 | public let size: UInt32
:
82 | )
83 |
84 | static let Int8 = DataType(
| |- warning: static property 'Int8' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Int8' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | type: FourCharCode(fromStaticString: "si8 "),
86 | size: 1
/Users/admin/builder/spi-builder-workspace/Sources/SMCKit/SMCKit+Types.swift:88:16: warning: static property 'Int16' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
58 | }
59 |
60 | public struct DataType: Equatable {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
61 | public let type: FourCharCode
62 | public let size: UInt32
:
86 | size: 1
87 | )
88 | static let Int16 = DataType(
| |- warning: static property 'Int16' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Int16' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | type: FourCharCode(fromStaticString: "si16"),
90 | size: 2
/Users/admin/builder/spi-builder-workspace/Sources/SMCKit/SMCKit+Types.swift:92:16: warning: static property 'Int32' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
58 | }
59 |
60 | public struct DataType: Equatable {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
61 | public let type: FourCharCode
62 | public let size: UInt32
:
90 | size: 2
91 | )
92 | static let Int32 = DataType(
| |- warning: static property 'Int32' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Int32' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | type: FourCharCode(fromStaticString: "si32"),
94 | size: 4
/Users/admin/builder/spi-builder-workspace/Sources/SMCKit/SMCKit+Types.swift:96:16: warning: static property 'Int64' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
58 | }
59 |
60 | public struct DataType: Equatable {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
61 | public let type: FourCharCode
62 | public let size: UInt32
:
94 | size: 4
95 | )
96 | static let Int64 = DataType(
| |- warning: static property 'Int64' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Int64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | type: FourCharCode(fromStaticString: "si64"),
98 | size: 8
/Users/admin/builder/spi-builder-workspace/Sources/SMCKit/SMCKit+Types.swift:101:16: warning: static property 'Flag' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
58 | }
59 |
60 | public struct DataType: Equatable {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
61 | public let type: FourCharCode
62 | public let size: UInt32
:
99 | )
100 |
101 | static let Flag = DataType(
| |- warning: static property 'Flag' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Flag' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | type: FourCharCode(fromStaticString: "flag"),
103 | size: 1
/Users/admin/builder/spi-builder-workspace/Sources/SMCKit/SMCKit+Types.swift:105:16: warning: static property 'Float' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
58 | }
59 |
60 | public struct DataType: Equatable {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
61 | public let type: FourCharCode
62 | public let size: UInt32
:
103 | size: 1
104 | )
105 | static let Float = DataType(
| |- warning: static property 'Float' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | type: FourCharCode(fromStaticString: "flt "),
107 | size: 4
/Users/admin/builder/spi-builder-workspace/Sources/SMCKit/SMCKit+Types.swift:110:16: warning: static property 'HexData' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
58 | }
59 |
60 | public struct DataType: Equatable {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
61 | public let type: FourCharCode
62 | public let size: UInt32
:
108 | )
109 |
110 | static let HexData = DataType(
| |- warning: static property 'HexData' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'HexData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | type: FourCharCode(fromStaticString: "hex_"),
112 | size: 0
/Users/admin/builder/spi-builder-workspace/Sources/SMCKit/SMCKit+Types.swift:114:16: warning: static property 'Ch8String' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
58 | }
59 |
60 | public struct DataType: Equatable {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
61 | public let type: FourCharCode
62 | public let size: UInt32
:
112 | size: 0
113 | )
114 | static let Ch8String = DataType(
| |- warning: static property 'Ch8String' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Ch8String' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 | type: FourCharCode(fromStaticString: "ch8*"),
116 | size: 0
[7/7] Emitting module SMCKit
/Users/admin/builder/spi-builder-workspace/Sources/SMCKit/SMCKit+Types.swift:67:16: warning: static property 'UInt8' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
58 | }
59 |
60 | public struct DataType: Equatable {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
61 | public let type: FourCharCode
62 | public let size: UInt32
:
65 | // TODO Other DataTypes from other machines?
66 | enum DataTypes {
67 | static let UInt8 = DataType(
| |- warning: static property 'UInt8' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'UInt8' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | type: FourCharCode(fromStaticString: "ui8 "),
69 | size: 1
/Users/admin/builder/spi-builder-workspace/Sources/SMCKit/SMCKit+Types.swift:71:16: warning: static property 'UInt16' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
58 | }
59 |
60 | public struct DataType: Equatable {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
61 | public let type: FourCharCode
62 | public let size: UInt32
:
69 | size: 1
70 | )
71 | static let UInt16 = DataType(
| |- warning: static property 'UInt16' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'UInt16' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | type: FourCharCode(fromStaticString: "ui16"),
73 | size: 2
/Users/admin/builder/spi-builder-workspace/Sources/SMCKit/SMCKit+Types.swift:75:16: warning: static property 'UInt32' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
58 | }
59 |
60 | public struct DataType: Equatable {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
61 | public let type: FourCharCode
62 | public let size: UInt32
:
73 | size: 2
74 | )
75 | static let UInt32 = DataType(
| |- warning: static property 'UInt32' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'UInt32' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | type: FourCharCode(fromStaticString: "ui32"),
77 | size: 4
/Users/admin/builder/spi-builder-workspace/Sources/SMCKit/SMCKit+Types.swift:79:16: warning: static property 'UInt64' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
58 | }
59 |
60 | public struct DataType: Equatable {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
61 | public let type: FourCharCode
62 | public let size: UInt32
:
77 | size: 4
78 | )
79 | static let UInt64 = DataType(
| |- warning: static property 'UInt64' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'UInt64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | type: FourCharCode(fromStaticString: "ui64"),
81 | size: 8
/Users/admin/builder/spi-builder-workspace/Sources/SMCKit/SMCKit+Types.swift:84:16: warning: static property 'Int8' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
58 | }
59 |
60 | public struct DataType: Equatable {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
61 | public let type: FourCharCode
62 | public let size: UInt32
:
82 | )
83 |
84 | static let Int8 = DataType(
| |- warning: static property 'Int8' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Int8' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | type: FourCharCode(fromStaticString: "si8 "),
86 | size: 1
/Users/admin/builder/spi-builder-workspace/Sources/SMCKit/SMCKit+Types.swift:88:16: warning: static property 'Int16' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
58 | }
59 |
60 | public struct DataType: Equatable {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
61 | public let type: FourCharCode
62 | public let size: UInt32
:
86 | size: 1
87 | )
88 | static let Int16 = DataType(
| |- warning: static property 'Int16' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Int16' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | type: FourCharCode(fromStaticString: "si16"),
90 | size: 2
/Users/admin/builder/spi-builder-workspace/Sources/SMCKit/SMCKit+Types.swift:92:16: warning: static property 'Int32' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
58 | }
59 |
60 | public struct DataType: Equatable {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
61 | public let type: FourCharCode
62 | public let size: UInt32
:
90 | size: 2
91 | )
92 | static let Int32 = DataType(
| |- warning: static property 'Int32' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Int32' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | type: FourCharCode(fromStaticString: "si32"),
94 | size: 4
/Users/admin/builder/spi-builder-workspace/Sources/SMCKit/SMCKit+Types.swift:96:16: warning: static property 'Int64' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
58 | }
59 |
60 | public struct DataType: Equatable {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
61 | public let type: FourCharCode
62 | public let size: UInt32
:
94 | size: 4
95 | )
96 | static let Int64 = DataType(
| |- warning: static property 'Int64' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Int64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | type: FourCharCode(fromStaticString: "si64"),
98 | size: 8
/Users/admin/builder/spi-builder-workspace/Sources/SMCKit/SMCKit+Types.swift:101:16: warning: static property 'Flag' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
58 | }
59 |
60 | public struct DataType: Equatable {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
61 | public let type: FourCharCode
62 | public let size: UInt32
:
99 | )
100 |
101 | static let Flag = DataType(
| |- warning: static property 'Flag' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Flag' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | type: FourCharCode(fromStaticString: "flag"),
103 | size: 1
/Users/admin/builder/spi-builder-workspace/Sources/SMCKit/SMCKit+Types.swift:105:16: warning: static property 'Float' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
58 | }
59 |
60 | public struct DataType: Equatable {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
61 | public let type: FourCharCode
62 | public let size: UInt32
:
103 | size: 1
104 | )
105 | static let Float = DataType(
| |- warning: static property 'Float' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | type: FourCharCode(fromStaticString: "flt "),
107 | size: 4
/Users/admin/builder/spi-builder-workspace/Sources/SMCKit/SMCKit+Types.swift:110:16: warning: static property 'HexData' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
58 | }
59 |
60 | public struct DataType: Equatable {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
61 | public let type: FourCharCode
62 | public let size: UInt32
:
108 | )
109 |
110 | static let HexData = DataType(
| |- warning: static property 'HexData' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'HexData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | type: FourCharCode(fromStaticString: "hex_"),
112 | size: 0
/Users/admin/builder/spi-builder-workspace/Sources/SMCKit/SMCKit+Types.swift:114:16: warning: static property 'Ch8String' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
58 | }
59 |
60 | public struct DataType: Equatable {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
61 | public let type: FourCharCode
62 | public let size: UInt32
:
112 | size: 0
113 | )
114 | static let Ch8String = DataType(
| |- warning: static property 'Ch8String' is not concurrency-safe because non-'Sendable' type 'DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'Ch8String' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 | type: FourCharCode(fromStaticString: "ch8*"),
116 | size: 0
Build complete! (11.88s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SMCKit",
"name" : "SMCKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "SMC",
"targets" : [
"SMC"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SMCKit",
"targets" : [
"SMCKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SMCKit",
"module_type" : "SwiftTarget",
"name" : "SMCKit",
"path" : "Sources/SMCKit",
"product_memberships" : [
"SMCKit"
],
"sources" : [
"SMCKit+Error.swift",
"SMCKit+Types.swift",
"SMCKit.swift"
],
"target_dependencies" : [
"SMC"
],
"type" : "library"
},
{
"c99name" : "SMC",
"module_type" : "ClangTarget",
"name" : "SMC",
"path" : "Sources/SMC",
"product_memberships" : [
"SMC",
"SMCKit"
],
"sources" : [
"smc.c"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.