The Swift Package Index logo.Swift Package Index

Build Information

Successful build of MetalHLO, reference main (7fabaa), with Swift 6.4 for macOS (SPM) on 14 Oct 2026 06:40:35 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.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pedronahum/MetalHLO.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pedronahum/MetalHLO
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7fabaa9 f8E4M3FN / f4E2M1FN narrow floats; MPSGraph bitcast_convert reinterprets bits
Cloned https://github.com/pedronahum/MetalHLO.git
Revision (git rev-parse @):
7fabaa9599b0576331d0857a60ea4addcd69d491
SUCCESS checkout https://github.com/pedronahum/MetalHLO.git at main
Fetching https://github.com/ml-explore/mlx-swift
[1/17148] Fetching mlx-swift
Fetched https://github.com/ml-explore/mlx-swift (2.34s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.32.3 (3.00s)
Fetching https://github.com/apple/swift-numerics
[1/6756] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics (1.24s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (1.89s)
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Creating working copy for https://github.com/ml-explore/mlx-swift
Working copy of https://github.com/ml-explore/mlx-swift resolved at 0.32.3
========================================
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": "metalhlo",
      "name": "MetalHLO",
      "url": "https://github.com/pedronahum/MetalHLO.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MetalHLO",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "mlx-swift",
          "name": "mlx-swift",
          "url": "https://github.com/ml-explore/mlx-swift",
          "version": "0.32.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/mlx-swift",
          "traits": [
            "default"
          ],
          "dependencies": [
            {
              "identity": "swift-numerics",
              "name": "swift-numerics",
              "url": "https://github.com/apple/swift-numerics",
              "version": "1.1.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-numerics",
              "traits": [
                "default"
              ],
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/pedronahum/MetalHLO.git
[1/2749] Fetching metalhlo
Fetched https://github.com/pedronahum/MetalHLO.git (1.50s)
Fetching https://github.com/ml-explore/mlx-swift from cache
Fetched https://github.com/ml-explore/mlx-swift from cache (0.58s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.32.3 (0.65s)
Fetching https://github.com/apple/swift-numerics from cache
Fetched https://github.com/apple/swift-numerics from cache (0.56s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.63s)
Creating working copy for https://github.com/ml-explore/mlx-swift
Working copy of https://github.com/ml-explore/mlx-swift resolved at 0.32.3
Creating working copy for https://github.com/pedronahum/MetalHLO.git
Working copy of https://github.com/pedronahum/MetalHLO.git resolved at main (7fabaa9)
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Found 1 product dependencies
  - mlx-swift
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/pedronahum/MetalHLO.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Provisioning 1 / 34]
[Pre-planning 1 / 885]
[Planning deferred tasks]
[159 / 523] mlx-swift_Cmlx
[159 / 523]
[169 / 526] cLogSupport
[172 / 526] cLogSupport
[174 / 540] cLogSupport
[177 / 540] _NumericsShims
[178 / 540] RealModule
[181 / 540] Cmlx
[189 / 571] Cmlx
[192 / 643]
[195 / 643]
[199 / 643]
[206 / 643] Cmlx
[207 / 643]
[208 / 643]
[210 / 643]
[214 / 643]
[217 / 643]
[223 / 643] Cmlx
[225 / 643]
[227 / 643] Cmlx
[230 / 643]
[232 / 643] Cmlx
[240 / 643] Cmlx
[250 / 643] Cmlx
[252 / 643]
[253 / 643] Cmlx
[255 / 643]
[256 / 643]
[257 / 643]
[260 / 643]
[262 / 643] Cmlx
[265 / 643]
[266 / 643]
[268 / 643]
[269 / 643] Cmlx
[271 / 643] Cmlx
[276 / 643]
[281 / 643] Cmlx
[282 / 643]
[284 / 643] Cmlx
[287 / 643] Cmlx
[290 / 643]
[291 / 643]
[292 / 643]
[295 / 643] Cmlx
[297 / 643] HeterogeneousFusion
[299 / 643] Cmlx
[308 / 643] Cmlx
[318 / 643] Cmlx
[319 / 643] Cmlx
[320 / 643] Cmlx
[321 / 643] Cmlx
[322 / 643] Cmlx
[323 / 643] Cmlx
[324 / 643] Cmlx
[326 / 643] Cmlx
[328 / 643] Cmlx
[329 / 643] Cmlx
[331 / 643] Cmlx
[334 / 643] Cmlx
[335 / 643] Cmlx
[338 / 643] Cmlx
[339 / 643] Cmlx
[340 / 643] Cmlx
[341 / 643] Cmlx
[343 / 643] Cmlx
[345 / 643] Cmlx
[346 / 643] Cmlx
[348 / 643] Cmlx
[351 / 643] Cmlx
[352 / 643] Cmlx
[354 / 643] Cmlx
[356 / 643] Cmlx
[359 / 643] Cmlx
[360 / 643] Cmlx
[364 / 643] Cmlx
[369 / 643] Cmlx
[372 / 643] Cmlx
[373 / 643] Cmlx
[374 / 643] Cmlx
[377 / 643] Cmlx
[378 / 643] Cmlx
[379 / 643] Cmlx
[380 / 643] Cmlx
[381 / 643] Cmlx
[382 / 643] Cmlx
[383 / 643] Cmlx
[384 / 643] Cmlx
[387 / 643] Cmlx
[388 / 643] Cmlx
[389 / 643] Cmlx
[390 / 643] Cmlx
[391 / 643] Cmlx
[392 / 643] Cmlx
[394 / 643] Cmlx
[396 / 643] Cmlx
[397 / 643] Cmlx
[400 / 643] Cmlx
[402 / 643] Cmlx
[404 / 643] Cmlx
[408 / 643] Cmlx
[411 / 643] Cmlx
[413 / 643] Cmlx
[416 / 643] Cmlx
[418 / 643] Cmlx
[420 / 643] Cmlx
[421 / 643] Cmlx
[424 / 643] Cmlx
[426 / 643] Cmlx
[427 / 643] Cmlx
[429 / 643] Cmlx
[434 / 643]
[439 / 643]
[441 / 643] _NumericsShims
[446 / 643]
[449 / 643] RealModule
[455 / 643] RealModule
[460 / 643] HeterogeneousFusion
[463 / 643] RealModule
[467 / 643]
[470 / 643] HeterogeneousFusion
[472 / 643]
[474 / 643]
[483 / 652]
[492 / 652] ANERuntime
[494 / 652]
[501 / 652] ANERuntime
[514 / 653] MetalHLOCore
[517 / 654] ANERuntime
[520 / 657]
[522 / 668] ComplexModule
[526 / 670] ComplexModule
[540 / 690]
[546 / 690] GPT2EndToEnd-product
[554 / 690] CalibrateTest-product
[559 / 691] Numerics
[577 / 694] Numerics
[579 / 694] MetalHLOCore
[580 / 709]
[582 / 709]
[584 / 709] MetalHLOCore
[585 / 709] MLX
[587 / 709] MetalHLOCore
[588 / 709] MetalHLOCore
[589 / 709] MetalHLOCore
[592 / 709] MetalHLOCore
[599 / 709] MLX
[605 / 709] MLX
[608 / 709] MLX
[609 / 709] Cmlx
[610 / 709] MLX
[612 / 709] HeterogeneousFusionBenchmark-product
[617 / 709] CalibrateTest-product
[618 / 710]
[623 / 711] CalibrateTest-product
[625 / 711] MetalHLO
[633 / 722] MLXRandom
[636 / 722] MLXRandom
[653 / 725]
[655 / 725] MetalHLO
[656 / 725] PJRTMetalHLO
[665 / 750] MetalHLOBenchmarks
[667 / 750] CMetalHLO
[682 / 750] PJRTMetalHLO
[684 / 750] PJRTMetalHLO
[687 / 750] PJRTMetalHLO
[690 / 750] benchmark-runner-product
[700 / 750] CMetalHLO
[707 / 752] DepthAttentionBenchmark-product
[711 / 753]
[711 / 753] MetalHLOBenchmarks
[714 / 755] MLXBenchmarks
[719 / 759] MetalHLOCore
[723 / 759] MetalHLO
[737 / 760] CMetalHLO-product
[741 / 760] mlx-comparison-product
[750 / 762] PJRTMetalHLO
[753 / 762] benchmark-runner-product
[754 / 762] DepthAttentionBenchmark-product
[758 / 762] mlx-comparison-product
[760 / 762] mlx-comparison-product
Build complete! (42.18 sec)
warning: 'spi-builder-workspace': found 248 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/chlo/chlo_legalize_to_stablehlo.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/chlo/chlo_legalize_to_stablehlo_broadcast.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/abs.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/add.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/after_all.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/all_gather.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/all_reduce.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/all_to_all.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/and.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/api_input_arguments.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/atan2.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/bitcast_convert.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/broadcast_in_dim.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/call.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/case.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/cbrt.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/ceil.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/check.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/clamp.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/collective_broadcast.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/collective_permute.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/compare.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/complex.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/composite.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/concatenate.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/constant.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/convert.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/convolution.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/cosine.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/count_leading_zeros.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/divide.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/dot_general.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/dynamic_broadcast_in_dim.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/dynamic_conv.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/dynamic_gather.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/dynamic_iota.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/dynamic_pad.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/dynamic_reshape.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/dynamic_slice.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/dynamic_update_slice.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/exponential.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/exponential_minus_one.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/floor.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/gather.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/get_dimension_size.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/if.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/imag.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/infeed.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/iota.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/is_finite.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/log.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/log_plus_one.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/logistic.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/map.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/maximum.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/minimum.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/multiply.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/negate.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/not.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/optimization_barrier.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/or.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/outfeed.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/pad.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/partition_id.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/popcnt.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/power.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/printing.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/probe.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/quantized_ops.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/real.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/reduce.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/reduce_precision.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/reduce_scatter.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/reduce_window.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/remainder.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/replica_id.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/reshape.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/reverse.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/round_nearest_afz.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/round_nearest_even.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/rsqrt.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/scatter.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/select.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/select_and_scatter.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/send_recv.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/shift_left.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/shift_right_arithmetic.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/shift_right_logical.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/sign.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/sine.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/slice.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/sort.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/sqrt.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/subtract.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/tan.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/tanh.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/transpose.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/tuple_and_get_tuple_element.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/while.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/interpret/xor.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/acos_complex128.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/acos_complex64.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/acos_float32.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/acos_float64.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/acos_limits.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/acosh_complex128.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/acosh_complex64.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/acosh_float32.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/acosh_float64.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/asin_complex128.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/asin_complex64.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/asin_float32.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/asin_float64.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/asinh_complex128.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/asinh_complex64.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/asinh_float32.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/asinh_float64.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/atan_complex128.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/atan_complex64.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/atan_float32.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/atan_float64.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/atanh_complex128.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/atanh_complex64.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/atanh_float32.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/atanh_float64.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/exponential_complex128.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/exponential_complex64.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/exponential_float32.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/exponential_float64.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/log_complex128.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/log_complex64.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/log_float32.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/log_float64.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/log_plus_one_complex128.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/log_plus_one_complex64.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/log_plus_one_float32.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/log_plus_one_float64.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/sqrt_complex128.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/sqrt_complex64.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/sqrt_float32.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/sqrt_float64.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/square_complex128.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/square_complex64.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/square_float32.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/square_float64.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/ulp_difference_float32.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/math/ulp_difference_float64.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/canonicalize.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/infer_chlo.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/infer_stablehlo.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/ops_chlo.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/ops_chlo_roundtrip.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/ops_dot_general_algorithms.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/ops_interpreter.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/ops_sparse.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/ops_speculatability.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/ops_stablehlo.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/ops_stablehlo_bounded_dynamism.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/ops_stablehlo_quantized.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/ops_stablehlo_roundtrip.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/print_reduce.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/print_stablehlo.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/print_types_invalid.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/print_while.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/stablehlo_complex_math_expander.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/transform_chlo.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/transform_stablehlo.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/verify_bounds.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/verify_convolution.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/verify_dynamic_conv.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/verify_reduce.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/verify_reduce_window.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/verify_scatter.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/verify_select_and_scatter.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/ops/verify_while.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/transforms/config_assume_no_undeclared_side_effects.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/transforms/shape_legalize_to_stablehlo.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/transforms/stablehlo_aggressive_folder.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/transforms/stablehlo_aggressive_simplification.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/transforms/stablehlo_canonicalize_dynamism.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/transforms/stablehlo_check_shape_assertions.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/transforms/stablehlo_compatibility_expander.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/transforms/stablehlo_compatibility_expander_locations.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/transforms/stablehlo_convert_to_signless.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/transforms/stablehlo_legalize_composite_to_call.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/transforms/stablehlo_legalize_deprecated_ops.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/transforms/stablehlo_legalize_qdq_to_quantized_op.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/transforms/stablehlo_legalize_quant_to_int.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/transforms/stablehlo_legalize_quantized_op_to_qdq.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/transforms/stablehlo_probe_instrumentation.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/transforms/stablehlo_refine_parameters.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/transforms/stablehlo_refine_shapes.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/transforms/stablehlo_target_independent_optimization.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/transforms/stablehlo_wrap_in_composite.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/invalid_vhlo_future.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/legalize_stablehlo_to_vhlo_invalid.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.0_10_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.0_11_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.0_12_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.0_13_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.0_14_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.0_15_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.0_16_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.0_17_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.0_18_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.0_19_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.0_20_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.0_9_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.1_0_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.1_10_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.1_11_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.1_12_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.1_13_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.1_1_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.1_2_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.1_3_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.1_4_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.1_5_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.1_6_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.1_7_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.1_8_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.1_9_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/stablehlo_legalize_to_vhlo_mixed.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_attributes_invalid.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_emit_version_api.1_1_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade.1_11_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade.1_8_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade.1_9_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade_invalid.0_10_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade_invalid.0_15_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade_invalid.0_16_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade_invalid.0_17_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade_invalid.0_18_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade_invalid.0_9_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade_invalid.1_11_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade_invalid.1_12_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade_invalid.1_1_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade_invalid.1_2_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade_invalid.1_3_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade_invalid.1_4_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade_invalid.1_5_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade_invalid.1_6_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade_invalid.1_7_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade_invalid.1_8_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade_invalid.1_9_0.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_downgrade_patch.mlir
    /Users/admin/builder/spi-builder-workspace/Tests/MetalHLOTests/Conformance/StableHLO/vhlo/vhlo_to_version_invalid.mlir
warning: missing creator for mutated node: ('/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/mlx-swift_Cmlx.bundle/Contents/MacOS')
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/rope.metal:5:
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/utils.h:9:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:157:54: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
static_assert(sizeof(complex32_t) == 2 * sizeof(half));
                                                     ^
                                                     , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:158:55: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
static_assert(sizeof(complex64_t) == 2 * sizeof(float));
                                                      ^
                                                      , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:159:70: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
static_assert(sizeof(complex_t<bfloat16_t>) == 2 * sizeof(bfloat16_t));
                                                                     ^
                                                                     , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:299:78: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
    (complex_t<half>{1.0h, 2.0h} * complex_t<half>{3.0h, 4.0h}).real == -5.0h);
                                                                             ^
                                                                             , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:303:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
        .real == bfloat16_t(-5.0f));
                                  ^
                                  , ""
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/rope.metal:5:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/utils.h:80:3: warning: inline variables are a C++17 extension [-Wc++17-extensions]
  inline static constexpr constant complex_t<T> max = complex_t<T>(
  ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/utils.h:83:3: warning: inline variables are a C++17 extension [-Wc++17-extensions]
  inline static constexpr constant complex_t<T> min = complex_t<T>(
  ^
7 warnings generated.
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/random.metal:3:
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/utils.h:9:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:157:54: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
static_assert(sizeof(complex32_t) == 2 * sizeof(half));
                                                     ^
                                                     , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:158:55: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
static_assert(sizeof(complex64_t) == 2 * sizeof(float));
                                                      ^
                                                      , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:159:70: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
static_assert(sizeof(complex_t<bfloat16_t>) == 2 * sizeof(bfloat16_t));
                                                                     ^
                                                                     , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:299:78: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
    (complex_t<half>{1.0h, 2.0h} * complex_t<half>{3.0h, 4.0h}).real == -5.0h);
                                                                             ^
                                                                             , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:303:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
        .real == bfloat16_t(-5.0f));
                                  ^
                                  , ""
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/random.metal:3:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/utils.h:80:3: warning: inline variables are a C++17 extension [-Wc++17-extensions]
  inline static constexpr constant complex_t<T> max = complex_t<T>(
  ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/utils.h:83:3: warning: inline variables are a C++17 extension [-Wc++17-extensions]
  inline static constexpr constant complex_t<T> min = complex_t<T>(
  ^
7 warnings generated.
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/searchsorted.metal:6:
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/utils.h:9:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:157:54: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
static_assert(sizeof(complex32_t) == 2 * sizeof(half));
                                                     ^
                                                     , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:158:55: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
static_assert(sizeof(complex64_t) == 2 * sizeof(float));
                                                      ^
                                                      , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:159:70: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
static_assert(sizeof(complex_t<bfloat16_t>) == 2 * sizeof(bfloat16_t));
                                                                     ^
                                                                     , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:299:78: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
    (complex_t<half>{1.0h, 2.0h} * complex_t<half>{3.0h, 4.0h}).real == -5.0h);
                                                                             ^
                                                                             , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:303:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
        .real == bfloat16_t(-5.0f));
                                  ^
                                  , ""
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/searchsorted.metal:6:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/utils.h:80:3: warning: inline variables are a C++17 extension [-Wc++17-extensions]
  inline static constexpr constant complex_t<T> max = complex_t<T>(
  ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/utils.h:83:3: warning: inline variables are a C++17 extension [-Wc++17-extensions]
  inline static constexpr constant complex_t<T> min = complex_t<T>(
  ^
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/searchsorted.metal:7:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/sort.h:43:8: warning: constexpr if is a C++17 extension [-Wc++17-extensions]
    if constexpr (metal::is_floating_point_v<T>) {
       ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/sort.h:49:15: warning: constexpr if is a C++17 extension [-Wc++17-extensions]
    } else if constexpr (metal::is_same_v<T, complex64_t>) {
              ^
9 warnings generated.
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/dot.metal:3:
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/dot.h:5:
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/utils.h:9:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:157:54: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
static_assert(sizeof(complex32_t) == 2 * sizeof(half));
                                                     ^
                                                     , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:158:55: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
static_assert(sizeof(complex64_t) == 2 * sizeof(float));
                                                      ^
                                                      , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:159:70: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
static_assert(sizeof(complex_t<bfloat16_t>) == 2 * sizeof(bfloat16_t));
                                                                     ^
                                                                     , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:299:78: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
    (complex_t<half>{1.0h, 2.0h} * complex_t<half>{3.0h, 4.0h}).real == -5.0h);
                                                                             ^
                                                                             , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:303:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
        .real == bfloat16_t(-5.0f));
                                  ^
                                  , ""
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/dot.metal:3:
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/dot.h:5:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/utils.h:80:3: warning: inline variables are a C++17 extension [-Wc++17-extensions]
  inline static constexpr constant complex_t<T> max = complex_t<T>(
  ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/utils.h:83:3: warning: inline variables are a C++17 extension [-Wc++17-extensions]
  inline static constexpr constant complex_t<T> min = complex_t<T>(
  ^
7 warnings generated.
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/conv.metal:8:
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/utils.h:9:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:157:54: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
static_assert(sizeof(complex32_t) == 2 * sizeof(half));
                                                     ^
                                                     , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:158:55: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
static_assert(sizeof(complex64_t) == 2 * sizeof(float));
                                                      ^
                                                      , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:159:70: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
static_assert(sizeof(complex_t<bfloat16_t>) == 2 * sizeof(bfloat16_t));
                                                                     ^
                                                                     , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:299:78: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
    (complex_t<half>{1.0h, 2.0h} * complex_t<half>{3.0h, 4.0h}).real == -5.0h);
                                                                             ^
                                                                             , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:303:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
        .real == bfloat16_t(-5.0f));
                                  ^
                                  , ""
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/conv.metal:8:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/utils.h:80:3: warning: inline variables are a C++17 extension [-Wc++17-extensions]
  inline static constexpr constant complex_t<T> max = complex_t<T>(
  ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/utils.h:83:3: warning: inline variables are a C++17 extension [-Wc++17-extensions]
  inline static constexpr constant complex_t<T> min = complex_t<T>(
  ^
7 warnings generated.
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/layer_norm.metal:6:
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/utils.h:9:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:157:54: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
static_assert(sizeof(complex32_t) == 2 * sizeof(half));
                                                     ^
                                                     , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:158:55: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
static_assert(sizeof(complex64_t) == 2 * sizeof(float));
                                                      ^
                                                      , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:159:70: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
static_assert(sizeof(complex_t<bfloat16_t>) == 2 * sizeof(bfloat16_t));
                                                                     ^
                                                                     , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:299:78: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
    (complex_t<half>{1.0h, 2.0h} * complex_t<half>{3.0h, 4.0h}).real == -5.0h);
                                                                             ^
                                                                             , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:303:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
        .real == bfloat16_t(-5.0f));
                                  ^
                                  , ""
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/layer_norm.metal:6:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/utils.h:80:3: warning: inline variables are a C++17 extension [-Wc++17-extensions]
  inline static constexpr constant complex_t<T> max = complex_t<T>(
  ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/utils.h:83:3: warning: inline variables are a C++17 extension [-Wc++17-extensions]
  inline static constexpr constant complex_t<T> min = complex_t<T>(
  ^
7 warnings generated.
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/rms_norm.metal:6:
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/utils.h:9:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:157:54: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
static_assert(sizeof(complex32_t) == 2 * sizeof(half));
                                                     ^
                                                     , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:158:55: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
static_assert(sizeof(complex64_t) == 2 * sizeof(float));
                                                      ^
                                                      , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:159:70: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
static_assert(sizeof(complex_t<bfloat16_t>) == 2 * sizeof(bfloat16_t));
                                                                     ^
                                                                     , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:299:78: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
    (complex_t<half>{1.0h, 2.0h} * complex_t<half>{3.0h, 4.0h}).real == -5.0h);
                                                                             ^
                                                                             , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:303:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
        .real == bfloat16_t(-5.0f));
                                  ^
                                  , ""
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/rms_norm.metal:6:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/utils.h:80:3: warning: inline variables are a C++17 extension [-Wc++17-extensions]
  inline static constexpr constant complex_t<T> max = complex_t<T>(
  ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/utils.h:83:3: warning: inline variables are a C++17 extension [-Wc++17-extensions]
  inline static constexpr constant complex_t<T> min = complex_t<T>(
  ^
7 warnings generated.
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/arg_reduce.metal:5:
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/utils.h:9:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:157:54: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
static_assert(sizeof(complex32_t) == 2 * sizeof(half));
                                                     ^
                                                     , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:158:55: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
static_assert(sizeof(complex64_t) == 2 * sizeof(float));
                                                      ^
                                                      , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:159:70: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
static_assert(sizeof(complex_t<bfloat16_t>) == 2 * sizeof(bfloat16_t));
                                                                     ^
                                                                     , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:299:78: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
    (complex_t<half>{1.0h, 2.0h} * complex_t<half>{3.0h, 4.0h}).real == -5.0h);
                                                                             ^
                                                                             , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:303:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
        .real == bfloat16_t(-5.0f));
                                  ^
                                  , ""
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/arg_reduce.metal:5:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/utils.h:80:3: warning: inline variables are a C++17 extension [-Wc++17-extensions]
  inline static constexpr constant complex_t<T> max = complex_t<T>(
  ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/utils.h:83:3: warning: inline variables are a C++17 extension [-Wc++17-extensions]
  inline static constexpr constant complex_t<T> min = complex_t<T>(
  ^
7 warnings generated.
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/scaled_dot_product_attention.metal:4:
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/utils.h:9:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:157:54: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
static_assert(sizeof(complex32_t) == 2 * sizeof(half));
                                                     ^
                                                     , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:158:55: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
static_assert(sizeof(complex64_t) == 2 * sizeof(float));
                                                      ^
                                                      , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:159:70: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
static_assert(sizeof(complex_t<bfloat16_t>) == 2 * sizeof(bfloat16_t));
                                                                     ^
                                                                     , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:299:78: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
    (complex_t<half>{1.0h, 2.0h} * complex_t<half>{3.0h, 4.0h}).real == -5.0h);
                                                                             ^
                                                                             , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/complex.h:303:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
        .real == bfloat16_t(-5.0f));
                                  ^
                                  , ""
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/scaled_dot_product_attention.metal:4:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/utils.h:80:3: warning: inline variables are a C++17 extension [-Wc++17-extensions]
  inline static constexpr constant complex_t<T> max = complex_t<T>(
  ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/utils.h:83:3: warning: inline variables are a C++17 extension [-Wc++17-extensions]
  inline static constexpr constant complex_t<T> min = complex_t<T>(
  ^
7 warnings generated.
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/steel_attention.metal:4:
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../utils.h:9:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../complex.h:157:54: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
static_assert(sizeof(complex32_t) == 2 * sizeof(half));
                                                     ^
                                                     , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../complex.h:158:55: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
static_assert(sizeof(complex64_t) == 2 * sizeof(float));
                                                      ^
                                                      , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../complex.h:159:70: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
static_assert(sizeof(complex_t<bfloat16_t>) == 2 * sizeof(bfloat16_t));
                                                                     ^
                                                                     , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../complex.h:299:78: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
    (complex_t<half>{1.0h, 2.0h} * complex_t<half>{3.0h, 4.0h}).real == -5.0h);
                                                                             ^
                                                                             , ""
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../complex.h:303:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
        .real == bfloat16_t(-5.0f));
                                  ^
                                  , ""
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/steel_attention.metal:4:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../utils.h:80:3: warning: inline variables are a C++17 extension [-Wc++17-extensions]
  inline static constexpr constant complex_t<T> max = complex_t<T>(
  ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../utils.h:83:3: warning: inline variables are a C++17 extension [-Wc++17-extensions]
  inline static constexpr constant complex_t<T> min = complex_t<T>(
  ^
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/steel_attention.metal:6:
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../steel/attn/kernels/steel_attention.h:3:
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../steel/attn/attn.h:6:
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../steel/attn/../../steel/attn/mma.h:11:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../steel/attn/../../steel/utils/integral_constant.h:105:6: warning: constexpr if is a C++17 extension [-Wc++17-extensions]
  if constexpr (start < stop) {
     ^
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/steel_attention.metal:6:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../steel/attn/kernels/steel_attention.h:361:16: warning: constexpr if is a C++17 extension [-Wc++17-extensions]
            if constexpr (is_bool) {
               ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../steel/attn/kernels/steel_attention.h:431:14: warning: constexpr if is a C++17 extension [-Wc++17-extensions]
          if constexpr (BD >= 128) {
             ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/../../../steel/attn/kernels/steel_attention.h:441:14: warning: constexpr if is a C++17 extension [-Wc++17-extensions]
          if constexpr (BD >= 128) {
             ^
11 warnings generated.
/Users/admin/builder/spi-builder-workspace/Sources/HeterogeneousFusion/EmbeddingCPU.swift:50:13: warning: 'cblas_scopy' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
48 |             let src = tableShard + localIdx * embeddingDim
49 |             let dst = output + pos * embeddingDim
50 |             cblas_scopy(ed, src, 1, dst, 1)
   |             `- warning: 'cblas_scopy' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
51 |         }
52 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/ANERuntime/ANEWatchdog.swift:48:34: warning: capture of 'operation' with non-Sendable type '() throws -> T' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
46 |         queue.async {
47 |             do {
48 |                 let result = try operation()
   |                                  |- warning: capture of 'operation' with non-Sendable type '() throws -> T' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
   |                                  `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
49 |                 box.value = result
50 |             } catch {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/ZeroAllocExecutor.swift:162:20: warning: value 'offset' was defined but never used; consider replacing with boolean test [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
160 |         var outputBuffers: [String: MTLBuffer] = [:]
161 |         for (i, returnValue) in function.returnValues.enumerated() {
162 |             if let offset = memoryPlan.tensorOffsets[returnValue] {
    |                    `- warning: value 'offset' was defined but never used; consider replacing with boolean test [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
163 |                 // Output is in unified buffer - create a view or copy
164 |                 let outputType = function.outputTypes[i]
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/ZeroAllocExecutor.swift:300:17: warning: capture of 'completion' with non-Sendable type '([String : any MTLBuffer]) -> Void' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
298 |
299 |             commandBuffer.addCompletedHandler { [weak self] _ in
300 |                 completion(outputBuffers)
    |                 |- warning: capture of 'completion' with non-Sendable type '([String : any MTLBuffer]) -> Void' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
301 |                 self?.inflightSemaphore.signal()
302 |                 dispatchGroup.leave()
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/ZeroAllocExecutor.swift:300:28: warning: capture of 'outputBuffers' with non-Sendable type '[String : any MTLBuffer]' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
298 |
299 |             commandBuffer.addCompletedHandler { [weak self] _ in
300 |                 completion(outputBuffers)
    |                            `- warning: capture of 'outputBuffers' with non-Sendable type '[String : any MTLBuffer]' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
301 |                 self?.inflightSemaphore.signal()
302 |                 dispatchGroup.leave()
/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBuffer.h:34:11: note: protocol 'MTLBuffer' does not conform to the 'Sendable' protocol
 32 |  */
 33 | API_AVAILABLE(macos(10.11), ios(8.0))
 34 | @protocol MTLBuffer <MTLResource>
    |           `- note: protocol 'MTLBuffer' does not conform to the 'Sendable' protocol
 35 |
 36 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/ZeroAllocExecutor.swift:8:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import\AddPreconcurrencyImport]8;;\]
  6 |
  7 | import Foundation
  8 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import\AddPreconcurrencyImport]8;;\]
  9 |
 10 | // MARK: - Execution Context
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/ZeroAllocExecutor.swift:300:28: warning: reference to captured var 'outputBuffers' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
298 |
299 |             commandBuffer.addCompletedHandler { [weak self] _ in
300 |                 completion(outputBuffers)
    |                            `- warning: reference to captured var 'outputBuffers' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
301 |                 self?.inflightSemaphore.signal()
302 |                 dispatchGroup.leave()
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/ZeroAllocExecutor.swift:258:48: warning: 'outputBuffers' mutated after capture by sendable closure
252 |
253 |             // Create output buffers
254 |             var outputBuffers: [String: MTLBuffer] = [:]
    |                 `- note: variable defined here
255 |             for (i, returnValue) in function.returnValues.enumerated() {
256 |                 let outputType = function.outputTypes[i]
257 |                 if let outputBuffer = device.makeBuffer(length: outputType.byteCount, options: .storageModeShared) {
258 |                     outputBuffers[returnValue] = outputBuffer
    |                                                `- warning: 'outputBuffers' mutated after capture by sendable closure
259 |                 }
260 |             }
    :
297 |             }
298 |
299 |             commandBuffer.addCompletedHandler { [weak self] _ in
    |                                               `- note: variable captured by sendable closure
300 |                 completion(outputBuffers)
    |                            `- note: capturing use
301 |                 self?.inflightSemaphore.signal()
302 |                 dispatchGroup.leave()
[#AddPreconcurrencyImport]: <https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import>
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/LLM/LLMOptimizations.swift:323:13: warning: initialization of immutable value 'total' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
321 |     public var memoryStats: (used: Int, total: Int, utilization: Double) {
322 |         let allocated = allocator.numAllocatedBlocks
323 |         let total = config.maxBlocks
    |             `- warning: initialization of immutable value 'total' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
324 |         return (
325 |             used: allocated * config.bytesPerBlock * 2,
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/IntegratedExecutor.swift:1209:22: warning: capture of 'base' with non-Sendable type 'UnsafeMutablePointer<(any MTLBuffer)?>' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
1207 |                 // pointer initialization is safe under concurrency.
1208 |                 DispatchQueue.concurrentPerform(iterations: entries.count) { i in
1209 |                     (base + i).initialize(to: materialize(i, pooled: false))
     |                      `- warning: capture of 'base' with non-Sendable type 'UnsafeMutablePointer<(any MTLBuffer)?>' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
1210 |                 }
1211 |             } else {
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)
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/IntegratedExecutor.swift:1209:47: warning: capture of 'materialize(_:pooled:)' with non-Sendable type '(Int, Bool) -> (any MTLBuffer)?' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
1207 |                 // pointer initialization is safe under concurrency.
1208 |                 DispatchQueue.concurrentPerform(iterations: entries.count) { i in
1209 |                     (base + i).initialize(to: materialize(i, pooled: false))
     |                                               |- warning: capture of 'materialize(_:pooled:)' with non-Sendable type '(Int, Bool) -> (any MTLBuffer)?' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
     |                                               `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1210 |                 }
1211 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/IntegratedExecutor.swift:1179:14: warning: concurrently-executed local function 'materialize(_:pooled:)' must be marked as '@Sendable'
1177 |         // writes it through a disjoint pointer slot — never mutates a shared
1178 |         // Swift array from multiple threads.
1179 |         func materialize(_ i: Int, pooled: Bool) -> MTLBuffer? {
     |              `- warning: concurrently-executed local function 'materialize(_:pooled:)' must be marked as '@Sendable'
1180 |             switch plans[i] {
1181 |             case .none:
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Optimizer/Rematerialization.swift:193:13: warning: initialization of immutable value 'originalMemory' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
191 |
192 |         // Compute original memory usage
193 |         let originalMemory = computePeakMemory(function, decisions: [:])
    |             `- warning: initialization of immutable value 'originalMemory' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
194 |
195 |         // Decide which tensors to rematerialize
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Optimizer/Rematerialization.swift:334:14: warning: immutable value 'opIndex' was never used; consider replacing with '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
332 |         var costs: [String: RecomputationCost] = [:]
333 |
334 |         for (opIndex, op) in function.operations.enumerated() {
    |              `- warning: immutable value 'opIndex' was never used; consider replacing with '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
335 |             let memoryCost = op.resultType.byteCount
336 |             let computeCost = estimateComputeCost(op)
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Optimizer/Rematerialization.swift:470:13: warning: initialization of immutable value 'averageSegmentSize' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
468 |         // With checkpointing, only need to store activations between checkpoints
469 |         let numSegments = checkpoints.count + 1
470 |         let averageSegmentSize = function.operations.count / numSegments
    |             `- warning: initialization of immutable value 'averageSegmentSize' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
471 |
472 |         // Estimate memory per segment
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/ANE/MILWeightPacker.swift:75:37: warning: immutable value 'type' was never used; consider replacing with '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 73 |             }
 74 |
 75 |         case .dense(let values, let type):
    |                                     `- warning: immutable value 'type' was never used; consider replacing with '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 76 |             if values.count <= Self.inlineThreshold {
 77 |                 let fp16Strs = values.map { formatFloat(Double(Float16(Float($0)))) }
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Cache/KernelCache.swift:368:32: warning: 'init(bytes:)' is deprecated: Use init(bytes: UnsafeRawBufferPointer) instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 366 |         return data.withUnsafeBytes { (bytes: UnsafeRawBufferPointer) -> MTLLibrary? in
 367 |             guard let baseAddress = bytes.baseAddress else { return nil }
 368 |             let dispatchData = DispatchData(
     |                                `- warning: 'init(bytes:)' is deprecated: Use init(bytes: UnsafeRawBufferPointer) instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 369 |                 bytes: UnsafeBufferPointer(
 370 |                     start: baseAddress.assumingMemoryBound(to: UInt8.self),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/IntegratedExecutor.swift:925:17: warning: capture of 'completion' with non-Sendable type '(Result<ExecutionResult, any Error>) -> Void' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 923 |
 924 |             if let error = buffer.error {
 925 |                 completion(.failure(IntegratedExecutorError.executionFailed(error.localizedDescription)))
     |                 |- warning: capture of 'completion' with non-Sendable type '(Result<ExecutionResult, any Error>) -> Void' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
     |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 926 |                 return
 927 |             }
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/IntegratedExecutor.swift:940:36: warning: reference to captured var 'kernelTimings' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 938 |                     outputs: outputs,
 939 |                     executionTimeMs: executionTimeMs,
 940 |                     kernelTimings: kernelTimings
     |                                    `- warning: reference to captured var 'kernelTimings' in concurrently-executing code [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 941 |                 )
 942 |
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/IntegratedExecutor.swift:1209:22: warning: capture of 'base' with non-Sendable type 'UnsafeMutablePointer<(any MTLBuffer)?>' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
1207 |                 // pointer initialization is safe under concurrency.
1208 |                 DispatchQueue.concurrentPerform(iterations: entries.count) { i in
1209 |                     (base + i).initialize(to: materialize(i, pooled: false))
     |                      `- warning: capture of 'base' with non-Sendable type 'UnsafeMutablePointer<(any MTLBuffer)?>' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
1210 |                 }
1211 |             } else {
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)
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/IntegratedExecutor.swift:1209:47: warning: capture of 'materialize(_:pooled:)' with non-Sendable type '(Int, Bool) -> (any MTLBuffer)?' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
1207 |                 // pointer initialization is safe under concurrency.
1208 |                 DispatchQueue.concurrentPerform(iterations: entries.count) { i in
1209 |                     (base + i).initialize(to: materialize(i, pooled: false))
     |                                               |- warning: capture of 'materialize(_:pooled:)' with non-Sendable type '(Int, Bool) -> (any MTLBuffer)?' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
     |                                               `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1210 |                 }
1211 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/IntegratedExecutor.swift:1179:14: warning: concurrently-executed local function 'materialize(_:pooled:)' must be marked as '@Sendable'
1177 |         // writes it through a disjoint pointer slot — never mutates a shared
1178 |         // Swift array from multiple threads.
1179 |         func materialize(_ i: Int, pooled: Bool) -> MTLBuffer? {
     |              `- warning: concurrently-executed local function 'materialize(_:pooled:)' must be marked as '@Sendable'
1180 |             switch plans[i] {
1181 |             case .none:
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/IntegratedExecutor.swift:1511:17: warning: capture of 'completion' with non-Sendable type '(Result<ExecutionResult, any Error>) -> Void' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
1509 |         commandBuffer.addCompletedHandler { buffer in
1510 |             if let error = buffer.error {
1511 |                 completion(.failure(IntegratedExecutorError.executionFailed(error.localizedDescription)))
     |                 |- warning: capture of 'completion' with non-Sendable type '(Result<ExecutionResult, any Error>) -> Void' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
     |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1512 |                 return
1513 |             }
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/LayerAccumulationBuffer.swift:132:27: warning: result of call to 'withUnsafeBytes' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
130 |             // Copy from Data
131 |             let dst = buffer.contents().advanced(by: offset)
132 |             snapshot.data.withUnsafeBytes { ptr in
    |                           `- warning: result of call to 'withUnsafeBytes' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
133 |                 memcpy(dst, ptr.baseAddress!, min(ptr.count, config.snapshotBytes))
134 |             }
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/MetalExecutor.swift:527:9: warning: 'sgesdd_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated.  Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
525 |         var wkopt = Float(0)
526 |         var lwork = __CLPK_integer(-1)
527 |         sgesdd_(&jobz, &lm, &ln, &a, &lda, &s, &u, &ldu, &vt, &ldvt, &wkopt, &lwork, &iwork, &info)
    |         `- warning: 'sgesdd_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated.  Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
528 |         lwork = __CLPK_integer(wkopt)
529 |         var work = [Float](repeating: 0, count: Int(max(1, lwork)))
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/MetalExecutor.swift:530:9: warning: 'sgesdd_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated.  Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
528 |         lwork = __CLPK_integer(wkopt)
529 |         var work = [Float](repeating: 0, count: Int(max(1, lwork)))
530 |         sgesdd_(&jobz, &lm, &ln, &a, &lda, &s, &u, &ldu, &vt, &ldvt, &work, &lwork, &iwork, &info)
    |         `- warning: 'sgesdd_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated.  Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
531 |
532 |         guard info == 0 else {
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/MetalExecutor.swift:614:9: warning: 'sgeqrf_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated.  Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
612 |         var wkopt = Float(0)
613 |         var lwork = __CLPK_integer(-1)
614 |         sgeqrf_(&lm, &ln, &a, &lda, &tau, &wkopt, &lwork, &info)
    |         `- warning: 'sgeqrf_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated.  Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
615 |         lwork = __CLPK_integer(wkopt)
616 |         var work = [Float](repeating: 0, count: Int(max(1, lwork)))
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/MetalExecutor.swift:617:9: warning: 'sgeqrf_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated.  Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
615 |         lwork = __CLPK_integer(wkopt)
616 |         var work = [Float](repeating: 0, count: Int(max(1, lwork)))
617 |         sgeqrf_(&lm, &ln, &a, &lda, &tau, &work, &lwork, &info)
    |         `- warning: 'sgeqrf_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated.  Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
618 |         guard info == 0 else {
619 |             throw ExecutorError.generalError("LAPACK sgeqrf failed with info=\(info)")
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/MetalExecutor.swift:636:9: warning: 'sorgqr_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated.  Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
634 |         wkopt = 0
635 |         lwork = __CLPK_integer(-1)
636 |         sorgqr_(&lm, &lqcols, &lk, &a, &lda, &tau, &wkopt, &lwork, &info)
    |         `- warning: 'sorgqr_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated.  Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
637 |         lwork = __CLPK_integer(wkopt)
638 |         work = [Float](repeating: 0, count: Int(max(1, lwork)))
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/MetalExecutor.swift:639:9: warning: 'sorgqr_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated.  Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
637 |         lwork = __CLPK_integer(wkopt)
638 |         work = [Float](repeating: 0, count: Int(max(1, lwork)))
639 |         sorgqr_(&lm, &lqcols, &lk, &a, &lda, &tau, &work, &lwork, &info)
    |         `- warning: 'sorgqr_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated.  Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
640 |         guard info == 0 else {
641 |             throw ExecutorError.generalError("LAPACK sorgqr failed with info=\(info)")
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/MetalExecutor.swift:723:9: warning: 'ssyevd_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated.  Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
721 |         var lwork = __CLPK_integer(-1)
722 |         var liwork = __CLPK_integer(-1)
723 |         ssyevd_(&jobz, &uplo, &ln, &a, &lda, &w, &wkopt, &lwork, &iwkopt, &liwork, &info)
    |         `- warning: 'ssyevd_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated.  Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
724 |         lwork = __CLPK_integer(wkopt)
725 |         liwork = iwkopt
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/MetalExecutor.swift:728:9: warning: 'ssyevd_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated.  Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
726 |         var work = [Float](repeating: 0, count: Int(max(1, lwork)))
727 |         var iwork = [__CLPK_integer](repeating: 0, count: Int(max(1, liwork)))
728 |         ssyevd_(&jobz, &uplo, &ln, &a, &lda, &w, &work, &lwork, &iwork, &liwork, &info)
    |         `- warning: 'ssyevd_' was deprecated in macOS 13.3: The CLAPACK interface is deprecated.  Please compile with -DACCELERATE_NEW_LAPACK to access the new lapack headers. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
729 |
730 |         guard info == 0 else {
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Runtime/NeuralEngineTargeting.swift:933:13: warning: initialization of immutable value 'opMap' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 931 |         function: HLOFunction
 932 |     ) -> Int {
 933 |         let opMap = Dictionary(uniqueKeysWithValues: function.operations.map { ($0.result, $0) })
     |             `- warning: initialization of immutable value 'opMap' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 934 |         let partitionOpSet = Set(partition.operationIds)
 935 |         let partitionOps = function.operations.filter { partitionOpSet.contains($0.result) }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Optimizer/CrossLayerFusion.swift:535:13: warning: variable 'sorted' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
533 |     private func sortAndFilterMatches(_ matches: [CrossLayerMatch]) -> [CrossLayerMatch] {
534 |         // Sort by size (larger fusions first)
535 |         var sorted = matches.sorted { $0.operationIndices.count > $1.operationIndices.count }
    |             `- warning: variable 'sorted' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
536 |
537 |         // Filter overlapping matches
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Optimizer/FusionPatterns.swift:1055:13: warning: variable 'foundSquare' was written to, but never read
1053 |
1054 |         var foundRsqrt = false
1055 |         var foundSquare = false
     |             `- warning: variable 'foundSquare' was written to, but never read
1056 |         var foundReduce = false
1057 |         var foundMeanSubtract = false  // Should NOT be present for RMSNorm
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLO/Client.swift:79:9: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 77 |     /// - Returns: A compiled `Executable` ready for execution.
 78 |     public func compile(_ mlir: String) throws -> Executable {
 79 |         try withNarrowOutputs(try compileMPSGraph(mlir), source: mlir)
    |         `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 80 |     }
 81 |
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLO/Client.swift:174:9: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
172 |     /// - Returns: A compiled `Executable` ready for execution.
173 |     public func compile(_ mlir: String, config: CompilationConfig) throws -> Executable {
174 |         try withNarrowOutputs(try compileConfigured(mlir, config: config), source: mlir)
    |         `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
175 |     }
176 |
[#UnnecessaryEffectMarker]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker>
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CustomCallHandlers.swift:694:13: warning: initialization of immutable value 'approximate' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 692 |
 693 |         let x = inputs[0]
 694 |         let approximate = BackendConfigParser.getBool(config, key: "approximate", default: false)
     |             `- warning: initialization of immutable value 'approximate' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 695 |
 696 |         // GELU: 0.5 * x * (1 + tanh(sqrt(2/pi) * (x + 0.044715 * x^3)))
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CustomCallHandlers.swift:749:13: warning: variable 'startIndices1' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
 747 |         // Split x into first half and second half along last dimension
 748 |         // x1 = x[..., :halfDim], x2 = x[..., halfDim:]
 749 |         var startIndices1 = [Int](repeating: 0, count: rank)
     |             `- warning: variable 'startIndices1' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
 750 |         var endIndices1 = xShape.map { $0.intValue }
 751 |         endIndices1[rank - 1] = halfDim
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CustomCallHandlers.swift:789:17: warning: variable 'cosStart' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
 787 |             // freqs contains both cos and sin interleaved or concatenated
 788 |             // Assume first half is cos, second half is sin
 789 |             var cosStart = [Int](repeating: 0, count: freqsRank)
     |                 `- warning: variable 'cosStart' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
 790 |             var cosEnd = freqsShape.map { $0.intValue }
 791 |             cosEnd[freqsRank - 1] = halfDim
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/MPSGraphCompiler.swift:3602:13: warning: immutable value 'targetInputOrder' was never used; consider removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
3600 |
3601 |         // Transpose input to target layout
3602 |         let targetInputOrder: [Int]
     |             `- warning: immutable value 'targetInputOrder' was never used; consider removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
3603 |         switch targetDataLayout {
3604 |         case .NHWC:
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/MPSGraphCompiler.swift:3633:13: warning: immutable value 'targetKernelOrder' was never used; consider removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
3631 |
3632 |         // Transpose weights if needed
3633 |         let targetKernelOrder: [Int]
     |             `- warning: immutable value 'targetKernelOrder' was never used; consider removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
3634 |         switch targetWeightsLayout {
3635 |         case .HWIO:
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/MPSGraphCompiler.swift:3681:13: warning: immutable value 'mpsOutputOrder' was never used; consider removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
3679 |         ]
3680 |
3681 |         let mpsOutputOrder: [Int]
     |             `- warning: immutable value 'mpsOutputOrder' was never used; consider removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
3682 |         switch sourceDataLayout {
3683 |         case .NHWC:
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/MPSGraphCompiler.swift:4683:17: warning: initialization of immutable value 'mask' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
4681 |         if bitsToRound > 0 {
4682 |             // RNE: absBits = (absBits + ((1<<(bitsToRound-1)) - 1) + keptLSB) & ~mask
4683 |             let mask = u32((UInt32(1) << UInt32(bitsToRound)) - 1)
     |                 `- warning: initialization of immutable value 'mask' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
4684 |             let shifted = graph.bitwiseRightShift(absBits, u32(UInt32(bitsToRound)), name: nil)
4685 |             let keptLSB = graph.bitwiseAND(shifted, u32(1), name: nil)
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/PassManager.swift:894:13: warning: variable 'opsToRemove' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
 892 |
 893 |         var newOperations = function.operations
 894 |         var opsToRemove = Set<Int>()
     |             `- warning: variable 'opsToRemove' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
 895 |         var changed = false
 896 |
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/PassManager.swift:1030:13: warning: variable 'opsToRemove' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
1028 |
1029 |         var newOperations = function.operations
1030 |         var opsToRemove = Set<Int>()
     |             `- warning: variable 'opsToRemove' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
1031 |         var changed = false
1032 |
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/PassManager.swift:1468:17: warning: variable 'matmulIdx' was written to, but never read
1466 |             // Find the matmul operation (first in pattern typically)
1467 |             var matmulOp: HLOOperation?
1468 |             var matmulIdx: Int?
     |                 `- warning: variable 'matmulIdx' was written to, but never read
1469 |             for idx in pattern.operationIndices {
1470 |                 let op = function.operations[idx]
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/BenchmarkResult.swift:262:24: warning: 'init(cString:)' is deprecated: Use String(decoding: array, as: UTF8.self) instead, after truncating the null termination. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
260 |             var buffer = [CChar](repeating: 0, count: size)
261 |             sysctlbyname("machdep.cpu.brand_string", &buffer, &size, nil, 0)
262 |             chipName = String(cString: buffer)
    |                        `- warning: 'init(cString:)' is deprecated: Use String(decoding: array, as: UTF8.self) instead, after truncating the null termination. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
263 |         }
264 |
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/BenchmarkResult.swift:272:28: warning: 'init(cString:)' is deprecated: Use String(decoding: array, as: UTF8.self) instead, after truncating the null termination. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
270 |                 var buffer = [CChar](repeating: 0, count: size)
271 |                 sysctlbyname("hw.model", &buffer, &size, nil, 0)
272 |                 chipName = String(cString: buffer)
    |                            `- warning: 'init(cString:)' is deprecated: Use String(decoding: array, as: UTF8.self) instead, after truncating the null termination. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
273 |             }
274 |         }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/OperationBenchmarks.swift:493:25: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 491 |                 let gen = TestDataGenerator(seed: 42)
 492 |                 let a = try gen.createUniformFloat32Buffer(client: client, shape: [1024, 1024])
 493 |                 let b = try client.createBuffer([1.5], shape: [1])
     |                         `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 494 |                 return [a, b]
 495 |             }
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/OperationBenchmarks.swift:870:25: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 868 |             """,
 869 |             inputGenerator: { client in
 870 |                 return [try client.createBuffer([Int32(0)], shape: [1])]
     |                         `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 871 |             }
 872 |         ))
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/OperationBenchmarks.swift:1082:30: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1080 |                 let gen = TestDataGenerator(seed: 42)
1081 |                 let input = try gen.createUniformFloat32Buffer(client: client, shape: [1024, 1024])
1082 |                 let start0 = try client.createBuffer([Int32(128)], shape: [1])
     |                              `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1083 |                 let start1 = try client.createBuffer([Int32(128)], shape: [1])
1084 |                 return [input, start0, start1]
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/OperationBenchmarks.swift:1083:30: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1081 |                 let input = try gen.createUniformFloat32Buffer(client: client, shape: [1024, 1024])
1082 |                 let start0 = try client.createBuffer([Int32(128)], shape: [1])
1083 |                 let start1 = try client.createBuffer([Int32(128)], shape: [1])
     |                              `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1084 |                 return [input, start0, start1]
1085 |             }
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/OperationBenchmarks.swift:1107:30: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1105 |                 let input = try gen.createUniformFloat32Buffer(client: client, shape: [1024, 1024])
1106 |                 let update = try gen.createUniformFloat32Buffer(client: client, shape: [256, 256])
1107 |                 let start0 = try client.createBuffer([Int32(128)], shape: [1])
     |                              `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1108 |                 let start1 = try client.createBuffer([Int32(128)], shape: [1])
1109 |                 return [input, update, start0, start1]
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/OperationBenchmarks.swift:1108:30: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1106 |                 let update = try gen.createUniformFloat32Buffer(client: client, shape: [256, 256])
1107 |                 let start0 = try client.createBuffer([Int32(128)], shape: [1])
1108 |                 let start1 = try client.createBuffer([Int32(128)], shape: [1])
     |                              `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1109 |                 return [input, update, start0, start1]
1110 |             }
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/OperationBenchmarks.swift:1141:37: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1139 |                     indices.append(Int32(gen.uniformFloat32(count: 1)[0] * 9999))
1140 |                 }
1141 |                 let indicesBuffer = try client.createBuffer(indices, shape: [1024])
     |                                     `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1142 |                 return [table, indicesBuffer]
1143 |             },
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/OperationBenchmarks.swift:1188:37: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1186 |                     indices.append(Int32(gen.uniformFloat32(count: 1)[0] * 9999))
1187 |                 }
1188 |                 let indicesBuffer = try client.createBuffer(indices, shape: [1024, 1])
     |                                     `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1189 |                 let updates = try gen.createUniformFloat32Buffer(client: client, shape: [1024, 256])
1190 |                 return [table, indicesBuffer, updates]
[#UnnecessaryEffectMarker]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker>
/Users/admin/builder/spi-builder-workspace/Sources/PJRTMetalHLO/PJRTDevice.swift:279:9: warning: initialization of immutable value 'totalBytes' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
277 |
278 |     // Report recommended max working set size as total memory
279 |     let totalBytes = Int64(mtl.recommendedMaxWorkingSetSize)
    |         `- warning: initialization of immutable value 'totalBytes' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
280 |     args.pointee.bytes_in_use = 0 // Not easily tracked per-device in Metal
281 |     return nil
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/TestDataGenerator.swift:144:16: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
142 |
143 |         let data = uniformFloat32(count: count)
144 |         return try client.createBuffer(data, shape: shape)
    |                `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
145 |     }
146 |
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/TestDataGenerator.swift:170:16: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
168 |
169 |         let data = uniformFloat32(count: count, min: min, max: max)
170 |         return try client.createBuffer(data, shape: shape)
    |                `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
171 |     }
172 |
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/TestDataGenerator.swift:182:16: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
180 |         let count = shape.reduce(1, *)
181 |         let data = normalFloat32(count: count, mean: mean, stdDev: stdDev)
182 |         return try client.createBuffer(data, shape: shape)
    |                `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
183 |     }
184 |
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/TestDataGenerator.swift:205:20: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
203 |         switch elementType {
204 |         case .float32:
205 |             return try client.createBuffer(zerosFloat32(count: count), shape: shape)
    |                    `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
206 |         case .float16:
207 |             let data = [Float16](repeating: 0, count: count)
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/TestDataGenerator.swift:214:20: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
212 |         default:
213 |             // Fallback to float32
214 |             return try client.createBuffer(zerosFloat32(count: count), shape: shape)
    |                    `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
215 |         }
216 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/TestDataGenerator.swift:227:16: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
225 |             data[i * size + i] = 1.0
226 |         }
227 |         return try client.createBuffer(data, shape: [size, size])
    |                `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
228 |     }
229 | }
[#UnnecessaryEffectMarker]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker>
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/ModelBenchmarks.swift:479:33: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 477 |                 let input = try gen.createUniformFloat32Buffer(client: client, shape: [1, 56, 56, 64])
 478 |                 let conv1_w = try gen.createNormalFloat32Buffer(client: client, shape: [3, 3, 64, 64], mean: 0, stdDev: 0.05)
 479 |                 let bn1_scale = try client.createBuffer([Float](repeating: 1.0, count: 64), shape: [64])
     |                                 `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 480 |                 let bn1_offset = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
 481 |                 let bn1_mean = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/ModelBenchmarks.swift:482:31: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 480 |                 let bn1_offset = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
 481 |                 let bn1_mean = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
 482 |                 let bn1_var = try client.createBuffer([Float](repeating: 1.0, count: 64), shape: [64])
     |                               `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 483 |                 let conv2_w = try gen.createNormalFloat32Buffer(client: client, shape: [3, 3, 64, 64], mean: 0, stdDev: 0.05)
 484 |                 let bn2_scale = try client.createBuffer([Float](repeating: 1.0, count: 64), shape: [64])
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/ModelBenchmarks.swift:484:33: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 482 |                 let bn1_var = try client.createBuffer([Float](repeating: 1.0, count: 64), shape: [64])
 483 |                 let conv2_w = try gen.createNormalFloat32Buffer(client: client, shape: [3, 3, 64, 64], mean: 0, stdDev: 0.05)
 484 |                 let bn2_scale = try client.createBuffer([Float](repeating: 1.0, count: 64), shape: [64])
     |                                 `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 485 |                 let bn2_offset = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
 486 |                 let bn2_mean = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/ModelBenchmarks.swift:487:31: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 485 |                 let bn2_offset = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
 486 |                 let bn2_mean = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
 487 |                 let bn2_var = try client.createBuffer([Float](repeating: 1.0, count: 64), shape: [64])
     |                               `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 488 |                 return [input, conv1_w, bn1_scale, bn1_offset, bn1_mean, bn1_var, conv2_w, bn2_scale, bn2_offset, bn2_mean, bn2_var]
 489 |             }
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/ModelBenchmarks.swift:530:33: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 528 |                 let input = try gen.createUniformFloat32Buffer(client: client, shape: [8, 56, 56, 64])
 529 |                 let conv1_w = try gen.createNormalFloat32Buffer(client: client, shape: [3, 3, 64, 64], mean: 0, stdDev: 0.05)
 530 |                 let bn1_scale = try client.createBuffer([Float](repeating: 1.0, count: 64), shape: [64])
     |                                 `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 531 |                 let bn1_offset = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
 532 |                 let bn1_mean = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/ModelBenchmarks.swift:533:31: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 531 |                 let bn1_offset = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
 532 |                 let bn1_mean = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
 533 |                 let bn1_var = try client.createBuffer([Float](repeating: 1.0, count: 64), shape: [64])
     |                               `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 534 |                 let conv2_w = try gen.createNormalFloat32Buffer(client: client, shape: [3, 3, 64, 64], mean: 0, stdDev: 0.05)
 535 |                 let bn2_scale = try client.createBuffer([Float](repeating: 1.0, count: 64), shape: [64])
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/ModelBenchmarks.swift:535:33: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 533 |                 let bn1_var = try client.createBuffer([Float](repeating: 1.0, count: 64), shape: [64])
 534 |                 let conv2_w = try gen.createNormalFloat32Buffer(client: client, shape: [3, 3, 64, 64], mean: 0, stdDev: 0.05)
 535 |                 let bn2_scale = try client.createBuffer([Float](repeating: 1.0, count: 64), shape: [64])
     |                                 `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 536 |                 let bn2_offset = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
 537 |                 let bn2_mean = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/ModelBenchmarks.swift:538:31: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 536 |                 let bn2_offset = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
 537 |                 let bn2_mean = try gen.createZerosBuffer(client: client, shape: [64], elementType: .float32)
 538 |                 let bn2_var = try client.createBuffer([Float](repeating: 1.0, count: 64), shape: [64])
     |                               `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
 539 |                 return [input, conv1_w, bn1_scale, bn1_offset, bn1_mean, bn1_var, conv2_w, bn2_scale, bn2_offset, bn2_mean, bn2_var]
 540 |             }
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/ModelBenchmarks.swift:1020:29: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1018 |                 let gen = TestDataGenerator(seed: 42)
1019 |                 let x = try gen.createUniformFloat32Buffer(client: client, shape: [1, 128, 768])
1020 |                 let ln1_g = try client.createBuffer([Float](repeating: 1.0, count: 768), shape: [768])
     |                             `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1021 |                 let ln1_b = try gen.createZerosBuffer(client: client, shape: [768], elementType: .float32)
1022 |                 let wq = try gen.createNormalFloat32Buffer(client: client, shape: [768, 768], mean: 0, stdDev: 0.02)
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/ModelBenchmarks.swift:1026:29: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1024 |                 let wv = try gen.createNormalFloat32Buffer(client: client, shape: [768, 768], mean: 0, stdDev: 0.02)
1025 |                 let wo = try gen.createNormalFloat32Buffer(client: client, shape: [768, 768], mean: 0, stdDev: 0.02)
1026 |                 let ln2_g = try client.createBuffer([Float](repeating: 1.0, count: 768), shape: [768])
     |                             `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1027 |                 let ln2_b = try gen.createZerosBuffer(client: client, shape: [768], elementType: .float32)
1028 |                 let ff_w1 = try gen.createNormalFloat32Buffer(client: client, shape: [768, 3072], mean: 0, stdDev: 0.02)
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/ModelBenchmarks.swift:1159:38: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1157 |                     tokenIds.append(Int32(gen.uniformFloat32(count: 1)[0] * 29999))
1158 |                 }
1159 |                 let tokenIdsBuffer = try client.createBuffer(tokenIds, shape: [8, 128])
     |                                      `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1160 |                 return [embeddings, tokenIdsBuffer]
1161 |             },
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/ModelBenchmarks.swift:1201:28: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1199 |                 let images = try gen.createUniformFloat32Buffer(client: client, shape: [32, 224, 224, 3], min: 0, max: 255)
1200 |                 // ImageNet mean and std
1201 |                 let mean = try client.createBuffer([Float(123.675), Float(116.28), Float(103.53)], shape: [3])
     |                            `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1202 |                 let std = try client.createBuffer([Float(58.395), Float(57.12), Float(57.375)], shape: [3])
1203 |                 return [images, mean, std]
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/ModelBenchmarks.swift:1202:27: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1200 |                 // ImageNet mean and std
1201 |                 let mean = try client.createBuffer([Float(123.675), Float(116.28), Float(103.53)], shape: [3])
1202 |                 let std = try client.createBuffer([Float(58.395), Float(57.12), Float(57.375)], shape: [3])
     |                           `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1203 |                 return [images, mean, std]
1204 |             }
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOBenchmarks/ModelBenchmarks.swift:1261:36: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1259 |                     labels.append(Int32(gen.uniformFloat32(count: 1)[0] * 999))
1260 |                 }
1261 |                 let labelsBuffer = try client.createBuffer(labels, shape: [32])
     |                                    `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
1262 |                 return [logits, labelsBuffer]
1263 |             }
[#UnnecessaryEffectMarker]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker>
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:505:13: warning: initialization of immutable value 'totalElements' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 503 |     ) -> (String, String, TuningConfig?) {
 504 |         let outputShape = outputShapes.first ?? []
 505 |         let totalElements = outputShape.reduce(1, *)
     |             `- warning: initialization of immutable value 'totalElements' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 506 |         let entryPoint = "kernel_\(opKind.rawValue)"
 507 |         let metalType = metalTypeName(for: elementType)
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:1438:13: warning: initialization of immutable value 'indexGridSize' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
1436 |             if i != dimNumbers.indexVectorDim { indexGridShape.append(s) }
1437 |         }
1438 |         let indexGridSize = max(indexGridShape.reduce(1, *), 1)
     |             `- warning: initialization of immutable value 'indexGridSize' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
1439 |
1440 |         // Non-collapsed, non-batched operand dims → these are offset dims in order
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:1453:13: warning: initialization of immutable value 'offsetTotalSize' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
1451 |             offsetSizes.append(sliceSizes[d])
1452 |         }
1453 |         let offsetTotalSize = max(offsetSizes.reduce(1, *), 1)
     |             `- warning: initialization of immutable value 'offsetTotalSize' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
1454 |
1455 |         // Number of index components per grid point
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:1456:13: warning: initialization of immutable value 'numIndexComponents' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
1454 |
1455 |         // Number of index components per grid point
1456 |         let numIndexComponents = dimNumbers.startIndexMap.count
     |             `- warning: initialization of immutable value 'numIndexComponents' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
1457 |
1458 |         // Indices stride for index_vector_dim
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:1590:13: warning: initialization of immutable value 'sliceSizes' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
1588 |         let batchSize = operandShape[batchDim]
1589 |         let startIndexMap = dimNumbers.startIndexMap
1590 |         let sliceSizes = dimNumbers.sliceSizes
     |             `- warning: initialization of immutable value 'sliceSizes' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
1591 |         let numStartIndices = startIndexMap.count
1592 |
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:2145:13: warning: initialization of immutable value 'updateElements' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
2143 |         let rank = operandShape.count
2144 |         let totalElements = operandShape.reduce(1, *)
2145 |         let updateElements = updateShape.reduce(1, *)
     |             `- warning: initialization of immutable value 'updateElements' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
2146 |
2147 |         // Calculate strides
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:2772:13: warning: initialization of immutable value 'totalInputElements' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
2770 |     ) -> (String, String, TuningConfig?) {
2771 |         // Compute reduction parameters
2772 |         let totalInputElements = inputShape.reduce(1, *)
     |             `- warning: initialization of immutable value 'totalInputElements' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
2773 |         let reduceDimSorted = reduceDims.sorted()
2774 |
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:2786:13: warning: initialization of immutable value 'outputCount' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
2784 |             if !reduceDimSorted.contains(i) { outputShape.append(s) }
2785 |         }
2786 |         let outputCount = max(outputShape.reduce(1, *), 1)
     |             `- warning: initialization of immutable value 'outputCount' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
2787 |
2788 |         // innerSize = product of dims after last reduce dim
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:2790:13: warning: initialization of immutable value 'innerSize' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
2788 |         // innerSize = product of dims after last reduce dim
2789 |         let lastReduceDim = reduceDimSorted.last ?? 0
2790 |         let innerSize = lastReduceDim + 1 < inputShape.count
     |             `- warning: initialization of immutable value 'innerSize' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
2791 |             ? inputShape.suffix(from: lastReduceDim + 1).reduce(1, *)
2792 |             : 1
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:3038:13: warning: initialization of immutable value 'outputCount' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
3036 |             outputShape.append(s)
3037 |         }
3038 |         let outputCount = max(outputShape.reduce(1, *), 1)
     |             `- warning: initialization of immutable value 'outputCount' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
3039 |
3040 |         // innerSize = product of dims after the last reduced dim, so the scan
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:3043:13: warning: initialization of immutable value 'innerSize' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
3041 |         // strides over the reduce axis correctly for non-trailing reductions.
3042 |         let lastReduceDim = reduceDimSorted.last ?? 0
3043 |         let innerSize = lastReduceDim + 1 < inputShape.count
     |             `- warning: initialization of immutable value 'innerSize' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
3044 |             ? inputShape.suffix(from: lastReduceDim + 1).reduce(1, *)
3045 |             : 1
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:3435:13: warning: initialization of immutable value 'batchSize' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
3433 |
3434 |         let totalOutputElements = outputShape.reduce(1, *)
3435 |         let batchSize = totalOutputElements / (fftType == .rfft ? (N / 2 + 1) : N)
     |             `- warning: initialization of immutable value 'batchSize' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
3436 |         let isInverse = (fftType == .ifft || fftType == .irfft)
3437 |         let sign = isInverse ? "1.0" : "-1.0"
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:4329:13: warning: initialization of immutable value 'sm' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
4327 |     private func generateMatMul2dNAXSource() -> (String, String, TuningConfig?) {
4328 |         let c = CodeGenerator.naxGemmConfig()
4329 |         let sm = c.bm / c.wm
     |             `- warning: initialization of immutable value 'sm' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
4330 |         let sn = c.bn / c.wn
4331 |         let nsg = c.wm * c.wn
/Users/admin/builder/spi-builder-workspace/Sources/MetalHLOCore/Compiler/CodeGenerator.swift:4330:13: warning: initialization of immutable value 'sn' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
4328 |         let c = CodeGenerator.naxGemmConfig()
4329 |         let sm = c.bm / c.wm
4330 |         let sn = c.bn / c.wn
     |             `- warning: initialization of immutable value 'sn' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
4331 |         let nsg = c.wm * c.wn
4332 |         // MLX uses swizzle_log=2 for 's'/Pro devices: reshapes the launch grid
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
/Users/admin/builder/spi-builder-workspace/Sources/DepthAttentionBenchmark/main.swift:341:17: warning: initialization of immutable value 'params' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
339 |         for i in 0..<numCalls {
340 |             let depth = i + 2
341 |             let params = DepthAttentionParams(batchSize: batchSize, depthDim: depth, hiddenDim: hiddenDim, scale: scale)
    |                 `- warning: initialization of immutable value 'params' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
342 |             let numSG = DepthAttentionKernel.optimalSimdgroups(hiddenDim: hiddenDim)
343 |             var gpuParams = GPUDepthAttentionParamsPublic(
/Users/admin/builder/spi-builder-workspace/Sources/DepthAttentionBenchmark/main.swift:410:9: warning: initialization of immutable value 'layersPerBlock' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
408 |     let numLayers = 12
409 |     let numBlocks = 8
410 |     let layersPerBlock = numLayers / numBlocks
    |         `- warning: initialization of immutable value 'layersPerBlock' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
411 |     let hiddenDim = 768
412 |     let scale: Float = 1.0 / sqrt(Float(hiddenDim))
/Users/admin/builder/spi-builder-workspace/Sources/DepthAttentionBenchmark/main.swift:420:13: warning: initialization of immutable value 'matmulElements' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
418 |     for batchSize in [1, 4, 8, 16, 32] {
419 |         let totalQ = batchSize * hiddenDim
420 |         let matmulElements = batchSize * hiddenDim * hiddenDim
    |             `- warning: initialization of immutable value 'matmulElements' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
421 |
422 |         // Allocate weight matrix and hidden state buffers
/Users/admin/builder/spi-builder-workspace/Sources/DepthAttentionBenchmark/main.swift:425:13: warning: initialization of immutable value 'weightBuf' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
423 |         var weightData = [Float](repeating: 0, count: hiddenDim * hiddenDim)
424 |         for i in 0..<weightData.count { weightData[i] = Float.random(in: -0.01...0.01) }
425 |         let weightBuf = device.makeBuffer(bytes: weightData, length: hiddenDim * hiddenDim * 4, options: .storageModeShared)!
    |             `- warning: initialization of immutable value 'weightBuf' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
426 |
427 |         var hData = [Float](repeating: 0, count: totalQ)
/Users/admin/builder/spi-builder-workspace/Sources/DepthAttentionBenchmark/main.swift:429:13: warning: initialization of immutable value 'hBuf' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
427 |         var hData = [Float](repeating: 0, count: totalQ)
428 |         for i in 0..<totalQ { hData[i] = Float.random(in: -0.5...0.5) }
429 |         let hBuf = device.makeBuffer(bytes: hData, length: totalQ * 4, options: .storageModeShared)!
    |             `- warning: initialization of immutable value 'hBuf' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
430 |         let outBuf = device.makeBuffer(length: totalQ * 4, options: .storageModeShared)!
431 |
/Users/admin/builder/spi-builder-workspace/Sources/DepthAttentionBenchmark/main.swift:430:13: warning: initialization of immutable value 'outBuf' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
428 |         for i in 0..<totalQ { hData[i] = Float.random(in: -0.5...0.5) }
429 |         let hBuf = device.makeBuffer(bytes: hData, length: totalQ * 4, options: .storageModeShared)!
430 |         let outBuf = device.makeBuffer(length: totalQ * 4, options: .storageModeShared)!
    |             `- warning: initialization of immutable value 'outBuf' was never used; consider replacing with assignment to '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
431 |
432 |         // --- Standard path: 12 matmuls (simulate layer compute), no depth attention ---
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
Build complete.
{
  "dependencies" : [
    {
      "identity" : "mlx-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.21.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ml-explore/mlx-swift"
    }
  ],
  "manifest_display_name" : "MetalHLO",
  "name" : "MetalHLO",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "MetalHLO",
      "targets" : [
        "MetalHLO"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CMetalHLO",
      "targets" : [
        "CMetalHLO"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "PJRTMetalHLO",
      "targets" : [
        "PJRTMetalHLO"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "ANERuntime",
      "targets" : [
        "ANERuntime"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MetalHLOBenchmarks",
      "targets" : [
        "MetalHLOBenchmarks"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MLXBenchmarks",
      "targets" : [
        "MLXBenchmarks"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "benchmark-runner",
      "targets" : [
        "BenchmarkRunner"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "mlx-comparison",
      "targets" : [
        "MLXComparison"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "HeterogeneousFusionBenchmark",
      "targets" : [
        "HeterogeneousFusionBenchmark"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "GPT2EndToEnd",
      "targets" : [
        "GPT2EndToEnd"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "DepthAttentionBenchmark",
      "targets" : [
        "DepthAttentionBenchmark"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "CalibrateTest",
      "targets" : [
        "CalibrateTest"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "PJRTMetalHLOTests",
      "module_type" : "SwiftTarget",
      "name" : "PJRTMetalHLOTests",
      "path" : "Tests/PJRTMetalHLOTests",
      "sources" : [
        "PJRTPluginTests.swift"
      ],
      "target_dependencies" : [
        "PJRTMetalHLO",
        "MetalHLO"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PJRTMetalHLO",
      "module_type" : "SwiftTarget",
      "name" : "PJRTMetalHLO",
      "path" : "Sources/PJRTMetalHLO",
      "product_memberships" : [
        "PJRTMetalHLO"
      ],
      "sources" : [
        "OpaquePointerHelpers.swift",
        "PJRTApi.swift",
        "PJRTBuffer.swift",
        "PJRTClient.swift",
        "PJRTDevice.swift",
        "PJRTError.swift",
        "PJRTEvent.swift",
        "PJRTExecutable.swift",
        "PJRTMemory.swift",
        "PJRTTopology.swift"
      ],
      "target_dependencies" : [
        "MetalHLO",
        "MetalHLOCore",
        "CPJRTApi",
        "ANERuntime"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MetalHLOTests",
      "module_type" : "SwiftTarget",
      "name" : "MetalHLOTests",
      "path" : "Tests/MetalHLOTests",
      "sources" : [
        "ActivationOpsTests.swift",
        "CAPITests.swift",
        "ClientTests.swift",
        "Conformance/ConformanceAnalyzer.swift",
        "Conformance/ConformanceTestCLI.swift",
        "Conformance/ConformanceTestRunner.swift",
        "Conformance/StableHLO/IndexingConformanceTests.swift",
        "Conformance/StableHLO/IndexingOperationsDiagnostic.swift",
        "Conformance/StableHLO/InterpretTestParser.swift",
        "Conformance/StableHLO/InterpretTestRunner.swift",
        "Conformance/StableHLO/OfficialConformanceTests.swift",
        "Conformance/StableHLO/OfficialTestManager.swift",
        "Conformance/StableHLO/OptimizationBugDiagnostic.swift",
        "Conformance/StableHLO/OptimizationCorrectnessTests.swift",
        "Conformance/StableHLOConformanceTests.swift",
        "Conformance/StableHLOTestManager.swift",
        "Conformance/StableHLOTestParser.swift",
        "ConstantHandlingTests.swift",
        "ControlFlowTests.swift",
        "IndexingOpsTests.swift",
        "IntegrationTests.swift",
        "LinalgMPSTests.swift",
        "NewOpsTests.swift",
        "OperationTests.swift",
        "ProducerConsumerFusionBugTest.swift",
        "QuickWinsOpsTests.swift",
        "RNGTypesTests.swift",
        "TlalocCompatibilityTests.swift",
        "TrainingOpsTests.swift"
      ],
      "target_dependencies" : [
        "MetalHLO",
        "CMetalHLO"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MetalHLOCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "MetalHLOCoreTests",
      "path" : "Tests/MetalHLOCoreTests",
      "sources" : [
        "ANE/MILEmitterTests.swift",
        "ANE/MILWeightPackerTests.swift",
        "AllReduceTest.swift",
        "AnalyzerTests.swift",
        "ArgReduceTest.swift",
        "Atan2Test.swift",
        "AttentionRoutingTest.swift",
        "CanonicalizersTests.swift",
        "CaseSwitchTest.swift",
        "CodegenTests.swift",
        "CrossEntropyTest.swift",
        "CrossLayerFusionTests.swift",
        "CumsumTest.swift",
        "CustomCallTests.swift",
        "DepthAttentionTests.swift",
        "ElementwiseChainTypeTest.swift",
        "GatherBatchingTests.swift",
        "GatherMLIRFormatTest.swift",
        "HLOOptimizerTests.swift",
        "HeterogeneousIntegrationTests.swift",
        "HostCallbackTest.swift",
        "IntegratedExecutorTests.swift",
        "KernelCacheTests.swift",
        "KernelDispatchRegressionTests.swift",
        "LLMOptimizationsTests.swift",
        "LapackRoutingTest.swift",
        "LexerTests.swift",
        "MILFusionTests.swift",
        "ManualComputationTest.swift",
        "MemoryPlanningTests.swift",
        "MetalKernelTests.swift",
        "NeuralEngineTargetingTests.swift",
        "OptimizationBarrierTest.swift",
        "ParserTests.swift",
        "PartitionerTests.swift",
        "PassManagerTests.swift",
        "PatternCodegenTests.swift",
        "PermutationUtilsTests.swift",
        "ProfileGuidedOptimizationTests.swift",
        "QuantizationAwareTests.swift",
        "ReducePrecisionTest.swift",
        "ReduceTest.swift",
        "RematerializationTests.swift",
        "ReshapeViewLivenessTest.swift",
        "ScatterTest.swift",
        "SearchSortedTest.swift",
        "SharedIOSurfaceTests.swift",
        "SortTest.swift",
        "SpecialFunctionsTest.swift",
        "ThreefryRngTest.swift",
        "TopKTest.swift",
        "TuningTests.swift",
        "ZeroAllocExecutionTests.swift"
      ],
      "target_dependencies" : [
        "MetalHLOCore",
        "MetalHLO"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MetalHLOCore",
      "module_type" : "SwiftTarget",
      "name" : "MetalHLOCore",
      "path" : "Sources/MetalHLOCore",
      "product_memberships" : [
        "MetalHLO",
        "CMetalHLO",
        "PJRTMetalHLO",
        "MetalHLOBenchmarks",
        "MLXBenchmarks",
        "benchmark-runner",
        "mlx-comparison",
        "DepthAttentionBenchmark"
      ],
      "sources" : [
        "ANE/CoreMLOpBuilder.swift",
        "ANE/MILEmitter.swift",
        "ANE/MILFusionRewriter.swift",
        "ANE/MILOpTranslator.swift",
        "ANE/MILTextBuilder.swift",
        "ANE/MILTypeMapper.swift",
        "ANE/MILWeightPacker.swift",
        "Cache/KernelCache.swift",
        "Codegen/KernelSpecializer.swift",
        "Codegen/MetalEmitter.swift",
        "Codegen/MetalIR.swift",
        "Codegen/PatternCodegen.swift",
        "Codegen/ReductionKernelGenerator.swift",
        "Codegen/SpecializedAttention.swift",
        "Codegen/SpecializedMatMul.swift",
        "Codegen/TileCalculator.swift",
        "Compiler/Analyzer.swift",
        "Compiler/CodeGenerator.swift",
        "Compiler/CustomCallHandlers.swift",
        "Compiler/EmbeddedAttentionSplitter.swift",
        "Compiler/IntegrationTypes.swift",
        "Compiler/KernelTypes.swift",
        "Compiler/MPSGraphCompiler.swift",
        "Compiler/MetalHLOCompiler.swift",
        "Compiler/NAXGemmBundle.swift",
        "Compiler/OpEmitter.swift",
        "Compiler/PassManager.swift",
        "Compiler/ReductionSplitTransform.swift",
        "Compiler/TF32Transform.swift",
        "IR/Attributes.swift",
        "IR/HLOFunction.swift",
        "IR/HLOModule.swift",
        "IR/HLOOpKind.swift",
        "IR/HLOOperation.swift",
        "IR/NarrowFloat.swift",
        "IR/TensorType.swift",
        "LLM/LLMOptimizations.swift",
        "Memory/StaticMemoryPlanner.swift",
        "Metal/Kernels/DepthAttentionKernel.swift",
        "Metal/Kernels/FlashAttentionKernel.swift",
        "Metal/Kernels/GELUKernel.swift",
        "Metal/Kernels/KernelRegistry.swift",
        "Metal/Kernels/LayerNormKernel.swift",
        "Metal/Kernels/MetalKernel.swift",
        "Metal/Kernels/SoftmaxKernel.swift",
        "Metal/Kernels/UnaryKernels.swift",
        "Optimizer/AlgebraicSimplifier.swift",
        "Optimizer/BufferAssignment.swift",
        "Optimizer/Canonicalizers.swift",
        "Optimizer/CostModel.swift",
        "Optimizer/CrossLayerFusion.swift",
        "Optimizer/FunctionInliner.swift",
        "Optimizer/FusionPatterns.swift",
        "Optimizer/HLOOptimizer.swift",
        "Optimizer/HLOPattern.swift",
        "Optimizer/HorizontalFusion.swift",
        "Optimizer/LayoutAssignment.swift",
        "Optimizer/ProducerConsumerFusion.swift",
        "Optimizer/ProfileGuidedOptimization.swift",
        "Optimizer/QuantizationAware.swift",
        "Optimizer/Rematerialization.swift",
        "Optimizer/SiblingFusion.swift",
        "Optimizer/WhileLoopUnroller.swift",
        "Parser/ChloExpansion.swift",
        "Parser/Lexer.swift",
        "Parser/NarrowFloatLegalization.swift",
        "Parser/ParseError.swift",
        "Parser/Parser.swift",
        "Parser/Token.swift",
        "Runtime/BufferStorage.swift",
        "Runtime/CompilationCache.swift",
        "Runtime/IntegratedExecutor.swift",
        "Runtime/LargeTensorPool.swift",
        "Runtime/LargeTensorStorage.swift",
        "Runtime/LayerAccumulationBuffer.swift",
        "Runtime/MetalExecutor.swift",
        "Runtime/NeuralEngineTargeting.swift",
        "Runtime/SharedIOSurfaceBuffer.swift",
        "Runtime/StridedTensorView.swift",
        "Runtime/SubFunctionExtractor.swift",
        "Runtime/TensorTransferManager.swift",
        "Runtime/ZeroAllocExecutor.swift",
        "Tuning/AutoTuner.swift",
        "Tuning/TuningDatabase.swift",
        "Utils/PermutationUtils.swift"
      ],
      "target_dependencies" : [
        "ANERuntime"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MetalHLOBenchmarks",
      "module_type" : "SwiftTarget",
      "name" : "MetalHLOBenchmarks",
      "path" : "Sources/MetalHLOBenchmarks",
      "product_memberships" : [
        "MetalHLOBenchmarks",
        "MLXBenchmarks",
        "benchmark-runner",
        "mlx-comparison",
        "DepthAttentionBenchmark"
      ],
      "sources" : [
        "BenchmarkResult.swift",
        "BenchmarkRunner.swift",
        "CompilerBenchmarks.swift",
        "FusionAnalysisBenchmarks.swift",
        "GPUMetrics.swift",
        "MemoryBenchmarks.swift",
        "ModelBenchmarks.swift",
        "OperationBenchmarks.swift",
        "PowerEfficiencyBenchmarks.swift",
        "TestDataGenerator.swift"
      ],
      "target_dependencies" : [
        "MetalHLO"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MetalHLO",
      "module_type" : "SwiftTarget",
      "name" : "MetalHLO",
      "path" : "Sources/MetalHLO",
      "product_memberships" : [
        "MetalHLO",
        "CMetalHLO",
        "PJRTMetalHLO",
        "MetalHLOBenchmarks",
        "MLXBenchmarks",
        "benchmark-runner",
        "mlx-comparison",
        "DepthAttentionBenchmark"
      ],
      "sources" : [
        "Buffer.swift",
        "Client.swift",
        "CompilationConfig.swift",
        "ElementType.swift",
        "Errors.swift",
        "Executable.swift",
        "MetalHLO.swift",
        "TensorType.swift"
      ],
      "target_dependencies" : [
        "MetalHLOCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MLXComparison",
      "module_type" : "SwiftTarget",
      "name" : "MLXComparison",
      "path" : "Sources/MLXComparison",
      "product_memberships" : [
        "mlx-comparison"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "MLXBenchmarks",
        "MetalHLOBenchmarks"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "MLXBenchmarks",
      "module_type" : "SwiftTarget",
      "name" : "MLXBenchmarks",
      "path" : "Sources/MLXBenchmarks",
      "product_dependencies" : [
        "MLX",
        "MLXRandom"
      ],
      "product_memberships" : [
        "MLXBenchmarks",
        "mlx-comparison"
      ],
      "sources" : [
        "MLXBenchmarks.swift"
      ],
      "target_dependencies" : [
        "MetalHLOBenchmarks"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HeterogeneousFusionBenchmark",
      "module_type" : "SwiftTarget",
      "name" : "HeterogeneousFusionBenchmark",
      "path" : "Sources/HeterogeneousFusionBenchmark",
      "product_memberships" : [
        "HeterogeneousFusionBenchmark"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "HeterogeneousFusion"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "HeterogeneousFusion",
      "module_type" : "SwiftTarget",
      "name" : "HeterogeneousFusion",
      "path" : "Sources/HeterogeneousFusion",
      "product_memberships" : [
        "HeterogeneousFusionBenchmark",
        "GPT2EndToEnd",
        "CalibrateTest"
      ],
      "sources" : [
        "AttentionExecutor.swift",
        "BenchmarkHarness.swift",
        "ColumnSplitHelper.swift",
        "ComputeUnit.swift",
        "ContentionModel.swift",
        "ConvolutionCPU.swift",
        "ConvolutionGPU.swift",
        "ConvolutionMPS.swift",
        "ElementwiseCPU.swift",
        "ElementwiseGPU.swift",
        "EligibilityAnnotationPass.swift",
        "EmbeddingCPU.swift",
        "EmbeddingGPU.swift",
        "FusedExecutor.swift",
        "FusedMatmul.swift",
        "HardwareCalibration.swift",
        "HardwareMonitor.swift",
        "HardwareProfile.swift",
        "HeteroGraph.swift",
        "HeterogeneousError.swift",
        "HeterogeneousPartitioningPass.swift",
        "LayerNormCPU.swift",
        "LayerNormGPU.swift",
        "MatmulANE.swift",
        "MatmulCPU.swift",
        "MatmulGPU.swift",
        "OpFusionPass.swift",
        "OptimalSplitter.swift",
        "PartitionDescriptor.swift",
        "ProfileDatabase.swift",
        "ProfitabilityGuard.swift",
        "SequentialScheduler.swift",
        "SoftmaxCPU.swift",
        "SoftmaxGPU.swift",
        "ThroughputCurve.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "GPT2EndToEnd",
      "module_type" : "SwiftTarget",
      "name" : "GPT2EndToEnd",
      "path" : "Sources/GPT2EndToEnd",
      "product_memberships" : [
        "GPT2EndToEnd"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "HeterogeneousFusion"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "DepthAttentionBenchmark",
      "module_type" : "SwiftTarget",
      "name" : "DepthAttentionBenchmark",
      "path" : "Sources/DepthAttentionBenchmark",
      "product_memberships" : [
        "DepthAttentionBenchmark"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "MetalHLOCore",
        "MetalHLOBenchmarks"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "CalibrateTest",
      "module_type" : "SwiftTarget",
      "name" : "CalibrateTest",
      "path" : "Sources/CalibrateTest",
      "product_memberships" : [
        "CalibrateTest"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "HeterogeneousFusion"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "CPJRTApi",
      "module_type" : "ClangTarget",
      "name" : "CPJRTApi",
      "path" : "Sources/CPJRTApi",
      "product_memberships" : [
        "PJRTMetalHLO"
      ],
      "sources" : [
        "shim.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CMetalHLO",
      "module_type" : "SwiftTarget",
      "name" : "CMetalHLO",
      "path" : "Sources/CMetalHLO",
      "product_memberships" : [
        "CMetalHLO"
      ],
      "sources" : [
        "CInterface.swift"
      ],
      "target_dependencies" : [
        "MetalHLO",
        "ANERuntime"
      ],
      "type" : "library"
    },
    {
      "c99name" : "BenchmarkRunner",
      "module_type" : "SwiftTarget",
      "name" : "BenchmarkRunner",
      "path" : "Sources/BenchmarkRunner",
      "product_memberships" : [
        "benchmark-runner"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "MetalHLOBenchmarks"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ANERuntimeTests",
      "module_type" : "SwiftTarget",
      "name" : "ANERuntimeTests",
      "path" : "Tests/ANERuntimeTests",
      "sources" : [
        "ANEAvailabilityTests.swift",
        "ANEBufferTests.swift",
        "ANECompileCounterTests.swift",
        "ANEDeviceTests.swift",
        "ANEMILIntegrationTests.swift",
        "ANEWatchdogTests.swift",
        "CoreMLBridgeTests.swift"
      ],
      "target_dependencies" : [
        "ANERuntime",
        "MetalHLOCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ANERuntime",
      "module_type" : "SwiftTarget",
      "name" : "ANERuntime",
      "path" : "Sources/ANERuntime",
      "product_memberships" : [
        "MetalHLO",
        "CMetalHLO",
        "PJRTMetalHLO",
        "ANERuntime",
        "MetalHLOBenchmarks",
        "MLXBenchmarks",
        "benchmark-runner",
        "mlx-comparison",
        "DepthAttentionBenchmark"
      ],
      "sources" : [
        "ANEAvailability.swift",
        "ANEBuffer.swift",
        "ANEDevice.swift",
        "ANEError.swift",
        "ANEProgram.swift",
        "ANEWatchdog.swift",
        "CompileCounter.swift",
        "CoreMLBridge.swift",
        "CoreMLModelBuilder.swift",
        "CoreMLOp.swift",
        "CoreMLProgram.swift",
        "MILWeightTemplate.swift",
        "Protobuf/CoreMLProto.swift",
        "Protobuf/ProtobufWriter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Done.