Build Information
Successful build of Pool with Swift 6.0 for Linux.
Swift 6 data race errors: 0
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" 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.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/reswifq/pool.git
Reference: master
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/reswifq/pool
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 4f42595 Update README.md
Cloned https://github.com/reswifq/pool.git
Revision (git rev-parse @):
4f4259579e3b356e3d6464303087b2e3713d1a87
SUCCESS checkout https://github.com/reswifq/pool.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/reswifq/pool.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" 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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/4] Emitting module Pool
[4/4] Compiling Pool Pool.swift
/host/spi-builder-workspace/Sources/Pool/Pool.swift:105:13: warning: capture of 'self' with non-sendable type 'Pool<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | import Dispatch
24 |
25 | open class Pool<T> {
| `- note: generic class 'Pool' does not conform to the 'Sendable' protocol
26 |
27 | // MARK: Initialization
:
103 |
104 | self.queue.async {
105 | self.elements.append(element)
| `- warning: capture of 'self' with non-sendable type 'Pool<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
106 | self.semaphore.signal()
107 | completion?()
/host/spi-builder-workspace/Sources/Pool/Pool.swift:105:34: warning: capture of 'element' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | import Dispatch
24 |
25 | open class Pool<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
26 |
27 | // MARK: Initialization
:
103 |
104 | self.queue.async {
105 | self.elements.append(element)
| `- warning: capture of 'element' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
106 | self.semaphore.signal()
107 | completion?()
/host/spi-builder-workspace/Sources/Pool/Pool.swift:107:13: warning: capture of 'completion' with non-sendable type '(() -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
105 | self.elements.append(element)
106 | self.semaphore.signal()
107 | completion?()
| |- warning: capture of 'completion' 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'
108 | }
109 | }
Build complete! (8.22s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Pool",
"name" : "Pool",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Pool",
"targets" : [
"Pool"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PoolTests",
"module_type" : "SwiftTarget",
"name" : "PoolTests",
"path" : "Tests/PoolTests",
"sources" : [
"PoolTests.swift"
],
"target_dependencies" : [
"Pool"
],
"type" : "test"
},
{
"c99name" : "Pool",
"module_type" : "SwiftTarget",
"name" : "Pool",
"path" : "Sources/Pool",
"product_memberships" : [
"Pool"
],
"sources" : [
"Pool.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.