Build Information
Failed to build Introspection, reference 2.1.0 (80eac1), with Swift 6.1 for Wasm on 27 Jan 2026 06:52:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RougeWare/Swift-Introspection.git
Reference: 2.1.0
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/RougeWare/Swift-Introspection
* tag 2.1.0 -> FETCH_HEAD
HEAD is now at 80eac12 Merge pull request #11 from RougeWare/feature/hardwareModelIdentifier-parsing
Cloned https://github.com/RougeWare/Swift-Introspection.git
Revision (git rev-parse @):
80eac12471167aa7ab8c562f76d889d51a4228a1
SUCCESS checkout https://github.com/RougeWare/Swift-Introspection.git at 2.1.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/RougeWare/Swift-Introspection.git
https://github.com/RougeWare/Swift-Introspection.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-collection-tools",
"requirement" : {
"range" : [
{
"lower_bound" : "3.2.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/RougeWare/Swift-Collection-Tools.git"
},
{
"identity" : "swift-semver",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0-Beta.5",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/RougeWare/Swift-SemVer.git"
},
{
"identity" : "swift-string-integer-access",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/RougeWare/Swift-String-Integer-Access.git"
},
{
"identity" : "swift-special-string",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/RougeWare/Swift-Special-String.git"
}
],
"manifest_display_name" : "Introspection",
"name" : "Introspection",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "Introspection",
"targets" : [
"Introspection"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "IntrospectionTests",
"module_type" : "SwiftTarget",
"name" : "IntrospectionTests",
"path" : "Tests/IntrospectionTests",
"sources" : [
"Bundle Reading tests.swift",
"Device Info tests.swift"
],
"target_dependencies" : [
"Introspection"
],
"type" : "test"
},
{
"c99name" : "Introspection",
"module_type" : "SwiftTarget",
"name" : "Introspection",
"path" : "Sources/Introspection",
"product_dependencies" : [
"SafeStringIntegerAccess",
"CollectionTools",
"SemVer",
"SpecialString",
"StringIntegerAccess"
],
"product_memberships" : [
"Introspection"
],
"sources" : [
"Bundle Reading.swift",
"Device Info.swift",
"Introspection.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/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 finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/RougeWare/Swift-SemVer.git
Fetching https://github.com/RougeWare/Swift-Collection-Tools.git
Fetching https://github.com/RougeWare/Swift-Special-String.git
Fetching https://github.com/RougeWare/Swift-String-Integer-Access.git
[1/230] Fetching swift-collection-tools
[22/322] Fetching swift-collection-tools, swift-string-integer-access
[243/396] Fetching swift-collection-tools, swift-string-integer-access, swift-special-string
[228/667] Fetching swift-collection-tools, swift-string-integer-access, swift-special-string, swift-semver
Fetched https://github.com/RougeWare/Swift-Special-String.git from cache (0.29s)
Fetched https://github.com/RougeWare/Swift-Collection-Tools.git from cache (0.29s)
Fetched https://github.com/RougeWare/Swift-SemVer.git from cache (0.30s)
Fetched https://github.com/RougeWare/Swift-String-Integer-Access.git from cache (0.29s)
Computing version for https://github.com/RougeWare/Swift-String-Integer-Access.git
Computed https://github.com/RougeWare/Swift-String-Integer-Access.git at 2.1.0 (0.92s)
Fetching https://github.com/RougeWare/Swift-Safe-Collection-Access.git
Fetching https://github.com/RougeWare/Swift-Range-Tools.git
[1/165] Fetching swift-safe-collection-access
[166/235] Fetching swift-safe-collection-access, swift-range-tools
Fetched https://github.com/RougeWare/Swift-Safe-Collection-Access.git from cache (0.19s)
Fetched https://github.com/RougeWare/Swift-Range-Tools.git from cache (0.19s)
Computing version for https://github.com/RougeWare/Swift-Collection-Tools.git
Computed https://github.com/RougeWare/Swift-Collection-Tools.git at 3.2.0 (0.81s)
Fetching https://github.com/RougeWare/Swift-Function-Tools
[1/121] Fetching swift-function-tools
Fetched https://github.com/RougeWare/Swift-Function-Tools from cache (0.19s)
Computing version for https://github.com/RougeWare/Swift-Special-String.git
Computed https://github.com/RougeWare/Swift-Special-String.git at 1.2.0 (0.92s)
Computing version for https://github.com/RougeWare/Swift-Range-Tools.git
Computed https://github.com/RougeWare/Swift-Range-Tools.git at 1.2.1 (0.70s)
Computing version for https://github.com/RougeWare/Swift-Safe-Collection-Access.git
Computed https://github.com/RougeWare/Swift-Safe-Collection-Access.git at 2.3.0 (0.99s)
Computing version for https://github.com/RougeWare/Swift-Function-Tools
Computed https://github.com/RougeWare/Swift-Function-Tools at 1.2.4 (0.93s)
Computing version for https://github.com/RougeWare/Swift-SemVer.git
Computed https://github.com/RougeWare/Swift-SemVer.git at 3.0.0-Beta.5 (0.74s)
Creating working copy for https://github.com/RougeWare/Swift-Safe-Collection-Access.git
Working copy of https://github.com/RougeWare/Swift-Safe-Collection-Access.git resolved at 2.3.0
Creating working copy for https://github.com/RougeWare/Swift-Function-Tools
Working copy of https://github.com/RougeWare/Swift-Function-Tools resolved at 1.2.4
Creating working copy for https://github.com/RougeWare/Swift-Range-Tools.git
Working copy of https://github.com/RougeWare/Swift-Range-Tools.git resolved at 1.2.1
Creating working copy for https://github.com/RougeWare/Swift-SemVer.git
Working copy of https://github.com/RougeWare/Swift-SemVer.git resolved at 3.0.0-Beta.5
Creating working copy for https://github.com/RougeWare/Swift-Special-String.git
Working copy of https://github.com/RougeWare/Swift-Special-String.git resolved at 1.2.0
Creating working copy for https://github.com/RougeWare/Swift-Collection-Tools.git
Working copy of https://github.com/RougeWare/Swift-Collection-Tools.git resolved at 3.2.0
Creating working copy for https://github.com/RougeWare/Swift-String-Integer-Access.git
Working copy of https://github.com/RougeWare/Swift-String-Integer-Access.git resolved at 2.1.0
Building for debugging...
[0/10] Write sources
[9/10] Write swift-version-24593BA9C3E375BF.txt
[11/32] Compiling SpecialString SpecialString.swift
[12/32] Compiling FunctionTools Blackholes.swift
[13/32] Compiling FunctionTools Constant.swift
[14/32] Compiling FunctionTools Call.swift
[15/33] Compiling FunctionTools !.swift
[16/33] Emitting module FunctionTools
[17/33] Emitting module RangeTools
[18/33] Compiling RangeTools Default conformances.swift
[19/33] Compiling RangeTools RangeProtocol.swift
[20/33] Compiling FunctionTools Curry.swift
[21/34] Compiling SemVer Semantic Version + Hashable.swift
[22/34] Compiling SemVer Semantic Version.swift
[23/34] Compiling FunctionTools Echo.swift
[24/34] Compiling FunctionTools Function types.swift
[26/34] Compiling FunctionTools Null functions.swift
[27/35] Compiling SemVer Testing tools.swift
[28/35] Emitting module SemVer
[29/35] Compiling SemVer Conveniences.swift
[30/35] Compiling SemVer Semantic Version + Comparable.swift
[31/35] Compiling SemVer Semantic Version + Codable.swift
[32/35] Compiling SpecialString EssentiallyAString.swift
[33/35] Emitting module SpecialString
[34/35] Compiling SpecialString Premade Special Strings.swift
[38/53] Compiling SafeCollectionAccess SafeRangeExpression.swift
[39/53] Compiling SafeCollectionAccess Ranges or nil.swift
[40/53] Emitting module SafeCollectionAccess
[41/53] Compiling SafeCollectionAccess Safe Collection Access.swift
[42/53] Compiling CollectionTools Collection + nonEmptyOrNil.swift
[43/53] Compiling CollectionTools Collection + isNotEmpty.swift
[44/53] Compiling CollectionTools Collection + map with transformer.swift
[45/55] Compiling CollectionTools RangeReplaceableCollection + elemental operators.swift
[46/55] Compiling CollectionTools Collection + onlyFirst & onlyLast.swift
[47/55] Compiling CollectionTools CollectionWhichCanBeEmpty.swift
[48/55] Compiling CollectionTools Collection + withoutDuplicates.swift
[50/55] Emitting module StringIntegerAccess
[51/55] Compiling StringIntegerAccess String + Integer access.swift
[52/55] Compiling CollectionTools Sequence + sequentialPairs.swift
[54/58] Emitting module CollectionTools
[55/58] Compiling CollectionTools ArrayBuilder.swift
[56/58] Compiling CollectionTools Collection + everyPair.swift
[58/59] Emitting module SafeStringIntegerAccess
[59/59] Compiling SafeStringIntegerAccess StringIntegerAccess + SafeCollectionAccess.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[61/64] Compiling Introspection Introspection.swift
[62/64] Emitting module Introspection
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:106:16: warning: static property 'hardwareModelIdentifier' is not concurrency-safe because non-'Sendable' type 'Introspection.Device.HardwareModelIdentifier?' may have shared mutable state; this is an error in the Swift 6 language mode
104 |
105 | /// The hardware model identifier of the current device, like `{"Mac", 14, 8}` or `{"iPhone", 18, 2}`
106 | static let hardwareModelIdentifier: HardwareModelIdentifier? = {
| |- warning: static property 'hardwareModelIdentifier' is not concurrency-safe because non-'Sendable' type 'Introspection.Device.HardwareModelIdentifier?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hardwareModelIdentifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | guard let identifierString = hardwareModelIdentifierString else { return nil }
108 | let match = hardwareModelRegex
:
140 |
141 | /// Models the components of a hardware model identifier. So `"MacBookAir9,1"` would split into `{type: "MacBookAir", version: {full: "9,1", major: 9, minor: 1}}`
142 | public struct HardwareModelIdentifier: Hashable {
| `- note: consider making struct 'HardwareModelIdentifier' conform to the 'Sendable' protocol
143 |
144 | /// The "type" portion of the hardware model identifier, like `"MacBookAir"` or `"iPhone"`
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:112:42: error: subscript 'subscript(orNil:)' requires that 'NSRange' (aka '_NSRange') conform to 'SafeRangeExpression'
110 |
111 | guard let typeRange = match?.range(withName: "Type"),
112 | let type = identifierString[orNil: typeRange],
| `- error: subscript 'subscript(orNil:)' requires that 'NSRange' (aka '_NSRange') conform to 'SafeRangeExpression'
113 |
114 | let versionRange = match?.range(withName: "Version"),
/host/spi-builder-workspace/.build/checkouts/Swift-Safe-Collection-Access/Sources/SafeCollectionAccess/Ranges or nil.swift:102:5: note: where 'RangeType' = 'NSRange' (aka '_NSRange')
100 | /// within `0` (inclusive) and `count` (exclusive).
101 | @inlinable
102 | subscript<RangeType>(orNil range: RangeType) -> SubSequence?
| `- note: where 'RangeType' = 'NSRange' (aka '_NSRange')
103 | where RangeType: SafeRangeExpression,
104 | RangeType.Bound == Index {
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:142:5: warning: 'public' modifier is redundant for struct declared in a public extension
140 |
141 | /// Models the components of a hardware model identifier. So `"MacBookAir9,1"` would split into `{type: "MacBookAir", version: {full: "9,1", major: 9, minor: 1}}`
142 | public struct HardwareModelIdentifier: Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
143 |
144 | /// The "type" portion of the hardware model identifier, like `"MacBookAir"` or `"iPhone"`
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:230:16: warning: static property 'mac' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Represents the current device
24 | @dynamicMemberLookup
25 | struct Device {
| `- note: consider making struct 'Device' conform to the 'Sendable' protocol
26 |
27 | /// The device’s hardware model identifier, like `{"Mac", 14, 8}` or `{"iPhone", 18, 2}`.
:
228 | ///
229 | /// For some reason, some newer Mac models report themselves generically as `"Mac"`, rather than specifying what kind.
230 | static let mac = Self(modelType: .mac)
| |- warning: static property 'mac' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mac' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
231 |
232 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:234:16: warning: static property 'macBook' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Represents the current device
24 | @dynamicMemberLookup
25 | struct Device {
| `- note: consider making struct 'Device' conform to the 'Sendable' protocol
26 |
27 | /// The device’s hardware model identifier, like `{"Mac", 14, 8}` or `{"iPhone", 18, 2}`.
:
232 |
233 | /// Represents Apple's MacBook
234 | static let macBook = Self(modelType: .macBook)
| |- warning: static property 'macBook' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'macBook' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 |
236 | /// Represents Apple's MacBook Air
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:237:16: warning: static property 'macBookAir' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Represents the current device
24 | @dynamicMemberLookup
25 | struct Device {
| `- note: consider making struct 'Device' conform to the 'Sendable' protocol
26 |
27 | /// The device’s hardware model identifier, like `{"Mac", 14, 8}` or `{"iPhone", 18, 2}`.
:
235 |
236 | /// Represents Apple's MacBook Air
237 | static let macBookAir = Self(modelType: .macBookAir)
| |- warning: static property 'macBookAir' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'macBookAir' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
238 |
239 | /// Represents Apple's MacBook Pro
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:240:16: warning: static property 'macBookPro' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Represents the current device
24 | @dynamicMemberLookup
25 | struct Device {
| `- note: consider making struct 'Device' conform to the 'Sendable' protocol
26 |
27 | /// The device’s hardware model identifier, like `{"Mac", 14, 8}` or `{"iPhone", 18, 2}`.
:
238 |
239 | /// Represents Apple's MacBook Pro
240 | static let macBookPro = Self(modelType: .macBookPro)
| |- warning: static property 'macBookPro' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'macBookPro' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
241 |
242 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:244:16: warning: static property 'iMac' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Represents the current device
24 | @dynamicMemberLookup
25 | struct Device {
| `- note: consider making struct 'Device' conform to the 'Sendable' protocol
26 |
27 | /// The device’s hardware model identifier, like `{"Mac", 14, 8}` or `{"iPhone", 18, 2}`.
:
242 |
243 | /// Represents Apple's iMac
244 | static let iMac = Self(modelType: .iMac)
| |- warning: static property 'iMac' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iMac' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
245 |
246 | /// Represents Apple's iMac Pro
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:247:16: warning: static property 'iMacPro' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Represents the current device
24 | @dynamicMemberLookup
25 | struct Device {
| `- note: consider making struct 'Device' conform to the 'Sendable' protocol
26 |
27 | /// The device’s hardware model identifier, like `{"Mac", 14, 8}` or `{"iPhone", 18, 2}`.
:
245 |
246 | /// Represents Apple's iMac Pro
247 | static let iMacPro = Self(modelType: .iMacPro)
| |- warning: static property 'iMacPro' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iMacPro' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
248 |
249 | /// Represents Apple's Mac mini
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:250:16: warning: static property 'macMini' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Represents the current device
24 | @dynamicMemberLookup
25 | struct Device {
| `- note: consider making struct 'Device' conform to the 'Sendable' protocol
26 |
27 | /// The device’s hardware model identifier, like `{"Mac", 14, 8}` or `{"iPhone", 18, 2}`.
:
248 |
249 | /// Represents Apple's Mac mini
250 | static let macMini = Self(modelType: .macMini)
| |- warning: static property 'macMini' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'macMini' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
251 |
252 | /// Represents Apple's Mac Pro
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:253:16: warning: static property 'macPro' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Represents the current device
24 | @dynamicMemberLookup
25 | struct Device {
| `- note: consider making struct 'Device' conform to the 'Sendable' protocol
26 |
27 | /// The device’s hardware model identifier, like `{"Mac", 14, 8}` or `{"iPhone", 18, 2}`.
:
251 |
252 | /// Represents Apple's Mac Pro
253 | static let macPro = Self(modelType: .macPro)
| |- warning: static property 'macPro' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'macPro' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
254 |
255 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:257:16: warning: static property 'iPhone' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Represents the current device
24 | @dynamicMemberLookup
25 | struct Device {
| `- note: consider making struct 'Device' conform to the 'Sendable' protocol
26 |
27 | /// The device’s hardware model identifier, like `{"Mac", 14, 8}` or `{"iPhone", 18, 2}`.
:
255 |
256 | /// Represents Apple's iPhone
257 | static let iPhone = Self(modelType: .iPhone)
| |- warning: static property 'iPhone' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
258 |
259 | /// Represents Apple's iPod
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:260:16: warning: static property 'iPod' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Represents the current device
24 | @dynamicMemberLookup
25 | struct Device {
| `- note: consider making struct 'Device' conform to the 'Sendable' protocol
26 |
27 | /// The device’s hardware model identifier, like `{"Mac", 14, 8}` or `{"iPhone", 18, 2}`.
:
258 |
259 | /// Represents Apple's iPod
260 | static let iPod = Self(modelType: .iPod)
| |- warning: static property 'iPod' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPod' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
261 |
262 | /// Represents Apple's iPad, iPad mini, and iPad Pro
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:263:16: warning: static property 'iPad' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Represents the current device
24 | @dynamicMemberLookup
25 | struct Device {
| `- note: consider making struct 'Device' conform to the 'Sendable' protocol
26 |
27 | /// The device’s hardware model identifier, like `{"Mac", 14, 8}` or `{"iPhone", 18, 2}`.
:
261 |
262 | /// Represents Apple's iPad, iPad mini, and iPad Pro
263 | static let iPad = Self(modelType: .iPad)
| |- warning: static property 'iPad' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPad' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
264 |
265 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:267:16: warning: static property 'watch' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Represents the current device
24 | @dynamicMemberLookup
25 | struct Device {
| `- note: consider making struct 'Device' conform to the 'Sendable' protocol
26 |
27 | /// The device’s hardware model identifier, like `{"Mac", 14, 8}` or `{"iPhone", 18, 2}`.
:
265 |
266 | /// Represents Apple's Watch
267 | static let watch = Self(modelType: .watch)
| |- warning: static property 'watch' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'watch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
268 |
269 | /// Represents Apple's TV
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:270:16: warning: static property 'tv' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Represents the current device
24 | @dynamicMemberLookup
25 | struct Device {
| `- note: consider making struct 'Device' conform to the 'Sendable' protocol
26 |
27 | /// The device’s hardware model identifier, like `{"Mac", 14, 8}` or `{"iPhone", 18, 2}`.
:
268 |
269 | /// Represents Apple's TV
270 | static let tv = Self(modelType: .tv)
| |- warning: static property 'tv' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tv' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
271 |
272 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:274:16: warning: static property 'iPhoneSimulator_i386' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Represents the current device
24 | @dynamicMemberLookup
25 | struct Device {
| `- note: consider making struct 'Device' conform to the 'Sendable' protocol
26 |
27 | /// The device’s hardware model identifier, like `{"Mac", 14, 8}` or `{"iPhone", 18, 2}`.
:
272 |
273 | /// Represents Apple's i386 iPhone Simulator
274 | static let iPhoneSimulator_i386 = Self(modelType: .iPhoneSimulator_i386)
| |- warning: static property 'iPhoneSimulator_i386' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhoneSimulator_i386' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
275 |
276 | /// Represents Apple's x86_64 iPhone Simulator
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:277:16: warning: static property 'iPhoneSimulator_x86_64' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Represents the current device
24 | @dynamicMemberLookup
25 | struct Device {
| `- note: consider making struct 'Device' conform to the 'Sendable' protocol
26 |
27 | /// The device’s hardware model identifier, like `{"Mac", 14, 8}` or `{"iPhone", 18, 2}`.
:
275 |
276 | /// Represents Apple's x86_64 iPhone Simulator
277 | static let iPhoneSimulator_x86_64 = Self(modelType: .iPhoneSimulator_x86_64)
| |- warning: static property 'iPhoneSimulator_x86_64' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhoneSimulator_x86_64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
278 |
279 | /// Represents Apple's arm64 iPhone Simulator
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:280:16: warning: static property 'iPhoneSimulator_arm64' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Represents the current device
24 | @dynamicMemberLookup
25 | struct Device {
| `- note: consider making struct 'Device' conform to the 'Sendable' protocol
26 |
27 | /// The device’s hardware model identifier, like `{"Mac", 14, 8}` or `{"iPhone", 18, 2}`.
:
278 |
279 | /// Represents Apple's arm64 iPhone Simulator
280 | static let iPhoneSimulator_arm64 = Self(modelType: .iPhoneSimulator_arm64)
| |- warning: static property 'iPhoneSimulator_arm64' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhoneSimulator_arm64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
281 |
282 | /// Represents a VMWare virtual machine
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:283:16: warning: static property 'vm_vmware' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Represents the current device
24 | @dynamicMemberLookup
25 | struct Device {
| `- note: consider making struct 'Device' conform to the 'Sendable' protocol
26 |
27 | /// The device’s hardware model identifier, like `{"Mac", 14, 8}` or `{"iPhone", 18, 2}`.
:
281 |
282 | /// Represents a VMWare virtual machine
283 | static let vm_vmware = Self(modelType: .vm_vmware)
| |- warning: static property 'vm_vmware' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vm_vmware' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
284 | }
285 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:294:16: warning: static property 'mac' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | public extension Introspection.Device {
80 | enum ModelType_SpecialStringSpecialType: SpecialStringSpecialType {}
| `- note: consider making enum 'ModelType_SpecialStringSpecialType' conform to the 'Sendable' protocol
81 | typealias ModelType = SpecialString<ModelType_SpecialStringSpecialType>
82 | }
:
292 | /// For some reason, Apple seems to be making some devices just report themselves as just `"Mac"`.
293 | /// For example, the 16-inch MacBook Pro (Nov 2024) reports itself as `"Mac16,7"`
294 | static let mac: Self = "Mac"
| |- warning: static property 'mac' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mac' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
295 |
296 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:298:16: warning: static property 'macBook' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | public extension Introspection.Device {
80 | enum ModelType_SpecialStringSpecialType: SpecialStringSpecialType {}
| `- note: consider making enum 'ModelType_SpecialStringSpecialType' conform to the 'Sendable' protocol
81 | typealias ModelType = SpecialString<ModelType_SpecialStringSpecialType>
82 | }
:
296 |
297 | /// The model type prefix for Apple's MacBook
298 | static let macBook: Self = "MacBook"
| |- warning: static property 'macBook' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'macBook' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
299 |
300 | /// The model type prefix for Apple's MacBook Air
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:301:16: warning: static property 'macBookAir' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | public extension Introspection.Device {
80 | enum ModelType_SpecialStringSpecialType: SpecialStringSpecialType {}
| `- note: consider making enum 'ModelType_SpecialStringSpecialType' conform to the 'Sendable' protocol
81 | typealias ModelType = SpecialString<ModelType_SpecialStringSpecialType>
82 | }
:
299 |
300 | /// The model type prefix for Apple's MacBook Air
301 | static let macBookAir: Self = "MacBookAir"
| |- warning: static property 'macBookAir' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'macBookAir' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
302 |
303 | /// The model type prefix for Apple's MacBook Pro
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:304:16: warning: static property 'macBookPro' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | public extension Introspection.Device {
80 | enum ModelType_SpecialStringSpecialType: SpecialStringSpecialType {}
| `- note: consider making enum 'ModelType_SpecialStringSpecialType' conform to the 'Sendable' protocol
81 | typealias ModelType = SpecialString<ModelType_SpecialStringSpecialType>
82 | }
:
302 |
303 | /// The model type prefix for Apple's MacBook Pro
304 | static let macBookPro: Self = "MacBookPro"
| |- warning: static property 'macBookPro' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'macBookPro' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
305 |
306 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:308:16: warning: static property 'iMac' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | public extension Introspection.Device {
80 | enum ModelType_SpecialStringSpecialType: SpecialStringSpecialType {}
| `- note: consider making enum 'ModelType_SpecialStringSpecialType' conform to the 'Sendable' protocol
81 | typealias ModelType = SpecialString<ModelType_SpecialStringSpecialType>
82 | }
:
306 |
307 | /// The model type prefix for Apple's iMac
308 | static let iMac: Self = "iMac"
| |- warning: static property 'iMac' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iMac' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
309 |
310 | /// The model type prefix for Apple's iMac Pro
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:311:16: warning: static property 'iMacPro' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | public extension Introspection.Device {
80 | enum ModelType_SpecialStringSpecialType: SpecialStringSpecialType {}
| `- note: consider making enum 'ModelType_SpecialStringSpecialType' conform to the 'Sendable' protocol
81 | typealias ModelType = SpecialString<ModelType_SpecialStringSpecialType>
82 | }
:
309 |
310 | /// The model type prefix for Apple's iMac Pro
311 | static let iMacPro: Self = "iMacPro"
| |- warning: static property 'iMacPro' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iMacPro' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
312 |
313 | /// The model type prefix for Apple's Mac mini
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:314:16: warning: static property 'macMini' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | public extension Introspection.Device {
80 | enum ModelType_SpecialStringSpecialType: SpecialStringSpecialType {}
| `- note: consider making enum 'ModelType_SpecialStringSpecialType' conform to the 'Sendable' protocol
81 | typealias ModelType = SpecialString<ModelType_SpecialStringSpecialType>
82 | }
:
312 |
313 | /// The model type prefix for Apple's Mac mini
314 | static let macMini: Self = "Macmini"
| |- warning: static property 'macMini' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'macMini' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
315 |
316 | /// The model type prefix for Apple's Mac Pro
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:317:16: warning: static property 'macPro' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | public extension Introspection.Device {
80 | enum ModelType_SpecialStringSpecialType: SpecialStringSpecialType {}
| `- note: consider making enum 'ModelType_SpecialStringSpecialType' conform to the 'Sendable' protocol
81 | typealias ModelType = SpecialString<ModelType_SpecialStringSpecialType>
82 | }
:
315 |
316 | /// The model type prefix for Apple's Mac Pro
317 | static let macPro: Self = "MacPro"
| |- warning: static property 'macPro' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'macPro' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
318 |
319 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:321:16: warning: static property 'iPhone' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | public extension Introspection.Device {
80 | enum ModelType_SpecialStringSpecialType: SpecialStringSpecialType {}
| `- note: consider making enum 'ModelType_SpecialStringSpecialType' conform to the 'Sendable' protocol
81 | typealias ModelType = SpecialString<ModelType_SpecialStringSpecialType>
82 | }
:
319 |
320 | /// The model type prefix for Apple's iPhone
321 | static let iPhone: Self = "iPhone"
| |- warning: static property 'iPhone' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
322 |
323 | /// The model type prefix for Apple's iPod
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:324:16: warning: static property 'iPod' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | public extension Introspection.Device {
80 | enum ModelType_SpecialStringSpecialType: SpecialStringSpecialType {}
| `- note: consider making enum 'ModelType_SpecialStringSpecialType' conform to the 'Sendable' protocol
81 | typealias ModelType = SpecialString<ModelType_SpecialStringSpecialType>
82 | }
:
322 |
323 | /// The model type prefix for Apple's iPod
324 | static let iPod: Self = "iPod"
| |- warning: static property 'iPod' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPod' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
325 |
326 | /// The model type prefix for Apple's iPad, iPad mini, and iPad Pro
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:327:16: warning: static property 'iPad' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | public extension Introspection.Device {
80 | enum ModelType_SpecialStringSpecialType: SpecialStringSpecialType {}
| `- note: consider making enum 'ModelType_SpecialStringSpecialType' conform to the 'Sendable' protocol
81 | typealias ModelType = SpecialString<ModelType_SpecialStringSpecialType>
82 | }
:
325 |
326 | /// The model type prefix for Apple's iPad, iPad mini, and iPad Pro
327 | static let iPad: Self = "iPad"
| |- warning: static property 'iPad' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPad' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
328 |
329 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:331:16: warning: static property 'watch' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | public extension Introspection.Device {
80 | enum ModelType_SpecialStringSpecialType: SpecialStringSpecialType {}
| `- note: consider making enum 'ModelType_SpecialStringSpecialType' conform to the 'Sendable' protocol
81 | typealias ModelType = SpecialString<ModelType_SpecialStringSpecialType>
82 | }
:
329 |
330 | /// The model type prefix for Apple's Watch
331 | static let watch: Self = "Watch"
| |- warning: static property 'watch' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'watch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
332 |
333 | /// The model type prefix for Apple's TV
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:334:16: warning: static property 'tv' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | public extension Introspection.Device {
80 | enum ModelType_SpecialStringSpecialType: SpecialStringSpecialType {}
| `- note: consider making enum 'ModelType_SpecialStringSpecialType' conform to the 'Sendable' protocol
81 | typealias ModelType = SpecialString<ModelType_SpecialStringSpecialType>
82 | }
:
332 |
333 | /// The model type prefix for Apple's TV
334 | static let tv: Self = "AppleTV"
| |- warning: static property 'tv' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tv' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
335 |
336 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:338:16: warning: static property 'iPhoneSimulator_i386' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | public extension Introspection.Device {
80 | enum ModelType_SpecialStringSpecialType: SpecialStringSpecialType {}
| `- note: consider making enum 'ModelType_SpecialStringSpecialType' conform to the 'Sendable' protocol
81 | typealias ModelType = SpecialString<ModelType_SpecialStringSpecialType>
82 | }
:
336 |
337 | /// The model type prefix for Apple's i386 iPhone Simulator
338 | static let iPhoneSimulator_i386: Self = "i386"
| |- warning: static property 'iPhoneSimulator_i386' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhoneSimulator_i386' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
339 |
340 | /// The model type prefix for Apple's x86_64 iPhone Simulator
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:341:16: warning: static property 'iPhoneSimulator_x86_64' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | public extension Introspection.Device {
80 | enum ModelType_SpecialStringSpecialType: SpecialStringSpecialType {}
| `- note: consider making enum 'ModelType_SpecialStringSpecialType' conform to the 'Sendable' protocol
81 | typealias ModelType = SpecialString<ModelType_SpecialStringSpecialType>
82 | }
:
339 |
340 | /// The model type prefix for Apple's x86_64 iPhone Simulator
341 | static let iPhoneSimulator_x86_64: Self = "x86_64"
| |- warning: static property 'iPhoneSimulator_x86_64' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhoneSimulator_x86_64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
342 |
343 | /// The model type prefix for Apple's arm64 iPhone Simulator
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:344:16: warning: static property 'iPhoneSimulator_arm64' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | public extension Introspection.Device {
80 | enum ModelType_SpecialStringSpecialType: SpecialStringSpecialType {}
| `- note: consider making enum 'ModelType_SpecialStringSpecialType' conform to the 'Sendable' protocol
81 | typealias ModelType = SpecialString<ModelType_SpecialStringSpecialType>
82 | }
:
342 |
343 | /// The model type prefix for Apple's arm64 iPhone Simulator
344 | static let iPhoneSimulator_arm64: Self = "arm64"
| |- warning: static property 'iPhoneSimulator_arm64' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhoneSimulator_arm64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
345 |
346 | /// The model type prefix for a virtualized version of Apple's Mac
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:347:16: warning: static property 'virtualizedMac' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | public extension Introspection.Device {
80 | enum ModelType_SpecialStringSpecialType: SpecialStringSpecialType {}
| `- note: consider making enum 'ModelType_SpecialStringSpecialType' conform to the 'Sendable' protocol
81 | typealias ModelType = SpecialString<ModelType_SpecialStringSpecialType>
82 | }
:
345 |
346 | /// The model type prefix for a virtualized version of Apple's Mac
347 | static let virtualizedMac: Self = "VirtualMac"
| |- warning: static property 'virtualizedMac' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'virtualizedMac' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
348 |
349 | /// The model type prefix for a VMWare virtual machine
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:350:16: warning: static property 'vm_vmware' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | public extension Introspection.Device {
80 | enum ModelType_SpecialStringSpecialType: SpecialStringSpecialType {}
| `- note: consider making enum 'ModelType_SpecialStringSpecialType' conform to the 'Sendable' protocol
81 | typealias ModelType = SpecialString<ModelType_SpecialStringSpecialType>
82 | }
:
348 |
349 | /// The model type prefix for a VMWare virtual machine
350 | static let vm_vmware: Self = "VMware"
| |- warning: static property 'vm_vmware' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vm_vmware' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
351 |
352 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:354:16: warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | public extension Introspection.Device {
80 | enum ModelType_SpecialStringSpecialType: SpecialStringSpecialType {}
| `- note: consider making enum 'ModelType_SpecialStringSpecialType' conform to the 'Sendable' protocol
81 | typealias ModelType = SpecialString<ModelType_SpecialStringSpecialType>
82 | }
:
352 |
353 | /// A placeholder model type for when the model type cannot be identified
354 | static let unknown: Self = "__UNKNOWN__"
| |- warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unknown' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
355 | }
356 |
[63/64] Compiling Introspection Bundle Reading.swift
[64/64] Compiling Introspection Device Info.swift
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:106:16: warning: static property 'hardwareModelIdentifier' is not concurrency-safe because non-'Sendable' type 'Introspection.Device.HardwareModelIdentifier?' may have shared mutable state; this is an error in the Swift 6 language mode
104 |
105 | /// The hardware model identifier of the current device, like `{"Mac", 14, 8}` or `{"iPhone", 18, 2}`
106 | static let hardwareModelIdentifier: HardwareModelIdentifier? = {
| |- warning: static property 'hardwareModelIdentifier' is not concurrency-safe because non-'Sendable' type 'Introspection.Device.HardwareModelIdentifier?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hardwareModelIdentifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | guard let identifierString = hardwareModelIdentifierString else { return nil }
108 | let match = hardwareModelRegex
:
140 |
141 | /// Models the components of a hardware model identifier. So `"MacBookAir9,1"` would split into `{type: "MacBookAir", version: {full: "9,1", major: 9, minor: 1}}`
142 | public struct HardwareModelIdentifier: Hashable {
| `- note: consider making struct 'HardwareModelIdentifier' conform to the 'Sendable' protocol
143 |
144 | /// The "type" portion of the hardware model identifier, like `"MacBookAir"` or `"iPhone"`
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:112:42: error: subscript 'subscript(orNil:)' requires that 'NSRange' (aka '_NSRange') conform to 'SafeRangeExpression'
110 |
111 | guard let typeRange = match?.range(withName: "Type"),
112 | let type = identifierString[orNil: typeRange],
| `- error: subscript 'subscript(orNil:)' requires that 'NSRange' (aka '_NSRange') conform to 'SafeRangeExpression'
113 |
114 | let versionRange = match?.range(withName: "Version"),
/host/spi-builder-workspace/.build/checkouts/Swift-Safe-Collection-Access/Sources/SafeCollectionAccess/Ranges or nil.swift:102:5: note: where 'RangeType' = 'NSRange' (aka '_NSRange')
100 | /// within `0` (inclusive) and `count` (exclusive).
101 | @inlinable
102 | subscript<RangeType>(orNil range: RangeType) -> SubSequence?
| `- note: where 'RangeType' = 'NSRange' (aka '_NSRange')
103 | where RangeType: SafeRangeExpression,
104 | RangeType.Bound == Index {
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:142:5: warning: 'public' modifier is redundant for struct declared in a public extension
140 |
141 | /// Models the components of a hardware model identifier. So `"MacBookAir9,1"` would split into `{type: "MacBookAir", version: {full: "9,1", major: 9, minor: 1}}`
142 | public struct HardwareModelIdentifier: Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
143 |
144 | /// The "type" portion of the hardware model identifier, like `"MacBookAir"` or `"iPhone"`
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:230:16: warning: static property 'mac' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Represents the current device
24 | @dynamicMemberLookup
25 | struct Device {
| `- note: consider making struct 'Device' conform to the 'Sendable' protocol
26 |
27 | /// The device’s hardware model identifier, like `{"Mac", 14, 8}` or `{"iPhone", 18, 2}`.
:
228 | ///
229 | /// For some reason, some newer Mac models report themselves generically as `"Mac"`, rather than specifying what kind.
230 | static let mac = Self(modelType: .mac)
| |- warning: static property 'mac' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mac' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
231 |
232 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:234:16: warning: static property 'macBook' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Represents the current device
24 | @dynamicMemberLookup
25 | struct Device {
| `- note: consider making struct 'Device' conform to the 'Sendable' protocol
26 |
27 | /// The device’s hardware model identifier, like `{"Mac", 14, 8}` or `{"iPhone", 18, 2}`.
:
232 |
233 | /// Represents Apple's MacBook
234 | static let macBook = Self(modelType: .macBook)
| |- warning: static property 'macBook' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'macBook' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 |
236 | /// Represents Apple's MacBook Air
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:237:16: warning: static property 'macBookAir' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Represents the current device
24 | @dynamicMemberLookup
25 | struct Device {
| `- note: consider making struct 'Device' conform to the 'Sendable' protocol
26 |
27 | /// The device’s hardware model identifier, like `{"Mac", 14, 8}` or `{"iPhone", 18, 2}`.
:
235 |
236 | /// Represents Apple's MacBook Air
237 | static let macBookAir = Self(modelType: .macBookAir)
| |- warning: static property 'macBookAir' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'macBookAir' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
238 |
239 | /// Represents Apple's MacBook Pro
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:240:16: warning: static property 'macBookPro' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Represents the current device
24 | @dynamicMemberLookup
25 | struct Device {
| `- note: consider making struct 'Device' conform to the 'Sendable' protocol
26 |
27 | /// The device’s hardware model identifier, like `{"Mac", 14, 8}` or `{"iPhone", 18, 2}`.
:
238 |
239 | /// Represents Apple's MacBook Pro
240 | static let macBookPro = Self(modelType: .macBookPro)
| |- warning: static property 'macBookPro' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'macBookPro' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
241 |
242 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:244:16: warning: static property 'iMac' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Represents the current device
24 | @dynamicMemberLookup
25 | struct Device {
| `- note: consider making struct 'Device' conform to the 'Sendable' protocol
26 |
27 | /// The device’s hardware model identifier, like `{"Mac", 14, 8}` or `{"iPhone", 18, 2}`.
:
242 |
243 | /// Represents Apple's iMac
244 | static let iMac = Self(modelType: .iMac)
| |- warning: static property 'iMac' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iMac' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
245 |
246 | /// Represents Apple's iMac Pro
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:247:16: warning: static property 'iMacPro' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Represents the current device
24 | @dynamicMemberLookup
25 | struct Device {
| `- note: consider making struct 'Device' conform to the 'Sendable' protocol
26 |
27 | /// The device’s hardware model identifier, like `{"Mac", 14, 8}` or `{"iPhone", 18, 2}`.
:
245 |
246 | /// Represents Apple's iMac Pro
247 | static let iMacPro = Self(modelType: .iMacPro)
| |- warning: static property 'iMacPro' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iMacPro' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
248 |
249 | /// Represents Apple's Mac mini
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:250:16: warning: static property 'macMini' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Represents the current device
24 | @dynamicMemberLookup
25 | struct Device {
| `- note: consider making struct 'Device' conform to the 'Sendable' protocol
26 |
27 | /// The device’s hardware model identifier, like `{"Mac", 14, 8}` or `{"iPhone", 18, 2}`.
:
248 |
249 | /// Represents Apple's Mac mini
250 | static let macMini = Self(modelType: .macMini)
| |- warning: static property 'macMini' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'macMini' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
251 |
252 | /// Represents Apple's Mac Pro
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:253:16: warning: static property 'macPro' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Represents the current device
24 | @dynamicMemberLookup
25 | struct Device {
| `- note: consider making struct 'Device' conform to the 'Sendable' protocol
26 |
27 | /// The device’s hardware model identifier, like `{"Mac", 14, 8}` or `{"iPhone", 18, 2}`.
:
251 |
252 | /// Represents Apple's Mac Pro
253 | static let macPro = Self(modelType: .macPro)
| |- warning: static property 'macPro' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'macPro' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
254 |
255 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:257:16: warning: static property 'iPhone' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Represents the current device
24 | @dynamicMemberLookup
25 | struct Device {
| `- note: consider making struct 'Device' conform to the 'Sendable' protocol
26 |
27 | /// The device’s hardware model identifier, like `{"Mac", 14, 8}` or `{"iPhone", 18, 2}`.
:
255 |
256 | /// Represents Apple's iPhone
257 | static let iPhone = Self(modelType: .iPhone)
| |- warning: static property 'iPhone' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
258 |
259 | /// Represents Apple's iPod
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:260:16: warning: static property 'iPod' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Represents the current device
24 | @dynamicMemberLookup
25 | struct Device {
| `- note: consider making struct 'Device' conform to the 'Sendable' protocol
26 |
27 | /// The device’s hardware model identifier, like `{"Mac", 14, 8}` or `{"iPhone", 18, 2}`.
:
258 |
259 | /// Represents Apple's iPod
260 | static let iPod = Self(modelType: .iPod)
| |- warning: static property 'iPod' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPod' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
261 |
262 | /// Represents Apple's iPad, iPad mini, and iPad Pro
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:263:16: warning: static property 'iPad' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Represents the current device
24 | @dynamicMemberLookup
25 | struct Device {
| `- note: consider making struct 'Device' conform to the 'Sendable' protocol
26 |
27 | /// The device’s hardware model identifier, like `{"Mac", 14, 8}` or `{"iPhone", 18, 2}`.
:
261 |
262 | /// Represents Apple's iPad, iPad mini, and iPad Pro
263 | static let iPad = Self(modelType: .iPad)
| |- warning: static property 'iPad' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPad' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
264 |
265 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:267:16: warning: static property 'watch' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Represents the current device
24 | @dynamicMemberLookup
25 | struct Device {
| `- note: consider making struct 'Device' conform to the 'Sendable' protocol
26 |
27 | /// The device’s hardware model identifier, like `{"Mac", 14, 8}` or `{"iPhone", 18, 2}`.
:
265 |
266 | /// Represents Apple's Watch
267 | static let watch = Self(modelType: .watch)
| |- warning: static property 'watch' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'watch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
268 |
269 | /// Represents Apple's TV
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:270:16: warning: static property 'tv' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Represents the current device
24 | @dynamicMemberLookup
25 | struct Device {
| `- note: consider making struct 'Device' conform to the 'Sendable' protocol
26 |
27 | /// The device’s hardware model identifier, like `{"Mac", 14, 8}` or `{"iPhone", 18, 2}`.
:
268 |
269 | /// Represents Apple's TV
270 | static let tv = Self(modelType: .tv)
| |- warning: static property 'tv' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tv' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
271 |
272 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:274:16: warning: static property 'iPhoneSimulator_i386' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Represents the current device
24 | @dynamicMemberLookup
25 | struct Device {
| `- note: consider making struct 'Device' conform to the 'Sendable' protocol
26 |
27 | /// The device’s hardware model identifier, like `{"Mac", 14, 8}` or `{"iPhone", 18, 2}`.
:
272 |
273 | /// Represents Apple's i386 iPhone Simulator
274 | static let iPhoneSimulator_i386 = Self(modelType: .iPhoneSimulator_i386)
| |- warning: static property 'iPhoneSimulator_i386' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhoneSimulator_i386' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
275 |
276 | /// Represents Apple's x86_64 iPhone Simulator
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:277:16: warning: static property 'iPhoneSimulator_x86_64' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Represents the current device
24 | @dynamicMemberLookup
25 | struct Device {
| `- note: consider making struct 'Device' conform to the 'Sendable' protocol
26 |
27 | /// The device’s hardware model identifier, like `{"Mac", 14, 8}` or `{"iPhone", 18, 2}`.
:
275 |
276 | /// Represents Apple's x86_64 iPhone Simulator
277 | static let iPhoneSimulator_x86_64 = Self(modelType: .iPhoneSimulator_x86_64)
| |- warning: static property 'iPhoneSimulator_x86_64' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhoneSimulator_x86_64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
278 |
279 | /// Represents Apple's arm64 iPhone Simulator
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:280:16: warning: static property 'iPhoneSimulator_arm64' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Represents the current device
24 | @dynamicMemberLookup
25 | struct Device {
| `- note: consider making struct 'Device' conform to the 'Sendable' protocol
26 |
27 | /// The device’s hardware model identifier, like `{"Mac", 14, 8}` or `{"iPhone", 18, 2}`.
:
278 |
279 | /// Represents Apple's arm64 iPhone Simulator
280 | static let iPhoneSimulator_arm64 = Self(modelType: .iPhoneSimulator_arm64)
| |- warning: static property 'iPhoneSimulator_arm64' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhoneSimulator_arm64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
281 |
282 | /// Represents a VMWare virtual machine
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:283:16: warning: static property 'vm_vmware' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// Represents the current device
24 | @dynamicMemberLookup
25 | struct Device {
| `- note: consider making struct 'Device' conform to the 'Sendable' protocol
26 |
27 | /// The device’s hardware model identifier, like `{"Mac", 14, 8}` or `{"iPhone", 18, 2}`.
:
281 |
282 | /// Represents a VMWare virtual machine
283 | static let vm_vmware = Self(modelType: .vm_vmware)
| |- warning: static property 'vm_vmware' is not concurrency-safe because non-'Sendable' type 'Introspection.Device' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vm_vmware' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
284 | }
285 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:294:16: warning: static property 'mac' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | public extension Introspection.Device {
80 | enum ModelType_SpecialStringSpecialType: SpecialStringSpecialType {}
| `- note: consider making enum 'ModelType_SpecialStringSpecialType' conform to the 'Sendable' protocol
81 | typealias ModelType = SpecialString<ModelType_SpecialStringSpecialType>
82 | }
:
292 | /// For some reason, Apple seems to be making some devices just report themselves as just `"Mac"`.
293 | /// For example, the 16-inch MacBook Pro (Nov 2024) reports itself as `"Mac16,7"`
294 | static let mac: Self = "Mac"
| |- warning: static property 'mac' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mac' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
295 |
296 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:298:16: warning: static property 'macBook' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | public extension Introspection.Device {
80 | enum ModelType_SpecialStringSpecialType: SpecialStringSpecialType {}
| `- note: consider making enum 'ModelType_SpecialStringSpecialType' conform to the 'Sendable' protocol
81 | typealias ModelType = SpecialString<ModelType_SpecialStringSpecialType>
82 | }
:
296 |
297 | /// The model type prefix for Apple's MacBook
298 | static let macBook: Self = "MacBook"
| |- warning: static property 'macBook' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'macBook' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
299 |
300 | /// The model type prefix for Apple's MacBook Air
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:301:16: warning: static property 'macBookAir' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | public extension Introspection.Device {
80 | enum ModelType_SpecialStringSpecialType: SpecialStringSpecialType {}
| `- note: consider making enum 'ModelType_SpecialStringSpecialType' conform to the 'Sendable' protocol
81 | typealias ModelType = SpecialString<ModelType_SpecialStringSpecialType>
82 | }
:
299 |
300 | /// The model type prefix for Apple's MacBook Air
301 | static let macBookAir: Self = "MacBookAir"
| |- warning: static property 'macBookAir' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'macBookAir' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
302 |
303 | /// The model type prefix for Apple's MacBook Pro
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:304:16: warning: static property 'macBookPro' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | public extension Introspection.Device {
80 | enum ModelType_SpecialStringSpecialType: SpecialStringSpecialType {}
| `- note: consider making enum 'ModelType_SpecialStringSpecialType' conform to the 'Sendable' protocol
81 | typealias ModelType = SpecialString<ModelType_SpecialStringSpecialType>
82 | }
:
302 |
303 | /// The model type prefix for Apple's MacBook Pro
304 | static let macBookPro: Self = "MacBookPro"
| |- warning: static property 'macBookPro' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'macBookPro' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
305 |
306 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:308:16: warning: static property 'iMac' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | public extension Introspection.Device {
80 | enum ModelType_SpecialStringSpecialType: SpecialStringSpecialType {}
| `- note: consider making enum 'ModelType_SpecialStringSpecialType' conform to the 'Sendable' protocol
81 | typealias ModelType = SpecialString<ModelType_SpecialStringSpecialType>
82 | }
:
306 |
307 | /// The model type prefix for Apple's iMac
308 | static let iMac: Self = "iMac"
| |- warning: static property 'iMac' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iMac' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
309 |
310 | /// The model type prefix for Apple's iMac Pro
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:311:16: warning: static property 'iMacPro' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | public extension Introspection.Device {
80 | enum ModelType_SpecialStringSpecialType: SpecialStringSpecialType {}
| `- note: consider making enum 'ModelType_SpecialStringSpecialType' conform to the 'Sendable' protocol
81 | typealias ModelType = SpecialString<ModelType_SpecialStringSpecialType>
82 | }
:
309 |
310 | /// The model type prefix for Apple's iMac Pro
311 | static let iMacPro: Self = "iMacPro"
| |- warning: static property 'iMacPro' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iMacPro' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
312 |
313 | /// The model type prefix for Apple's Mac mini
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:314:16: warning: static property 'macMini' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | public extension Introspection.Device {
80 | enum ModelType_SpecialStringSpecialType: SpecialStringSpecialType {}
| `- note: consider making enum 'ModelType_SpecialStringSpecialType' conform to the 'Sendable' protocol
81 | typealias ModelType = SpecialString<ModelType_SpecialStringSpecialType>
82 | }
:
312 |
313 | /// The model type prefix for Apple's Mac mini
314 | static let macMini: Self = "Macmini"
| |- warning: static property 'macMini' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'macMini' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
315 |
316 | /// The model type prefix for Apple's Mac Pro
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:317:16: warning: static property 'macPro' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | public extension Introspection.Device {
80 | enum ModelType_SpecialStringSpecialType: SpecialStringSpecialType {}
| `- note: consider making enum 'ModelType_SpecialStringSpecialType' conform to the 'Sendable' protocol
81 | typealias ModelType = SpecialString<ModelType_SpecialStringSpecialType>
82 | }
:
315 |
316 | /// The model type prefix for Apple's Mac Pro
317 | static let macPro: Self = "MacPro"
| |- warning: static property 'macPro' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'macPro' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
318 |
319 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:321:16: warning: static property 'iPhone' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | public extension Introspection.Device {
80 | enum ModelType_SpecialStringSpecialType: SpecialStringSpecialType {}
| `- note: consider making enum 'ModelType_SpecialStringSpecialType' conform to the 'Sendable' protocol
81 | typealias ModelType = SpecialString<ModelType_SpecialStringSpecialType>
82 | }
:
319 |
320 | /// The model type prefix for Apple's iPhone
321 | static let iPhone: Self = "iPhone"
| |- warning: static property 'iPhone' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
322 |
323 | /// The model type prefix for Apple's iPod
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:324:16: warning: static property 'iPod' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | public extension Introspection.Device {
80 | enum ModelType_SpecialStringSpecialType: SpecialStringSpecialType {}
| `- note: consider making enum 'ModelType_SpecialStringSpecialType' conform to the 'Sendable' protocol
81 | typealias ModelType = SpecialString<ModelType_SpecialStringSpecialType>
82 | }
:
322 |
323 | /// The model type prefix for Apple's iPod
324 | static let iPod: Self = "iPod"
| |- warning: static property 'iPod' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPod' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
325 |
326 | /// The model type prefix for Apple's iPad, iPad mini, and iPad Pro
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:327:16: warning: static property 'iPad' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | public extension Introspection.Device {
80 | enum ModelType_SpecialStringSpecialType: SpecialStringSpecialType {}
| `- note: consider making enum 'ModelType_SpecialStringSpecialType' conform to the 'Sendable' protocol
81 | typealias ModelType = SpecialString<ModelType_SpecialStringSpecialType>
82 | }
:
325 |
326 | /// The model type prefix for Apple's iPad, iPad mini, and iPad Pro
327 | static let iPad: Self = "iPad"
| |- warning: static property 'iPad' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPad' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
328 |
329 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:331:16: warning: static property 'watch' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | public extension Introspection.Device {
80 | enum ModelType_SpecialStringSpecialType: SpecialStringSpecialType {}
| `- note: consider making enum 'ModelType_SpecialStringSpecialType' conform to the 'Sendable' protocol
81 | typealias ModelType = SpecialString<ModelType_SpecialStringSpecialType>
82 | }
:
329 |
330 | /// The model type prefix for Apple's Watch
331 | static let watch: Self = "Watch"
| |- warning: static property 'watch' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'watch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
332 |
333 | /// The model type prefix for Apple's TV
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:334:16: warning: static property 'tv' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | public extension Introspection.Device {
80 | enum ModelType_SpecialStringSpecialType: SpecialStringSpecialType {}
| `- note: consider making enum 'ModelType_SpecialStringSpecialType' conform to the 'Sendable' protocol
81 | typealias ModelType = SpecialString<ModelType_SpecialStringSpecialType>
82 | }
:
332 |
333 | /// The model type prefix for Apple's TV
334 | static let tv: Self = "AppleTV"
| |- warning: static property 'tv' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tv' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
335 |
336 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:338:16: warning: static property 'iPhoneSimulator_i386' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | public extension Introspection.Device {
80 | enum ModelType_SpecialStringSpecialType: SpecialStringSpecialType {}
| `- note: consider making enum 'ModelType_SpecialStringSpecialType' conform to the 'Sendable' protocol
81 | typealias ModelType = SpecialString<ModelType_SpecialStringSpecialType>
82 | }
:
336 |
337 | /// The model type prefix for Apple's i386 iPhone Simulator
338 | static let iPhoneSimulator_i386: Self = "i386"
| |- warning: static property 'iPhoneSimulator_i386' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhoneSimulator_i386' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
339 |
340 | /// The model type prefix for Apple's x86_64 iPhone Simulator
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:341:16: warning: static property 'iPhoneSimulator_x86_64' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | public extension Introspection.Device {
80 | enum ModelType_SpecialStringSpecialType: SpecialStringSpecialType {}
| `- note: consider making enum 'ModelType_SpecialStringSpecialType' conform to the 'Sendable' protocol
81 | typealias ModelType = SpecialString<ModelType_SpecialStringSpecialType>
82 | }
:
339 |
340 | /// The model type prefix for Apple's x86_64 iPhone Simulator
341 | static let iPhoneSimulator_x86_64: Self = "x86_64"
| |- warning: static property 'iPhoneSimulator_x86_64' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhoneSimulator_x86_64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
342 |
343 | /// The model type prefix for Apple's arm64 iPhone Simulator
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:344:16: warning: static property 'iPhoneSimulator_arm64' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | public extension Introspection.Device {
80 | enum ModelType_SpecialStringSpecialType: SpecialStringSpecialType {}
| `- note: consider making enum 'ModelType_SpecialStringSpecialType' conform to the 'Sendable' protocol
81 | typealias ModelType = SpecialString<ModelType_SpecialStringSpecialType>
82 | }
:
342 |
343 | /// The model type prefix for Apple's arm64 iPhone Simulator
344 | static let iPhoneSimulator_arm64: Self = "arm64"
| |- warning: static property 'iPhoneSimulator_arm64' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhoneSimulator_arm64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
345 |
346 | /// The model type prefix for a virtualized version of Apple's Mac
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:347:16: warning: static property 'virtualizedMac' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | public extension Introspection.Device {
80 | enum ModelType_SpecialStringSpecialType: SpecialStringSpecialType {}
| `- note: consider making enum 'ModelType_SpecialStringSpecialType' conform to the 'Sendable' protocol
81 | typealias ModelType = SpecialString<ModelType_SpecialStringSpecialType>
82 | }
:
345 |
346 | /// The model type prefix for a virtualized version of Apple's Mac
347 | static let virtualizedMac: Self = "VirtualMac"
| |- warning: static property 'virtualizedMac' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'virtualizedMac' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
348 |
349 | /// The model type prefix for a VMWare virtual machine
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:350:16: warning: static property 'vm_vmware' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | public extension Introspection.Device {
80 | enum ModelType_SpecialStringSpecialType: SpecialStringSpecialType {}
| `- note: consider making enum 'ModelType_SpecialStringSpecialType' conform to the 'Sendable' protocol
81 | typealias ModelType = SpecialString<ModelType_SpecialStringSpecialType>
82 | }
:
348 |
349 | /// The model type prefix for a VMWare virtual machine
350 | static let vm_vmware: Self = "VMware"
| |- warning: static property 'vm_vmware' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vm_vmware' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
351 |
352 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:354:16: warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | public extension Introspection.Device {
80 | enum ModelType_SpecialStringSpecialType: SpecialStringSpecialType {}
| `- note: consider making enum 'ModelType_SpecialStringSpecialType' conform to the 'Sendable' protocol
81 | typealias ModelType = SpecialString<ModelType_SpecialStringSpecialType>
82 | }
:
352 |
353 | /// A placeholder model type for when the model type cannot be identified
354 | static let unknown: Self = "__UNKNOWN__"
| |- warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'SpecialString<Introspection.Device.ModelType_SpecialStringSpecialType>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unknown' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
355 | }
356 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:193:34: error: subscript 'subscript(orNil:)' requires that 'NSRange' (aka '_NSRange') conform to 'SafeRangeExpression'
191 | .firstMatch(in: identifier, options: .anchored, range: NSRange(location: 0, length: identifier.count))?
192 | .range(withName: "Type"),
193 | let type = identifier[orNil: typeRange]
| `- error: subscript 'subscript(orNil:)' requires that 'NSRange' (aka '_NSRange') conform to 'SafeRangeExpression'
194 | else {
195 | // Not an Apple-format identifier; just return the string itself
/host/spi-builder-workspace/.build/checkouts/Swift-Safe-Collection-Access/Sources/SafeCollectionAccess/Ranges or nil.swift:102:5: note: where 'RangeType' = 'NSRange' (aka '_NSRange')
100 | /// within `0` (inclusive) and `count` (exclusive).
101 | @inlinable
102 | subscript<RangeType>(orNil range: RangeType) -> SubSequence?
| `- note: where 'RangeType' = 'NSRange' (aka '_NSRange')
103 | where RangeType: SafeRangeExpression,
104 | RangeType.Bound == Index {
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:459:31: error: extra arguments at positions #3, #4, #5, #6 in call
453 | // MARK: Tools
454 |
455 | private func sysctl(category: CInt, value: CInt) -> String? {
| `- note: 'sysctl(category:value:)' declared here
456 | var mib = [category, value]
457 |
458 | var len: size_t = 0
459 | let getSizeResult = sysctl(&mib, 2, nil, &len, nil, 0)
| `- error: extra arguments at positions #3, #4, #5, #6 in call
460 | guard getSizeResult == 0, len > 0 else { return nil }
461 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:459:32: error: cannot convert value of type '[CInt]' (aka 'Array<Int32>') to expected argument type 'CInt' (aka 'Int32')
457 |
458 | var len: size_t = 0
459 | let getSizeResult = sysctl(&mib, 2, nil, &len, nil, 0)
| `- error: cannot convert value of type '[CInt]' (aka 'Array<Int32>') to expected argument type 'CInt' (aka 'Int32')
460 | guard getSizeResult == 0, len > 0 else { return nil }
461 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:459:41: error: 'nil' requires a contextual type
457 |
458 | var len: size_t = 0
459 | let getSizeResult = sysctl(&mib, 2, nil, &len, nil, 0)
| `- error: 'nil' requires a contextual type
460 | guard getSizeResult == 0, len > 0 else { return nil }
461 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:459:52: error: 'nil' requires a contextual type
457 |
458 | var len: size_t = 0
459 | let getSizeResult = sysctl(&mib, 2, nil, &len, nil, 0)
| `- error: 'nil' requires a contextual type
460 | guard getSizeResult == 0, len > 0 else { return nil }
461 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:465:27: error: extra arguments at positions #3, #4, #5, #6 in call
453 | // MARK: Tools
454 |
455 | private func sysctl(category: CInt, value: CInt) -> String? {
| `- note: 'sysctl(category:value:)' declared here
456 | var mib = [category, value]
457 |
:
463 | defer { buffer.deallocate() }
464 |
465 | let getResult = sysctl(&mib, 2, buffer, &len, nil, 0)
| `- error: extra arguments at positions #3, #4, #5, #6 in call
466 | guard getResult == 0 else { return nil }
467 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:465:28: error: cannot convert value of type '[CInt]' (aka 'Array<Int32>') to expected argument type 'CInt' (aka 'Int32')
463 | defer { buffer.deallocate() }
464 |
465 | let getResult = sysctl(&mib, 2, buffer, &len, nil, 0)
| `- error: cannot convert value of type '[CInt]' (aka 'Array<Int32>') to expected argument type 'CInt' (aka 'Int32')
466 | guard getResult == 0 else { return nil }
467 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:465:51: error: 'nil' requires a contextual type
463 | defer { buffer.deallocate() }
464 |
465 | let getResult = sysctl(&mib, 2, buffer, &len, nil, 0)
| `- error: 'nil' requires a contextual type
466 | guard getResult == 0 else { return nil }
467 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/23] Compiling FunctionTools Echo.swift
[3/23] Compiling FunctionTools Curry.swift
[4/23] Compiling FunctionTools Function types.swift
[5/23] Compiling RangeTools RangeProtocol.swift
[6/24] Emitting module SemVer
[7/24] Compiling SpecialString SpecialString.swift
[8/24] Compiling SpecialString Premade Special Strings.swift
[9/24] Emitting module SpecialString
[10/24] Compiling SpecialString EssentiallyAString.swift
[11/25] Compiling FunctionTools Constant.swift
[12/25] Compiling FunctionTools !.swift
[13/25] Compiling FunctionTools Call.swift
[14/25] Emitting module FunctionTools
[15/25] Compiling FunctionTools Blackholes.swift
[16/25] Compiling SemVer Testing tools.swift
[17/25] Emitting module RangeTools
[18/25] Compiling RangeTools Default conformances.swift
[19/26] Compiling SemVer Conveniences.swift
[20/26] Compiling FunctionTools Null functions.swift
[21/27] Compiling SemVer Semantic Version + Codable.swift
[22/27] Compiling SemVer Semantic Version + Comparable.swift
[26/36] Compiling SemVer Semantic Version + Hashable.swift
[27/36] Compiling SemVer Semantic Version.swift
[29/44] Compiling CollectionTools RangeReplaceableCollection + elemental operators.swift
[30/44] Compiling CollectionTools CollectionWhichCanBeEmpty.swift
[31/44] Compiling CollectionTools Collection + withoutDuplicates.swift
[32/45] Compiling CollectionTools Collection + onlyFirst & onlyLast.swift
[33/45] Compiling CollectionTools Collection + nonEmptyOrNil.swift
[34/45] Emitting module StringIntegerAccess
[35/45] Emitting module SafeCollectionAccess
[36/45] Compiling StringIntegerAccess String + Integer access.swift
[37/46] Compiling CollectionTools Sequence + sequentialPairs.swift
[39/46] Compiling SafeCollectionAccess Ranges or nil.swift
[40/46] Compiling SafeCollectionAccess Safe Collection Access.swift
[41/46] Compiling SafeCollectionAccess SafeRangeExpression.swift
[43/49] Emitting module CollectionTools
[44/49] Compiling CollectionTools Collection + isNotEmpty.swift
[45/49] Compiling CollectionTools Collection + map with transformer.swift
[46/49] Compiling CollectionTools ArrayBuilder.swift
[47/49] Compiling CollectionTools Collection + everyPair.swift
[49/50] Emitting module SafeStringIntegerAccess
[50/50] Compiling SafeStringIntegerAccess StringIntegerAccess + SafeCollectionAccess.swift
[52/55] Compiling Introspection Introspection.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[53/55] Compiling Introspection Bundle Reading.swift
[54/55] Emitting module Introspection
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:112:42: error: subscript 'subscript(orNil:)' requires that 'NSRange' (aka '_NSRange') conform to 'SafeRangeExpression'
110 |
111 | guard let typeRange = match?.range(withName: "Type"),
112 | let type = identifierString[orNil: typeRange],
| `- error: subscript 'subscript(orNil:)' requires that 'NSRange' (aka '_NSRange') conform to 'SafeRangeExpression'
113 |
114 | let versionRange = match?.range(withName: "Version"),
/host/spi-builder-workspace/.build/checkouts/Swift-Safe-Collection-Access/Sources/SafeCollectionAccess/Ranges or nil.swift:102:5: note: where 'RangeType' = 'NSRange' (aka '_NSRange')
100 | /// within `0` (inclusive) and `count` (exclusive).
101 | @inlinable
102 | subscript<RangeType>(orNil range: RangeType) -> SubSequence?
| `- note: where 'RangeType' = 'NSRange' (aka '_NSRange')
103 | where RangeType: SafeRangeExpression,
104 | RangeType.Bound == Index {
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:142:5: warning: 'public' modifier is redundant for struct declared in a public extension
140 |
141 | /// Models the components of a hardware model identifier. So `"MacBookAir9,1"` would split into `{type: "MacBookAir", version: {full: "9,1", major: 9, minor: 1}}`
142 | public struct HardwareModelIdentifier: Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
143 |
144 | /// The "type" portion of the hardware model identifier, like `"MacBookAir"` or `"iPhone"`
[55/55] Compiling Introspection Device Info.swift
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:112:42: error: subscript 'subscript(orNil:)' requires that 'NSRange' (aka '_NSRange') conform to 'SafeRangeExpression'
110 |
111 | guard let typeRange = match?.range(withName: "Type"),
112 | let type = identifierString[orNil: typeRange],
| `- error: subscript 'subscript(orNil:)' requires that 'NSRange' (aka '_NSRange') conform to 'SafeRangeExpression'
113 |
114 | let versionRange = match?.range(withName: "Version"),
/host/spi-builder-workspace/.build/checkouts/Swift-Safe-Collection-Access/Sources/SafeCollectionAccess/Ranges or nil.swift:102:5: note: where 'RangeType' = 'NSRange' (aka '_NSRange')
100 | /// within `0` (inclusive) and `count` (exclusive).
101 | @inlinable
102 | subscript<RangeType>(orNil range: RangeType) -> SubSequence?
| `- note: where 'RangeType' = 'NSRange' (aka '_NSRange')
103 | where RangeType: SafeRangeExpression,
104 | RangeType.Bound == Index {
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:142:5: warning: 'public' modifier is redundant for struct declared in a public extension
140 |
141 | /// Models the components of a hardware model identifier. So `"MacBookAir9,1"` would split into `{type: "MacBookAir", version: {full: "9,1", major: 9, minor: 1}}`
142 | public struct HardwareModelIdentifier: Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
143 |
144 | /// The "type" portion of the hardware model identifier, like `"MacBookAir"` or `"iPhone"`
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:193:34: error: subscript 'subscript(orNil:)' requires that 'NSRange' (aka '_NSRange') conform to 'SafeRangeExpression'
191 | .firstMatch(in: identifier, options: .anchored, range: NSRange(location: 0, length: identifier.count))?
192 | .range(withName: "Type"),
193 | let type = identifier[orNil: typeRange]
| `- error: subscript 'subscript(orNil:)' requires that 'NSRange' (aka '_NSRange') conform to 'SafeRangeExpression'
194 | else {
195 | // Not an Apple-format identifier; just return the string itself
/host/spi-builder-workspace/.build/checkouts/Swift-Safe-Collection-Access/Sources/SafeCollectionAccess/Ranges or nil.swift:102:5: note: where 'RangeType' = 'NSRange' (aka '_NSRange')
100 | /// within `0` (inclusive) and `count` (exclusive).
101 | @inlinable
102 | subscript<RangeType>(orNil range: RangeType) -> SubSequence?
| `- note: where 'RangeType' = 'NSRange' (aka '_NSRange')
103 | where RangeType: SafeRangeExpression,
104 | RangeType.Bound == Index {
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:459:31: error: extra arguments at positions #3, #4, #5, #6 in call
453 | // MARK: Tools
454 |
455 | private func sysctl(category: CInt, value: CInt) -> String? {
| `- note: 'sysctl(category:value:)' declared here
456 | var mib = [category, value]
457 |
458 | var len: size_t = 0
459 | let getSizeResult = sysctl(&mib, 2, nil, &len, nil, 0)
| `- error: extra arguments at positions #3, #4, #5, #6 in call
460 | guard getSizeResult == 0, len > 0 else { return nil }
461 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:459:32: error: cannot convert value of type '[CInt]' (aka 'Array<Int32>') to expected argument type 'CInt' (aka 'Int32')
457 |
458 | var len: size_t = 0
459 | let getSizeResult = sysctl(&mib, 2, nil, &len, nil, 0)
| `- error: cannot convert value of type '[CInt]' (aka 'Array<Int32>') to expected argument type 'CInt' (aka 'Int32')
460 | guard getSizeResult == 0, len > 0 else { return nil }
461 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:459:41: error: 'nil' requires a contextual type
457 |
458 | var len: size_t = 0
459 | let getSizeResult = sysctl(&mib, 2, nil, &len, nil, 0)
| `- error: 'nil' requires a contextual type
460 | guard getSizeResult == 0, len > 0 else { return nil }
461 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:459:52: error: 'nil' requires a contextual type
457 |
458 | var len: size_t = 0
459 | let getSizeResult = sysctl(&mib, 2, nil, &len, nil, 0)
| `- error: 'nil' requires a contextual type
460 | guard getSizeResult == 0, len > 0 else { return nil }
461 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:465:27: error: extra arguments at positions #3, #4, #5, #6 in call
453 | // MARK: Tools
454 |
455 | private func sysctl(category: CInt, value: CInt) -> String? {
| `- note: 'sysctl(category:value:)' declared here
456 | var mib = [category, value]
457 |
:
463 | defer { buffer.deallocate() }
464 |
465 | let getResult = sysctl(&mib, 2, buffer, &len, nil, 0)
| `- error: extra arguments at positions #3, #4, #5, #6 in call
466 | guard getResult == 0 else { return nil }
467 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:465:28: error: cannot convert value of type '[CInt]' (aka 'Array<Int32>') to expected argument type 'CInt' (aka 'Int32')
463 | defer { buffer.deallocate() }
464 |
465 | let getResult = sysctl(&mib, 2, buffer, &len, nil, 0)
| `- error: cannot convert value of type '[CInt]' (aka 'Array<Int32>') to expected argument type 'CInt' (aka 'Int32')
466 | guard getResult == 0 else { return nil }
467 |
/host/spi-builder-workspace/Sources/Introspection/Device Info.swift:465:51: error: 'nil' requires a contextual type
463 | defer { buffer.deallocate() }
464 |
465 | let getResult = sysctl(&mib, 2, buffer, &len, nil, 0)
| `- error: 'nil' requires a contextual type
466 | guard getResult == 0 else { return nil }
467 |
BUILD FAILURE 6.1 wasm