The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of stable-diffusion, reference 1.1.1 (5a170d), with Swift 6.2 (beta) for macOS (SPM) on 21 Jun 2025 12:38:44 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/ml-stable-diffusion.git
Reference: 1.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/apple/ml-stable-diffusion
 * tag               1.1.1      -> FETCH_HEAD
HEAD is now at 5a170d2 Update pull_request_template.md after changing to MIT license
Cloned https://github.com/apple/ml-stable-diffusion.git
Revision (git rev-parse @):
5a170d29cf38e674b80541d7ce22929c6a11cdde
SUCCESS checkout https://github.com/apple/ml-stable-diffusion.git at 1.1.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/apple/ml-stable-diffusion.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/10] Write sources
[2/10] Write StableDiffusionSample-entitlement.plist
[5/10] Write sources
[6/10] Write swift-version-1EA4D86E10B52AF.txt
[8/36] Emitting module ArgumentParserToolInfo
[9/36] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/75] Emitting module ArgumentParser
[11/79] Compiling ArgumentParser CommandConfiguration.swift
[12/79] Compiling ArgumentParser CommandGroup.swift
[13/79] Compiling ArgumentParser EnumerableFlag.swift
[14/79] Compiling ArgumentParser ExpressibleByArgument.swift
[15/79] Compiling ArgumentParser NameSpecification.swift
[16/79] Compiling ArgumentParser Option.swift
[17/79] Compiling ArgumentParser OptionGroup.swift
[18/79] Compiling ArgumentParser AsyncParsableCommand.swift
[19/79] Compiling ArgumentParser ArgumentHelp.swift
[20/79] Compiling ArgumentParser ArgumentVisibility.swift
[21/79] Compiling ArgumentParser CompletionKind.swift
[22/79] Compiling ArgumentParser Errors.swift
[23/79] Compiling ArgumentParser Flag.swift
[24/79] Compiling ArgumentParser InputOrigin.swift
[25/79] Compiling ArgumentParser Name.swift
[26/79] Compiling ArgumentParser Parsed.swift
[27/79] Compiling ArgumentParser ParsedValues.swift
[28/79] Compiling ArgumentParser Platform.swift
[29/79] Compiling ArgumentParser SequenceExtensions.swift
[30/79] Compiling ArgumentParser StringExtensions.swift
[31/79] Compiling ArgumentParser Tree.swift
[32/79] Compiling ArgumentParser ArgumentDefinition.swift
[33/79] Compiling ArgumentParser ArgumentSet.swift
[34/79] Compiling ArgumentParser CommandParser.swift
[35/79] Compiling ArgumentParser InputKey.swift
[36/79] Compiling ArgumentParser ParsableArguments.swift
[37/79] Compiling ArgumentParser ParsableArgumentsValidation.swift
[38/79] Compiling ArgumentParser ParsableCommand.swift
[39/79] Compiling ArgumentParser ArgumentDecoder.swift
[40/79] Compiling ArgumentParser BashCompletionsGenerator.swift
[41/79] Compiling ArgumentParser CompletionsGenerator.swift
[42/79] Compiling ArgumentParser FishCompletionsGenerator.swift
[43/79] Compiling ArgumentParser ZshCompletionsGenerator.swift
[44/79] Compiling ArgumentParser Argument.swift
[45/79] Compiling ArgumentParser HelpGenerator.swift
[46/79] Compiling ArgumentParser MessageInfo.swift
[47/79] Compiling ArgumentParser UsageGenerator.swift
[48/79] Compiling ArgumentParser CollectionExtensions.swift
[49/79] Compiling ArgumentParser ParserError.swift
[50/79] Compiling ArgumentParser SplitArguments.swift
[51/79] Compiling ArgumentParser DumpHelpGenerator.swift
[52/79] Compiling ArgumentParser HelpCommand.swift
[53/79] Emitting module StableDiffusion
[54/81] Compiling StableDiffusion BPETokenizer+Reading.swift
[55/81] Compiling StableDiffusion BPETokenizer.swift
[79/83] Compiling StableDiffusionCLI main.swift
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusionCLI/main.swift:349:1: warning: extension declares a conformance of imported type 'Script' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'StableDiffusion' introduce this conformance in the future
347 |
348 | @available(iOS 16.2, macOS 13.1, *)
349 | extension Script: ExpressibleByArgument {}
    | |- warning: extension declares a conformance of imported type 'Script' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'StableDiffusion' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
350 |
351 | if #available(iOS 16.2, macOS 13.1, *) {
[80/83] Emitting module StableDiffusionCLI
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusionCLI/main.swift:349:1: warning: extension declares a conformance of imported type 'Script' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'StableDiffusion' introduce this conformance in the future
347 |
348 | @available(iOS 16.2, macOS 13.1, *)
349 | extension Script: ExpressibleByArgument {}
    | |- warning: extension declares a conformance of imported type 'Script' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'StableDiffusion' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
350 |
351 | if #available(iOS 16.2, macOS 13.1, *) {
[80/83] Write Objects.LinkFileList
[81/83] Linking StableDiffusionSample
[82/83] Applying StableDiffusionSample
Build complete! (14.82s)
Fetching https://github.com/apple/swift-argument-parser.git
[1/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.54s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (1.95s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
Build complete.
{
  "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"
}
Done.