Build Information
Successful build of Icebox 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/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: $workDir
https://github.com/jakeheis/Icebox.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
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kylef/PathKit
[1/1411] Fetching pathkit
[1412/2432] Fetching pathkit, spectre
Fetched https://github.com/kylef/PathKit from cache (0.21s)
Computing version for https://github.com/kylef/PathKit
Fetched https://github.com/kylef/Spectre.git from cache (0.22s)
Computed https://github.com/kylef/PathKit at 1.0.0 (1.06s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (0.43s)
Creating working copy for https://github.com/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.0
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.0
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] 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:296:29: warning: capture of 'handle' with non-sendable type 'FileHandle' in a `@Sendable` closure; this is an error in the Swift 6 language mode
294 | queue.async {
295 | while true {
296 | let chunk = handle.availableData
| `- warning: capture of 'handle' with non-sendable type 'FileHandle' in a `@Sendable` closure; this is an error in the Swift 6 language mode
297 | if chunk.isEmpty {
298 | self.finished.signal()
Foundation.FileHandle:1:12: note: class 'FileHandle' does not conform to the 'Sendable' protocol
1 | open class FileHandle : NSObject {
| `- note: class 'FileHandle' does not conform to the 'Sendable' protocol
2 | open var fileDescriptor: Int32 { get }
3 | open var readabilityHandler: ((FileHandle) -> Void)? { get set }
/host/spi-builder-workspace/Sources/Icebox/Icebox.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
7 |
8 | import Dispatch
9 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
10 | import PathKit
11 | import XCTest
/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 | }
[11/11] Emitting module Icebox
Build complete! (12.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"
}
Done.