Build Information
Successful build of OpenCoreAnimation, reference main (54df4b), with Swift 6.3 for Wasm on 28 Apr 2026 06:22:29 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/1amageek/OpenCoreAnimation.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/1amageek/OpenCoreAnimation
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 54df4bc Fix texture cache identity collisions via owning-CGImage keys
Cloned https://github.com/1amageek/OpenCoreAnimation.git
Revision (git rev-parse @):
54df4bced8f6c392222d51612082a5fa283e4288
SUCCESS checkout https://github.com/1amageek/OpenCoreAnimation.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/1amageek/OpenCoreAnimation.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/1amageek/OpenCoreGraphics.git
[1/599] Fetching opencoregraphics
Fetched https://github.com/1amageek/OpenCoreGraphics.git from cache (0.31s)
Fetching https://github.com/1amageek/swift-webgpu.git
[1/52] Fetching swift-webgpu
Fetched https://github.com/1amageek/swift-webgpu.git from cache (0.34s)
Fetching https://github.com/swiftwasm/JavaScriptKit
[1/36735] Fetching javascriptkit
Fetched https://github.com/swiftwasm/JavaScriptKit from cache (2.53s)
Computing version for https://github.com/swiftwasm/JavaScriptKit
Computed https://github.com/swiftwasm/JavaScriptKit at 0.50.2 (3.30s)
Fetching https://github.com/swiftlang/swift-syntax
[1/75038] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (8.75s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.1 (13.77s)
Creating working copy for https://github.com/1amageek/OpenCoreGraphics.git
Working copy of https://github.com/1amageek/OpenCoreGraphics.git resolved at main (7ab50a7)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 603.0.1
Creating working copy for https://github.com/swiftwasm/JavaScriptKit
Working copy of https://github.com/swiftwasm/JavaScriptKit resolved at 0.50.2
Creating working copy for https://github.com/1amageek/swift-webgpu.git
Working copy of https://github.com/1amageek/swift-webgpu.git resolved at main (df2bc6a)
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.1/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.1/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz (0.69s)
[1/1] Compiling plugin BridgeJSCommandPlugin
[2/2] Compiling plugin BridgeJS
[3/3] Compiling plugin PackageToJS
Building for debugging...
[3/15] Write sources
[9/15] Compiling _CJavaScriptEventLoop _CJavaScriptEventLoop.c
[10/15] Compiling _CJavaScriptKit _CJavaScriptKit.c
[11/15] Write swift-version-24593BA9C3E375BF.txt
[13/22] Compiling BridgeJSMacros JSMacroSupport.swift
[14/22] Compiling BridgeJSMacros JSFunctionMacro.swift
[15/22] Compiling BridgeJSMacros JSGetterMacro.swift
[16/22] Compiling BridgeJSMacros JSSetterMacro.swift
[17/22] Compiling BridgeJSMacros JSClassMacro.swift
[18/22] Emitting module BridgeJSMacros
[19/22] Compiling BridgeJSMacros BridgeJSMacrosPlugin.swift
[20/23] Wrapping AST for BridgeJSMacros for debugging
[21/23] Write Objects.LinkFileList
[22/23] Linking BridgeJSMacros-tool
[24/47] Emitting module JavaScriptKit
[25/50] Compiling JavaScriptKit JSValueDecoder.swift
[26/50] Compiling JavaScriptKit Macros.swift
[27/50] Compiling JavaScriptKit ThreadLocal.swift
[28/50] Compiling JavaScriptKit JSArray.swift
[29/50] Compiling JavaScriptKit JSDate.swift
[30/50] Compiling JavaScriptKit JSError.swift
[31/50] Compiling JavaScriptKit JSPromise.swift
[32/50] Compiling JavaScriptKit JSTracing.swift
[33/50] Compiling JavaScriptKit JSUndefinedOr.swift
[34/50] Compiling JavaScriptKit JSValue.swift
[35/50] Compiling JavaScriptKit JSThrowingFunction.swift
[36/50] Compiling JavaScriptKit JSBridgedType.swift
[37/50] Compiling JavaScriptKit JSException.swift
[38/50] Compiling JavaScriptKit JSBigInt.swift
[39/50] Compiling JavaScriptKit JSClosure.swift
[40/50] Compiling JavaScriptKit JSObject+CallAsFunction.swift
[41/50] Compiling JavaScriptKit ConvertibleToJSValue.swift
[42/50] Compiling JavaScriptKit Deprecated.swift
[43/50] Compiling JavaScriptKit Features.swift
[44/50] Compiling JavaScriptKit JSObject.swift
[45/50] Compiling JavaScriptKit JSString.swift
[46/50] Compiling JavaScriptKit JSSymbol.swift
[47/50] Compiling JavaScriptKit JSTimer.swift
[48/50] Compiling JavaScriptKit JSTypedArray.swift
[49/50] Compiling JavaScriptKit BridgeJSIntrinsics.swift
[50/50] Compiling JavaScriptKit ConstructibleFromJSValue.swift
[52/59] Compiling JavaScriptEventLoop JavaScriptEventLoop+LegacyHooks.swift
[53/59] Compiling JavaScriptEventLoop JavaScriptEventLoop.swift
[54/60] Compiling JavaScriptEventLoop JavaScriptEventLoop+ExecutorFactory.swift
[55/60] Compiling JavaScriptEventLoop JSSending.swift
[56/60] Compiling JavaScriptEventLoop JSRemote.swift
[57/60] Emitting module JavaScriptEventLoop
[58/60] Compiling JavaScriptEventLoop JobQueue.swift
[59/60] Compiling JavaScriptEventLoop WebWorkerDedicatedExecutor.swift
[60/60] Compiling JavaScriptEventLoop WebWorkerTaskExecutor.swift
[62/76] Compiling SwiftWebGPU GPURenderPipeline.swift
[63/76] Compiling SwiftWebGPU GPUSampler.swift
[64/76] Compiling SwiftWebGPU GPUErrors.swift
[65/76] Compiling SwiftWebGPU GPUFlags.swift
[66/78] Emitting module SwiftWebGPU
[67/78] Compiling SwiftWebGPU GPUQueue.swift
[68/78] Compiling SwiftWebGPU GPURenderPassEncoder.swift
[69/78] Compiling SwiftWebGPU GPUDevice.swift
[70/78] Compiling SwiftWebGPU GPUEnums.swift
[71/78] Compiling SwiftWebGPU GPUBindGroup.swift
[72/78] Compiling SwiftWebGPU GPUBuffer.swift
[73/78] Compiling SwiftWebGPU GPU.swift
[74/78] Compiling SwiftWebGPU GPUAdapter.swift
[75/78] Compiling SwiftWebGPU GPUCanvasContext.swift
[76/78] Compiling SwiftWebGPU GPUCommandEncoder.swift
[77/78] Compiling SwiftWebGPU GPUShaderModule.swift
[78/78] Compiling SwiftWebGPU GPUTexture.swift
[80/131] Compiling OpenCoreGraphics CGPointConformances.swift
[81/131] Compiling OpenCoreGraphics CGRectConformances.swift
[82/131] Compiling OpenCoreGraphics CGSizeConformances.swift
[83/131] Compiling OpenCoreGraphics CGAffineTransform.swift
[84/131] Compiling OpenCoreGraphics CGAffineTransformComponents.swift
[85/131] Compiling OpenCoreGraphics CGGeometryExtensions.swift
[86/131] Compiling OpenCoreGraphics CGVector.swift
[87/131] Compiling OpenCoreGraphics CGBitmapInfo.swift
[88/138] Compiling OpenCoreGraphics CGFunction.swift
[89/138] Compiling OpenCoreGraphics CGGradient.swift
[90/138] Compiling OpenCoreGraphics CGGradientDrawingOptions.swift
[91/138] Compiling OpenCoreGraphics CGImage.swift
[92/138] Compiling OpenCoreGraphics CGImageAlphaInfo.swift
[93/138] Compiling OpenCoreGraphics CGImageComponentInfo.swift
[94/138] Compiling OpenCoreGraphics CGInterpolationQuality.swift
[95/138] Emitting module OpenCoreGraphics
[96/138] Compiling OpenCoreGraphics CGBitmapParameters.swift
[97/138] Compiling OpenCoreGraphics CGBlendMode.swift
[98/138] Compiling OpenCoreGraphics CGColor.swift
[99/138] Compiling OpenCoreGraphics CGColorConversionInfo.swift
[100/138] Compiling OpenCoreGraphics CGColorModel.swift
[101/138] Compiling OpenCoreGraphics CGColorSpace.swift
[102/138] Compiling OpenCoreGraphics CGComponent.swift
[103/138] Compiling OpenCoreGraphics CGContentInfo.swift
[104/138] Compiling OpenCoreGraphics CGPath.swift
[105/138] Compiling OpenCoreGraphics CGPathEnums.swift
[106/138] Compiling OpenCoreGraphics CGPattern.swift
[107/138] Compiling OpenCoreGraphics CGRenderingBufferProvider.swift
[108/138] Compiling OpenCoreGraphics CGShading.swift
[109/138] Compiling OpenCoreGraphics CGTextDrawingMode.swift
[110/138] Compiling OpenCoreGraphics Data+BinaryReading.swift
[111/138] Compiling OpenCoreGraphics CGContentToneMappingInfo.swift
[112/138] Compiling OpenCoreGraphics CGContext.swift
[113/138] Compiling OpenCoreGraphics CGContextRendererDelegate.swift
[114/138] Compiling OpenCoreGraphics CGDataConsumer.swift
[115/138] Compiling OpenCoreGraphics CGDataProvider.swift
[116/138] Compiling OpenCoreGraphics CGError.swift
[117/138] Compiling OpenCoreGraphics CGFont.swift
[118/138] Compiling OpenCoreGraphics GeometryCache.swift
[119/138] Compiling OpenCoreGraphics PipelineRegistry.swift
[120/138] Compiling OpenCoreGraphics TextureManager.swift
[121/138] Compiling OpenCoreGraphics PathTessellator.swift
[122/138] Compiling OpenCoreGraphics Shaders.swift
[123/138] Compiling OpenCoreGraphics StrokeGenerator.swift
[124/138] Compiling OpenCoreGraphics Vertex.swift
[125/138] Compiling OpenCoreGraphics CGLayer.swift
[126/138] Compiling OpenCoreGraphics CGMutablePath.swift
[127/138] Compiling OpenCoreGraphics CGPDFDocument.swift
[128/138] Compiling OpenCoreGraphics CGPDFObject.swift
[129/138] Compiling OpenCoreGraphics CGPDFPage.swift
[130/138] Compiling OpenCoreGraphics CGPDFScanner.swift
[131/138] Compiling OpenCoreGraphics CGPDFTypes.swift
[132/138] Compiling OpenCoreGraphics FontTables.swift
[133/138] Compiling OpenCoreGraphics SFNTParser.swift
[134/138] Compiling OpenCoreGraphics OpenCoreGraphics.swift
[135/138] Compiling OpenCoreGraphics CGWebGPUContextRenderer.swift
[136/138] Compiling OpenCoreGraphics CGWebGPURenderer.swift
[137/138] Compiling OpenCoreGraphics EarClipping.swift
[138/138] Compiling OpenCoreGraphics BufferPool.swift
[140/205] Compiling OpenCoreAnimation CALayerContentsFormat.swift
[141/205] Compiling OpenCoreAnimation CALayerContentsGravity.swift
[142/205] Compiling OpenCoreAnimation CALayerCornerCurve.swift
[143/205] Compiling OpenCoreAnimation CALayerDelegate.swift
[144/205] Compiling OpenCoreAnimation CALayoutManager.swift
[145/205] Compiling OpenCoreAnimation CAMediaTiming.swift
[146/205] Compiling OpenCoreAnimation CAMediaTimingFillMode.swift
[147/205] Compiling OpenCoreAnimation CAMediaTimingFunction.swift
[148/205] Compiling OpenCoreAnimation CAMediaTimingFunctionName.swift
[149/214] Compiling OpenCoreAnimation CAMetalRenderer.swift
[150/214] Compiling OpenCoreAnimation CAPropertyAnimation.swift
[151/214] Compiling OpenCoreAnimation CARenderer.swift
[152/214] Compiling OpenCoreAnimation CARendererDelegate.swift
[153/214] Compiling OpenCoreAnimation CAReplicatorLayer.swift
[154/214] Compiling OpenCoreAnimation CAScrollLayer.swift
[155/214] Compiling OpenCoreAnimation CAScrollLayerScrollMode.swift
[156/214] Compiling OpenCoreAnimation CAShapeLayer.swift
[157/214] Compiling OpenCoreAnimation CAShapeLayerFillRule.swift
[158/214] Compiling OpenCoreAnimation CAConstraintAttribute.swift
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CADisplayLinkWASM.swift:243:33: warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
241 | }
242 | // Release the closure to prevent memory leaks
243 | animationFrameCallback?.release()
| `- warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
244 | animationFrameCallback = nil
245 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[159/214] Compiling OpenCoreAnimation CAConstraintLayoutManager.swift
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CADisplayLinkWASM.swift:243:33: warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
241 | }
242 | // Release the closure to prevent memory leaks
243 | animationFrameCallback?.release()
| `- warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
244 | animationFrameCallback = nil
245 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[160/214] Compiling OpenCoreAnimation CACornerMask.swift
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CADisplayLinkWASM.swift:243:33: warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
241 | }
242 | // Release the closure to prevent memory leaks
243 | animationFrameCallback?.release()
| `- warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
244 | animationFrameCallback = nil
245 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[161/214] Compiling OpenCoreAnimation CADisplayLink.swift
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CADisplayLinkWASM.swift:243:33: warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
241 | }
242 | // Release the closure to prevent memory leaks
243 | animationFrameCallback?.release()
| `- warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
244 | animationFrameCallback = nil
245 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[162/214] Compiling OpenCoreAnimation CADisplayLinkNative.swift
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CADisplayLinkWASM.swift:243:33: warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
241 | }
242 | // Release the closure to prevent memory leaks
243 | animationFrameCallback?.release()
| `- warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
244 | animationFrameCallback = nil
245 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[163/214] Compiling OpenCoreAnimation CADisplayLinkWASM.swift
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CADisplayLinkWASM.swift:243:33: warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
241 | }
242 | // Release the closure to prevent memory leaks
243 | animationFrameCallback?.release()
| `- warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
244 | animationFrameCallback = nil
245 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[164/214] Compiling OpenCoreAnimation CAEdgeAntialiasingMask.swift
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CADisplayLinkWASM.swift:243:33: warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
241 | }
242 | // Release the closure to prevent memory leaks
243 | animationFrameCallback?.release()
| `- warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
244 | animationFrameCallback = nil
245 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[165/214] Compiling OpenCoreAnimation CAEmitterCell.swift
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CADisplayLinkWASM.swift:243:33: warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
241 | }
242 | // Release the closure to prevent memory leaks
243 | animationFrameCallback?.release()
| `- warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
244 | animationFrameCallback = nil
245 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[166/214] Compiling OpenCoreAnimation CAEmitterLayer.swift
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CADisplayLinkWASM.swift:243:33: warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
241 | }
242 | // Release the closure to prevent memory leaks
243 | animationFrameCallback?.release()
| `- warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
244 | animationFrameCallback = nil
245 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[167/214] Compiling OpenCoreAnimation CAEmitterLayerEmitterMode.swift
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CADisplayLinkWASM.swift:243:33: warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
241 | }
242 | // Release the closure to prevent memory leaks
243 | animationFrameCallback?.release()
| `- warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
244 | animationFrameCallback = nil
245 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[168/214] Emitting module OpenCoreAnimation
[169/214] Compiling OpenCoreAnimation BufferPool.swift
[170/214] Compiling OpenCoreAnimation GeometryCache.swift
[171/214] Compiling OpenCoreAnimation TextureManager.swift
[172/214] Compiling OpenCoreAnimation CAWebGPUShaders.swift
[173/214] Compiling OpenCoreAnimation GeometryTypes.swift
[174/214] Compiling OpenCoreAnimation Matrix4x4.swift
[175/214] Compiling OpenCoreAnimation ParticleTypes.swift
[176/214] Compiling OpenCoreAnimation RendererTypes.swift
[177/214] Compiling OpenCoreAnimation RunLoop.swift
[178/214] Compiling OpenCoreAnimation CAShapeLayerLineCap.swift
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CATransaction.swift:47:32: warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
45 | #if arch(wasm32)
46 | // Release the closure when the stack is deallocated
47 | implicitCommitClosure?.release()
| `- warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
48 | #endif
49 | }
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CATransaction.swift:299:38: warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
297 | #if arch(wasm32)
298 | // Release any previously held closure
299 | stack.implicitCommitClosure?.release()
| `- warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
300 |
301 | // In WASM, use setTimeout to schedule commit at end of current event loop
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CATransaction.swift:328:38: warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
326 | // Release the closure now that the callback has fired
327 | // This prevents memory leaks from holding onto completed closures
328 | stack.implicitCommitClosure?.release()
| `- warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
329 | stack.implicitCommitClosure = nil
330 | #endif
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[179/214] Compiling OpenCoreAnimation CAShapeLayerLineJoin.swift
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CATransaction.swift:47:32: warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
45 | #if arch(wasm32)
46 | // Release the closure when the stack is deallocated
47 | implicitCommitClosure?.release()
| `- warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
48 | #endif
49 | }
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CATransaction.swift:299:38: warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
297 | #if arch(wasm32)
298 | // Release any previously held closure
299 | stack.implicitCommitClosure?.release()
| `- warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
300 |
301 | // In WASM, use setTimeout to schedule commit at end of current event loop
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CATransaction.swift:328:38: warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
326 | // Release the closure now that the callback has fired
327 | // This prevents memory leaks from holding onto completed closures
328 | stack.implicitCommitClosure?.release()
| `- warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
329 | stack.implicitCommitClosure = nil
330 | #endif
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[180/214] Compiling OpenCoreAnimation CASpringAnimation.swift
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CATransaction.swift:47:32: warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
45 | #if arch(wasm32)
46 | // Release the closure when the stack is deallocated
47 | implicitCommitClosure?.release()
| `- warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
48 | #endif
49 | }
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CATransaction.swift:299:38: warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
297 | #if arch(wasm32)
298 | // Release any previously held closure
299 | stack.implicitCommitClosure?.release()
| `- warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
300 |
301 | // In WASM, use setTimeout to schedule commit at end of current event loop
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CATransaction.swift:328:38: warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
326 | // Release the closure now that the callback has fired
327 | // This prevents memory leaks from holding onto completed closures
328 | stack.implicitCommitClosure?.release()
| `- warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
329 | stack.implicitCommitClosure = nil
330 | #endif
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[181/214] Compiling OpenCoreAnimation CATextLayer.swift
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CATransaction.swift:47:32: warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
45 | #if arch(wasm32)
46 | // Release the closure when the stack is deallocated
47 | implicitCommitClosure?.release()
| `- warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
48 | #endif
49 | }
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CATransaction.swift:299:38: warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
297 | #if arch(wasm32)
298 | // Release any previously held closure
299 | stack.implicitCommitClosure?.release()
| `- warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
300 |
301 | // In WASM, use setTimeout to schedule commit at end of current event loop
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CATransaction.swift:328:38: warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
326 | // Release the closure now that the callback has fired
327 | // This prevents memory leaks from holding onto completed closures
328 | stack.implicitCommitClosure?.release()
| `- warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
329 | stack.implicitCommitClosure = nil
330 | #endif
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[182/214] Compiling OpenCoreAnimation CATiledLayer.swift
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CATransaction.swift:47:32: warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
45 | #if arch(wasm32)
46 | // Release the closure when the stack is deallocated
47 | implicitCommitClosure?.release()
| `- warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
48 | #endif
49 | }
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CATransaction.swift:299:38: warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
297 | #if arch(wasm32)
298 | // Release any previously held closure
299 | stack.implicitCommitClosure?.release()
| `- warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
300 |
301 | // In WASM, use setTimeout to schedule commit at end of current event loop
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CATransaction.swift:328:38: warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
326 | // Release the closure now that the callback has fired
327 | // This prevents memory leaks from holding onto completed closures
328 | stack.implicitCommitClosure?.release()
| `- warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
329 | stack.implicitCommitClosure = nil
330 | #endif
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[183/214] Compiling OpenCoreAnimation CATransaction.swift
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CATransaction.swift:47:32: warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
45 | #if arch(wasm32)
46 | // Release the closure when the stack is deallocated
47 | implicitCommitClosure?.release()
| `- warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
48 | #endif
49 | }
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CATransaction.swift:299:38: warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
297 | #if arch(wasm32)
298 | // Release any previously held closure
299 | stack.implicitCommitClosure?.release()
| `- warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
300 |
301 | // In WASM, use setTimeout to schedule commit at end of current event loop
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CATransaction.swift:328:38: warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
326 | // Release the closure now that the callback has fired
327 | // This prevents memory leaks from holding onto completed closures
328 | stack.implicitCommitClosure?.release()
| `- warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
329 | stack.implicitCommitClosure = nil
330 | #endif
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[184/214] Compiling OpenCoreAnimation CATransform3D.swift
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CATransaction.swift:47:32: warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
45 | #if arch(wasm32)
46 | // Release the closure when the stack is deallocated
47 | implicitCommitClosure?.release()
| `- warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
48 | #endif
49 | }
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CATransaction.swift:299:38: warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
297 | #if arch(wasm32)
298 | // Release any previously held closure
299 | stack.implicitCommitClosure?.release()
| `- warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
300 |
301 | // In WASM, use setTimeout to schedule commit at end of current event loop
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CATransaction.swift:328:38: warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
326 | // Release the closure now that the callback has fired
327 | // This prevents memory leaks from holding onto completed closures
328 | stack.implicitCommitClosure?.release()
| `- warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
329 | stack.implicitCommitClosure = nil
330 | #endif
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[185/214] Compiling OpenCoreAnimation CATransform3DInterpolation.swift
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CATransaction.swift:47:32: warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
45 | #if arch(wasm32)
46 | // Release the closure when the stack is deallocated
47 | implicitCommitClosure?.release()
| `- warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
48 | #endif
49 | }
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CATransaction.swift:299:38: warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
297 | #if arch(wasm32)
298 | // Release any previously held closure
299 | stack.implicitCommitClosure?.release()
| `- warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
300 |
301 | // In WASM, use setTimeout to schedule commit at end of current event loop
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CATransaction.swift:328:38: warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
326 | // Release the closure now that the callback has fired
327 | // This prevents memory leaks from holding onto completed closures
328 | stack.implicitCommitClosure?.release()
| `- warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
329 | stack.implicitCommitClosure = nil
330 | #endif
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[186/214] Compiling OpenCoreAnimation CATransformLayer.swift
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CATransaction.swift:47:32: warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
45 | #if arch(wasm32)
46 | // Release the closure when the stack is deallocated
47 | implicitCommitClosure?.release()
| `- warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
48 | #endif
49 | }
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CATransaction.swift:299:38: warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
297 | #if arch(wasm32)
298 | // Release any previously held closure
299 | stack.implicitCommitClosure?.release()
| `- warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
300 |
301 | // In WASM, use setTimeout to schedule commit at end of current event loop
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CATransaction.swift:328:38: warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
326 | // Release the closure now that the callback has fired
327 | // This prevents memory leaks from holding onto completed closures
328 | stack.implicitCommitClosure?.release()
| `- warning: 'release()' is deprecated: JSClosure.release() is no longer necessary [#DeprecatedDeclaration]
329 | stack.implicitCommitClosure = nil
330 | #endif
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[187/214] Compiling OpenCoreAnimation CAEmitterLayerEmitterShape.swift
[188/214] Compiling OpenCoreAnimation CAEmitterLayerRenderMode.swift
[189/214] Compiling OpenCoreAnimation CAFilter.swift
[190/214] Compiling OpenCoreAnimation CAGradientLayer.swift
[191/214] Compiling OpenCoreAnimation CAGradientLayerType.swift
[192/214] Compiling OpenCoreAnimation CAKeyframeAnimation.swift
[193/214] Compiling OpenCoreAnimation CALayer+Dirty.swift
[194/214] Compiling OpenCoreAnimation CALayer.swift
[195/214] Compiling OpenCoreAnimation CALayerContentsFilter.swift
[196/214] Compiling OpenCoreAnimation CAAction.swift
[197/214] Compiling OpenCoreAnimation CAAnimation.swift
[198/214] Compiling OpenCoreAnimation CAAnimationCalculationMode.swift
[199/214] Compiling OpenCoreAnimation CAAnimationDelegate.swift
[200/214] Compiling OpenCoreAnimation CAAnimationEngine.swift
[201/214] Compiling OpenCoreAnimation CAAnimationGroup.swift
[202/214] Compiling OpenCoreAnimation CAAnimationRotationMode.swift
[203/214] Compiling OpenCoreAnimation CAAutoresizingMask.swift
[204/214] Compiling OpenCoreAnimation CABasicAnimation.swift
[205/214] Compiling OpenCoreAnimation CAConstraint.swift
[206/214] Compiling OpenCoreAnimation CATransition.swift
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:611:29: warning: no calls to throwing functions occur within 'try' expression
609 |
610 | // Request adapter
611 | guard let adapter = try await gpu.requestAdapter() else {
| `- warning: no calls to throwing functions occur within 'try' expression
612 | throw CARendererError.deviceNotAvailable
613 | }
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:1839:19: warning: immutable value 'depthTexture' was never used; consider replacing with '_' or removing it [#no-usage]
1837 | let pipeline = pipeline,
1838 | bindGroup != nil,
1839 | let depthTexture = depthTexture else { return }
| `- warning: immutable value 'depthTexture' was never used; consider replacing with '_' or removing it [#no-usage]
1840 |
1841 | // Phase 1 (PERFORMANCE_DESIGN.md §3.6): bump the per-frame token
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:2200:19: warning: immutable value 'vertexBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
2198 | ) {
2199 | guard let device = device,
2200 | let vertexBuffer = vertexBuffer,
| `- warning: immutable value 'vertexBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
2201 | let uniformBuffer = uniformBuffer,
2202 | let bindGroup = bindGroup else { return }
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:2201:19: warning: immutable value 'uniformBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
2199 | guard let device = device,
2200 | let vertexBuffer = vertexBuffer,
2201 | let uniformBuffer = uniformBuffer,
| `- warning: immutable value 'uniformBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
2202 | let bindGroup = bindGroup else { return }
2203 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:2385:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
2383 |
2384 | // Render sublayers (use model layer hierarchy, but presentation layer's sublayerTransform)
2385 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
2386 | // Use sublayerMatrix helper to apply sublayerTransform and bounds.origin offset
2387 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:2927:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
2925 |
2926 | // Recursively render sublayers
2927 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
2928 | // Use sublayerMatrix helper to apply sublayerTransform and bounds.origin offset
2929 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3034:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
3032 |
3033 | // Recursively render sublayers with the same time offset
3034 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
3035 | // Use sublayerMatrix helper to apply sublayerTransform and bounds.origin offset
3036 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3168:19: warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3166 | modelMatrix: Matrix4x4
3167 | ) {
3168 | guard let texturedPipeline = texturedPipeline,
| `- warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3169 | let texturedBindGroupLayout = texturedBindGroupLayout,
3170 | let textureSampler = textureSampler,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3202:13: warning: initialization of immutable value 'srcCenterWidth' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3200 | // Source pixel sizes for corners/edges
3201 | let srcLeftWidth = center.origin.x * imgW
3202 | let srcCenterWidth = center.size.width * imgW
| `- warning: initialization of immutable value 'srcCenterWidth' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3203 | let srcRightWidth = (1 - center.origin.x - center.size.width) * imgW
3204 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3206:13: warning: initialization of immutable value 'srcCenterHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3204 |
3205 | let srcTopHeight = center.origin.y * imgH
3206 | let srcCenterHeight = center.size.height * imgH
| `- warning: initialization of immutable value 'srcCenterHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3207 | let srcBottomHeight = (1 - center.origin.y - center.size.height) * imgH
3208 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3243:13: warning: initialization of immutable value 'finalCenterHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3241 | let finalTopHeight = destTopHeight * scaleY
3242 | let finalBottomHeight = destBottomHeight * scaleY
3243 | let finalCenterHeight = max(0, boundsHeight - finalTopHeight - finalBottomHeight)
| `- warning: initialization of immutable value 'finalCenterHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3244 |
3245 | // Position coordinates in layer bounds (normalized 0-1)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3273:13: warning: variable 'uniforms' was never mutated; consider changing to 'let' constant
3271 |
3272 | // Create uniforms (shared for all 9 patches)
3273 | var uniforms = TexturedUniforms(
| `- warning: variable 'uniforms' was never mutated; consider changing to 'let' constant
3274 | mvpMatrix: finalMatrix,
3275 | opacity: currentEffectiveOpacity,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3304:14: warning: immutable value 'index' was never used; consider replacing with '_' or removing it [#no-usage]
3302 |
3303 | // Render each patch
3304 | for (index, patch) in patches.enumerated() {
| `- warning: immutable value 'index' was never used; consider replacing with '_' or removing it [#no-usage]
3305 | let (pMinX, pMaxX, pMinY, pMaxY, uMinX, uMaxX, uMinY, uMaxY) = patch
3306 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3381:19: warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3379 | modelMatrix: Matrix4x4
3380 | ) {
3381 | guard let texturedPipeline = texturedPipeline,
| `- warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3382 | let texturedBindGroupLayout = texturedBindGroupLayout,
3383 | let textureSampler = textureSampler,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3799:19: warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3797 | return
3798 | }
3799 | guard let texturedPipeline = texturedPipeline,
| `- warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3800 | let texturedBindGroupLayout = texturedBindGroupLayout,
3801 | let textureSampler = textureSampler,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5043:19: warning: immutable value 'shadowBlurTexture' was never used; consider replacing with '_' or removing it [#no-usage]
5041 | let preRenderBindGroup = preRenderBindGroup,
5042 | let shadowMaskTexture = shadowMaskTexture,
5043 | let shadowBlurTexture = shadowBlurTexture,
| `- warning: immutable value 'shadowBlurTexture' was never used; consider replacing with '_' or removing it [#no-usage]
5044 | let shadowBlurHorizontalPipeline = shadowBlurHorizontalPipeline,
5045 | let shadowBlurVerticalPipeline = shadowBlurVerticalPipeline,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5074:13: warning: initialization of immutable value 'expandedWidth' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
5072 |
5073 | // Calculate expanded bounds for shadow (includes blur radius)
5074 | let expandedWidth = presentationLayer.bounds.width + shadowRadius * 4
| `- warning: initialization of immutable value 'expandedWidth' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
5075 | let expandedHeight = presentationLayer.bounds.height + shadowRadius * 4
5076 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5075:13: warning: initialization of immutable value 'expandedHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
5073 | // Calculate expanded bounds for shadow (includes blur radius)
5074 | let expandedWidth = presentationLayer.bounds.width + shadowRadius * 4
5075 | let expandedHeight = presentationLayer.bounds.height + shadowRadius * 4
| `- warning: initialization of immutable value 'expandedHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
5076 |
5077 | // Step 1: Render layer shape to shadow mask texture
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5224:19: warning: immutable value 'depthTexture' was never used; consider replacing with '_' or removing it [#no-usage]
5222 |
5223 | guard let pipeline = pipeline,
5224 | let depthTexture = depthTexture,
| `- warning: immutable value 'depthTexture' was never used; consider replacing with '_' or removing it [#no-usage]
5225 | let filterSourceTexture = filterSourceTexture,
5226 | let filterBlurTexture = filterBlurTexture,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5851:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
5849 | // Recursively check sublayers in render order so the chosen pre-render target
5850 | // matches the first filtered layer that will actually be composited.
5851 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
5852 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
5853 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5887:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
5885 | // Recursively check sublayers in render order (sorted by zPosition)
5886 | // to match the order in which shadows are actually drawn.
5887 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
5888 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
5889 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6129:19: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
6127 | let presentationLayer = layer._renderTimePresentation()
6128 |
6129 | guard let sublayers = layer.sublayers else { return }
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
6130 |
6131 | // Apply the CATransformLayer's own transform (but not its content)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6408:19: warning: immutable value 'vertexBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
6406 | bindGroup: GPUBindGroup
6407 | ) {
6408 | guard let vertexBuffer = vertexBuffer,
| `- warning: immutable value 'vertexBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
6409 | let uniformBuffer = uniformBuffer,
6410 | let pipeline = pipeline else { return }
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6409:19: warning: immutable value 'uniformBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
6407 | ) {
6408 | guard let vertexBuffer = vertexBuffer,
6409 | let uniformBuffer = uniformBuffer,
| `- warning: immutable value 'uniformBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
6410 | let pipeline = pipeline else { return }
6411 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6410:19: warning: immutable value 'pipeline' was never used; consider replacing with '_' or removing it [#no-usage]
6408 | guard let vertexBuffer = vertexBuffer,
6409 | let uniformBuffer = uniformBuffer,
6410 | let pipeline = pipeline else { return }
| `- warning: immutable value 'pipeline' was never used; consider replacing with '_' or removing it [#no-usage]
6411 |
6412 | // Calculate current LOD level
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6510:19: warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
6508 | opacity: Float
6509 | ) {
6510 | guard let texturedPipeline = texturedPipeline,
| `- warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
6511 | let vertexBuffer = vertexBuffer,
6512 | let uniformBuffer = uniformBuffer,
[207/214] Compiling OpenCoreAnimation CAValueFunction.swift
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:611:29: warning: no calls to throwing functions occur within 'try' expression
609 |
610 | // Request adapter
611 | guard let adapter = try await gpu.requestAdapter() else {
| `- warning: no calls to throwing functions occur within 'try' expression
612 | throw CARendererError.deviceNotAvailable
613 | }
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:1839:19: warning: immutable value 'depthTexture' was never used; consider replacing with '_' or removing it [#no-usage]
1837 | let pipeline = pipeline,
1838 | bindGroup != nil,
1839 | let depthTexture = depthTexture else { return }
| `- warning: immutable value 'depthTexture' was never used; consider replacing with '_' or removing it [#no-usage]
1840 |
1841 | // Phase 1 (PERFORMANCE_DESIGN.md §3.6): bump the per-frame token
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:2200:19: warning: immutable value 'vertexBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
2198 | ) {
2199 | guard let device = device,
2200 | let vertexBuffer = vertexBuffer,
| `- warning: immutable value 'vertexBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
2201 | let uniformBuffer = uniformBuffer,
2202 | let bindGroup = bindGroup else { return }
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:2201:19: warning: immutable value 'uniformBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
2199 | guard let device = device,
2200 | let vertexBuffer = vertexBuffer,
2201 | let uniformBuffer = uniformBuffer,
| `- warning: immutable value 'uniformBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
2202 | let bindGroup = bindGroup else { return }
2203 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:2385:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
2383 |
2384 | // Render sublayers (use model layer hierarchy, but presentation layer's sublayerTransform)
2385 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
2386 | // Use sublayerMatrix helper to apply sublayerTransform and bounds.origin offset
2387 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:2927:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
2925 |
2926 | // Recursively render sublayers
2927 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
2928 | // Use sublayerMatrix helper to apply sublayerTransform and bounds.origin offset
2929 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3034:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
3032 |
3033 | // Recursively render sublayers with the same time offset
3034 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
3035 | // Use sublayerMatrix helper to apply sublayerTransform and bounds.origin offset
3036 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3168:19: warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3166 | modelMatrix: Matrix4x4
3167 | ) {
3168 | guard let texturedPipeline = texturedPipeline,
| `- warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3169 | let texturedBindGroupLayout = texturedBindGroupLayout,
3170 | let textureSampler = textureSampler,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3202:13: warning: initialization of immutable value 'srcCenterWidth' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3200 | // Source pixel sizes for corners/edges
3201 | let srcLeftWidth = center.origin.x * imgW
3202 | let srcCenterWidth = center.size.width * imgW
| `- warning: initialization of immutable value 'srcCenterWidth' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3203 | let srcRightWidth = (1 - center.origin.x - center.size.width) * imgW
3204 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3206:13: warning: initialization of immutable value 'srcCenterHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3204 |
3205 | let srcTopHeight = center.origin.y * imgH
3206 | let srcCenterHeight = center.size.height * imgH
| `- warning: initialization of immutable value 'srcCenterHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3207 | let srcBottomHeight = (1 - center.origin.y - center.size.height) * imgH
3208 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3243:13: warning: initialization of immutable value 'finalCenterHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3241 | let finalTopHeight = destTopHeight * scaleY
3242 | let finalBottomHeight = destBottomHeight * scaleY
3243 | let finalCenterHeight = max(0, boundsHeight - finalTopHeight - finalBottomHeight)
| `- warning: initialization of immutable value 'finalCenterHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3244 |
3245 | // Position coordinates in layer bounds (normalized 0-1)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3273:13: warning: variable 'uniforms' was never mutated; consider changing to 'let' constant
3271 |
3272 | // Create uniforms (shared for all 9 patches)
3273 | var uniforms = TexturedUniforms(
| `- warning: variable 'uniforms' was never mutated; consider changing to 'let' constant
3274 | mvpMatrix: finalMatrix,
3275 | opacity: currentEffectiveOpacity,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3304:14: warning: immutable value 'index' was never used; consider replacing with '_' or removing it [#no-usage]
3302 |
3303 | // Render each patch
3304 | for (index, patch) in patches.enumerated() {
| `- warning: immutable value 'index' was never used; consider replacing with '_' or removing it [#no-usage]
3305 | let (pMinX, pMaxX, pMinY, pMaxY, uMinX, uMaxX, uMinY, uMaxY) = patch
3306 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3381:19: warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3379 | modelMatrix: Matrix4x4
3380 | ) {
3381 | guard let texturedPipeline = texturedPipeline,
| `- warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3382 | let texturedBindGroupLayout = texturedBindGroupLayout,
3383 | let textureSampler = textureSampler,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3799:19: warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3797 | return
3798 | }
3799 | guard let texturedPipeline = texturedPipeline,
| `- warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3800 | let texturedBindGroupLayout = texturedBindGroupLayout,
3801 | let textureSampler = textureSampler,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5043:19: warning: immutable value 'shadowBlurTexture' was never used; consider replacing with '_' or removing it [#no-usage]
5041 | let preRenderBindGroup = preRenderBindGroup,
5042 | let shadowMaskTexture = shadowMaskTexture,
5043 | let shadowBlurTexture = shadowBlurTexture,
| `- warning: immutable value 'shadowBlurTexture' was never used; consider replacing with '_' or removing it [#no-usage]
5044 | let shadowBlurHorizontalPipeline = shadowBlurHorizontalPipeline,
5045 | let shadowBlurVerticalPipeline = shadowBlurVerticalPipeline,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5074:13: warning: initialization of immutable value 'expandedWidth' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
5072 |
5073 | // Calculate expanded bounds for shadow (includes blur radius)
5074 | let expandedWidth = presentationLayer.bounds.width + shadowRadius * 4
| `- warning: initialization of immutable value 'expandedWidth' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
5075 | let expandedHeight = presentationLayer.bounds.height + shadowRadius * 4
5076 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5075:13: warning: initialization of immutable value 'expandedHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
5073 | // Calculate expanded bounds for shadow (includes blur radius)
5074 | let expandedWidth = presentationLayer.bounds.width + shadowRadius * 4
5075 | let expandedHeight = presentationLayer.bounds.height + shadowRadius * 4
| `- warning: initialization of immutable value 'expandedHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
5076 |
5077 | // Step 1: Render layer shape to shadow mask texture
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5224:19: warning: immutable value 'depthTexture' was never used; consider replacing with '_' or removing it [#no-usage]
5222 |
5223 | guard let pipeline = pipeline,
5224 | let depthTexture = depthTexture,
| `- warning: immutable value 'depthTexture' was never used; consider replacing with '_' or removing it [#no-usage]
5225 | let filterSourceTexture = filterSourceTexture,
5226 | let filterBlurTexture = filterBlurTexture,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5851:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
5849 | // Recursively check sublayers in render order so the chosen pre-render target
5850 | // matches the first filtered layer that will actually be composited.
5851 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
5852 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
5853 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5887:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
5885 | // Recursively check sublayers in render order (sorted by zPosition)
5886 | // to match the order in which shadows are actually drawn.
5887 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
5888 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
5889 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6129:19: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
6127 | let presentationLayer = layer._renderTimePresentation()
6128 |
6129 | guard let sublayers = layer.sublayers else { return }
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
6130 |
6131 | // Apply the CATransformLayer's own transform (but not its content)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6408:19: warning: immutable value 'vertexBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
6406 | bindGroup: GPUBindGroup
6407 | ) {
6408 | guard let vertexBuffer = vertexBuffer,
| `- warning: immutable value 'vertexBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
6409 | let uniformBuffer = uniformBuffer,
6410 | let pipeline = pipeline else { return }
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6409:19: warning: immutable value 'uniformBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
6407 | ) {
6408 | guard let vertexBuffer = vertexBuffer,
6409 | let uniformBuffer = uniformBuffer,
| `- warning: immutable value 'uniformBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
6410 | let pipeline = pipeline else { return }
6411 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6410:19: warning: immutable value 'pipeline' was never used; consider replacing with '_' or removing it [#no-usage]
6408 | guard let vertexBuffer = vertexBuffer,
6409 | let uniformBuffer = uniformBuffer,
6410 | let pipeline = pipeline else { return }
| `- warning: immutable value 'pipeline' was never used; consider replacing with '_' or removing it [#no-usage]
6411 |
6412 | // Calculate current LOD level
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6510:19: warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
6508 | opacity: Float
6509 | ) {
6510 | guard let texturedPipeline = texturedPipeline,
| `- warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
6511 | let vertexBuffer = vertexBuffer,
6512 | let uniformBuffer = uniformBuffer,
[208/214] Compiling OpenCoreAnimation CAValueFunctionName.swift
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:611:29: warning: no calls to throwing functions occur within 'try' expression
609 |
610 | // Request adapter
611 | guard let adapter = try await gpu.requestAdapter() else {
| `- warning: no calls to throwing functions occur within 'try' expression
612 | throw CARendererError.deviceNotAvailable
613 | }
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:1839:19: warning: immutable value 'depthTexture' was never used; consider replacing with '_' or removing it [#no-usage]
1837 | let pipeline = pipeline,
1838 | bindGroup != nil,
1839 | let depthTexture = depthTexture else { return }
| `- warning: immutable value 'depthTexture' was never used; consider replacing with '_' or removing it [#no-usage]
1840 |
1841 | // Phase 1 (PERFORMANCE_DESIGN.md §3.6): bump the per-frame token
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:2200:19: warning: immutable value 'vertexBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
2198 | ) {
2199 | guard let device = device,
2200 | let vertexBuffer = vertexBuffer,
| `- warning: immutable value 'vertexBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
2201 | let uniformBuffer = uniformBuffer,
2202 | let bindGroup = bindGroup else { return }
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:2201:19: warning: immutable value 'uniformBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
2199 | guard let device = device,
2200 | let vertexBuffer = vertexBuffer,
2201 | let uniformBuffer = uniformBuffer,
| `- warning: immutable value 'uniformBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
2202 | let bindGroup = bindGroup else { return }
2203 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:2385:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
2383 |
2384 | // Render sublayers (use model layer hierarchy, but presentation layer's sublayerTransform)
2385 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
2386 | // Use sublayerMatrix helper to apply sublayerTransform and bounds.origin offset
2387 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:2927:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
2925 |
2926 | // Recursively render sublayers
2927 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
2928 | // Use sublayerMatrix helper to apply sublayerTransform and bounds.origin offset
2929 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3034:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
3032 |
3033 | // Recursively render sublayers with the same time offset
3034 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
3035 | // Use sublayerMatrix helper to apply sublayerTransform and bounds.origin offset
3036 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3168:19: warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3166 | modelMatrix: Matrix4x4
3167 | ) {
3168 | guard let texturedPipeline = texturedPipeline,
| `- warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3169 | let texturedBindGroupLayout = texturedBindGroupLayout,
3170 | let textureSampler = textureSampler,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3202:13: warning: initialization of immutable value 'srcCenterWidth' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3200 | // Source pixel sizes for corners/edges
3201 | let srcLeftWidth = center.origin.x * imgW
3202 | let srcCenterWidth = center.size.width * imgW
| `- warning: initialization of immutable value 'srcCenterWidth' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3203 | let srcRightWidth = (1 - center.origin.x - center.size.width) * imgW
3204 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3206:13: warning: initialization of immutable value 'srcCenterHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3204 |
3205 | let srcTopHeight = center.origin.y * imgH
3206 | let srcCenterHeight = center.size.height * imgH
| `- warning: initialization of immutable value 'srcCenterHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3207 | let srcBottomHeight = (1 - center.origin.y - center.size.height) * imgH
3208 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3243:13: warning: initialization of immutable value 'finalCenterHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3241 | let finalTopHeight = destTopHeight * scaleY
3242 | let finalBottomHeight = destBottomHeight * scaleY
3243 | let finalCenterHeight = max(0, boundsHeight - finalTopHeight - finalBottomHeight)
| `- warning: initialization of immutable value 'finalCenterHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3244 |
3245 | // Position coordinates in layer bounds (normalized 0-1)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3273:13: warning: variable 'uniforms' was never mutated; consider changing to 'let' constant
3271 |
3272 | // Create uniforms (shared for all 9 patches)
3273 | var uniforms = TexturedUniforms(
| `- warning: variable 'uniforms' was never mutated; consider changing to 'let' constant
3274 | mvpMatrix: finalMatrix,
3275 | opacity: currentEffectiveOpacity,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3304:14: warning: immutable value 'index' was never used; consider replacing with '_' or removing it [#no-usage]
3302 |
3303 | // Render each patch
3304 | for (index, patch) in patches.enumerated() {
| `- warning: immutable value 'index' was never used; consider replacing with '_' or removing it [#no-usage]
3305 | let (pMinX, pMaxX, pMinY, pMaxY, uMinX, uMaxX, uMinY, uMaxY) = patch
3306 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3381:19: warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3379 | modelMatrix: Matrix4x4
3380 | ) {
3381 | guard let texturedPipeline = texturedPipeline,
| `- warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3382 | let texturedBindGroupLayout = texturedBindGroupLayout,
3383 | let textureSampler = textureSampler,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3799:19: warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3797 | return
3798 | }
3799 | guard let texturedPipeline = texturedPipeline,
| `- warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3800 | let texturedBindGroupLayout = texturedBindGroupLayout,
3801 | let textureSampler = textureSampler,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5043:19: warning: immutable value 'shadowBlurTexture' was never used; consider replacing with '_' or removing it [#no-usage]
5041 | let preRenderBindGroup = preRenderBindGroup,
5042 | let shadowMaskTexture = shadowMaskTexture,
5043 | let shadowBlurTexture = shadowBlurTexture,
| `- warning: immutable value 'shadowBlurTexture' was never used; consider replacing with '_' or removing it [#no-usage]
5044 | let shadowBlurHorizontalPipeline = shadowBlurHorizontalPipeline,
5045 | let shadowBlurVerticalPipeline = shadowBlurVerticalPipeline,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5074:13: warning: initialization of immutable value 'expandedWidth' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
5072 |
5073 | // Calculate expanded bounds for shadow (includes blur radius)
5074 | let expandedWidth = presentationLayer.bounds.width + shadowRadius * 4
| `- warning: initialization of immutable value 'expandedWidth' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
5075 | let expandedHeight = presentationLayer.bounds.height + shadowRadius * 4
5076 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5075:13: warning: initialization of immutable value 'expandedHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
5073 | // Calculate expanded bounds for shadow (includes blur radius)
5074 | let expandedWidth = presentationLayer.bounds.width + shadowRadius * 4
5075 | let expandedHeight = presentationLayer.bounds.height + shadowRadius * 4
| `- warning: initialization of immutable value 'expandedHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
5076 |
5077 | // Step 1: Render layer shape to shadow mask texture
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5224:19: warning: immutable value 'depthTexture' was never used; consider replacing with '_' or removing it [#no-usage]
5222 |
5223 | guard let pipeline = pipeline,
5224 | let depthTexture = depthTexture,
| `- warning: immutable value 'depthTexture' was never used; consider replacing with '_' or removing it [#no-usage]
5225 | let filterSourceTexture = filterSourceTexture,
5226 | let filterBlurTexture = filterBlurTexture,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5851:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
5849 | // Recursively check sublayers in render order so the chosen pre-render target
5850 | // matches the first filtered layer that will actually be composited.
5851 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
5852 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
5853 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5887:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
5885 | // Recursively check sublayers in render order (sorted by zPosition)
5886 | // to match the order in which shadows are actually drawn.
5887 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
5888 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
5889 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6129:19: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
6127 | let presentationLayer = layer._renderTimePresentation()
6128 |
6129 | guard let sublayers = layer.sublayers else { return }
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
6130 |
6131 | // Apply the CATransformLayer's own transform (but not its content)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6408:19: warning: immutable value 'vertexBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
6406 | bindGroup: GPUBindGroup
6407 | ) {
6408 | guard let vertexBuffer = vertexBuffer,
| `- warning: immutable value 'vertexBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
6409 | let uniformBuffer = uniformBuffer,
6410 | let pipeline = pipeline else { return }
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6409:19: warning: immutable value 'uniformBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
6407 | ) {
6408 | guard let vertexBuffer = vertexBuffer,
6409 | let uniformBuffer = uniformBuffer,
| `- warning: immutable value 'uniformBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
6410 | let pipeline = pipeline else { return }
6411 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6410:19: warning: immutable value 'pipeline' was never used; consider replacing with '_' or removing it [#no-usage]
6408 | guard let vertexBuffer = vertexBuffer,
6409 | let uniformBuffer = uniformBuffer,
6410 | let pipeline = pipeline else { return }
| `- warning: immutable value 'pipeline' was never used; consider replacing with '_' or removing it [#no-usage]
6411 |
6412 | // Calculate current LOD level
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6510:19: warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
6508 | opacity: Float
6509 | ) {
6510 | guard let texturedPipeline = texturedPipeline,
| `- warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
6511 | let vertexBuffer = vertexBuffer,
6512 | let uniformBuffer = uniformBuffer,
[209/214] Compiling OpenCoreAnimation CAWebGPURenderer.swift
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:611:29: warning: no calls to throwing functions occur within 'try' expression
609 |
610 | // Request adapter
611 | guard let adapter = try await gpu.requestAdapter() else {
| `- warning: no calls to throwing functions occur within 'try' expression
612 | throw CARendererError.deviceNotAvailable
613 | }
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:1839:19: warning: immutable value 'depthTexture' was never used; consider replacing with '_' or removing it [#no-usage]
1837 | let pipeline = pipeline,
1838 | bindGroup != nil,
1839 | let depthTexture = depthTexture else { return }
| `- warning: immutable value 'depthTexture' was never used; consider replacing with '_' or removing it [#no-usage]
1840 |
1841 | // Phase 1 (PERFORMANCE_DESIGN.md §3.6): bump the per-frame token
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:2200:19: warning: immutable value 'vertexBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
2198 | ) {
2199 | guard let device = device,
2200 | let vertexBuffer = vertexBuffer,
| `- warning: immutable value 'vertexBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
2201 | let uniformBuffer = uniformBuffer,
2202 | let bindGroup = bindGroup else { return }
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:2201:19: warning: immutable value 'uniformBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
2199 | guard let device = device,
2200 | let vertexBuffer = vertexBuffer,
2201 | let uniformBuffer = uniformBuffer,
| `- warning: immutable value 'uniformBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
2202 | let bindGroup = bindGroup else { return }
2203 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:2385:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
2383 |
2384 | // Render sublayers (use model layer hierarchy, but presentation layer's sublayerTransform)
2385 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
2386 | // Use sublayerMatrix helper to apply sublayerTransform and bounds.origin offset
2387 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:2927:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
2925 |
2926 | // Recursively render sublayers
2927 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
2928 | // Use sublayerMatrix helper to apply sublayerTransform and bounds.origin offset
2929 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3034:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
3032 |
3033 | // Recursively render sublayers with the same time offset
3034 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
3035 | // Use sublayerMatrix helper to apply sublayerTransform and bounds.origin offset
3036 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3168:19: warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3166 | modelMatrix: Matrix4x4
3167 | ) {
3168 | guard let texturedPipeline = texturedPipeline,
| `- warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3169 | let texturedBindGroupLayout = texturedBindGroupLayout,
3170 | let textureSampler = textureSampler,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3202:13: warning: initialization of immutable value 'srcCenterWidth' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3200 | // Source pixel sizes for corners/edges
3201 | let srcLeftWidth = center.origin.x * imgW
3202 | let srcCenterWidth = center.size.width * imgW
| `- warning: initialization of immutable value 'srcCenterWidth' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3203 | let srcRightWidth = (1 - center.origin.x - center.size.width) * imgW
3204 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3206:13: warning: initialization of immutable value 'srcCenterHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3204 |
3205 | let srcTopHeight = center.origin.y * imgH
3206 | let srcCenterHeight = center.size.height * imgH
| `- warning: initialization of immutable value 'srcCenterHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3207 | let srcBottomHeight = (1 - center.origin.y - center.size.height) * imgH
3208 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3243:13: warning: initialization of immutable value 'finalCenterHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3241 | let finalTopHeight = destTopHeight * scaleY
3242 | let finalBottomHeight = destBottomHeight * scaleY
3243 | let finalCenterHeight = max(0, boundsHeight - finalTopHeight - finalBottomHeight)
| `- warning: initialization of immutable value 'finalCenterHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3244 |
3245 | // Position coordinates in layer bounds (normalized 0-1)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3273:13: warning: variable 'uniforms' was never mutated; consider changing to 'let' constant
3271 |
3272 | // Create uniforms (shared for all 9 patches)
3273 | var uniforms = TexturedUniforms(
| `- warning: variable 'uniforms' was never mutated; consider changing to 'let' constant
3274 | mvpMatrix: finalMatrix,
3275 | opacity: currentEffectiveOpacity,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3304:14: warning: immutable value 'index' was never used; consider replacing with '_' or removing it [#no-usage]
3302 |
3303 | // Render each patch
3304 | for (index, patch) in patches.enumerated() {
| `- warning: immutable value 'index' was never used; consider replacing with '_' or removing it [#no-usage]
3305 | let (pMinX, pMaxX, pMinY, pMaxY, uMinX, uMaxX, uMinY, uMaxY) = patch
3306 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3381:19: warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3379 | modelMatrix: Matrix4x4
3380 | ) {
3381 | guard let texturedPipeline = texturedPipeline,
| `- warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3382 | let texturedBindGroupLayout = texturedBindGroupLayout,
3383 | let textureSampler = textureSampler,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3799:19: warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3797 | return
3798 | }
3799 | guard let texturedPipeline = texturedPipeline,
| `- warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3800 | let texturedBindGroupLayout = texturedBindGroupLayout,
3801 | let textureSampler = textureSampler,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5043:19: warning: immutable value 'shadowBlurTexture' was never used; consider replacing with '_' or removing it [#no-usage]
5041 | let preRenderBindGroup = preRenderBindGroup,
5042 | let shadowMaskTexture = shadowMaskTexture,
5043 | let shadowBlurTexture = shadowBlurTexture,
| `- warning: immutable value 'shadowBlurTexture' was never used; consider replacing with '_' or removing it [#no-usage]
5044 | let shadowBlurHorizontalPipeline = shadowBlurHorizontalPipeline,
5045 | let shadowBlurVerticalPipeline = shadowBlurVerticalPipeline,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5074:13: warning: initialization of immutable value 'expandedWidth' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
5072 |
5073 | // Calculate expanded bounds for shadow (includes blur radius)
5074 | let expandedWidth = presentationLayer.bounds.width + shadowRadius * 4
| `- warning: initialization of immutable value 'expandedWidth' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
5075 | let expandedHeight = presentationLayer.bounds.height + shadowRadius * 4
5076 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5075:13: warning: initialization of immutable value 'expandedHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
5073 | // Calculate expanded bounds for shadow (includes blur radius)
5074 | let expandedWidth = presentationLayer.bounds.width + shadowRadius * 4
5075 | let expandedHeight = presentationLayer.bounds.height + shadowRadius * 4
| `- warning: initialization of immutable value 'expandedHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
5076 |
5077 | // Step 1: Render layer shape to shadow mask texture
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5224:19: warning: immutable value 'depthTexture' was never used; consider replacing with '_' or removing it [#no-usage]
5222 |
5223 | guard let pipeline = pipeline,
5224 | let depthTexture = depthTexture,
| `- warning: immutable value 'depthTexture' was never used; consider replacing with '_' or removing it [#no-usage]
5225 | let filterSourceTexture = filterSourceTexture,
5226 | let filterBlurTexture = filterBlurTexture,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5851:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
5849 | // Recursively check sublayers in render order so the chosen pre-render target
5850 | // matches the first filtered layer that will actually be composited.
5851 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
5852 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
5853 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5887:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
5885 | // Recursively check sublayers in render order (sorted by zPosition)
5886 | // to match the order in which shadows are actually drawn.
5887 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
5888 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
5889 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6129:19: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
6127 | let presentationLayer = layer._renderTimePresentation()
6128 |
6129 | guard let sublayers = layer.sublayers else { return }
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
6130 |
6131 | // Apply the CATransformLayer's own transform (but not its content)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6408:19: warning: immutable value 'vertexBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
6406 | bindGroup: GPUBindGroup
6407 | ) {
6408 | guard let vertexBuffer = vertexBuffer,
| `- warning: immutable value 'vertexBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
6409 | let uniformBuffer = uniformBuffer,
6410 | let pipeline = pipeline else { return }
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6409:19: warning: immutable value 'uniformBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
6407 | ) {
6408 | guard let vertexBuffer = vertexBuffer,
6409 | let uniformBuffer = uniformBuffer,
| `- warning: immutable value 'uniformBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
6410 | let pipeline = pipeline else { return }
6411 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6410:19: warning: immutable value 'pipeline' was never used; consider replacing with '_' or removing it [#no-usage]
6408 | guard let vertexBuffer = vertexBuffer,
6409 | let uniformBuffer = uniformBuffer,
6410 | let pipeline = pipeline else { return }
| `- warning: immutable value 'pipeline' was never used; consider replacing with '_' or removing it [#no-usage]
6411 |
6412 | // Calculate current LOD level
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6510:19: warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
6508 | opacity: Float
6509 | ) {
6510 | guard let texturedPipeline = texturedPipeline,
| `- warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
6511 | let vertexBuffer = vertexBuffer,
6512 | let uniformBuffer = uniformBuffer,
[210/214] Compiling OpenCoreAnimation OpenCoreAnimation.swift
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:611:29: warning: no calls to throwing functions occur within 'try' expression
609 |
610 | // Request adapter
611 | guard let adapter = try await gpu.requestAdapter() else {
| `- warning: no calls to throwing functions occur within 'try' expression
612 | throw CARendererError.deviceNotAvailable
613 | }
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:1839:19: warning: immutable value 'depthTexture' was never used; consider replacing with '_' or removing it [#no-usage]
1837 | let pipeline = pipeline,
1838 | bindGroup != nil,
1839 | let depthTexture = depthTexture else { return }
| `- warning: immutable value 'depthTexture' was never used; consider replacing with '_' or removing it [#no-usage]
1840 |
1841 | // Phase 1 (PERFORMANCE_DESIGN.md §3.6): bump the per-frame token
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:2200:19: warning: immutable value 'vertexBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
2198 | ) {
2199 | guard let device = device,
2200 | let vertexBuffer = vertexBuffer,
| `- warning: immutable value 'vertexBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
2201 | let uniformBuffer = uniformBuffer,
2202 | let bindGroup = bindGroup else { return }
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:2201:19: warning: immutable value 'uniformBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
2199 | guard let device = device,
2200 | let vertexBuffer = vertexBuffer,
2201 | let uniformBuffer = uniformBuffer,
| `- warning: immutable value 'uniformBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
2202 | let bindGroup = bindGroup else { return }
2203 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:2385:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
2383 |
2384 | // Render sublayers (use model layer hierarchy, but presentation layer's sublayerTransform)
2385 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
2386 | // Use sublayerMatrix helper to apply sublayerTransform and bounds.origin offset
2387 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:2927:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
2925 |
2926 | // Recursively render sublayers
2927 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
2928 | // Use sublayerMatrix helper to apply sublayerTransform and bounds.origin offset
2929 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3034:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
3032 |
3033 | // Recursively render sublayers with the same time offset
3034 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
3035 | // Use sublayerMatrix helper to apply sublayerTransform and bounds.origin offset
3036 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3168:19: warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3166 | modelMatrix: Matrix4x4
3167 | ) {
3168 | guard let texturedPipeline = texturedPipeline,
| `- warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3169 | let texturedBindGroupLayout = texturedBindGroupLayout,
3170 | let textureSampler = textureSampler,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3202:13: warning: initialization of immutable value 'srcCenterWidth' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3200 | // Source pixel sizes for corners/edges
3201 | let srcLeftWidth = center.origin.x * imgW
3202 | let srcCenterWidth = center.size.width * imgW
| `- warning: initialization of immutable value 'srcCenterWidth' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3203 | let srcRightWidth = (1 - center.origin.x - center.size.width) * imgW
3204 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3206:13: warning: initialization of immutable value 'srcCenterHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3204 |
3205 | let srcTopHeight = center.origin.y * imgH
3206 | let srcCenterHeight = center.size.height * imgH
| `- warning: initialization of immutable value 'srcCenterHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3207 | let srcBottomHeight = (1 - center.origin.y - center.size.height) * imgH
3208 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3243:13: warning: initialization of immutable value 'finalCenterHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3241 | let finalTopHeight = destTopHeight * scaleY
3242 | let finalBottomHeight = destBottomHeight * scaleY
3243 | let finalCenterHeight = max(0, boundsHeight - finalTopHeight - finalBottomHeight)
| `- warning: initialization of immutable value 'finalCenterHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3244 |
3245 | // Position coordinates in layer bounds (normalized 0-1)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3273:13: warning: variable 'uniforms' was never mutated; consider changing to 'let' constant
3271 |
3272 | // Create uniforms (shared for all 9 patches)
3273 | var uniforms = TexturedUniforms(
| `- warning: variable 'uniforms' was never mutated; consider changing to 'let' constant
3274 | mvpMatrix: finalMatrix,
3275 | opacity: currentEffectiveOpacity,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3304:14: warning: immutable value 'index' was never used; consider replacing with '_' or removing it [#no-usage]
3302 |
3303 | // Render each patch
3304 | for (index, patch) in patches.enumerated() {
| `- warning: immutable value 'index' was never used; consider replacing with '_' or removing it [#no-usage]
3305 | let (pMinX, pMaxX, pMinY, pMaxY, uMinX, uMaxX, uMinY, uMaxY) = patch
3306 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3381:19: warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3379 | modelMatrix: Matrix4x4
3380 | ) {
3381 | guard let texturedPipeline = texturedPipeline,
| `- warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3382 | let texturedBindGroupLayout = texturedBindGroupLayout,
3383 | let textureSampler = textureSampler,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3799:19: warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3797 | return
3798 | }
3799 | guard let texturedPipeline = texturedPipeline,
| `- warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3800 | let texturedBindGroupLayout = texturedBindGroupLayout,
3801 | let textureSampler = textureSampler,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5043:19: warning: immutable value 'shadowBlurTexture' was never used; consider replacing with '_' or removing it [#no-usage]
5041 | let preRenderBindGroup = preRenderBindGroup,
5042 | let shadowMaskTexture = shadowMaskTexture,
5043 | let shadowBlurTexture = shadowBlurTexture,
| `- warning: immutable value 'shadowBlurTexture' was never used; consider replacing with '_' or removing it [#no-usage]
5044 | let shadowBlurHorizontalPipeline = shadowBlurHorizontalPipeline,
5045 | let shadowBlurVerticalPipeline = shadowBlurVerticalPipeline,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5074:13: warning: initialization of immutable value 'expandedWidth' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
5072 |
5073 | // Calculate expanded bounds for shadow (includes blur radius)
5074 | let expandedWidth = presentationLayer.bounds.width + shadowRadius * 4
| `- warning: initialization of immutable value 'expandedWidth' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
5075 | let expandedHeight = presentationLayer.bounds.height + shadowRadius * 4
5076 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5075:13: warning: initialization of immutable value 'expandedHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
5073 | // Calculate expanded bounds for shadow (includes blur radius)
5074 | let expandedWidth = presentationLayer.bounds.width + shadowRadius * 4
5075 | let expandedHeight = presentationLayer.bounds.height + shadowRadius * 4
| `- warning: initialization of immutable value 'expandedHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
5076 |
5077 | // Step 1: Render layer shape to shadow mask texture
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5224:19: warning: immutable value 'depthTexture' was never used; consider replacing with '_' or removing it [#no-usage]
5222 |
5223 | guard let pipeline = pipeline,
5224 | let depthTexture = depthTexture,
| `- warning: immutable value 'depthTexture' was never used; consider replacing with '_' or removing it [#no-usage]
5225 | let filterSourceTexture = filterSourceTexture,
5226 | let filterBlurTexture = filterBlurTexture,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5851:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
5849 | // Recursively check sublayers in render order so the chosen pre-render target
5850 | // matches the first filtered layer that will actually be composited.
5851 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
5852 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
5853 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5887:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
5885 | // Recursively check sublayers in render order (sorted by zPosition)
5886 | // to match the order in which shadows are actually drawn.
5887 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
5888 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
5889 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6129:19: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
6127 | let presentationLayer = layer._renderTimePresentation()
6128 |
6129 | guard let sublayers = layer.sublayers else { return }
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
6130 |
6131 | // Apply the CATransformLayer's own transform (but not its content)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6408:19: warning: immutable value 'vertexBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
6406 | bindGroup: GPUBindGroup
6407 | ) {
6408 | guard let vertexBuffer = vertexBuffer,
| `- warning: immutable value 'vertexBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
6409 | let uniformBuffer = uniformBuffer,
6410 | let pipeline = pipeline else { return }
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6409:19: warning: immutable value 'uniformBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
6407 | ) {
6408 | guard let vertexBuffer = vertexBuffer,
6409 | let uniformBuffer = uniformBuffer,
| `- warning: immutable value 'uniformBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
6410 | let pipeline = pipeline else { return }
6411 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6410:19: warning: immutable value 'pipeline' was never used; consider replacing with '_' or removing it [#no-usage]
6408 | guard let vertexBuffer = vertexBuffer,
6409 | let uniformBuffer = uniformBuffer,
6410 | let pipeline = pipeline else { return }
| `- warning: immutable value 'pipeline' was never used; consider replacing with '_' or removing it [#no-usage]
6411 |
6412 | // Calculate current LOD level
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6510:19: warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
6508 | opacity: Float
6509 | ) {
6510 | guard let texturedPipeline = texturedPipeline,
| `- warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
6511 | let vertexBuffer = vertexBuffer,
6512 | let uniformBuffer = uniformBuffer,
[211/214] Compiling OpenCoreAnimation RasterizationCache.swift
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:611:29: warning: no calls to throwing functions occur within 'try' expression
609 |
610 | // Request adapter
611 | guard let adapter = try await gpu.requestAdapter() else {
| `- warning: no calls to throwing functions occur within 'try' expression
612 | throw CARendererError.deviceNotAvailable
613 | }
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:1839:19: warning: immutable value 'depthTexture' was never used; consider replacing with '_' or removing it [#no-usage]
1837 | let pipeline = pipeline,
1838 | bindGroup != nil,
1839 | let depthTexture = depthTexture else { return }
| `- warning: immutable value 'depthTexture' was never used; consider replacing with '_' or removing it [#no-usage]
1840 |
1841 | // Phase 1 (PERFORMANCE_DESIGN.md §3.6): bump the per-frame token
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:2200:19: warning: immutable value 'vertexBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
2198 | ) {
2199 | guard let device = device,
2200 | let vertexBuffer = vertexBuffer,
| `- warning: immutable value 'vertexBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
2201 | let uniformBuffer = uniformBuffer,
2202 | let bindGroup = bindGroup else { return }
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:2201:19: warning: immutable value 'uniformBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
2199 | guard let device = device,
2200 | let vertexBuffer = vertexBuffer,
2201 | let uniformBuffer = uniformBuffer,
| `- warning: immutable value 'uniformBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
2202 | let bindGroup = bindGroup else { return }
2203 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:2385:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
2383 |
2384 | // Render sublayers (use model layer hierarchy, but presentation layer's sublayerTransform)
2385 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
2386 | // Use sublayerMatrix helper to apply sublayerTransform and bounds.origin offset
2387 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:2927:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
2925 |
2926 | // Recursively render sublayers
2927 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
2928 | // Use sublayerMatrix helper to apply sublayerTransform and bounds.origin offset
2929 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3034:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
3032 |
3033 | // Recursively render sublayers with the same time offset
3034 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
3035 | // Use sublayerMatrix helper to apply sublayerTransform and bounds.origin offset
3036 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3168:19: warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3166 | modelMatrix: Matrix4x4
3167 | ) {
3168 | guard let texturedPipeline = texturedPipeline,
| `- warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3169 | let texturedBindGroupLayout = texturedBindGroupLayout,
3170 | let textureSampler = textureSampler,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3202:13: warning: initialization of immutable value 'srcCenterWidth' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3200 | // Source pixel sizes for corners/edges
3201 | let srcLeftWidth = center.origin.x * imgW
3202 | let srcCenterWidth = center.size.width * imgW
| `- warning: initialization of immutable value 'srcCenterWidth' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3203 | let srcRightWidth = (1 - center.origin.x - center.size.width) * imgW
3204 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3206:13: warning: initialization of immutable value 'srcCenterHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3204 |
3205 | let srcTopHeight = center.origin.y * imgH
3206 | let srcCenterHeight = center.size.height * imgH
| `- warning: initialization of immutable value 'srcCenterHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3207 | let srcBottomHeight = (1 - center.origin.y - center.size.height) * imgH
3208 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3243:13: warning: initialization of immutable value 'finalCenterHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3241 | let finalTopHeight = destTopHeight * scaleY
3242 | let finalBottomHeight = destBottomHeight * scaleY
3243 | let finalCenterHeight = max(0, boundsHeight - finalTopHeight - finalBottomHeight)
| `- warning: initialization of immutable value 'finalCenterHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3244 |
3245 | // Position coordinates in layer bounds (normalized 0-1)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3273:13: warning: variable 'uniforms' was never mutated; consider changing to 'let' constant
3271 |
3272 | // Create uniforms (shared for all 9 patches)
3273 | var uniforms = TexturedUniforms(
| `- warning: variable 'uniforms' was never mutated; consider changing to 'let' constant
3274 | mvpMatrix: finalMatrix,
3275 | opacity: currentEffectiveOpacity,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3304:14: warning: immutable value 'index' was never used; consider replacing with '_' or removing it [#no-usage]
3302 |
3303 | // Render each patch
3304 | for (index, patch) in patches.enumerated() {
| `- warning: immutable value 'index' was never used; consider replacing with '_' or removing it [#no-usage]
3305 | let (pMinX, pMaxX, pMinY, pMaxY, uMinX, uMaxX, uMinY, uMaxY) = patch
3306 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3381:19: warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3379 | modelMatrix: Matrix4x4
3380 | ) {
3381 | guard let texturedPipeline = texturedPipeline,
| `- warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3382 | let texturedBindGroupLayout = texturedBindGroupLayout,
3383 | let textureSampler = textureSampler,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3799:19: warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3797 | return
3798 | }
3799 | guard let texturedPipeline = texturedPipeline,
| `- warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3800 | let texturedBindGroupLayout = texturedBindGroupLayout,
3801 | let textureSampler = textureSampler,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5043:19: warning: immutable value 'shadowBlurTexture' was never used; consider replacing with '_' or removing it [#no-usage]
5041 | let preRenderBindGroup = preRenderBindGroup,
5042 | let shadowMaskTexture = shadowMaskTexture,
5043 | let shadowBlurTexture = shadowBlurTexture,
| `- warning: immutable value 'shadowBlurTexture' was never used; consider replacing with '_' or removing it [#no-usage]
5044 | let shadowBlurHorizontalPipeline = shadowBlurHorizontalPipeline,
5045 | let shadowBlurVerticalPipeline = shadowBlurVerticalPipeline,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5074:13: warning: initialization of immutable value 'expandedWidth' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
5072 |
5073 | // Calculate expanded bounds for shadow (includes blur radius)
5074 | let expandedWidth = presentationLayer.bounds.width + shadowRadius * 4
| `- warning: initialization of immutable value 'expandedWidth' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
5075 | let expandedHeight = presentationLayer.bounds.height + shadowRadius * 4
5076 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5075:13: warning: initialization of immutable value 'expandedHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
5073 | // Calculate expanded bounds for shadow (includes blur radius)
5074 | let expandedWidth = presentationLayer.bounds.width + shadowRadius * 4
5075 | let expandedHeight = presentationLayer.bounds.height + shadowRadius * 4
| `- warning: initialization of immutable value 'expandedHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
5076 |
5077 | // Step 1: Render layer shape to shadow mask texture
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5224:19: warning: immutable value 'depthTexture' was never used; consider replacing with '_' or removing it [#no-usage]
5222 |
5223 | guard let pipeline = pipeline,
5224 | let depthTexture = depthTexture,
| `- warning: immutable value 'depthTexture' was never used; consider replacing with '_' or removing it [#no-usage]
5225 | let filterSourceTexture = filterSourceTexture,
5226 | let filterBlurTexture = filterBlurTexture,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5851:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
5849 | // Recursively check sublayers in render order so the chosen pre-render target
5850 | // matches the first filtered layer that will actually be composited.
5851 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
5852 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
5853 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5887:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
5885 | // Recursively check sublayers in render order (sorted by zPosition)
5886 | // to match the order in which shadows are actually drawn.
5887 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
5888 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
5889 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6129:19: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
6127 | let presentationLayer = layer._renderTimePresentation()
6128 |
6129 | guard let sublayers = layer.sublayers else { return }
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
6130 |
6131 | // Apply the CATransformLayer's own transform (but not its content)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6408:19: warning: immutable value 'vertexBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
6406 | bindGroup: GPUBindGroup
6407 | ) {
6408 | guard let vertexBuffer = vertexBuffer,
| `- warning: immutable value 'vertexBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
6409 | let uniformBuffer = uniformBuffer,
6410 | let pipeline = pipeline else { return }
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6409:19: warning: immutable value 'uniformBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
6407 | ) {
6408 | guard let vertexBuffer = vertexBuffer,
6409 | let uniformBuffer = uniformBuffer,
| `- warning: immutable value 'uniformBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
6410 | let pipeline = pipeline else { return }
6411 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6410:19: warning: immutable value 'pipeline' was never used; consider replacing with '_' or removing it [#no-usage]
6408 | guard let vertexBuffer = vertexBuffer,
6409 | let uniformBuffer = uniformBuffer,
6410 | let pipeline = pipeline else { return }
| `- warning: immutable value 'pipeline' was never used; consider replacing with '_' or removing it [#no-usage]
6411 |
6412 | // Calculate current LOD level
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6510:19: warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
6508 | opacity: Float
6509 | ) {
6510 | guard let texturedPipeline = texturedPipeline,
| `- warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
6511 | let vertexBuffer = vertexBuffer,
6512 | let uniformBuffer = uniformBuffer,
[212/214] Compiling OpenCoreAnimation RasterizationDecisions.swift
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:611:29: warning: no calls to throwing functions occur within 'try' expression
609 |
610 | // Request adapter
611 | guard let adapter = try await gpu.requestAdapter() else {
| `- warning: no calls to throwing functions occur within 'try' expression
612 | throw CARendererError.deviceNotAvailable
613 | }
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:1839:19: warning: immutable value 'depthTexture' was never used; consider replacing with '_' or removing it [#no-usage]
1837 | let pipeline = pipeline,
1838 | bindGroup != nil,
1839 | let depthTexture = depthTexture else { return }
| `- warning: immutable value 'depthTexture' was never used; consider replacing with '_' or removing it [#no-usage]
1840 |
1841 | // Phase 1 (PERFORMANCE_DESIGN.md §3.6): bump the per-frame token
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:2200:19: warning: immutable value 'vertexBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
2198 | ) {
2199 | guard let device = device,
2200 | let vertexBuffer = vertexBuffer,
| `- warning: immutable value 'vertexBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
2201 | let uniformBuffer = uniformBuffer,
2202 | let bindGroup = bindGroup else { return }
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:2201:19: warning: immutable value 'uniformBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
2199 | guard let device = device,
2200 | let vertexBuffer = vertexBuffer,
2201 | let uniformBuffer = uniformBuffer,
| `- warning: immutable value 'uniformBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
2202 | let bindGroup = bindGroup else { return }
2203 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:2385:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
2383 |
2384 | // Render sublayers (use model layer hierarchy, but presentation layer's sublayerTransform)
2385 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
2386 | // Use sublayerMatrix helper to apply sublayerTransform and bounds.origin offset
2387 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:2927:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
2925 |
2926 | // Recursively render sublayers
2927 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
2928 | // Use sublayerMatrix helper to apply sublayerTransform and bounds.origin offset
2929 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3034:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
3032 |
3033 | // Recursively render sublayers with the same time offset
3034 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
3035 | // Use sublayerMatrix helper to apply sublayerTransform and bounds.origin offset
3036 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3168:19: warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3166 | modelMatrix: Matrix4x4
3167 | ) {
3168 | guard let texturedPipeline = texturedPipeline,
| `- warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3169 | let texturedBindGroupLayout = texturedBindGroupLayout,
3170 | let textureSampler = textureSampler,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3202:13: warning: initialization of immutable value 'srcCenterWidth' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3200 | // Source pixel sizes for corners/edges
3201 | let srcLeftWidth = center.origin.x * imgW
3202 | let srcCenterWidth = center.size.width * imgW
| `- warning: initialization of immutable value 'srcCenterWidth' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3203 | let srcRightWidth = (1 - center.origin.x - center.size.width) * imgW
3204 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3206:13: warning: initialization of immutable value 'srcCenterHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3204 |
3205 | let srcTopHeight = center.origin.y * imgH
3206 | let srcCenterHeight = center.size.height * imgH
| `- warning: initialization of immutable value 'srcCenterHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3207 | let srcBottomHeight = (1 - center.origin.y - center.size.height) * imgH
3208 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3243:13: warning: initialization of immutable value 'finalCenterHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3241 | let finalTopHeight = destTopHeight * scaleY
3242 | let finalBottomHeight = destBottomHeight * scaleY
3243 | let finalCenterHeight = max(0, boundsHeight - finalTopHeight - finalBottomHeight)
| `- warning: initialization of immutable value 'finalCenterHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3244 |
3245 | // Position coordinates in layer bounds (normalized 0-1)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3273:13: warning: variable 'uniforms' was never mutated; consider changing to 'let' constant
3271 |
3272 | // Create uniforms (shared for all 9 patches)
3273 | var uniforms = TexturedUniforms(
| `- warning: variable 'uniforms' was never mutated; consider changing to 'let' constant
3274 | mvpMatrix: finalMatrix,
3275 | opacity: currentEffectiveOpacity,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3304:14: warning: immutable value 'index' was never used; consider replacing with '_' or removing it [#no-usage]
3302 |
3303 | // Render each patch
3304 | for (index, patch) in patches.enumerated() {
| `- warning: immutable value 'index' was never used; consider replacing with '_' or removing it [#no-usage]
3305 | let (pMinX, pMaxX, pMinY, pMaxY, uMinX, uMaxX, uMinY, uMaxY) = patch
3306 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3381:19: warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3379 | modelMatrix: Matrix4x4
3380 | ) {
3381 | guard let texturedPipeline = texturedPipeline,
| `- warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3382 | let texturedBindGroupLayout = texturedBindGroupLayout,
3383 | let textureSampler = textureSampler,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3799:19: warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3797 | return
3798 | }
3799 | guard let texturedPipeline = texturedPipeline,
| `- warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3800 | let texturedBindGroupLayout = texturedBindGroupLayout,
3801 | let textureSampler = textureSampler,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5043:19: warning: immutable value 'shadowBlurTexture' was never used; consider replacing with '_' or removing it [#no-usage]
5041 | let preRenderBindGroup = preRenderBindGroup,
5042 | let shadowMaskTexture = shadowMaskTexture,
5043 | let shadowBlurTexture = shadowBlurTexture,
| `- warning: immutable value 'shadowBlurTexture' was never used; consider replacing with '_' or removing it [#no-usage]
5044 | let shadowBlurHorizontalPipeline = shadowBlurHorizontalPipeline,
5045 | let shadowBlurVerticalPipeline = shadowBlurVerticalPipeline,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5074:13: warning: initialization of immutable value 'expandedWidth' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
5072 |
5073 | // Calculate expanded bounds for shadow (includes blur radius)
5074 | let expandedWidth = presentationLayer.bounds.width + shadowRadius * 4
| `- warning: initialization of immutable value 'expandedWidth' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
5075 | let expandedHeight = presentationLayer.bounds.height + shadowRadius * 4
5076 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5075:13: warning: initialization of immutable value 'expandedHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
5073 | // Calculate expanded bounds for shadow (includes blur radius)
5074 | let expandedWidth = presentationLayer.bounds.width + shadowRadius * 4
5075 | let expandedHeight = presentationLayer.bounds.height + shadowRadius * 4
| `- warning: initialization of immutable value 'expandedHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
5076 |
5077 | // Step 1: Render layer shape to shadow mask texture
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5224:19: warning: immutable value 'depthTexture' was never used; consider replacing with '_' or removing it [#no-usage]
5222 |
5223 | guard let pipeline = pipeline,
5224 | let depthTexture = depthTexture,
| `- warning: immutable value 'depthTexture' was never used; consider replacing with '_' or removing it [#no-usage]
5225 | let filterSourceTexture = filterSourceTexture,
5226 | let filterBlurTexture = filterBlurTexture,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5851:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
5849 | // Recursively check sublayers in render order so the chosen pre-render target
5850 | // matches the first filtered layer that will actually be composited.
5851 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
5852 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
5853 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5887:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
5885 | // Recursively check sublayers in render order (sorted by zPosition)
5886 | // to match the order in which shadows are actually drawn.
5887 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
5888 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
5889 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6129:19: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
6127 | let presentationLayer = layer._renderTimePresentation()
6128 |
6129 | guard let sublayers = layer.sublayers else { return }
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
6130 |
6131 | // Apply the CATransformLayer's own transform (but not its content)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6408:19: warning: immutable value 'vertexBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
6406 | bindGroup: GPUBindGroup
6407 | ) {
6408 | guard let vertexBuffer = vertexBuffer,
| `- warning: immutable value 'vertexBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
6409 | let uniformBuffer = uniformBuffer,
6410 | let pipeline = pipeline else { return }
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6409:19: warning: immutable value 'uniformBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
6407 | ) {
6408 | guard let vertexBuffer = vertexBuffer,
6409 | let uniformBuffer = uniformBuffer,
| `- warning: immutable value 'uniformBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
6410 | let pipeline = pipeline else { return }
6411 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6410:19: warning: immutable value 'pipeline' was never used; consider replacing with '_' or removing it [#no-usage]
6408 | guard let vertexBuffer = vertexBuffer,
6409 | let uniformBuffer = uniformBuffer,
6410 | let pipeline = pipeline else { return }
| `- warning: immutable value 'pipeline' was never used; consider replacing with '_' or removing it [#no-usage]
6411 |
6412 | // Calculate current LOD level
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6510:19: warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
6508 | opacity: Float
6509 | ) {
6510 | guard let texturedPipeline = texturedPipeline,
| `- warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
6511 | let vertexBuffer = vertexBuffer,
6512 | let uniformBuffer = uniformBuffer,
[213/214] Compiling OpenCoreAnimation RenderCommandSink.swift
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:611:29: warning: no calls to throwing functions occur within 'try' expression
609 |
610 | // Request adapter
611 | guard let adapter = try await gpu.requestAdapter() else {
| `- warning: no calls to throwing functions occur within 'try' expression
612 | throw CARendererError.deviceNotAvailable
613 | }
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:1839:19: warning: immutable value 'depthTexture' was never used; consider replacing with '_' or removing it [#no-usage]
1837 | let pipeline = pipeline,
1838 | bindGroup != nil,
1839 | let depthTexture = depthTexture else { return }
| `- warning: immutable value 'depthTexture' was never used; consider replacing with '_' or removing it [#no-usage]
1840 |
1841 | // Phase 1 (PERFORMANCE_DESIGN.md §3.6): bump the per-frame token
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:2200:19: warning: immutable value 'vertexBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
2198 | ) {
2199 | guard let device = device,
2200 | let vertexBuffer = vertexBuffer,
| `- warning: immutable value 'vertexBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
2201 | let uniformBuffer = uniformBuffer,
2202 | let bindGroup = bindGroup else { return }
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:2201:19: warning: immutable value 'uniformBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
2199 | guard let device = device,
2200 | let vertexBuffer = vertexBuffer,
2201 | let uniformBuffer = uniformBuffer,
| `- warning: immutable value 'uniformBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
2202 | let bindGroup = bindGroup else { return }
2203 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:2385:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
2383 |
2384 | // Render sublayers (use model layer hierarchy, but presentation layer's sublayerTransform)
2385 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
2386 | // Use sublayerMatrix helper to apply sublayerTransform and bounds.origin offset
2387 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:2927:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
2925 |
2926 | // Recursively render sublayers
2927 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
2928 | // Use sublayerMatrix helper to apply sublayerTransform and bounds.origin offset
2929 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3034:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
3032 |
3033 | // Recursively render sublayers with the same time offset
3034 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
3035 | // Use sublayerMatrix helper to apply sublayerTransform and bounds.origin offset
3036 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3168:19: warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3166 | modelMatrix: Matrix4x4
3167 | ) {
3168 | guard let texturedPipeline = texturedPipeline,
| `- warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3169 | let texturedBindGroupLayout = texturedBindGroupLayout,
3170 | let textureSampler = textureSampler,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3202:13: warning: initialization of immutable value 'srcCenterWidth' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3200 | // Source pixel sizes for corners/edges
3201 | let srcLeftWidth = center.origin.x * imgW
3202 | let srcCenterWidth = center.size.width * imgW
| `- warning: initialization of immutable value 'srcCenterWidth' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3203 | let srcRightWidth = (1 - center.origin.x - center.size.width) * imgW
3204 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3206:13: warning: initialization of immutable value 'srcCenterHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3204 |
3205 | let srcTopHeight = center.origin.y * imgH
3206 | let srcCenterHeight = center.size.height * imgH
| `- warning: initialization of immutable value 'srcCenterHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3207 | let srcBottomHeight = (1 - center.origin.y - center.size.height) * imgH
3208 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3243:13: warning: initialization of immutable value 'finalCenterHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3241 | let finalTopHeight = destTopHeight * scaleY
3242 | let finalBottomHeight = destBottomHeight * scaleY
3243 | let finalCenterHeight = max(0, boundsHeight - finalTopHeight - finalBottomHeight)
| `- warning: initialization of immutable value 'finalCenterHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3244 |
3245 | // Position coordinates in layer bounds (normalized 0-1)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3273:13: warning: variable 'uniforms' was never mutated; consider changing to 'let' constant
3271 |
3272 | // Create uniforms (shared for all 9 patches)
3273 | var uniforms = TexturedUniforms(
| `- warning: variable 'uniforms' was never mutated; consider changing to 'let' constant
3274 | mvpMatrix: finalMatrix,
3275 | opacity: currentEffectiveOpacity,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3304:14: warning: immutable value 'index' was never used; consider replacing with '_' or removing it [#no-usage]
3302 |
3303 | // Render each patch
3304 | for (index, patch) in patches.enumerated() {
| `- warning: immutable value 'index' was never used; consider replacing with '_' or removing it [#no-usage]
3305 | let (pMinX, pMaxX, pMinY, pMaxY, uMinX, uMaxX, uMinY, uMaxY) = patch
3306 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3381:19: warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3379 | modelMatrix: Matrix4x4
3380 | ) {
3381 | guard let texturedPipeline = texturedPipeline,
| `- warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3382 | let texturedBindGroupLayout = texturedBindGroupLayout,
3383 | let textureSampler = textureSampler,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3799:19: warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3797 | return
3798 | }
3799 | guard let texturedPipeline = texturedPipeline,
| `- warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3800 | let texturedBindGroupLayout = texturedBindGroupLayout,
3801 | let textureSampler = textureSampler,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5043:19: warning: immutable value 'shadowBlurTexture' was never used; consider replacing with '_' or removing it [#no-usage]
5041 | let preRenderBindGroup = preRenderBindGroup,
5042 | let shadowMaskTexture = shadowMaskTexture,
5043 | let shadowBlurTexture = shadowBlurTexture,
| `- warning: immutable value 'shadowBlurTexture' was never used; consider replacing with '_' or removing it [#no-usage]
5044 | let shadowBlurHorizontalPipeline = shadowBlurHorizontalPipeline,
5045 | let shadowBlurVerticalPipeline = shadowBlurVerticalPipeline,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5074:13: warning: initialization of immutable value 'expandedWidth' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
5072 |
5073 | // Calculate expanded bounds for shadow (includes blur radius)
5074 | let expandedWidth = presentationLayer.bounds.width + shadowRadius * 4
| `- warning: initialization of immutable value 'expandedWidth' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
5075 | let expandedHeight = presentationLayer.bounds.height + shadowRadius * 4
5076 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5075:13: warning: initialization of immutable value 'expandedHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
5073 | // Calculate expanded bounds for shadow (includes blur radius)
5074 | let expandedWidth = presentationLayer.bounds.width + shadowRadius * 4
5075 | let expandedHeight = presentationLayer.bounds.height + shadowRadius * 4
| `- warning: initialization of immutable value 'expandedHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
5076 |
5077 | // Step 1: Render layer shape to shadow mask texture
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5224:19: warning: immutable value 'depthTexture' was never used; consider replacing with '_' or removing it [#no-usage]
5222 |
5223 | guard let pipeline = pipeline,
5224 | let depthTexture = depthTexture,
| `- warning: immutable value 'depthTexture' was never used; consider replacing with '_' or removing it [#no-usage]
5225 | let filterSourceTexture = filterSourceTexture,
5226 | let filterBlurTexture = filterBlurTexture,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5851:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
5849 | // Recursively check sublayers in render order so the chosen pre-render target
5850 | // matches the first filtered layer that will actually be composited.
5851 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
5852 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
5853 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5887:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
5885 | // Recursively check sublayers in render order (sorted by zPosition)
5886 | // to match the order in which shadows are actually drawn.
5887 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
5888 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
5889 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6129:19: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
6127 | let presentationLayer = layer._renderTimePresentation()
6128 |
6129 | guard let sublayers = layer.sublayers else { return }
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
6130 |
6131 | // Apply the CATransformLayer's own transform (but not its content)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6408:19: warning: immutable value 'vertexBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
6406 | bindGroup: GPUBindGroup
6407 | ) {
6408 | guard let vertexBuffer = vertexBuffer,
| `- warning: immutable value 'vertexBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
6409 | let uniformBuffer = uniformBuffer,
6410 | let pipeline = pipeline else { return }
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6409:19: warning: immutable value 'uniformBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
6407 | ) {
6408 | guard let vertexBuffer = vertexBuffer,
6409 | let uniformBuffer = uniformBuffer,
| `- warning: immutable value 'uniformBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
6410 | let pipeline = pipeline else { return }
6411 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6410:19: warning: immutable value 'pipeline' was never used; consider replacing with '_' or removing it [#no-usage]
6408 | guard let vertexBuffer = vertexBuffer,
6409 | let uniformBuffer = uniformBuffer,
6410 | let pipeline = pipeline else { return }
| `- warning: immutable value 'pipeline' was never used; consider replacing with '_' or removing it [#no-usage]
6411 |
6412 | // Calculate current LOD level
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6510:19: warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
6508 | opacity: Float
6509 | ) {
6510 | guard let texturedPipeline = texturedPipeline,
| `- warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
6511 | let vertexBuffer = vertexBuffer,
6512 | let uniformBuffer = uniformBuffer,
[214/214] Compiling OpenCoreAnimation CALayerWebGPUExtensions.swift
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:611:29: warning: no calls to throwing functions occur within 'try' expression
609 |
610 | // Request adapter
611 | guard let adapter = try await gpu.requestAdapter() else {
| `- warning: no calls to throwing functions occur within 'try' expression
612 | throw CARendererError.deviceNotAvailable
613 | }
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:1839:19: warning: immutable value 'depthTexture' was never used; consider replacing with '_' or removing it [#no-usage]
1837 | let pipeline = pipeline,
1838 | bindGroup != nil,
1839 | let depthTexture = depthTexture else { return }
| `- warning: immutable value 'depthTexture' was never used; consider replacing with '_' or removing it [#no-usage]
1840 |
1841 | // Phase 1 (PERFORMANCE_DESIGN.md §3.6): bump the per-frame token
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:2200:19: warning: immutable value 'vertexBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
2198 | ) {
2199 | guard let device = device,
2200 | let vertexBuffer = vertexBuffer,
| `- warning: immutable value 'vertexBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
2201 | let uniformBuffer = uniformBuffer,
2202 | let bindGroup = bindGroup else { return }
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:2201:19: warning: immutable value 'uniformBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
2199 | guard let device = device,
2200 | let vertexBuffer = vertexBuffer,
2201 | let uniformBuffer = uniformBuffer,
| `- warning: immutable value 'uniformBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
2202 | let bindGroup = bindGroup else { return }
2203 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:2385:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
2383 |
2384 | // Render sublayers (use model layer hierarchy, but presentation layer's sublayerTransform)
2385 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
2386 | // Use sublayerMatrix helper to apply sublayerTransform and bounds.origin offset
2387 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:2927:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
2925 |
2926 | // Recursively render sublayers
2927 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
2928 | // Use sublayerMatrix helper to apply sublayerTransform and bounds.origin offset
2929 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3034:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
3032 |
3033 | // Recursively render sublayers with the same time offset
3034 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
3035 | // Use sublayerMatrix helper to apply sublayerTransform and bounds.origin offset
3036 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3168:19: warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3166 | modelMatrix: Matrix4x4
3167 | ) {
3168 | guard let texturedPipeline = texturedPipeline,
| `- warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3169 | let texturedBindGroupLayout = texturedBindGroupLayout,
3170 | let textureSampler = textureSampler,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3202:13: warning: initialization of immutable value 'srcCenterWidth' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3200 | // Source pixel sizes for corners/edges
3201 | let srcLeftWidth = center.origin.x * imgW
3202 | let srcCenterWidth = center.size.width * imgW
| `- warning: initialization of immutable value 'srcCenterWidth' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3203 | let srcRightWidth = (1 - center.origin.x - center.size.width) * imgW
3204 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3206:13: warning: initialization of immutable value 'srcCenterHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3204 |
3205 | let srcTopHeight = center.origin.y * imgH
3206 | let srcCenterHeight = center.size.height * imgH
| `- warning: initialization of immutable value 'srcCenterHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3207 | let srcBottomHeight = (1 - center.origin.y - center.size.height) * imgH
3208 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3243:13: warning: initialization of immutable value 'finalCenterHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3241 | let finalTopHeight = destTopHeight * scaleY
3242 | let finalBottomHeight = destBottomHeight * scaleY
3243 | let finalCenterHeight = max(0, boundsHeight - finalTopHeight - finalBottomHeight)
| `- warning: initialization of immutable value 'finalCenterHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
3244 |
3245 | // Position coordinates in layer bounds (normalized 0-1)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3273:13: warning: variable 'uniforms' was never mutated; consider changing to 'let' constant
3271 |
3272 | // Create uniforms (shared for all 9 patches)
3273 | var uniforms = TexturedUniforms(
| `- warning: variable 'uniforms' was never mutated; consider changing to 'let' constant
3274 | mvpMatrix: finalMatrix,
3275 | opacity: currentEffectiveOpacity,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3304:14: warning: immutable value 'index' was never used; consider replacing with '_' or removing it [#no-usage]
3302 |
3303 | // Render each patch
3304 | for (index, patch) in patches.enumerated() {
| `- warning: immutable value 'index' was never used; consider replacing with '_' or removing it [#no-usage]
3305 | let (pMinX, pMaxX, pMinY, pMaxY, uMinX, uMaxX, uMinY, uMaxY) = patch
3306 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3381:19: warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3379 | modelMatrix: Matrix4x4
3380 | ) {
3381 | guard let texturedPipeline = texturedPipeline,
| `- warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3382 | let texturedBindGroupLayout = texturedBindGroupLayout,
3383 | let textureSampler = textureSampler,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:3799:19: warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3797 | return
3798 | }
3799 | guard let texturedPipeline = texturedPipeline,
| `- warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
3800 | let texturedBindGroupLayout = texturedBindGroupLayout,
3801 | let textureSampler = textureSampler,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5043:19: warning: immutable value 'shadowBlurTexture' was never used; consider replacing with '_' or removing it [#no-usage]
5041 | let preRenderBindGroup = preRenderBindGroup,
5042 | let shadowMaskTexture = shadowMaskTexture,
5043 | let shadowBlurTexture = shadowBlurTexture,
| `- warning: immutable value 'shadowBlurTexture' was never used; consider replacing with '_' or removing it [#no-usage]
5044 | let shadowBlurHorizontalPipeline = shadowBlurHorizontalPipeline,
5045 | let shadowBlurVerticalPipeline = shadowBlurVerticalPipeline,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5074:13: warning: initialization of immutable value 'expandedWidth' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
5072 |
5073 | // Calculate expanded bounds for shadow (includes blur radius)
5074 | let expandedWidth = presentationLayer.bounds.width + shadowRadius * 4
| `- warning: initialization of immutable value 'expandedWidth' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
5075 | let expandedHeight = presentationLayer.bounds.height + shadowRadius * 4
5076 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5075:13: warning: initialization of immutable value 'expandedHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
5073 | // Calculate expanded bounds for shadow (includes blur radius)
5074 | let expandedWidth = presentationLayer.bounds.width + shadowRadius * 4
5075 | let expandedHeight = presentationLayer.bounds.height + shadowRadius * 4
| `- warning: initialization of immutable value 'expandedHeight' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
5076 |
5077 | // Step 1: Render layer shape to shadow mask texture
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5224:19: warning: immutable value 'depthTexture' was never used; consider replacing with '_' or removing it [#no-usage]
5222 |
5223 | guard let pipeline = pipeline,
5224 | let depthTexture = depthTexture,
| `- warning: immutable value 'depthTexture' was never used; consider replacing with '_' or removing it [#no-usage]
5225 | let filterSourceTexture = filterSourceTexture,
5226 | let filterBlurTexture = filterBlurTexture,
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5851:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
5849 | // Recursively check sublayers in render order so the chosen pre-render target
5850 | // matches the first filtered layer that will actually be composited.
5851 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
5852 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
5853 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:5887:16: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
5885 | // Recursively check sublayers in render order (sorted by zPosition)
5886 | // to match the order in which shadows are actually drawn.
5887 | if let sublayers = layer.sublayers {
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
5888 | let sublayerMatrix = presentationLayer.sublayerMatrix(modelMatrix: modelMatrix)
5889 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6129:19: warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
6127 | let presentationLayer = layer._renderTimePresentation()
6128 |
6129 | guard let sublayers = layer.sublayers else { return }
| `- warning: value 'sublayers' was defined but never used; consider replacing with boolean test [#no-usage]
6130 |
6131 | // Apply the CATransformLayer's own transform (but not its content)
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6408:19: warning: immutable value 'vertexBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
6406 | bindGroup: GPUBindGroup
6407 | ) {
6408 | guard let vertexBuffer = vertexBuffer,
| `- warning: immutable value 'vertexBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
6409 | let uniformBuffer = uniformBuffer,
6410 | let pipeline = pipeline else { return }
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6409:19: warning: immutable value 'uniformBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
6407 | ) {
6408 | guard let vertexBuffer = vertexBuffer,
6409 | let uniformBuffer = uniformBuffer,
| `- warning: immutable value 'uniformBuffer' was never used; consider replacing with '_' or removing it [#no-usage]
6410 | let pipeline = pipeline else { return }
6411 |
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6410:19: warning: immutable value 'pipeline' was never used; consider replacing with '_' or removing it [#no-usage]
6408 | guard let vertexBuffer = vertexBuffer,
6409 | let uniformBuffer = uniformBuffer,
6410 | let pipeline = pipeline else { return }
| `- warning: immutable value 'pipeline' was never used; consider replacing with '_' or removing it [#no-usage]
6411 |
6412 | // Calculate current LOD level
/host/spi-builder-workspace/Sources/OpenCoreAnimation/CAWebGPURenderer.swift:6510:19: warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
6508 | opacity: Float
6509 | ) {
6510 | guard let texturedPipeline = texturedPipeline,
| `- warning: immutable value 'texturedPipeline' was never used; consider replacing with '_' or removing it [#no-usage]
6511 | let vertexBuffer = vertexBuffer,
6512 | let uniformBuffer = uniformBuffer,
Build complete! (99.35s)
Build complete.
{
"dependencies" : [
{
"identity" : "opencoregraphics",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/1amageek/OpenCoreGraphics.git"
},
{
"identity" : "swift-webgpu",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/1amageek/swift-webgpu.git"
}
],
"manifest_display_name" : "OpenCoreAnimation",
"name" : "OpenCoreAnimation",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "15.0"
},
{
"name" : "ios",
"version" : "17.0"
}
],
"products" : [
{
"name" : "OpenCoreAnimation",
"targets" : [
"OpenCoreAnimation"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "OpenCoreAnimationTests",
"module_type" : "SwiftTarget",
"name" : "OpenCoreAnimationTests",
"path" : "Tests/OpenCoreAnimationTests",
"sources" : [
"CAAnimationCopyTests.swift",
"CADefaultActionTimingFunctionTests.swift",
"CADisplayLinkPreferredRateTests.swift",
"CALayerBehaviorTests.swift",
"CALayerRenderingTests.swift",
"CAShapeLayerStrokeClampingTests.swift",
"CATransform3DInterpolationTests.swift",
"CATransitionTests.swift",
"OpenCoreAnimationTests.swift",
"OpenCoreAnimationUmbrellaReExportTests.swift",
"Performance/DirtyPropagationTests.swift",
"Performance/MockCARenderer.swift",
"Performance/PresentationCacheTests.swift",
"Performance/RasterizationCacheTests.swift",
"Performance/RasterizationTests.swift",
"Performance/RendererDirtyClearTests.swift",
"Performance/_TestHelpers.swift",
"Rendering/TextureCacheIdentityTests.swift"
],
"target_dependencies" : [
"OpenCoreAnimation"
],
"type" : "test"
},
{
"c99name" : "OpenCoreAnimation",
"module_type" : "SwiftTarget",
"name" : "OpenCoreAnimation",
"path" : "Sources/OpenCoreAnimation",
"product_dependencies" : [
"OpenCoreGraphics",
"SwiftWebGPU"
],
"product_memberships" : [
"OpenCoreAnimation"
],
"sources" : [
"CAAction.swift",
"CAAnimation.swift",
"CAAnimationCalculationMode.swift",
"CAAnimationDelegate.swift",
"CAAnimationEngine.swift",
"CAAnimationGroup.swift",
"CAAnimationRotationMode.swift",
"CAAutoresizingMask.swift",
"CABasicAnimation.swift",
"CAConstraint.swift",
"CAConstraintAttribute.swift",
"CAConstraintLayoutManager.swift",
"CACornerMask.swift",
"CADisplayLink.swift",
"CADisplayLinkNative.swift",
"CADisplayLinkWASM.swift",
"CAEdgeAntialiasingMask.swift",
"CAEmitterCell.swift",
"CAEmitterLayer.swift",
"CAEmitterLayerEmitterMode.swift",
"CAEmitterLayerEmitterShape.swift",
"CAEmitterLayerRenderMode.swift",
"CAFilter.swift",
"CAGradientLayer.swift",
"CAGradientLayerType.swift",
"CAKeyframeAnimation.swift",
"CALayer+Dirty.swift",
"CALayer.swift",
"CALayerContentsFilter.swift",
"CALayerContentsFormat.swift",
"CALayerContentsGravity.swift",
"CALayerCornerCurve.swift",
"CALayerDelegate.swift",
"CALayoutManager.swift",
"CAMediaTiming.swift",
"CAMediaTimingFillMode.swift",
"CAMediaTimingFunction.swift",
"CAMediaTimingFunctionName.swift",
"CAMetalRenderer.swift",
"CAPropertyAnimation.swift",
"CARenderer.swift",
"CARendererDelegate.swift",
"CAReplicatorLayer.swift",
"CAScrollLayer.swift",
"CAScrollLayerScrollMode.swift",
"CAShapeLayer.swift",
"CAShapeLayerFillRule.swift",
"CAShapeLayerLineCap.swift",
"CAShapeLayerLineJoin.swift",
"CASpringAnimation.swift",
"CATextLayer.swift",
"CATiledLayer.swift",
"CATransaction.swift",
"CATransform3D.swift",
"CATransform3DInterpolation.swift",
"CATransformLayer.swift",
"CATransition.swift",
"CAValueFunction.swift",
"CAValueFunctionName.swift",
"CAWebGPURenderer.swift",
"OpenCoreAnimation.swift",
"Rendering/Internal/RasterizationCache.swift",
"Rendering/Internal/RasterizationDecisions.swift",
"Rendering/Internal/RenderCommandSink.swift",
"Rendering/WebGPU/Extensions/CALayerWebGPUExtensions.swift",
"Rendering/WebGPU/Internal/BufferPool.swift",
"Rendering/WebGPU/Internal/GeometryCache.swift",
"Rendering/WebGPU/Internal/TextureManager.swift",
"Rendering/WebGPU/Shaders/CAWebGPUShaders.swift",
"Rendering/WebGPU/Types/GeometryTypes.swift",
"Rendering/WebGPU/Types/Matrix4x4.swift",
"Rendering/WebGPU/Types/ParticleTypes.swift",
"Rendering/WebGPU/Types/RendererTypes.swift",
"RunLoop.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Done.