Build Information
Successful build of Compute, reference main (4400e5
), with Swift 6.0 for macOS (SPM) on 8 Jan 2025 02:52:22 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Build Log
========================================
RunAll
========================================
Builder version: 4.60.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/schwa/Compute.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/schwa/Compute
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 4400e59 Get rid of buildkite for real.
Cloned https://github.com/schwa/Compute.git
Revision (git rev-parse @):
4400e59c1459473bb7a7cf5caa95f686622a8de2
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/schwa/Compute.git at main
Fetching https://github.com/schwa/MetalCompilerPlugin
Fetching https://github.com/apple/swift-argument-parser
[1/175] Fetching metalcompilerplugin
[161/12576] Fetching metalcompilerplugin, swift-argument-parser
Fetched https://github.com/schwa/MetalCompilerPlugin from cache (0.90s)
[125/12401] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.57s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/schwa/MetalCompilerPlugin
Working copy of https://github.com/schwa/MetalCompilerPlugin resolved at jwight/develop (86239f9)
========================================
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": "compute",
"name": "Compute",
"url": "https://github.com/schwa/Compute.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Compute",
"dependencies": [
]
}
]
}
Fetching https://github.com/schwa/Compute.git
[1/1032] Fetching compute
Fetched https://github.com/schwa/Compute.git from cache (1.35s)
Creating working copy for https://github.com/schwa/Compute.git
Working copy of https://github.com/schwa/Compute.git resolved at main (4400e59)
warning: '.resolve-product-dependencies': dependency 'compute' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/schwa/Compute.git
https://github.com/schwa/Compute.git
{
"dependencies" : [
{
"identity" : "metalcompilerplugin",
"requirement" : {
"branch" : [
"jwight/develop"
]
},
"type" : "sourceControl",
"url" : "https://github.com/schwa/MetalCompilerPlugin"
}
],
"manifest_display_name" : "Compute",
"name" : "Compute",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "15.0"
},
{
"name" : "ios",
"version" : "18.0"
}
],
"products" : [
{
"name" : "Compute",
"targets" : [
"Compute"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Examples",
"targets" : [
"Examples"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "MetalSupportLite",
"module_type" : "SwiftTarget",
"name" : "MetalSupportLite",
"path" : "Sources/MetalSupportLite",
"product_memberships" : [
"Examples"
],
"sources" : [
"BaseSupport.swift",
"MTLBuffer+Extensions.swift",
"MetalBasicExtensions.swift",
"MetalSupportLite.swift",
"TypedMTLBuffer.swift"
],
"type" : "library"
},
{
"c99name" : "Examples",
"module_type" : "SwiftTarget",
"name" : "Examples",
"path" : "Sources/Examples",
"product_dependencies" : [
"MetalCompilerPlugin"
],
"product_memberships" : [
"Examples"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/Examples/Bundle.txt",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/Examples/Resources/Media.xcassets",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Examples.swift",
"Examples/BareMetal.swift",
"Examples/BitonicSort/BitonicSort.swift",
"Examples/Broken/CountingSort/CountingSort.swift",
"Examples/Broken/RadixSort/RadixSort.swift",
"Examples/Broken/RadixSort/RadixSortCPU.swift",
"Examples/BufferFill.swift",
"Examples/Checkerboard.swift",
"Examples/CounterDemo.swift",
"Examples/GameOfLife/GameOfLife.swift",
"Examples/HelloWorldDemo.swift",
"Examples/Histogram.swift",
"Examples/ImageInvert.swift",
"Examples/MaxParallel.swift",
"Examples/MaxValue.swift",
"Examples/MemcopyDemo.swift",
"Examples/RandomFill.swift",
"Examples/SIMDReduce.swift",
"Examples/ThreadgroupLog.swift",
"Support.swift"
],
"target_dependencies" : [
"Compute",
"MetalSupportLite"
],
"type" : "executable"
},
{
"c99name" : "ComputeTests",
"module_type" : "SwiftTarget",
"name" : "ComputeTests",
"path" : "Tests/ComputeTests",
"sources" : [
"ComputeTests.swift"
],
"target_dependencies" : [
"Compute"
],
"type" : "test"
},
{
"c99name" : "Compute",
"module_type" : "SwiftTarget",
"name" : "Compute",
"path" : "Sources/Compute",
"product_memberships" : [
"Compute",
"Examples"
],
"sources" : [
"Compute+Arguments.swift",
"Compute+Pipeline.swift",
"Compute+Task.swift",
"Compute.swift",
"ShaderFunction.swift",
"Support.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/8] Write sources
[3/8] Write MetalCompilerTool-tool-entitlement.plist
[4/8] Write swift-version-5BDAB9E9C0126B9D.txt
[6/10] Emitting module ArgumentParserToolInfo
[7/10] Compiling ArgumentParserToolInfo ToolInfo.swift
[8/49] Compiling ArgumentParser InputOrigin.swift
[9/49] Compiling ArgumentParser Name.swift
[10/49] Compiling ArgumentParser Parsed.swift
[11/49] Compiling ArgumentParser ParsedValues.swift
[12/53] Compiling ArgumentParser CommandConfiguration.swift
[13/53] Compiling ArgumentParser CommandGroup.swift
[14/53] Compiling ArgumentParser EnumerableFlag.swift
[15/53] Compiling ArgumentParser ExpressibleByArgument.swift
[16/53] Compiling ArgumentParser NameSpecification.swift
[17/53] Compiling ArgumentParser Option.swift
[18/53] Compiling ArgumentParser OptionGroup.swift
[19/53] Compiling ArgumentParser AsyncParsableCommand.swift
[20/53] Compiling ArgumentParser ArgumentHelp.swift
[21/53] Compiling ArgumentParser ArgumentVisibility.swift
[22/53] Compiling ArgumentParser CompletionKind.swift
[23/53] Compiling ArgumentParser Errors.swift
[24/53] Compiling ArgumentParser Flag.swift
[25/53] Compiling ArgumentParser BashCompletionsGenerator.swift
[26/53] Compiling ArgumentParser CompletionsGenerator.swift
[27/53] Compiling ArgumentParser FishCompletionsGenerator.swift
[28/53] Compiling ArgumentParser ZshCompletionsGenerator.swift
[29/53] Compiling ArgumentParser Argument.swift
[30/53] Compiling ArgumentParser Platform.swift
[31/53] Compiling ArgumentParser SequenceExtensions.swift
[32/53] Compiling ArgumentParser StringExtensions.swift
[33/53] Compiling ArgumentParser Tree.swift
[34/53] Emitting module ArgumentParser
[35/53] Compiling ArgumentParser ArgumentDefinition.swift
[36/53] Compiling ArgumentParser ArgumentSet.swift
[37/53] Compiling ArgumentParser CommandParser.swift
[38/53] Compiling ArgumentParser InputKey.swift
[39/53] Compiling ArgumentParser ParsableArguments.swift
[40/53] Compiling ArgumentParser ParsableArgumentsValidation.swift
[41/53] Compiling ArgumentParser ParsableCommand.swift
[42/53] Compiling ArgumentParser ArgumentDecoder.swift
[43/53] Compiling ArgumentParser ParserError.swift
[44/53] Compiling ArgumentParser SplitArguments.swift
[45/53] Compiling ArgumentParser DumpHelpGenerator.swift
[46/53] Compiling ArgumentParser HelpCommand.swift
[47/53] Compiling ArgumentParser HelpGenerator.swift
[48/53] Compiling ArgumentParser MessageInfo.swift
[49/53] Compiling ArgumentParser UsageGenerator.swift
[50/53] Compiling ArgumentParser CollectionExtensions.swift
[51/55] Emitting module MetalCompilerTool
[52/55] Compiling MetalCompilerTool MetalCompiler.swift
[52/55] Write Objects.LinkFileList
[53/55] Linking MetalCompilerTool-tool
[54/55] Applying MetalCompilerTool-tool
Build of product 'MetalCompilerTool' complete! (8.89s)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin MetalCompilerPlugin
Building for debugging...
[2/14] Write sources
[3/14] Write Examples-entitlement.plist
[3/14] Write sources
[6/14] Copying Bundle.txt
[7/14] Copying Media.xcassets
[8/14] Write swift-version-5BDAB9E9C0126B9D.txt
[9/27] MetalCompilerTool
[10/27] Copying debug.metallib
[12/27] Compiling MetalSupportLite BaseSupport.swift
[13/27] Compiling MetalSupportLite MetalSupportLite.swift
[14/27] Compiling MetalSupportLite MTLBuffer+Extensions.swift
[15/27] Compiling MetalSupportLite MetalBasicExtensions.swift
[16/27] Compiling MetalSupportLite TypedMTLBuffer.swift
[17/27] Emitting module MetalSupportLite
[18/27] Emitting module Compute
[19/27] Compiling Compute Support.swift
[20/27] Compiling Compute ShaderFunction.swift
[21/27] Compiling Compute Compute+Task.swift
[22/27] Compiling Compute Compute+Pipeline.swift
[23/27] Compiling Compute Compute.swift
[24/27] Compiling Compute Compute+Arguments.swift
[25/47] Emitting module Examples
[26/49] Compiling Examples Checkerboard.swift
/Users/admin/builder/spi-builder-workspace/Sources/Examples/Examples/Checkerboard.swift:65:21: warning: 'run(pipeline:arguments:width:height:)' is deprecated: Deprecated
63 | checkerboard.arguments.color2 = try .color(.mint)
64 | checkerboard.arguments.cellSize = .vector(SIMD2<UInt32>(64, 64))
65 | try compute.run(pipeline: checkerboard, width: outputTexture.width, height: outputTexture.height)
| `- warning: 'run(pipeline:arguments:width:height:)' is deprecated: Deprecated
66 |
67 | let url = URL(filePath: "/tmp/checkerboard.png")
/Users/admin/builder/spi-builder-workspace/Sources/Examples/Examples/CounterDemo.swift:39:25: warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
37 | pipeline.arguments.step = .int(1)
38 | try timeit {
39 | try compute.run(pipeline: pipeline, width: numberOfCounters)
| `- warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
40 | }
41 | // print(Array<Float>(counters))
[27/49] Compiling Examples CounterDemo.swift
/Users/admin/builder/spi-builder-workspace/Sources/Examples/Examples/Checkerboard.swift:65:21: warning: 'run(pipeline:arguments:width:height:)' is deprecated: Deprecated
63 | checkerboard.arguments.color2 = try .color(.mint)
64 | checkerboard.arguments.cellSize = .vector(SIMD2<UInt32>(64, 64))
65 | try compute.run(pipeline: checkerboard, width: outputTexture.width, height: outputTexture.height)
| `- warning: 'run(pipeline:arguments:width:height:)' is deprecated: Deprecated
66 |
67 | let url = URL(filePath: "/tmp/checkerboard.png")
/Users/admin/builder/spi-builder-workspace/Sources/Examples/Examples/CounterDemo.swift:39:25: warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
37 | pipeline.arguments.step = .int(1)
38 | try timeit {
39 | try compute.run(pipeline: pipeline, width: numberOfCounters)
| `- warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
40 | }
41 | // print(Array<Float>(counters))
[28/49] Compiling Examples SIMDReduce.swift
[29/49] Compiling Examples ThreadgroupLog.swift
[30/49] Compiling Examples CountingSort.swift
[31/49] Compiling Examples RadixSort.swift
[32/49] Compiling Examples MemcopyDemo.swift
/Users/admin/builder/spi-builder-workspace/Sources/Examples/Examples/MemcopyDemo.swift:66:25: warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
64 | // Run and time the empty kernel (baseline)
65 | try timeit(length: length) {
66 | try compute.run(pipeline: empty, width: count)
| `- warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
67 | }
68 |
/Users/admin/builder/spi-builder-workspace/Sources/Examples/Examples/MemcopyDemo.swift:72:25: warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
70 | // Run and time the fill kernel
71 | try timeit(length: length) {
72 | try compute.run(pipeline: fill, width: count)
| `- warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/Sources/Examples/Examples/MemcopyDemo.swift:78:25: warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
76 | // Run and time the GPU memcpy kernel
77 | try timeit(length: length) {
78 | try compute.run(pipeline: memcopy, width: count)
| `- warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
79 | }
80 |
[33/49] Compiling Examples RandomFill.swift
/Users/admin/builder/spi-builder-workspace/Sources/Examples/Examples/MemcopyDemo.swift:66:25: warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
64 | // Run and time the empty kernel (baseline)
65 | try timeit(length: length) {
66 | try compute.run(pipeline: empty, width: count)
| `- warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
67 | }
68 |
/Users/admin/builder/spi-builder-workspace/Sources/Examples/Examples/MemcopyDemo.swift:72:25: warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
70 | // Run and time the fill kernel
71 | try timeit(length: length) {
72 | try compute.run(pipeline: fill, width: count)
| `- warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/Sources/Examples/Examples/MemcopyDemo.swift:78:25: warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
76 | // Run and time the GPU memcpy kernel
77 | try timeit(length: length) {
78 | try compute.run(pipeline: memcopy, width: count)
| `- warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
79 | }
80 |
[34/49] Compiling Examples Examples.swift
/Users/admin/builder/spi-builder-workspace/Sources/Examples/Examples/BareMetal.swift:93:21: warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
91 |
92 | // Execute compute pipeline
93 | try compute.run(pipeline: fill, width: buffer.length)
| `- warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
94 | }
95 | }
[35/49] Compiling Examples BareMetal.swift
/Users/admin/builder/spi-builder-workspace/Sources/Examples/Examples/BareMetal.swift:93:21: warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
91 |
92 | // Execute compute pipeline
93 | try compute.run(pipeline: fill, width: buffer.length)
| `- warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
94 | }
95 | }
[36/49] Compiling Examples BitonicSort.swift
/Users/admin/builder/spi-builder-workspace/Sources/Examples/Examples/BareMetal.swift:93:21: warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
91 |
92 | // Execute compute pipeline
93 | try compute.run(pipeline: fill, width: buffer.length)
| `- warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
94 | }
95 | }
[37/49] Compiling Examples RadixSortCPU.swift
/Users/admin/builder/spi-builder-workspace/Sources/Examples/Examples/BufferFill.swift:36:25: warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
34 | var values = Array<UInt32>(repeating: 0, count: count)
35 | while n > 0 {
36 | try compute.run(pipeline: bufferFill, width: n)
| `- warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
37 | values[0..<n] = Array(repeating: UInt32(n), count: n)[0..<n]
38 | n >>= 1
[38/49] Compiling Examples BufferFill.swift
/Users/admin/builder/spi-builder-workspace/Sources/Examples/Examples/BufferFill.swift:36:25: warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
34 | var values = Array<UInt32>(repeating: 0, count: count)
35 | while n > 0 {
36 | try compute.run(pipeline: bufferFill, width: n)
| `- warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
37 | values[0..<n] = Array(repeating: UInt32(n), count: n)[0..<n]
38 | n >>= 1
[39/49] Compiling Examples Histogram.swift
/Users/admin/builder/spi-builder-workspace/Sources/Examples/Examples/ImageInvert.swift:47:21: warning: 'run(pipeline:arguments:width:height:)' is deprecated: Deprecated
45 | invertImage.arguments.inputTexture = .texture(inputTexture)
46 | invertImage.arguments.outputTexture = .texture(outputTexture)
47 | try compute.run(pipeline: invertImage, width: inputTexture.width, height: inputTexture.height)
| `- warning: 'run(pipeline:arguments:width:height:)' is deprecated: Deprecated
48 |
49 | try outputTexture.export(to: URL(filePath: "/tmp/inverted.png"))
[40/49] Compiling Examples ImageInvert.swift
/Users/admin/builder/spi-builder-workspace/Sources/Examples/Examples/ImageInvert.swift:47:21: warning: 'run(pipeline:arguments:width:height:)' is deprecated: Deprecated
45 | invertImage.arguments.inputTexture = .texture(inputTexture)
46 | invertImage.arguments.outputTexture = .texture(outputTexture)
47 | try compute.run(pipeline: invertImage, width: inputTexture.width, height: inputTexture.height)
| `- warning: 'run(pipeline:arguments:width:height:)' is deprecated: Deprecated
48 |
49 | try outputTexture.export(to: URL(filePath: "/tmp/inverted.png"))
[41/49] Compiling Examples MaxParallel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Examples/Examples/MaxParallel.swift:39:29: warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
37 | let count = Int(pow(2, Double(n+1))) - 1
38 | let time = try timed() {
39 | try compute.run(pipeline: pipeline, width: count)
| `- warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
40 | }
41 | print("\(count),\t\(Array<UInt32>(maximum)[0]),\t\(Double(time) / Double(1_000_000))")
/Users/admin/builder/spi-builder-workspace/Sources/Examples/Examples/MaxValue.swift:41:25: warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
39 | maxValue.arguments.output = .buffer(output)
40 | try timeit(#function) {
41 | try compute.run(pipeline: maxValue, width: 1)
| `- warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
42 | }
43 | let result = output.contents().assumingMemoryBound(to: Int32.self)[0]
/Users/admin/builder/spi-builder-workspace/Sources/Examples/Examples/MaxValue.swift:74:25: warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
72 | maxValue.arguments.output = .buffer(output)
73 | try timeit(#function) {
74 | try compute.run(pipeline: maxValue, width: values.count)
| `- warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
75 | }
76 | let result = output.contents().assumingMemoryBound(to: Int32.self)[0]
[42/49] Compiling Examples MaxValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/Examples/Examples/MaxParallel.swift:39:29: warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
37 | let count = Int(pow(2, Double(n+1))) - 1
38 | let time = try timed() {
39 | try compute.run(pipeline: pipeline, width: count)
| `- warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
40 | }
41 | print("\(count),\t\(Array<UInt32>(maximum)[0]),\t\(Double(time) / Double(1_000_000))")
/Users/admin/builder/spi-builder-workspace/Sources/Examples/Examples/MaxValue.swift:41:25: warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
39 | maxValue.arguments.output = .buffer(output)
40 | try timeit(#function) {
41 | try compute.run(pipeline: maxValue, width: 1)
| `- warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
42 | }
43 | let result = output.contents().assumingMemoryBound(to: Int32.self)[0]
/Users/admin/builder/spi-builder-workspace/Sources/Examples/Examples/MaxValue.swift:74:25: warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
72 | maxValue.arguments.output = .buffer(output)
73 | try timeit(#function) {
74 | try compute.run(pipeline: maxValue, width: values.count)
| `- warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
75 | }
76 | let result = output.contents().assumingMemoryBound(to: Int32.self)[0]
[43/49] Compiling Examples GameOfLife.swift
/Users/admin/builder/spi-builder-workspace/Sources/Examples/Examples/HelloWorldDemo.swift:24:21: warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
22 | let library = ShaderLibrary.source(source, enableLogging: true)
23 | let helloWorld = try compute.makePipeline(function: library.hello_world)
24 | try compute.run(pipeline: helloWorld, width: 1)
| `- warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
25 | }
26 | }
[44/49] Compiling Examples HelloWorldDemo.swift
/Users/admin/builder/spi-builder-workspace/Sources/Examples/Examples/HelloWorldDemo.swift:24:21: warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
22 | let library = ShaderLibrary.source(source, enableLogging: true)
23 | let helloWorld = try compute.makePipeline(function: library.hello_world)
24 | try compute.run(pipeline: helloWorld, width: 1)
| `- warning: 'run(pipeline:arguments:width:)' is deprecated: Deprecated
25 | }
26 | }
[45/49] Compiling Examples Support.swift
[46/49] Compiling Examples resource_bundle_accessor.swift
[46/49] Write Objects.LinkFileList
[47/49] Linking Examples
[48/49] Applying Examples
Build complete! (27.21s)
Build complete.
{
"dependencies" : [
{
"identity" : "metalcompilerplugin",
"requirement" : {
"branch" : [
"jwight/develop"
]
},
"type" : "sourceControl",
"url" : "https://github.com/schwa/MetalCompilerPlugin"
}
],
"manifest_display_name" : "Compute",
"name" : "Compute",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "15.0"
},
{
"name" : "ios",
"version" : "18.0"
}
],
"products" : [
{
"name" : "Compute",
"targets" : [
"Compute"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Examples",
"targets" : [
"Examples"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "MetalSupportLite",
"module_type" : "SwiftTarget",
"name" : "MetalSupportLite",
"path" : "Sources/MetalSupportLite",
"product_memberships" : [
"Examples"
],
"sources" : [
"BaseSupport.swift",
"MTLBuffer+Extensions.swift",
"MetalBasicExtensions.swift",
"MetalSupportLite.swift",
"TypedMTLBuffer.swift"
],
"type" : "library"
},
{
"c99name" : "Examples",
"module_type" : "SwiftTarget",
"name" : "Examples",
"path" : "Sources/Examples",
"product_dependencies" : [
"MetalCompilerPlugin"
],
"product_memberships" : [
"Examples"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/Examples/Bundle.txt",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/Examples/Resources/Media.xcassets",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Examples.swift",
"Examples/BareMetal.swift",
"Examples/BitonicSort/BitonicSort.swift",
"Examples/Broken/CountingSort/CountingSort.swift",
"Examples/Broken/RadixSort/RadixSort.swift",
"Examples/Broken/RadixSort/RadixSortCPU.swift",
"Examples/BufferFill.swift",
"Examples/Checkerboard.swift",
"Examples/CounterDemo.swift",
"Examples/GameOfLife/GameOfLife.swift",
"Examples/HelloWorldDemo.swift",
"Examples/Histogram.swift",
"Examples/ImageInvert.swift",
"Examples/MaxParallel.swift",
"Examples/MaxValue.swift",
"Examples/MemcopyDemo.swift",
"Examples/RandomFill.swift",
"Examples/SIMDReduce.swift",
"Examples/ThreadgroupLog.swift",
"Support.swift"
],
"target_dependencies" : [
"Compute",
"MetalSupportLite"
],
"type" : "executable"
},
{
"c99name" : "ComputeTests",
"module_type" : "SwiftTarget",
"name" : "ComputeTests",
"path" : "Tests/ComputeTests",
"sources" : [
"ComputeTests.swift"
],
"target_dependencies" : [
"Compute"
],
"type" : "test"
},
{
"c99name" : "Compute",
"module_type" : "SwiftTarget",
"name" : "Compute",
"path" : "Sources/Compute",
"product_memberships" : [
"Compute",
"Examples"
],
"sources" : [
"Compute+Arguments.swift",
"Compute+Pipeline.swift",
"Compute+Task.swift",
"Compute.swift",
"ShaderFunction.swift",
"Support.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/schwa/compute/main
Repository: schwa/Compute
Swift version used: 6.0
Target: Compute
Extracting symbol information for 'Compute'...
Finished extracting symbol information for 'Compute'. (5.01s)
Building documentation for 'Compute'...
Finished building documentation for 'Compute' (0.38s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/schwa/compute/main
Updating https://github.com/schwa/MetalCompilerPlugin
Updated https://github.com/schwa/MetalCompilerPlugin (0.47s)
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/apple/swift-argument-parser
Updated https://github.com/apple/swift-argument-parser (0.54s)
[1/2048] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.28s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.45s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.59s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3251] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.21s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.61s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/4] Write swift-version-5BDAB9E9C0126B9D.txt
[2/6] Emitting module ArgumentParserToolInfo
[3/6] Compiling ArgumentParserToolInfo ToolInfo.swift
[4/45] Compiling ArgumentParser CommandConfiguration.swift
[5/45] Compiling ArgumentParser CommandGroup.swift
[6/45] Compiling ArgumentParser EnumerableFlag.swift
[7/45] Compiling ArgumentParser ExpressibleByArgument.swift
[8/49] Emitting module ArgumentParser
[9/49] Compiling ArgumentParser ParserError.swift
[10/49] Compiling ArgumentParser SplitArguments.swift
[11/49] Compiling ArgumentParser DumpHelpGenerator.swift
[12/49] Compiling ArgumentParser HelpCommand.swift
[13/49] Compiling ArgumentParser HelpGenerator.swift
[14/49] Compiling ArgumentParser MessageInfo.swift
[15/49] Compiling ArgumentParser UsageGenerator.swift
[16/49] Compiling ArgumentParser CollectionExtensions.swift
[17/49] Compiling ArgumentParser ArgumentHelp.swift
[18/49] Compiling ArgumentParser ArgumentVisibility.swift
[19/49] Compiling ArgumentParser CompletionKind.swift
[20/49] Compiling ArgumentParser Errors.swift
[21/49] Compiling ArgumentParser Flag.swift
[22/49] Compiling ArgumentParser BashCompletionsGenerator.swift
[23/49] Compiling ArgumentParser CompletionsGenerator.swift
[24/49] Compiling ArgumentParser FishCompletionsGenerator.swift
[25/49] Compiling ArgumentParser ZshCompletionsGenerator.swift
[26/49] Compiling ArgumentParser Argument.swift
[27/49] Compiling ArgumentParser ParsableArguments.swift
[28/49] Compiling ArgumentParser ParsableArgumentsValidation.swift
[29/49] Compiling ArgumentParser ParsableCommand.swift
[30/49] Compiling ArgumentParser ArgumentDecoder.swift
[31/49] Compiling ArgumentParser Platform.swift
[32/49] Compiling ArgumentParser SequenceExtensions.swift
[33/49] Compiling ArgumentParser StringExtensions.swift
[34/49] Compiling ArgumentParser Tree.swift
[35/49] Compiling ArgumentParser NameSpecification.swift
[36/49] Compiling ArgumentParser Option.swift
[37/49] Compiling ArgumentParser OptionGroup.swift
[38/49] Compiling ArgumentParser AsyncParsableCommand.swift
[39/49] Compiling ArgumentParser InputOrigin.swift
[40/49] Compiling ArgumentParser Name.swift
[41/49] Compiling ArgumentParser Parsed.swift
[42/49] Compiling ArgumentParser ParsedValues.swift
[43/49] Compiling ArgumentParser ArgumentDefinition.swift
[44/49] Compiling ArgumentParser ArgumentSet.swift
[45/49] Compiling ArgumentParser CommandParser.swift
[46/49] Compiling ArgumentParser InputKey.swift
[47/51] Compiling MetalCompilerTool MetalCompiler.swift
[48/51] Emitting module MetalCompilerTool
[48/50] Linking MetalCompilerTool-tool
[49/50] Applying MetalCompilerTool-tool
Build of product 'MetalCompilerTool' complete! (2.40s)
Building for debugging...
[0/8] Write snippet-extract-tool-entitlement.plist
[1/8] Write sources
[4/8] Write swift-version-5BDAB9E9C0126B9D.txt
[6/53] Compiling SymbolKit SemanticVersion.swift
[7/53] Compiling SymbolKit AccessControl.swift
[8/53] Compiling SymbolKit Availability.swift
[9/53] Compiling SymbolKit AvailabilityItem.swift
[10/53] Compiling SymbolKit Domain.swift
[11/53] Compiling SymbolKit Names.swift
[12/53] Compiling SymbolKit SPI.swift
[13/53] Compiling SymbolKit Snippet.swift
[14/53] Compiling SymbolKit Extension.swift
[15/53] Compiling SymbolKit Mixin+Equals.swift
[16/53] Compiling SymbolKit Mixin+Hash.swift
[17/53] Compiling SymbolKit Mixin.swift
[18/53] Compiling SymbolKit LineList.swift
[19/53] Compiling SymbolKit Position.swift
[20/57] Compiling SymbolKit Relationship.swift
[21/57] Compiling SymbolKit RelationshipKind.swift
[22/57] Compiling SymbolKit SourceOrigin.swift
[23/57] Compiling SymbolKit GenericConstraints.swift
[24/57] Compiling SymbolKit Swift.swift
[25/57] Compiling SymbolKit DeclarationFragments.swift
[26/57] Compiling SymbolKit Fragment.swift
[27/57] Compiling SymbolKit FragmentKind.swift
[28/57] Compiling SymbolKit FunctionParameter.swift
[29/57] Compiling SymbolKit FunctionSignature.swift
[30/57] Compiling SymbolKit Identifier.swift
[31/57] Compiling SymbolKit KindIdentifier.swift
[32/57] Compiling SymbolKit Location.swift
[33/57] Compiling SymbolKit Mutability.swift
[34/57] Emitting module Snippets
[35/57] Compiling Snippets Snippet.swift
[36/57] Compiling Snippets SnippetParser.swift
[37/57] Compiling SymbolKit SourceRange.swift
[38/57] Compiling SymbolKit Metadata.swift
[39/57] Compiling SymbolKit Module.swift
[40/57] Compiling SymbolKit OperatingSystem.swift
[41/57] Compiling SymbolKit Platform.swift
[42/57] Emitting module SymbolKit
[43/57] Compiling SymbolKit GenericConstraint.swift
[44/57] Compiling SymbolKit GenericParameter.swift
[45/57] Compiling SymbolKit Generics.swift
[46/57] Compiling SymbolKit Namespace.swift
[47/57] Compiling SymbolKit Symbol.swift
[48/57] Compiling SymbolKit SymbolKind.swift
[49/57] Compiling SymbolKit SymbolGraph.swift
[50/57] Compiling SymbolKit GraphCollector.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (7.17s)
Building for debugging...
[0/3] Write swift-version-5BDAB9E9C0126B9D.txt
Build of product 'MetalCompilerTool' complete! (0.18s)
Building for debugging...
[0/1] Write swift-version-5BDAB9E9C0126B9D.txt
[2/8] Compiling Compute Support.swift
[3/8] Compiling Compute ShaderFunction.swift
[4/8] Compiling Compute Compute+Task.swift
[5/8] Compiling Compute Compute+Pipeline.swift
[6/8] Compiling Compute Compute.swift
[7/8] Emitting module Compute
[8/8] Compiling Compute Compute+Arguments.swift
Build of target: 'Compute' complete! (0.91s)
176
2 /Users/admin/builder/spi-builder-workspace/.docs/schwa/compute/main
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/schwa/compute/main
File count: 176
Doc size: 2.0MB
Preparing doc bundle ...
Uploading prod-schwa-compute-main-5787c6a8.zip to s3://spi-docs-inbox/prod-schwa-compute-main-5787c6a8.zip
Copying... [14%]
Copying... [28%]
Copying... [42%]
Copying... [56%]
Copying... [70%]
Copying... [84%]
Copying... [98%]
Copying... [100%]
Done.