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 Work 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.40.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.0
Building package at path:  $workDir
https://github.com/flintprocessor/Work.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/11] Write sources
[3/11] Write swift-version-24593BA9C3E375BF.txt
[5/15] Compiling Work WorkResult.swift
[6/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())
[7/15] Compiling Work Work.swift
/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 {
[8/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())
[9/16] Wrapping AST for Work for debugging
[11/20] Compiling work_sync main.swift
[12/20] Emitting module work_sync
[13/20] Emitting module work_async
[14/20] Compiling work_async main.swift
[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! (8.71s)
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"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.