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 coreml-stable-diffusion-swift, reference main (d0038c), with Swift 5.10 for macOS (SPM) on 4 Sep 2025 15:32:49 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftuiux/coreml-stable-diffusion-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swiftuiux/coreml-stable-diffusion-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d0038cd Update README.md
Cloned https://github.com/swiftuiux/coreml-stable-diffusion-swift.git
Revision (git rev-parse @):
d0038cd87754c05ca4996ef695f10068b8515973
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftuiux/coreml-stable-diffusion-swift.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/swiftuiux/coreml-stable-diffusion-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin GenerateDoccReference
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/6] Write sources
[5/6] Write swift-version-33747A42983211AE.txt
[7/32] Emitting module StableDiffusion
[8/34] Compiling StableDiffusion BPETokenizer+Reading.swift
[9/34] Compiling StableDiffusion BPETokenizer.swift
[10/34] Compiling StableDiffusion MultilingualTextEncoder.swift
[11/34] Compiling StableDiffusion NumPyRandomSource.swift
[12/34] Compiling StableDiffusion NvRandomSource.swift
[13/34] Compiling StableDiffusion SampleTimer.swift
[14/34] Compiling StableDiffusion Scheduler.swift
[15/34] Compiling StableDiffusion StableDiffusionPipeline+Resources.swift
[16/34] Compiling StableDiffusion CGImage+vImage.swift
[17/34] Compiling StableDiffusion ControlNet.swift
[18/34] Compiling StableDiffusion DPMSolverMultistepScheduler.swift
[19/34] Compiling StableDiffusion StableDiffusionPipeline.Configuration.swift
[20/34] Compiling StableDiffusion StableDiffusionPipeline.swift
[21/34] Compiling StableDiffusion RandomSource.swift
[22/34] Compiling StableDiffusion ResourceManaging.swift
[23/34] Compiling StableDiffusion SafetyChecker.swift
[24/34] Compiling StableDiffusion TorchRandomSource.swift
[25/34] Compiling StableDiffusion Unet.swift
[26/34] Compiling StableDiffusion TextEncoder.swift
[27/34] Compiling StableDiffusion TextEncoderXL.swift
[28/34] Compiling StableDiffusion StableDiffusionXL+Resources.swift
[29/34] Compiling StableDiffusion StableDiffusionXLPipeline.swift
[30/34] Compiling StableDiffusion Decoder.swift
[31/34] Compiling StableDiffusion Encoder.swift
[32/34] Compiling StableDiffusion ManagedMLModel.swift
[33/34] Emitting module Files
[34/34] Compiling Files Files.swift
[35/45] Compiling coreml_stable_diffusion_swift GenerativeModel.swift
[36/45] Compiling coreml_stable_diffusion_swift Scheduler.swift
[37/45] Compiling coreml_stable_diffusion_swift HelperPipeline.swift
[38/45] Compiling coreml_stable_diffusion_swift NSImage+.swift
[39/45] Compiling coreml_stable_diffusion_swift GenerativeManager.swift
[40/45] Emitting module coreml_stable_diffusion_swift
[41/45] Compiling coreml_stable_diffusion_swift URL+.swift
[42/45] Compiling coreml_stable_diffusion_swift Errors.swift
[43/45] Compiling coreml_stable_diffusion_swift ProgressState.swift
[44/45] Compiling coreml_stable_diffusion_swift HelperFile.swift
[45/45] Compiling coreml_stable_diffusion_swift HelperImage.swift
[46/46] Compiling coreml_stable_diffusion_swift IGenerativeManager.swift
Build complete! (21.29s)
warning: 'spi-builder-workspace': /Users/admin/builder/spi-builder-workspace/Package.swift:21:10: warning: 'package(url:_:)' is deprecated: use specific requirement APIs instead (e.g. use 'branch:' instead of '.branch')
        .package(url: "https://github.com/apple/ml-stable-diffusion.git", .exactItem("1.1.1")),
         ^
Fetching https://github.com/apple/ml-stable-diffusion.git
Fetching https://github.com/JohnSundell/Files.git
[1/1248] Fetching files
[89/3385] Fetching files, ml-stable-diffusion
Fetched https://github.com/JohnSundell/Files.git from cache (2.01s)
Fetched https://github.com/apple/ml-stable-diffusion.git from cache (2.01s)
Computing version for https://github.com/apple/ml-stable-diffusion.git
Computed https://github.com/apple/ml-stable-diffusion.git at 1.1.1 (0.37s)
Fetching https://github.com/apple/swift-argument-parser.git
[1/15692] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.63s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 4.3.0 (0.47s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (0.40s)
Creating working copy for https://github.com/JohnSundell/Files.git
Working copy of https://github.com/JohnSundell/Files.git resolved at 4.3.0
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.6.1
Creating working copy for https://github.com/apple/ml-stable-diffusion.git
Working copy of https://github.com/apple/ml-stable-diffusion.git resolved at 1.1.1
Build complete.
{
  "dependencies" : [
    {
      "identity" : "ml-stable-diffusion",
      "requirement" : {
        "exact" : [
          "1.1.1"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/ml-stable-diffusion.git"
    },
    {
      "identity" : "files",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.2.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/JohnSundell/Files.git"
    }
  ],
  "manifest_display_name" : "coreml-stable-diffusion-swift",
  "name" : "coreml-stable-diffusion-swift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.2"
    }
  ],
  "products" : [
    {
      "name" : "coreml-stable-diffusion-swift",
      "targets" : [
        "coreml-stable-diffusion-swift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "coreml_stable_diffusion_swiftTests",
      "module_type" : "SwiftTarget",
      "name" : "coreml-stable-diffusion-swiftTests",
      "path" : "Tests/coreml-stable-diffusion-swiftTests",
      "sources" : [
        "coreml_stable_diffusion_swiftTests.swift"
      ],
      "target_dependencies" : [
        "coreml-stable-diffusion-swift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "coreml_stable_diffusion_swift",
      "module_type" : "SwiftTarget",
      "name" : "coreml-stable-diffusion-swift",
      "path" : "Sources/coreml-stable-diffusion-swift",
      "product_dependencies" : [
        "StableDiffusion",
        "Files"
      ],
      "product_memberships" : [
        "coreml-stable-diffusion-swift"
      ],
      "sources" : [
        "enum/Errors.swift",
        "enum/ProgressState.swift",
        "ext/NSImage+.swift",
        "ext/URL+.swift",
        "helper/HelperFile.swift",
        "helper/HelperImage.swift",
        "helper/HelperPipeline.swift",
        "manager/GenerativeManager.swift",
        "model/GenerativeModel.swift",
        "model/Scheduler.swift",
        "protocol/IGenerativeManager.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
warning: 'spi-builder-workspace': /Users/admin/builder/spi-builder-workspace/Package.swift:21:10: warning: 'package(url:_:)' is deprecated: use specific requirement APIs instead (e.g. use 'branch:' instead of '.branch')
        .package(url: "https://github.com/apple/ml-stable-diffusion.git", .exactItem("1.1.1")),
         ^
Done.