Build Information
Successful build of coreml-stable-diffusion-swift, reference main (d0038c
), with Swift 6.0 for macOS (SPM) on 4 Sep 2025 15:32:51 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.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: 6.0
Building package at path: $PWD
https://github.com/swiftuiux/coreml-stable-diffusion-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.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-5BDAB9E9C0126B9D.txt
[7/32] Emitting module StableDiffusion
[8/32] Compiling StableDiffusion TextEncoder.swift
[9/32] Compiling StableDiffusion TextEncoderXL.swift
[10/34] Compiling StableDiffusion SampleTimer.swift
[11/34] Compiling StableDiffusion Scheduler.swift
[12/34] Compiling StableDiffusion StableDiffusionPipeline+Resources.swift
[13/34] Compiling StableDiffusion Decoder.swift
[14/34] Compiling StableDiffusion Encoder.swift
[15/34] Compiling StableDiffusion ManagedMLModel.swift
[16/34] Compiling StableDiffusion TorchRandomSource.swift
[17/34] Compiling StableDiffusion Unet.swift
[18/34] Compiling StableDiffusion StableDiffusionPipeline.Configuration.swift
[19/34] Compiling StableDiffusion StableDiffusionPipeline.swift
[20/34] Compiling StableDiffusion MultilingualTextEncoder.swift
[21/34] Compiling StableDiffusion NumPyRandomSource.swift
[22/34] Compiling StableDiffusion NvRandomSource.swift
[23/34] Compiling StableDiffusion RandomSource.swift
[24/34] Compiling StableDiffusion ResourceManaging.swift
[25/34] Compiling StableDiffusion SafetyChecker.swift
[26/34] Compiling StableDiffusion StableDiffusionXL+Resources.swift
[27/34] Compiling StableDiffusion StableDiffusionXLPipeline.swift
[28/34] Compiling StableDiffusion CGImage+vImage.swift
[29/34] Compiling StableDiffusion ControlNet.swift
[30/34] Compiling StableDiffusion DPMSolverMultistepScheduler.swift
[31/34] Compiling StableDiffusion BPETokenizer+Reading.swift
[32/34] Compiling StableDiffusion BPETokenizer.swift
[33/34] Compiling Files Files.swift
[34/34] Emitting module Files
[35/45] Compiling coreml_stable_diffusion_swift HelperPipeline.swift
[36/45] Compiling coreml_stable_diffusion_swift GenerativeModel.swift
[37/45] Compiling coreml_stable_diffusion_swift Scheduler.swift
[38/45] Compiling coreml_stable_diffusion_swift NSImage+.swift
[39/45] Emitting module coreml_stable_diffusion_swift
[40/45] Compiling coreml_stable_diffusion_swift HelperImage.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 GenerativeManager.swift
[46/46] Compiling coreml_stable_diffusion_swift IGenerativeManager.swift
Build complete! (25.44s)
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')
19 | dependencies: [
20 | // Dependencies declare other packages that this package depends on.
21 | .package(url: "https://github.com/apple/ml-stable-diffusion.git", .exactItem("1.1.1")),
| `- warning: 'package(url:_:)' is deprecated: use specific requirement APIs instead (e.g. use 'branch:' instead of '.branch')
22 | .package(url: "https://github.com/JohnSundell/Files.git",
23 | from: "4.2.0")
Fetching https://github.com/apple/ml-stable-diffusion.git
Fetching https://github.com/JohnSundell/Files.git
[1/2137] Fetching ml-stable-diffusion
[2/3385] Fetching ml-stable-diffusion, files
Fetched https://github.com/JohnSundell/Files.git from cache (1.61s)
Fetched https://github.com/apple/ml-stable-diffusion.git from cache (1.61s)
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.47s)
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 (3.04s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 4.3.0 (0.57s)
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.54s)
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')
19 | dependencies: [
20 | // Dependencies declare other packages that this package depends on.
21 | .package(url: "https://github.com/apple/ml-stable-diffusion.git", .exactItem("1.1.1")),
| `- warning: 'package(url:_:)' is deprecated: use specific requirement APIs instead (e.g. use 'branch:' instead of '.branch')
22 | .package(url: "https://github.com/JohnSundell/Files.git",
23 | from: "4.2.0")
Done.