Build Information
Successful build of stable-diffusion, reference 1.1.1 (5a170d), with Swift 6.4 for macOS (SPM) on 28 Sep 2026 04:37:39 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple-aiml-research/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-aiml-research/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-aiml-research/ml-stable-diffusion.git
Revision (git rev-parse @):
5a170d29cf38e674b80541d7ce22929c6a11cdde
SUCCESS checkout https://github.com/apple-aiml-research/ml-stable-diffusion.git at 1.1.1
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/apple-aiml-research/ml-stable-diffusion.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 183]
[Planning deferred tasks]
[47 / 81] stable-diffusion_StableDiffusionTests
[49 / 81]
[51 / 83] ArgumentParserToolInfo
[55 / 87] ArgumentParserToolInfo
[62 / 88] StableDiffusion
[74 / 193]
[83 / 193] ArgumentParserToolInfo
[90 / 193]
[101 / 193]
[104 / 193]
[105 / 193]
[112 / 193]
[116 / 193]
[121 / 193]
[128 / 193]
[131 / 193]
[136 / 193]
[137 / 193]
[139 / 193]
[151 / 193]
[153 / 193] ArgumentParser
[155 / 193]
[156 / 193]
[164 / 193]
[164 / 193] ArgumentParser
[164 / 193]
[173 / 193] StableDiffusion
[175 / 193] StableDiffusion
[177 / 193] StableDiffusion
[186 / 194] StableDiffusion
[189 / 194] StableDiffusionSample-product
[201 / 213]
[204 / 213]
[205 / 213]
[208 / 213] StableDiffusionSample-product
[209 / 213] StableDiffusionSample-product
[211 / 213] StableDiffusionSample-product
Build complete! (11.17 sec)
Fetching https://github.com/apple/swift-argument-parser.git
[1/18947] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git (1.85s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (2.49s)
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.8.2
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusionCLI/main.swift:349:1: [1;33mwarning: [1;39mextension declares a conformance of imported type 'Script' to imported protocols 'ExpressibleByArgument', '_SendableMetatype'; this will not behave correctly if the owners of 'StableDiffusion' introduce this conformance in the future[0;0m
[0;36m347 |[0;0m
[0;36m348 |[0;0m @available(iOS 16.2, macOS 13.1, *)
[0;36m349 |[0;0m extension Script: ExpressibleByArgument {}
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'Script' to imported protocols 'ExpressibleByArgument', '_SendableMetatype'; this will not behave correctly if the owners of 'StableDiffusion' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m350 |[0;0m
[0;36m351 |[0;0m if #available(iOS 16.2, macOS 13.1, *) {
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusionCLI/main.swift:349:1: [1;33mwarning: [1;39mextension declares a conformance of imported type 'Script' to imported protocols 'ExpressibleByArgument', '_SendableMetatype'; this will not behave correctly if the owners of 'StableDiffusion' introduce this conformance in the future[0;0m
[0;36m347 |[0;0m
[0;36m348 |[0;0m @available(iOS 16.2, macOS 13.1, *)
[0;36m349 |[0;0m extension Script: ExpressibleByArgument {}
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'Script' to imported protocols 'ExpressibleByArgument', '_SendableMetatype'; this will not behave correctly if the owners of 'StableDiffusion' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m350 |[0;0m
[0;36m351 |[0;0m if #available(iOS 16.2, macOS 13.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.