Build Information
Successful build of ProcessEnv with Swift 6.0 for Linux.
Swift 6 data race errors: 1
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/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/ChimeHQ/ProcessEnv.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/ChimeHQ/ProcessEnv
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 72b2ea1 Update CI
Cloned https://github.com/ChimeHQ/ProcessEnv.git
Revision (git rev-parse @):
72b2ea1a605556f3178bcefb8c9aefe461626a4c
SUCCESS checkout https://github.com/ChimeHQ/ProcessEnv.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/ChimeHQ/ProcessEnv.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/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/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/6] Compiling ProcessEnv ProcessInfo+UserEnvironment.swift
[4/6] Compiling ProcessEnv Process+Output.swift
[5/6] Emitting module ProcessEnv
/host/spi-builder-workspace/Sources/ProcessEnv/Process+Parameters.swift:11:20: warning: stored property 'currentDirectoryURL' of 'Sendable'-conforming struct 'ExecutionParameters' has non-sendable type 'URL?'; this is an error in the Swift 6 language mode
9 | public var arguments: [String]
10 | public var environment: [String : String]?
11 | public var currentDirectoryURL: URL?
| `- warning: stored property 'currentDirectoryURL' of 'Sendable'-conforming struct 'ExecutionParameters' has non-sendable type 'URL?'; this is an error in the Swift 6 language mode
12 |
13 | public init(path: String, arguments: [String] = [], environment: [String : String]? = nil, currentDirectoryURL: URL? = nil) {
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/ProcessEnv/Process+Parameters.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | #if os(macOS) || os(Linux)
[6/6] Compiling ProcessEnv Process+Parameters.swift
/host/spi-builder-workspace/Sources/ProcessEnv/Process+Parameters.swift:11:20: warning: stored property 'currentDirectoryURL' of 'Sendable'-conforming struct 'ExecutionParameters' has non-sendable type 'URL?'; this is an error in the Swift 6 language mode
9 | public var arguments: [String]
10 | public var environment: [String : String]?
11 | public var currentDirectoryURL: URL?
| `- warning: stored property 'currentDirectoryURL' of 'Sendable'-conforming struct 'ExecutionParameters' has non-sendable type 'URL?'; this is an error in the Swift 6 language mode
12 |
13 | public init(path: String, arguments: [String] = [], environment: [String : String]? = nil, currentDirectoryURL: URL? = nil) {
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/ProcessEnv/Process+Parameters.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | #if os(macOS) || os(Linux)
/host/spi-builder-workspace/Sources/ProcessEnv/Process+Parameters.swift:83:22: warning: 'currentDirectoryPath' is deprecated: renamed to 'currentDirectoryURL'
81 |
82 | if let cwdPath = newValue?.path {
83 | self.currentDirectoryPath = cwdPath
| |- warning: 'currentDirectoryPath' is deprecated: renamed to 'currentDirectoryURL'
| `- note: use 'currentDirectoryURL' instead
84 | }
85 | }
/host/spi-builder-workspace/Sources/ProcessEnv/Process+Parameters.swift:90:51: warning: 'launchPath' is deprecated: renamed to 'executableURL'
88 | var parameters: ExecutionParameters {
89 | get {
90 | return ExecutionParameters(path: self.launchPath ?? "",
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
91 | arguments: arguments ?? [],
92 | environment: self.environment,
/host/spi-builder-workspace/Sources/ProcessEnv/Process+Parameters.swift:96:18: warning: 'launchPath' is deprecated: renamed to 'executableURL'
94 | }
95 | set {
96 | self.launchPath = newValue.path
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
97 | self.arguments = newValue.arguments
98 | self.environment = newValue.environment
Build complete! (10.50s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "ProcessEnv",
"name" : "ProcessEnv",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "ProcessEnv",
"targets" : [
"ProcessEnv"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ProcessEnvTests",
"module_type" : "SwiftTarget",
"name" : "ProcessEnvTests",
"path" : "Tests/ProcessEnvTests",
"sources" : [
"ProcessEnvTests.swift"
],
"target_dependencies" : [
"ProcessEnv"
],
"type" : "test"
},
{
"c99name" : "ProcessEnv",
"module_type" : "SwiftTarget",
"name" : "ProcessEnv",
"path" : "Sources/ProcessEnv",
"product_memberships" : [
"ProcessEnv"
],
"sources" : [
"Process+Output.swift",
"Process+Parameters.swift",
"ProcessInfo+UserEnvironment.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Done.