The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of SwiftCPUDetect, reference main (988d42), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 22:46:13 UTC.

Swift 6 data race errors: 11

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ITzTravelInTime/SwiftCPUDetect.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ITzTravelInTime/SwiftCPUDetect
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 988d426 Added more test swift versions
Cloned https://github.com/ITzTravelInTime/SwiftCPUDetect.git
Revision (git rev-parse @):
988d426c935d07a5213bf405866f19fbef5ffdf5
SUCCESS checkout https://github.com/ITzTravelInTime/SwiftCPUDetect.git at main
Fetching https://github.com/ITzTravelInTime/SwiftPackagesBase
[1/204] Fetching swiftpackagesbase
Fetched https://github.com/ITzTravelInTime/SwiftPackagesBase from cache (0.74s)
Computing version for https://github.com/ITzTravelInTime/SwiftPackagesBase
Computed https://github.com/ITzTravelInTime/SwiftPackagesBase at 0.0.23 (0.64s)
Creating working copy for https://github.com/ITzTravelInTime/SwiftPackagesBase
Working copy of https://github.com/ITzTravelInTime/SwiftPackagesBase resolved at 0.0.23
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swiftcpudetect",
      "name": "SwiftCPUDetect",
      "url": "https://github.com/ITzTravelInTime/SwiftCPUDetect.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftCPUDetect",
      "dependencies": [
        {
          "identity": "swiftpackagesbase",
          "name": "SwiftPackagesBase",
          "url": "https://github.com/ITzTravelInTime/SwiftPackagesBase",
          "version": "0.0.23",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftPackagesBase",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/ITzTravelInTime/SwiftCPUDetect.git
[1/630] Fetching swiftcpudetect
Fetched https://github.com/ITzTravelInTime/SwiftCPUDetect.git from cache (0.83s)
Fetching https://github.com/ITzTravelInTime/SwiftPackagesBase from cache
Fetched https://github.com/ITzTravelInTime/SwiftPackagesBase from cache (0.48s)
Computing version for https://github.com/ITzTravelInTime/SwiftPackagesBase
Computed https://github.com/ITzTravelInTime/SwiftPackagesBase at 0.0.23 (0.03s)
Creating working copy for https://github.com/ITzTravelInTime/SwiftPackagesBase
Working copy of https://github.com/ITzTravelInTime/SwiftPackagesBase resolved at 0.0.23
Creating working copy for https://github.com/ITzTravelInTime/SwiftCPUDetect.git
Working copy of https://github.com/ITzTravelInTime/SwiftCPUDetect.git resolved at main (988d426)
warning: '.resolve-product-dependencies': dependency 'swiftcpudetect' is not used by any target
Found 1 product dependencies
  - SwiftPackagesBase
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/ITzTravelInTime/SwiftCPUDetect.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/20] Compiling SwiftPackagesBase RepresentableExtensions.swift
[6/21] Compiling SwiftPackagesBase RepresentableProtocols.swift
[7/21] Compiling SwiftPackagesBase BundleExtensions.swift
[8/21] Compiling SwiftPackagesBase DateExtensions.swift
[9/21] Compiling SwiftPackagesBase FileManagerExtensions.swift
[10/21] Compiling SwiftPackagesBase FloatingPointExtensins.swift
[11/21] Compiling SwiftPackagesBase DictionaryExtensions.swift
[12/21] Compiling SwiftPackagesBase FetchingProtocols.swift
[13/21] Compiling SwiftPackagesBase ArrayExtensions.swift
[14/21] Compiling SwiftPackagesBase BoolExtensions.swift
[15/21] Compiling SwiftPackagesBase IntegerExtensins.swift
[16/21] Compiling SwiftPackagesBase NumericExtensions.swift
[17/21] Emitting module SwiftPackagesBase
[18/21] Compiling SwiftPackagesBase StringExtensions.swift
[19/21] Compiling SwiftPackagesBase SimulatableDetectableProtocols.swift
[20/21] Compiling SwiftPackagesBase OtherExtensins.swift
[21/21] Compiling SwiftPackagesBase OtherProtocols.swift
[22/35] Compiling SwiftSystemValues SysctlProtocols.swift
[23/35] Compiling SwiftSystemValues SysctlLinux.swift
[24/35] Compiling SwiftSystemValues SysctlMachdep.swift
[25/35] Compiling SwiftSystemValues x86_CPUID.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSystemValues/x86_CPUID.swift:32:27: warning: static property 'queryCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 30 |         }
 31 |
 32 |         public static var queryCache: [Registers] = []
    |                           |- warning: static property 'queryCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: convert 'queryCache' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: annotate 'queryCache' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |
 34 |         public func copy() -> Registers {
[26/36] Compiling SwiftSystemValues SysctlKernel.swift
[27/36] Compiling SwiftSystemValues Sysctl.swift
[28/36] Compiling SwiftSystemValues SysctlCPU.swift
[29/36] Compiling SwiftSystemValues FileSystemFetch.swift
[30/36] Compiling SwiftSystemValues FileSystemFetchCPULinux.swift
[31/36] Compiling SwiftSystemValues SysctlDarwin.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSystemValues/SysctlDarwin.swift:19:23: warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | public final class SysctlQueryStorage{
19 |     public static var enabled = true
   |                       |- warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'enabled' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'enabled' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |     public static var recoverEveryQueryFromStorage = false
21 |     public static var records: [String: String] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSystemValues/SysctlDarwin.swift:20:23: warning: static property 'recoverEveryQueryFromStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | public final class SysctlQueryStorage{
19 |     public static var enabled = true
20 |     public static var recoverEveryQueryFromStorage = false
   |                       |- warning: static property 'recoverEveryQueryFromStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'recoverEveryQueryFromStorage' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'recoverEveryQueryFromStorage' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |     public static var records: [String: String] = [:]
22 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSystemValues/SysctlDarwin.swift:21:23: warning: static property 'records' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |     public static var enabled = true
20 |     public static var recoverEveryQueryFromStorage = false
21 |     public static var records: [String: String] = [:]
   |                       |- warning: static property 'records' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'records' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'records' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSystemValues/SysctlHW.swift:151:31: warning: static property 'index' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
149 |         ///Object to read `sysctl hw.preflevel[x]` entries
150 |         public final class PerflevelGeneralPurpose: SysctlPerflevel{
151 |             public static var index: UInt8 = 0
    |                               |- warning: static property 'index' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'index' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: annotate 'index' with '@MainActor' if property should only be accessed from the main actor
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 |         }
153 |     }
[32/36] Compiling SwiftSystemValues SysctlHW.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSystemValues/SysctlDarwin.swift:19:23: warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | public final class SysctlQueryStorage{
19 |     public static var enabled = true
   |                       |- warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'enabled' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'enabled' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |     public static var recoverEveryQueryFromStorage = false
21 |     public static var records: [String: String] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSystemValues/SysctlDarwin.swift:20:23: warning: static property 'recoverEveryQueryFromStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | public final class SysctlQueryStorage{
19 |     public static var enabled = true
20 |     public static var recoverEveryQueryFromStorage = false
   |                       |- warning: static property 'recoverEveryQueryFromStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'recoverEveryQueryFromStorage' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'recoverEveryQueryFromStorage' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |     public static var records: [String: String] = [:]
22 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSystemValues/SysctlDarwin.swift:21:23: warning: static property 'records' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |     public static var enabled = true
20 |     public static var recoverEveryQueryFromStorage = false
21 |     public static var records: [String: String] = [:]
   |                       |- warning: static property 'records' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'records' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'records' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSystemValues/SysctlHW.swift:151:31: warning: static property 'index' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
149 |         ///Object to read `sysctl hw.preflevel[x]` entries
150 |         public final class PerflevelGeneralPurpose: SysctlPerflevel{
151 |             public static var index: UInt8 = 0
    |                               |- warning: static property 'index' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'index' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: annotate 'index' with '@MainActor' if property should only be accessed from the main actor
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 |         }
153 |     }
[33/36] Compiling SwiftSystemValues FileSystemFetchLinux.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSystemValues/Print.swift:18:23: warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | ///This class manages prints
17 | open class GeneralPrinter {
18 |     public static var enabled: Bool = true
   |                       |- warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'enabled' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'enabled' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |     open class var prefix: String{
20 |         return ""
[34/36] Compiling SwiftSystemValues Print.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSystemValues/Print.swift:18:23: warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | ///This class manages prints
17 | open class GeneralPrinter {
18 |     public static var enabled: Bool = true
   |                       |- warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'enabled' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'enabled' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |     open class var prefix: String{
20 |         return ""
[35/36] Emitting module SwiftSystemValues
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSystemValues/Print.swift:18:23: warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | ///This class manages prints
17 | open class GeneralPrinter {
18 |     public static var enabled: Bool = true
   |                       |- warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'enabled' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'enabled' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |     open class var prefix: String{
20 |         return ""
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSystemValues/SysctlDarwin.swift:19:23: warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | public final class SysctlQueryStorage{
19 |     public static var enabled = true
   |                       |- warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'enabled' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'enabled' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |     public static var recoverEveryQueryFromStorage = false
21 |     public static var records: [String: String] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSystemValues/SysctlDarwin.swift:20:23: warning: static property 'recoverEveryQueryFromStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | public final class SysctlQueryStorage{
19 |     public static var enabled = true
20 |     public static var recoverEveryQueryFromStorage = false
   |                       |- warning: static property 'recoverEveryQueryFromStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'recoverEveryQueryFromStorage' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'recoverEveryQueryFromStorage' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |     public static var records: [String: String] = [:]
22 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSystemValues/SysctlDarwin.swift:21:23: warning: static property 'records' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |     public static var enabled = true
20 |     public static var recoverEveryQueryFromStorage = false
21 |     public static var records: [String: String] = [:]
   |                       |- warning: static property 'records' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'records' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'records' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSystemValues/SysctlHW.swift:151:31: warning: static property 'index' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
149 |         ///Object to read `sysctl hw.preflevel[x]` entries
150 |         public final class PerflevelGeneralPurpose: SysctlPerflevel{
151 |             public static var index: UInt8 = 0
    |                               |- warning: static property 'index' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'index' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: annotate 'index' with '@MainActor' if property should only be accessed from the main actor
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 |         }
153 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSystemValues/x86_CPUID.swift:32:27: warning: static property 'queryCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 30 |         }
 31 |
 32 |         public static var queryCache: [Registers] = []
    |                           |- warning: static property 'queryCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: convert 'queryCache' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: annotate 'queryCache' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |
 34 |         public func copy() -> Registers {
[36/36] Compiling SwiftSystemValues x86_CPUIDValues.swift
[37/44] Compiling SwiftCPUDetect HwInfo.swift
[38/44] Compiling SwiftCPUDetect Print.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCPUDetect/Print.swift:18:23: warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | ///This class manages prints
17 | open class GeneralPrinter {
18 |     public static var enabled: Bool = true
   |                       |- warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'enabled' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'enabled' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |     open class var prefix: String{
20 |         return ""
[39/44] Compiling SwiftCPUDetect GPUInfo.swift
[40/44] Compiling SwiftCPUDetect CPUArchitecture.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCPUDetect/CPUArchitecture.swift:144:22: warning: unknown architecture for build configuration 'arch'
142 |
143 |         #if os(Linux)
144 |             #if arch(x86_64h)
    |                      |- warning: unknown architecture for build configuration 'arch'
    |                      `- note: did you mean 'x86_64'?
145 |             return .intel64
146 |             #endif
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCPUDetect/CPUArchitecture.swift:148:22: warning: unknown architecture for build configuration 'arch'
146 |             #endif
147 |
148 |             #if arch(i686)
    |                      |- warning: unknown architecture for build configuration 'arch'
    |                      `- note: did you mean 'i386'?
149 |             return .intel32
150 |             #endif
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCPUDetect/CPUArchitecture.swift:281:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'DetectProtocol'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
279 | }
280 |
281 | extension CpuArchitecture.AppArchitectures: DetectProtocol{
    | |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'DetectProtocol'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
282 |
283 |     private static var status: [CpuArchitecture]! = nil
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCPUDetect/CPUArchitecture.swift:283:24: warning: static property 'status' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
281 | extension CpuArchitecture.AppArchitectures: DetectProtocol{
282 |
283 |     private static var status: [CpuArchitecture]! = nil
    |                        |- warning: static property 'status' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'status' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'status' with '@MainActor' if property should only be accessed from the main actor
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
284 |
285 |     ///Returns the cpu architectures supported by the current program/app
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCPUDetect/CPUArchitecture.swift:37:24: warning: static property 'state' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 35 |         //stores the obtained value so useless re-detections are avoided since this value isn't supposed to change at execution time
 36 |         struct MEM{
 37 |             static var state: CpuArchitecture? = nil
    |                        |- warning: static property 'state' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'state' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'state' with '@MainActor' if property should only be accessed from the main actor
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |         }
 39 |
[41/44] Compiling SwiftCPUDetect Extensions.swift
[42/44] Compiling SwiftCPUDetect AppExecution.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCPUDetect/AppExecution.swift:27:24: warning: static property 'state' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 |         //stores the obtained value so useless re-detections are avoided since this value isn't supposed to change at execution time
26 |         struct MEM{
27 |             static var state: AppExecutionMode? = nil
   |                        |- warning: static property 'state' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'state' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'state' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |         }
29 |
[43/44] Compiling SwiftCPUDetect UnameReimplementation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCPUDetect/UnameReimplementation.swift:31:28: warning: static property 'content' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 29 |         public static func fromSysctl(_ forceNewFetch: Bool = false) -> UTSNameReimplemented?{
 30 |             struct Mem{
 31 |                 static var content: UTSNameReimplemented? = nil
    |                            |- warning: static property 'content' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: convert 'content' to a 'let' constant to make 'Sendable' shared state immutable
    |                            |- note: annotate 'content' with '@MainActor' if property should only be accessed from the main actor
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 32 |             }
 33 |
[44/44] Emitting module SwiftCPUDetect
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCPUDetect/AppExecution.swift:27:24: warning: static property 'state' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 |         //stores the obtained value so useless re-detections are avoided since this value isn't supposed to change at execution time
26 |         struct MEM{
27 |             static var state: AppExecutionMode? = nil
   |                        |- warning: static property 'state' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'state' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'state' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |         }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCPUDetect/CPUArchitecture.swift:281:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'DetectProtocol'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
279 | }
280 |
281 | extension CpuArchitecture.AppArchitectures: DetectProtocol{
    | |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'DetectProtocol'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
282 |
283 |     private static var status: [CpuArchitecture]! = nil
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCPUDetect/CPUArchitecture.swift:283:24: warning: static property 'status' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
281 | extension CpuArchitecture.AppArchitectures: DetectProtocol{
282 |
283 |     private static var status: [CpuArchitecture]! = nil
    |                        |- warning: static property 'status' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'status' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'status' with '@MainActor' if property should only be accessed from the main actor
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
284 |
285 |     ///Returns the cpu architectures supported by the current program/app
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCPUDetect/CPUArchitecture.swift:37:24: warning: static property 'state' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 35 |         //stores the obtained value so useless re-detections are avoided since this value isn't supposed to change at execution time
 36 |         struct MEM{
 37 |             static var state: CpuArchitecture? = nil
    |                        |- warning: static property 'state' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'state' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'state' with '@MainActor' if property should only be accessed from the main actor
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |         }
 39 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCPUDetect/Print.swift:18:23: warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | ///This class manages prints
17 | open class GeneralPrinter {
18 |     public static var enabled: Bool = true
   |                       |- warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'enabled' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'enabled' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |     open class var prefix: String{
20 |         return ""
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCPUDetect/UnameReimplementation.swift:31:28: warning: static property 'content' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 29 |         public static func fromSysctl(_ forceNewFetch: Bool = false) -> UTSNameReimplemented?{
 30 |             struct Mem{
 31 |                 static var content: UTSNameReimplemented? = nil
    |                            |- warning: static property 'content' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: convert 'content' to a 'let' constant to make 'Sendable' shared state immutable
    |                            |- note: annotate 'content' with '@MainActor' if property should only be accessed from the main actor
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 32 |             }
 33 |
Build complete! (27.12s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftpackagesbase",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.23",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ITzTravelInTime/SwiftPackagesBase"
    }
  ],
  "manifest_display_name" : "SwiftCPUDetect",
  "name" : "SwiftCPUDetect",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "7.0"
    },
    {
      "name" : "macos",
      "version" : "10.9"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftCPUDetect",
      "targets" : [
        "SwiftCPUDetect",
        "SwiftSystemValues"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftSystemValues",
      "targets" : [
        "SwiftSystemValues"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftSystemValues",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSystemValues",
      "path" : "Sources/SwiftSystemValues",
      "product_dependencies" : [
        "SwiftPackagesBase"
      ],
      "product_memberships" : [
        "SwiftCPUDetect",
        "SwiftSystemValues"
      ],
      "sources" : [
        "FileSystemFetch.swift",
        "FileSystemFetchCPULinux.swift",
        "FileSystemFetchLinux.swift",
        "Print.swift",
        "Sysctl.swift",
        "SysctlCPU.swift",
        "SysctlDarwin.swift",
        "SysctlHW.swift",
        "SysctlKernel.swift",
        "SysctlLinux.swift",
        "SysctlMachdep.swift",
        "SysctlProtocols.swift",
        "x86_CPUID.swift",
        "x86_CPUIDValues.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftCPUDetectTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCPUDetectTests",
      "path" : "Tests/SwiftCPUDetectTests",
      "sources" : [
        "SwiftCPUDetectTests.swift"
      ],
      "target_dependencies" : [
        "SwiftCPUDetect",
        "SwiftSystemValues"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftCPUDetect",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCPUDetect",
      "path" : "Sources/SwiftCPUDetect",
      "product_dependencies" : [
        "SwiftPackagesBase"
      ],
      "product_memberships" : [
        "SwiftCPUDetect"
      ],
      "sources" : [
        "AppExecution.swift",
        "CPUArchitecture.swift",
        "Extensions.swift",
        "GPUInfo.swift",
        "HwInfo.swift",
        "Print.swift",
        "UnameReimplementation.swift"
      ],
      "target_dependencies" : [
        "SwiftSystemValues"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.