The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build stable-diffusion, reference 1.1.1 (5a170d), with Swift 6.1 for tvOS using Xcode 16.3 on 28 Apr 2025 18:29:53 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme stable-diffusion-Package -destination generic/platform=tvOS

Build Log

SwiftEmitModule normal arm64 Emitting\ module\ for\ ArgumentParserToolInfo (in target 'ArgumentParserToolInfo' from project 'swift-argument-parser')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift (in target 'ArgumentParserToolInfo' from project 'swift-argument-parser')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ ToolInfo.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift (in target 'ArgumentParserToolInfo' from project 'swift-argument-parser')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift (in target 'ArgumentParserToolInfo' from project 'swift-argument-parser')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ RandomSource.swift,\ ResourceManaging.swift,\ SafetyChecker.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/RandomSource.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ResourceManaging.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift (in target 'StableDiffusion' from project 'stable-diffusion')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/RandomSource.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ResourceManaging.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ StableDiffusionPipeline.Configuration.swift,\ StableDiffusionPipeline.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.Configuration.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift (in target 'StableDiffusion' from project 'stable-diffusion')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.Configuration.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ StableDiffusionXL+Resources.swift,\ StableDiffusionXLPipeline.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXL+Resources.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift (in target 'StableDiffusion' from project 'stable-diffusion')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXL+Resources.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftEmitModule normal arm64 Emitting\ module\ for\ StableDiffusion (in target 'StableDiffusion' from project 'stable-diffusion')
Failed frontend command:
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ControlNet.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Decoder.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Encoder.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ManagedMLModel.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/MultilingualTextEncoder.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/NumPyRandomSource.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/NvRandomSource.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/RandomSource.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ResourceManaging.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SampleTimer.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline+Resources.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.Configuration.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXL+Resources.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TextEncoder.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TextEncoderXL.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TorchRandomSource.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/tokenizer/BPETokenizer+Reading.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/tokenizer/BPETokenizer.swift -target arm64-apple-tvos14.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/stable-diffusion.build/Debug-appletvos/StableDiffusion.build/Objects-normal/arm64/StableDiffusion_const_extract_protocols.json -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -enable-experimental-feature DebugDescriptionMacro -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.4-22L251-271d326055c85f9856fa135c41255102.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/stable-diffusion.build/Debug-appletvos/StableDiffusion.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/stable-diffusion.build/Debug-appletvos/StableDiffusion.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/stable-diffusion.build/Debug-appletvos/StableDiffusion.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/stable-diffusion.build/Debug-appletvos/StableDiffusion.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name StableDiffusion -frontend-parseable-output -disable-clang-spi -target-sdk-version 18.4 -target-sdk-name appletvos18.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/stable-diffusion.build/Debug-appletvos/StableDiffusion.build/Objects-normal/arm64/StableDiffusion.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/stable-diffusion.build/Debug-appletvos/StableDiffusion.build/Objects-normal/arm64/StableDiffusion.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/stable-diffusion.build/Debug-appletvos/StableDiffusion.build/Objects-normal/arm64/StableDiffusion-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/stable-diffusion.build/Debug-appletvos/StableDiffusion.build/Objects-normal/arm64/StableDiffusion-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/stable-diffusion.build/Debug-appletvos/StableDiffusion.build/Objects-normal/arm64/StableDiffusion-master-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/stable-diffusion.build/Debug-appletvos/StableDiffusion.build/Objects-normal/arm64/StableDiffusion.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/stable-diffusion.build/Debug-appletvos/StableDiffusion.build/Objects-normal/arm64/StableDiffusion.abi.json
EmitSwiftModule normal arm64 (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:12:40: error: 'PixelBuffer' is only available in tvOS 16.0 or newer
    typealias PixelBufferPFx1 = vImage.PixelBuffer<vImage.PlanarF>
                                       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:12:15: note: add @available attribute to enclosing type alias
    typealias PixelBufferPFx1 = vImage.PixelBuffer<vImage.PlanarF>
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:10:1: note: add @available attribute to enclosing extension
extension CGImage {
^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:13:40: error: 'PixelBuffer' is only available in tvOS 16.0 or newer
    typealias PixelBufferP8x3 = vImage.PixelBuffer<vImage.Planar8x3>
                                       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:13:15: note: add @available attribute to enclosing type alias
    typealias PixelBufferP8x3 = vImage.PixelBuffer<vImage.Planar8x3>
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:10:1: note: add @available attribute to enclosing extension
extension CGImage {
^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:14:40: error: 'PixelBuffer' is only available in tvOS 16.0 or newer
    typealias PixelBufferIFx3 = vImage.PixelBuffer<vImage.InterleavedFx3>
                                       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:14:15: note: add @available attribute to enclosing type alias
    typealias PixelBufferIFx3 = vImage.PixelBuffer<vImage.InterleavedFx3>
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:10:1: note: add @available attribute to enclosing extension
extension CGImage {
^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:15:40: error: 'PixelBuffer' is only available in tvOS 16.0 or newer
    typealias PixelBufferI8x3 = vImage.PixelBuffer<vImage.Interleaved8x3>
                                       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:15:15: note: add @available attribute to enclosing type alias
    typealias PixelBufferI8x3 = vImage.PixelBuffer<vImage.Interleaved8x3>
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:10:1: note: add @available attribute to enclosing extension
extension CGImage {
^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:23:49: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    public static func fromShapedArray(_ array: MLShapedArray<Float32>) throws -> CGImage {
                                                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:23:24: note: add @available attribute to enclosing static method
    public static func fromShapedArray(_ array: MLShapedArray<Float32>) throws -> CGImage {
                       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:10:1: note: add @available attribute to enclosing extension
extension CGImage {
^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:68:19: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        throws -> MLShapedArray<Float32> {
                  ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:67:17: note: add @available attribute to enclosing instance method
    public func planarRGBShapedArray(minValue: Float, maxValue: Float)
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:10:1: note: add @available attribute to enclosing extension
extension CGImage {
^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:138:19: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        throws -> MLShapedArray<Float32> {
                  ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:137:17: note: add @available attribute to enclosing instance method
    public func toRGBShapedArray(minValue: Float, maxValue: Float)
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:10:1: note: add @available attribute to enclosing extension
extension CGImage {
^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ControlNet.swift:65:19: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        latents: [MLShapedArray<Float32>],
                  ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ControlNet.swift:64:10: note: add @available attribute to enclosing instance method
    func execute(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ControlNet.swift:9:15: note: add @available attribute to enclosing struct
public struct ControlNet: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ControlNet.swift:67:23: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        hiddenStates: MLShapedArray<Float32>,
                      ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ControlNet.swift:64:10: note: add @available attribute to enclosing instance method
    func execute(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ControlNet.swift:9:15: note: add @available attribute to enclosing struct
public struct ControlNet: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ControlNet.swift:68:18: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        images: [MLShapedArray<Float32>]
                 ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ControlNet.swift:64:10: note: add @available attribute to enclosing instance method
    func execute(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ControlNet.swift:9:15: note: add @available attribute to enclosing struct
public struct ControlNet: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ControlNet.swift:69:27: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    ) throws -> [[String: MLShapedArray<Float32>]] {
                          ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ControlNet.swift:64:10: note: add @available attribute to enclosing instance method
    func execute(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ControlNet.swift:9:15: note: add @available attribute to enclosing struct
public struct ControlNet: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ControlNet.swift:120:89: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    private func initOutputs(batch: Int, shapes: [String: MLFeatureValue]) -> [[String: MLShapedArray<Float32>]] {
                                                                                        ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ControlNet.swift:120:18: note: add @available attribute to enclosing instance method
    private func initOutputs(batch: Int, shapes: [String: MLFeatureValue]) -> [[String: MLShapedArray<Float32>]] {
                 ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ControlNet.swift:9:15: note: add @available attribute to enclosing struct
public struct ControlNet: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:49:44: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    public private(set) var modelOutputs: [MLShapedArray<Float32>] = []
                                           ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:27:20: note: add @available attribute to enclosing class
public final class DPMSolverMultistepScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:135:42: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func convertModelOutput(modelOutput: MLShapedArray<Float32>, timestep: Int, sample: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
                                         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:135:10: note: add @available attribute to enclosing instance method
    func convertModelOutput(modelOutput: MLShapedArray<Float32>, timestep: Int, sample: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:27:20: note: add @available attribute to enclosing class
public final class DPMSolverMultistepScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:135:89: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func convertModelOutput(modelOutput: MLShapedArray<Float32>, timestep: Int, sample: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
                                                                                        ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:135:10: note: add @available attribute to enclosing instance method
    func convertModelOutput(modelOutput: MLShapedArray<Float32>, timestep: Int, sample: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:27:20: note: add @available attribute to enclosing class
public final class DPMSolverMultistepScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:135:116: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func convertModelOutput(modelOutput: MLShapedArray<Float32>, timestep: Int, sample: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
                                                                                                                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:135:10: note: add @available attribute to enclosing instance method
    func convertModelOutput(modelOutput: MLShapedArray<Float32>, timestep: Int, sample: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:27:20: note: add @available attribute to enclosing class
public final class DPMSolverMultistepScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:157:22: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        modelOutput: MLShapedArray<Float32>,
                     ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:156:10: note: add @available attribute to enclosing instance method
    func firstOrderUpdate(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:27:20: note: add @available attribute to enclosing class
public final class DPMSolverMultistepScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:160:17: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        sample: MLShapedArray<Float32>
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:156:10: note: add @available attribute to enclosing instance method
    func firstOrderUpdate(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:27:20: note: add @available attribute to enclosing class
public final class DPMSolverMultistepScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:161:10: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    ) -> MLShapedArray<Float32> {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:156:10: note: add @available attribute to enclosing instance method
    func firstOrderUpdate(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:27:20: note: add @available attribute to enclosing class
public final class DPMSolverMultistepScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:179:24: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        modelOutputs: [MLShapedArray<Float32>],
                       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:178:10: note: add @available attribute to enclosing instance method
    func secondOrderUpdate(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:27:20: note: add @available attribute to enclosing class
public final class DPMSolverMultistepScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:182:17: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        sample: MLShapedArray<Float32>
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:178:10: note: add @available attribute to enclosing instance method
    func secondOrderUpdate(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:27:20: note: add @available attribute to enclosing class
public final class DPMSolverMultistepScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:183:10: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    ) -> MLShapedArray<Float32> {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:178:10: note: add @available attribute to enclosing instance method
    func secondOrderUpdate(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:27:20: note: add @available attribute to enclosing class
public final class DPMSolverMultistepScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:216:30: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    public func step(output: MLShapedArray<Float32>, timeStep t: Int, sample: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
                             ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:216:17: note: add @available attribute to enclosing instance method
    public func step(output: MLShapedArray<Float32>, timeStep t: Int, sample: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:27:20: note: add @available attribute to enclosing class
public final class DPMSolverMultistepScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:216:79: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    public func step(output: MLShapedArray<Float32>, timeStep t: Int, sample: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
                                                                              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:216:17: note: add @available attribute to enclosing instance method
    public func step(output: MLShapedArray<Float32>, timeStep t: Int, sample: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:27:20: note: add @available attribute to enclosing class
public final class DPMSolverMultistepScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:216:106: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    public func step(output: MLShapedArray<Float32>, timeStep t: Int, sample: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
                                                                                                         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:216:17: note: add @available attribute to enclosing instance method
    public func step(output: MLShapedArray<Float32>, timeStep t: Int, sample: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:27:20: note: add @available attribute to enclosing class
public final class DPMSolverMultistepScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Decoder.swift:41:21: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        _ latents: [MLShapedArray<Float32>],
                    ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Decoder.swift:40:17: note: add @available attribute to enclosing instance method
    public func decode(
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Decoder.swift:9:15: note: add @available attribute to enclosing struct
public struct Decoder: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Encoder.swift:52:17: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    ) throws -> MLShapedArray<Float32> {
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Encoder.swift:48:17: note: add @available attribute to enclosing instance method
    public func encode(
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Encoder.swift:9:15: note: add @available attribute to enclosing struct
public struct Encoder: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/NumPyRandomSource.swift:115:97: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    mutating func normalShapedArray(_ shape: [Int], mean: Double = 0.0, stdev: Double = 1.0) -> MLShapedArray<Double> {
                                                                                                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/NumPyRandomSource.swift:115:19: note: add @available attribute to enclosing instance method
    mutating func normalShapedArray(_ shape: [Int], mean: Double = 0.0, stdev: Double = 1.0) -> MLShapedArray<Double> {
                  ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/NumPyRandomSource.swift:13:8: note: add @available attribute to enclosing struct
struct NumPyRandomSource: RandomNumberGenerator, RandomSource {
       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/NvRandomSource.swift:87:95: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
  mutating func normalShapedArray(_ shape: [Int], mean: Double = 0.0, stdev: Double = 1.0) -> MLShapedArray<Double> {
                                                                                              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/NvRandomSource.swift:87:17: note: add @available attribute to enclosing instance method
  mutating func normalShapedArray(_ shape: [Int], mean: Double = 0.0, stdev: Double = 1.0) -> MLShapedArray<Double> {
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/NvRandomSource.swift:10:8: note: add @available attribute to enclosing struct
struct NvRandomSource: RandomSource {
       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/RandomSource.swift:7:85: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    mutating func normalShapedArray(_ shape: [Int], mean: Double, stdev: Double) -> MLShapedArray<Double>
                                                                                    ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/RandomSource.swift:7:19: note: add @available attribute to enclosing instance method
    mutating func normalShapedArray(_ shape: [Int], mean: Double, stdev: Double) -> MLShapedArray<Double>
                  ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/RandomSource.swift:4:17: note: add @available attribute to enclosing protocol
public protocol RandomSource {
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:35:40: error: 'PixelBuffer' is only available in tvOS 16.0 or newer
    typealias PixelBufferPFx1 = vImage.PixelBuffer<vImage.PlanarF>
                                       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:35:15: note: add @available attribute to enclosing type alias
    typealias PixelBufferPFx1 = vImage.PixelBuffer<vImage.PlanarF>
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:10:15: note: add @available attribute to enclosing struct
public struct SafetyChecker: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:36:40: error: 'PixelBuffer' is only available in tvOS 16.0 or newer
    typealias PixelBufferP8x1 = vImage.PixelBuffer<vImage.Planar8>
                                       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:36:15: note: add @available attribute to enclosing type alias
    typealias PixelBufferP8x1 = vImage.PixelBuffer<vImage.Planar8>
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:10:15: note: add @available attribute to enclosing struct
public struct SafetyChecker: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:37:40: error: 'PixelBuffer' is only available in tvOS 16.0 or newer
    typealias PixelBufferPFx3 = vImage.PixelBuffer<vImage.PlanarFx3>
                                       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:37:15: note: add @available attribute to enclosing type alias
    typealias PixelBufferPFx3 = vImage.PixelBuffer<vImage.PlanarFx3>
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:10:15: note: add @available attribute to enclosing struct
public struct SafetyChecker: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:38:40: error: 'PixelBuffer' is only available in tvOS 16.0 or newer
    typealias PixelBufferP8x3 = vImage.PixelBuffer<vImage.Planar8x3>
                                       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:38:15: note: add @available attribute to enclosing type alias
    typealias PixelBufferP8x3 = vImage.PixelBuffer<vImage.Planar8x3>
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:10:15: note: add @available attribute to enclosing struct
public struct SafetyChecker: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:39:40: error: 'PixelBuffer' is only available in tvOS 16.0 or newer
    typealias PixelBufferIFx3 = vImage.PixelBuffer<vImage.InterleavedFx3>
                                       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:39:15: note: add @available attribute to enclosing type alias
    typealias PixelBufferIFx3 = vImage.PixelBuffer<vImage.InterleavedFx3>
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:10:15: note: add @available attribute to enclosing struct
public struct SafetyChecker: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:40:40: error: 'PixelBuffer' is only available in tvOS 16.0 or newer
    typealias PixelBufferI8x3 = vImage.PixelBuffer<vImage.Interleaved8x3>
                                       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:40:15: note: add @available attribute to enclosing type alias
    typealias PixelBufferI8x3 = vImage.PixelBuffer<vImage.Interleaved8x3>
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:10:15: note: add @available attribute to enclosing struct
public struct SafetyChecker: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:41:40: error: 'PixelBuffer' is only available in tvOS 16.0 or newer
    typealias PixelBufferI8x4 = vImage.PixelBuffer<vImage.Interleaved8x4>
                                       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:41:15: note: add @available attribute to enclosing type alias
    typealias PixelBufferI8x4 = vImage.PixelBuffer<vImage.Interleaved8x4>
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:10:15: note: add @available attribute to enclosing struct
public struct SafetyChecker: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:141:72: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func normalizeToFloatShapedArray(_ bufferP8x3: PixelBufferP8x3) -> MLShapedArray<Float32> {
                                                                       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:141:10: note: add @available attribute to enclosing instance method
    func normalizeToFloatShapedArray(_ bufferP8x3: PixelBufferP8x3) -> MLShapedArray<Float32> {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:10:15: note: add @available attribute to enclosing struct
public struct SafetyChecker: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:34:24: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    var modelOutputs: [MLShapedArray<Float32>] { get }
                       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:34:9: note: add @available attribute to enclosing property
    var modelOutputs: [MLShapedArray<Float32>] { get }
        ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:8:17: note: add @available attribute to enclosing protocol
public protocol Scheduler {
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:46:17: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        output: MLShapedArray<Float32>,
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:45:10: note: add @available attribute to enclosing instance method
    func step(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:8:17: note: add @available attribute to enclosing protocol
public protocol Scheduler {
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:48:19: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        sample s: MLShapedArray<Float32>
                  ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:45:10: note: add @available attribute to enclosing instance method
    func step(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:8:17: note: add @available attribute to enclosing protocol
public protocol Scheduler {
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:49:10: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    ) -> MLShapedArray<Float32>
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:45:10: note: add @available attribute to enclosing instance method
    func step(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:8:17: note: add @available attribute to enclosing protocol
public protocol Scheduler {
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:65:54: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func weightedSum(_ weights: [Double], _ values: [MLShapedArray<Float32>]) -> MLShapedArray<Float32> {
                                                     ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:65:10: note: add @available attribute to enclosing instance method
    func weightedSum(_ weights: [Double], _ values: [MLShapedArray<Float32>]) -> MLShapedArray<Float32> {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:58:8: note: add @available attribute to enclosing extension
public extension Scheduler {
       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:65:82: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func weightedSum(_ weights: [Double], _ values: [MLShapedArray<Float32>]) -> MLShapedArray<Float32> {
                                                                                 ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:65:10: note: add @available attribute to enclosing instance method
    func weightedSum(_ weights: [Double], _ values: [MLShapedArray<Float32>]) -> MLShapedArray<Float32> {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:58:8: note: add @available attribute to enclosing extension
public extension Scheduler {
       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:84:25: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        originalSample: MLShapedArray<Float32>,
                        ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:83:10: note: add @available attribute to enclosing instance method
    func addNoise(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:58:8: note: add @available attribute to enclosing extension
public extension Scheduler {
       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:85:17: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        noise: [MLShapedArray<Float32>],
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:83:10: note: add @available attribute to enclosing instance method
    func addNoise(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:58:8: note: add @available attribute to enclosing extension
public extension Scheduler {
       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:87:11: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    ) -> [MLShapedArray<Float32>] {
          ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:83:10: note: add @available attribute to enclosing instance method
    func addNoise(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:58:8: note: add @available attribute to enclosing extension
public extension Scheduler {
       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:149:44: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    public private(set) var modelOutputs: [MLShapedArray<Float32>] = []
                                           ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:137:20: note: add @available attribute to enclosing class
public final class PNDMScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:153:15: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    var ets: [MLShapedArray<Float32>]
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:137:20: note: add @available attribute to enclosing class
public final class PNDMScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:154:24: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    var currentSample: MLShapedArray<Float32>?
                       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:137:20: note: add @available attribute to enclosing class
public final class PNDMScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:219:17: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        output: MLShapedArray<Float32>,
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:218:17: note: add @available attribute to enclosing instance method
    public func step(
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:137:20: note: add @available attribute to enclosing class
public final class PNDMScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:221:19: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        sample s: MLShapedArray<Float32>
                  ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:218:17: note: add @available attribute to enclosing instance method
    public func step(
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:137:20: note: add @available attribute to enclosing class
public final class PNDMScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:222:10: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    ) -> MLShapedArray<Float32> {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:218:17: note: add @available attribute to enclosing instance method
    public func step(
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:137:20: note: add @available attribute to enclosing class
public final class PNDMScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:277:42: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func convertModelOutput(modelOutput: MLShapedArray<Float32>, timestep: Int, sample: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
                                         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:277:10: note: add @available attribute to enclosing instance method
    func convertModelOutput(modelOutput: MLShapedArray<Float32>, timestep: Int, sample: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:137:20: note: add @available attribute to enclosing class
public final class PNDMScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:277:89: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func convertModelOutput(modelOutput: MLShapedArray<Float32>, timestep: Int, sample: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
                                                                                        ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:277:10: note: add @available attribute to enclosing instance method
    func convertModelOutput(modelOutput: MLShapedArray<Float32>, timestep: Int, sample: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:137:20: note: add @available attribute to enclosing class
public final class PNDMScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:277:116: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func convertModelOutput(modelOutput: MLShapedArray<Float32>, timestep: Int, sample: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
                                                                                                                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:277:10: note: add @available attribute to enclosing instance method
    func convertModelOutput(modelOutput: MLShapedArray<Float32>, timestep: Int, sample: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:137:20: note: add @available attribute to enclosing class
public final class PNDMScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:303:19: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        _ sample: MLShapedArray<Float32>,
                  ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:302:10: note: add @available attribute to enclosing instance method
    func previousSample(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:137:20: note: add @available attribute to enclosing class
public final class PNDMScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:306:24: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        _ modelOutput: MLShapedArray<Float32>
                       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:302:10: note: add @available attribute to enclosing instance method
    func previousSample(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:137:20: note: add @available attribute to enclosing class
public final class PNDMScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:307:11: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    ) ->  MLShapedArray<Float32> {
          ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:302:10: note: add @available attribute to enclosing instance method
    func previousSample(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:137:20: note: add @available attribute to enclosing class
public final class PNDMScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:45:21: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        _ latents: [MLShapedArray<Float32>],
                    ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:44:10: note: add @available attribute to enclosing instance method
    func decodeToImages(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:36:17: note: add @available attribute to enclosing protocol
public protocol StableDiffusionPipelineProtocol: ResourceManaging {
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:322:102: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func generateLatentSamples(configuration config: Configuration, scheduler: Scheduler) throws -> [MLShapedArray<Float32>] {
                                                                                                     ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:322:10: note: add @available attribute to enclosing instance method
    func generateLatentSamples(configuration config: Configuration, scheduler: Scheduler) throws -> [MLShapedArray<Float32>] {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:60:15: note: add @available attribute to enclosing struct
public struct StableDiffusionPipeline: StableDiffusionPipelineProtocol {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:342:44: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    public func decodeToImages(_ latents: [MLShapedArray<Float32>], configuration config: Configuration) throws -> [CGImage?] {
                                           ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:342:17: note: add @available attribute to enclosing instance method
    public func decodeToImages(_ latents: [MLShapedArray<Float32>], configuration config: Configuration) throws -> [CGImage?] {
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:60:15: note: add @available attribute to enclosing struct
public struct StableDiffusionPipeline: StableDiffusionPipelineProtocol {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:379:39: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    public let currentLatentSamples: [MLShapedArray<Float32>]
                                      ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:374:15: note: add @available attribute to enclosing struct
public struct PipelineProgress {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:410:38: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func toHiddenStates(_ embedding: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
                                     ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:410:10: note: add @available attribute to enclosing instance method
    func toHiddenStates(_ embedding: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:398:1: note: add @available attribute to enclosing extension
extension StableDiffusionPipelineProtocol {
^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:410:65: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func toHiddenStates(_ embedding: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
                                                                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:410:10: note: add @available attribute to enclosing instance method
    func toHiddenStates(_ embedding: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:398:1: note: add @available attribute to enclosing extension
extension StableDiffusionPipelineProtocol {
^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:426:36: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func performGuidance(_ noise: [MLShapedArray<Float32>], _ guidanceScale: Float) -> [MLShapedArray<Float32>] {
                                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:426:10: note: add @available attribute to enclosing instance method
    func performGuidance(_ noise: [MLShapedArray<Float32>], _ guidanceScale: Float) -> [MLShapedArray<Float32>] {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:398:1: note: add @available attribute to enclosing extension
extension StableDiffusionPipelineProtocol {
^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:426:89: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func performGuidance(_ noise: [MLShapedArray<Float32>], _ guidanceScale: Float) -> [MLShapedArray<Float32>] {
                                                                                        ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:426:10: note: add @available attribute to enclosing instance method
    func performGuidance(_ noise: [MLShapedArray<Float32>], _ guidanceScale: Float) -> [MLShapedArray<Float32>] {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:398:1: note: add @available attribute to enclosing extension
extension StableDiffusionPipelineProtocol {
^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:430:35: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func performGuidance(_ noise: MLShapedArray<Float32>, _ guidanceScale: Float) -> MLShapedArray<Float32> {
                                  ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:430:10: note: add @available attribute to enclosing instance method
    func performGuidance(_ noise: MLShapedArray<Float32>, _ guidanceScale: Float) -> MLShapedArray<Float32> {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:398:1: note: add @available attribute to enclosing extension
extension StableDiffusionPipelineProtocol {
^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:430:86: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func performGuidance(_ noise: MLShapedArray<Float32>, _ guidanceScale: Float) -> MLShapedArray<Float32> {
                                                                                     ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:430:10: note: add @available attribute to enclosing instance method
    func performGuidance(_ noise: MLShapedArray<Float32>, _ guidanceScale: Float) -> MLShapedArray<Float32> {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:398:1: note: add @available attribute to enclosing extension
extension StableDiffusionPipelineProtocol {
^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift:284:78: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func encodePrompt(_ prompt: String, forRefiner: Bool = false) throws -> (MLShapedArray<Float32>, MLShapedArray<Float32>) {
                                                                             ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift:284:10: note: add @available attribute to enclosing instance method
    func encodePrompt(_ prompt: String, forRefiner: Bool = false) throws -> (MLShapedArray<Float32>, MLShapedArray<Float32>) {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift:16:15: note: add @available attribute to enclosing struct
public struct StableDiffusionXLPipeline: StableDiffusionPipelineProtocol {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift:284:102: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func encodePrompt(_ prompt: String, forRefiner: Bool = false) throws -> (MLShapedArray<Float32>, MLShapedArray<Float32>) {
                                                                                                     ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift:284:10: note: add @available attribute to enclosing instance method
    func encodePrompt(_ prompt: String, forRefiner: Bool = false) throws -> (MLShapedArray<Float32>, MLShapedArray<Float32>) {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift:16:15: note: add @available attribute to enclosing struct
public struct StableDiffusionXLPipeline: StableDiffusionPipelineProtocol {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift:364:102: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func generateLatentSamples(configuration config: Configuration, scheduler: Scheduler) throws -> [MLShapedArray<Float32>] {
                                                                                                     ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift:364:10: note: add @available attribute to enclosing instance method
    func generateLatentSamples(configuration config: Configuration, scheduler: Scheduler) throws -> [MLShapedArray<Float32>] {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift:16:15: note: add @available attribute to enclosing struct
public struct StableDiffusionXLPipeline: StableDiffusionPipelineProtocol {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift:384:44: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    public func decodeToImages(_ latents: [MLShapedArray<Float32>], configuration config: Configuration) throws -> [CGImage?] {
                                           ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift:384:17: note: add @available attribute to enclosing instance method
    public func decodeToImages(_ latents: [MLShapedArray<Float32>], configuration config: Configuration) throws -> [CGImage?] {
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift:16:15: note: add @available attribute to enclosing struct
public struct StableDiffusionXLPipeline: StableDiffusionPipelineProtocol {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift:395:27: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        var hiddenStates: MLShapedArray<Float32>
                          ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift:394:12: note: add @available attribute to enclosing struct
    struct ModelInputs {
           ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift:396:27: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        var pooledStates: MLShapedArray<Float32>
                          ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift:394:12: note: add @available attribute to enclosing struct
    struct ModelInputs {
           ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift:397:35: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        var geometryConditioning: MLShapedArray<Float32>
                                  ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift:394:12: note: add @available attribute to enclosing struct
    struct ModelInputs {
           ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TextEncoder.swift:10:43: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func encode(_ text: String) throws -> MLShapedArray<Float32>
                                          ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TextEncoder.swift:10:10: note: add @available attribute to enclosing instance method
    func encode(_ text: String) throws -> MLShapedArray<Float32>
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TextEncoder.swift:8:17: note: add @available attribute to enclosing protocol
public protocol TextEncoderModel: ResourceManaging {
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TextEncoder.swift:52:50: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    public func encode(_ text: String) throws -> MLShapedArray<Float32> {
                                                 ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TextEncoder.swift:52:17: note: add @available attribute to enclosing instance method
    public func encode(_ text: String) throws -> MLShapedArray<Float32> {
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TextEncoder.swift:15:15: note: add @available attribute to enclosing struct
public struct TextEncoder: TextEncoderModel {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TextEncoder.swift:75:39: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func encode(ids: [Int]) throws -> MLShapedArray<Float32> {
                                      ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TextEncoder.swift:75:10: note: add @available attribute to enclosing instance method
    func encode(ids: [Int]) throws -> MLShapedArray<Float32> {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TextEncoder.swift:15:15: note: add @available attribute to enclosing struct
public struct TextEncoder: TextEncoderModel {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TextEncoderXL.swift:9:56: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    typealias TextEncoderXLOutput = (hiddenEmbeddings: MLShapedArray<Float32>, pooledOutputs: MLShapedArray<Float32>)
                                                       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TextEncoderXL.swift:9:15: note: add @available attribute to enclosing type alias
    typealias TextEncoderXLOutput = (hiddenEmbeddings: MLShapedArray<Float32>, pooledOutputs: MLShapedArray<Float32>)
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TextEncoderXL.swift:8:17: note: add @available attribute to enclosing protocol
public protocol TextEncoderXLModel: ResourceManaging {
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TextEncoderXL.swift:9:95: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    typealias TextEncoderXLOutput = (hiddenEmbeddings: MLShapedArray<Float32>, pooledOutputs: MLShapedArray<Float32>)
                                                                                              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TextEncoderXL.swift:9:15: note: add @available attribute to enclosing type alias
    typealias TextEncoderXLOutput = (hiddenEmbeddings: MLShapedArray<Float32>, pooledOutputs: MLShapedArray<Float32>)
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TextEncoderXL.swift:8:17: note: add @available attribute to enclosing protocol
public protocol TextEncoderXLModel: ResourceManaging {
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TorchRandomSource.swift:153:95: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
  mutating func normalShapedArray(_ shape: [Int], mean: Double = 0.0, stdev: Double = 1.0) -> MLShapedArray<Double> {
                                                                                              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TorchRandomSource.swift:153:17: note: add @available attribute to enclosing instance method
  mutating func normalShapedArray(_ shape: [Int], mean: Double = 0.0, stdev: Double = 1.0) -> MLShapedArray<Double> {
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TorchRandomSource.swift:16:8: note: add @available attribute to enclosing struct
struct TorchRandomSource: RandomNumberGenerator, RandomSource {
       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:91:19: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        latents: [MLShapedArray<Float32>],
                  ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:90:10: note: add @available attribute to enclosing instance method
    func predictNoise(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:9:15: note: add @available attribute to enclosing struct
public struct Unet: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:93:23: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        hiddenStates: MLShapedArray<Float32>,
                      ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:90:10: note: add @available attribute to enclosing instance method
    func predictNoise(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:9:15: note: add @available attribute to enclosing struct
public struct Unet: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:94:40: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        additionalResiduals: [[String: MLShapedArray<Float32>]]? = nil
                                       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:90:10: note: add @available attribute to enclosing instance method
    func predictNoise(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:9:15: note: add @available attribute to enclosing struct
public struct Unet: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:95:18: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    ) throws -> [MLShapedArray<Float32>] {
                 ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:90:10: note: add @available attribute to enclosing instance method
    func predictNoise(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:9:15: note: add @available attribute to enclosing struct
public struct Unet: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:152:19: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        latents: [MLShapedArray<Float32>],
                  ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:151:10: note: add @available attribute to enclosing instance method
    func predictNoise(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:9:15: note: add @available attribute to enclosing struct
public struct Unet: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:154:23: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        hiddenStates: MLShapedArray<Float32>,
                      ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:151:10: note: add @available attribute to enclosing instance method
    func predictNoise(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:9:15: note: add @available attribute to enclosing struct
public struct Unet: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:155:23: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        pooledStates: MLShapedArray<Float32>,
                      ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:151:10: note: add @available attribute to enclosing instance method
    func predictNoise(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:9:15: note: add @available attribute to enclosing struct
public struct Unet: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:156:31: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        geometryConditioning: MLShapedArray<Float32>
                              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:151:10: note: add @available attribute to enclosing instance method
    func predictNoise(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:9:15: note: add @available attribute to enclosing struct
public struct Unet: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:157:18: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    ) throws -> [MLShapedArray<Float32>] {
                 ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:151:10: note: add @available attribute to enclosing instance method
    func predictNoise(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:9:15: note: add @available attribute to enclosing struct
public struct Unet: ResourceManaging {
              ^
SwiftCompile normal arm64 Compiling\ SampleTimer.swift,\ Scheduler.swift,\ StableDiffusionPipeline+Resources.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SampleTimer.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline+Resources.swift (in target 'StableDiffusion' from project 'stable-diffusion')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SampleTimer.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline+Resources.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ Decoder.swift,\ Encoder.swift,\ ManagedMLModel.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Decoder.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Encoder.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ManagedMLModel.swift (in target 'StableDiffusion' from project 'stable-diffusion')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Decoder.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Encoder.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ManagedMLModel.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ TorchRandomSource.swift,\ Unet.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TorchRandomSource.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift (in target 'StableDiffusion' from project 'stable-diffusion')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TorchRandomSource.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ BPETokenizer+Reading.swift,\ BPETokenizer.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/tokenizer/BPETokenizer+Reading.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/tokenizer/BPETokenizer.swift (in target 'StableDiffusion' from project 'stable-diffusion')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/tokenizer/BPETokenizer+Reading.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/tokenizer/BPETokenizer.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ CGImage+vImage.swift,\ ControlNet.swift,\ DPMSolverMultistepScheduler.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ControlNet.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift (in target 'StableDiffusion' from project 'stable-diffusion')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ControlNet.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftDriverJobDiscovery normal arm64 Emitting module for ArgumentParserToolInfo (in target 'ArgumentParserToolInfo' from project 'swift-argument-parser')
SwiftDriver\ Compilation\ Requirements ArgumentParserToolInfo normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ArgumentParserToolInfo' from project 'swift-argument-parser')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-Swift-Compilation-Requirements -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name ArgumentParserToolInfo -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-argument-parser.build/Debug-appletvos/ArgumentParserToolInfo.build/Objects-normal/arm64/ArgumentParserToolInfo.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -target arm64-apple-tvos12.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -suppress-warnings -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/Developer/Library/Frameworks -parse-as-library -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.4-22L251-271d326055c85f9856fa135c41255102.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-argument-parser.build/Debug-appletvos/ArgumentParserToolInfo.build/Objects-normal/arm64/ArgumentParserToolInfo-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-argument-parser.build/Debug-appletvos/ArgumentParserToolInfo.build/Objects-normal/arm64/ArgumentParserToolInfo.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-argument-parser.build/Debug-appletvos/ArgumentParserToolInfo.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-argument-parser.build/Debug-appletvos/ArgumentParserToolInfo.build/Objects-normal/arm64/ArgumentParserToolInfo_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-argument-parser.build/Debug-appletvos/ArgumentParserToolInfo.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-argument-parser.build/Debug-appletvos/ArgumentParserToolInfo.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-argument-parser.build/Debug-appletvos/ArgumentParserToolInfo.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-argument-parser.build/Debug-appletvos/ArgumentParserToolInfo.build/Objects-normal/arm64/ArgumentParserToolInfo-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriverJobDiscovery normal arm64 Compiling ToolInfo.swift (in target 'ArgumentParserToolInfo' from project 'swift-argument-parser')
SwiftCompile normal arm64 Compiling\ MultilingualTextEncoder.swift,\ NumPyRandomSource.swift,\ NvRandomSource.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/MultilingualTextEncoder.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/NumPyRandomSource.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/NvRandomSource.swift (in target 'StableDiffusion' from project 'stable-diffusion')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/MultilingualTextEncoder.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/NumPyRandomSource.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/NvRandomSource.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftMergeGeneratedHeaders /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/ArgumentParserToolInfo-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-argument-parser.build/Debug-appletvos/ArgumentParserToolInfo.build/Objects-normal/arm64/ArgumentParserToolInfo-Swift.h (in target 'ArgumentParserToolInfo' from project 'swift-argument-parser')
    cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-argument-parser
    builtin-swiftHeaderTool -arch arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-argument-parser.build/Debug-appletvos/ArgumentParserToolInfo.build/Objects-normal/arm64/ArgumentParserToolInfo-Swift.h -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/ArgumentParserToolInfo-Swift.h
** BUILD FAILED **
The following build commands failed:
	SwiftEmitModule normal arm64 Emitting\ module\ for\ StableDiffusion (in target 'StableDiffusion' from project 'stable-diffusion')
	EmitSwiftModule normal arm64 (in target 'StableDiffusion' from project 'stable-diffusion')
	Building workspace spi-builder-workspace with scheme stable-diffusion-Package
(3 failures)
Command line invocation:
    /Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
  stable-diffusion: /Users/admin/builder/spi-builder-workspace
  swift-argument-parser: https://github.com/apple/swift-argument-parser.git @ 1.5.0
resolved source packages: stable-diffusion, swift-argument-parser
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    }
  ],
  "manifest_display_name" : "stable-diffusion",
  "name" : "stable-diffusion",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "StableDiffusion",
      "targets" : [
        "StableDiffusion"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "StableDiffusionSample",
      "targets" : [
        "StableDiffusionCLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "StableDiffusionTests",
      "module_type" : "SwiftTarget",
      "name" : "StableDiffusionTests",
      "path" : "swift/StableDiffusionTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/swift/StableDiffusionTests/Resources/merges.txt",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/swift/StableDiffusionTests/Resources/vocab.json",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "StableDiffusionTests.swift"
      ],
      "target_dependencies" : [
        "StableDiffusion"
      ],
      "type" : "test"
    },
    {
      "c99name" : "StableDiffusionCLI",
      "module_type" : "SwiftTarget",
      "name" : "StableDiffusionCLI",
      "path" : "swift/StableDiffusionCLI",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "StableDiffusionSample"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "StableDiffusion"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "StableDiffusion",
      "module_type" : "SwiftTarget",
      "name" : "StableDiffusion",
      "path" : "swift/StableDiffusion",
      "product_memberships" : [
        "StableDiffusion",
        "StableDiffusionSample"
      ],
      "sources" : [
        "pipeline/CGImage+vImage.swift",
        "pipeline/ControlNet.swift",
        "pipeline/DPMSolverMultistepScheduler.swift",
        "pipeline/Decoder.swift",
        "pipeline/Encoder.swift",
        "pipeline/ManagedMLModel.swift",
        "pipeline/MultilingualTextEncoder.swift",
        "pipeline/NumPyRandomSource.swift",
        "pipeline/NvRandomSource.swift",
        "pipeline/RandomSource.swift",
        "pipeline/ResourceManaging.swift",
        "pipeline/SafetyChecker.swift",
        "pipeline/SampleTimer.swift",
        "pipeline/Scheduler.swift",
        "pipeline/StableDiffusionPipeline+Resources.swift",
        "pipeline/StableDiffusionPipeline.Configuration.swift",
        "pipeline/StableDiffusionPipeline.swift",
        "pipeline/StableDiffusionXL+Resources.swift",
        "pipeline/StableDiffusionXLPipeline.swift",
        "pipeline/TextEncoder.swift",
        "pipeline/TextEncoderXL.swift",
        "pipeline/TorchRandomSource.swift",
        "pipeline/Unet.swift",
        "tokenizer/BPETokenizer+Reading.swift",
        "tokenizer/BPETokenizer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "stable-diffusion-Package",
      "StableDiffusion",
      "StableDiffusionSample"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme stable-diffusion-Package -destination generic/platform=tvOS
Command line invocation:
    /Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme stable-diffusion-Package -destination generic/platform=tvOS
Resolve Package Graph
Resolved source packages:
  stable-diffusion: /Users/admin/builder/spi-builder-workspace
  swift-argument-parser: https://github.com/apple/swift-argument-parser.git @ 1.5.0
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (6 targets)
    Target 'StableDiffusionSample' in project 'stable-diffusion'
        ➜ Explicit dependency on target 'StableDiffusion' in project 'stable-diffusion'
        ➜ Explicit dependency on target 'ArgumentParser' in project 'swift-argument-parser'
    Target 'ArgumentParser' in project 'swift-argument-parser'
        ➜ Explicit dependency on target 'ArgumentParser' in project 'swift-argument-parser'
        ➜ Explicit dependency on target 'ArgumentParserToolInfo' in project 'swift-argument-parser'
    Target 'ArgumentParser' in project 'swift-argument-parser'
        ➜ Explicit dependency on target 'ArgumentParserToolInfo' in project 'swift-argument-parser'
    Target 'ArgumentParserToolInfo' in project 'swift-argument-parser' (no dependencies)
    Target 'StableDiffusion' in project 'stable-diffusion'
        ➜ Explicit dependency on target 'StableDiffusion' in project 'stable-diffusion'
    Target 'StableDiffusion' in project 'stable-diffusion' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
ReadFileContents /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
Build description signature: d2046ab35877384fa96780ba054ed54d
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/d2046ab35877384fa96780ba054ed54d.xcbuilddata
ClangStatCache /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.4-22L251-271d326055c85f9856fa135c41255102.sdkstatcache
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.4-22L251-271d326055c85f9856fa135c41255102.sdkstatcache
SwiftDriver StableDiffusion normal arm64 com.apple.xcode.tools.swift.compiler (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftDriver -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name StableDiffusion -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/stable-diffusion.build/Debug-appletvos/StableDiffusion.build/Objects-normal/arm64/StableDiffusion.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -target arm64-apple-tvos14.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.4-22L251-271d326055c85f9856fa135c41255102.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/stable-diffusion.build/Debug-appletvos/StableDiffusion.build/Objects-normal/arm64/StableDiffusion-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/stable-diffusion.build/Debug-appletvos/StableDiffusion.build/Objects-normal/arm64/StableDiffusion.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/stable-diffusion.build/Debug-appletvos/StableDiffusion.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/stable-diffusion.build/Debug-appletvos/StableDiffusion.build/Objects-normal/arm64/StableDiffusion_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/stable-diffusion.build/Debug-appletvos/StableDiffusion.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/stable-diffusion.build/Debug-appletvos/StableDiffusion.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/stable-diffusion.build/Debug-appletvos/StableDiffusion.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/stable-diffusion.build/Debug-appletvos/StableDiffusion.build/Objects-normal/arm64/StableDiffusion-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver ArgumentParserToolInfo normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ArgumentParserToolInfo' from project 'swift-argument-parser')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftDriver -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name ArgumentParserToolInfo -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-argument-parser.build/Debug-appletvos/ArgumentParserToolInfo.build/Objects-normal/arm64/ArgumentParserToolInfo.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -target arm64-apple-tvos12.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -suppress-warnings -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/Developer/Library/Frameworks -parse-as-library -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.4-22L251-271d326055c85f9856fa135c41255102.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-argument-parser.build/Debug-appletvos/ArgumentParserToolInfo.build/Objects-normal/arm64/ArgumentParserToolInfo-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-argument-parser.build/Debug-appletvos/ArgumentParserToolInfo.build/Objects-normal/arm64/ArgumentParserToolInfo.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-argument-parser.build/Debug-appletvos/ArgumentParserToolInfo.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-argument-parser.build/Debug-appletvos/ArgumentParserToolInfo.build/Objects-normal/arm64/ArgumentParserToolInfo_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-argument-parser.build/Debug-appletvos/ArgumentParserToolInfo.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-argument-parser.build/Debug-appletvos/ArgumentParserToolInfo.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-argument-parser.build/Debug-appletvos/ArgumentParserToolInfo.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-argument-parser.build/Debug-appletvos/ArgumentParserToolInfo.build/Objects-normal/arm64/ArgumentParserToolInfo-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64 Emitting\ module\ for\ ArgumentParserToolInfo (in target 'ArgumentParserToolInfo' from project 'swift-argument-parser')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift (in target 'ArgumentParserToolInfo' from project 'swift-argument-parser')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ ToolInfo.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift (in target 'ArgumentParserToolInfo' from project 'swift-argument-parser')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-argument-parser/Sources/ArgumentParserToolInfo/ToolInfo.swift (in target 'ArgumentParserToolInfo' from project 'swift-argument-parser')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ CGImage+vImage.swift,\ ControlNet.swift,\ DPMSolverMultistepScheduler.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ControlNet.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift (in target 'StableDiffusion' from project 'stable-diffusion')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ControlNet.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ RandomSource.swift,\ ResourceManaging.swift,\ SafetyChecker.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/RandomSource.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ResourceManaging.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift (in target 'StableDiffusion' from project 'stable-diffusion')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/RandomSource.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ResourceManaging.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ SampleTimer.swift,\ Scheduler.swift,\ StableDiffusionPipeline+Resources.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SampleTimer.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline+Resources.swift (in target 'StableDiffusion' from project 'stable-diffusion')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SampleTimer.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline+Resources.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ StableDiffusionXL+Resources.swift,\ StableDiffusionXLPipeline.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXL+Resources.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift (in target 'StableDiffusion' from project 'stable-diffusion')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXL+Resources.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftEmitModule normal arm64 Emitting\ module\ for\ StableDiffusion (in target 'StableDiffusion' from project 'stable-diffusion')
Failed frontend command:
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ControlNet.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Decoder.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Encoder.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ManagedMLModel.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/MultilingualTextEncoder.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/NumPyRandomSource.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/NvRandomSource.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/RandomSource.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ResourceManaging.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SampleTimer.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline+Resources.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.Configuration.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXL+Resources.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TextEncoder.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TextEncoderXL.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TorchRandomSource.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/tokenizer/BPETokenizer+Reading.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/tokenizer/BPETokenizer.swift -target arm64-apple-tvos14.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/stable-diffusion.build/Debug-appletvos/StableDiffusion.build/Objects-normal/arm64/StableDiffusion_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.4-22L251-271d326055c85f9856fa135c41255102.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/stable-diffusion.build/Debug-appletvos/StableDiffusion.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/stable-diffusion.build/Debug-appletvos/StableDiffusion.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/stable-diffusion.build/Debug-appletvos/StableDiffusion.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/stable-diffusion.build/Debug-appletvos/StableDiffusion.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name StableDiffusion -frontend-parseable-output -disable-clang-spi -target-sdk-version 18.4 -target-sdk-name appletvos18.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/stable-diffusion.build/Debug-appletvos/StableDiffusion.build/Objects-normal/arm64/StableDiffusion.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/stable-diffusion.build/Debug-appletvos/StableDiffusion.build/Objects-normal/arm64/StableDiffusion.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/stable-diffusion.build/Debug-appletvos/StableDiffusion.build/Objects-normal/arm64/StableDiffusion-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/stable-diffusion.build/Debug-appletvos/StableDiffusion.build/Objects-normal/arm64/StableDiffusion-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/stable-diffusion.build/Debug-appletvos/StableDiffusion.build/Objects-normal/arm64/StableDiffusion-master-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/stable-diffusion.build/Debug-appletvos/StableDiffusion.build/Objects-normal/arm64/StableDiffusion.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/stable-diffusion.build/Debug-appletvos/StableDiffusion.build/Objects-normal/arm64/StableDiffusion.abi.json
EmitSwiftModule normal arm64 (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:12:40: error: 'PixelBuffer' is only available in tvOS 16.0 or newer
    typealias PixelBufferPFx1 = vImage.PixelBuffer<vImage.PlanarF>
                                       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:12:15: note: add @available attribute to enclosing type alias
    typealias PixelBufferPFx1 = vImage.PixelBuffer<vImage.PlanarF>
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:10:1: note: add @available attribute to enclosing extension
extension CGImage {
^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:13:40: error: 'PixelBuffer' is only available in tvOS 16.0 or newer
    typealias PixelBufferP8x3 = vImage.PixelBuffer<vImage.Planar8x3>
                                       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:13:15: note: add @available attribute to enclosing type alias
    typealias PixelBufferP8x3 = vImage.PixelBuffer<vImage.Planar8x3>
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:10:1: note: add @available attribute to enclosing extension
extension CGImage {
^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:14:40: error: 'PixelBuffer' is only available in tvOS 16.0 or newer
    typealias PixelBufferIFx3 = vImage.PixelBuffer<vImage.InterleavedFx3>
                                       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:14:15: note: add @available attribute to enclosing type alias
    typealias PixelBufferIFx3 = vImage.PixelBuffer<vImage.InterleavedFx3>
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:10:1: note: add @available attribute to enclosing extension
extension CGImage {
^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:15:40: error: 'PixelBuffer' is only available in tvOS 16.0 or newer
    typealias PixelBufferI8x3 = vImage.PixelBuffer<vImage.Interleaved8x3>
                                       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:15:15: note: add @available attribute to enclosing type alias
    typealias PixelBufferI8x3 = vImage.PixelBuffer<vImage.Interleaved8x3>
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:10:1: note: add @available attribute to enclosing extension
extension CGImage {
^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:23:49: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    public static func fromShapedArray(_ array: MLShapedArray<Float32>) throws -> CGImage {
                                                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:23:24: note: add @available attribute to enclosing static method
    public static func fromShapedArray(_ array: MLShapedArray<Float32>) throws -> CGImage {
                       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:10:1: note: add @available attribute to enclosing extension
extension CGImage {
^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:68:19: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        throws -> MLShapedArray<Float32> {
                  ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:67:17: note: add @available attribute to enclosing instance method
    public func planarRGBShapedArray(minValue: Float, maxValue: Float)
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:10:1: note: add @available attribute to enclosing extension
extension CGImage {
^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:138:19: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        throws -> MLShapedArray<Float32> {
                  ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:137:17: note: add @available attribute to enclosing instance method
    public func toRGBShapedArray(minValue: Float, maxValue: Float)
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/CGImage+vImage.swift:10:1: note: add @available attribute to enclosing extension
extension CGImage {
^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ControlNet.swift:65:19: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        latents: [MLShapedArray<Float32>],
                  ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ControlNet.swift:64:10: note: add @available attribute to enclosing instance method
    func execute(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ControlNet.swift:9:15: note: add @available attribute to enclosing struct
public struct ControlNet: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ControlNet.swift:67:23: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        hiddenStates: MLShapedArray<Float32>,
                      ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ControlNet.swift:64:10: note: add @available attribute to enclosing instance method
    func execute(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ControlNet.swift:9:15: note: add @available attribute to enclosing struct
public struct ControlNet: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ControlNet.swift:68:18: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        images: [MLShapedArray<Float32>]
                 ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ControlNet.swift:64:10: note: add @available attribute to enclosing instance method
    func execute(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ControlNet.swift:9:15: note: add @available attribute to enclosing struct
public struct ControlNet: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ControlNet.swift:69:27: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    ) throws -> [[String: MLShapedArray<Float32>]] {
                          ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ControlNet.swift:64:10: note: add @available attribute to enclosing instance method
    func execute(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ControlNet.swift:9:15: note: add @available attribute to enclosing struct
public struct ControlNet: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ControlNet.swift:120:89: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    private func initOutputs(batch: Int, shapes: [String: MLFeatureValue]) -> [[String: MLShapedArray<Float32>]] {
                                                                                        ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ControlNet.swift:120:18: note: add @available attribute to enclosing instance method
    private func initOutputs(batch: Int, shapes: [String: MLFeatureValue]) -> [[String: MLShapedArray<Float32>]] {
                 ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ControlNet.swift:9:15: note: add @available attribute to enclosing struct
public struct ControlNet: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:49:44: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    public private(set) var modelOutputs: [MLShapedArray<Float32>] = []
                                           ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:27:20: note: add @available attribute to enclosing class
public final class DPMSolverMultistepScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:135:42: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func convertModelOutput(modelOutput: MLShapedArray<Float32>, timestep: Int, sample: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
                                         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:135:10: note: add @available attribute to enclosing instance method
    func convertModelOutput(modelOutput: MLShapedArray<Float32>, timestep: Int, sample: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:27:20: note: add @available attribute to enclosing class
public final class DPMSolverMultistepScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:135:89: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func convertModelOutput(modelOutput: MLShapedArray<Float32>, timestep: Int, sample: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
                                                                                        ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:135:10: note: add @available attribute to enclosing instance method
    func convertModelOutput(modelOutput: MLShapedArray<Float32>, timestep: Int, sample: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:27:20: note: add @available attribute to enclosing class
public final class DPMSolverMultistepScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:135:116: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func convertModelOutput(modelOutput: MLShapedArray<Float32>, timestep: Int, sample: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
                                                                                                                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:135:10: note: add @available attribute to enclosing instance method
    func convertModelOutput(modelOutput: MLShapedArray<Float32>, timestep: Int, sample: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:27:20: note: add @available attribute to enclosing class
public final class DPMSolverMultistepScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:157:22: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        modelOutput: MLShapedArray<Float32>,
                     ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:156:10: note: add @available attribute to enclosing instance method
    func firstOrderUpdate(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:27:20: note: add @available attribute to enclosing class
public final class DPMSolverMultistepScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:160:17: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        sample: MLShapedArray<Float32>
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:156:10: note: add @available attribute to enclosing instance method
    func firstOrderUpdate(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:27:20: note: add @available attribute to enclosing class
public final class DPMSolverMultistepScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:161:10: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    ) -> MLShapedArray<Float32> {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:156:10: note: add @available attribute to enclosing instance method
    func firstOrderUpdate(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:27:20: note: add @available attribute to enclosing class
public final class DPMSolverMultistepScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:179:24: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        modelOutputs: [MLShapedArray<Float32>],
                       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:178:10: note: add @available attribute to enclosing instance method
    func secondOrderUpdate(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:27:20: note: add @available attribute to enclosing class
public final class DPMSolverMultistepScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:182:17: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        sample: MLShapedArray<Float32>
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:178:10: note: add @available attribute to enclosing instance method
    func secondOrderUpdate(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:27:20: note: add @available attribute to enclosing class
public final class DPMSolverMultistepScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:183:10: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    ) -> MLShapedArray<Float32> {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:178:10: note: add @available attribute to enclosing instance method
    func secondOrderUpdate(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:27:20: note: add @available attribute to enclosing class
public final class DPMSolverMultistepScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:216:30: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    public func step(output: MLShapedArray<Float32>, timeStep t: Int, sample: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
                             ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:216:17: note: add @available attribute to enclosing instance method
    public func step(output: MLShapedArray<Float32>, timeStep t: Int, sample: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:27:20: note: add @available attribute to enclosing class
public final class DPMSolverMultistepScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:216:79: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    public func step(output: MLShapedArray<Float32>, timeStep t: Int, sample: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
                                                                              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:216:17: note: add @available attribute to enclosing instance method
    public func step(output: MLShapedArray<Float32>, timeStep t: Int, sample: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:27:20: note: add @available attribute to enclosing class
public final class DPMSolverMultistepScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:216:106: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    public func step(output: MLShapedArray<Float32>, timeStep t: Int, sample: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
                                                                                                         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:216:17: note: add @available attribute to enclosing instance method
    public func step(output: MLShapedArray<Float32>, timeStep t: Int, sample: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/DPMSolverMultistepScheduler.swift:27:20: note: add @available attribute to enclosing class
public final class DPMSolverMultistepScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Decoder.swift:41:21: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        _ latents: [MLShapedArray<Float32>],
                    ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Decoder.swift:40:17: note: add @available attribute to enclosing instance method
    public func decode(
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Decoder.swift:9:15: note: add @available attribute to enclosing struct
public struct Decoder: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Encoder.swift:52:17: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    ) throws -> MLShapedArray<Float32> {
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Encoder.swift:48:17: note: add @available attribute to enclosing instance method
    public func encode(
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Encoder.swift:9:15: note: add @available attribute to enclosing struct
public struct Encoder: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/NumPyRandomSource.swift:115:97: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    mutating func normalShapedArray(_ shape: [Int], mean: Double = 0.0, stdev: Double = 1.0) -> MLShapedArray<Double> {
                                                                                                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/NumPyRandomSource.swift:115:19: note: add @available attribute to enclosing instance method
    mutating func normalShapedArray(_ shape: [Int], mean: Double = 0.0, stdev: Double = 1.0) -> MLShapedArray<Double> {
                  ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/NumPyRandomSource.swift:13:8: note: add @available attribute to enclosing struct
struct NumPyRandomSource: RandomNumberGenerator, RandomSource {
       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/NvRandomSource.swift:87:95: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
  mutating func normalShapedArray(_ shape: [Int], mean: Double = 0.0, stdev: Double = 1.0) -> MLShapedArray<Double> {
                                                                                              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/NvRandomSource.swift:87:17: note: add @available attribute to enclosing instance method
  mutating func normalShapedArray(_ shape: [Int], mean: Double = 0.0, stdev: Double = 1.0) -> MLShapedArray<Double> {
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/NvRandomSource.swift:10:8: note: add @available attribute to enclosing struct
struct NvRandomSource: RandomSource {
       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/RandomSource.swift:7:85: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    mutating func normalShapedArray(_ shape: [Int], mean: Double, stdev: Double) -> MLShapedArray<Double>
                                                                                    ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/RandomSource.swift:7:19: note: add @available attribute to enclosing instance method
    mutating func normalShapedArray(_ shape: [Int], mean: Double, stdev: Double) -> MLShapedArray<Double>
                  ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/RandomSource.swift:4:17: note: add @available attribute to enclosing protocol
public protocol RandomSource {
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:35:40: error: 'PixelBuffer' is only available in tvOS 16.0 or newer
    typealias PixelBufferPFx1 = vImage.PixelBuffer<vImage.PlanarF>
                                       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:35:15: note: add @available attribute to enclosing type alias
    typealias PixelBufferPFx1 = vImage.PixelBuffer<vImage.PlanarF>
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:10:15: note: add @available attribute to enclosing struct
public struct SafetyChecker: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:36:40: error: 'PixelBuffer' is only available in tvOS 16.0 or newer
    typealias PixelBufferP8x1 = vImage.PixelBuffer<vImage.Planar8>
                                       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:36:15: note: add @available attribute to enclosing type alias
    typealias PixelBufferP8x1 = vImage.PixelBuffer<vImage.Planar8>
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:10:15: note: add @available attribute to enclosing struct
public struct SafetyChecker: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:37:40: error: 'PixelBuffer' is only available in tvOS 16.0 or newer
    typealias PixelBufferPFx3 = vImage.PixelBuffer<vImage.PlanarFx3>
                                       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:37:15: note: add @available attribute to enclosing type alias
    typealias PixelBufferPFx3 = vImage.PixelBuffer<vImage.PlanarFx3>
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:10:15: note: add @available attribute to enclosing struct
public struct SafetyChecker: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:38:40: error: 'PixelBuffer' is only available in tvOS 16.0 or newer
    typealias PixelBufferP8x3 = vImage.PixelBuffer<vImage.Planar8x3>
                                       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:38:15: note: add @available attribute to enclosing type alias
    typealias PixelBufferP8x3 = vImage.PixelBuffer<vImage.Planar8x3>
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:10:15: note: add @available attribute to enclosing struct
public struct SafetyChecker: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:39:40: error: 'PixelBuffer' is only available in tvOS 16.0 or newer
    typealias PixelBufferIFx3 = vImage.PixelBuffer<vImage.InterleavedFx3>
                                       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:39:15: note: add @available attribute to enclosing type alias
    typealias PixelBufferIFx3 = vImage.PixelBuffer<vImage.InterleavedFx3>
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:10:15: note: add @available attribute to enclosing struct
public struct SafetyChecker: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:40:40: error: 'PixelBuffer' is only available in tvOS 16.0 or newer
    typealias PixelBufferI8x3 = vImage.PixelBuffer<vImage.Interleaved8x3>
                                       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:40:15: note: add @available attribute to enclosing type alias
    typealias PixelBufferI8x3 = vImage.PixelBuffer<vImage.Interleaved8x3>
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:10:15: note: add @available attribute to enclosing struct
public struct SafetyChecker: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:41:40: error: 'PixelBuffer' is only available in tvOS 16.0 or newer
    typealias PixelBufferI8x4 = vImage.PixelBuffer<vImage.Interleaved8x4>
                                       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:41:15: note: add @available attribute to enclosing type alias
    typealias PixelBufferI8x4 = vImage.PixelBuffer<vImage.Interleaved8x4>
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:10:15: note: add @available attribute to enclosing struct
public struct SafetyChecker: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:141:72: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func normalizeToFloatShapedArray(_ bufferP8x3: PixelBufferP8x3) -> MLShapedArray<Float32> {
                                                                       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:141:10: note: add @available attribute to enclosing instance method
    func normalizeToFloatShapedArray(_ bufferP8x3: PixelBufferP8x3) -> MLShapedArray<Float32> {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/SafetyChecker.swift:10:15: note: add @available attribute to enclosing struct
public struct SafetyChecker: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:34:24: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    var modelOutputs: [MLShapedArray<Float32>] { get }
                       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:34:9: note: add @available attribute to enclosing property
    var modelOutputs: [MLShapedArray<Float32>] { get }
        ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:8:17: note: add @available attribute to enclosing protocol
public protocol Scheduler {
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:46:17: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        output: MLShapedArray<Float32>,
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:45:10: note: add @available attribute to enclosing instance method
    func step(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:8:17: note: add @available attribute to enclosing protocol
public protocol Scheduler {
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:48:19: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        sample s: MLShapedArray<Float32>
                  ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:45:10: note: add @available attribute to enclosing instance method
    func step(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:8:17: note: add @available attribute to enclosing protocol
public protocol Scheduler {
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:49:10: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    ) -> MLShapedArray<Float32>
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:45:10: note: add @available attribute to enclosing instance method
    func step(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:8:17: note: add @available attribute to enclosing protocol
public protocol Scheduler {
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:65:54: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func weightedSum(_ weights: [Double], _ values: [MLShapedArray<Float32>]) -> MLShapedArray<Float32> {
                                                     ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:65:10: note: add @available attribute to enclosing instance method
    func weightedSum(_ weights: [Double], _ values: [MLShapedArray<Float32>]) -> MLShapedArray<Float32> {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:58:8: note: add @available attribute to enclosing extension
public extension Scheduler {
       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:65:82: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func weightedSum(_ weights: [Double], _ values: [MLShapedArray<Float32>]) -> MLShapedArray<Float32> {
                                                                                 ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:65:10: note: add @available attribute to enclosing instance method
    func weightedSum(_ weights: [Double], _ values: [MLShapedArray<Float32>]) -> MLShapedArray<Float32> {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:58:8: note: add @available attribute to enclosing extension
public extension Scheduler {
       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:84:25: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        originalSample: MLShapedArray<Float32>,
                        ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:83:10: note: add @available attribute to enclosing instance method
    func addNoise(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:58:8: note: add @available attribute to enclosing extension
public extension Scheduler {
       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:85:17: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        noise: [MLShapedArray<Float32>],
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:83:10: note: add @available attribute to enclosing instance method
    func addNoise(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:58:8: note: add @available attribute to enclosing extension
public extension Scheduler {
       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:87:11: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    ) -> [MLShapedArray<Float32>] {
          ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:83:10: note: add @available attribute to enclosing instance method
    func addNoise(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:58:8: note: add @available attribute to enclosing extension
public extension Scheduler {
       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:149:44: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    public private(set) var modelOutputs: [MLShapedArray<Float32>] = []
                                           ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:137:20: note: add @available attribute to enclosing class
public final class PNDMScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:153:15: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    var ets: [MLShapedArray<Float32>]
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:137:20: note: add @available attribute to enclosing class
public final class PNDMScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:154:24: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    var currentSample: MLShapedArray<Float32>?
                       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:137:20: note: add @available attribute to enclosing class
public final class PNDMScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:219:17: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        output: MLShapedArray<Float32>,
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:218:17: note: add @available attribute to enclosing instance method
    public func step(
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:137:20: note: add @available attribute to enclosing class
public final class PNDMScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:221:19: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        sample s: MLShapedArray<Float32>
                  ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:218:17: note: add @available attribute to enclosing instance method
    public func step(
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:137:20: note: add @available attribute to enclosing class
public final class PNDMScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:222:10: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    ) -> MLShapedArray<Float32> {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:218:17: note: add @available attribute to enclosing instance method
    public func step(
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:137:20: note: add @available attribute to enclosing class
public final class PNDMScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:277:42: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func convertModelOutput(modelOutput: MLShapedArray<Float32>, timestep: Int, sample: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
                                         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:277:10: note: add @available attribute to enclosing instance method
    func convertModelOutput(modelOutput: MLShapedArray<Float32>, timestep: Int, sample: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:137:20: note: add @available attribute to enclosing class
public final class PNDMScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:277:89: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func convertModelOutput(modelOutput: MLShapedArray<Float32>, timestep: Int, sample: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
                                                                                        ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:277:10: note: add @available attribute to enclosing instance method
    func convertModelOutput(modelOutput: MLShapedArray<Float32>, timestep: Int, sample: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:137:20: note: add @available attribute to enclosing class
public final class PNDMScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:277:116: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func convertModelOutput(modelOutput: MLShapedArray<Float32>, timestep: Int, sample: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
                                                                                                                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:277:10: note: add @available attribute to enclosing instance method
    func convertModelOutput(modelOutput: MLShapedArray<Float32>, timestep: Int, sample: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:137:20: note: add @available attribute to enclosing class
public final class PNDMScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:303:19: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        _ sample: MLShapedArray<Float32>,
                  ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:302:10: note: add @available attribute to enclosing instance method
    func previousSample(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:137:20: note: add @available attribute to enclosing class
public final class PNDMScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:306:24: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        _ modelOutput: MLShapedArray<Float32>
                       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:302:10: note: add @available attribute to enclosing instance method
    func previousSample(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:137:20: note: add @available attribute to enclosing class
public final class PNDMScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:307:11: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    ) ->  MLShapedArray<Float32> {
          ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:302:10: note: add @available attribute to enclosing instance method
    func previousSample(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Scheduler.swift:137:20: note: add @available attribute to enclosing class
public final class PNDMScheduler: Scheduler {
                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:45:21: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        _ latents: [MLShapedArray<Float32>],
                    ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:44:10: note: add @available attribute to enclosing instance method
    func decodeToImages(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:36:17: note: add @available attribute to enclosing protocol
public protocol StableDiffusionPipelineProtocol: ResourceManaging {
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:322:102: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func generateLatentSamples(configuration config: Configuration, scheduler: Scheduler) throws -> [MLShapedArray<Float32>] {
                                                                                                     ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:322:10: note: add @available attribute to enclosing instance method
    func generateLatentSamples(configuration config: Configuration, scheduler: Scheduler) throws -> [MLShapedArray<Float32>] {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:60:15: note: add @available attribute to enclosing struct
public struct StableDiffusionPipeline: StableDiffusionPipelineProtocol {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:342:44: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    public func decodeToImages(_ latents: [MLShapedArray<Float32>], configuration config: Configuration) throws -> [CGImage?] {
                                           ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:342:17: note: add @available attribute to enclosing instance method
    public func decodeToImages(_ latents: [MLShapedArray<Float32>], configuration config: Configuration) throws -> [CGImage?] {
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:60:15: note: add @available attribute to enclosing struct
public struct StableDiffusionPipeline: StableDiffusionPipelineProtocol {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:379:39: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    public let currentLatentSamples: [MLShapedArray<Float32>]
                                      ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:374:15: note: add @available attribute to enclosing struct
public struct PipelineProgress {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:410:38: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func toHiddenStates(_ embedding: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
                                     ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:410:10: note: add @available attribute to enclosing instance method
    func toHiddenStates(_ embedding: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:398:1: note: add @available attribute to enclosing extension
extension StableDiffusionPipelineProtocol {
^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:410:65: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func toHiddenStates(_ embedding: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
                                                                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:410:10: note: add @available attribute to enclosing instance method
    func toHiddenStates(_ embedding: MLShapedArray<Float32>) -> MLShapedArray<Float32> {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:398:1: note: add @available attribute to enclosing extension
extension StableDiffusionPipelineProtocol {
^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:426:36: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func performGuidance(_ noise: [MLShapedArray<Float32>], _ guidanceScale: Float) -> [MLShapedArray<Float32>] {
                                   ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:426:10: note: add @available attribute to enclosing instance method
    func performGuidance(_ noise: [MLShapedArray<Float32>], _ guidanceScale: Float) -> [MLShapedArray<Float32>] {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:398:1: note: add @available attribute to enclosing extension
extension StableDiffusionPipelineProtocol {
^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:426:89: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func performGuidance(_ noise: [MLShapedArray<Float32>], _ guidanceScale: Float) -> [MLShapedArray<Float32>] {
                                                                                        ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:426:10: note: add @available attribute to enclosing instance method
    func performGuidance(_ noise: [MLShapedArray<Float32>], _ guidanceScale: Float) -> [MLShapedArray<Float32>] {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:398:1: note: add @available attribute to enclosing extension
extension StableDiffusionPipelineProtocol {
^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:430:35: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func performGuidance(_ noise: MLShapedArray<Float32>, _ guidanceScale: Float) -> MLShapedArray<Float32> {
                                  ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:430:10: note: add @available attribute to enclosing instance method
    func performGuidance(_ noise: MLShapedArray<Float32>, _ guidanceScale: Float) -> MLShapedArray<Float32> {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:398:1: note: add @available attribute to enclosing extension
extension StableDiffusionPipelineProtocol {
^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:430:86: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func performGuidance(_ noise: MLShapedArray<Float32>, _ guidanceScale: Float) -> MLShapedArray<Float32> {
                                                                                     ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:430:10: note: add @available attribute to enclosing instance method
    func performGuidance(_ noise: MLShapedArray<Float32>, _ guidanceScale: Float) -> MLShapedArray<Float32> {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:398:1: note: add @available attribute to enclosing extension
extension StableDiffusionPipelineProtocol {
^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift:284:78: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func encodePrompt(_ prompt: String, forRefiner: Bool = false) throws -> (MLShapedArray<Float32>, MLShapedArray<Float32>) {
                                                                             ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift:284:10: note: add @available attribute to enclosing instance method
    func encodePrompt(_ prompt: String, forRefiner: Bool = false) throws -> (MLShapedArray<Float32>, MLShapedArray<Float32>) {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift:16:15: note: add @available attribute to enclosing struct
public struct StableDiffusionXLPipeline: StableDiffusionPipelineProtocol {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift:284:102: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func encodePrompt(_ prompt: String, forRefiner: Bool = false) throws -> (MLShapedArray<Float32>, MLShapedArray<Float32>) {
                                                                                                     ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift:284:10: note: add @available attribute to enclosing instance method
    func encodePrompt(_ prompt: String, forRefiner: Bool = false) throws -> (MLShapedArray<Float32>, MLShapedArray<Float32>) {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift:16:15: note: add @available attribute to enclosing struct
public struct StableDiffusionXLPipeline: StableDiffusionPipelineProtocol {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift:364:102: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func generateLatentSamples(configuration config: Configuration, scheduler: Scheduler) throws -> [MLShapedArray<Float32>] {
                                                                                                     ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift:364:10: note: add @available attribute to enclosing instance method
    func generateLatentSamples(configuration config: Configuration, scheduler: Scheduler) throws -> [MLShapedArray<Float32>] {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift:16:15: note: add @available attribute to enclosing struct
public struct StableDiffusionXLPipeline: StableDiffusionPipelineProtocol {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift:384:44: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    public func decodeToImages(_ latents: [MLShapedArray<Float32>], configuration config: Configuration) throws -> [CGImage?] {
                                           ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift:384:17: note: add @available attribute to enclosing instance method
    public func decodeToImages(_ latents: [MLShapedArray<Float32>], configuration config: Configuration) throws -> [CGImage?] {
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift:16:15: note: add @available attribute to enclosing struct
public struct StableDiffusionXLPipeline: StableDiffusionPipelineProtocol {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift:395:27: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        var hiddenStates: MLShapedArray<Float32>
                          ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift:394:12: note: add @available attribute to enclosing struct
    struct ModelInputs {
           ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift:396:27: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        var pooledStates: MLShapedArray<Float32>
                          ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift:394:12: note: add @available attribute to enclosing struct
    struct ModelInputs {
           ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift:397:35: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        var geometryConditioning: MLShapedArray<Float32>
                                  ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/StableDiffusionXLPipeline.swift:394:12: note: add @available attribute to enclosing struct
    struct ModelInputs {
           ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TextEncoder.swift:10:43: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func encode(_ text: String) throws -> MLShapedArray<Float32>
                                          ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TextEncoder.swift:10:10: note: add @available attribute to enclosing instance method
    func encode(_ text: String) throws -> MLShapedArray<Float32>
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TextEncoder.swift:8:17: note: add @available attribute to enclosing protocol
public protocol TextEncoderModel: ResourceManaging {
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TextEncoder.swift:52:50: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    public func encode(_ text: String) throws -> MLShapedArray<Float32> {
                                                 ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TextEncoder.swift:52:17: note: add @available attribute to enclosing instance method
    public func encode(_ text: String) throws -> MLShapedArray<Float32> {
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TextEncoder.swift:15:15: note: add @available attribute to enclosing struct
public struct TextEncoder: TextEncoderModel {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TextEncoder.swift:75:39: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    func encode(ids: [Int]) throws -> MLShapedArray<Float32> {
                                      ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TextEncoder.swift:75:10: note: add @available attribute to enclosing instance method
    func encode(ids: [Int]) throws -> MLShapedArray<Float32> {
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TextEncoder.swift:15:15: note: add @available attribute to enclosing struct
public struct TextEncoder: TextEncoderModel {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TextEncoderXL.swift:9:56: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    typealias TextEncoderXLOutput = (hiddenEmbeddings: MLShapedArray<Float32>, pooledOutputs: MLShapedArray<Float32>)
                                                       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TextEncoderXL.swift:9:15: note: add @available attribute to enclosing type alias
    typealias TextEncoderXLOutput = (hiddenEmbeddings: MLShapedArray<Float32>, pooledOutputs: MLShapedArray<Float32>)
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TextEncoderXL.swift:8:17: note: add @available attribute to enclosing protocol
public protocol TextEncoderXLModel: ResourceManaging {
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TextEncoderXL.swift:9:95: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    typealias TextEncoderXLOutput = (hiddenEmbeddings: MLShapedArray<Float32>, pooledOutputs: MLShapedArray<Float32>)
                                                                                              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TextEncoderXL.swift:9:15: note: add @available attribute to enclosing type alias
    typealias TextEncoderXLOutput = (hiddenEmbeddings: MLShapedArray<Float32>, pooledOutputs: MLShapedArray<Float32>)
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TextEncoderXL.swift:8:17: note: add @available attribute to enclosing protocol
public protocol TextEncoderXLModel: ResourceManaging {
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TorchRandomSource.swift:153:95: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
  mutating func normalShapedArray(_ shape: [Int], mean: Double = 0.0, stdev: Double = 1.0) -> MLShapedArray<Double> {
                                                                                              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TorchRandomSource.swift:153:17: note: add @available attribute to enclosing instance method
  mutating func normalShapedArray(_ shape: [Int], mean: Double = 0.0, stdev: Double = 1.0) -> MLShapedArray<Double> {
                ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TorchRandomSource.swift:16:8: note: add @available attribute to enclosing struct
struct TorchRandomSource: RandomNumberGenerator, RandomSource {
       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:91:19: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        latents: [MLShapedArray<Float32>],
                  ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:90:10: note: add @available attribute to enclosing instance method
    func predictNoise(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:9:15: note: add @available attribute to enclosing struct
public struct Unet: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:93:23: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        hiddenStates: MLShapedArray<Float32>,
                      ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:90:10: note: add @available attribute to enclosing instance method
    func predictNoise(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:9:15: note: add @available attribute to enclosing struct
public struct Unet: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:94:40: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        additionalResiduals: [[String: MLShapedArray<Float32>]]? = nil
                                       ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:90:10: note: add @available attribute to enclosing instance method
    func predictNoise(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:9:15: note: add @available attribute to enclosing struct
public struct Unet: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:95:18: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    ) throws -> [MLShapedArray<Float32>] {
                 ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:90:10: note: add @available attribute to enclosing instance method
    func predictNoise(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:9:15: note: add @available attribute to enclosing struct
public struct Unet: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:152:19: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        latents: [MLShapedArray<Float32>],
                  ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:151:10: note: add @available attribute to enclosing instance method
    func predictNoise(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:9:15: note: add @available attribute to enclosing struct
public struct Unet: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:154:23: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        hiddenStates: MLShapedArray<Float32>,
                      ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:151:10: note: add @available attribute to enclosing instance method
    func predictNoise(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:9:15: note: add @available attribute to enclosing struct
public struct Unet: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:155:23: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        pooledStates: MLShapedArray<Float32>,
                      ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:151:10: note: add @available attribute to enclosing instance method
    func predictNoise(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:9:15: note: add @available attribute to enclosing struct
public struct Unet: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:156:31: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
        geometryConditioning: MLShapedArray<Float32>
                              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:151:10: note: add @available attribute to enclosing instance method
    func predictNoise(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:9:15: note: add @available attribute to enclosing struct
public struct Unet: ResourceManaging {
              ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:157:18: error: 'MLShapedArray' is only available in tvOS 15.0 or newer
    ) throws -> [MLShapedArray<Float32>] {
                 ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:151:10: note: add @available attribute to enclosing instance method
    func predictNoise(
         ^
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift:9:15: note: add @available attribute to enclosing struct
public struct Unet: ResourceManaging {
              ^
SwiftCompile normal arm64 Compiling\ MultilingualTextEncoder.swift,\ NumPyRandomSource.swift,\ NvRandomSource.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/MultilingualTextEncoder.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/NumPyRandomSource.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/NvRandomSource.swift (in target 'StableDiffusion' from project 'stable-diffusion')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/MultilingualTextEncoder.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/NumPyRandomSource.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/NvRandomSource.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ TorchRandomSource.swift,\ Unet.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TorchRandomSource.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift (in target 'StableDiffusion' from project 'stable-diffusion')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TorchRandomSource.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Unet.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ Decoder.swift,\ Encoder.swift,\ ManagedMLModel.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Decoder.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Encoder.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ManagedMLModel.swift (in target 'StableDiffusion' from project 'stable-diffusion')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Decoder.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/Encoder.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/ManagedMLModel.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ TextEncoder.swift,\ TextEncoderXL.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TextEncoder.swift /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TextEncoderXL.swift (in target 'StableDiffusion' from project 'stable-diffusion')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TextEncoder.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/pipeline/TextEncoderXL.swift (in target 'StableDiffusion' from project 'stable-diffusion')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftDriverJobDiscovery normal arm64 Emitting module for ArgumentParserToolInfo (in target 'ArgumentParserToolInfo' from project 'swift-argument-parser')
SwiftDriver\ Compilation\ Requirements ArgumentParserToolInfo normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ArgumentParserToolInfo' from project 'swift-argument-parser')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-Swift-Compilation-Requirements -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name ArgumentParserToolInfo -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-argument-parser.build/Debug-appletvos/ArgumentParserToolInfo.build/Objects-normal/arm64/ArgumentParserToolInfo.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -target arm64-apple-tvos12.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -suppress-warnings -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/Developer/Library/Frameworks -parse-as-library -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.4-22L251-271d326055c85f9856fa135c41255102.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-argument-parser.build/Debug-appletvos/ArgumentParserToolInfo.build/Objects-normal/arm64/ArgumentParserToolInfo-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-argument-parser.build/Debug-appletvos/ArgumentParserToolInfo.build/Objects-normal/arm64/ArgumentParserToolInfo.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-argument-parser.build/Debug-appletvos/ArgumentParserToolInfo.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-argument-parser.build/Debug-appletvos/ArgumentParserToolInfo.build/Objects-normal/arm64/ArgumentParserToolInfo_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-argument-parser.build/Debug-appletvos/ArgumentParserToolInfo.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-argument-parser.build/Debug-appletvos/ArgumentParserToolInfo.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-argument-parser.build/Debug-appletvos/ArgumentParserToolInfo.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-argument-parser.build/Debug-appletvos/ArgumentParserToolInfo.build/Objects-normal/arm64/ArgumentParserToolInfo-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
** BUILD FAILED **
The following build commands failed:
	SwiftEmitModule normal arm64 Emitting\ module\ for\ StableDiffusion (in target 'StableDiffusion' from project 'stable-diffusion')
	EmitSwiftModule normal arm64 (in target 'StableDiffusion' from project 'stable-diffusion')
	Building workspace spi-builder-workspace with scheme stable-diffusion-Package
(3 failures)
BUILD FAILURE 6.1 tvOS