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 Work, reference master (4a7a6f), with Swift 6.1 for Linux on 25 Apr 2025 21:20:51 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/flintprocessor/Work.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/flintprocessor/Work
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 4a7a6ff Merge branch 'develop'
Cloned https://github.com/flintprocessor/Work.git
Revision (git rev-parse @):
4a7a6ff7a87bac408cfc69382b8332f53f89e046
SUCCESS checkout https://github.com/flintprocessor/Work.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/flintprocessor/Work.git
https://github.com/flintprocessor/Work.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Work",
  "name" : "Work",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Work",
      "targets" : [
        "Work"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "work-sync",
      "targets" : [
        "work-sync"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "work-async",
      "targets" : [
        "work-async"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "work_sync",
      "module_type" : "SwiftTarget",
      "name" : "work-sync",
      "path" : "Sources/work-sync",
      "product_memberships" : [
        "work-sync"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Work"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "work_async",
      "module_type" : "SwiftTarget",
      "name" : "work-async",
      "path" : "Sources/work-async",
      "product_memberships" : [
        "work-async"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Work"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Work",
      "module_type" : "SwiftTarget",
      "name" : "Work",
      "path" : "Sources/Work",
      "product_memberships" : [
        "Work",
        "work-sync",
        "work-async"
      ],
      "sources" : [
        "String+Trimming.swift",
        "Work.swift",
        "WorkResult.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/11] Write sources
[3/11] Write swift-version-24593BA9C3E375BF.txt
[5/15] Compiling Work WorkResult.swift
[6/15] Compiling Work Work.swift
/host/spi-builder-workspace/Sources/Work/Work.swift:29:12: warning: class 'Work' must restate inherited '@unchecked Sendable' conformance
 27 |
 28 | /// Shell command.
 29 | open class Work: Operation {
    |            `- warning: class 'Work' must restate inherited '@unchecked Sendable' conformance
 30 |
 31 |     /// Termination result.
/host/spi-builder-workspace/Sources/Work/Work.swift:86:14: warning: 'launchPath' is deprecated: renamed to 'executableURL'
 84 |         super.init()
 85 |
 86 |         task.launchPath = "/bin/bash"
    |              |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
    |              `- note: use 'executableURL' instead
 87 |         task.arguments = ["-c", command]
 88 |         task.standardOutput = standardOutputPipe
/host/spi-builder-workspace/Sources/Work/Work.swift:107:14: warning: 'launch()' is deprecated: renamed to 'run'
105 |     /// Execute shell command.
106 |     open override func main() {
107 |         task.launch()
    |              |- warning: 'launch()' is deprecated: renamed to 'run'
    |              `- note: use 'run' instead
108 |         task.waitUntilExit()
109 |         if task.terminationStatus == EXIT_SUCCESS {
[7/15] Compiling Work String+Trimming.swift
/host/spi-builder-workspace/Sources/Work/String+Trimming.swift:34:5: warning: 'public' modifier is redundant for instance method declared in a public extension
32 |     ///
33 |     /// - Returns: Trimmed string.
34 |     public func trimmingNewLineCharacter() -> String {
   |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
35 |         if hasSuffix("\n") {
36 |             return String(dropLast())
[8/15] Emitting module Work
/host/spi-builder-workspace/Sources/Work/String+Trimming.swift:34:5: warning: 'public' modifier is redundant for instance method declared in a public extension
32 |     ///
33 |     /// - Returns: Trimmed string.
34 |     public func trimmingNewLineCharacter() -> String {
   |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
35 |         if hasSuffix("\n") {
36 |             return String(dropLast())
/host/spi-builder-workspace/Sources/Work/Work.swift:29:12: warning: class 'Work' must restate inherited '@unchecked Sendable' conformance
 27 |
 28 | /// Shell command.
 29 | open class Work: Operation {
    |            `- warning: class 'Work' must restate inherited '@unchecked Sendable' conformance
 30 |
 31 |     /// Termination result.
[9/16] Wrapping AST for Work for debugging
[11/20] Compiling work_sync main.swift
[12/20] Emitting module work_sync
[13/21] Compiling work_async main.swift
[14/21] Emitting module work_async
[16/22] Wrapping AST for work-sync for debugging
[17/22] Write Objects.LinkFileList
[18/22] Wrapping AST for work-async for debugging
[19/22] Write Objects.LinkFileList
[20/22] Linking work-sync
[21/22] Linking work-async
Build complete! (13.08s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Work",
  "name" : "Work",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Work",
      "targets" : [
        "Work"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "work-sync",
      "targets" : [
        "work-sync"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "work-async",
      "targets" : [
        "work-async"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "work_sync",
      "module_type" : "SwiftTarget",
      "name" : "work-sync",
      "path" : "Sources/work-sync",
      "product_memberships" : [
        "work-sync"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Work"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "work_async",
      "module_type" : "SwiftTarget",
      "name" : "work-async",
      "path" : "Sources/work-async",
      "product_memberships" : [
        "work-async"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Work"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Work",
      "module_type" : "SwiftTarget",
      "name" : "Work",
      "path" : "Sources/Work",
      "product_memberships" : [
        "Work",
        "work-sync",
        "work-async"
      ],
      "sources" : [
        "String+Trimming.swift",
        "Work.swift",
        "WorkResult.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
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.