Build Information
Successful build of AppleGPUInfo, reference v2.0.1 (5f63ff
), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 12:29:20 UTC.
Swift 6 data race errors: 4
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 -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.58.1
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
[1/12395] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.56s)
Fetching https://github.com/devicekit/DeviceKit
[1/3924] Fetching devicekit
Fetched https://github.com/devicekit/DeviceKit from cache (1.25s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at main (d6836f4)
Creating working copy for https://github.com/devicekit/DeviceKit
Working copy of https://github.com/devicekit/DeviceKit resolved at master (d3bb693)
========================================
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.02s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.56s)
Fetching https://github.com/devicekit/DeviceKit from cache
Fetched https://github.com/devicekit/DeviceKit from cache (0.56s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at main (d6836f4)
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/devicekit/DeviceKit
Working copy of https://github.com/devicekit/DeviceKit resolved at master (d3bb693)
Found 2 product dependencies
- swift-argument-parser
- DeviceKit
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
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.1.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
Building for debugging...
[1/10] Write sources
[3/10] Write gpuinfo-entitlement.plist
[6/10] Write swift-version--7754E27361AE5C74.txt
[8/15] Compiling ArgumentParserToolInfo ToolInfo.swift
[9/15] Emitting module ArgumentParserToolInfo
[10/55] Compiling AppleGPUInfo CAppleGPUInfo.swift
[11/55] 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)
[12/55] 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)
[13/55] Compiling ArgumentParser InputOrigin.swift
[14/55] Compiling ArgumentParser Name.swift
[15/55] Compiling ArgumentParser Parsed.swift
[16/55] Compiling ArgumentParser ParsedValues.swift
[17/59] Compiling ArgumentParser CommandConfiguration.swift
[18/59] Compiling ArgumentParser CommandGroup.swift
[19/59] Compiling ArgumentParser EnumerableFlag.swift
[20/59] Compiling ArgumentParser ExpressibleByArgument.swift
[21/59] Compiling ArgumentParser Platform.swift
[22/59] Compiling ArgumentParser SequenceExtensions.swift
[23/59] Compiling ArgumentParser StringExtensions.swift
[24/59] Compiling ArgumentParser Tree.swift
[25/59] Emitting module ArgumentParser
[26/59] Compiling ArgumentParser BashCompletionsGenerator.swift
[27/59] Compiling ArgumentParser CompletionsGenerator.swift
[28/59] Compiling ArgumentParser FishCompletionsGenerator.swift
[29/59] Compiling ArgumentParser ZshCompletionsGenerator.swift
[30/59] Compiling ArgumentParser Argument.swift
[31/59] Compiling ArgumentParser ParserError.swift
[32/59] Compiling ArgumentParser SplitArguments.swift
[33/59] Compiling ArgumentParser DumpHelpGenerator.swift
[34/59] Compiling ArgumentParser HelpCommand.swift
[35/59] Compiling ArgumentParser ParsableArguments.swift
[36/59] Compiling ArgumentParser ParsableArgumentsValidation.swift
[37/59] Compiling ArgumentParser ParsableCommand.swift
[38/59] Compiling ArgumentParser ArgumentDecoder.swift
[39/59] Compiling ArgumentParser ArgumentDiscussion.swift
[40/59] Compiling ArgumentParser ArgumentHelp.swift
[41/59] Compiling ArgumentParser ArgumentVisibility.swift
[42/59] Compiling ArgumentParser CompletionKind.swift
[43/59] Compiling ArgumentParser Errors.swift
[44/59] Compiling ArgumentParser HelpGenerator.swift
[45/59] Compiling ArgumentParser MessageInfo.swift
[46/59] Compiling ArgumentParser UsageGenerator.swift
[47/59] Compiling ArgumentParser CollectionExtensions.swift
[48/59] Compiling ArgumentParser Flag.swift
[49/59] Compiling ArgumentParser NameSpecification.swift
[50/59] Compiling ArgumentParser Option.swift
[51/59] Compiling ArgumentParser OptionGroup.swift
[52/59] Compiling ArgumentParser AsyncParsableCommand.swift
[53/59] Compiling ArgumentParser ArgumentDefinition.swift
[54/59] Compiling ArgumentParser ArgumentSet.swift
[55/59] Compiling ArgumentParser CommandParser.swift
[56/59] Compiling ArgumentParser InputKey.swift
[57/61] 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: annotate 'configuration' 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 | // 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: annotate 'configuration' 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
40 | // The name of the subcommand, defaults to the type name
41 | commandName: "list",
[58/61] 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: annotate 'configuration' 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 | // 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: annotate 'configuration' 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
40 | // The name of the subcommand, defaults to the type name
41 | commandName: "list",
[58/61] Write Objects.LinkFileList
[59/61] Linking gpuinfo
[60/61] Applying gpuinfo
Build complete! (10.93s)
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/Device.swift.gyb
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DeviceKit/Source/Info.plist
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.