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 TerraformKit with Swift 6.0 for Linux.

Swift 6 data race errors: 2

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/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:  $workDir
https://github.com/fourplusone/TerraformKit.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
Fetching https://github.com/weichsel/ZIPFoundation/
[1/5122] Fetching zipfoundation
Fetched https://github.com/weichsel/ZIPFoundation/ from cache (0.52s)
Computing version for https://github.com/weichsel/ZIPFoundation/
Computed https://github.com/weichsel/ZIPFoundation/ at 0.9.11 (0.56s)
Creating working copy for https://github.com/weichsel/ZIPFoundation/
Working copy of https://github.com/weichsel/ZIPFoundation/ resolved at 0.9.11
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/11] Compiling ZIPFoundation Archive+Writing.swift
[5/12] Compiling ZIPFoundation Entry.swift
[6/12] Compiling ZIPFoundation Data+Compression.swift
[7/12] Compiling ZIPFoundation Data+Serialization.swift
[8/12] Compiling ZIPFoundation Archive.swift
[9/12] Compiling ZIPFoundation Archive+MemoryFile.swift
[10/12] Emitting module ZIPFoundation
[11/12] Compiling ZIPFoundation Archive+Reading.swift
[12/12] Compiling ZIPFoundation FileManager+ZIP.swift
[14/24] Compiling TerraformKit EmptyCollection.swift
[15/25] Compiling TerraformKit AnyEncodable.swift
[16/25] Compiling TerraformKit Decoder.swift
[17/25] Compiling TerraformKit Invoke.swift
[18/25] Compiling TerraformKit TemporaryFile.swift
[19/25] Compiling TerraformKit State.swift
[20/25] Compiling TerraformKit Values.swift
[21/25] 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,
[22/25] 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,
[23/25] 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,
[24/25] Compiling TerraformKit Plan.swift
[25/25] Compiling TerraformKit Schema.swift
Build complete! (20.61s)
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"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.