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 2.0.0-beta.2 (3f5273), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 22:45:58 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: 2.0.0-beta.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ITzTravelInTime/SwiftCPUDetect
 * tag               2.0.0-beta.2 -> FETCH_HEAD
HEAD is now at 3f52734 Fixed a unit test issue.
Cloned https://github.com/ITzTravelInTime/SwiftCPUDetect.git
Revision (git rev-parse @):
3f5273451e3d0bd9ab38d688c89b703adc598b4c
SUCCESS checkout https://github.com/ITzTravelInTime/SwiftCPUDetect.git at 2.0.0-beta.2
Fetching https://github.com/ITzTravelInTime/SwiftPackagesBase
[1/204] Fetching swiftpackagesbase
Fetched https://github.com/ITzTravelInTime/SwiftPackagesBase from cache (0.77s)
Computing version for https://github.com/ITzTravelInTime/SwiftPackagesBase
Computed https://github.com/ITzTravelInTime/SwiftPackagesBase at 0.0.22 (0.68s)
Creating working copy for https://github.com/ITzTravelInTime/SwiftPackagesBase
Working copy of https://github.com/ITzTravelInTime/SwiftPackagesBase resolved at 0.0.22
========================================
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.86s)
Fetching https://github.com/ITzTravelInTime/SwiftPackagesBase from cache
Fetched https://github.com/ITzTravelInTime/SwiftPackagesBase from cache (0.49s)
Computing version for https://github.com/ITzTravelInTime/SwiftPackagesBase
Computed https://github.com/ITzTravelInTime/SwiftPackagesBase at 0.0.23 (0.02s)
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 2.0.0-beta.2 (3f52734)
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 SimulatableDetectableProtocols.swift
[6/21] Compiling SwiftPackagesBase RepresentableProtocols.swift
[7/21] Compiling SwiftPackagesBase RepresentableExtensions.swift
[8/21] Compiling SwiftPackagesBase StringExtensions.swift
[9/21] Compiling SwiftPackagesBase FileManagerExtensions.swift
[10/21] Compiling SwiftPackagesBase FloatingPointExtensins.swift
[11/21] Compiling SwiftPackagesBase BundleExtensions.swift
[12/21] Compiling SwiftPackagesBase DateExtensions.swift
[13/21] Compiling SwiftPackagesBase IntegerExtensins.swift
[14/21] Compiling SwiftPackagesBase NumericExtensions.swift
[15/21] Compiling SwiftPackagesBase Dictionary.swift
[16/21] Compiling SwiftPackagesBase FetchingProtocols.swift
[17/21] Compiling SwiftPackagesBase ArrayExtensions.swift
[18/21] Compiling SwiftPackagesBase BoolExtensions.swift
[19/21] Emitting module SwiftPackagesBase
[20/21] Compiling SwiftPackagesBase OtherExtensins.swift
[21/21] Compiling SwiftPackagesBase OtherProtocols.swift
[22/35] Compiling SwiftSystemValues SysctlLinux.swift
[23/36] Compiling SwiftSystemValues SysctlMachdep.swift
[24/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 ""
[25/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 ""
[26/36] Compiling SwiftSystemValues SysctlKernel.swift
[27/36] Compiling SwiftSystemValues Sysctl.swift
[28/36] Compiling SwiftSystemValues SysctlCPU.swift
[29/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:15: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
13 |
14 | public final class SysctlQueryStorage{
15 |     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
16 |     public static var recoverEveryQueryFromStorage = false
17 |     public static var records: [String: String] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSystemValues/SysctlDarwin.swift:16: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
14 | public final class SysctlQueryStorage{
15 |     public static var enabled = true
16 |     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
17 |     public static var records: [String: String] = [:]
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSystemValues/SysctlDarwin.swift:17: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
15 |     public static var enabled = true
16 |     public static var recoverEveryQueryFromStorage = false
17 |     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
18 | }
19 |
/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:20: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
 18 |     public struct Registers: Copying, Codable, Equatable{
 19 |
 20 |         public static var queryCache: [Self] = []
    |                           |- 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
 21 |
 22 |         public func copy() -> Self {
[30/36] Compiling SwiftSystemValues SysctlProtocols.swift
[31/36] Compiling SwiftSystemValues x86_CPUID.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSystemValues/x86_CPUID.swift:20: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
 18 |     public struct Registers: Copying, Codable, Equatable{
 19 |
 20 |         public static var queryCache: [Self] = []
    |                           |- 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
 21 |
 22 |         public func copy() -> Self {
[32/36] Compiling SwiftSystemValues SysctlDarwin.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSystemValues/SysctlDarwin.swift:15: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
13 |
14 | public final class SysctlQueryStorage{
15 |     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
16 |     public static var recoverEveryQueryFromStorage = false
17 |     public static var records: [String: String] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSystemValues/SysctlDarwin.swift:16: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
14 | public final class SysctlQueryStorage{
15 |     public static var enabled = true
16 |     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
17 |     public static var records: [String: String] = [:]
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSystemValues/SysctlDarwin.swift:17: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
15 |     public static var enabled = true
16 |     public static var recoverEveryQueryFromStorage = false
17 |     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
18 | }
19 |
/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 SysctlHW.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSystemValues/SysctlDarwin.swift:15: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
13 |
14 | public final class SysctlQueryStorage{
15 |     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
16 |     public static var recoverEveryQueryFromStorage = false
17 |     public static var records: [String: String] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSystemValues/SysctlDarwin.swift:16: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
14 | public final class SysctlQueryStorage{
15 |     public static var enabled = true
16 |     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
17 |     public static var records: [String: String] = [:]
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSystemValues/SysctlDarwin.swift:17: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
15 |     public static var enabled = true
16 |     public static var recoverEveryQueryFromStorage = false
17 |     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
18 | }
19 |
/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 |     }
[34/36] Compiling SwiftSystemValues FileSystemFetch.swift
[35/36] Compiling SwiftSystemValues FileSystemFetchCPULinux.swift
[36/36] Compiling SwiftSystemValues x86_CPUIDValues.swift
[37/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 ""
[38/44] Compiling SwiftCPUDetect HwInfo.swift
[39/44] Compiling SwiftCPUDetect GPUInfo.swift
[40/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) -> Self?{
 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 |
[41/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 |
[42/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 struct MEM{
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCPUDetect/CPUArchitecture.swift:284:20: 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
282 |
283 |     private struct MEM{
284 |         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
285 |     }
286 |
/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) -> Self?{
 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 |
[43/44] Compiling SwiftCPUDetect Extensions.swift
[44/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 struct MEM{
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCPUDetect/CPUArchitecture.swift:284:20: 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
282 |
283 |     private struct MEM{
284 |         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
285 |     }
286 |
/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 |
Build complete! (23.17s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftpackagesbase",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.22",
            "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.