Build Information
Successful build of AppleGPUInfo, reference v2.0.1 (5f63ff
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 13:38:35 UTC.
Swift 6 data race errors: 4
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/philipturner/applegpuinfo.git
Reference: v2.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/philipturner/applegpuinfo
* tag v2.0.1 -> FETCH_HEAD
HEAD is now at 5f63ffe Add missing case for A7
Cloned https://github.com/philipturner/applegpuinfo.git
Revision (git rev-parse @):
5f63ffecfa040a36197219a6afd8c2b3ba1bd7ca
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/philipturner/applegpuinfo.git at v2.0.1
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.65s)
Fetching https://github.com/devicekit/DeviceKit
[1/4049] Fetching devicekit
Fetched https://github.com/devicekit/DeviceKit from cache (1.06s)
Creating working copy for https://github.com/devicekit/DeviceKit
Working copy of https://github.com/devicekit/DeviceKit resolved at master (513b9d7)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at main (cf4c472)
========================================
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": "applegpuinfo",
"name": "AppleGPUInfo",
"url": "https://github.com/philipturner/applegpuinfo.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/applegpuinfo",
"dependencies": [
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"dependencies": [
]
},
{
"identity": "devicekit",
"name": "DeviceKit",
"url": "https://github.com/devicekit/DeviceKit",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DeviceKit",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/philipturner/applegpuinfo.git
[1/411] Fetching applegpuinfo
Fetched https://github.com/philipturner/applegpuinfo.git from cache (1.06s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.53s)
Fetching https://github.com/devicekit/DeviceKit from cache
Fetched https://github.com/devicekit/DeviceKit from cache (0.55s)
Creating working copy for https://github.com/devicekit/DeviceKit
Working copy of https://github.com/devicekit/DeviceKit resolved at master (513b9d7)
Creating working copy for https://github.com/philipturner/applegpuinfo.git
Working copy of https://github.com/philipturner/applegpuinfo.git resolved at v2.0.1 (5f63ffe)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at main (cf4c472)
Found 2 product dependencies
- swift-argument-parser
- DeviceKit
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/philipturner/applegpuinfo.git
https://github.com/philipturner/applegpuinfo.git
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "devicekit",
"requirement" : {
"branch" : [
"master"
]
},
"type" : "sourceControl",
"url" : "https://github.com/devicekit/DeviceKit"
}
],
"manifest_display_name" : "AppleGPUInfo",
"name" : "AppleGPUInfo",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "maccatalyst",
"version" : "15.0"
},
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "AppleGPUInfo",
"targets" : [
"AppleGPUInfo"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "gpuinfo",
"targets" : [
"AppleGPUInfoTool"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "AppleGPUInfoTool",
"module_type" : "SwiftTarget",
"name" : "AppleGPUInfoTool",
"path" : "Sources/AppleGPUInfoTool",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"gpuinfo"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"AppleGPUInfo"
],
"type" : "executable"
},
{
"c99name" : "AppleGPUInfoTests",
"module_type" : "SwiftTarget",
"name" : "AppleGPUInfoTests",
"path" : "Tests/AppleGPUInfoTests",
"sources" : [
"AppleGPUInfoTests.swift"
],
"target_dependencies" : [
"AppleGPUInfo"
],
"type" : "test"
},
{
"c99name" : "AppleGPUInfo",
"module_type" : "SwiftTarget",
"name" : "AppleGPUInfo",
"path" : "Sources/AppleGPUInfo",
"product_dependencies" : [
"DeviceKit"
],
"product_memberships" : [
"AppleGPUInfo",
"gpuinfo"
],
"sources" : [
"AppleGPUInfo.swift",
"CAppleGPUInfo.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
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
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/11] Write sources
[3/11] Write gpuinfo-entitlement.plist
[5/11] Write sources
[7/11] Write swift-version-2F0A5646E1D333AE.txt
[9/16] Emitting module ArgumentParserToolInfo
[10/16] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/61] Emitting module ArgumentParser
[12/65] Compiling ArgumentParser SequenceExtensions.swift
[13/65] Compiling ArgumentParser StringExtensions.swift
[14/65] Compiling ArgumentParser Tree.swift
[15/65] Compiling ArgumentParser CodingKeyValidator.swift
[16/65] Compiling ArgumentParser NonsenseFlagsValidator.swift
[17/65] Compiling ArgumentParser ParsableArgumentsValidation.swift
[18/65] Compiling ArgumentParser PositionalArgumentsValidator.swift
[19/65] Compiling ArgumentParser UniqueNamesValidator.swift
[20/65] Compiling AppleGPUInfo CAppleGPUInfo.swift
[21/65] Emitting module AppleGPUInfo
/Users/admin/builder/spi-builder-workspace/Sources/AppleGPUInfo/AppleGPUInfo.swift:9:14: warning: non-final class 'GPUInfoError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
7 |
8 | /// An error returned by the AppleGPUInfo library.
9 | public class GPUInfoError: Error {
| `- warning: non-final class 'GPUInfoError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
10 | /// The description of the error.
11 | public let description: String
/Users/admin/builder/spi-builder-workspace/Sources/AppleGPUInfo/AppleGPUInfo.swift:14:16: warning: stored property '_cDescripton' of 'Sendable'-conforming class 'GPUInfoError' has non-sendable type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>'); this is an error in the Swift 6 language mode
12 |
13 | /// For compatibility with the C API, store an explicit C string.
14 | internal let _cDescripton: UnsafeMutablePointer<CChar>
| `- warning: stored property '_cDescripton' of 'Sendable'-conforming class 'GPUInfoError' has non-sendable type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>'); this is an error in the Swift 6 language mode
15 |
16 | /// Initialize the error object.
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
[22/65] Compiling AppleGPUInfo AppleGPUInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppleGPUInfo/AppleGPUInfo.swift:9:14: warning: non-final class 'GPUInfoError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
7 |
8 | /// An error returned by the AppleGPUInfo library.
9 | public class GPUInfoError: Error {
| `- warning: non-final class 'GPUInfoError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
10 | /// The description of the error.
11 | public let description: String
/Users/admin/builder/spi-builder-workspace/Sources/AppleGPUInfo/AppleGPUInfo.swift:14:16: warning: stored property '_cDescripton' of 'Sendable'-conforming class 'GPUInfoError' has non-sendable type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>'); this is an error in the Swift 6 language mode
12 |
13 | /// For compatibility with the C API, store an explicit C string.
14 | internal let _cDescripton: UnsafeMutablePointer<CChar>
| `- warning: stored property '_cDescripton' of 'Sendable'-conforming class 'GPUInfoError' has non-sendable type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>'); this is an error in the Swift 6 language mode
15 |
16 | /// Initialize the error object.
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
[23/65] Compiling ArgumentParser BashCompletionsGenerator.swift
[24/65] Compiling ArgumentParser CompletionsGenerator.swift
[25/65] Compiling ArgumentParser FishCompletionsGenerator.swift
[26/65] Compiling ArgumentParser ZshCompletionsGenerator.swift
[27/65] Compiling ArgumentParser Argument.swift
[28/65] Compiling ArgumentParser CommandConfiguration.swift
[29/65] Compiling ArgumentParser CommandGroup.swift
[30/65] Compiling ArgumentParser EnumerableFlag.swift
[31/65] Compiling ArgumentParser ExpressibleByArgument.swift
[32/65] Compiling ArgumentParser ParsableArguments.swift
[33/65] Compiling ArgumentParser ArgumentDiscussion.swift
[34/65] Compiling ArgumentParser ArgumentHelp.swift
[35/65] Compiling ArgumentParser ArgumentVisibility.swift
[36/65] Compiling ArgumentParser CompletionKind.swift
[37/65] Compiling ArgumentParser Errors.swift
[38/65] Compiling ArgumentParser InputKey.swift
[39/65] Compiling ArgumentParser InputOrigin.swift
[40/65] Compiling ArgumentParser Name.swift
[41/65] Compiling ArgumentParser Parsed.swift
[42/65] Compiling ArgumentParser ParsedValues.swift
[43/65] Compiling ArgumentParser ParsableCommand.swift
[44/65] Compiling ArgumentParser ArgumentDecoder.swift
[45/65] Compiling ArgumentParser ArgumentDefinition.swift
[46/65] Compiling ArgumentParser ArgumentSet.swift
[47/65] Compiling ArgumentParser CommandParser.swift
[48/65] Compiling ArgumentParser Flag.swift
[49/65] Compiling ArgumentParser NameSpecification.swift
[50/65] Compiling ArgumentParser Option.swift
[51/65] Compiling ArgumentParser OptionGroup.swift
[52/65] Compiling ArgumentParser AsyncParsableCommand.swift
[53/65] Compiling ArgumentParser MessageInfo.swift
[54/65] Compiling ArgumentParser UsageGenerator.swift
[55/65] Compiling ArgumentParser CollectionExtensions.swift
[56/65] Compiling ArgumentParser Mutex.swift
[57/65] Compiling ArgumentParser Platform.swift
[58/65] Compiling ArgumentParser ParserError.swift
[59/65] Compiling ArgumentParser SplitArguments.swift
[60/65] Compiling ArgumentParser DumpHelpGenerator.swift
[61/65] Compiling ArgumentParser HelpCommand.swift
[62/65] Compiling ArgumentParser HelpGenerator.swift
[63/67] Compiling AppleGPUInfoTool main.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppleGPUInfoTool/main.swift:16:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | struct GPUInfoTool: ParsableCommand {
15 | // Define a static property that contains the command configuration
16 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | // The name of the command, defaults to the type name
18 | commandName: "gpuinfo",
/Users/admin/builder/spi-builder-workspace/Sources/AppleGPUInfoTool/main.swift:39:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | struct List: ParsableCommand {
38 | // Define a static property that contains the subcommand configuration
39 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | // The name of the subcommand, defaults to the type name
41 | commandName: "list",
[64/67] Emitting module AppleGPUInfoTool
/Users/admin/builder/spi-builder-workspace/Sources/AppleGPUInfoTool/main.swift:16:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | struct GPUInfoTool: ParsableCommand {
15 | // Define a static property that contains the command configuration
16 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | // The name of the command, defaults to the type name
18 | commandName: "gpuinfo",
/Users/admin/builder/spi-builder-workspace/Sources/AppleGPUInfoTool/main.swift:39:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | struct List: ParsableCommand {
38 | // Define a static property that contains the subcommand configuration
39 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | // The name of the subcommand, defaults to the type name
41 | commandName: "list",
[64/67] Write Objects.LinkFileList
[65/67] Linking gpuinfo
[66/67] Applying gpuinfo
Build complete! (7.88s)
warning: 'devicekit': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DeviceKit/Source/Info.plist
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DeviceKit/Source/Device.swift.gyb
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "devicekit",
"requirement" : {
"branch" : [
"master"
]
},
"type" : "sourceControl",
"url" : "https://github.com/devicekit/DeviceKit"
}
],
"manifest_display_name" : "AppleGPUInfo",
"name" : "AppleGPUInfo",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "maccatalyst",
"version" : "15.0"
},
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "AppleGPUInfo",
"targets" : [
"AppleGPUInfo"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "gpuinfo",
"targets" : [
"AppleGPUInfoTool"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "AppleGPUInfoTool",
"module_type" : "SwiftTarget",
"name" : "AppleGPUInfoTool",
"path" : "Sources/AppleGPUInfoTool",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"gpuinfo"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"AppleGPUInfo"
],
"type" : "executable"
},
{
"c99name" : "AppleGPUInfoTests",
"module_type" : "SwiftTarget",
"name" : "AppleGPUInfoTests",
"path" : "Tests/AppleGPUInfoTests",
"sources" : [
"AppleGPUInfoTests.swift"
],
"target_dependencies" : [
"AppleGPUInfo"
],
"type" : "test"
},
{
"c99name" : "AppleGPUInfo",
"module_type" : "SwiftTarget",
"name" : "AppleGPUInfo",
"path" : "Sources/AppleGPUInfo",
"product_dependencies" : [
"DeviceKit"
],
"product_memberships" : [
"AppleGPUInfo",
"gpuinfo"
],
"sources" : [
"AppleGPUInfo.swift",
"CAppleGPUInfo.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.