Build Information
Successful build of TerraformKit, reference master (18f683
), with Swift 6.0 for Linux on 27 Nov 2024 18:24:08 UTC.
Swift 6 data race errors: 2
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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 -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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fourplusone/TerraformKit.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/fourplusone/TerraformKit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 18f6837 [FIX] wait until stdout/stderr of invoked processes are closed
Cloned https://github.com/fourplusone/TerraformKit.git
Revision (git rev-parse @):
18f68372fd28ffca8324f434e45a3a4b40c42026
SUCCESS checkout https://github.com/fourplusone/TerraformKit.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/fourplusone/TerraformKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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 -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.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/weichsel/ZIPFoundation/
[1/5466] Fetching zipfoundation
Fetched https://github.com/weichsel/ZIPFoundation/ from cache (0.42s)
Computing version for https://github.com/weichsel/ZIPFoundation/
Computed https://github.com/weichsel/ZIPFoundation/ at 0.9.19 (0.38s)
Creating working copy for https://github.com/weichsel/ZIPFoundation/
Working copy of https://github.com/weichsel/ZIPFoundation/ resolved at 0.9.19
warning: 'zipfoundation': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Resources/PrivacyInfo.xcprivacy
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/23] Emitting module ZIPFoundation
[5/23] Compiling ZIPFoundation Archive+BackingConfiguration.swift
[6/23] Compiling ZIPFoundation Archive+Deprecated.swift
[7/23] Compiling ZIPFoundation Archive+Helpers.swift
[8/25] Compiling ZIPFoundation FileManager+ZIPDeprecated.swift
[9/25] Compiling ZIPFoundation URL+ZIP.swift
[10/25] Compiling ZIPFoundation Archive+ReadingDeprecated.swift
[11/25] Compiling ZIPFoundation Archive+Writing.swift
[12/25] Compiling ZIPFoundation Archive+WritingDeprecated.swift
[13/25] Compiling ZIPFoundation Archive+ZIP64.swift
[14/25] Compiling ZIPFoundation Archive.swift
[15/25] Compiling ZIPFoundation Data+Compression.swift
[16/25] Compiling ZIPFoundation Archive+MemoryFile.swift
[17/25] Compiling ZIPFoundation Archive+Progress.swift
[18/25] Compiling ZIPFoundation Archive+Reading.swift
[19/25] Compiling ZIPFoundation Entry+Serialization.swift
[20/25] Compiling ZIPFoundation Entry+ZIP64.swift
[21/25] Compiling ZIPFoundation Entry.swift
[22/25] Compiling ZIPFoundation FileManager+ZIP.swift
[23/25] Compiling ZIPFoundation Data+CompressionDeprecated.swift
[24/25] Compiling ZIPFoundation Data+Serialization.swift
[25/25] Compiling ZIPFoundation Date+ZIP.swift
[27/37] Compiling TerraformKit EmptyCollection.swift
[28/37] Compiling TerraformKit Decoder.swift
/host/spi-builder-workspace/Sources/TerraformKit/Utilities/Decoder.swift:10:7: warning: class 'TerraformDecoder' must restate inherited '@unchecked Sendable' conformance
8 | import Foundation
9 |
10 | class TerraformDecoder : JSONDecoder {
| `- warning: class 'TerraformDecoder' must restate inherited '@unchecked Sendable' conformance
11 | override init() {
12 | super.init()
[29/37] Compiling TerraformKit AnyEncodable.swift
[30/37] Compiling TerraformKit Invoke.swift
/host/spi-builder-workspace/Sources/TerraformKit/Utilities/Invoke.swift:585:29: warning: capture of 'self' with non-sendable type 'OutputHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
549 | p.standardInput = FileHandle.standardInput
550 |
551 | class OutputHandler {
| `- note: class 'OutputHandler' does not conform to the 'Sendable' protocol
552 |
553 | let fileHandle: Any?
:
583 | let availableData = handle.availableData
584 | if availableData.count == 0 {
585 | self.sema?.signal()
| `- warning: capture of 'self' with non-sendable type 'OutputHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
586 | } else {
587 | self.buffer?.append(availableData)
[31/38] Compiling TerraformKit TemporaryFile.swift
[32/38] Compiling TerraformKit Terraform.swift
/host/spi-builder-workspace/Sources/TerraformKit/Terraform.swift:25:22: warning: using '@_implementationOnly' without enabling library evolution for 'TerraformKit' may lead to instability during execution
23 |
24 |
25 | @_implementationOnly import ZIPFoundation
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TerraformKit' may lead to instability during execution
26 |
27 | public enum ColorMode {
/host/spi-builder-workspace/Sources/TerraformKit/Terraform.swift:65:16: warning: static property 'defaultInvocationSettings' is not concurrency-safe because non-'Sendable' type 'Terraform.InvocationSettings' may have shared mutable state; this is an error in the Swift 6 language mode
57 | let terraformExecutable: URL
58 |
59 | public struct InvocationSettings {
| `- note: consider making struct 'InvocationSettings' conform to the 'Sendable' protocol
60 | let stderr: Output
61 | let stdout: Output
:
63 | }
64 |
65 | static let defaultInvocationSettings = InvocationSettings(
| |- warning: static property 'defaultInvocationSettings' is not concurrency-safe because non-'Sendable' type 'Terraform.InvocationSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultInvocationSettings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | stderr: .passthroughOnFailure,
67 | stdout: .passthroughOnFailure,
/host/spi-builder-workspace/Sources/TerraformKit/Terraform.swift:70:16: warning: static property 'internalInvocationSettings' is not concurrency-safe because non-'Sendable' type 'Terraform.InvocationSettings' may have shared mutable state; this is an error in the Swift 6 language mode
57 | let terraformExecutable: URL
58 |
59 | public struct InvocationSettings {
| `- note: consider making struct 'InvocationSettings' conform to the 'Sendable' protocol
60 | let stderr: Output
61 | let stdout: Output
:
68 | colorMode: .none)
69 |
70 | static let internalInvocationSettings = InvocationSettings(
| |- warning: static property 'internalInvocationSettings' is not concurrency-safe because non-'Sendable' type 'Terraform.InvocationSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'internalInvocationSettings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | stderr: .discard,
72 | stdout: .discard,
/host/spi-builder-workspace/Sources/TerraformKit/Terraform.swift:90:13: warning: mutation of captured var 'downloadedURL' in concurrently-executing code; this is an error in the Swift 6 language mode
88 |
89 | URLSession.shared.downloadTask(with: downloadURL) { (url, response, error) in
90 | downloadedURL = url
| `- warning: mutation of captured var 'downloadedURL' in concurrently-executing code; this is an error in the Swift 6 language mode
91 | semaphore.signal()
92 | }.resume()
[33/38] Compiling TerraformKit AnyDecodable.swift
/host/spi-builder-workspace/Sources/TerraformKit/Terraform.swift:25:22: warning: using '@_implementationOnly' without enabling library evolution for 'TerraformKit' may lead to instability during execution
23 |
24 |
25 | @_implementationOnly import ZIPFoundation
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TerraformKit' may lead to instability during execution
26 |
27 | public enum ColorMode {
/host/spi-builder-workspace/Sources/TerraformKit/Terraform.swift:65:16: warning: static property 'defaultInvocationSettings' is not concurrency-safe because non-'Sendable' type 'Terraform.InvocationSettings' may have shared mutable state; this is an error in the Swift 6 language mode
57 | let terraformExecutable: URL
58 |
59 | public struct InvocationSettings {
| `- note: consider making struct 'InvocationSettings' conform to the 'Sendable' protocol
60 | let stderr: Output
61 | let stdout: Output
:
63 | }
64 |
65 | static let defaultInvocationSettings = InvocationSettings(
| |- warning: static property 'defaultInvocationSettings' is not concurrency-safe because non-'Sendable' type 'Terraform.InvocationSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultInvocationSettings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | stderr: .passthroughOnFailure,
67 | stdout: .passthroughOnFailure,
/host/spi-builder-workspace/Sources/TerraformKit/Terraform.swift:70:16: warning: static property 'internalInvocationSettings' is not concurrency-safe because non-'Sendable' type 'Terraform.InvocationSettings' may have shared mutable state; this is an error in the Swift 6 language mode
57 | let terraformExecutable: URL
58 |
59 | public struct InvocationSettings {
| `- note: consider making struct 'InvocationSettings' conform to the 'Sendable' protocol
60 | let stderr: Output
61 | let stdout: Output
:
68 | colorMode: .none)
69 |
70 | static let internalInvocationSettings = InvocationSettings(
| |- warning: static property 'internalInvocationSettings' is not concurrency-safe because non-'Sendable' type 'Terraform.InvocationSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'internalInvocationSettings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | stderr: .discard,
72 | stdout: .discard,
/host/spi-builder-workspace/Sources/TerraformKit/Terraform.swift:90:13: warning: mutation of captured var 'downloadedURL' in concurrently-executing code; this is an error in the Swift 6 language mode
88 |
89 | URLSession.shared.downloadTask(with: downloadURL) { (url, response, error) in
90 | downloadedURL = url
| `- warning: mutation of captured var 'downloadedURL' in concurrently-executing code; this is an error in the Swift 6 language mode
91 | semaphore.signal()
92 | }.resume()
[34/38] Compiling TerraformKit Plan.swift
[35/38] Compiling TerraformKit Schema.swift
[36/38] Compiling TerraformKit State.swift
[37/38] Compiling TerraformKit Values.swift
[38/38] Emitting module TerraformKit
/host/spi-builder-workspace/Sources/TerraformKit/Terraform.swift:25:22: warning: using '@_implementationOnly' without enabling library evolution for 'TerraformKit' may lead to instability during execution
23 |
24 |
25 | @_implementationOnly import ZIPFoundation
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TerraformKit' may lead to instability during execution
26 |
27 | public enum ColorMode {
/host/spi-builder-workspace/Sources/TerraformKit/Terraform.swift:65:16: warning: static property 'defaultInvocationSettings' is not concurrency-safe because non-'Sendable' type 'Terraform.InvocationSettings' may have shared mutable state; this is an error in the Swift 6 language mode
57 | let terraformExecutable: URL
58 |
59 | public struct InvocationSettings {
| `- note: consider making struct 'InvocationSettings' conform to the 'Sendable' protocol
60 | let stderr: Output
61 | let stdout: Output
:
63 | }
64 |
65 | static let defaultInvocationSettings = InvocationSettings(
| |- warning: static property 'defaultInvocationSettings' is not concurrency-safe because non-'Sendable' type 'Terraform.InvocationSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultInvocationSettings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | stderr: .passthroughOnFailure,
67 | stdout: .passthroughOnFailure,
/host/spi-builder-workspace/Sources/TerraformKit/Terraform.swift:70:16: warning: static property 'internalInvocationSettings' is not concurrency-safe because non-'Sendable' type 'Terraform.InvocationSettings' may have shared mutable state; this is an error in the Swift 6 language mode
57 | let terraformExecutable: URL
58 |
59 | public struct InvocationSettings {
| `- note: consider making struct 'InvocationSettings' conform to the 'Sendable' protocol
60 | let stderr: Output
61 | let stdout: Output
:
68 | colorMode: .none)
69 |
70 | static let internalInvocationSettings = InvocationSettings(
| |- warning: static property 'internalInvocationSettings' is not concurrency-safe because non-'Sendable' type 'Terraform.InvocationSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'internalInvocationSettings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | stderr: .discard,
72 | stdout: .discard,
/host/spi-builder-workspace/Sources/TerraformKit/Utilities/Decoder.swift:10:7: warning: class 'TerraformDecoder' must restate inherited '@unchecked Sendable' conformance
8 | import Foundation
9 |
10 | class TerraformDecoder : JSONDecoder {
| `- warning: class 'TerraformDecoder' must restate inherited '@unchecked Sendable' conformance
11 | override init() {
12 | super.init()
Build complete! (15.05s)
Build complete.
{
"dependencies" : [
{
"identity" : "zipfoundation",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/weichsel/ZIPFoundation/"
}
],
"manifest_display_name" : "TerraformKit",
"name" : "TerraformKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "TerraformKit",
"targets" : [
"TerraformKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "TerraformKitTests",
"module_type" : "SwiftTarget",
"name" : "TerraformKitTests",
"path" : "Tests/TerraformKitTests",
"sources" : [
"DeserializationTests.swift",
"TerraformKitTests.swift",
"Test Data/data.swift"
],
"target_dependencies" : [
"TerraformKit"
],
"type" : "test"
},
{
"c99name" : "TerraformKit",
"module_type" : "SwiftTarget",
"name" : "TerraformKit",
"path" : "Sources/TerraformKit",
"product_dependencies" : [
"ZIPFoundation"
],
"product_memberships" : [
"TerraformKit"
],
"sources" : [
"Models/Plan.swift",
"Models/Schema.swift",
"Models/State.swift",
"Models/Values.swift",
"Terraform.swift",
"Utilities/AnyDecodable.swift",
"Utilities/AnyEncodable.swift",
"Utilities/Decoder.swift",
"Utilities/EmptyCollection.swift",
"Utilities/Invoke.swift",
"Utilities/TemporaryFile.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
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.