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 Icebox, reference master (7e1e9e), with Swift 6.0 for Linux on 1 Nov 2024 03:46:43 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" 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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jakeheis/Icebox.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/jakeheis/Icebox
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7e1e9e8 Update pathkit
Cloned https://github.com/jakeheis/Icebox.git
Revision (git rev-parse @):
7e1e9e8da2848fcefc6a182be8e811911d9dd694
SUCCESS checkout https://github.com/jakeheis/Icebox.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/jakeheis/Icebox.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" 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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/kylef/PathKit
[1/1411] Fetching pathkit
Fetched https://github.com/kylef/PathKit from cache (0.21s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (1.81s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.21s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.82s)
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/5] Emitting module PathKit
[5/5] Compiling PathKit PathKit.swift
[7/11] Compiling Icebox Loggger.swift
[8/11] Compiling Icebox RunResult.swift
[9/11] Compiling Icebox LineTester.swift
[10/11] Emitting module Icebox
[11/11] Compiling Icebox Icebox.swift
/host/spi-builder-workspace/Sources/Icebox/Icebox.swift:110:25: warning: 'launchPath' is deprecated: renamed to 'executableURL'
108 |
109 |                 let process = Process()
110 |                 process.launchPath = "/bin/cp"
    |                         |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
    |                         `- note: use 'executableURL' instead
111 |                 process.arguments = ["-r", templatePath.string, boxPath.string]
112 |                 process.launch()
/host/spi-builder-workspace/Sources/Icebox/Icebox.swift:112:25: warning: 'launch()' is deprecated: renamed to 'run'
110 |                 process.launchPath = "/bin/cp"
111 |                 process.arguments = ["-r", templatePath.string, boxPath.string]
112 |                 process.launch()
    |                         |- warning: 'launch()' is deprecated: renamed to 'run'
    |                         `- note: use 'run' instead
113 |                 process.waitUntilExit()
114 |                 guard process.terminationStatus == 0 else {
/host/spi-builder-workspace/Sources/Icebox/Icebox.swift:188:17: warning: 'launchPath' is deprecated: renamed to 'executableURL'
186 |
187 |         let process = Process()
188 |         process.launchPath = launchPath
    |                 |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
    |                 `- note: use 'executableURL' instead
189 |         process.arguments = arguments
190 |         process.currentDirectoryPath = boxPath.string
/host/spi-builder-workspace/Sources/Icebox/Icebox.swift:190:17: warning: 'currentDirectoryPath' is deprecated: renamed to 'currentDirectoryURL'
188 |         process.launchPath = launchPath
189 |         process.arguments = arguments
190 |         process.currentDirectoryPath = boxPath.string
    |                 |- warning: 'currentDirectoryPath' is deprecated: renamed to 'currentDirectoryURL'
    |                 `- note: use 'currentDirectoryURL' instead
191 |         process.standardOutput = out
192 |         process.standardError = err
/host/spi-builder-workspace/Sources/Icebox/Icebox.swift:198:17: warning: 'launch()' is deprecated: renamed to 'run'
196 |
197 |         currentProcess = process
198 |         process.launch()
    |                 |- warning: 'launch()' is deprecated: renamed to 'run'
    |                 `- note: use 'run' instead
199 |
200 |         let interruptItem: DispatchWorkItem? = timeout.flatMap { (timeout) in
/host/spi-builder-workspace/Sources/Icebox/Icebox.swift:228:17: warning: 'launchPath' is deprecated: renamed to 'executableURL'
226 |     public func execute(with arguments: String...) -> Int32 {
227 |         let process = Process()
228 |         process.launchPath = launchPath
    |                 |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
    |                 `- note: use 'executableURL' instead
229 |         process.arguments = arguments
230 |         process.currentDirectoryPath = boxPath.string
/host/spi-builder-workspace/Sources/Icebox/Icebox.swift:230:17: warning: 'currentDirectoryPath' is deprecated: renamed to 'currentDirectoryURL'
228 |         process.launchPath = launchPath
229 |         process.arguments = arguments
230 |         process.currentDirectoryPath = boxPath.string
    |                 |- warning: 'currentDirectoryPath' is deprecated: renamed to 'currentDirectoryURL'
    |                 `- note: use 'currentDirectoryURL' instead
231 |         currentProcess = process
232 |         process.launch()
/host/spi-builder-workspace/Sources/Icebox/Icebox.swift:232:17: warning: 'launch()' is deprecated: renamed to 'run'
230 |         process.currentDirectoryPath = boxPath.string
231 |         currentProcess = process
232 |         process.launch()
    |                 |- warning: 'launch()' is deprecated: renamed to 'run'
    |                 `- note: use 'run' instead
233 |         process.waitUntilExit()
234 |         return process.terminationStatus
/host/spi-builder-workspace/Sources/Icebox/Icebox.swift:240:17: warning: 'launchPath' is deprecated: renamed to 'executableURL'
238 |     public func executeExternal(executable: String, arguments: String...) -> Int32 {
239 |         let process = Process()
240 |         process.launchPath = "/usr/bin/env"
    |                 |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
    |                 `- note: use 'executableURL' instead
241 |         process.arguments = [executable] + arguments
242 |         process.currentDirectoryPath = boxPath.string
/host/spi-builder-workspace/Sources/Icebox/Icebox.swift:242:17: warning: 'currentDirectoryPath' is deprecated: renamed to 'currentDirectoryURL'
240 |         process.launchPath = "/usr/bin/env"
241 |         process.arguments = [executable] + arguments
242 |         process.currentDirectoryPath = boxPath.string
    |                 |- warning: 'currentDirectoryPath' is deprecated: renamed to 'currentDirectoryURL'
    |                 `- note: use 'currentDirectoryURL' instead
243 |         currentProcess = process
244 |         process.launch()
/host/spi-builder-workspace/Sources/Icebox/Icebox.swift:244:17: warning: 'launch()' is deprecated: renamed to 'run'
242 |         process.currentDirectoryPath = boxPath.string
243 |         currentProcess = process
244 |         process.launch()
    |                 |- warning: 'launch()' is deprecated: renamed to 'run'
    |                 `- note: use 'run' instead
245 |         process.waitUntilExit()
246 |         return process.terminationStatus
/host/spi-builder-workspace/Sources/Icebox/Icebox.swift:298:21: warning: capture of 'self' with non-sendable type 'DataCollector' in a `@Sendable` closure; this is an error in the Swift 6 language mode
285 | // MARK: - Private
286 |
287 | private class DataCollector {
    |               `- note: class 'DataCollector' does not conform to the 'Sendable' protocol
288 |
289 |     private var data = Data()
    :
296 |                 let chunk = handle.availableData
297 |                 if chunk.isEmpty {
298 |                     self.finished.signal()
    |                     `- warning: capture of 'self' with non-sendable type 'DataCollector' in a `@Sendable` closure; this is an error in the Swift 6 language mode
299 |                     return
300 |                 }
Build complete! (16.85s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit"
    }
  ],
  "manifest_display_name" : "Icebox",
  "name" : "Icebox",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Icebox",
      "targets" : [
        "Icebox"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "IceboxTests",
      "module_type" : "SwiftTarget",
      "name" : "IceboxTests",
      "path" : "Tests/IceboxTests",
      "sources" : [
        "IceboxTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Icebox"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Icebox",
      "module_type" : "SwiftTarget",
      "name" : "Icebox",
      "path" : "Sources/Icebox",
      "product_dependencies" : [
        "PathKit"
      ],
      "product_memberships" : [
        "Icebox"
      ],
      "sources" : [
        "Icebox.swift",
        "LineTester.swift",
        "Loggger.swift",
        "RunResult.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.