Build Information
Successful build of openai-async-image-swiftui, reference main (768e1a
), with Swift 6.0 (beta) for macOS (SPM) on 14 Sep 2024 19:06:52 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/igor11191708/openai-async-image-swiftui.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/igor11191708/openai-async-image-swiftui
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 768e1ad Update .spi.yml
Cloned https://github.com/igor11191708/openai-async-image-swiftui.git
Revision (git rev-parse @):
768e1ad59053b9f48097296647bc87d8238656d3
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/igor11191708/openai-async-image-swiftui.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/igor11191708/openai-async-image-swiftui.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-117DEE11B69C53C9.txt
[5/8] Compiling retry_policy_service DispatchTimeInterval.swift
[6/8] Compiling retry_policy_service Strategy.swift
[7/8] Emitting module retry_policy_service
[8/8] Compiling retry_policy_service RetryService.swift
[9/29] Emitting module async_http_client
[10/31] Compiling async_http_client Errors.swift
[11/31] Compiling async_http_client ITaskDelegate.swift
[12/31] Compiling async_http_client JsonReader.swift
[13/31] Compiling async_http_client Validate.swift
[14/31] Compiling async_http_client Direct.swift
[15/31] Compiling async_http_client Http.swift
[16/31] Compiling async_http_client UrlHelper.swift
[17/31] Compiling async_http_client Configuration.swift
[18/31] Compiling async_http_client IConfiguration.swift
[19/31] Compiling async_http_client IProxy.swift
[20/31] Compiling async_http_client IResponse.swift
[21/31] Compiling async_http_client Status.swift
[22/31] Compiling async_http_client JsonWriter.swift
[23/31] Compiling async_http_client RequestHelper.swift
[24/31] Compiling async_http_client SendHelper.swift
[25/31] Compiling async_http_client Response.swift
[26/31] Compiling async_http_client HttpMethod.swift
[27/31] Compiling async_http_client Proxy+.swift
[28/31] Compiling async_http_client Proxy.swift
[29/31] Compiling async_http_client IReader.swift
[30/31] Compiling async_http_client IWriter.swift
[31/31] Compiling async_http_client IValidate.swift
[32/43] Compiling openai_async_image_swiftui OpenAIImageEndpoint.swift
[33/43] Compiling openai_async_image_swiftui IOpenAIImageEndpoint.swift
[34/44] Compiling openai_async_image_swiftui Output.swift
[35/44] Compiling openai_async_image_swiftui Input.swift
[36/44] Compiling openai_async_image_swiftui OpenAIAsyncImageLoaderKey.swift
[37/44] Compiling openai_async_image_swiftui ImageState.swift
[38/44] Compiling openai_async_image_swiftui OpenAIImageSize.swift
[39/44] Compiling openai_async_image_swiftui ResponseFormat.swift
[40/44] Compiling openai_async_image_swiftui OpenAIAsyncImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/openai-async-image-swiftui/OpenAIAsyncImage.swift:155:17: warning: no 'async' operations occur within 'await' expression
153 | Task{
154 | if let image = await loadImage(prompt, with: size){
155 | await setImage(image)
| `- warning: no 'async' operations occur within 'await' expression
156 | }
157 | }
/Users/admin/builder/spi-builder-workspace/Sources/openai-async-image-swiftui/OpenAIAsyncImage.swift:106:33: warning: sending 'size' risks causing data races; this is an error in the Swift 6 language mode
104 | /// - Returns: OpenAI image
105 | private func loadImageDefault(_ prompt : String, with size : ImageSize) async throws -> Image{
106 | try await defaultLoader.load(prompt, with: size)
| |- warning: sending 'size' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'size' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
107 | }
108 |
/Users/admin/builder/spi-builder-workspace/Sources/openai-async-image-swiftui/OpenAIAsyncImage.swift:117:41: warning: sending 'size' risks causing data races; this is an error in the Swift 6 language mode
115 | do{
116 | if let loader = loader{
117 | return try await loader.load(prompt, with: size)
| |- warning: sending 'size' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'size' to nonisolated instance method 'load(_:with:)' risks causing data races between nonisolated and main actor-isolated uses
118 | }
119 |
/Users/admin/builder/spi-builder-workspace/Sources/openai-async-image-swiftui/OpenAIAsyncImage.swift:117:41: warning: sending 'loader' risks causing data races; this is an error in the Swift 6 language mode
115 | do{
116 | if let loader = loader{
117 | return try await loader.load(prompt, with: size)
| |- warning: sending 'loader' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'loader' to nonisolated instance method 'load(_:with:)' risks causing data races between nonisolated and main actor-isolated uses
118 | }
119 |
[41/44] Compiling openai_async_image_swiftui AsyncImageErrors.swift
/Users/admin/builder/spi-builder-workspace/Sources/openai-async-image-swiftui/OpenAIAsyncImage.swift:155:17: warning: no 'async' operations occur within 'await' expression
153 | Task{
154 | if let image = await loadImage(prompt, with: size){
155 | await setImage(image)
| `- warning: no 'async' operations occur within 'await' expression
156 | }
157 | }
/Users/admin/builder/spi-builder-workspace/Sources/openai-async-image-swiftui/OpenAIAsyncImage.swift:106:33: warning: sending 'size' risks causing data races; this is an error in the Swift 6 language mode
104 | /// - Returns: OpenAI image
105 | private func loadImageDefault(_ prompt : String, with size : ImageSize) async throws -> Image{
106 | try await defaultLoader.load(prompt, with: size)
| |- warning: sending 'size' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'size' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
107 | }
108 |
/Users/admin/builder/spi-builder-workspace/Sources/openai-async-image-swiftui/OpenAIAsyncImage.swift:117:41: warning: sending 'size' risks causing data races; this is an error in the Swift 6 language mode
115 | do{
116 | if let loader = loader{
117 | return try await loader.load(prompt, with: size)
| |- warning: sending 'size' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'size' to nonisolated instance method 'load(_:with:)' risks causing data races between nonisolated and main actor-isolated uses
118 | }
119 |
/Users/admin/builder/spi-builder-workspace/Sources/openai-async-image-swiftui/OpenAIAsyncImage.swift:117:41: warning: sending 'loader' risks causing data races; this is an error in the Swift 6 language mode
115 | do{
116 | if let loader = loader{
117 | return try await loader.load(prompt, with: size)
| |- warning: sending 'loader' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'loader' to nonisolated instance method 'load(_:with:)' risks causing data races between nonisolated and main actor-isolated uses
118 | }
119 |
[42/44] Emitting module openai_async_image_swiftui
[43/44] Compiling openai_async_image_swiftui IOpenAILoader.swift
[44/44] Compiling openai_async_image_swiftui OpenAIDefaultLoader.swift
Build complete! (22.54s)
Fetching https://github.com/The-Igor/retry-policy-service.git
Fetching https://github.com/The-Igor/async-http-client.git
[9/884] Fetching async-http-client
[532/979] Fetching async-http-client, retry-policy-service
Fetched https://github.com/The-Igor/retry-policy-service.git from cache (0.80s)
Fetched https://github.com/The-Igor/async-http-client.git from cache (0.80s)
Computing version for https://github.com/The-Igor/async-http-client.git
Computed https://github.com/The-Igor/async-http-client.git at 1.4.6 (0.66s)
Computing version for https://github.com/The-Igor/retry-policy-service.git
Computed https://github.com/The-Igor/retry-policy-service.git at 1.0.1 (0.65s)
Creating working copy for https://github.com/The-Igor/retry-policy-service.git
Working copy of https://github.com/The-Igor/retry-policy-service.git resolved at 1.0.1
Creating working copy for https://github.com/The-Igor/async-http-client.git
Working copy of https://github.com/The-Igor/async-http-client.git resolved at 1.4.6
Build complete.
{
"dependencies" : [
{
"identity" : "async-http-client",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.6",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/The-Igor/async-http-client.git"
}
],
"manifest_display_name" : "openai-async-image-swiftui",
"name" : "openai-async-image-swiftui",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "tvos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "openai-async-image-swiftui",
"targets" : [
"openai-async-image-swiftui"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "openai_async_image_swiftuiTests",
"module_type" : "SwiftTarget",
"name" : "openai-async-image-swiftuiTests",
"path" : "Tests/openai-async-image-swiftuiTests",
"sources" : [
"openai_async_image_swiftuiTests.swift"
],
"target_dependencies" : [
"openai-async-image-swiftui"
],
"type" : "test"
},
{
"c99name" : "openai_async_image_swiftui",
"module_type" : "SwiftTarget",
"name" : "openai-async-image-swiftui",
"path" : "Sources/openai-async-image-swiftui",
"product_dependencies" : [
"async-http-client"
],
"product_memberships" : [
"openai-async-image-swiftui"
],
"sources" : [
"OpenAIAsyncImage.swift",
"enum/AsyncImageErrors.swift",
"enum/ImageState.swift",
"enum/OpenAIImageSize.swift",
"enum/ResponseFormat.swift",
"environmentKey/OpenAIAsyncImageLoaderKey.swift",
"model/Input.swift",
"model/Output.swift",
"net/OpenAIImageEndpoint.swift",
"protocol/IOpenAIImageEndpoint.swift",
"protocol/IOpenAILoader.swift",
"viewModel/OpenAIDefaultLoader.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.