Build Information
Successful build of coreml-stable-diffusion-swift, reference 1.0.0 (d00632), with Swift 6.3 for macOS (SPM) on 15 Apr 2026 09:09:16 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftuiux/coreml-stable-diffusion-swift.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swiftuiux/coreml-stable-diffusion-swift
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at d00632b Update HelperImage.swift
Cloned https://github.com/swiftuiux/coreml-stable-diffusion-swift.git
Revision (git rev-parse @):
d00632ba63f7efcf9f0a124715debe09487e5a3b
SUCCESS checkout https://github.com/swiftuiux/coreml-stable-diffusion-swift.git at 1.0.0
warning: 'spi-builder-workspace': /Users/admin/builder/spi-builder-workspace/Package.swift:20:10: warning: 'package(url:_:)' is deprecated: use specific requirement APIs instead (e.g. use 'branch:' instead of '.branch') [#DeprecatedDeclaration]
18 | dependencies: [
19 | // Dependencies declare other packages that this package depends on.
20 | .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') [#DeprecatedDeclaration]
21 | .package(url: "https://github.com/JohnSundell/Files.git",
22 | from: "4.2.0")
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/JohnSundell/Files.git
Fetching https://github.com/apple/ml-stable-diffusion.git
[1/2148] Fetching ml-stable-diffusion
[23/3421] Fetching ml-stable-diffusion, files
[1403/20944] Fetching ml-stable-diffusion, files, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.93s)
Fetched https://github.com/JohnSundell/Files.git from cache (1.93s)
Fetched https://github.com/apple/ml-stable-diffusion.git from cache (1.93s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 4.2.0 (2.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.56s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.57s)
Creating working copy for https://github.com/JohnSundell/Files.git
Working copy of https://github.com/JohnSundell/Files.git resolved at 4.2.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.5.0
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "coreml-stable-diffusion-swift",
"name": "coreml-stable-diffusion-swift",
"url": "https://github.com/swiftuiux/coreml-stable-diffusion-swift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/coreml-stable-diffusion-swift",
"traits": [
"default"
],
"dependencies": [
{
"identity": "ml-stable-diffusion",
"name": "stable-diffusion",
"url": "https://github.com/apple/ml-stable-diffusion.git",
"version": "1.1.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ml-stable-diffusion",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser.git",
"version": "1.7.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"traits": [
"default"
],
"dependencies": [
]
}
]
},
{
"identity": "files",
"name": "Files",
"url": "https://github.com/JohnSundell/Files.git",
"version": "4.3.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Files",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/swiftuiux/coreml-stable-diffusion-swift.git
[1/504] Fetching coreml-stable-diffusion-swift
Fetched https://github.com/swiftuiux/coreml-stable-diffusion-swift.git from cache (1.39s)
warning: 'coreml-stable-diffusion-swift': /Package.swift:20:10: warning: 'package(url:_:)' is deprecated: use specific requirement APIs instead (e.g. use 'branch:' instead of '.branch') [#DeprecatedDeclaration]
18 | dependencies: [
19 | // Dependencies declare other packages that this package depends on.
20 | .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') [#DeprecatedDeclaration]
21 | .package(url: "https://github.com/JohnSundell/Files.git",
22 | from: "4.2.0")
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Fetching https://github.com/apple/ml-stable-diffusion.git from cache
Fetching https://github.com/JohnSundell/Files.git from cache
Fetched https://github.com/apple/ml-stable-diffusion.git from cache (0.48s)
Fetched https://github.com/JohnSundell/Files.git from cache (0.48s)
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.55s)
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.54s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 4.3.0 (0.60s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (0.60s)
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.7.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
Creating working copy for https://github.com/swiftuiux/coreml-stable-diffusion-swift.git
Working copy of https://github.com/swiftuiux/coreml-stable-diffusion-swift.git resolved at 1.0.0 (d00632b)
warning: 'coreml-stable-diffusion-swift': /Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/coreml-stable-diffusion-swift/Package.swift:20:10: warning: 'package(url:_:)' is deprecated: use specific requirement APIs instead (e.g. use 'branch:' instead of '.branch') [#DeprecatedDeclaration]
18 | dependencies: [
19 | // Dependencies declare other packages that this package depends on.
20 | .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') [#DeprecatedDeclaration]
21 | .package(url: "https://github.com/JohnSundell/Files.git",
22 | from: "4.2.0")
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
warning: '.resolve-product-dependencies': dependency 'coreml-stable-diffusion-swift' is not used by any target
Found 2 product dependencies
- stable-diffusion
- Files
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/swiftuiux/coreml-stable-diffusion-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/5] Write sources
[4/5] Write swift-version--6988338F2F200930.txt
[6/31] Emitting module StableDiffusion
[7/33] Compiling StableDiffusion BPETokenizer+Reading.swift
[8/33] Compiling StableDiffusion BPETokenizer.swift
[9/33] Compiling StableDiffusion Decoder.swift
[10/33] Compiling StableDiffusion Encoder.swift
[11/33] Compiling StableDiffusion ManagedMLModel.swift
[12/33] Compiling StableDiffusion TorchRandomSource.swift
[13/33] Compiling StableDiffusion Unet.swift
[14/33] Compiling StableDiffusion TextEncoder.swift
[15/33] Compiling StableDiffusion TextEncoderXL.swift
[16/33] Compiling StableDiffusion MultilingualTextEncoder.swift
[17/33] Compiling StableDiffusion NumPyRandomSource.swift
[18/33] Compiling StableDiffusion NvRandomSource.swift
[19/33] Compiling StableDiffusion CGImage+vImage.swift
[20/33] Compiling StableDiffusion ControlNet.swift
[21/33] Compiling StableDiffusion DPMSolverMultistepScheduler.swift
[22/33] Compiling StableDiffusion StableDiffusionPipeline.Configuration.swift
[23/33] Compiling StableDiffusion StableDiffusionPipeline.swift
[24/33] Compiling StableDiffusion RandomSource.swift
[25/33] Compiling StableDiffusion ResourceManaging.swift
[26/33] Compiling StableDiffusion SafetyChecker.swift
[27/33] Compiling StableDiffusion SampleTimer.swift
[28/33] Compiling StableDiffusion Scheduler.swift
[29/33] Compiling StableDiffusion StableDiffusionPipeline+Resources.swift
[30/33] Compiling StableDiffusion StableDiffusionXL+Resources.swift
[31/33] Compiling StableDiffusion StableDiffusionXLPipeline.swift
[32/33] Emitting module Files
[33/33] Compiling Files Files.swift
[34/44] Compiling coreml_stable_diffusion_swift HelperPipeline.swift
[35/44] Compiling coreml_stable_diffusion_swift NSImage+.swift
[36/44] Compiling coreml_stable_diffusion_swift URL+.swift
[37/44] Compiling coreml_stable_diffusion_swift HelperImage.swift
[38/44] Compiling coreml_stable_diffusion_swift HelperFile.swift
[39/44] Compiling coreml_stable_diffusion_swift Errors.swift
[40/44] Compiling coreml_stable_diffusion_swift ProgressState.swift
[41/44] Emitting module coreml_stable_diffusion_swift
[42/44] Compiling coreml_stable_diffusion_swift Scheduler.swift
[43/44] Compiling coreml_stable_diffusion_swift GenerativeModel.swift
[44/44] Compiling coreml_stable_diffusion_swift GenerativeManager.swift
[45/45] Compiling coreml_stable_diffusion_swift IGenerativeManager.swift
Build complete! (22.94s)
warning: 'spi-builder-workspace': /Users/admin/builder/spi-builder-workspace/Package.swift:20:10: warning: 'package(url:_:)' is deprecated: use specific requirement APIs instead (e.g. use 'branch:' instead of '.branch') [#DeprecatedDeclaration]
18 | dependencies: [
19 | // Dependencies declare other packages that this package depends on.
20 | .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') [#DeprecatedDeclaration]
21 | .package(url: "https://github.com/JohnSundell/Files.git",
22 | from: "4.2.0")
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
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:20:10: warning: 'package(url:_:)' is deprecated: use specific requirement APIs instead (e.g. use 'branch:' instead of '.branch') [#DeprecatedDeclaration]
18 | dependencies: [
19 | // Dependencies declare other packages that this package depends on.
20 | .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') [#DeprecatedDeclaration]
21 | .package(url: "https://github.com/JohnSundell/Files.git",
22 | from: "4.2.0")
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Done.