This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

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-0":/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.43.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/reswifq/pool.git
Reference: 1.3.0
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
 * tag               1.3.0      -> FETCH_HEAD
HEAD is now at 3b3ad5f allow for throwing factory (https://github.com/reswifq/redis-client-vapor/issues/3)
Cloned https://github.com/reswifq/pool.git
Revision (git rev-parse @):
3b3ad5f98542ed42abe4bbea035591357519e5c5
SUCCESS checkout https://github.com/reswifq/pool.git at 1.3.0
========================================
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-0":/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! (7.90s)
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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.