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 powerups, reference main (aef845), with Swift 6.1 for Linux on 27 Apr 2025 05:40:05 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/icanzilb/powerups.git
Reference: main
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/icanzilb/powerups
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at aef8454 adds example to readme
Cloned https://github.com/icanzilb/powerups.git
Revision (git rev-parse @):
aef84544bd348625bb109d80e5e476f072d047cc
SUCCESS checkout https://github.com/icanzilb/powerups.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/icanzilb/powerups.git
https://github.com/icanzilb/powerups.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "powerups",
  "name" : "powerups",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "powerups",
      "targets" : [
        "powerups"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "powerupsTests",
      "module_type" : "SwiftTarget",
      "name" : "powerupsTests",
      "path" : "Tests/powerupsTests",
      "sources" : [
        "PowerUpsTests.swift",
        "TempFile.swift"
      ],
      "target_dependencies" : [
        "powerups"
      ],
      "type" : "test"
    },
    {
      "c99name" : "powerups",
      "module_type" : "SwiftTarget",
      "name" : "powerups",
      "path" : "Sources/powerups",
      "product_memberships" : [
        "powerups"
      ],
      "sources" : [
        "Util.swift",
        "main.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/5] Write sources
[1/5] Write swift-version-24593BA9C3E375BF.txt
[3/8] Compiling powerups Util.swift
/host/spi-builder-workspace/Sources/powerups/Util.swift:25:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
23 | import Foundation
24 |
25 | extension String: Error { }
   | |- warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
26 |
27 | extension String {
[4/8] Emitting module powerups
/host/spi-builder-workspace/Sources/powerups/Util.swift:25:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
23 | import Foundation
24 |
25 | extension String: Error { }
   | |- warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
26 |
27 | extension String {
[5/8] Compiling powerups main.swift
/host/spi-builder-workspace/Sources/powerups/main.swift:42:8: warning: 'launch()' is deprecated: renamed to 'run'
 40 | 		task.arguments = arguments
 41 | 		task.environment = ProcessInfo.processInfo.environment.merging(environment, uniquingKeysWith: +)
 42 | 		task.launch()
    |        |- warning: 'launch()' is deprecated: renamed to 'run'
    |        `- note: use 'run' instead
 43 | 		task.waitUntilExit()
 44 |
[6/9] Wrapping AST for powerups for debugging
[7/9] Write Objects.LinkFileList
[8/9] Linking powerups
Build complete! (6.90s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "powerups",
  "name" : "powerups",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "powerups",
      "targets" : [
        "powerups"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "powerupsTests",
      "module_type" : "SwiftTarget",
      "name" : "powerupsTests",
      "path" : "Tests/powerupsTests",
      "sources" : [
        "PowerUpsTests.swift",
        "TempFile.swift"
      ],
      "target_dependencies" : [
        "powerups"
      ],
      "type" : "test"
    },
    {
      "c99name" : "powerups",
      "module_type" : "SwiftTarget",
      "name" : "powerups",
      "path" : "Sources/powerups",
      "product_memberships" : [
        "powerups"
      ],
      "sources" : [
        "Util.swift",
        "main.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.5"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.