Build Information
Successful build of CustomOperation, reference 1.3.1 (ad390a
), with Swift 6.0 for Linux on 14 Sep 2024 04:24:05 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Cozmonate/CustomOperation.git
Reference: 1.3.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/Cozmonate/CustomOperation
* tag 1.3.1 -> FETCH_HEAD
HEAD is now at ad390aa Refactoring
Cloned https://github.com/Cozmonate/CustomOperation.git
Revision (git rev-parse @):
ad390aa08e7177243ea093677179d39d8060c31c
SUCCESS checkout https://github.com/Cozmonate/CustomOperation.git at 1.3.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/Cozmonate/CustomOperation.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/6] Compiling CustomOperation AsyncOperation.swift
/host/spi-builder-workspace/CustomOperation/AsyncOperation.swift:34:14: warning: class 'AsyncOperation' must restate inherited '@unchecked Sendable' conformance
32 | import Foundation
33 |
34 | public class AsyncOperation: CustomOperation {
| `- warning: class 'AsyncOperation' must restate inherited '@unchecked Sendable' conformance
35 |
36 | public typealias Done = () -> Void
[4/6] Compiling CustomOperation CustomOperation.swift
/host/spi-builder-workspace/CustomOperation/CustomOperation.swift:34:12: warning: class 'CustomOperation' must restate inherited '@unchecked Sendable' conformance
32 | import Foundation
33 |
34 | open class CustomOperation: Operation {
| `- warning: class 'CustomOperation' must restate inherited '@unchecked Sendable' conformance
35 |
36 | public enum State {
[5/6] Emitting module CustomOperation
/host/spi-builder-workspace/CustomOperation/AsyncOperation.swift:34:14: warning: class 'AsyncOperation' must restate inherited '@unchecked Sendable' conformance
32 | import Foundation
33 |
34 | public class AsyncOperation: CustomOperation {
| `- warning: class 'AsyncOperation' must restate inherited '@unchecked Sendable' conformance
35 |
36 | public typealias Done = () -> Void
/host/spi-builder-workspace/CustomOperation/CustomOperation.swift:34:12: warning: class 'CustomOperation' must restate inherited '@unchecked Sendable' conformance
32 | import Foundation
33 |
34 | open class CustomOperation: Operation {
| `- warning: class 'CustomOperation' must restate inherited '@unchecked Sendable' conformance
35 |
36 | public enum State {
[6/6] Compiling CustomOperation OperationQueue+AsyncOperation.swift
/host/spi-builder-workspace/CustomOperation/OperationQueue+AsyncOperation.swift:55:17: warning: capture of 'action' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 | let operation = AsyncOperation { completion in
54 | queue.async {
55 | action()
| |- warning: capture of 'action' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
56 | completion()
57 | }
/host/spi-builder-workspace/CustomOperation/OperationQueue+AsyncOperation.swift:56:17: warning: capture of 'completion' with non-sendable type 'AsyncOperation.Done' (aka '() -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | queue.async {
55 | action()
56 | completion()
| |- warning: capture of 'completion' with non-sendable type 'AsyncOperation.Done' (aka '() -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | }
58 | }
/host/spi-builder-workspace/CustomOperation/OperationQueue+AsyncOperation.swift:72:27: warning: capture of 'action' with non-sendable type 'AsyncOperation.Action' (aka '(@escaping () -> ()) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 |
71 | let operation = AsyncOperation { completion in
72 | queue.async { action(completion) }
| |- warning: capture of 'action' with non-sendable type 'AsyncOperation.Action' (aka '(@escaping () -> ()) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
73 | }
74 |
/host/spi-builder-workspace/CustomOperation/OperationQueue+AsyncOperation.swift:72:34: warning: capture of 'completion' with non-sendable type 'AsyncOperation.Done' (aka '() -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 |
71 | let operation = AsyncOperation { completion in
72 | queue.async { action(completion) }
| |- warning: capture of 'completion' with non-sendable type 'AsyncOperation.Done' (aka '() -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
73 | }
74 |
Build complete! (10.28s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "CustomOperation",
"name" : "CustomOperation",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "watchos",
"version" : "3.0"
},
{
"name" : "tvos",
"version" : "10.0"
}
],
"products" : [
{
"name" : "CustomOperation",
"targets" : [
"CustomOperation"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "CustomOperation",
"module_type" : "SwiftTarget",
"name" : "CustomOperation",
"path" : "CustomOperation",
"product_memberships" : [
"CustomOperation"
],
"sources" : [
"AsyncOperation.swift",
"CustomOperation.swift",
"OperationQueue+AsyncOperation.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.