Build Information
Failed to build DeviceDetector, reference main (07478b), with Swift 6.1 for Wasm on 7 Mar 2026 11:38:47 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/ShawnBaek/DeviceDetector.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/ShawnBaek/DeviceDetector
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 07478bf Add macOS support via conditional UIKit compilation
Cloned https://github.com/ShawnBaek/DeviceDetector.git
Revision (git rev-parse @):
07478bfa89ce0d7c4d10d201c7f41d133f007b29
SUCCESS checkout https://github.com/ShawnBaek/DeviceDetector.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/ShawnBaek/DeviceDetector.git
https://github.com/ShawnBaek/DeviceDetector.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "DeviceDetector",
"name" : "DeviceDetector",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "DeviceDetector",
"targets" : [
"DeviceDetector"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DeviceDetectorTests",
"module_type" : "SwiftTarget",
"name" : "DeviceDetectorTests",
"path" : "Tests/DeviceDetectorTests",
"sources" : [
"DeviceDetectorTests.swift"
],
"target_dependencies" : [
"DeviceDetector"
],
"type" : "test"
},
{
"c99name" : "DeviceDetector",
"module_type" : "SwiftTarget",
"name" : "DeviceDetector",
"path" : "Sources/DeviceDetector",
"product_memberships" : [
"DeviceDetector"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/DeviceDetector/Resources/Device.plist",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"DeviceDetector.swift",
"DeviceOptionSet.swift",
"UIDevice+Extension.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
Building for debugging...
[0/3] Write sources
[0/3] Copying Device.plist
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/8] Compiling DeviceDetector UIDevice+Extension.swift
[5/8] Compiling DeviceDetector DeviceOptionSet.swift
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:14:23: warning: static property 'unrecognized' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
| |- warning: static property 'unrecognized' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unrecognized' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | //MARK: iPhone
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:17:23: warning: static property 'iPhone6S' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
15 |
16 | //MARK: iPhone
17 | public static let iPhone6S = DeviceOptionSet(rawValue: 1 << 1)
| |- warning: static property 'iPhone6S' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone6S' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let iPhone6SPlus = DeviceOptionSet(rawValue: 1 << 2)
19 | public static let iPhone7 = DeviceOptionSet(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:18:23: warning: static property 'iPhone6SPlus' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
16 | //MARK: iPhone
17 | public static let iPhone6S = DeviceOptionSet(rawValue: 1 << 1)
18 | public static let iPhone6SPlus = DeviceOptionSet(rawValue: 1 << 2)
| |- warning: static property 'iPhone6SPlus' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone6SPlus' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let iPhone7 = DeviceOptionSet(rawValue: 1 << 3)
20 | public static let iPhone7Plus = DeviceOptionSet(rawValue: 1 << 4)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:19:23: warning: static property 'iPhone7' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
17 | public static let iPhone6S = DeviceOptionSet(rawValue: 1 << 1)
18 | public static let iPhone6SPlus = DeviceOptionSet(rawValue: 1 << 2)
19 | public static let iPhone7 = DeviceOptionSet(rawValue: 1 << 3)
| |- warning: static property 'iPhone7' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let iPhone7Plus = DeviceOptionSet(rawValue: 1 << 4)
21 | public static let iPhone8 = DeviceOptionSet(rawValue: 1 << 5)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:20:23: warning: static property 'iPhone7Plus' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
18 | public static let iPhone6SPlus = DeviceOptionSet(rawValue: 1 << 2)
19 | public static let iPhone7 = DeviceOptionSet(rawValue: 1 << 3)
20 | public static let iPhone7Plus = DeviceOptionSet(rawValue: 1 << 4)
| |- warning: static property 'iPhone7Plus' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone7Plus' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let iPhone8 = DeviceOptionSet(rawValue: 1 << 5)
22 | public static let iPhone8Plus = DeviceOptionSet(rawValue: 1 << 6)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:21:23: warning: static property 'iPhone8' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
19 | public static let iPhone7 = DeviceOptionSet(rawValue: 1 << 3)
20 | public static let iPhone7Plus = DeviceOptionSet(rawValue: 1 << 4)
21 | public static let iPhone8 = DeviceOptionSet(rawValue: 1 << 5)
| |- warning: static property 'iPhone8' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone8' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let iPhone8Plus = DeviceOptionSet(rawValue: 1 << 6)
23 |
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:22:23: warning: static property 'iPhone8Plus' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
20 | public static let iPhone7Plus = DeviceOptionSet(rawValue: 1 << 4)
21 | public static let iPhone8 = DeviceOptionSet(rawValue: 1 << 5)
22 | public static let iPhone8Plus = DeviceOptionSet(rawValue: 1 << 6)
| |- warning: static property 'iPhone8Plus' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone8Plus' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public static let iPhoneX = DeviceOptionSet(rawValue: 1 << 7)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:24:23: warning: static property 'iPhoneX' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
22 | public static let iPhone8Plus = DeviceOptionSet(rawValue: 1 << 6)
23 |
24 | public static let iPhoneX = DeviceOptionSet(rawValue: 1 << 7)
| |- warning: static property 'iPhoneX' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhoneX' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let iPhoneXS = DeviceOptionSet(rawValue: 1 << 8)
26 | public static let iPhoneXR = DeviceOptionSet(rawValue: 1 << 9)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:25:23: warning: static property 'iPhoneXS' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
23 |
24 | public static let iPhoneX = DeviceOptionSet(rawValue: 1 << 7)
25 | public static let iPhoneXS = DeviceOptionSet(rawValue: 1 << 8)
| |- warning: static property 'iPhoneXS' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhoneXS' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let iPhoneXR = DeviceOptionSet(rawValue: 1 << 9)
27 | public static let iPhoneXSMax = DeviceOptionSet(rawValue: 1 << 10)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:26:23: warning: static property 'iPhoneXR' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
24 | public static let iPhoneX = DeviceOptionSet(rawValue: 1 << 7)
25 | public static let iPhoneXS = DeviceOptionSet(rawValue: 1 << 8)
26 | public static let iPhoneXR = DeviceOptionSet(rawValue: 1 << 9)
| |- warning: static property 'iPhoneXR' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhoneXR' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let iPhoneXSMax = DeviceOptionSet(rawValue: 1 << 10)
28 |
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:27:23: warning: static property 'iPhoneXSMax' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
25 | public static let iPhoneXS = DeviceOptionSet(rawValue: 1 << 8)
26 | public static let iPhoneXR = DeviceOptionSet(rawValue: 1 << 9)
27 | public static let iPhoneXSMax = DeviceOptionSet(rawValue: 1 << 10)
| |- warning: static property 'iPhoneXSMax' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhoneXSMax' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public static let iPhone11 = DeviceOptionSet(rawValue: 1 << 11)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:29:23: warning: static property 'iPhone11' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
27 | public static let iPhoneXSMax = DeviceOptionSet(rawValue: 1 << 10)
28 |
29 | public static let iPhone11 = DeviceOptionSet(rawValue: 1 << 11)
| |- warning: static property 'iPhone11' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone11' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let iPhone12 = DeviceOptionSet(rawValue: 1 << 12)
31 | public static let iPhone13 = DeviceOptionSet(rawValue: 1 << 13)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:30:23: warning: static property 'iPhone12' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
28 |
29 | public static let iPhone11 = DeviceOptionSet(rawValue: 1 << 11)
30 | public static let iPhone12 = DeviceOptionSet(rawValue: 1 << 12)
| |- warning: static property 'iPhone12' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone12' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let iPhone13 = DeviceOptionSet(rawValue: 1 << 13)
32 |
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:31:23: warning: static property 'iPhone13' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
29 | public static let iPhone11 = DeviceOptionSet(rawValue: 1 << 11)
30 | public static let iPhone12 = DeviceOptionSet(rawValue: 1 << 12)
31 | public static let iPhone13 = DeviceOptionSet(rawValue: 1 << 13)
| |- warning: static property 'iPhone13' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone13' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | public static let iPhoneSE1 = DeviceOptionSet(rawValue: 1 << 14)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:33:23: warning: static property 'iPhoneSE1' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
31 | public static let iPhone13 = DeviceOptionSet(rawValue: 1 << 13)
32 |
33 | public static let iPhoneSE1 = DeviceOptionSet(rawValue: 1 << 14)
| |- warning: static property 'iPhoneSE1' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhoneSE1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let iPhoneSE2 = DeviceOptionSet(rawValue: 1 << 15)
35 | public static let iPhoneSE3 = DeviceOptionSet(rawValue: 1 << 16)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:34:23: warning: static property 'iPhoneSE2' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
32 |
33 | public static let iPhoneSE1 = DeviceOptionSet(rawValue: 1 << 14)
34 | public static let iPhoneSE2 = DeviceOptionSet(rawValue: 1 << 15)
| |- warning: static property 'iPhoneSE2' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhoneSE2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | public static let iPhoneSE3 = DeviceOptionSet(rawValue: 1 << 16)
36 |
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:35:23: warning: static property 'iPhoneSE3' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
33 | public static let iPhoneSE1 = DeviceOptionSet(rawValue: 1 << 14)
34 | public static let iPhoneSE2 = DeviceOptionSet(rawValue: 1 << 15)
35 | public static let iPhoneSE3 = DeviceOptionSet(rawValue: 1 << 16)
| |- warning: static property 'iPhoneSE3' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhoneSE3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | public static let iPhoneMini = DeviceOptionSet(rawValue: 1 << 17)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:37:23: warning: static property 'iPhoneMini' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
35 | public static let iPhoneSE3 = DeviceOptionSet(rawValue: 1 << 16)
36 |
37 | public static let iPhoneMini = DeviceOptionSet(rawValue: 1 << 17)
| |- warning: static property 'iPhoneMini' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhoneMini' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | public static let iPhonePro = DeviceOptionSet(rawValue: 1 << 18)
39 | public static let iPhoneProMax = DeviceOptionSet(rawValue: 1 << 19)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:38:23: warning: static property 'iPhonePro' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
36 |
37 | public static let iPhoneMini = DeviceOptionSet(rawValue: 1 << 17)
38 | public static let iPhonePro = DeviceOptionSet(rawValue: 1 << 18)
| |- warning: static property 'iPhonePro' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhonePro' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | public static let iPhoneProMax = DeviceOptionSet(rawValue: 1 << 19)
40 |
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:39:23: warning: static property 'iPhoneProMax' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
37 | public static let iPhoneMini = DeviceOptionSet(rawValue: 1 << 17)
38 | public static let iPhonePro = DeviceOptionSet(rawValue: 1 << 18)
39 | public static let iPhoneProMax = DeviceOptionSet(rawValue: 1 << 19)
| |- warning: static property 'iPhoneProMax' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhoneProMax' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | public static let iPhone14 = DeviceOptionSet(rawValue: 1 << 20)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:41:23: warning: static property 'iPhone14' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
39 | public static let iPhoneProMax = DeviceOptionSet(rawValue: 1 << 19)
40 |
41 | public static let iPhone14 = DeviceOptionSet(rawValue: 1 << 20)
| |- warning: static property 'iPhone14' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone14' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | public static let iPhone14Plus = DeviceOptionSet(rawValue: 1 << 21)
43 | public static let iPhone14Pro = DeviceOptionSet(rawValue: 1 << 22)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:42:23: warning: static property 'iPhone14Plus' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
40 |
41 | public static let iPhone14 = DeviceOptionSet(rawValue: 1 << 20)
42 | public static let iPhone14Plus = DeviceOptionSet(rawValue: 1 << 21)
| |- warning: static property 'iPhone14Plus' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone14Plus' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | public static let iPhone14Pro = DeviceOptionSet(rawValue: 1 << 22)
44 | public static let iPhone14ProMax = DeviceOptionSet(rawValue: 1 << 23)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:43:23: warning: static property 'iPhone14Pro' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
41 | public static let iPhone14 = DeviceOptionSet(rawValue: 1 << 20)
42 | public static let iPhone14Plus = DeviceOptionSet(rawValue: 1 << 21)
43 | public static let iPhone14Pro = DeviceOptionSet(rawValue: 1 << 22)
| |- warning: static property 'iPhone14Pro' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone14Pro' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | public static let iPhone14ProMax = DeviceOptionSet(rawValue: 1 << 23)
45 |
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:44:23: warning: static property 'iPhone14ProMax' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
42 | public static let iPhone14Plus = DeviceOptionSet(rawValue: 1 << 21)
43 | public static let iPhone14Pro = DeviceOptionSet(rawValue: 1 << 22)
44 | public static let iPhone14ProMax = DeviceOptionSet(rawValue: 1 << 23)
| |- warning: static property 'iPhone14ProMax' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone14ProMax' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | public static let iPhone15 = DeviceOptionSet(rawValue: 1 << 24)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:46:23: warning: static property 'iPhone15' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
44 | public static let iPhone14ProMax = DeviceOptionSet(rawValue: 1 << 23)
45 |
46 | public static let iPhone15 = DeviceOptionSet(rawValue: 1 << 24)
| |- warning: static property 'iPhone15' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone15' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | public static let iPhone15Plus = DeviceOptionSet(rawValue: 1 << 25)
48 | public static let iPhone15Pro = DeviceOptionSet(rawValue: 1 << 26)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:47:23: warning: static property 'iPhone15Plus' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
45 |
46 | public static let iPhone15 = DeviceOptionSet(rawValue: 1 << 24)
47 | public static let iPhone15Plus = DeviceOptionSet(rawValue: 1 << 25)
| |- warning: static property 'iPhone15Plus' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone15Plus' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | public static let iPhone15Pro = DeviceOptionSet(rawValue: 1 << 26)
49 | public static let iPhone15ProMax = DeviceOptionSet(rawValue: 1 << 27)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:48:23: warning: static property 'iPhone15Pro' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
46 | public static let iPhone15 = DeviceOptionSet(rawValue: 1 << 24)
47 | public static let iPhone15Plus = DeviceOptionSet(rawValue: 1 << 25)
48 | public static let iPhone15Pro = DeviceOptionSet(rawValue: 1 << 26)
| |- warning: static property 'iPhone15Pro' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone15Pro' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let iPhone15ProMax = DeviceOptionSet(rawValue: 1 << 27)
50 |
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:49:23: warning: static property 'iPhone15ProMax' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
47 | public static let iPhone15Plus = DeviceOptionSet(rawValue: 1 << 25)
48 | public static let iPhone15Pro = DeviceOptionSet(rawValue: 1 << 26)
49 | public static let iPhone15ProMax = DeviceOptionSet(rawValue: 1 << 27)
| |- warning: static property 'iPhone15ProMax' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone15ProMax' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | public static let iPhone16 = DeviceOptionSet(rawValue: 1 << 28)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:51:23: warning: static property 'iPhone16' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
49 | public static let iPhone15ProMax = DeviceOptionSet(rawValue: 1 << 27)
50 |
51 | public static let iPhone16 = DeviceOptionSet(rawValue: 1 << 28)
| |- warning: static property 'iPhone16' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone16' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | public static let iPhone16Plus = DeviceOptionSet(rawValue: 1 << 29)
53 | public static let iPhone16Pro = DeviceOptionSet(rawValue: 1 << 30)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:52:23: warning: static property 'iPhone16Plus' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
50 |
51 | public static let iPhone16 = DeviceOptionSet(rawValue: 1 << 28)
52 | public static let iPhone16Plus = DeviceOptionSet(rawValue: 1 << 29)
| |- warning: static property 'iPhone16Plus' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone16Plus' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | public static let iPhone16Pro = DeviceOptionSet(rawValue: 1 << 30)
54 | public static let iPhone16ProMax = DeviceOptionSet(rawValue: 1 << 31)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:53:23: warning: static property 'iPhone16Pro' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
51 | public static let iPhone16 = DeviceOptionSet(rawValue: 1 << 28)
52 | public static let iPhone16Plus = DeviceOptionSet(rawValue: 1 << 29)
53 | public static let iPhone16Pro = DeviceOptionSet(rawValue: 1 << 30)
| |- warning: static property 'iPhone16Pro' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone16Pro' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | public static let iPhone16ProMax = DeviceOptionSet(rawValue: 1 << 31)
55 | public static let iPhone16E = DeviceOptionSet(rawValue: 1 << 32)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:54:23: warning: static property 'iPhone16ProMax' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
52 | public static let iPhone16Plus = DeviceOptionSet(rawValue: 1 << 29)
53 | public static let iPhone16Pro = DeviceOptionSet(rawValue: 1 << 30)
54 | public static let iPhone16ProMax = DeviceOptionSet(rawValue: 1 << 31)
| |- warning: static property 'iPhone16ProMax' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone16ProMax' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | public static let iPhone16E = DeviceOptionSet(rawValue: 1 << 32)
56 |
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:55:23: warning: static property 'iPhone16E' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
53 | public static let iPhone16Pro = DeviceOptionSet(rawValue: 1 << 30)
54 | public static let iPhone16ProMax = DeviceOptionSet(rawValue: 1 << 31)
55 | public static let iPhone16E = DeviceOptionSet(rawValue: 1 << 32)
| |- warning: static property 'iPhone16E' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone16E' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 |
57 | public static let iPhone17 = DeviceOptionSet(rawValue: 1 << 33)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:57:23: warning: static property 'iPhone17' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
55 | public static let iPhone16E = DeviceOptionSet(rawValue: 1 << 32)
56 |
57 | public static let iPhone17 = DeviceOptionSet(rawValue: 1 << 33)
| |- warning: static property 'iPhone17' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone17' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | public static let iPhone17Pro = DeviceOptionSet(rawValue: 1 << 34)
59 | public static let iPhone17ProMax = DeviceOptionSet(rawValue: 1 << 35)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:58:23: warning: static property 'iPhone17Pro' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
56 |
57 | public static let iPhone17 = DeviceOptionSet(rawValue: 1 << 33)
58 | public static let iPhone17Pro = DeviceOptionSet(rawValue: 1 << 34)
| |- warning: static property 'iPhone17Pro' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone17Pro' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | public static let iPhone17ProMax = DeviceOptionSet(rawValue: 1 << 35)
60 | public static let iPhoneAir = DeviceOptionSet(rawValue: 1 << 36)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:59:23: warning: static property 'iPhone17ProMax' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
57 | public static let iPhone17 = DeviceOptionSet(rawValue: 1 << 33)
58 | public static let iPhone17Pro = DeviceOptionSet(rawValue: 1 << 34)
59 | public static let iPhone17ProMax = DeviceOptionSet(rawValue: 1 << 35)
| |- warning: static property 'iPhone17ProMax' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone17ProMax' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | public static let iPhoneAir = DeviceOptionSet(rawValue: 1 << 36)
61 |
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:60:23: warning: static property 'iPhoneAir' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
58 | public static let iPhone17Pro = DeviceOptionSet(rawValue: 1 << 34)
59 | public static let iPhone17ProMax = DeviceOptionSet(rawValue: 1 << 35)
60 | public static let iPhoneAir = DeviceOptionSet(rawValue: 1 << 36)
| |- warning: static property 'iPhoneAir' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhoneAir' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |
62 | public static let iPhoneSESet: DeviceOptionSet = [.iPhoneSE1, .iPhoneSE2, .iPhoneSE3]
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:62:23: warning: static property 'iPhoneSESet' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
60 | public static let iPhoneAir = DeviceOptionSet(rawValue: 1 << 36)
61 |
62 | public static let iPhoneSESet: DeviceOptionSet = [.iPhoneSE1, .iPhoneSE2, .iPhoneSE3]
| |- warning: static property 'iPhoneSESet' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhoneSESet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | public static let iPhonePlusSet: DeviceOptionSet = [.iPhone6SPlus, .iPhone7Plus, .iPhone8Plus]
64 | public static let iPhone4_7inchSet: DeviceOptionSet = [.iPhoneSE2, .iPhoneSE3, .iPhone6S, .iPhone7, .iPhone8]
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:63:23: warning: static property 'iPhonePlusSet' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
61 |
62 | public static let iPhoneSESet: DeviceOptionSet = [.iPhoneSE1, .iPhoneSE2, .iPhoneSE3]
63 | public static let iPhonePlusSet: DeviceOptionSet = [.iPhone6SPlus, .iPhone7Plus, .iPhone8Plus]
| |- warning: static property 'iPhonePlusSet' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhonePlusSet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | public static let iPhone4_7inchSet: DeviceOptionSet = [.iPhoneSE2, .iPhoneSE3, .iPhone6S, .iPhone7, .iPhone8]
65 | public static let iPhone4inchSet: DeviceOptionSet = [.iPhoneSE1]
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:64:23: warning: static property 'iPhone4_7inchSet' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
62 | public static let iPhoneSESet: DeviceOptionSet = [.iPhoneSE1, .iPhoneSE2, .iPhoneSE3]
63 | public static let iPhonePlusSet: DeviceOptionSet = [.iPhone6SPlus, .iPhone7Plus, .iPhone8Plus]
64 | public static let iPhone4_7inchSet: DeviceOptionSet = [.iPhoneSE2, .iPhoneSE3, .iPhone6S, .iPhone7, .iPhone8]
| |- warning: static property 'iPhone4_7inchSet' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone4_7inchSet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | public static let iPhone4inchSet: DeviceOptionSet = [.iPhoneSE1]
66 | public static let iPhoneSet: DeviceOptionSet = [
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:65:23: warning: static property 'iPhone4inchSet' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
63 | public static let iPhonePlusSet: DeviceOptionSet = [.iPhone6SPlus, .iPhone7Plus, .iPhone8Plus]
64 | public static let iPhone4_7inchSet: DeviceOptionSet = [.iPhoneSE2, .iPhoneSE3, .iPhone6S, .iPhone7, .iPhone8]
65 | public static let iPhone4inchSet: DeviceOptionSet = [.iPhoneSE1]
| |- warning: static property 'iPhone4inchSet' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone4inchSet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | public static let iPhoneSet: DeviceOptionSet = [
67 | .iPhoneSESet, .iPhonePlusSet, .iPhone4_7inchSet, .iPhone4inchSet,
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:66:23: warning: static property 'iPhoneSet' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
64 | public static let iPhone4_7inchSet: DeviceOptionSet = [.iPhoneSE2, .iPhoneSE3, .iPhone6S, .iPhone7, .iPhone8]
65 | public static let iPhone4inchSet: DeviceOptionSet = [.iPhoneSE1]
66 | public static let iPhoneSet: DeviceOptionSet = [
| |- warning: static property 'iPhoneSet' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhoneSet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | .iPhoneSESet, .iPhonePlusSet, .iPhone4_7inchSet, .iPhone4inchSet,
68 | .iPhoneX, .iPhoneXS, .iPhoneXR, .iPhoneXSMax,
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:75:23: warning: static property 'iPhoneSafeAreaSet' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
73 | .iPhone17, .iPhone17Pro, .iPhone17ProMax, .iPhoneAir
74 | ]
75 | public static let iPhoneSafeAreaSet: DeviceOptionSet = iPhoneSet.subtracting(iPhone4inchSet).subtracting(iPhone4_7inchSet).subtracting(iPhonePlusSet)
| |- warning: static property 'iPhoneSafeAreaSet' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhoneSafeAreaSet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | //MARK: iPad
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:78:23: warning: static property 'iPad5' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
76 |
77 | //MARK: iPad
78 | public static let iPad5 = DeviceOptionSet(rawValue: 1 << 50)
| |- warning: static property 'iPad5' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPad5' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | public static let iPad6 = DeviceOptionSet(rawValue: 1 << 51)
80 | public static let iPad7 = DeviceOptionSet(rawValue: 1 << 52)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:79:23: warning: static property 'iPad6' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
77 | //MARK: iPad
78 | public static let iPad5 = DeviceOptionSet(rawValue: 1 << 50)
79 | public static let iPad6 = DeviceOptionSet(rawValue: 1 << 51)
| |- warning: static property 'iPad6' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPad6' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | public static let iPad7 = DeviceOptionSet(rawValue: 1 << 52)
81 | public static let iPad8 = DeviceOptionSet(rawValue: 1 << 53)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:80:23: warning: static property 'iPad7' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
78 | public static let iPad5 = DeviceOptionSet(rawValue: 1 << 50)
79 | public static let iPad6 = DeviceOptionSet(rawValue: 1 << 51)
80 | public static let iPad7 = DeviceOptionSet(rawValue: 1 << 52)
| |- warning: static property 'iPad7' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPad7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | public static let iPad8 = DeviceOptionSet(rawValue: 1 << 53)
82 | public static let iPad9 = DeviceOptionSet(rawValue: 1 << 54)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:81:23: warning: static property 'iPad8' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
79 | public static let iPad6 = DeviceOptionSet(rawValue: 1 << 51)
80 | public static let iPad7 = DeviceOptionSet(rawValue: 1 << 52)
81 | public static let iPad8 = DeviceOptionSet(rawValue: 1 << 53)
| |- warning: static property 'iPad8' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPad8' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | public static let iPad9 = DeviceOptionSet(rawValue: 1 << 54)
83 |
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:82:23: warning: static property 'iPad9' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
80 | public static let iPad7 = DeviceOptionSet(rawValue: 1 << 52)
81 | public static let iPad8 = DeviceOptionSet(rawValue: 1 << 53)
82 | public static let iPad9 = DeviceOptionSet(rawValue: 1 << 54)
| |- warning: static property 'iPad9' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPad9' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 |
84 | public static let iPadMini = DeviceOptionSet(rawValue: 1 << 55)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:84:23: warning: static property 'iPadMini' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
82 | public static let iPad9 = DeviceOptionSet(rawValue: 1 << 54)
83 |
84 | public static let iPadMini = DeviceOptionSet(rawValue: 1 << 55)
| |- warning: static property 'iPadMini' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPadMini' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let iPadAir = DeviceOptionSet(rawValue: 1 << 56)
86 |
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:85:23: warning: static property 'iPadAir' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
83 |
84 | public static let iPadMini = DeviceOptionSet(rawValue: 1 << 55)
85 | public static let iPadAir = DeviceOptionSet(rawValue: 1 << 56)
| |- warning: static property 'iPadAir' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPadAir' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 |
87 | public static let iPadPro9_7inch = DeviceOptionSet(rawValue: 1 << 57)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:87:23: warning: static property 'iPadPro9_7inch' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
85 | public static let iPadAir = DeviceOptionSet(rawValue: 1 << 56)
86 |
87 | public static let iPadPro9_7inch = DeviceOptionSet(rawValue: 1 << 57)
| |- warning: static property 'iPadPro9_7inch' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPadPro9_7inch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let iPadPro10_5inch = DeviceOptionSet(rawValue: 1 << 58)
89 | public static let iPadPro11inch = DeviceOptionSet(rawValue: 1 << 59)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:88:23: warning: static property 'iPadPro10_5inch' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
86 |
87 | public static let iPadPro9_7inch = DeviceOptionSet(rawValue: 1 << 57)
88 | public static let iPadPro10_5inch = DeviceOptionSet(rawValue: 1 << 58)
| |- warning: static property 'iPadPro10_5inch' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPadPro10_5inch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let iPadPro11inch = DeviceOptionSet(rawValue: 1 << 59)
90 | public static let iPadPro12_9inch = DeviceOptionSet(rawValue: 1 << 60)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:89:23: warning: static property 'iPadPro11inch' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
87 | public static let iPadPro9_7inch = DeviceOptionSet(rawValue: 1 << 57)
88 | public static let iPadPro10_5inch = DeviceOptionSet(rawValue: 1 << 58)
89 | public static let iPadPro11inch = DeviceOptionSet(rawValue: 1 << 59)
| |- warning: static property 'iPadPro11inch' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPadPro11inch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let iPadPro12_9inch = DeviceOptionSet(rawValue: 1 << 60)
91 | public static let iPadPro13inch = DeviceOptionSet(rawValue: 1 << 61)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:90:23: warning: static property 'iPadPro12_9inch' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
88 | public static let iPadPro10_5inch = DeviceOptionSet(rawValue: 1 << 58)
89 | public static let iPadPro11inch = DeviceOptionSet(rawValue: 1 << 59)
90 | public static let iPadPro12_9inch = DeviceOptionSet(rawValue: 1 << 60)
| |- warning: static property 'iPadPro12_9inch' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPadPro12_9inch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | public static let iPadPro13inch = DeviceOptionSet(rawValue: 1 << 61)
92 | public static let iPad10 = DeviceOptionSet(rawValue: 1 << 62)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:91:23: warning: static property 'iPadPro13inch' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
89 | public static let iPadPro11inch = DeviceOptionSet(rawValue: 1 << 59)
90 | public static let iPadPro12_9inch = DeviceOptionSet(rawValue: 1 << 60)
91 | public static let iPadPro13inch = DeviceOptionSet(rawValue: 1 << 61)
| |- warning: static property 'iPadPro13inch' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPadPro13inch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | public static let iPad10 = DeviceOptionSet(rawValue: 1 << 62)
93 | public static let iPad11 = DeviceOptionSet(rawValue: 1 << 63)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:92:23: warning: static property 'iPad10' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
90 | public static let iPadPro12_9inch = DeviceOptionSet(rawValue: 1 << 60)
91 | public static let iPadPro13inch = DeviceOptionSet(rawValue: 1 << 61)
92 | public static let iPad10 = DeviceOptionSet(rawValue: 1 << 62)
| |- warning: static property 'iPad10' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPad10' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let iPad11 = DeviceOptionSet(rawValue: 1 << 63)
94 |
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:93:23: warning: static property 'iPad11' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
91 | public static let iPadPro13inch = DeviceOptionSet(rawValue: 1 << 61)
92 | public static let iPad10 = DeviceOptionSet(rawValue: 1 << 62)
93 | public static let iPad11 = DeviceOptionSet(rawValue: 1 << 63)
| |- warning: static property 'iPad11' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPad11' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 |
95 | public static let iPadProSet: DeviceOptionSet = [.iPadPro9_7inch, .iPadPro10_5inch, .iPadPro11inch, .iPadPro12_9inch, .iPadPro13inch]
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:95:23: warning: static property 'iPadProSet' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
93 | public static let iPad11 = DeviceOptionSet(rawValue: 1 << 63)
94 |
95 | public static let iPadProSet: DeviceOptionSet = [.iPadPro9_7inch, .iPadPro10_5inch, .iPadPro11inch, .iPadPro12_9inch, .iPadPro13inch]
| |- warning: static property 'iPadProSet' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPadProSet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | public static let iPadSet: DeviceOptionSet = [.iPad5, .iPad6, .iPad7, .iPad8, .iPad9, .iPad10, .iPad11, .iPadAir, .iPadMini, .iPadProSet]
97 |
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:96:23: warning: static property 'iPadSet' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
94 |
95 | public static let iPadProSet: DeviceOptionSet = [.iPadPro9_7inch, .iPadPro10_5inch, .iPadPro11inch, .iPadPro12_9inch, .iPadPro13inch]
96 | public static let iPadSet: DeviceOptionSet = [.iPad5, .iPad6, .iPad7, .iPad8, .iPad9, .iPad10, .iPad11, .iPadAir, .iPadMini, .iPadProSet]
| |- warning: static property 'iPadSet' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPadSet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 |
98 | //MARK: iPod
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:99:23: warning: static property 'iPod' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
97 |
98 | //MARK: iPod
99 | public static let iPod = DeviceOptionSet(rawValue: 1<<80)
| |- warning: static property 'iPod' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' 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
100 |
101 | public init(rawValue: Int) {
[6/8] Emitting module DeviceDetector
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceDetector.swift:14:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'DeviceDetector' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public final class DeviceDetector {
| `- note: class 'DeviceDetector' does not conform to the 'Sendable' protocol
14 | public static let current = DeviceDetector()
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'DeviceDetector' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public let device: DeviceOptionSet
16 | public let deviceName: String
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:14:23: warning: static property 'unrecognized' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
| |- warning: static property 'unrecognized' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unrecognized' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | //MARK: iPhone
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:17:23: warning: static property 'iPhone6S' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
15 |
16 | //MARK: iPhone
17 | public static let iPhone6S = DeviceOptionSet(rawValue: 1 << 1)
| |- warning: static property 'iPhone6S' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone6S' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let iPhone6SPlus = DeviceOptionSet(rawValue: 1 << 2)
19 | public static let iPhone7 = DeviceOptionSet(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:18:23: warning: static property 'iPhone6SPlus' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
16 | //MARK: iPhone
17 | public static let iPhone6S = DeviceOptionSet(rawValue: 1 << 1)
18 | public static let iPhone6SPlus = DeviceOptionSet(rawValue: 1 << 2)
| |- warning: static property 'iPhone6SPlus' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone6SPlus' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let iPhone7 = DeviceOptionSet(rawValue: 1 << 3)
20 | public static let iPhone7Plus = DeviceOptionSet(rawValue: 1 << 4)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:19:23: warning: static property 'iPhone7' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
17 | public static let iPhone6S = DeviceOptionSet(rawValue: 1 << 1)
18 | public static let iPhone6SPlus = DeviceOptionSet(rawValue: 1 << 2)
19 | public static let iPhone7 = DeviceOptionSet(rawValue: 1 << 3)
| |- warning: static property 'iPhone7' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let iPhone7Plus = DeviceOptionSet(rawValue: 1 << 4)
21 | public static let iPhone8 = DeviceOptionSet(rawValue: 1 << 5)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:20:23: warning: static property 'iPhone7Plus' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
18 | public static let iPhone6SPlus = DeviceOptionSet(rawValue: 1 << 2)
19 | public static let iPhone7 = DeviceOptionSet(rawValue: 1 << 3)
20 | public static let iPhone7Plus = DeviceOptionSet(rawValue: 1 << 4)
| |- warning: static property 'iPhone7Plus' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone7Plus' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let iPhone8 = DeviceOptionSet(rawValue: 1 << 5)
22 | public static let iPhone8Plus = DeviceOptionSet(rawValue: 1 << 6)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:21:23: warning: static property 'iPhone8' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
19 | public static let iPhone7 = DeviceOptionSet(rawValue: 1 << 3)
20 | public static let iPhone7Plus = DeviceOptionSet(rawValue: 1 << 4)
21 | public static let iPhone8 = DeviceOptionSet(rawValue: 1 << 5)
| |- warning: static property 'iPhone8' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone8' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let iPhone8Plus = DeviceOptionSet(rawValue: 1 << 6)
23 |
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:22:23: warning: static property 'iPhone8Plus' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
20 | public static let iPhone7Plus = DeviceOptionSet(rawValue: 1 << 4)
21 | public static let iPhone8 = DeviceOptionSet(rawValue: 1 << 5)
22 | public static let iPhone8Plus = DeviceOptionSet(rawValue: 1 << 6)
| |- warning: static property 'iPhone8Plus' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone8Plus' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public static let iPhoneX = DeviceOptionSet(rawValue: 1 << 7)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:24:23: warning: static property 'iPhoneX' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
22 | public static let iPhone8Plus = DeviceOptionSet(rawValue: 1 << 6)
23 |
24 | public static let iPhoneX = DeviceOptionSet(rawValue: 1 << 7)
| |- warning: static property 'iPhoneX' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhoneX' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let iPhoneXS = DeviceOptionSet(rawValue: 1 << 8)
26 | public static let iPhoneXR = DeviceOptionSet(rawValue: 1 << 9)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:25:23: warning: static property 'iPhoneXS' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
23 |
24 | public static let iPhoneX = DeviceOptionSet(rawValue: 1 << 7)
25 | public static let iPhoneXS = DeviceOptionSet(rawValue: 1 << 8)
| |- warning: static property 'iPhoneXS' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhoneXS' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let iPhoneXR = DeviceOptionSet(rawValue: 1 << 9)
27 | public static let iPhoneXSMax = DeviceOptionSet(rawValue: 1 << 10)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:26:23: warning: static property 'iPhoneXR' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
24 | public static let iPhoneX = DeviceOptionSet(rawValue: 1 << 7)
25 | public static let iPhoneXS = DeviceOptionSet(rawValue: 1 << 8)
26 | public static let iPhoneXR = DeviceOptionSet(rawValue: 1 << 9)
| |- warning: static property 'iPhoneXR' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhoneXR' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let iPhoneXSMax = DeviceOptionSet(rawValue: 1 << 10)
28 |
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:27:23: warning: static property 'iPhoneXSMax' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
25 | public static let iPhoneXS = DeviceOptionSet(rawValue: 1 << 8)
26 | public static let iPhoneXR = DeviceOptionSet(rawValue: 1 << 9)
27 | public static let iPhoneXSMax = DeviceOptionSet(rawValue: 1 << 10)
| |- warning: static property 'iPhoneXSMax' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhoneXSMax' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public static let iPhone11 = DeviceOptionSet(rawValue: 1 << 11)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:29:23: warning: static property 'iPhone11' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
27 | public static let iPhoneXSMax = DeviceOptionSet(rawValue: 1 << 10)
28 |
29 | public static let iPhone11 = DeviceOptionSet(rawValue: 1 << 11)
| |- warning: static property 'iPhone11' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone11' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let iPhone12 = DeviceOptionSet(rawValue: 1 << 12)
31 | public static let iPhone13 = DeviceOptionSet(rawValue: 1 << 13)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:30:23: warning: static property 'iPhone12' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
28 |
29 | public static let iPhone11 = DeviceOptionSet(rawValue: 1 << 11)
30 | public static let iPhone12 = DeviceOptionSet(rawValue: 1 << 12)
| |- warning: static property 'iPhone12' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone12' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let iPhone13 = DeviceOptionSet(rawValue: 1 << 13)
32 |
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:31:23: warning: static property 'iPhone13' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
29 | public static let iPhone11 = DeviceOptionSet(rawValue: 1 << 11)
30 | public static let iPhone12 = DeviceOptionSet(rawValue: 1 << 12)
31 | public static let iPhone13 = DeviceOptionSet(rawValue: 1 << 13)
| |- warning: static property 'iPhone13' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone13' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | public static let iPhoneSE1 = DeviceOptionSet(rawValue: 1 << 14)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:33:23: warning: static property 'iPhoneSE1' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
31 | public static let iPhone13 = DeviceOptionSet(rawValue: 1 << 13)
32 |
33 | public static let iPhoneSE1 = DeviceOptionSet(rawValue: 1 << 14)
| |- warning: static property 'iPhoneSE1' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhoneSE1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let iPhoneSE2 = DeviceOptionSet(rawValue: 1 << 15)
35 | public static let iPhoneSE3 = DeviceOptionSet(rawValue: 1 << 16)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:34:23: warning: static property 'iPhoneSE2' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
32 |
33 | public static let iPhoneSE1 = DeviceOptionSet(rawValue: 1 << 14)
34 | public static let iPhoneSE2 = DeviceOptionSet(rawValue: 1 << 15)
| |- warning: static property 'iPhoneSE2' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhoneSE2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | public static let iPhoneSE3 = DeviceOptionSet(rawValue: 1 << 16)
36 |
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:35:23: warning: static property 'iPhoneSE3' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
33 | public static let iPhoneSE1 = DeviceOptionSet(rawValue: 1 << 14)
34 | public static let iPhoneSE2 = DeviceOptionSet(rawValue: 1 << 15)
35 | public static let iPhoneSE3 = DeviceOptionSet(rawValue: 1 << 16)
| |- warning: static property 'iPhoneSE3' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhoneSE3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | public static let iPhoneMini = DeviceOptionSet(rawValue: 1 << 17)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:37:23: warning: static property 'iPhoneMini' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
35 | public static let iPhoneSE3 = DeviceOptionSet(rawValue: 1 << 16)
36 |
37 | public static let iPhoneMini = DeviceOptionSet(rawValue: 1 << 17)
| |- warning: static property 'iPhoneMini' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhoneMini' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | public static let iPhonePro = DeviceOptionSet(rawValue: 1 << 18)
39 | public static let iPhoneProMax = DeviceOptionSet(rawValue: 1 << 19)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:38:23: warning: static property 'iPhonePro' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
36 |
37 | public static let iPhoneMini = DeviceOptionSet(rawValue: 1 << 17)
38 | public static let iPhonePro = DeviceOptionSet(rawValue: 1 << 18)
| |- warning: static property 'iPhonePro' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhonePro' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | public static let iPhoneProMax = DeviceOptionSet(rawValue: 1 << 19)
40 |
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:39:23: warning: static property 'iPhoneProMax' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
37 | public static let iPhoneMini = DeviceOptionSet(rawValue: 1 << 17)
38 | public static let iPhonePro = DeviceOptionSet(rawValue: 1 << 18)
39 | public static let iPhoneProMax = DeviceOptionSet(rawValue: 1 << 19)
| |- warning: static property 'iPhoneProMax' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhoneProMax' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | public static let iPhone14 = DeviceOptionSet(rawValue: 1 << 20)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:41:23: warning: static property 'iPhone14' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
39 | public static let iPhoneProMax = DeviceOptionSet(rawValue: 1 << 19)
40 |
41 | public static let iPhone14 = DeviceOptionSet(rawValue: 1 << 20)
| |- warning: static property 'iPhone14' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone14' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | public static let iPhone14Plus = DeviceOptionSet(rawValue: 1 << 21)
43 | public static let iPhone14Pro = DeviceOptionSet(rawValue: 1 << 22)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:42:23: warning: static property 'iPhone14Plus' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
40 |
41 | public static let iPhone14 = DeviceOptionSet(rawValue: 1 << 20)
42 | public static let iPhone14Plus = DeviceOptionSet(rawValue: 1 << 21)
| |- warning: static property 'iPhone14Plus' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone14Plus' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | public static let iPhone14Pro = DeviceOptionSet(rawValue: 1 << 22)
44 | public static let iPhone14ProMax = DeviceOptionSet(rawValue: 1 << 23)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:43:23: warning: static property 'iPhone14Pro' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
41 | public static let iPhone14 = DeviceOptionSet(rawValue: 1 << 20)
42 | public static let iPhone14Plus = DeviceOptionSet(rawValue: 1 << 21)
43 | public static let iPhone14Pro = DeviceOptionSet(rawValue: 1 << 22)
| |- warning: static property 'iPhone14Pro' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone14Pro' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | public static let iPhone14ProMax = DeviceOptionSet(rawValue: 1 << 23)
45 |
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:44:23: warning: static property 'iPhone14ProMax' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
42 | public static let iPhone14Plus = DeviceOptionSet(rawValue: 1 << 21)
43 | public static let iPhone14Pro = DeviceOptionSet(rawValue: 1 << 22)
44 | public static let iPhone14ProMax = DeviceOptionSet(rawValue: 1 << 23)
| |- warning: static property 'iPhone14ProMax' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone14ProMax' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | public static let iPhone15 = DeviceOptionSet(rawValue: 1 << 24)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:46:23: warning: static property 'iPhone15' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
44 | public static let iPhone14ProMax = DeviceOptionSet(rawValue: 1 << 23)
45 |
46 | public static let iPhone15 = DeviceOptionSet(rawValue: 1 << 24)
| |- warning: static property 'iPhone15' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone15' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | public static let iPhone15Plus = DeviceOptionSet(rawValue: 1 << 25)
48 | public static let iPhone15Pro = DeviceOptionSet(rawValue: 1 << 26)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:47:23: warning: static property 'iPhone15Plus' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
45 |
46 | public static let iPhone15 = DeviceOptionSet(rawValue: 1 << 24)
47 | public static let iPhone15Plus = DeviceOptionSet(rawValue: 1 << 25)
| |- warning: static property 'iPhone15Plus' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone15Plus' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | public static let iPhone15Pro = DeviceOptionSet(rawValue: 1 << 26)
49 | public static let iPhone15ProMax = DeviceOptionSet(rawValue: 1 << 27)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:48:23: warning: static property 'iPhone15Pro' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
46 | public static let iPhone15 = DeviceOptionSet(rawValue: 1 << 24)
47 | public static let iPhone15Plus = DeviceOptionSet(rawValue: 1 << 25)
48 | public static let iPhone15Pro = DeviceOptionSet(rawValue: 1 << 26)
| |- warning: static property 'iPhone15Pro' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone15Pro' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let iPhone15ProMax = DeviceOptionSet(rawValue: 1 << 27)
50 |
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:49:23: warning: static property 'iPhone15ProMax' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
47 | public static let iPhone15Plus = DeviceOptionSet(rawValue: 1 << 25)
48 | public static let iPhone15Pro = DeviceOptionSet(rawValue: 1 << 26)
49 | public static let iPhone15ProMax = DeviceOptionSet(rawValue: 1 << 27)
| |- warning: static property 'iPhone15ProMax' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone15ProMax' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | public static let iPhone16 = DeviceOptionSet(rawValue: 1 << 28)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:51:23: warning: static property 'iPhone16' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
49 | public static let iPhone15ProMax = DeviceOptionSet(rawValue: 1 << 27)
50 |
51 | public static let iPhone16 = DeviceOptionSet(rawValue: 1 << 28)
| |- warning: static property 'iPhone16' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone16' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | public static let iPhone16Plus = DeviceOptionSet(rawValue: 1 << 29)
53 | public static let iPhone16Pro = DeviceOptionSet(rawValue: 1 << 30)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:52:23: warning: static property 'iPhone16Plus' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
50 |
51 | public static let iPhone16 = DeviceOptionSet(rawValue: 1 << 28)
52 | public static let iPhone16Plus = DeviceOptionSet(rawValue: 1 << 29)
| |- warning: static property 'iPhone16Plus' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone16Plus' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | public static let iPhone16Pro = DeviceOptionSet(rawValue: 1 << 30)
54 | public static let iPhone16ProMax = DeviceOptionSet(rawValue: 1 << 31)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:53:23: warning: static property 'iPhone16Pro' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
51 | public static let iPhone16 = DeviceOptionSet(rawValue: 1 << 28)
52 | public static let iPhone16Plus = DeviceOptionSet(rawValue: 1 << 29)
53 | public static let iPhone16Pro = DeviceOptionSet(rawValue: 1 << 30)
| |- warning: static property 'iPhone16Pro' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone16Pro' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | public static let iPhone16ProMax = DeviceOptionSet(rawValue: 1 << 31)
55 | public static let iPhone16E = DeviceOptionSet(rawValue: 1 << 32)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:54:23: warning: static property 'iPhone16ProMax' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
52 | public static let iPhone16Plus = DeviceOptionSet(rawValue: 1 << 29)
53 | public static let iPhone16Pro = DeviceOptionSet(rawValue: 1 << 30)
54 | public static let iPhone16ProMax = DeviceOptionSet(rawValue: 1 << 31)
| |- warning: static property 'iPhone16ProMax' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone16ProMax' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | public static let iPhone16E = DeviceOptionSet(rawValue: 1 << 32)
56 |
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:55:23: warning: static property 'iPhone16E' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
53 | public static let iPhone16Pro = DeviceOptionSet(rawValue: 1 << 30)
54 | public static let iPhone16ProMax = DeviceOptionSet(rawValue: 1 << 31)
55 | public static let iPhone16E = DeviceOptionSet(rawValue: 1 << 32)
| |- warning: static property 'iPhone16E' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone16E' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 |
57 | public static let iPhone17 = DeviceOptionSet(rawValue: 1 << 33)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:57:23: warning: static property 'iPhone17' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
55 | public static let iPhone16E = DeviceOptionSet(rawValue: 1 << 32)
56 |
57 | public static let iPhone17 = DeviceOptionSet(rawValue: 1 << 33)
| |- warning: static property 'iPhone17' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone17' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | public static let iPhone17Pro = DeviceOptionSet(rawValue: 1 << 34)
59 | public static let iPhone17ProMax = DeviceOptionSet(rawValue: 1 << 35)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:58:23: warning: static property 'iPhone17Pro' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
56 |
57 | public static let iPhone17 = DeviceOptionSet(rawValue: 1 << 33)
58 | public static let iPhone17Pro = DeviceOptionSet(rawValue: 1 << 34)
| |- warning: static property 'iPhone17Pro' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone17Pro' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | public static let iPhone17ProMax = DeviceOptionSet(rawValue: 1 << 35)
60 | public static let iPhoneAir = DeviceOptionSet(rawValue: 1 << 36)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:59:23: warning: static property 'iPhone17ProMax' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
57 | public static let iPhone17 = DeviceOptionSet(rawValue: 1 << 33)
58 | public static let iPhone17Pro = DeviceOptionSet(rawValue: 1 << 34)
59 | public static let iPhone17ProMax = DeviceOptionSet(rawValue: 1 << 35)
| |- warning: static property 'iPhone17ProMax' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone17ProMax' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | public static let iPhoneAir = DeviceOptionSet(rawValue: 1 << 36)
61 |
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:60:23: warning: static property 'iPhoneAir' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
58 | public static let iPhone17Pro = DeviceOptionSet(rawValue: 1 << 34)
59 | public static let iPhone17ProMax = DeviceOptionSet(rawValue: 1 << 35)
60 | public static let iPhoneAir = DeviceOptionSet(rawValue: 1 << 36)
| |- warning: static property 'iPhoneAir' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhoneAir' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |
62 | public static let iPhoneSESet: DeviceOptionSet = [.iPhoneSE1, .iPhoneSE2, .iPhoneSE3]
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:62:23: warning: static property 'iPhoneSESet' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
60 | public static let iPhoneAir = DeviceOptionSet(rawValue: 1 << 36)
61 |
62 | public static let iPhoneSESet: DeviceOptionSet = [.iPhoneSE1, .iPhoneSE2, .iPhoneSE3]
| |- warning: static property 'iPhoneSESet' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhoneSESet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | public static let iPhonePlusSet: DeviceOptionSet = [.iPhone6SPlus, .iPhone7Plus, .iPhone8Plus]
64 | public static let iPhone4_7inchSet: DeviceOptionSet = [.iPhoneSE2, .iPhoneSE3, .iPhone6S, .iPhone7, .iPhone8]
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:63:23: warning: static property 'iPhonePlusSet' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
61 |
62 | public static let iPhoneSESet: DeviceOptionSet = [.iPhoneSE1, .iPhoneSE2, .iPhoneSE3]
63 | public static let iPhonePlusSet: DeviceOptionSet = [.iPhone6SPlus, .iPhone7Plus, .iPhone8Plus]
| |- warning: static property 'iPhonePlusSet' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhonePlusSet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | public static let iPhone4_7inchSet: DeviceOptionSet = [.iPhoneSE2, .iPhoneSE3, .iPhone6S, .iPhone7, .iPhone8]
65 | public static let iPhone4inchSet: DeviceOptionSet = [.iPhoneSE1]
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:64:23: warning: static property 'iPhone4_7inchSet' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
62 | public static let iPhoneSESet: DeviceOptionSet = [.iPhoneSE1, .iPhoneSE2, .iPhoneSE3]
63 | public static let iPhonePlusSet: DeviceOptionSet = [.iPhone6SPlus, .iPhone7Plus, .iPhone8Plus]
64 | public static let iPhone4_7inchSet: DeviceOptionSet = [.iPhoneSE2, .iPhoneSE3, .iPhone6S, .iPhone7, .iPhone8]
| |- warning: static property 'iPhone4_7inchSet' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone4_7inchSet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | public static let iPhone4inchSet: DeviceOptionSet = [.iPhoneSE1]
66 | public static let iPhoneSet: DeviceOptionSet = [
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:65:23: warning: static property 'iPhone4inchSet' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
63 | public static let iPhonePlusSet: DeviceOptionSet = [.iPhone6SPlus, .iPhone7Plus, .iPhone8Plus]
64 | public static let iPhone4_7inchSet: DeviceOptionSet = [.iPhoneSE2, .iPhoneSE3, .iPhone6S, .iPhone7, .iPhone8]
65 | public static let iPhone4inchSet: DeviceOptionSet = [.iPhoneSE1]
| |- warning: static property 'iPhone4inchSet' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhone4inchSet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | public static let iPhoneSet: DeviceOptionSet = [
67 | .iPhoneSESet, .iPhonePlusSet, .iPhone4_7inchSet, .iPhone4inchSet,
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:66:23: warning: static property 'iPhoneSet' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
64 | public static let iPhone4_7inchSet: DeviceOptionSet = [.iPhoneSE2, .iPhoneSE3, .iPhone6S, .iPhone7, .iPhone8]
65 | public static let iPhone4inchSet: DeviceOptionSet = [.iPhoneSE1]
66 | public static let iPhoneSet: DeviceOptionSet = [
| |- warning: static property 'iPhoneSet' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhoneSet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | .iPhoneSESet, .iPhonePlusSet, .iPhone4_7inchSet, .iPhone4inchSet,
68 | .iPhoneX, .iPhoneXS, .iPhoneXR, .iPhoneXSMax,
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:75:23: warning: static property 'iPhoneSafeAreaSet' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
73 | .iPhone17, .iPhone17Pro, .iPhone17ProMax, .iPhoneAir
74 | ]
75 | public static let iPhoneSafeAreaSet: DeviceOptionSet = iPhoneSet.subtracting(iPhone4inchSet).subtracting(iPhone4_7inchSet).subtracting(iPhonePlusSet)
| |- warning: static property 'iPhoneSafeAreaSet' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPhoneSafeAreaSet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | //MARK: iPad
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:78:23: warning: static property 'iPad5' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
76 |
77 | //MARK: iPad
78 | public static let iPad5 = DeviceOptionSet(rawValue: 1 << 50)
| |- warning: static property 'iPad5' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPad5' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | public static let iPad6 = DeviceOptionSet(rawValue: 1 << 51)
80 | public static let iPad7 = DeviceOptionSet(rawValue: 1 << 52)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:79:23: warning: static property 'iPad6' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
77 | //MARK: iPad
78 | public static let iPad5 = DeviceOptionSet(rawValue: 1 << 50)
79 | public static let iPad6 = DeviceOptionSet(rawValue: 1 << 51)
| |- warning: static property 'iPad6' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPad6' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | public static let iPad7 = DeviceOptionSet(rawValue: 1 << 52)
81 | public static let iPad8 = DeviceOptionSet(rawValue: 1 << 53)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:80:23: warning: static property 'iPad7' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
78 | public static let iPad5 = DeviceOptionSet(rawValue: 1 << 50)
79 | public static let iPad6 = DeviceOptionSet(rawValue: 1 << 51)
80 | public static let iPad7 = DeviceOptionSet(rawValue: 1 << 52)
| |- warning: static property 'iPad7' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPad7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | public static let iPad8 = DeviceOptionSet(rawValue: 1 << 53)
82 | public static let iPad9 = DeviceOptionSet(rawValue: 1 << 54)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:81:23: warning: static property 'iPad8' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
79 | public static let iPad6 = DeviceOptionSet(rawValue: 1 << 51)
80 | public static let iPad7 = DeviceOptionSet(rawValue: 1 << 52)
81 | public static let iPad8 = DeviceOptionSet(rawValue: 1 << 53)
| |- warning: static property 'iPad8' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPad8' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | public static let iPad9 = DeviceOptionSet(rawValue: 1 << 54)
83 |
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:82:23: warning: static property 'iPad9' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
80 | public static let iPad7 = DeviceOptionSet(rawValue: 1 << 52)
81 | public static let iPad8 = DeviceOptionSet(rawValue: 1 << 53)
82 | public static let iPad9 = DeviceOptionSet(rawValue: 1 << 54)
| |- warning: static property 'iPad9' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPad9' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 |
84 | public static let iPadMini = DeviceOptionSet(rawValue: 1 << 55)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:84:23: warning: static property 'iPadMini' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
82 | public static let iPad9 = DeviceOptionSet(rawValue: 1 << 54)
83 |
84 | public static let iPadMini = DeviceOptionSet(rawValue: 1 << 55)
| |- warning: static property 'iPadMini' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPadMini' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let iPadAir = DeviceOptionSet(rawValue: 1 << 56)
86 |
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:85:23: warning: static property 'iPadAir' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
83 |
84 | public static let iPadMini = DeviceOptionSet(rawValue: 1 << 55)
85 | public static let iPadAir = DeviceOptionSet(rawValue: 1 << 56)
| |- warning: static property 'iPadAir' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPadAir' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 |
87 | public static let iPadPro9_7inch = DeviceOptionSet(rawValue: 1 << 57)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:87:23: warning: static property 'iPadPro9_7inch' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
85 | public static let iPadAir = DeviceOptionSet(rawValue: 1 << 56)
86 |
87 | public static let iPadPro9_7inch = DeviceOptionSet(rawValue: 1 << 57)
| |- warning: static property 'iPadPro9_7inch' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPadPro9_7inch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let iPadPro10_5inch = DeviceOptionSet(rawValue: 1 << 58)
89 | public static let iPadPro11inch = DeviceOptionSet(rawValue: 1 << 59)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:88:23: warning: static property 'iPadPro10_5inch' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
86 |
87 | public static let iPadPro9_7inch = DeviceOptionSet(rawValue: 1 << 57)
88 | public static let iPadPro10_5inch = DeviceOptionSet(rawValue: 1 << 58)
| |- warning: static property 'iPadPro10_5inch' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPadPro10_5inch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let iPadPro11inch = DeviceOptionSet(rawValue: 1 << 59)
90 | public static let iPadPro12_9inch = DeviceOptionSet(rawValue: 1 << 60)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:89:23: warning: static property 'iPadPro11inch' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
87 | public static let iPadPro9_7inch = DeviceOptionSet(rawValue: 1 << 57)
88 | public static let iPadPro10_5inch = DeviceOptionSet(rawValue: 1 << 58)
89 | public static let iPadPro11inch = DeviceOptionSet(rawValue: 1 << 59)
| |- warning: static property 'iPadPro11inch' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPadPro11inch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let iPadPro12_9inch = DeviceOptionSet(rawValue: 1 << 60)
91 | public static let iPadPro13inch = DeviceOptionSet(rawValue: 1 << 61)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:90:23: warning: static property 'iPadPro12_9inch' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
88 | public static let iPadPro10_5inch = DeviceOptionSet(rawValue: 1 << 58)
89 | public static let iPadPro11inch = DeviceOptionSet(rawValue: 1 << 59)
90 | public static let iPadPro12_9inch = DeviceOptionSet(rawValue: 1 << 60)
| |- warning: static property 'iPadPro12_9inch' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPadPro12_9inch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | public static let iPadPro13inch = DeviceOptionSet(rawValue: 1 << 61)
92 | public static let iPad10 = DeviceOptionSet(rawValue: 1 << 62)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:91:23: warning: static property 'iPadPro13inch' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
89 | public static let iPadPro11inch = DeviceOptionSet(rawValue: 1 << 59)
90 | public static let iPadPro12_9inch = DeviceOptionSet(rawValue: 1 << 60)
91 | public static let iPadPro13inch = DeviceOptionSet(rawValue: 1 << 61)
| |- warning: static property 'iPadPro13inch' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPadPro13inch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | public static let iPad10 = DeviceOptionSet(rawValue: 1 << 62)
93 | public static let iPad11 = DeviceOptionSet(rawValue: 1 << 63)
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:92:23: warning: static property 'iPad10' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
90 | public static let iPadPro12_9inch = DeviceOptionSet(rawValue: 1 << 60)
91 | public static let iPadPro13inch = DeviceOptionSet(rawValue: 1 << 61)
92 | public static let iPad10 = DeviceOptionSet(rawValue: 1 << 62)
| |- warning: static property 'iPad10' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPad10' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let iPad11 = DeviceOptionSet(rawValue: 1 << 63)
94 |
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:93:23: warning: static property 'iPad11' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
91 | public static let iPadPro13inch = DeviceOptionSet(rawValue: 1 << 61)
92 | public static let iPad10 = DeviceOptionSet(rawValue: 1 << 62)
93 | public static let iPad11 = DeviceOptionSet(rawValue: 1 << 63)
| |- warning: static property 'iPad11' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPad11' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 |
95 | public static let iPadProSet: DeviceOptionSet = [.iPadPro9_7inch, .iPadPro10_5inch, .iPadPro11inch, .iPadPro12_9inch, .iPadPro13inch]
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:95:23: warning: static property 'iPadProSet' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
93 | public static let iPad11 = DeviceOptionSet(rawValue: 1 << 63)
94 |
95 | public static let iPadProSet: DeviceOptionSet = [.iPadPro9_7inch, .iPadPro10_5inch, .iPadPro11inch, .iPadPro12_9inch, .iPadPro13inch]
| |- warning: static property 'iPadProSet' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPadProSet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | public static let iPadSet: DeviceOptionSet = [.iPad5, .iPad6, .iPad7, .iPad8, .iPad9, .iPad10, .iPad11, .iPadAir, .iPadMini, .iPadProSet]
97 |
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:96:23: warning: static property 'iPadSet' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
94 |
95 | public static let iPadProSet: DeviceOptionSet = [.iPadPro9_7inch, .iPadPro10_5inch, .iPadPro11inch, .iPadPro12_9inch, .iPadPro13inch]
96 | public static let iPadSet: DeviceOptionSet = [.iPad5, .iPad6, .iPad7, .iPad8, .iPad9, .iPad10, .iPad11, .iPadAir, .iPadMini, .iPadProSet]
| |- warning: static property 'iPadSet' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iPadSet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 |
98 | //MARK: iPod
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceOptionSet.swift:99:23: warning: static property 'iPod' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | //https://www.theiphonewiki.com/wiki/Models
11 |
12 | public struct DeviceOptionSet: OptionSet {
| `- note: consider making struct 'DeviceOptionSet' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public static let unrecognized = DeviceOptionSet(rawValue: 1 << 0)
:
97 |
98 | //MARK: iPod
99 | public static let iPod = DeviceOptionSet(rawValue: 1<<80)
| |- warning: static property 'iPod' is not concurrency-safe because non-'Sendable' type 'DeviceOptionSet' 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
100 |
101 | public init(rawValue: Int) {
[7/8] Compiling DeviceDetector resource_bundle_accessor.swift
[8/8] Compiling DeviceDetector DeviceDetector.swift
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceDetector.swift:14:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'DeviceDetector' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public final class DeviceDetector {
| `- note: class 'DeviceDetector' does not conform to the 'Sendable' protocol
14 | public static let current = DeviceDetector()
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'DeviceDetector' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public let device: DeviceOptionSet
16 | public let deviceName: String
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceDetector.swift:23:52: error: argument passed to call that takes no arguments
21 | private init(identifier: String? = nil) {
22 | if let appleDevices = Bundle.module.path(forResource: "Device", ofType: "plist"),
23 | let dict = NSDictionary(contentsOfFile: appleDevices) {
| `- error: argument passed to call that takes no arguments
24 | deviceDict = dict
25 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/6] Compiling DeviceDetector resource_bundle_accessor.swift
[3/6] Compiling DeviceDetector UIDevice+Extension.swift
[4/6] Compiling DeviceDetector DeviceDetector.swift
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceDetector.swift:23:52: error: argument passed to call that takes no arguments
21 | private init(identifier: String? = nil) {
22 | if let appleDevices = Bundle.module.path(forResource: "Device", ofType: "plist"),
23 | let dict = NSDictionary(contentsOfFile: appleDevices) {
| `- error: argument passed to call that takes no arguments
24 | deviceDict = dict
25 | }
[5/6] Compiling DeviceDetector DeviceOptionSet.swift
[6/6] Emitting module DeviceDetector
BUILD FAILURE 6.1 wasm