Build Information
Successful build of coreml-stable-diffusion-swift, reference main (211c77
), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 18:54:55 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.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 211c779 Update LICENSE
Cloned https://github.com/swiftuiux/coreml-stable-diffusion-swift.git
Revision (git rev-parse @):
211c779ebbc9344e8c7f6f5537b99afb8983cbeb
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftuiux/coreml-stable-diffusion-swift.git at main
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/JohnSundell/Files.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/ml-stable-diffusion.git
[1/2088] Fetching ml-stable-diffusion
[22/3319] Fetching ml-stable-diffusion, files
[1120/15714] Fetching ml-stable-diffusion, files, swift-argument-parser
Fetched https://github.com/apple/ml-stable-diffusion.git from cache (1.78s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.78s)
Fetched https://github.com/JohnSundell/Files.git from cache (1.78s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 4.2.0 (0.58s)
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.46s)
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.48s)
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/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/JohnSundell/Files.git
Working copy of https://github.com/JohnSundell/Files.git resolved at 4.2.0
========================================
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",
"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",
"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",
"dependencies": [
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser.git",
"version": "1.5.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"dependencies": [
]
}
]
},
{
"identity": "files",
"name": "Files",
"url": "https://github.com/JohnSundell/Files.git",
"version": "4.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Files",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/swiftuiux/coreml-stable-diffusion-swift.git
[1/501] Fetching coreml-stable-diffusion-swift
Fetched https://github.com/swiftuiux/coreml-stable-diffusion-swift.git from cache (1.54s)
warning: 'coreml-stable-diffusion-swift': /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/JohnSundell/Files.git from cache
Fetching https://github.com/apple/ml-stable-diffusion.git from cache
Fetched https://github.com/apple/ml-stable-diffusion.git from cache (0.50s)
Fetched https://github.com/JohnSundell/Files.git from cache (0.50s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 4.2.0 (0.02s)
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.02s)
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/apple/swift-argument-parser.git from cache (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.03s)
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/JohnSundell/Files.git
Working copy of https://github.com/JohnSundell/Files.git resolved at 4.2.0
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 main (211c779)
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
warning: 'coreml-stable-diffusion-swift': /Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/coreml-stable-diffusion-swift/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")
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.0
Building package at path: $PWD
https://github.com/swiftuiux/coreml-stable-diffusion-swift.git
{
"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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/5] Write sources
[4/5] Write swift-version--7754E27361AE5C74.txt
[6/31] Emitting module StableDiffusion
[7/33] Compiling StableDiffusion BPETokenizer+Reading.swift
[8/33] Compiling StableDiffusion BPETokenizer.swift
[9/33] Compiling Files Files.swift
[10/33] Emitting module Files
[11/33] Compiling StableDiffusion StableDiffusionPipeline.Configuration.swift
[12/33] Compiling StableDiffusion StableDiffusionPipeline.swift
[13/33] Compiling StableDiffusion RandomSource.swift
[14/33] Compiling StableDiffusion ResourceManaging.swift
[15/33] Compiling StableDiffusion SafetyChecker.swift
[16/33] Compiling StableDiffusion CGImage+vImage.swift
[17/33] Compiling StableDiffusion ControlNet.swift
[18/33] Compiling StableDiffusion DPMSolverMultistepScheduler.swift
[19/33] Compiling StableDiffusion Decoder.swift
[20/33] Compiling StableDiffusion Encoder.swift
[21/33] Compiling StableDiffusion ManagedMLModel.swift
[22/33] Compiling StableDiffusion TorchRandomSource.swift
[23/33] Compiling StableDiffusion Unet.swift
[24/33] Compiling StableDiffusion MultilingualTextEncoder.swift
[25/33] Compiling StableDiffusion NumPyRandomSource.swift
[26/33] Compiling StableDiffusion NvRandomSource.swift
[27/33] Compiling StableDiffusion StableDiffusionXL+Resources.swift
[28/33] Compiling StableDiffusion StableDiffusionXLPipeline.swift
[29/33] Compiling StableDiffusion TextEncoder.swift
[30/33] Compiling StableDiffusion TextEncoderXL.swift
[31/33] Compiling StableDiffusion SampleTimer.swift
[32/33] Compiling StableDiffusion Scheduler.swift
[33/33] Compiling StableDiffusion StableDiffusionPipeline+Resources.swift
[34/44] Compiling coreml_stable_diffusion_swift GenerativeModel.swift
[35/45] Compiling coreml_stable_diffusion_swift IGenerativeManager.swift
[36/45] Compiling coreml_stable_diffusion_swift Scheduler.swift
[37/45] Compiling coreml_stable_diffusion_swift GenerativeManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/coreml-stable-diffusion-swift/manager/GenerativeManager.swift:27:17: warning: non-sendable type '[GenerativeModel]' returned by actor-isolated instance method 'loadModels()' satisfying protocol requirement cannot cross actor boundary; this is an error in the Swift 6 language mode
25 | /// Load list of models
26 | /// - Returns: List of models
27 | public func loadModels() async -> [GenerativeModel] {
| `- warning: non-sendable type '[GenerativeModel]' returned by actor-isolated instance method 'loadModels()' satisfying protocol requirement cannot cross actor boundary; this is an error in the Swift 6 language mode
28 | await listOfModels()
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/coreml-stable-diffusion-swift/model/GenerativeModel.swift:13:15: note: consider making struct 'GenerativeModel' conform to the 'Sendable' protocol
11 | /// Model profile description
12 | @available(iOS 16.2, macOS 13.1, *)
13 | public struct GenerativeModel: Hashable, Identifiable{
| `- note: consider making struct 'GenerativeModel' conform to the 'Sendable' protocol
14 |
15 | /// Identifier
/Users/admin/builder/spi-builder-workspace/Sources/coreml-stable-diffusion-swift/manager/GenerativeManager.swift:37:17: warning: non-sendable type 'StableDiffusionPipeline.Configuration' (aka 'PipelineConfiguration') in parameter of the protocol requirement satisfied by actor-isolated instance method 'generate(with:by:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
35 | /// - Returns: An array of `imageCount` optional images.
36 | /// The images will be nil if safety checks were performed and found the result to be un-safe
37 | public func generate(
| `- warning: non-sendable type 'StableDiffusionPipeline.Configuration' (aka 'PipelineConfiguration') in parameter of the protocol requirement satisfied by actor-isolated instance method 'generate(with:by:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
38 | with config: StableDiffusionPipeline.Configuration,
39 | by pipeline: StableDiffusionPipeline
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ml-stable-diffusion/swift/StableDiffusion/pipeline/StableDiffusionPipeline.Configuration.swift:15:15: note: struct 'PipelineConfiguration' does not conform to the 'Sendable' protocol
13 |
14 | /// Image generation configuration
15 | public struct PipelineConfiguration: Hashable {
| `- note: struct 'PipelineConfiguration' does not conform to the 'Sendable' protocol
16 |
17 | /// Text prompt to guide sampling
/Users/admin/builder/spi-builder-workspace/Sources/coreml-stable-diffusion-swift/protocol/IGenerativeManager.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StableDiffusion'
7 |
8 | import Foundation
9 | import StableDiffusion
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StableDiffusion'
10 | import CoreML
11 |
/Users/admin/builder/spi-builder-workspace/Sources/coreml-stable-diffusion-swift/manager/GenerativeManager.swift:37:17: warning: non-sendable type 'StableDiffusionPipeline' in parameter of the protocol requirement satisfied by actor-isolated instance method 'generate(with:by:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
35 | /// - Returns: An array of `imageCount` optional images.
36 | /// The images will be nil if safety checks were performed and found the result to be un-safe
37 | public func generate(
| `- warning: non-sendable type 'StableDiffusionPipeline' in parameter of the protocol requirement satisfied by actor-isolated instance method 'generate(with:by:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
38 | with config: StableDiffusionPipeline.Configuration,
39 | by pipeline: StableDiffusionPipeline
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ml-stable-diffusion/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:60:15: note: struct 'StableDiffusionPipeline' does not conform to the 'Sendable' protocol
58 | /// [Hugging Face Diffusers Pipeline](https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion.py)
59 | @available(iOS 16.2, macOS 13.1, *)
60 | public struct StableDiffusionPipeline: StableDiffusionPipelineProtocol {
| `- note: struct 'StableDiffusionPipeline' does not conform to the 'Sendable' protocol
61 |
62 | /// Model to generate embeddings for tokenized input text
/Users/admin/builder/spi-builder-workspace/Sources/coreml-stable-diffusion-swift/manager/GenerativeManager.swift:28:16: warning: non-sendable type '[GenerativeModel]' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
26 | /// - Returns: List of models
27 | public func loadModels() async -> [GenerativeModel] {
28 | await listOfModels()
| `- warning: non-sendable type '[GenerativeModel]' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/coreml-stable-diffusion-swift/model/GenerativeModel.swift:13:15: note: consider making struct 'GenerativeModel' conform to the 'Sendable' protocol
11 | /// Model profile description
12 | @available(iOS 16.2, macOS 13.1, *)
13 | public struct GenerativeModel: Hashable, Identifiable{
| `- note: consider making struct 'GenerativeModel' conform to the 'Sendable' protocol
14 |
15 | /// Identifier
[38/45] Compiling coreml_stable_diffusion_swift HelperFile.swift
[39/45] Compiling coreml_stable_diffusion_swift NSImage+.swift
[40/45] Compiling coreml_stable_diffusion_swift Errors.swift
[41/45] Compiling coreml_stable_diffusion_swift ProgressState.swift
[42/45] Emitting module coreml_stable_diffusion_swift
/Users/admin/builder/spi-builder-workspace/Sources/coreml-stable-diffusion-swift/manager/GenerativeManager.swift:27:17: warning: non-sendable type '[GenerativeModel]' returned by actor-isolated instance method 'loadModels()' satisfying protocol requirement cannot cross actor boundary; this is an error in the Swift 6 language mode
25 | /// Load list of models
26 | /// - Returns: List of models
27 | public func loadModels() async -> [GenerativeModel] {
| `- warning: non-sendable type '[GenerativeModel]' returned by actor-isolated instance method 'loadModels()' satisfying protocol requirement cannot cross actor boundary; this is an error in the Swift 6 language mode
28 | await listOfModels()
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/coreml-stable-diffusion-swift/model/GenerativeModel.swift:13:15: note: consider making struct 'GenerativeModel' conform to the 'Sendable' protocol
11 | /// Model profile description
12 | @available(iOS 16.2, macOS 13.1, *)
13 | public struct GenerativeModel: Hashable, Identifiable{
| `- note: consider making struct 'GenerativeModel' conform to the 'Sendable' protocol
14 |
15 | /// Identifier
/Users/admin/builder/spi-builder-workspace/Sources/coreml-stable-diffusion-swift/manager/GenerativeManager.swift:37:17: warning: non-sendable type 'StableDiffusionPipeline.Configuration' (aka 'PipelineConfiguration') in parameter of the protocol requirement satisfied by actor-isolated instance method 'generate(with:by:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
35 | /// - Returns: An array of `imageCount` optional images.
36 | /// The images will be nil if safety checks were performed and found the result to be un-safe
37 | public func generate(
| `- warning: non-sendable type 'StableDiffusionPipeline.Configuration' (aka 'PipelineConfiguration') in parameter of the protocol requirement satisfied by actor-isolated instance method 'generate(with:by:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
38 | with config: StableDiffusionPipeline.Configuration,
39 | by pipeline: StableDiffusionPipeline
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ml-stable-diffusion/swift/StableDiffusion/pipeline/StableDiffusionPipeline.Configuration.swift:15:15: note: struct 'PipelineConfiguration' does not conform to the 'Sendable' protocol
13 |
14 | /// Image generation configuration
15 | public struct PipelineConfiguration: Hashable {
| `- note: struct 'PipelineConfiguration' does not conform to the 'Sendable' protocol
16 |
17 | /// Text prompt to guide sampling
/Users/admin/builder/spi-builder-workspace/Sources/coreml-stable-diffusion-swift/protocol/IGenerativeManager.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StableDiffusion'
7 |
8 | import Foundation
9 | import StableDiffusion
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StableDiffusion'
10 | import CoreML
11 |
/Users/admin/builder/spi-builder-workspace/Sources/coreml-stable-diffusion-swift/manager/GenerativeManager.swift:37:17: warning: non-sendable type 'StableDiffusionPipeline' in parameter of the protocol requirement satisfied by actor-isolated instance method 'generate(with:by:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
35 | /// - Returns: An array of `imageCount` optional images.
36 | /// The images will be nil if safety checks were performed and found the result to be un-safe
37 | public func generate(
| `- warning: non-sendable type 'StableDiffusionPipeline' in parameter of the protocol requirement satisfied by actor-isolated instance method 'generate(with:by:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
38 | with config: StableDiffusionPipeline.Configuration,
39 | by pipeline: StableDiffusionPipeline
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ml-stable-diffusion/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift:60:15: note: struct 'StableDiffusionPipeline' does not conform to the 'Sendable' protocol
58 | /// [Hugging Face Diffusers Pipeline](https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion.py)
59 | @available(iOS 16.2, macOS 13.1, *)
60 | public struct StableDiffusionPipeline: StableDiffusionPipelineProtocol {
| `- note: struct 'StableDiffusionPipeline' does not conform to the 'Sendable' protocol
61 |
62 | /// Model to generate embeddings for tokenized input text
[43/45] Compiling coreml_stable_diffusion_swift URL+.swift
[44/45] Compiling coreml_stable_diffusion_swift HelperImage.swift
[45/45] Compiling coreml_stable_diffusion_swift HelperPipeline.swift
Build complete! (36.03s)
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")
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")
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/swiftuiux/coreml-stable-diffusion-swift/main
Repository: swiftuiux/coreml-stable-diffusion-swift
Swift version used: 6.0
Target: coreml-stable-diffusion-swift
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
* branch 88815688627177b9716a01ca41da19397bd30e47 -> FETCH_HEAD
HEAD is now at 8881568 Update the artifact
Extracting symbol information for 'coreml-stable-diffusion-swift'...
Finished extracting symbol information for 'coreml-stable-diffusion-swift'. (8.98s)
Building documentation for 'coreml-stable-diffusion-swift'...
warning: Parameter 'controlNet' is missing documentation
--> Sources/coreml-stable-diffusion-swift/helper/HelperPipeline.swift:19:5-19:5
17 | /// - reduceMemory: A boolean flag to reduce memory usage. Default is `false`.
18 | /// - computeUnits: The compute units to be used by the pipeline. Default is `.cpuAndGPU`.
19 + ///
20 | /// - Throws: An error if the pipeline initialization fails.
21 | ///Finished building documentation for 'coreml-stable-diffusion-swift' (0.12s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/swiftuiux/coreml-stable-diffusion-swift/main
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/swiftlang/swift-docc-plugin
Updating https://github.com/JohnSundell/Files.git
Updated https://github.com/JohnSundell/Files.git (0.45s)
[1/2038] Fetching swift-docc-plugin
Updating https://github.com/apple/swift-argument-parser.git
Updating https://github.com/apple/ml-stable-diffusion.git
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.25s)
Updated https://github.com/apple/ml-stable-diffusion.git (0.55s)
Updated https://github.com/apple/swift-argument-parser.git (0.55s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 4.2.0 (0.55s)
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.42s)
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.43s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.54s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3188] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.27s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.55s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit GenericConstraint.swift
[8/57] Compiling SymbolKit GenericParameter.swift
[9/57] Compiling SymbolKit Generics.swift
[10/57] Compiling SymbolKit Namespace.swift
[11/57] Compiling SymbolKit Mixin+Equals.swift
[12/57] Compiling SymbolKit Mixin+Hash.swift
[13/57] Compiling SymbolKit Mixin.swift
[14/57] Compiling SymbolKit LineList.swift
[15/57] Compiling SymbolKit Position.swift
[16/57] Compiling SymbolKit SourceRange.swift
[17/57] Compiling SymbolKit Metadata.swift
[18/57] Compiling SymbolKit Module.swift
[19/57] Compiling SymbolKit OperatingSystem.swift
[20/57] Compiling SymbolKit Platform.swift
[21/57] Compiling SymbolKit Identifier.swift
[22/57] Compiling SymbolKit KindIdentifier.swift
[23/57] Compiling SymbolKit Location.swift
[24/57] Compiling SymbolKit Mutability.swift
[25/57] Compiling SymbolKit SemanticVersion.swift
[26/57] Compiling SymbolKit AccessControl.swift
[27/57] Compiling SymbolKit Availability.swift
[28/57] Compiling SymbolKit AvailabilityItem.swift
[29/57] Compiling SymbolKit Domain.swift
[30/57] Compiling SymbolKit Names.swift
[31/57] Compiling SymbolKit SPI.swift
[32/57] Compiling SymbolKit Snippet.swift
[33/57] Compiling SymbolKit Extension.swift
[34/57] Compiling SymbolKit DeclarationFragments.swift
[35/57] Compiling SymbolKit Fragment.swift
[36/57] Compiling SymbolKit FragmentKind.swift
[37/57] Compiling SymbolKit FunctionParameter.swift
[38/57] Compiling SymbolKit FunctionSignature.swift
[39/57] Compiling SymbolKit Relationship.swift
[40/57] Compiling SymbolKit RelationshipKind.swift
[41/57] Compiling SymbolKit SourceOrigin.swift
[42/57] Compiling SymbolKit GenericConstraints.swift
[43/57] Compiling SymbolKit Swift.swift
[44/57] Compiling SymbolKit Symbol.swift
[45/57] Compiling SymbolKit SymbolKind.swift
[46/57] Compiling SymbolKit SymbolGraph.swift
[47/57] Compiling SymbolKit GraphCollector.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Emitting module Snippets
[53/57] Compiling Snippets SnippetParser.swift
[54/57] Compiling Snippets Snippet.swift
[55/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[56/61] Compiling snippet_extract URL+Status.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (3.75s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/27] Emitting module StableDiffusion
[3/29] Compiling StableDiffusion StableDiffusionPipeline.Configuration.swift
[4/29] Compiling StableDiffusion StableDiffusionPipeline.swift
[5/29] Compiling StableDiffusion SampleTimer.swift
[6/29] Compiling StableDiffusion Scheduler.swift
[7/29] Compiling StableDiffusion StableDiffusionPipeline+Resources.swift
[8/29] Emitting module Files
[9/29] Compiling Files Files.swift
[10/29] Compiling StableDiffusion BPETokenizer+Reading.swift
[11/29] Compiling StableDiffusion BPETokenizer.swift
[12/29] Compiling StableDiffusion StableDiffusionXL+Resources.swift
[13/29] Compiling StableDiffusion StableDiffusionXLPipeline.swift
[14/29] Compiling StableDiffusion TextEncoder.swift
[15/29] Compiling StableDiffusion TextEncoderXL.swift
[16/29] Compiling StableDiffusion CGImage+vImage.swift
[17/29] Compiling StableDiffusion ControlNet.swift
[18/29] Compiling StableDiffusion DPMSolverMultistepScheduler.swift
[19/29] Compiling StableDiffusion RandomSource.swift
[20/29] Compiling StableDiffusion ResourceManaging.swift
[21/29] Compiling StableDiffusion SafetyChecker.swift
[22/29] Compiling StableDiffusion MultilingualTextEncoder.swift
[23/29] Compiling StableDiffusion NumPyRandomSource.swift
[24/29] Compiling StableDiffusion NvRandomSource.swift
[25/29] Compiling StableDiffusion Decoder.swift
[26/29] Compiling StableDiffusion Encoder.swift
[27/29] Compiling StableDiffusion ManagedMLModel.swift
[28/29] Compiling StableDiffusion TorchRandomSource.swift
[29/29] Compiling StableDiffusion Unet.swift
[30/40] Compiling coreml_stable_diffusion_swift HelperPipeline.swift
[31/40] Compiling coreml_stable_diffusion_swift Scheduler.swift
[32/40] Compiling coreml_stable_diffusion_swift GenerativeModel.swift
[33/40] Compiling coreml_stable_diffusion_swift HelperImage.swift
[34/40] Compiling coreml_stable_diffusion_swift URL+.swift
[35/40] Compiling coreml_stable_diffusion_swift HelperFile.swift
[36/40] Compiling coreml_stable_diffusion_swift NSImage+.swift
[37/40] Compiling coreml_stable_diffusion_swift GenerativeManager.swift
[38/40] Emitting module coreml_stable_diffusion_swift
[39/40] Compiling coreml_stable_diffusion_swift Errors.swift
[40/40] Compiling coreml_stable_diffusion_swift ProgressState.swift
[41/41] Compiling coreml_stable_diffusion_swift IGenerativeManager.swift
Build of target: 'coreml-stable-diffusion-swift' complete! (4.55s)
156
2 /Users/admin/builder/spi-builder-workspace/.docs/swiftuiux/coreml-stable-diffusion-swift/main
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/swiftuiux/coreml-stable-diffusion-swift/main
File count: 156
Doc size: 2.0MB
Preparing doc bundle ...
Uploading prod-swiftuiux-coreml-stable-diffusion-swift-main-58909552.zip to s3://spi-docs-inbox/prod-swiftuiux-coreml-stable-diffusion-swift-main-58909552.zip
Copying... [15%]
Copying... [29%]
Copying... [44%]
Copying... [59%]
Copying... [74%]
Copying... [88%]
Copying... [100%]
Done.