The Swift Package Index logo.Swift Package Index

Build Information

Successful build of MiniMetal, reference main (435cb5), with Swift 6.4 for macOS (SPM) on 1 Nov 2026 16:27:40 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apardee/MiniMetal.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/apardee/MiniMetal
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 435cb57 doc updates for 0.3.0
Cloned https://github.com/apardee/MiniMetal.git
Revision (git rev-parse @):
435cb57010d621576877b3f928c416f095955947
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apardee/MiniMetal.git at main
Fetching https://github.com/swiftlang/swift-syntax.git
[1/81397] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (13.69s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 604.0.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/604.0.0/swiftlang-6.4.0.34.1-macosx27.0-MacroSupport.zip
Downloaded https://download.swift.org/prebuilts/swift-syntax/604.0.0/swiftlang-6.4.0.34.1-macosx27.0-MacroSupport.zip (1.31s)
========================================
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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "minimetal",
      "name": "MiniMetal",
      "url": "https://github.com/apardee/MiniMetal.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MiniMetal",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/apardee/MiniMetal.git
[1/231] Fetching minimetal
Fetched https://github.com/apardee/MiniMetal.git (1.39s)
Fetching https://github.com/swiftlang/swift-syntax.git from cache
Fetched https://github.com/swiftlang/swift-syntax.git from cache (1.82s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 604.0.0 (2.65s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 604.0.0
Creating working copy for https://github.com/apardee/MiniMetal.git
Working copy of https://github.com/apardee/MiniMetal.git resolved at main (435cb57)
warning: '.resolve-product-dependencies': dependency 'minimetal' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/apardee/MiniMetal.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[48 / 92]
[50 / 94] MiniMetalMacrosPlugin
[60 / 135]
[65 / 135]
[73 / 173]
[74 / 173]
[75 / 173]
[80 / 173]
[83 / 173]
[86 / 173]
[91 / 173]
[93 / 173]
[96 / 173]
[97 / 173]
[108 / 173]
[113 / 173]
[114 / 173]
[117 / 173]
[119 / 173] MiniMetalMacrosPlugin
[119 / 173]
[130 / 173] MiniMetal
[142 / 175] MiniMetalMacrosPlugin
[144 / 175] MiniMetal
[144 / 175] MiniMetalMacrosPlugin
[151 / 180] HelloWindow-product
[155 / 180] MiniMetalMacros
[162 / 182] HelloWindow-product
[178 / 183] SpinningCube-product
[180 / 185] SpinningCube-product
[181 / 185] SpinningCube-product
[183 / 185] SpinningCube-product
Build complete! (10.62 sec)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "601.0.0",
            "upper_bound" : "605.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-syntax.git"
    }
  ],
  "manifest_display_name" : "MiniMetal",
  "name" : "MiniMetal",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "MiniMetal",
      "targets" : [
        "MiniMetal"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MiniMetalMacros",
      "targets" : [
        "MiniMetalMacros"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SpinningCube",
      "targets" : [
        "SpinningCube"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "HelloWindow",
      "targets" : [
        "HelloWindow"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "HelloTriangle",
      "targets" : [
        "HelloTriangle"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "MiniMetalMacrosPlugin",
      "targets" : [
        "MiniMetalMacrosPlugin"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SpinningCube",
      "module_type" : "SwiftTarget",
      "name" : "SpinningCube",
      "path" : "Examples/SpinningCube",
      "product_memberships" : [
        "SpinningCube"
      ],
      "sources" : [
        "SpinningCube.swift"
      ],
      "target_dependencies" : [
        "MiniMetalMacros"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "MiniMetalTests",
      "module_type" : "SwiftTarget",
      "name" : "MiniMetalTests",
      "path" : "Tests/MiniMetalTests",
      "sources" : [
        "MiniMetalTests.swift"
      ],
      "target_dependencies" : [
        "MiniMetalMacros"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MiniMetalMacrosPlugin",
      "module_type" : "SwiftTarget",
      "name" : "MiniMetalMacrosPlugin",
      "path" : "Sources/MiniMetalMacrosPlugin",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftSyntaxMacros",
        "SwiftCompilerPlugin",
        "SwiftDiagnostics"
      ],
      "product_memberships" : [
        "MiniMetalMacros",
        "SpinningCube",
        "MiniMetalMacrosPlugin"
      ],
      "sources" : [
        "EntryPointScanner.swift",
        "Plugin.swift",
        "TypeMap.swift"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "MiniMetalMacros",
      "module_type" : "SwiftTarget",
      "name" : "MiniMetalMacros",
      "path" : "Sources/MiniMetalMacros",
      "product_memberships" : [
        "MiniMetalMacros",
        "SpinningCube"
      ],
      "sources" : [
        "Macros.swift"
      ],
      "target_dependencies" : [
        "MiniMetalMacrosPlugin",
        "MiniMetal"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MiniMetal",
      "module_type" : "SwiftTarget",
      "name" : "MiniMetal",
      "path" : "Sources/MiniMetal",
      "product_memberships" : [
        "MiniMetal",
        "MiniMetalMacros",
        "SpinningCube",
        "HelloWindow",
        "HelloTriangle"
      ],
      "sources" : [
        "Encoders.swift",
        "Frame.swift",
        "Frame4.swift",
        "FrameAction.swift",
        "MetalShaderTypes.swift",
        "MiniMetal.swift",
        "MiniMetalWindowDelegate.swift",
        "Pipelines.swift",
        "Window.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HelloWindow",
      "module_type" : "SwiftTarget",
      "name" : "HelloWindow",
      "path" : "Examples/HelloWindow",
      "product_memberships" : [
        "HelloWindow"
      ],
      "sources" : [
        "HelloWindow.swift"
      ],
      "target_dependencies" : [
        "MiniMetal"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "HelloTriangle",
      "module_type" : "SwiftTarget",
      "name" : "HelloTriangle",
      "path" : "Examples/HelloTriangle",
      "product_memberships" : [
        "HelloTriangle"
      ],
      "sources" : [
        "HelloTriangle.swift"
      ],
      "target_dependencies" : [
        "MiniMetal"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "6.2"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/apardee/minimetal/main
Repository:               apardee/MiniMetal
Swift version used:       6.4
Target:                   MiniMetal
Extracting symbol information for 'MiniMetal'...
Finished extracting symbol information for 'MiniMetal'. (2.41s)
Building documentation for 'MiniMetal'...
warning: '(MTKView)->FrameAction' isn't a disambiguation for 'show(_:)' at '/MiniMetal/Window'
  --> Sources/MiniMetal/Frame.swift:9:22-9:45
7  | /// Acquire one with ``MetalKit/MTKView/beginFrame(queue:)`` (low-level) or
8  | /// receive one in the closure passed to
9  + /// ``Window/show(_:)-(MTKView)->FrameAction``'s ``Frame`` overload
   |                      ├─suggestion: Replace '(MTKView)->FrameAction' with '(MainActor(Frame)->FrameAction)' for '@MainActor func show(_ render: @MainActor @escaping (Frame) -> FrameAction) async'
   |                      ├─suggestion: Replace '(MTKView)->FrameAction' with '(MainActor(Frame4)->FrameAction)' for '@MainActor func show(_ render: @MainActor @escaping (Frame4) -> FrameAction) async'
   |                      ╰─suggestion: Replace '(MTKView)->FrameAction' with '(MainActor(MTKView)->FrameAction)' for '@MainActor func show(_ render: @MainActor @escaping (MTKView) -> FrameAction) async'
10 | /// (high-level).
11 | public struct Frame {
warning: '(Frame4)->FrameAction' isn't a disambiguation for 'show(_:)' at '/MiniMetal/Window'
  --> Sources/MiniMetal/Frame4.swift:12:22-12:44
10 | /// Acquire one with ``MetalKit/MTKView/beginFrame4(queue:commandBuffer:allocator:)``
11 | /// (low-level) or receive one in the closure passed to
12 + /// ``Window/show(_:)-(Frame4)->FrameAction`` (high-level).
   |                      ├─suggestion: Replace '(Frame4)->FrameAction' with '(MainActor(Frame)->FrameAction)' for '@MainActor func show(_ render: @MainActor @escaping (Frame) -> FrameAction) async'
   |                      ├─suggestion: Replace '(Frame4)->FrameAction' with '(MainActor(Frame4)->FrameAction)' for '@MainActor func show(_ render: @MainActor @escaping (Frame4) -> FrameAction) async'
   |                      ╰─suggestion: Replace '(Frame4)->FrameAction' with '(MainActor(MTKView)->FrameAction)' for '@MainActor func show(_ render: @MainActor @escaping (MTKView) -> FrameAction) async'
13 | @available(macOS 26.0, *)
14 | public struct Frame4 {
warning: 'show(_:)' is ambiguous at '/MiniMetal/Window'
 --> Sources/MiniMetal/FrameAction.swift:3:50-3:58
1 | /// The action a per-frame render closure requests after producing a frame.
2 | ///
3 + /// Returned from the closure passed to ``Window/show(_:)`` to either
  |                                                          ├─suggestion: Insert '-(MainActor(Frame)->FrameAction)' for '@MainActor func show(_ render: @MainActor @escaping (Frame) -> FrameAction) async'
  |                                                          ├─suggestion: Insert '-(MainActor(Frame4)->FrameAction)' for '@MainActor func show(_ render: @MainActor @escaping (Frame4) -> FrameAction) async'
  |                                                          ╰─suggestion: Insert '-(MainActor(MTKView)->FrameAction)' for '@MainActor func show(_ render: @MainActor @escaping (MTKView) -> FrameAction) async'
4 | /// keep the run loop going or tear it down.
5 | public enum FrameAction: Sendable, Hashable {
warning: 'show(_:)' is ambiguous at '/MiniMetal/Window'
  --> Sources/MiniMetal/FrameAction.swift:9:43-9:51
7  |     case `continue`
8  |
9  +     /// Stop running the window: ``Window/show(_:)`` will return.
   |                                                   ├─suggestion: Insert '-(MainActor(Frame)->FrameAction)' for '@MainActor func show(_ render: @MainActor @escaping (Frame) -> FrameAction) async'
   |                                                   ├─suggestion: Insert '-(MainActor(Frame4)->FrameAction)' for '@MainActor func show(_ render: @MainActor @escaping (Frame4) -> FrameAction) async'
   |                                                   ╰─suggestion: Insert '-(MainActor(MTKView)->FrameAction)' for '@MainActor func show(_ render: @MainActor @escaping (MTKView) -> FrameAction) async'
10 |     case quit
11 | }
warning: 'show(_:)' is ambiguous at '/MiniMetal/Window'
  --> Sources/MiniMetal/Window.swift:25:31-25:39
23 | ///    ``MiniMetalWindowDelegate``, then `await` ``show()``. The delegate's
24 | ///    ``MiniMetalWindowDelegate/draw(in:)`` runs each frame.
25 + /// 2. **Closure.** `await` ``show(_:)`` with a closure. The closure runs each
   |                                       ├─suggestion: Insert '-(MainActor(Frame)->FrameAction)' for '@MainActor func show(_ render: @MainActor @escaping (Frame) -> FrameAction) async'
   |                                       ├─suggestion: Insert '-(MainActor(Frame4)->FrameAction)' for '@MainActor func show(_ render: @MainActor @escaping (Frame4) -> FrameAction) async'
   |                                       ╰─suggestion: Insert '-(MainActor(MTKView)->FrameAction)' for '@MainActor func show(_ render: @MainActor @escaping (MTKView) -> FrameAction) async'
26 | ///    frame and returns ``FrameAction/quit`` to tear the window down.
27 | ///
warning: 'show(_:)' is ambiguous at '/MiniMetal/Window'
  --> Sources/MiniMetal/Window.swift:59:34-59:42
57 |
58 |     /// The delegate that receives draw and resize callbacks while ``show()``
59 +     /// is running. Ignored by ``show(_:)``, which uses its closure instead.
   |                                          ├─suggestion: Insert '-(MainActor(Frame)->FrameAction)' for '@MainActor func show(_ render: @MainActor @escaping (Frame) -> FrameAction) async'
   |                                          ├─suggestion: Insert '-(MainActor(Frame4)->FrameAction)' for '@MainActor func show(_ render: @MainActor @escaping (Frame4) -> FrameAction) async'
   |                                          ╰─suggestion: Insert '-(MainActor(MTKView)->FrameAction)' for '@MainActor func show(_ render: @MainActor @escaping (MTKView) -> FrameAction) async'
60 |     public weak var delegate: (any MiniMetalWindowDelegate)? {
61 |         get { drawAdapter.userDelegate }
warning: 'show(_:)' is ambiguous at '/MiniMetal/Window'
  --> Sources/MiniMetal/Window.swift:71:11-71:19
69 |     ///
70 |     /// The window is created but **not** displayed until ``show()`` or
71 +     /// ``show(_:)`` is called.
   |                   ├─suggestion: Insert '-(MainActor(Frame)->FrameAction)' for '@MainActor func show(_ render: @MainActor @escaping (Frame) -> FrameAction) async'
   |                   ├─suggestion: Insert '-(MainActor(Frame4)->FrameAction)' for '@MainActor func show(_ render: @MainActor @escaping (Frame4) -> FrameAction) async'
   |                   ╰─suggestion: Insert '-(MainActor(MTKView)->FrameAction)' for '@MainActor func show(_ render: @MainActor @escaping (MTKView) -> FrameAction) async'
72 |     ///
73 |     /// - Parameters:
Finished building documentation for 'MiniMetal' (0.13s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/apardee/minimetal/main
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/swiftlang/swift-syntax.git
[1/2345] Fetching swift-docc-plugin
Updated https://github.com/swiftlang/swift-syntax.git (1.82s)
Fetched https://github.com/swiftlang/swift-docc-plugin (2.54s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 604.0.0 (3.35s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.69s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3850] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (4.28s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (5.03s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
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...
[Planning 5 / 95]
[Planning deferred tasks]
[20 / 43] Snippets
[30 / 92]
[35 / 92]
[38 / 92]
[39 / 92]
[43 / 92]
[45 / 92]
[48 / 92]
[51 / 92]
[53 / 92]
[54 / 92]
[65 / 92] SymbolKit
[66 / 92] Snippets
[84 / 93] SymbolKit
[86 / 93] Snippets
[92 / 97] snippet-extract-product
[93 / 97] snippet-extract-product
[95 / 97] snippet-extract-product
Build complete! (4.30 sec)
Building for debugging...
[Planning deferred tasks]
[2 / 10]
[3 / 11] MiniMetal
[13 / 21] MiniMetal
Build complete! (1.18 sec)
Target:                   MiniMetalMacros
Extracting symbol information for 'MiniMetalMacros'...
Finished extracting symbol information for 'MiniMetalMacros'. (2.53s)
Building documentation for 'MiniMetalMacros'...
Finished building documentation for 'MiniMetalMacros' (0.08s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/apardee/minimetal/main
Building for debugging...
[1 / 11]
Build complete! (0.34 sec)
Building for debugging...
[Planning deferred tasks]
[3 / 17] MiniMetalMacrosPlugin
[7 / 21] MiniMetalMacrosPlugin
[11 / 19] MiniMetalMacros
[13 / 21] MiniMetalMacros
Build complete! (1.26 sec)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/apardee/minimetal/main/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/apardee/minimetal/main/linkable-paths.json
     314
3	/Users/admin/builder/spi-builder-workspace/.docs/apardee/minimetal/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/apardee/minimetal/main
File count: 314
Doc size:   3.0MB
Preparing doc bundle ...
Using presigned URL upload - AWS credentials not required
Uploading -apardee-minimetal-main-6c1f2a2e.zip to presigned URL
Starting upload of 650655 bytes...
Upload completed successfully
Done.