The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of SwiftCPUDetect, reference 2.0.0-beta.2 (3f5273), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 15:52:36 UTC.

Swift 6 data race errors: 11

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.61.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.78s)
Computing version for https://github.com/ITzTravelInTime/SwiftPackagesBase
Computed https://github.com/ITzTravelInTime/SwiftPackagesBase at 0.0.22 (1.39s)
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.41s)
Computing version for https://github.com/ITzTravelInTime/SwiftPackagesBase
Computed https://github.com/ITzTravelInTime/SwiftPackagesBase at 0.0.23 (0.46s)
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.1
Building package at path:  $PWD
https://github.com/ITzTravelInTime/SwiftCPUDetect.git
https://github.com/ITzTravelInTime/SwiftCPUDetect.git
{
  "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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/20] Compiling SwiftPackagesBase SimulatableDetectableProtocols.swift
[6/21] Compiling SwiftPackagesBase RepresentableProtocols.swift
[7/21] Compiling SwiftPackagesBase IntegerExtensins.swift
[8/21] Compiling SwiftPackagesBase NumericExtensions.swift
[9/21] Compiling SwiftPackagesBase RepresentableExtensions.swift
[10/21] Compiling SwiftPackagesBase FileManagerExtensions.swift
[11/21] Compiling SwiftPackagesBase FloatingPointExtensins.swift
[12/21] Compiling SwiftPackagesBase StringExtensions.swift
[13/21] Compiling SwiftPackagesBase ArrayExtensions.swift
[14/21] Compiling SwiftPackagesBase BoolExtensions.swift
[15/21] Compiling SwiftPackagesBase BundleExtensions.swift
[16/21] Compiling SwiftPackagesBase DateExtensions.swift
[17/21] Compiling SwiftPackagesBase OtherExtensins.swift
[18/21] Compiling SwiftPackagesBase OtherProtocols.swift
[19/21] Emitting module SwiftPackagesBase
[20/21] Compiling SwiftPackagesBase Dictionary.swift
[21/21] Compiling SwiftPackagesBase FetchingProtocols.swift
[22/35] Compiling SwiftSystemValues SysctlProtocols.swift
[23/36] Compiling SwiftSystemValues SysctlMachdep.swift
[24/36] Compiling SwiftSystemValues SysctlLinux.swift
[25/36] Compiling SwiftSystemValues SysctlKernel.swift
[26/36] Compiling SwiftSystemValues Sysctl.swift
[27/36] Compiling SwiftSystemValues SysctlCPU.swift
[28/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: add '@MainActor' to make static property 'queryCache' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |
 22 |         public func copy() -> Self {
[29/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: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |     open class var prefix: String{
20 |         return ""
[30/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: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |     open class var prefix: String{
20 |         return ""
[31/36] Compiling SwiftSystemValues FileSystemFetch.swift
[32/36] Compiling SwiftSystemValues FileSystemFetchCPULinux.swift
[33/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: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'recoverEveryQueryFromStorage' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'records' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'index' part of global actor 'MainActor'
    |                               `- 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: add '@MainActor' to make static property 'queryCache' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |
 22 |         public func copy() -> Self {
[34/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: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'recoverEveryQueryFromStorage' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'records' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'index' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 |         }
153 |     }
[35/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: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'recoverEveryQueryFromStorage' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'records' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'index' part of global actor 'MainActor'
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 |         }
153 |     }
[36/36] Compiling SwiftSystemValues x86_CPUIDValues.swift
[37/44] Compiling SwiftCPUDetect GPUInfo.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: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
   |                       `- 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 HwInfo.swift
[40/44] Compiling SwiftCPUDetect Extensions.swift
[41/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: add '@MainActor' to make static property 'content' part of global actor 'MainActor'
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 32 |             }
 33 |
[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: add '@MainActor' to make static property 'state' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |         }
29 |
[43/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: add '@MainActor' to make static property 'state' part of global actor 'MainActor'
   |                        `- 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: add '@MainActor' to make static property 'status' part of global actor 'MainActor'
    |                    `- 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: add '@MainActor' to make static property 'state' part of global actor 'MainActor'
    |                        `- 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: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'content' part of global actor 'MainActor'
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 32 |             }
 33 |
[44/44] Compiling SwiftCPUDetect CPUArchitecture.swift
/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: add '@MainActor' to make static property 'status' part of global actor 'MainActor'
    |                    `- 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: add '@MainActor' to make static property 'state' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |         }
 39 |
Build complete! (11.53s)
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.