Build Information
Failed to build TerraformKit, reference 0.3.1 (e0a3b2
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 04:27:29 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fourplusone/TerraformKit.git
Reference: 0.3.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fourplusone/TerraformKit
* tag 0.3.1 -> FETCH_HEAD
HEAD is now at e0a3b2a [FIX] Use correct output decoding key
Cloned https://github.com/fourplusone/TerraformKit.git
Revision (git rev-parse @):
e0a3b2a072730843b2f4337ee38a29183311d76c
SUCCESS checkout https://github.com/fourplusone/TerraformKit.git at 0.3.1
Fetching https://github.com/weichsel/ZIPFoundation/
[1/5562] Fetching zipfoundation
Fetched https://github.com/weichsel/ZIPFoundation/ from cache (1.22s)
Computing version for https://github.com/weichsel/ZIPFoundation/
Computed https://github.com/weichsel/ZIPFoundation/ at 0.9.11 (1.84s)
Creating working copy for https://github.com/weichsel/ZIPFoundation/
Working copy of https://github.com/weichsel/ZIPFoundation/ resolved at 0.9.11
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "terraformkit",
"name": "TerraformKit",
"url": "https://github.com/fourplusone/TerraformKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/TerraformKit",
"dependencies": [
{
"identity": "zipfoundation",
"name": "ZIPFoundation",
"url": "https://github.com/weichsel/ZIPFoundation/",
"version": "0.9.19",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ZIPFoundation",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/fourplusone/TerraformKit.git
[1/758] Fetching terraformkit
Fetched https://github.com/fourplusone/TerraformKit.git from cache (1.00s)
Fetching https://github.com/weichsel/ZIPFoundation/ from cache
Fetched https://github.com/weichsel/ZIPFoundation/ from cache (0.43s)
Computing version for https://github.com/weichsel/ZIPFoundation/
Computed https://github.com/weichsel/ZIPFoundation/ at 0.9.19 (0.92s)
Creating working copy for https://github.com/weichsel/ZIPFoundation/
Working copy of https://github.com/weichsel/ZIPFoundation/ resolved at 0.9.19
Creating working copy for https://github.com/fourplusone/TerraformKit.git
Working copy of https://github.com/fourplusone/TerraformKit.git resolved at 0.3.1 (e0a3b2a)
warning: '.resolve-product-dependencies': dependency 'terraformkit' is not used by any target
Found 1 product dependencies
- ZIPFoundation
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/fourplusone/TerraformKit.git
https://github.com/fourplusone/TerraformKit.git
{
"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" : "/Users/admin/builder/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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/12] Compiling ZIPFoundation Data+Serialization.swift
[5/12] Emitting module ZIPFoundation
[6/12] Compiling ZIPFoundation Archive+Writing.swift
[7/12] Compiling ZIPFoundation Archive+MemoryFile.swift
[8/12] Compiling ZIPFoundation Data+Compression.swift
[9/12] Compiling ZIPFoundation Archive.swift
[10/12] Compiling ZIPFoundation Archive+Reading.swift
[11/12] Compiling ZIPFoundation Entry.swift
[12/12] Compiling ZIPFoundation FileManager+ZIP.swift
[13/23] Compiling TerraformKit AnyDecodable.swift
[14/24] Compiling TerraformKit TemporaryFile.swift
[15/24] Compiling TerraformKit State.swift
[16/24] Compiling TerraformKit Values.swift
[17/24] Compiling TerraformKit EmptyCollection.swift
[18/24] Compiling TerraformKit Invoke.swift
/Users/admin/builder/spi-builder-workspace/Sources/TerraformKit/Utilities/Invoke.swift:117:13: warning: var 'managerThreadRunLoop' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
115 | }
116 |
117 | private var managerThreadRunLoop : RunLoop? = nil
| |- warning: var 'managerThreadRunLoop' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'managerThreadRunLoop' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'managerThreadRunLoop' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 | private var managerThreadRunLoopIsRunning = false
119 | private var managerThreadRunLoopIsRunningCondition = NSCondition()
/Users/admin/builder/spi-builder-workspace/Sources/TerraformKit/Utilities/Invoke.swift:118:13: warning: var 'managerThreadRunLoopIsRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
116 |
117 | private var managerThreadRunLoop : RunLoop? = nil
118 | private var managerThreadRunLoopIsRunning = false
| |- warning: var 'managerThreadRunLoopIsRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'managerThreadRunLoopIsRunning' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'managerThreadRunLoopIsRunning' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 | private var managerThreadRunLoopIsRunningCondition = NSCondition()
120 |
/Users/admin/builder/spi-builder-workspace/Sources/TerraformKit/Utilities/Invoke.swift:119:13: warning: var 'managerThreadRunLoopIsRunningCondition' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
117 | private var managerThreadRunLoop : RunLoop? = nil
118 | private var managerThreadRunLoopIsRunning = false
119 | private var managerThreadRunLoopIsRunningCondition = NSCondition()
| |- warning: var 'managerThreadRunLoopIsRunningCondition' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'managerThreadRunLoopIsRunningCondition' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'managerThreadRunLoopIsRunningCondition' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 | class WrappedProcess {
/Users/admin/builder/spi-builder-workspace/Sources/TerraformKit/Utilities/Invoke.swift:143:25: warning: static property 'setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
141 |
142 |
143 | private static var setup : () = {
| |- warning: static property 'setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'setup' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'setup' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
144 | let thread = Thread {
145 | managerThreadRunLoop = RunLoop.current
/Users/admin/builder/spi-builder-workspace/Sources/TerraformKit/Utilities/Invoke.swift:324:40: warning: capture of 'process' with non-sendable type 'WrappedProcess' in a '@Sendable' closure
119 | private var managerThreadRunLoopIsRunningCondition = NSCondition()
120 |
121 | class WrappedProcess {
| `- note: class 'WrappedProcess' does not conform to the 'Sendable' protocol
122 |
123 | let p: Process
:
322 | if let terminationHandler = process.p.terminationHandler {
323 | let thread = Thread {
324 | terminationHandler(process.p)
| `- warning: capture of 'process' with non-sendable type 'WrappedProcess' in a '@Sendable' closure
325 | }
326 | thread.start()
/Users/admin/builder/spi-builder-workspace/Sources/TerraformKit/Utilities/Invoke.swift:578:25: warning: capture of 'self' with non-sendable type 'OutputHandler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
548 | p.standardInput = FileHandle.standardInput
549 |
550 | class OutputHandler {
| `- note: class 'OutputHandler' does not conform to the 'Sendable' protocol
551 |
552 | let fileHandle: Any?
:
576 | fileHandle = outPipe as Any
577 | outPipe?.fileHandleForReading.readabilityHandler = { handle in
578 | self.buffer?.append(handle.availableData)
| `- warning: capture of 'self' with non-sendable type 'OutputHandler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
579 | }
580 | }
[19/24] Compiling TerraformKit AnyEncodable.swift
[20/24] Compiling TerraformKit Decoder.swift
/Users/admin/builder/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()
[21/24] Compiling TerraformKit Terraform.swift
/Users/admin/builder/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 {
/Users/admin/builder/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: add '@MainActor' to make static property 'defaultInvocationSettings' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | stderr: .passthroughOnFailure,
67 | stdout: .passthroughOnFailure,
/Users/admin/builder/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: add '@MainActor' to make static property 'internalInvocationSettings' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | stderr: .discard,
72 | stdout: .discard,
/Users/admin/builder/spi-builder-workspace/Sources/TerraformKit/Terraform.swift:90:13: warning: mutation of captured var 'downloadedURL' in concurrently-executing code
88 |
89 | URLSession.shared.downloadTask(with: downloadURL) { (url, response, error) in
90 | downloadedURL = url
| `- warning: mutation of captured var 'downloadedURL' in concurrently-executing code
91 | semaphore.signal()
92 | }.resume()
/Users/admin/builder/spi-builder-workspace/Sources/TerraformKit/Terraform.swift:157:16: error: Architecture / OS is not supported
155 | #endif
156 | #else
157 | #error("Architecture / OS is not supported")
| `- error: Architecture / OS is not supported
158 | #endif
159 |
/Users/admin/builder/spi-builder-workspace/Sources/TerraformKit/Terraform.swift:162:90: error: cannot find 'arch' in scope
160 |
161 |
162 | let terraformBinary = terraformBinaryURL(version: defaultTerraformVersion, arch: arch)
| `- error: cannot find 'arch' in scope
163 |
164 | let fm = FileManager.default
/Users/admin/builder/spi-builder-workspace/Sources/TerraformKit/Terraform.swift:167:54: error: cannot find 'arch' in scope
165 | if !fm.fileExists(atPath: terraformBinary.path) {
166 | do {
167 | try download(version: version, arch: arch)
| `- error: cannot find 'arch' in scope
168 | } catch _ {
169 | return nil
[22/24] Emitting module TerraformKit
/Users/admin/builder/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 {
/Users/admin/builder/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: add '@MainActor' to make static property 'defaultInvocationSettings' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | stderr: .passthroughOnFailure,
67 | stdout: .passthroughOnFailure,
/Users/admin/builder/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: add '@MainActor' to make static property 'internalInvocationSettings' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | stderr: .discard,
72 | stdout: .discard,
/Users/admin/builder/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()
/Users/admin/builder/spi-builder-workspace/Sources/TerraformKit/Utilities/Invoke.swift:117:13: warning: var 'managerThreadRunLoop' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
115 | }
116 |
117 | private var managerThreadRunLoop : RunLoop? = nil
| |- warning: var 'managerThreadRunLoop' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'managerThreadRunLoop' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'managerThreadRunLoop' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 | private var managerThreadRunLoopIsRunning = false
119 | private var managerThreadRunLoopIsRunningCondition = NSCondition()
/Users/admin/builder/spi-builder-workspace/Sources/TerraformKit/Utilities/Invoke.swift:118:13: warning: var 'managerThreadRunLoopIsRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
116 |
117 | private var managerThreadRunLoop : RunLoop? = nil
118 | private var managerThreadRunLoopIsRunning = false
| |- warning: var 'managerThreadRunLoopIsRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'managerThreadRunLoopIsRunning' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'managerThreadRunLoopIsRunning' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 | private var managerThreadRunLoopIsRunningCondition = NSCondition()
120 |
/Users/admin/builder/spi-builder-workspace/Sources/TerraformKit/Utilities/Invoke.swift:119:13: warning: var 'managerThreadRunLoopIsRunningCondition' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
117 | private var managerThreadRunLoop : RunLoop? = nil
118 | private var managerThreadRunLoopIsRunning = false
119 | private var managerThreadRunLoopIsRunningCondition = NSCondition()
| |- warning: var 'managerThreadRunLoopIsRunningCondition' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'managerThreadRunLoopIsRunningCondition' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'managerThreadRunLoopIsRunningCondition' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 | class WrappedProcess {
/Users/admin/builder/spi-builder-workspace/Sources/TerraformKit/Utilities/Invoke.swift:143:25: warning: static property 'setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
141 |
142 |
143 | private static var setup : () = {
| |- warning: static property 'setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'setup' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'setup' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
144 | let thread = Thread {
145 | managerThreadRunLoop = RunLoop.current
/Users/admin/builder/spi-builder-workspace/Sources/TerraformKit/Utilities/Invoke.swift:324:40: warning: capture of 'process' with non-sendable type 'WrappedProcess' in a '@Sendable' closure
119 | private var managerThreadRunLoopIsRunningCondition = NSCondition()
120 |
121 | class WrappedProcess {
| `- note: class 'WrappedProcess' does not conform to the 'Sendable' protocol
122 |
123 | let p: Process
:
322 | if let terminationHandler = process.p.terminationHandler {
323 | let thread = Thread {
324 | terminationHandler(process.p)
| `- warning: capture of 'process' with non-sendable type 'WrappedProcess' in a '@Sendable' closure
325 | }
326 | thread.start()
[23/24] Compiling TerraformKit Plan.swift
[24/24] Compiling TerraformKit Schema.swift
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/10] Compiling ZIPFoundation Archive+Writing.swift
[3/10] Compiling ZIPFoundation FileManager+ZIP.swift
[4/10] Compiling ZIPFoundation Data+Serialization.swift
[5/10] Compiling ZIPFoundation Data+Compression.swift
[6/10] Compiling ZIPFoundation Archive.swift
[7/10] Compiling ZIPFoundation Archive+MemoryFile.swift
[8/10] Compiling ZIPFoundation Archive+Reading.swift
[9/10] Compiling ZIPFoundation Entry.swift
[10/10] Emitting module ZIPFoundation
[11/21] Compiling TerraformKit EmptyCollection.swift
[12/22] Compiling TerraformKit TemporaryFile.swift
[13/22] Compiling TerraformKit Plan.swift
[14/22] Compiling TerraformKit Schema.swift
[15/22] Compiling TerraformKit AnyDecodable.swift
[16/22] Compiling TerraformKit Decoder.swift
/Users/admin/builder/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()
[17/22] Compiling TerraformKit AnyEncodable.swift
[18/22] Compiling TerraformKit Values.swift
[19/22] Compiling TerraformKit State.swift
[20/22] Emitting module TerraformKit
/Users/admin/builder/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 {
/Users/admin/builder/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()
[21/22] Compiling TerraformKit Invoke.swift
[22/22] Compiling TerraformKit Terraform.swift
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/TerraformKit/Terraform.swift:157:16: error: Architecture / OS is not supported
155 | #endif
156 | #else
157 | #error("Architecture / OS is not supported")
| `- error: Architecture / OS is not supported
158 | #endif
159 |
/Users/admin/builder/spi-builder-workspace/Sources/TerraformKit/Terraform.swift:162:90: error: cannot find 'arch' in scope
160 |
161 |
162 | let terraformBinary = terraformBinaryURL(version: defaultTerraformVersion, arch: arch)
| `- error: cannot find 'arch' in scope
163 |
164 | let fm = FileManager.default
/Users/admin/builder/spi-builder-workspace/Sources/TerraformKit/Terraform.swift:167:54: error: cannot find 'arch' in scope
165 | if !fm.fileExists(atPath: terraformBinary.path) {
166 | do {
167 | try download(version: version, arch: arch)
| `- error: cannot find 'arch' in scope
168 | } catch _ {
169 | return nil
BUILD FAILURE 6.1 macosSpm