Build Information
Successful build of stable-diffusion, reference main (ea2805), with Swift 6.4 for macOS (SPM) on 28 Sep 2026 04:37:32 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/apple-aiml-research/ml-stable-diffusion
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ea2805d Update root files
Cloned https://github.com/apple-aiml-research/ml-stable-diffusion.git
Revision (git rev-parse @):
ea2805dc1945be20561c77e5f6d1d9a5a637cda2
SUCCESS checkout https://github.com/apple-aiml-research/ml-stable-diffusion.git at main
========================================
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...
[Computing dependencies]
[Pre-planning 1 / 358]
[Planning deferred tasks]
[65 / 165] TensorUtils
[93 / 165]
[96 / 168] ArgumentParserToolInfo
[100 / 172] ArgumentParserToolInfo
[107 / 173] Hub
[115 / 210]
[126 / 270] ArgumentParserToolInfo
[133 / 270]
[138 / 270]
[140 / 270]
[147 / 270]
[149 / 270]
[153 / 270]
[159 / 270]
[165 / 270]
[167 / 270]
[170 / 270]
[171 / 270]
[172 / 270]
[173 / 270]
[182 / 270]
[187 / 270] Hub
[194 / 270] Hub
[197 / 270]
[199 / 270] ArgumentParser
[206 / 270] ArgumentParser
[207 / 270] ArgumentParser-product
[210 / 270] TensorUtils
[212 / 270] TensorUtils
[214 / 270] TensorUtils
[224 / 270] TensorUtils
[227 / 271] TensorUtils
[229 / 271] Tokenizers
[236 / 282] Tokenizers
[248 / 282]
[249 / 283] Tokenizers
[251 / 283] Generation
[254 / 286] Generation
[263 / 287] Models
[266 / 290] Models
[273 / 291] Models
[275 / 291] StableDiffusion
[277 / 304]
[288 / 304] StableDiffusion
[297 / 305] StableDiffusion
[300 / 305] StableDiffusionSample-product
[312 / 323]
[314 / 323]
[315 / 323]
[318 / 323] StableDiffusionSample-product
[319 / 323] StableDiffusionSample-product
[321 / 323] StableDiffusionSample-product
Build complete! (13.31 sec)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/huggingface/swift-transformers.git
[1/7048] Fetching swift-transformers
[565/25995] Fetching swift-transformers, swift-argument-parser
Fetched https://github.com/huggingface/swift-transformers.git (1.90s)
Fetched https://github.com/apple/swift-argument-parser.git (1.90s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 0.1.8 (2.52s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.3.0 (0.59s)
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.3.0
Creating working copy for https://github.com/huggingface/swift-transformers.git
Working copy of https://github.com/huggingface/swift-transformers.git resolved at 0.1.8
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/tokenizer/T5Tokenizer.swift:12:5: [1;33mwarning: [1;39m'public' modifier is redundant for initializer declared in a public extension[0;0m
[0;36m10 |[0;0m /// Assumes the file is already present at local url.
[0;36m11 |[0;0m /// `fileURL` is a complete local file path for the given model
[0;36m12 |[0;0m public init(fileURL: URL) throws {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'public' modifier is redundant for initializer declared in a public extension[0;0m
[0;36m13 |[0;0m let data = try Data(contentsOf: fileURL)
[0;36m14 |[0;0m let parsed = try JSONSerialization.jsonObject(with: data, options: [])
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusion/tokenizer/T5Tokenizer.swift:12:5: [1;33mwarning: [1;39m'public' modifier is redundant for initializer declared in a public extension[0;0m
[0;36m10 |[0;0m /// Assumes the file is already present at local url.
[0;36m11 |[0;0m /// `fileURL` is a complete local file path for the given model
[0;36m12 |[0;0m public init(fileURL: URL) throws {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'public' modifier is redundant for initializer declared in a public extension[0;0m
[0;36m13 |[0;0m let data = try Data(contentsOf: fileURL)
[0;36m14 |[0;0m let parsed = try JSONSerialization.jsonObject(with: data, options: [])
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusionCLI/main.swift:371:1: [1;33mwarning: [1;39mextension 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[0;0m
[0;36m369 |[0;0m
[0;36m370 |[0;0m @available(iOS 16.2, macOS 13.1, *)
[0;36m371 |[0;0m extension Script: ExpressibleByArgument {}
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension 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[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m372 |[0;0m
[0;36m373 |[0;0m if #available(iOS 16.2, macOS 13.1, *) {
/Users/admin/builder/spi-builder-workspace/swift/StableDiffusionCLI/main.swift:371:1: [1;33mwarning: [1;39mextension 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[0;0m
[0;36m369 |[0;0m
[0;36m370 |[0;0m @available(iOS 16.2, macOS 13.1, *)
[0;36m371 |[0;0m extension Script: ExpressibleByArgument {}
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension 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[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m372 |[0;0m
[0;36m373 |[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"
},
{
"identity" : "swift-transformers",
"requirement" : {
"exact" : [
"0.1.8"
]
},
"type" : "sourceControl",
"url" : "https://github.com/huggingface/swift-transformers.git"
}
],
"manifest_display_name" : "stable-diffusion",
"name" : "stable-diffusion",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.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_dependencies" : [
"Transformers"
],
"product_memberships" : [
"StableDiffusion",
"StableDiffusionSample"
],
"sources" : [
"pipeline/CGImage+vImage.swift",
"pipeline/ControlNet.swift",
"pipeline/DPMSolverMultistepScheduler.swift",
"pipeline/Decoder.swift",
"pipeline/DiscreteFlowScheduler.swift",
"pipeline/Encoder.swift",
"pipeline/ManagedMLModel.swift",
"pipeline/MultiModalDiffusionTransformer.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/StableDiffusion3Pipeline+Resources.swift",
"pipeline/StableDiffusion3Pipeline.swift",
"pipeline/StableDiffusionPipeline+Resources.swift",
"pipeline/StableDiffusionPipeline.Configuration.swift",
"pipeline/StableDiffusionPipeline.swift",
"pipeline/StableDiffusionXL+Resources.swift",
"pipeline/StableDiffusionXLPipeline.swift",
"pipeline/TextEncoder.swift",
"pipeline/TextEncoderT5.swift",
"pipeline/TextEncoderXL.swift",
"pipeline/TorchRandomSource.swift",
"pipeline/Unet.swift",
"tokenizer/BPETokenizer+Reading.swift",
"tokenizer/BPETokenizer.swift",
"tokenizer/T5Tokenizer.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Done.