Build Information
Failed to build Harmonize, reference 2.0.0-beta.3 (7b5d54), with Swift 6.1 for Android on 20 Nov 2026 11:29:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[390/404] Compiling SwiftParser ExperimentalFeatures.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[391/404] Compiling SwiftParser IsLexerClassified.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[392/404] Compiling SwiftParser LayoutNodes+Parsable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[393/404] Compiling SwiftParser Parser+TokenSpecSet.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[394/404] Compiling SwiftParser TokenSpecStaticMembers.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[401/411] Wrapping AST for SwiftParser for debugging
[403/426] Compiling SwiftOperators PrecedenceGroup.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[404/427] Compiling SwiftOperators OperatorTable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[405/427] Compiling SwiftOperators PrecedenceGraph.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[406/427] Compiling SwiftOperators SyntaxSynthesis.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[407/427] Emitting module HarmonizeSkillsCore
[408/427] Compiling HarmonizeSkillsCore HarmonizeSkillsError.swift
[409/427] Compiling SwiftOperators OperatorError.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[410/427] Compiling SwiftOperators OperatorTable+Defaults.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[411/427] Compiling SwiftOperators Operator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[412/427] Compiling SwiftOperators OperatorError+Diagnostics.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[413/427] Compiling SwiftOperators OperatorTable+Folding.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[414/427] Emitting module SwiftOperators
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[415/427] Compiling SwiftOperators OperatorTable+Semantics.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[417/488] Compiling HarmonizeSkillsCore ProjectConfig.swift
[418/488] Compiling HarmonizeSkillsCore SkillsEmitter.swift
[419/488] Compiling HarmonizeSkillsCore StaticCatalog.swift
[421/489] Compiling HarmonizeSemantics ReturnClause.swift
[422/489] Compiling HarmonizeSemantics Statement.swift
[423/489] Compiling HarmonizeSemantics Switch.swift
[424/489] Compiling HarmonizeSemantics SyntaxFolding.swift
[425/489] Compiling HarmonizeSemantics TypeAnnotation.swift
[426/489] Compiling HarmonizeSemantics AttributeListSyntax+AttributesProviding.swift
[427/489] Compiling HarmonizeSemantics CodeBlockItemListSyntax+ToString.swift
[428/489] Compiling HarmonizeSemantics DeclModifierListSyntax+ModifiersProviding.swift
[429/489] Emitting module HarmonizeSemantics
/host/spi-builder-workspace/Sources/HarmonizeSemantics/Collector/Cache/DeclarationsCache.swift:26:25: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DeclarationsCache' may have shared mutable state; this is an error in the Swift 6 language mode
21 | import Foundation
22 |
23 | internal class DeclarationsCache {
| `- note: class 'DeclarationsCache' does not conform to the 'Sendable' protocol
24 | private let lock = NSLock()
25 |
26 | internal static let shared = DeclarationsCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DeclarationsCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | private var nodesAndDeclarations: [Syntax: [Declaration]] = [:]
[429/497] Wrapping AST for HarmonizeSkillsCore for debugging
[431/499] Compiling HarmonizeSemantics Condition.swift
[432/499] Compiling HarmonizeSemantics Else.swift
[433/499] Compiling HarmonizeSemantics FunctionCall.swift
[434/499] Compiling HarmonizeSemantics GetterBlock.swift
[435/499] Compiling HarmonizeSemantics Guard.swift
[436/499] Compiling HarmonizeSemantics If.swift
[437/499] Compiling HarmonizeSemantics InfixExpression.swift
[438/499] Compiling HarmonizeSemantics InitializerClause.swift
[439/499] Compiling HarmonizeSemantics InheritanceProviding.swift
[440/499] Compiling HarmonizeSemantics InitializerClauseProviding.swift
[441/499] Compiling HarmonizeSemantics ModifiersProviding.swift
[442/499] Compiling HarmonizeSemantics ReturnProviding.swift
[443/499] Compiling HarmonizeSemantics TypeProviding.swift
[444/499] Compiling HarmonizeSemantics NamedDeclaration.swift
[445/499] Compiling HarmonizeSemantics SourceCodeLocation.swift
[446/499] Compiling HarmonizeSemantics SyntaxNodeProviding.swift
[447/499] Emitting module HarmonizeSkills
[448/499] Compiling HarmonizeSkills main.swift
[449/499] Compiling HarmonizeSemantics DeclarationsCache.swift
/host/spi-builder-workspace/Sources/HarmonizeSemantics/Collector/Cache/DeclarationsCache.swift:26:25: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DeclarationsCache' may have shared mutable state; this is an error in the Swift 6 language mode
21 | import Foundation
22 |
23 | internal class DeclarationsCache {
| `- note: class 'DeclarationsCache' does not conform to the 'Sendable' protocol
24 | private let lock = NSLock()
25 |
26 | internal static let shared = DeclarationsCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DeclarationsCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | private var nodesAndDeclarations: [Syntax: [Declaration]] = [:]
[450/499] Compiling HarmonizeSemantics DeclarationsCollector.swift
/host/spi-builder-workspace/Sources/HarmonizeSemantics/Collector/Cache/DeclarationsCache.swift:26:25: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DeclarationsCache' may have shared mutable state; this is an error in the Swift 6 language mode
21 | import Foundation
22 |
23 | internal class DeclarationsCache {
| `- note: class 'DeclarationsCache' does not conform to the 'Sendable' protocol
24 | private let lock = NSLock()
25 |
26 | internal static let shared = DeclarationsCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DeclarationsCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | private var nodesAndDeclarations: [Syntax: [Declaration]] = [:]
[451/499] Compiling HarmonizeSemantics Declaration.swift
/host/spi-builder-workspace/Sources/HarmonizeSemantics/Collector/Cache/DeclarationsCache.swift:26:25: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DeclarationsCache' may have shared mutable state; this is an error in the Swift 6 language mode
21 | import Foundation
22 |
23 | internal class DeclarationsCache {
| `- note: class 'DeclarationsCache' does not conform to the 'Sendable' protocol
24 | private let lock = NSLock()
25 |
26 | internal static let shared = DeclarationsCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DeclarationsCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | private var nodesAndDeclarations: [Syntax: [Declaration]] = [:]
[452/499] Compiling HarmonizeSemantics ActorDeclaration.swift
/host/spi-builder-workspace/Sources/HarmonizeSemantics/Collector/Cache/DeclarationsCache.swift:26:25: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DeclarationsCache' may have shared mutable state; this is an error in the Swift 6 language mode
21 | import Foundation
22 |
23 | internal class DeclarationsCache {
| `- note: class 'DeclarationsCache' does not conform to the 'Sendable' protocol
24 | private let lock = NSLock()
25 |
26 | internal static let shared = DeclarationsCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DeclarationsCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | private var nodesAndDeclarations: [Syntax: [Declaration]] = [:]
[453/499] Compiling HarmonizeSemantics Class.swift
/host/spi-builder-workspace/Sources/HarmonizeSemantics/Collector/Cache/DeclarationsCache.swift:26:25: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DeclarationsCache' may have shared mutable state; this is an error in the Swift 6 language mode
21 | import Foundation
22 |
23 | internal class DeclarationsCache {
| `- note: class 'DeclarationsCache' does not conform to the 'Sendable' protocol
24 | private let lock = NSLock()
25 |
26 | internal static let shared = DeclarationsCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DeclarationsCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | private var nodesAndDeclarations: [Syntax: [Declaration]] = [:]
[454/499] Compiling HarmonizeSemantics Enum.swift
/host/spi-builder-workspace/Sources/HarmonizeSemantics/Collector/Cache/DeclarationsCache.swift:26:25: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DeclarationsCache' may have shared mutable state; this is an error in the Swift 6 language mode
21 | import Foundation
22 |
23 | internal class DeclarationsCache {
| `- note: class 'DeclarationsCache' does not conform to the 'Sendable' protocol
24 | private let lock = NSLock()
25 |
26 | internal static let shared = DeclarationsCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DeclarationsCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | private var nodesAndDeclarations: [Syntax: [Declaration]] = [:]
[455/499] Compiling HarmonizeSemantics EnumCase.swift
/host/spi-builder-workspace/Sources/HarmonizeSemantics/Collector/Cache/DeclarationsCache.swift:26:25: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DeclarationsCache' may have shared mutable state; this is an error in the Swift 6 language mode
21 | import Foundation
22 |
23 | internal class DeclarationsCache {
| `- note: class 'DeclarationsCache' does not conform to the 'Sendable' protocol
24 | private let lock = NSLock()
25 |
26 | internal static let shared = DeclarationsCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DeclarationsCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | private var nodesAndDeclarations: [Syntax: [Declaration]] = [:]
[456/499] Compiling HarmonizeSemantics Extension.swift
/host/spi-builder-workspace/Sources/HarmonizeSemantics/Collector/Cache/DeclarationsCache.swift:26:25: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DeclarationsCache' may have shared mutable state; this is an error in the Swift 6 language mode
21 | import Foundation
22 |
23 | internal class DeclarationsCache {
| `- note: class 'DeclarationsCache' does not conform to the 'Sendable' protocol
24 | private let lock = NSLock()
25 |
26 | internal static let shared = DeclarationsCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DeclarationsCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | private var nodesAndDeclarations: [Syntax: [Declaration]] = [:]
[457/499] Compiling HarmonizeSemantics Array+AsType.swift
/host/spi-builder-workspace/Sources/HarmonizeSemantics/Collector/Cache/DeclarationsCache.swift:26:25: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DeclarationsCache' may have shared mutable state; this is an error in the Swift 6 language mode
21 | import Foundation
22 |
23 | internal class DeclarationsCache {
| `- note: class 'DeclarationsCache' does not conform to the 'Sendable' protocol
24 | private let lock = NSLock()
25 |
26 | internal static let shared = DeclarationsCache()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DeclarationsCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | private var nodesAndDeclarations: [Syntax: [Declaration]] = [:]
[459/500] Compiling HarmonizeSemantics InheritanceClauseSyntax+ToString.swift
[460/500] Compiling HarmonizeSemantics InitializerClauseSyntax+InitializerClauseProviding.swift
[461/500] Compiling HarmonizeSemantics Modifier.swift
[462/500] Compiling HarmonizeSemantics AccessorBlocksProviding.swift
[463/500] Compiling HarmonizeSemantics AttributesProviding.swift
[464/500] Compiling HarmonizeSemantics BodyProviding.swift
[465/500] Compiling HarmonizeSemantics ConditionsProviding.swift
[466/500] Compiling HarmonizeSemantics FunctionCallsProviding.swift
[467/500] Compiling HarmonizeSemantics SyntaxProtocol+ResolveParent.swift
[468/500] Compiling HarmonizeSemantics Function.swift
[469/500] Compiling HarmonizeSemantics Import.swift
[470/500] Compiling HarmonizeSemantics Initializer.swift
[471/500] Compiling HarmonizeSemantics Parameter.swift
[472/500] Compiling HarmonizeSemantics ProtocolDeclaration.swift
[473/500] Compiling HarmonizeSemantics ActorsProviding.swift
[474/500] Compiling HarmonizeSemantics ClassesProviding.swift
[475/500] Compiling HarmonizeSemantics ClosuresProviding.swift
[476/500] Compiling HarmonizeSemantics VariablesProviding.swift
[477/500] Compiling HarmonizeSemantics Struct.swift
[478/500] Compiling HarmonizeSemantics Variable.swift
[479/500] Compiling HarmonizeSemantics DeclarationDecoration.swift
[480/500] Compiling HarmonizeSemantics AccessorBlock.swift
[481/500] Compiling HarmonizeSemantics Attribute.swift
[482/500] Compiling HarmonizeSemantics Body.swift
[483/500] Compiling HarmonizeSemantics Closure.swift
[484/500] Compiling HarmonizeSemantics DeclarationsProviding.swift
[485/500] Compiling HarmonizeSemantics EnumsProviding.swift
[486/500] Compiling HarmonizeSemantics FunctionsProviding.swift
[487/500] Compiling HarmonizeSemantics InitializersProviding.swift
[488/500] Compiling HarmonizeSemantics ParametersProviding.swift
[489/500] Compiling HarmonizeSemantics ParentDeclarationProviding.swift
[490/500] Compiling HarmonizeSemantics ProtocolsProviding.swift
[491/500] Compiling HarmonizeSemantics SourceCodeProviding.swift
[492/500] Compiling HarmonizeSemantics StructsProviding.swift
[492/501] Wrapping AST for HarmonizeSkills for debugging
[493/501] Write Objects.LinkFileList
[496/546] Compiling HarmonizeSkillsCore SkillsEmitter.swift
[497/546] Compiling HarmonizeSkillsCore ProjectConfig.swift
[498/546] Compiling HarmonizeSkillsCore HarmonizeSkillsError.swift
[499/546] Compiling HarmonizeSkillsCore StaticCatalog.swift
[500/546] Emitting module HarmonizeSkillsCore
[501/547] Emitting module Harmonize
/host/spi-builder-workspace/Sources/Harmonize/Core/ScopeBuilder/HarmonizeScopeBuilder.swift:49:24: warning: static property 'sharedFilesCache' is not concurrency-safe because non-'Sendable' type 'ConcurrentDictionary<String, [SwiftSourceCode]>' may have shared mutable state; this is an error in the Swift 6 language mode
47 | /// Shared cache across all HarmonizeScopeBuilder instances.
48 | /// This allows different builders to share already-loaded files, avoiding redundant file discovery and parsing.
49 | private static let sharedFilesCache: ConcurrentDictionary<String, [SwiftSourceCode]> = ConcurrentDictionary()
| `- warning: static property 'sharedFilesCache' is not concurrency-safe because non-'Sendable' type 'ConcurrentDictionary<String, [SwiftSourceCode]>' may have shared mutable state; this is an error in the Swift 6 language mode
50 |
51 | private var files: [SwiftSourceCode] {
/host/spi-builder-workspace/Sources/HarmonizeUtils/Concurrency/ConcurrentDictionary.swift:27:21: note: generic class 'ConcurrentDictionary' does not conform to the 'Sendable' protocol
25 | /// integrity is maintained during concurrent access.
26 | ///
27 | package final class ConcurrentDictionary<Key: Hashable, Value> {
| `- note: generic class 'ConcurrentDictionary' does not conform to the 'Sendable' protocol
28 | private var elements: [Key: Value] = [:]
29 | private let queue = DispatchQueue(label: "harmonize.concurrentdic.queue", attributes: .concurrent)
/host/spi-builder-workspace/Sources/Harmonize/Core/ScopeBuilder/HarmonizeScopeBuilder.swift:22:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HarmonizeUtils'
20 | import Foundation
21 | import HarmonizeSemantics
22 | import HarmonizeUtils
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HarmonizeUtils'
23 |
24 | /// The default Harmonize scope builder implementation.
:
47 | /// Shared cache across all HarmonizeScopeBuilder instances.
48 | /// This allows different builders to share already-loaded files, avoiding redundant file discovery and parsing.
49 | private static let sharedFilesCache: ConcurrentDictionary<String, [SwiftSourceCode]> = ConcurrentDictionary()
| |- note: add '@MainActor' to make static property 'sharedFilesCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | private var files: [SwiftSourceCode] {
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/Cache/SyntaxSourceCache.swift:66:14: warning: let 'syntaxTreeCache' is not concurrency-safe because non-'Sendable' type 'SyntaxSourceCache<SourceFileSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
32 | * that represent the same file.
33 | */
34 | internal class SyntaxSourceCache<Syntax> {
| `- note: generic class 'SyntaxSourceCache' does not conform to the 'Sendable' protocol
35 | private var elements: ConcurrentDictionary<String, Syntax> = ConcurrentDictionary()
36 | private let factory: (SwiftSourceCode) -> Syntax
:
64 | }
65 |
66 | internal let syntaxTreeCache = SyntaxSourceCache {
| |- warning: let 'syntaxTreeCache' is not concurrency-safe because non-'Sendable' type 'SyntaxSourceCache<SourceFileSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'syntaxTreeCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | Parser.parse(source: $0.source)
68 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/SwiftSourceCode.swift:31:24: warning: static property 'resolverCache' is not concurrency-safe because non-'Sendable' type 'ConcurrentDictionary<String, SwiftSourceCode.SourceFileSyntaxResolver>' may have shared mutable state; this is an error in the Swift 6 language mode
29 | public final class SwiftSourceCode {
30 | /// Static cache for resolvers keyed by file path to avoid re-walking AST
31 | private static let resolverCache = ConcurrentDictionary<String, SourceFileSyntaxResolver>()
| `- warning: static property 'resolverCache' is not concurrency-safe because non-'Sendable' type 'ConcurrentDictionary<String, SwiftSourceCode.SourceFileSyntaxResolver>' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Transforms Swift Syntax into the Semantics Models.
/host/spi-builder-workspace/Sources/HarmonizeUtils/Concurrency/ConcurrentDictionary.swift:27:21: note: generic class 'ConcurrentDictionary' does not conform to the 'Sendable' protocol
25 | /// integrity is maintained during concurrent access.
26 | ///
27 | package final class ConcurrentDictionary<Key: Hashable, Value> {
| `- note: generic class 'ConcurrentDictionary' does not conform to the 'Sendable' protocol
28 | private var elements: [Key: Value] = [:]
29 | private let queue = DispatchQueue(label: "harmonize.concurrentdic.queue", attributes: .concurrent)
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/SwiftSourceCode.swift:24:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HarmonizeUtils'
22 | import SwiftParser
23 | import HarmonizeSemantics
24 | import HarmonizeUtils
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HarmonizeUtils'
25 | import XCTest
26 |
:
29 | public final class SwiftSourceCode {
30 | /// Static cache for resolvers keyed by file path to avoid re-walking AST
31 | private static let resolverCache = ConcurrentDictionary<String, SourceFileSyntaxResolver>()
| |- note: add '@MainActor' to make static property 'resolverCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | /// Transforms Swift Syntax into the Semantics Models.
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:53:16: warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | /// The environment of the process. Tests can replace it.
53 | static var environment: [String: String] = ProcessInfo.processInfo.environment
| |- warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'environment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'environment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | /// The collector for the violations file, or nil when the file is not requested.
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:56:16: warning: static property 'violationsReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 |
55 | /// The collector for the violations file, or nil when the file is not requested.
56 | static var violationsReporter: JSONReporter?
| |- warning: static property 'violationsReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'violationsReporter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'violationsReporter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 | /// True after the write at process exit is registered.
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:59:16: warning: static property 'exitWriteScheduled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | /// True after the write at process exit is registered.
59 | static var exitWriteScheduled = false
| |- warning: static property 'exitWriteScheduled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'exitWriteScheduled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'exitWriteScheduled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | private static let lock = NSLock()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/Reporter.swift:113:24: warning: static property 'activeReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
111 | public enum HarmonizeReporting {
112 | private static let lock = NSLock()
113 | private static var activeReporter: Reporter = EnvironmentOutputs.makeDefaultReporter()
| |- warning: static property 'activeReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'activeReporter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'activeReporter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 |
115 | /// The reporter all assertions deliver their results to.
[502/553] Linking harmonize-skills
[504/553] Compiling Harmonize Array+ModifiersProviding.swift
[505/553] Compiling Harmonize Array+NamedDeclaration.swift
[506/553] Compiling Harmonize Array+ParametersProviding.swift
[507/553] Compiling Harmonize Array+ProtocolsProviding.swift
[508/553] Compiling Harmonize Array+ReturnProviding.swift
[509/553] Compiling Harmonize Array+SourceCodeProviding.swift
[510/553] Compiling Harmonize Array+Extensions.swift
[511/553] Compiling Harmonize Array+FunctionCallsProviding.swift
[512/553] Compiling Harmonize Array+FunctionsProviding.swift
[513/553] Compiling Harmonize Array+InheritanceProviding.swift
[514/553] Compiling Harmonize Array+InitializerClauseProviding.swift
[515/553] Compiling Harmonize Array+InitializersProviding.swift
[516/553] Compiling Harmonize On.swift
[517/553] Compiling Harmonize String+LogicalOperators.swift
[518/553] Compiling Harmonize TypeAnnotation+Equatable.swift
[519/553] Compiling Harmonize Array+AccessorBlocksProviding.swift
[520/553] Compiling Harmonize Array+ActorsProviding.swift
[521/553] Compiling Harmonize Array+AttributesProviding.swift
[522/553] Compiling Harmonize Array+Base.swift
[523/553] Compiling Harmonize Array+StructsProviding.swift
[524/553] Compiling Harmonize Array+SwiftSourceCode.swift
[525/553] Compiling Harmonize Array+TypeProviding.swift
[526/553] Compiling Harmonize Array+VariablesProviding.swift
[527/553] Compiling Harmonize Harmonize.swift
[528/553] Compiling Harmonize HarmonizeScope.swift
[529/555] Compiling Harmonize Config.swift
/host/spi-builder-workspace/Sources/Harmonize/Core/Finder/GetFiles.swift:108:21: warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 | if let file = SwiftSourceCode(url: urls[index]) {
107 | queue.sync {
108 | files.append(file)
| `- warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
109 | }
110 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/SwiftSourceCode.swift:29:20: note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
27 | /// Represents a source of Swift code, which can either be loaded from a URL or provided as a raw string.
28 | /// This class offers lazy loading of the source text, resolving it from either the provided URL or raw string.
29 | public final class SwiftSourceCode {
| `- note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
30 | /// Static cache for resolvers keyed by file path to avoid re-walking AST
31 | private static let resolverCache = ConcurrentDictionary<String, SourceFileSyntaxResolver>()
/host/spi-builder-workspace/Sources/Harmonize/Core/Finder/GetFiles.swift:108:21: warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in an isolated closure; this is an error in the Swift 6 language mode
106 | if let file = SwiftSourceCode(url: urls[index]) {
107 | queue.sync {
108 | files.append(file)
| `- warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in an isolated closure; this is an error in the Swift 6 language mode
109 | }
110 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/SwiftSourceCode.swift:29:20: note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
27 | /// Represents a source of Swift code, which can either be loaded from a URL or provided as a raw string.
28 | /// This class offers lazy loading of the source text, resolving it from either the provided URL or raw string.
29 | public final class SwiftSourceCode {
| `- note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
30 | /// Static cache for resolvers keyed by file path to avoid re-walking AST
31 | private static let resolverCache = ConcurrentDictionary<String, SourceFileSyntaxResolver>()
/host/spi-builder-workspace/Sources/Harmonize/Core/Finder/GetFiles.swift:108:21: warning: mutation of captured var 'files' in concurrently-executing code; this is an error in the Swift 6 language mode
106 | if let file = SwiftSourceCode(url: urls[index]) {
107 | queue.sync {
108 | files.append(file)
| `- warning: mutation of captured var 'files' in concurrently-executing code; this is an error in the Swift 6 language mode
109 | }
110 | }
/host/spi-builder-workspace/Sources/Harmonize/Core/ScopeBuilder/HarmonizeScopeBuilder.swift:49:24: warning: static property 'sharedFilesCache' is not concurrency-safe because non-'Sendable' type 'ConcurrentDictionary<String, [SwiftSourceCode]>' may have shared mutable state; this is an error in the Swift 6 language mode
47 | /// Shared cache across all HarmonizeScopeBuilder instances.
48 | /// This allows different builders to share already-loaded files, avoiding redundant file discovery and parsing.
49 | private static let sharedFilesCache: ConcurrentDictionary<String, [SwiftSourceCode]> = ConcurrentDictionary()
| `- warning: static property 'sharedFilesCache' is not concurrency-safe because non-'Sendable' type 'ConcurrentDictionary<String, [SwiftSourceCode]>' may have shared mutable state; this is an error in the Swift 6 language mode
50 |
51 | private var files: [SwiftSourceCode] {
/host/spi-builder-workspace/Sources/HarmonizeUtils/Concurrency/ConcurrentDictionary.swift:27:21: note: generic class 'ConcurrentDictionary' does not conform to the 'Sendable' protocol
25 | /// integrity is maintained during concurrent access.
26 | ///
27 | package final class ConcurrentDictionary<Key: Hashable, Value> {
| `- note: generic class 'ConcurrentDictionary' does not conform to the 'Sendable' protocol
28 | private var elements: [Key: Value] = [:]
29 | private let queue = DispatchQueue(label: "harmonize.concurrentdic.queue", attributes: .concurrent)
/host/spi-builder-workspace/Sources/Harmonize/Core/ScopeBuilder/HarmonizeScopeBuilder.swift:22:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HarmonizeUtils'
20 | import Foundation
21 | import HarmonizeSemantics
22 | import HarmonizeUtils
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HarmonizeUtils'
23 |
24 | /// The default Harmonize scope builder implementation.
:
47 | /// Shared cache across all HarmonizeScopeBuilder instances.
48 | /// This allows different builders to share already-loaded files, avoiding redundant file discovery and parsing.
49 | private static let sharedFilesCache: ConcurrentDictionary<String, [SwiftSourceCode]> = ConcurrentDictionary()
| |- note: add '@MainActor' to make static property 'sharedFilesCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | private var files: [SwiftSourceCode] {
/host/spi-builder-workspace/Sources/Harmonize/Core/ScopeBuilder/HarmonizeScopeBuilder.swift:79:21: warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
77 | DispatchQueue.global(qos: .userInitiated).sync {
78 | DispatchQueue.concurrentPerform(iterations: files.count) { index in
79 | _ = files[index].resolver
| `- warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
80 | }
81 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/SwiftSourceCode.swift:29:20: note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
27 | /// Represents a source of Swift code, which can either be loaded from a URL or provided as a raw string.
28 | /// This class offers lazy loading of the source text, resolving it from either the provided URL or raw string.
29 | public final class SwiftSourceCode {
| `- note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
30 | /// Static cache for resolvers keyed by file path to avoid re-walking AST
31 | private static let resolverCache = ConcurrentDictionary<String, SourceFileSyntaxResolver>()
[530/555] Compiling Harmonize ResolveProjectConfigFilePath.swift
/host/spi-builder-workspace/Sources/Harmonize/Core/Finder/GetFiles.swift:108:21: warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 | if let file = SwiftSourceCode(url: urls[index]) {
107 | queue.sync {
108 | files.append(file)
| `- warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
109 | }
110 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/SwiftSourceCode.swift:29:20: note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
27 | /// Represents a source of Swift code, which can either be loaded from a URL or provided as a raw string.
28 | /// This class offers lazy loading of the source text, resolving it from either the provided URL or raw string.
29 | public final class SwiftSourceCode {
| `- note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
30 | /// Static cache for resolvers keyed by file path to avoid re-walking AST
31 | private static let resolverCache = ConcurrentDictionary<String, SourceFileSyntaxResolver>()
/host/spi-builder-workspace/Sources/Harmonize/Core/Finder/GetFiles.swift:108:21: warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in an isolated closure; this is an error in the Swift 6 language mode
106 | if let file = SwiftSourceCode(url: urls[index]) {
107 | queue.sync {
108 | files.append(file)
| `- warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in an isolated closure; this is an error in the Swift 6 language mode
109 | }
110 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/SwiftSourceCode.swift:29:20: note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
27 | /// Represents a source of Swift code, which can either be loaded from a URL or provided as a raw string.
28 | /// This class offers lazy loading of the source text, resolving it from either the provided URL or raw string.
29 | public final class SwiftSourceCode {
| `- note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
30 | /// Static cache for resolvers keyed by file path to avoid re-walking AST
31 | private static let resolverCache = ConcurrentDictionary<String, SourceFileSyntaxResolver>()
/host/spi-builder-workspace/Sources/Harmonize/Core/Finder/GetFiles.swift:108:21: warning: mutation of captured var 'files' in concurrently-executing code; this is an error in the Swift 6 language mode
106 | if let file = SwiftSourceCode(url: urls[index]) {
107 | queue.sync {
108 | files.append(file)
| `- warning: mutation of captured var 'files' in concurrently-executing code; this is an error in the Swift 6 language mode
109 | }
110 | }
/host/spi-builder-workspace/Sources/Harmonize/Core/ScopeBuilder/HarmonizeScopeBuilder.swift:49:24: warning: static property 'sharedFilesCache' is not concurrency-safe because non-'Sendable' type 'ConcurrentDictionary<String, [SwiftSourceCode]>' may have shared mutable state; this is an error in the Swift 6 language mode
47 | /// Shared cache across all HarmonizeScopeBuilder instances.
48 | /// This allows different builders to share already-loaded files, avoiding redundant file discovery and parsing.
49 | private static let sharedFilesCache: ConcurrentDictionary<String, [SwiftSourceCode]> = ConcurrentDictionary()
| `- warning: static property 'sharedFilesCache' is not concurrency-safe because non-'Sendable' type 'ConcurrentDictionary<String, [SwiftSourceCode]>' may have shared mutable state; this is an error in the Swift 6 language mode
50 |
51 | private var files: [SwiftSourceCode] {
/host/spi-builder-workspace/Sources/HarmonizeUtils/Concurrency/ConcurrentDictionary.swift:27:21: note: generic class 'ConcurrentDictionary' does not conform to the 'Sendable' protocol
25 | /// integrity is maintained during concurrent access.
26 | ///
27 | package final class ConcurrentDictionary<Key: Hashable, Value> {
| `- note: generic class 'ConcurrentDictionary' does not conform to the 'Sendable' protocol
28 | private var elements: [Key: Value] = [:]
29 | private let queue = DispatchQueue(label: "harmonize.concurrentdic.queue", attributes: .concurrent)
/host/spi-builder-workspace/Sources/Harmonize/Core/ScopeBuilder/HarmonizeScopeBuilder.swift:22:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HarmonizeUtils'
20 | import Foundation
21 | import HarmonizeSemantics
22 | import HarmonizeUtils
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HarmonizeUtils'
23 |
24 | /// The default Harmonize scope builder implementation.
:
47 | /// Shared cache across all HarmonizeScopeBuilder instances.
48 | /// This allows different builders to share already-loaded files, avoiding redundant file discovery and parsing.
49 | private static let sharedFilesCache: ConcurrentDictionary<String, [SwiftSourceCode]> = ConcurrentDictionary()
| |- note: add '@MainActor' to make static property 'sharedFilesCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | private var files: [SwiftSourceCode] {
/host/spi-builder-workspace/Sources/Harmonize/Core/ScopeBuilder/HarmonizeScopeBuilder.swift:79:21: warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
77 | DispatchQueue.global(qos: .userInitiated).sync {
78 | DispatchQueue.concurrentPerform(iterations: files.count) { index in
79 | _ = files[index].resolver
| `- warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
80 | }
81 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/SwiftSourceCode.swift:29:20: note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
27 | /// Represents a source of Swift code, which can either be loaded from a URL or provided as a raw string.
28 | /// This class offers lazy loading of the source text, resolving it from either the provided URL or raw string.
29 | public final class SwiftSourceCode {
| `- note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
30 | /// Static cache for resolvers keyed by file path to avoid re-walking AST
31 | private static let resolverCache = ConcurrentDictionary<String, SourceFileSyntaxResolver>()
[531/555] Compiling Harmonize GetFiles.swift
/host/spi-builder-workspace/Sources/Harmonize/Core/Finder/GetFiles.swift:108:21: warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 | if let file = SwiftSourceCode(url: urls[index]) {
107 | queue.sync {
108 | files.append(file)
| `- warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
109 | }
110 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/SwiftSourceCode.swift:29:20: note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
27 | /// Represents a source of Swift code, which can either be loaded from a URL or provided as a raw string.
28 | /// This class offers lazy loading of the source text, resolving it from either the provided URL or raw string.
29 | public final class SwiftSourceCode {
| `- note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
30 | /// Static cache for resolvers keyed by file path to avoid re-walking AST
31 | private static let resolverCache = ConcurrentDictionary<String, SourceFileSyntaxResolver>()
/host/spi-builder-workspace/Sources/Harmonize/Core/Finder/GetFiles.swift:108:21: warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in an isolated closure; this is an error in the Swift 6 language mode
106 | if let file = SwiftSourceCode(url: urls[index]) {
107 | queue.sync {
108 | files.append(file)
| `- warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in an isolated closure; this is an error in the Swift 6 language mode
109 | }
110 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/SwiftSourceCode.swift:29:20: note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
27 | /// Represents a source of Swift code, which can either be loaded from a URL or provided as a raw string.
28 | /// This class offers lazy loading of the source text, resolving it from either the provided URL or raw string.
29 | public final class SwiftSourceCode {
| `- note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
30 | /// Static cache for resolvers keyed by file path to avoid re-walking AST
31 | private static let resolverCache = ConcurrentDictionary<String, SourceFileSyntaxResolver>()
/host/spi-builder-workspace/Sources/Harmonize/Core/Finder/GetFiles.swift:108:21: warning: mutation of captured var 'files' in concurrently-executing code; this is an error in the Swift 6 language mode
106 | if let file = SwiftSourceCode(url: urls[index]) {
107 | queue.sync {
108 | files.append(file)
| `- warning: mutation of captured var 'files' in concurrently-executing code; this is an error in the Swift 6 language mode
109 | }
110 | }
/host/spi-builder-workspace/Sources/Harmonize/Core/ScopeBuilder/HarmonizeScopeBuilder.swift:49:24: warning: static property 'sharedFilesCache' is not concurrency-safe because non-'Sendable' type 'ConcurrentDictionary<String, [SwiftSourceCode]>' may have shared mutable state; this is an error in the Swift 6 language mode
47 | /// Shared cache across all HarmonizeScopeBuilder instances.
48 | /// This allows different builders to share already-loaded files, avoiding redundant file discovery and parsing.
49 | private static let sharedFilesCache: ConcurrentDictionary<String, [SwiftSourceCode]> = ConcurrentDictionary()
| `- warning: static property 'sharedFilesCache' is not concurrency-safe because non-'Sendable' type 'ConcurrentDictionary<String, [SwiftSourceCode]>' may have shared mutable state; this is an error in the Swift 6 language mode
50 |
51 | private var files: [SwiftSourceCode] {
/host/spi-builder-workspace/Sources/HarmonizeUtils/Concurrency/ConcurrentDictionary.swift:27:21: note: generic class 'ConcurrentDictionary' does not conform to the 'Sendable' protocol
25 | /// integrity is maintained during concurrent access.
26 | ///
27 | package final class ConcurrentDictionary<Key: Hashable, Value> {
| `- note: generic class 'ConcurrentDictionary' does not conform to the 'Sendable' protocol
28 | private var elements: [Key: Value] = [:]
29 | private let queue = DispatchQueue(label: "harmonize.concurrentdic.queue", attributes: .concurrent)
/host/spi-builder-workspace/Sources/Harmonize/Core/ScopeBuilder/HarmonizeScopeBuilder.swift:22:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HarmonizeUtils'
20 | import Foundation
21 | import HarmonizeSemantics
22 | import HarmonizeUtils
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HarmonizeUtils'
23 |
24 | /// The default Harmonize scope builder implementation.
:
47 | /// Shared cache across all HarmonizeScopeBuilder instances.
48 | /// This allows different builders to share already-loaded files, avoiding redundant file discovery and parsing.
49 | private static let sharedFilesCache: ConcurrentDictionary<String, [SwiftSourceCode]> = ConcurrentDictionary()
| |- note: add '@MainActor' to make static property 'sharedFilesCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | private var files: [SwiftSourceCode] {
/host/spi-builder-workspace/Sources/Harmonize/Core/ScopeBuilder/HarmonizeScopeBuilder.swift:79:21: warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
77 | DispatchQueue.global(qos: .userInitiated).sync {
78 | DispatchQueue.concurrentPerform(iterations: files.count) { index in
79 | _ = files[index].resolver
| `- warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
80 | }
81 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/SwiftSourceCode.swift:29:20: note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
27 | /// Represents a source of Swift code, which can either be loaded from a URL or provided as a raw string.
28 | /// This class offers lazy loading of the source text, resolving it from either the provided URL or raw string.
29 | public final class SwiftSourceCode {
| `- note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
30 | /// Static cache for resolvers keyed by file path to avoid re-walking AST
31 | private static let resolverCache = ConcurrentDictionary<String, SourceFileSyntaxResolver>()
[532/555] Compiling Harmonize ResolveProjectWorkingDirectory.swift
/host/spi-builder-workspace/Sources/Harmonize/Core/Finder/GetFiles.swift:108:21: warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 | if let file = SwiftSourceCode(url: urls[index]) {
107 | queue.sync {
108 | files.append(file)
| `- warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
109 | }
110 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/SwiftSourceCode.swift:29:20: note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
27 | /// Represents a source of Swift code, which can either be loaded from a URL or provided as a raw string.
28 | /// This class offers lazy loading of the source text, resolving it from either the provided URL or raw string.
29 | public final class SwiftSourceCode {
| `- note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
30 | /// Static cache for resolvers keyed by file path to avoid re-walking AST
31 | private static let resolverCache = ConcurrentDictionary<String, SourceFileSyntaxResolver>()
/host/spi-builder-workspace/Sources/Harmonize/Core/Finder/GetFiles.swift:108:21: warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in an isolated closure; this is an error in the Swift 6 language mode
106 | if let file = SwiftSourceCode(url: urls[index]) {
107 | queue.sync {
108 | files.append(file)
| `- warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in an isolated closure; this is an error in the Swift 6 language mode
109 | }
110 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/SwiftSourceCode.swift:29:20: note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
27 | /// Represents a source of Swift code, which can either be loaded from a URL or provided as a raw string.
28 | /// This class offers lazy loading of the source text, resolving it from either the provided URL or raw string.
29 | public final class SwiftSourceCode {
| `- note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
30 | /// Static cache for resolvers keyed by file path to avoid re-walking AST
31 | private static let resolverCache = ConcurrentDictionary<String, SourceFileSyntaxResolver>()
/host/spi-builder-workspace/Sources/Harmonize/Core/Finder/GetFiles.swift:108:21: warning: mutation of captured var 'files' in concurrently-executing code; this is an error in the Swift 6 language mode
106 | if let file = SwiftSourceCode(url: urls[index]) {
107 | queue.sync {
108 | files.append(file)
| `- warning: mutation of captured var 'files' in concurrently-executing code; this is an error in the Swift 6 language mode
109 | }
110 | }
/host/spi-builder-workspace/Sources/Harmonize/Core/ScopeBuilder/HarmonizeScopeBuilder.swift:49:24: warning: static property 'sharedFilesCache' is not concurrency-safe because non-'Sendable' type 'ConcurrentDictionary<String, [SwiftSourceCode]>' may have shared mutable state; this is an error in the Swift 6 language mode
47 | /// Shared cache across all HarmonizeScopeBuilder instances.
48 | /// This allows different builders to share already-loaded files, avoiding redundant file discovery and parsing.
49 | private static let sharedFilesCache: ConcurrentDictionary<String, [SwiftSourceCode]> = ConcurrentDictionary()
| `- warning: static property 'sharedFilesCache' is not concurrency-safe because non-'Sendable' type 'ConcurrentDictionary<String, [SwiftSourceCode]>' may have shared mutable state; this is an error in the Swift 6 language mode
50 |
51 | private var files: [SwiftSourceCode] {
/host/spi-builder-workspace/Sources/HarmonizeUtils/Concurrency/ConcurrentDictionary.swift:27:21: note: generic class 'ConcurrentDictionary' does not conform to the 'Sendable' protocol
25 | /// integrity is maintained during concurrent access.
26 | ///
27 | package final class ConcurrentDictionary<Key: Hashable, Value> {
| `- note: generic class 'ConcurrentDictionary' does not conform to the 'Sendable' protocol
28 | private var elements: [Key: Value] = [:]
29 | private let queue = DispatchQueue(label: "harmonize.concurrentdic.queue", attributes: .concurrent)
/host/spi-builder-workspace/Sources/Harmonize/Core/ScopeBuilder/HarmonizeScopeBuilder.swift:22:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HarmonizeUtils'
20 | import Foundation
21 | import HarmonizeSemantics
22 | import HarmonizeUtils
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HarmonizeUtils'
23 |
24 | /// The default Harmonize scope builder implementation.
:
47 | /// Shared cache across all HarmonizeScopeBuilder instances.
48 | /// This allows different builders to share already-loaded files, avoiding redundant file discovery and parsing.
49 | private static let sharedFilesCache: ConcurrentDictionary<String, [SwiftSourceCode]> = ConcurrentDictionary()
| |- note: add '@MainActor' to make static property 'sharedFilesCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | private var files: [SwiftSourceCode] {
/host/spi-builder-workspace/Sources/Harmonize/Core/ScopeBuilder/HarmonizeScopeBuilder.swift:79:21: warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
77 | DispatchQueue.global(qos: .userInitiated).sync {
78 | DispatchQueue.concurrentPerform(iterations: files.count) { index in
79 | _ = files[index].resolver
| `- warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
80 | }
81 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/SwiftSourceCode.swift:29:20: note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
27 | /// Represents a source of Swift code, which can either be loaded from a URL or provided as a raw string.
28 | /// This class offers lazy loading of the source text, resolving it from either the provided URL or raw string.
29 | public final class SwiftSourceCode {
| `- note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
30 | /// Static cache for resolvers keyed by file path to avoid re-walking AST
31 | private static let resolverCache = ConcurrentDictionary<String, SourceFileSyntaxResolver>()
[533/555] Compiling Harmonize HarmonizeScopeBuilder.swift
/host/spi-builder-workspace/Sources/Harmonize/Core/Finder/GetFiles.swift:108:21: warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 | if let file = SwiftSourceCode(url: urls[index]) {
107 | queue.sync {
108 | files.append(file)
| `- warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
109 | }
110 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/SwiftSourceCode.swift:29:20: note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
27 | /// Represents a source of Swift code, which can either be loaded from a URL or provided as a raw string.
28 | /// This class offers lazy loading of the source text, resolving it from either the provided URL or raw string.
29 | public final class SwiftSourceCode {
| `- note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
30 | /// Static cache for resolvers keyed by file path to avoid re-walking AST
31 | private static let resolverCache = ConcurrentDictionary<String, SourceFileSyntaxResolver>()
/host/spi-builder-workspace/Sources/Harmonize/Core/Finder/GetFiles.swift:108:21: warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in an isolated closure; this is an error in the Swift 6 language mode
106 | if let file = SwiftSourceCode(url: urls[index]) {
107 | queue.sync {
108 | files.append(file)
| `- warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in an isolated closure; this is an error in the Swift 6 language mode
109 | }
110 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/SwiftSourceCode.swift:29:20: note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
27 | /// Represents a source of Swift code, which can either be loaded from a URL or provided as a raw string.
28 | /// This class offers lazy loading of the source text, resolving it from either the provided URL or raw string.
29 | public final class SwiftSourceCode {
| `- note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
30 | /// Static cache for resolvers keyed by file path to avoid re-walking AST
31 | private static let resolverCache = ConcurrentDictionary<String, SourceFileSyntaxResolver>()
/host/spi-builder-workspace/Sources/Harmonize/Core/Finder/GetFiles.swift:108:21: warning: mutation of captured var 'files' in concurrently-executing code; this is an error in the Swift 6 language mode
106 | if let file = SwiftSourceCode(url: urls[index]) {
107 | queue.sync {
108 | files.append(file)
| `- warning: mutation of captured var 'files' in concurrently-executing code; this is an error in the Swift 6 language mode
109 | }
110 | }
/host/spi-builder-workspace/Sources/Harmonize/Core/ScopeBuilder/HarmonizeScopeBuilder.swift:49:24: warning: static property 'sharedFilesCache' is not concurrency-safe because non-'Sendable' type 'ConcurrentDictionary<String, [SwiftSourceCode]>' may have shared mutable state; this is an error in the Swift 6 language mode
47 | /// Shared cache across all HarmonizeScopeBuilder instances.
48 | /// This allows different builders to share already-loaded files, avoiding redundant file discovery and parsing.
49 | private static let sharedFilesCache: ConcurrentDictionary<String, [SwiftSourceCode]> = ConcurrentDictionary()
| `- warning: static property 'sharedFilesCache' is not concurrency-safe because non-'Sendable' type 'ConcurrentDictionary<String, [SwiftSourceCode]>' may have shared mutable state; this is an error in the Swift 6 language mode
50 |
51 | private var files: [SwiftSourceCode] {
/host/spi-builder-workspace/Sources/HarmonizeUtils/Concurrency/ConcurrentDictionary.swift:27:21: note: generic class 'ConcurrentDictionary' does not conform to the 'Sendable' protocol
25 | /// integrity is maintained during concurrent access.
26 | ///
27 | package final class ConcurrentDictionary<Key: Hashable, Value> {
| `- note: generic class 'ConcurrentDictionary' does not conform to the 'Sendable' protocol
28 | private var elements: [Key: Value] = [:]
29 | private let queue = DispatchQueue(label: "harmonize.concurrentdic.queue", attributes: .concurrent)
/host/spi-builder-workspace/Sources/Harmonize/Core/ScopeBuilder/HarmonizeScopeBuilder.swift:22:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HarmonizeUtils'
20 | import Foundation
21 | import HarmonizeSemantics
22 | import HarmonizeUtils
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HarmonizeUtils'
23 |
24 | /// The default Harmonize scope builder implementation.
:
47 | /// Shared cache across all HarmonizeScopeBuilder instances.
48 | /// This allows different builders to share already-loaded files, avoiding redundant file discovery and parsing.
49 | private static let sharedFilesCache: ConcurrentDictionary<String, [SwiftSourceCode]> = ConcurrentDictionary()
| |- note: add '@MainActor' to make static property 'sharedFilesCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | private var files: [SwiftSourceCode] {
/host/spi-builder-workspace/Sources/Harmonize/Core/ScopeBuilder/HarmonizeScopeBuilder.swift:79:21: warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
77 | DispatchQueue.global(qos: .userInitiated).sync {
78 | DispatchQueue.concurrentPerform(iterations: files.count) { index in
79 | _ = files[index].resolver
| `- warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
80 | }
81 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/SwiftSourceCode.swift:29:20: note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
27 | /// Represents a source of Swift code, which can either be loaded from a URL or provided as a raw string.
28 | /// This class offers lazy loading of the source text, resolving it from either the provided URL or raw string.
29 | public final class SwiftSourceCode {
| `- note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
30 | /// Static cache for resolvers keyed by file path to avoid re-walking AST
31 | private static let resolverCache = ConcurrentDictionary<String, SourceFileSyntaxResolver>()
[534/555] Compiling Harmonize PlainSourceScopeBuilder.swift
/host/spi-builder-workspace/Sources/Harmonize/Core/Finder/GetFiles.swift:108:21: warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 | if let file = SwiftSourceCode(url: urls[index]) {
107 | queue.sync {
108 | files.append(file)
| `- warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
109 | }
110 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/SwiftSourceCode.swift:29:20: note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
27 | /// Represents a source of Swift code, which can either be loaded from a URL or provided as a raw string.
28 | /// This class offers lazy loading of the source text, resolving it from either the provided URL or raw string.
29 | public final class SwiftSourceCode {
| `- note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
30 | /// Static cache for resolvers keyed by file path to avoid re-walking AST
31 | private static let resolverCache = ConcurrentDictionary<String, SourceFileSyntaxResolver>()
/host/spi-builder-workspace/Sources/Harmonize/Core/Finder/GetFiles.swift:108:21: warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in an isolated closure; this is an error in the Swift 6 language mode
106 | if let file = SwiftSourceCode(url: urls[index]) {
107 | queue.sync {
108 | files.append(file)
| `- warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in an isolated closure; this is an error in the Swift 6 language mode
109 | }
110 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/SwiftSourceCode.swift:29:20: note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
27 | /// Represents a source of Swift code, which can either be loaded from a URL or provided as a raw string.
28 | /// This class offers lazy loading of the source text, resolving it from either the provided URL or raw string.
29 | public final class SwiftSourceCode {
| `- note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
30 | /// Static cache for resolvers keyed by file path to avoid re-walking AST
31 | private static let resolverCache = ConcurrentDictionary<String, SourceFileSyntaxResolver>()
/host/spi-builder-workspace/Sources/Harmonize/Core/Finder/GetFiles.swift:108:21: warning: mutation of captured var 'files' in concurrently-executing code; this is an error in the Swift 6 language mode
106 | if let file = SwiftSourceCode(url: urls[index]) {
107 | queue.sync {
108 | files.append(file)
| `- warning: mutation of captured var 'files' in concurrently-executing code; this is an error in the Swift 6 language mode
109 | }
110 | }
/host/spi-builder-workspace/Sources/Harmonize/Core/ScopeBuilder/HarmonizeScopeBuilder.swift:49:24: warning: static property 'sharedFilesCache' is not concurrency-safe because non-'Sendable' type 'ConcurrentDictionary<String, [SwiftSourceCode]>' may have shared mutable state; this is an error in the Swift 6 language mode
47 | /// Shared cache across all HarmonizeScopeBuilder instances.
48 | /// This allows different builders to share already-loaded files, avoiding redundant file discovery and parsing.
49 | private static let sharedFilesCache: ConcurrentDictionary<String, [SwiftSourceCode]> = ConcurrentDictionary()
| `- warning: static property 'sharedFilesCache' is not concurrency-safe because non-'Sendable' type 'ConcurrentDictionary<String, [SwiftSourceCode]>' may have shared mutable state; this is an error in the Swift 6 language mode
50 |
51 | private var files: [SwiftSourceCode] {
/host/spi-builder-workspace/Sources/HarmonizeUtils/Concurrency/ConcurrentDictionary.swift:27:21: note: generic class 'ConcurrentDictionary' does not conform to the 'Sendable' protocol
25 | /// integrity is maintained during concurrent access.
26 | ///
27 | package final class ConcurrentDictionary<Key: Hashable, Value> {
| `- note: generic class 'ConcurrentDictionary' does not conform to the 'Sendable' protocol
28 | private var elements: [Key: Value] = [:]
29 | private let queue = DispatchQueue(label: "harmonize.concurrentdic.queue", attributes: .concurrent)
/host/spi-builder-workspace/Sources/Harmonize/Core/ScopeBuilder/HarmonizeScopeBuilder.swift:22:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HarmonizeUtils'
20 | import Foundation
21 | import HarmonizeSemantics
22 | import HarmonizeUtils
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HarmonizeUtils'
23 |
24 | /// The default Harmonize scope builder implementation.
:
47 | /// Shared cache across all HarmonizeScopeBuilder instances.
48 | /// This allows different builders to share already-loaded files, avoiding redundant file discovery and parsing.
49 | private static let sharedFilesCache: ConcurrentDictionary<String, [SwiftSourceCode]> = ConcurrentDictionary()
| |- note: add '@MainActor' to make static property 'sharedFilesCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | private var files: [SwiftSourceCode] {
/host/spi-builder-workspace/Sources/Harmonize/Core/ScopeBuilder/HarmonizeScopeBuilder.swift:79:21: warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
77 | DispatchQueue.global(qos: .userInitiated).sync {
78 | DispatchQueue.concurrentPerform(iterations: files.count) { index in
79 | _ = files[index].resolver
| `- warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
80 | }
81 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/SwiftSourceCode.swift:29:20: note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
27 | /// Represents a source of Swift code, which can either be loaded from a URL or provided as a raw string.
28 | /// This class offers lazy loading of the source text, resolving it from either the provided URL or raw string.
29 | public final class SwiftSourceCode {
| `- note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
30 | /// Static cache for resolvers keyed by file path to avoid re-walking AST
31 | private static let resolverCache = ConcurrentDictionary<String, SourceFileSyntaxResolver>()
[535/555] Compiling Harmonize Excluding.swift
/host/spi-builder-workspace/Sources/Harmonize/Core/Finder/GetFiles.swift:108:21: warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 | if let file = SwiftSourceCode(url: urls[index]) {
107 | queue.sync {
108 | files.append(file)
| `- warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
109 | }
110 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/SwiftSourceCode.swift:29:20: note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
27 | /// Represents a source of Swift code, which can either be loaded from a URL or provided as a raw string.
28 | /// This class offers lazy loading of the source text, resolving it from either the provided URL or raw string.
29 | public final class SwiftSourceCode {
| `- note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
30 | /// Static cache for resolvers keyed by file path to avoid re-walking AST
31 | private static let resolverCache = ConcurrentDictionary<String, SourceFileSyntaxResolver>()
/host/spi-builder-workspace/Sources/Harmonize/Core/Finder/GetFiles.swift:108:21: warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in an isolated closure; this is an error in the Swift 6 language mode
106 | if let file = SwiftSourceCode(url: urls[index]) {
107 | queue.sync {
108 | files.append(file)
| `- warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in an isolated closure; this is an error in the Swift 6 language mode
109 | }
110 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/SwiftSourceCode.swift:29:20: note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
27 | /// Represents a source of Swift code, which can either be loaded from a URL or provided as a raw string.
28 | /// This class offers lazy loading of the source text, resolving it from either the provided URL or raw string.
29 | public final class SwiftSourceCode {
| `- note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
30 | /// Static cache for resolvers keyed by file path to avoid re-walking AST
31 | private static let resolverCache = ConcurrentDictionary<String, SourceFileSyntaxResolver>()
/host/spi-builder-workspace/Sources/Harmonize/Core/Finder/GetFiles.swift:108:21: warning: mutation of captured var 'files' in concurrently-executing code; this is an error in the Swift 6 language mode
106 | if let file = SwiftSourceCode(url: urls[index]) {
107 | queue.sync {
108 | files.append(file)
| `- warning: mutation of captured var 'files' in concurrently-executing code; this is an error in the Swift 6 language mode
109 | }
110 | }
/host/spi-builder-workspace/Sources/Harmonize/Core/ScopeBuilder/HarmonizeScopeBuilder.swift:49:24: warning: static property 'sharedFilesCache' is not concurrency-safe because non-'Sendable' type 'ConcurrentDictionary<String, [SwiftSourceCode]>' may have shared mutable state; this is an error in the Swift 6 language mode
47 | /// Shared cache across all HarmonizeScopeBuilder instances.
48 | /// This allows different builders to share already-loaded files, avoiding redundant file discovery and parsing.
49 | private static let sharedFilesCache: ConcurrentDictionary<String, [SwiftSourceCode]> = ConcurrentDictionary()
| `- warning: static property 'sharedFilesCache' is not concurrency-safe because non-'Sendable' type 'ConcurrentDictionary<String, [SwiftSourceCode]>' may have shared mutable state; this is an error in the Swift 6 language mode
50 |
51 | private var files: [SwiftSourceCode] {
/host/spi-builder-workspace/Sources/HarmonizeUtils/Concurrency/ConcurrentDictionary.swift:27:21: note: generic class 'ConcurrentDictionary' does not conform to the 'Sendable' protocol
25 | /// integrity is maintained during concurrent access.
26 | ///
27 | package final class ConcurrentDictionary<Key: Hashable, Value> {
| `- note: generic class 'ConcurrentDictionary' does not conform to the 'Sendable' protocol
28 | private var elements: [Key: Value] = [:]
29 | private let queue = DispatchQueue(label: "harmonize.concurrentdic.queue", attributes: .concurrent)
/host/spi-builder-workspace/Sources/Harmonize/Core/ScopeBuilder/HarmonizeScopeBuilder.swift:22:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HarmonizeUtils'
20 | import Foundation
21 | import HarmonizeSemantics
22 | import HarmonizeUtils
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HarmonizeUtils'
23 |
24 | /// The default Harmonize scope builder implementation.
:
47 | /// Shared cache across all HarmonizeScopeBuilder instances.
48 | /// This allows different builders to share already-loaded files, avoiding redundant file discovery and parsing.
49 | private static let sharedFilesCache: ConcurrentDictionary<String, [SwiftSourceCode]> = ConcurrentDictionary()
| |- note: add '@MainActor' to make static property 'sharedFilesCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | private var files: [SwiftSourceCode] {
/host/spi-builder-workspace/Sources/Harmonize/Core/ScopeBuilder/HarmonizeScopeBuilder.swift:79:21: warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
77 | DispatchQueue.global(qos: .userInitiated).sync {
78 | DispatchQueue.concurrentPerform(iterations: files.count) { index in
79 | _ = files[index].resolver
| `- warning: capture of 'files' with non-sendable type '[SwiftSourceCode]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
80 | }
81 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/SwiftSourceCode.swift:29:20: note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
27 | /// Represents a source of Swift code, which can either be loaded from a URL or provided as a raw string.
28 | /// This class offers lazy loading of the source text, resolving it from either the provided URL or raw string.
29 | public final class SwiftSourceCode {
| `- note: class 'SwiftSourceCode' does not conform to the 'Sendable' protocol
30 | /// Static cache for resolvers keyed by file path to avoid re-walking AST
31 | private static let resolverCache = ConcurrentDictionary<String, SourceFileSyntaxResolver>()
[536/555] Compiling Harmonize CompositeReporter.swift
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:53:16: warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | /// The environment of the process. Tests can replace it.
53 | static var environment: [String: String] = ProcessInfo.processInfo.environment
| |- warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'environment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'environment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | /// The collector for the violations file, or nil when the file is not requested.
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:56:16: warning: static property 'violationsReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 |
55 | /// The collector for the violations file, or nil when the file is not requested.
56 | static var violationsReporter: JSONReporter?
| |- warning: static property 'violationsReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'violationsReporter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'violationsReporter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 | /// True after the write at process exit is registered.
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:59:16: warning: static property 'exitWriteScheduled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | /// True after the write at process exit is registered.
59 | static var exitWriteScheduled = false
| |- warning: static property 'exitWriteScheduled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'exitWriteScheduled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'exitWriteScheduled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | private static let lock = NSLock()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:129:16: error: cannot find 'getppid' in scope
127 | /// or the test runner. Its id identifies the run.
128 | static var currentRunIdentifier: String {
129 | String(getppid())
| `- error: cannot find 'getppid' in scope
130 | }
131 |
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:140:26: error: cannot find 'open' in scope
138 |
139 | private static func withFileLock(at path: String, _ body: () -> Void) {
140 | let descriptor = open(path, O_CREAT | O_RDWR, 0o644)
| `- error: cannot find 'open' in scope
141 | guard descriptor >= 0 else {
142 | body()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:140:37: error: cannot find 'O_CREAT' in scope
138 |
139 | private static func withFileLock(at path: String, _ body: () -> Void) {
140 | let descriptor = open(path, O_CREAT | O_RDWR, 0o644)
| `- error: cannot find 'O_CREAT' in scope
141 | guard descriptor >= 0 else {
142 | body()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:140:47: error: cannot find 'O_RDWR' in scope
138 |
139 | private static func withFileLock(at path: String, _ body: () -> Void) {
140 | let descriptor = open(path, O_CREAT | O_RDWR, 0o644)
| `- error: cannot find 'O_RDWR' in scope
141 | guard descriptor >= 0 else {
142 | body()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:145:9: error: cannot find 'flock' in scope
143 | return
144 | }
145 | flock(descriptor, LOCK_EX)
| `- error: cannot find 'flock' in scope
146 | body()
147 | flock(descriptor, LOCK_UN)
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:145:27: error: cannot find 'LOCK_EX' in scope
143 | return
144 | }
145 | flock(descriptor, LOCK_EX)
| `- error: cannot find 'LOCK_EX' in scope
146 | body()
147 | flock(descriptor, LOCK_UN)
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:147:9: error: cannot find 'flock' in scope
145 | flock(descriptor, LOCK_EX)
146 | body()
147 | flock(descriptor, LOCK_UN)
| `- error: cannot find 'flock' in scope
148 | close(descriptor)
149 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:147:27: error: cannot find 'LOCK_UN' in scope
145 | flock(descriptor, LOCK_EX)
146 | body()
147 | flock(descriptor, LOCK_UN)
| `- error: cannot find 'LOCK_UN' in scope
148 | close(descriptor)
149 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:148:9: error: cannot find 'close' in scope
146 | body()
147 | flock(descriptor, LOCK_UN)
148 | close(descriptor)
| `- error: cannot find 'close' in scope
149 | }
150 |
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/Reporter.swift:113:24: warning: static property 'activeReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
111 | public enum HarmonizeReporting {
112 | private static let lock = NSLock()
113 | private static var activeReporter: Reporter = EnvironmentOutputs.makeDefaultReporter()
| |- warning: static property 'activeReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'activeReporter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'activeReporter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 |
115 | /// The reporter all assertions deliver their results to.
[537/555] Compiling Harmonize EnvironmentOutputs.swift
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:53:16: warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | /// The environment of the process. Tests can replace it.
53 | static var environment: [String: String] = ProcessInfo.processInfo.environment
| |- warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'environment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'environment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | /// The collector for the violations file, or nil when the file is not requested.
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:56:16: warning: static property 'violationsReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 |
55 | /// The collector for the violations file, or nil when the file is not requested.
56 | static var violationsReporter: JSONReporter?
| |- warning: static property 'violationsReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'violationsReporter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'violationsReporter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 | /// True after the write at process exit is registered.
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:59:16: warning: static property 'exitWriteScheduled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | /// True after the write at process exit is registered.
59 | static var exitWriteScheduled = false
| |- warning: static property 'exitWriteScheduled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'exitWriteScheduled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'exitWriteScheduled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | private static let lock = NSLock()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:129:16: error: cannot find 'getppid' in scope
127 | /// or the test runner. Its id identifies the run.
128 | static var currentRunIdentifier: String {
129 | String(getppid())
| `- error: cannot find 'getppid' in scope
130 | }
131 |
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:140:26: error: cannot find 'open' in scope
138 |
139 | private static func withFileLock(at path: String, _ body: () -> Void) {
140 | let descriptor = open(path, O_CREAT | O_RDWR, 0o644)
| `- error: cannot find 'open' in scope
141 | guard descriptor >= 0 else {
142 | body()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:140:37: error: cannot find 'O_CREAT' in scope
138 |
139 | private static func withFileLock(at path: String, _ body: () -> Void) {
140 | let descriptor = open(path, O_CREAT | O_RDWR, 0o644)
| `- error: cannot find 'O_CREAT' in scope
141 | guard descriptor >= 0 else {
142 | body()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:140:47: error: cannot find 'O_RDWR' in scope
138 |
139 | private static func withFileLock(at path: String, _ body: () -> Void) {
140 | let descriptor = open(path, O_CREAT | O_RDWR, 0o644)
| `- error: cannot find 'O_RDWR' in scope
141 | guard descriptor >= 0 else {
142 | body()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:145:9: error: cannot find 'flock' in scope
143 | return
144 | }
145 | flock(descriptor, LOCK_EX)
| `- error: cannot find 'flock' in scope
146 | body()
147 | flock(descriptor, LOCK_UN)
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:145:27: error: cannot find 'LOCK_EX' in scope
143 | return
144 | }
145 | flock(descriptor, LOCK_EX)
| `- error: cannot find 'LOCK_EX' in scope
146 | body()
147 | flock(descriptor, LOCK_UN)
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:147:9: error: cannot find 'flock' in scope
145 | flock(descriptor, LOCK_EX)
146 | body()
147 | flock(descriptor, LOCK_UN)
| `- error: cannot find 'flock' in scope
148 | close(descriptor)
149 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:147:27: error: cannot find 'LOCK_UN' in scope
145 | flock(descriptor, LOCK_EX)
146 | body()
147 | flock(descriptor, LOCK_UN)
| `- error: cannot find 'LOCK_UN' in scope
148 | close(descriptor)
149 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:148:9: error: cannot find 'close' in scope
146 | body()
147 | flock(descriptor, LOCK_UN)
148 | close(descriptor)
| `- error: cannot find 'close' in scope
149 | }
150 |
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/Reporter.swift:113:24: warning: static property 'activeReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
111 | public enum HarmonizeReporting {
112 | private static let lock = NSLock()
113 | private static var activeReporter: Reporter = EnvironmentOutputs.makeDefaultReporter()
| |- warning: static property 'activeReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'activeReporter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'activeReporter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 |
115 | /// The reporter all assertions deliver their results to.
[538/555] Compiling Harmonize JSONReporter.swift
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:53:16: warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | /// The environment of the process. Tests can replace it.
53 | static var environment: [String: String] = ProcessInfo.processInfo.environment
| |- warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'environment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'environment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | /// The collector for the violations file, or nil when the file is not requested.
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:56:16: warning: static property 'violationsReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 |
55 | /// The collector for the violations file, or nil when the file is not requested.
56 | static var violationsReporter: JSONReporter?
| |- warning: static property 'violationsReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'violationsReporter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'violationsReporter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 | /// True after the write at process exit is registered.
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:59:16: warning: static property 'exitWriteScheduled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | /// True after the write at process exit is registered.
59 | static var exitWriteScheduled = false
| |- warning: static property 'exitWriteScheduled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'exitWriteScheduled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'exitWriteScheduled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | private static let lock = NSLock()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:129:16: error: cannot find 'getppid' in scope
127 | /// or the test runner. Its id identifies the run.
128 | static var currentRunIdentifier: String {
129 | String(getppid())
| `- error: cannot find 'getppid' in scope
130 | }
131 |
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:140:26: error: cannot find 'open' in scope
138 |
139 | private static func withFileLock(at path: String, _ body: () -> Void) {
140 | let descriptor = open(path, O_CREAT | O_RDWR, 0o644)
| `- error: cannot find 'open' in scope
141 | guard descriptor >= 0 else {
142 | body()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:140:37: error: cannot find 'O_CREAT' in scope
138 |
139 | private static func withFileLock(at path: String, _ body: () -> Void) {
140 | let descriptor = open(path, O_CREAT | O_RDWR, 0o644)
| `- error: cannot find 'O_CREAT' in scope
141 | guard descriptor >= 0 else {
142 | body()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:140:47: error: cannot find 'O_RDWR' in scope
138 |
139 | private static func withFileLock(at path: String, _ body: () -> Void) {
140 | let descriptor = open(path, O_CREAT | O_RDWR, 0o644)
| `- error: cannot find 'O_RDWR' in scope
141 | guard descriptor >= 0 else {
142 | body()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:145:9: error: cannot find 'flock' in scope
143 | return
144 | }
145 | flock(descriptor, LOCK_EX)
| `- error: cannot find 'flock' in scope
146 | body()
147 | flock(descriptor, LOCK_UN)
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:145:27: error: cannot find 'LOCK_EX' in scope
143 | return
144 | }
145 | flock(descriptor, LOCK_EX)
| `- error: cannot find 'LOCK_EX' in scope
146 | body()
147 | flock(descriptor, LOCK_UN)
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:147:9: error: cannot find 'flock' in scope
145 | flock(descriptor, LOCK_EX)
146 | body()
147 | flock(descriptor, LOCK_UN)
| `- error: cannot find 'flock' in scope
148 | close(descriptor)
149 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:147:27: error: cannot find 'LOCK_UN' in scope
145 | flock(descriptor, LOCK_EX)
146 | body()
147 | flock(descriptor, LOCK_UN)
| `- error: cannot find 'LOCK_UN' in scope
148 | close(descriptor)
149 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:148:9: error: cannot find 'close' in scope
146 | body()
147 | flock(descriptor, LOCK_UN)
148 | close(descriptor)
| `- error: cannot find 'close' in scope
149 | }
150 |
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/Reporter.swift:113:24: warning: static property 'activeReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
111 | public enum HarmonizeReporting {
112 | private static let lock = NSLock()
113 | private static var activeReporter: Reporter = EnvironmentOutputs.makeDefaultReporter()
| |- warning: static property 'activeReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'activeReporter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'activeReporter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 |
115 | /// The reporter all assertions deliver their results to.
[539/555] Compiling Harmonize Reporter.swift
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:53:16: warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | /// The environment of the process. Tests can replace it.
53 | static var environment: [String: String] = ProcessInfo.processInfo.environment
| |- warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'environment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'environment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | /// The collector for the violations file, or nil when the file is not requested.
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:56:16: warning: static property 'violationsReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 |
55 | /// The collector for the violations file, or nil when the file is not requested.
56 | static var violationsReporter: JSONReporter?
| |- warning: static property 'violationsReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'violationsReporter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'violationsReporter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 | /// True after the write at process exit is registered.
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:59:16: warning: static property 'exitWriteScheduled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | /// True after the write at process exit is registered.
59 | static var exitWriteScheduled = false
| |- warning: static property 'exitWriteScheduled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'exitWriteScheduled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'exitWriteScheduled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | private static let lock = NSLock()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:129:16: error: cannot find 'getppid' in scope
127 | /// or the test runner. Its id identifies the run.
128 | static var currentRunIdentifier: String {
129 | String(getppid())
| `- error: cannot find 'getppid' in scope
130 | }
131 |
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:140:26: error: cannot find 'open' in scope
138 |
139 | private static func withFileLock(at path: String, _ body: () -> Void) {
140 | let descriptor = open(path, O_CREAT | O_RDWR, 0o644)
| `- error: cannot find 'open' in scope
141 | guard descriptor >= 0 else {
142 | body()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:140:37: error: cannot find 'O_CREAT' in scope
138 |
139 | private static func withFileLock(at path: String, _ body: () -> Void) {
140 | let descriptor = open(path, O_CREAT | O_RDWR, 0o644)
| `- error: cannot find 'O_CREAT' in scope
141 | guard descriptor >= 0 else {
142 | body()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:140:47: error: cannot find 'O_RDWR' in scope
138 |
139 | private static func withFileLock(at path: String, _ body: () -> Void) {
140 | let descriptor = open(path, O_CREAT | O_RDWR, 0o644)
| `- error: cannot find 'O_RDWR' in scope
141 | guard descriptor >= 0 else {
142 | body()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:145:9: error: cannot find 'flock' in scope
143 | return
144 | }
145 | flock(descriptor, LOCK_EX)
| `- error: cannot find 'flock' in scope
146 | body()
147 | flock(descriptor, LOCK_UN)
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:145:27: error: cannot find 'LOCK_EX' in scope
143 | return
144 | }
145 | flock(descriptor, LOCK_EX)
| `- error: cannot find 'LOCK_EX' in scope
146 | body()
147 | flock(descriptor, LOCK_UN)
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:147:9: error: cannot find 'flock' in scope
145 | flock(descriptor, LOCK_EX)
146 | body()
147 | flock(descriptor, LOCK_UN)
| `- error: cannot find 'flock' in scope
148 | close(descriptor)
149 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:147:27: error: cannot find 'LOCK_UN' in scope
145 | flock(descriptor, LOCK_EX)
146 | body()
147 | flock(descriptor, LOCK_UN)
| `- error: cannot find 'LOCK_UN' in scope
148 | close(descriptor)
149 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:148:9: error: cannot find 'close' in scope
146 | body()
147 | flock(descriptor, LOCK_UN)
148 | close(descriptor)
| `- error: cannot find 'close' in scope
149 | }
150 |
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/Reporter.swift:113:24: warning: static property 'activeReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
111 | public enum HarmonizeReporting {
112 | private static let lock = NSLock()
113 | private static var activeReporter: Reporter = EnvironmentOutputs.makeDefaultReporter()
| |- warning: static property 'activeReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'activeReporter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'activeReporter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 |
115 | /// The reporter all assertions deliver their results to.
[540/555] Compiling Harmonize Rule.swift
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:53:16: warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | /// The environment of the process. Tests can replace it.
53 | static var environment: [String: String] = ProcessInfo.processInfo.environment
| |- warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'environment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'environment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | /// The collector for the violations file, or nil when the file is not requested.
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:56:16: warning: static property 'violationsReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 |
55 | /// The collector for the violations file, or nil when the file is not requested.
56 | static var violationsReporter: JSONReporter?
| |- warning: static property 'violationsReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'violationsReporter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'violationsReporter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 | /// True after the write at process exit is registered.
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:59:16: warning: static property 'exitWriteScheduled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | /// True after the write at process exit is registered.
59 | static var exitWriteScheduled = false
| |- warning: static property 'exitWriteScheduled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'exitWriteScheduled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'exitWriteScheduled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | private static let lock = NSLock()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:129:16: error: cannot find 'getppid' in scope
127 | /// or the test runner. Its id identifies the run.
128 | static var currentRunIdentifier: String {
129 | String(getppid())
| `- error: cannot find 'getppid' in scope
130 | }
131 |
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:140:26: error: cannot find 'open' in scope
138 |
139 | private static func withFileLock(at path: String, _ body: () -> Void) {
140 | let descriptor = open(path, O_CREAT | O_RDWR, 0o644)
| `- error: cannot find 'open' in scope
141 | guard descriptor >= 0 else {
142 | body()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:140:37: error: cannot find 'O_CREAT' in scope
138 |
139 | private static func withFileLock(at path: String, _ body: () -> Void) {
140 | let descriptor = open(path, O_CREAT | O_RDWR, 0o644)
| `- error: cannot find 'O_CREAT' in scope
141 | guard descriptor >= 0 else {
142 | body()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:140:47: error: cannot find 'O_RDWR' in scope
138 |
139 | private static func withFileLock(at path: String, _ body: () -> Void) {
140 | let descriptor = open(path, O_CREAT | O_RDWR, 0o644)
| `- error: cannot find 'O_RDWR' in scope
141 | guard descriptor >= 0 else {
142 | body()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:145:9: error: cannot find 'flock' in scope
143 | return
144 | }
145 | flock(descriptor, LOCK_EX)
| `- error: cannot find 'flock' in scope
146 | body()
147 | flock(descriptor, LOCK_UN)
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:145:27: error: cannot find 'LOCK_EX' in scope
143 | return
144 | }
145 | flock(descriptor, LOCK_EX)
| `- error: cannot find 'LOCK_EX' in scope
146 | body()
147 | flock(descriptor, LOCK_UN)
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:147:9: error: cannot find 'flock' in scope
145 | flock(descriptor, LOCK_EX)
146 | body()
147 | flock(descriptor, LOCK_UN)
| `- error: cannot find 'flock' in scope
148 | close(descriptor)
149 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:147:27: error: cannot find 'LOCK_UN' in scope
145 | flock(descriptor, LOCK_EX)
146 | body()
147 | flock(descriptor, LOCK_UN)
| `- error: cannot find 'LOCK_UN' in scope
148 | close(descriptor)
149 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:148:9: error: cannot find 'close' in scope
146 | body()
147 | flock(descriptor, LOCK_UN)
148 | close(descriptor)
| `- error: cannot find 'close' in scope
149 | }
150 |
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/Reporter.swift:113:24: warning: static property 'activeReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
111 | public enum HarmonizeReporting {
112 | private static let lock = NSLock()
113 | private static var activeReporter: Reporter = EnvironmentOutputs.makeDefaultReporter()
| |- warning: static property 'activeReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'activeReporter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'activeReporter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 |
115 | /// The reporter all assertions deliver their results to.
[541/555] Compiling Harmonize XCTestReporter.swift
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:53:16: warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | /// The environment of the process. Tests can replace it.
53 | static var environment: [String: String] = ProcessInfo.processInfo.environment
| |- warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'environment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'environment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | /// The collector for the violations file, or nil when the file is not requested.
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:56:16: warning: static property 'violationsReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 |
55 | /// The collector for the violations file, or nil when the file is not requested.
56 | static var violationsReporter: JSONReporter?
| |- warning: static property 'violationsReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'violationsReporter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'violationsReporter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 | /// True after the write at process exit is registered.
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:59:16: warning: static property 'exitWriteScheduled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | /// True after the write at process exit is registered.
59 | static var exitWriteScheduled = false
| |- warning: static property 'exitWriteScheduled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'exitWriteScheduled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'exitWriteScheduled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | private static let lock = NSLock()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:129:16: error: cannot find 'getppid' in scope
127 | /// or the test runner. Its id identifies the run.
128 | static var currentRunIdentifier: String {
129 | String(getppid())
| `- error: cannot find 'getppid' in scope
130 | }
131 |
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:140:26: error: cannot find 'open' in scope
138 |
139 | private static func withFileLock(at path: String, _ body: () -> Void) {
140 | let descriptor = open(path, O_CREAT | O_RDWR, 0o644)
| `- error: cannot find 'open' in scope
141 | guard descriptor >= 0 else {
142 | body()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:140:37: error: cannot find 'O_CREAT' in scope
138 |
139 | private static func withFileLock(at path: String, _ body: () -> Void) {
140 | let descriptor = open(path, O_CREAT | O_RDWR, 0o644)
| `- error: cannot find 'O_CREAT' in scope
141 | guard descriptor >= 0 else {
142 | body()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:140:47: error: cannot find 'O_RDWR' in scope
138 |
139 | private static func withFileLock(at path: String, _ body: () -> Void) {
140 | let descriptor = open(path, O_CREAT | O_RDWR, 0o644)
| `- error: cannot find 'O_RDWR' in scope
141 | guard descriptor >= 0 else {
142 | body()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:145:9: error: cannot find 'flock' in scope
143 | return
144 | }
145 | flock(descriptor, LOCK_EX)
| `- error: cannot find 'flock' in scope
146 | body()
147 | flock(descriptor, LOCK_UN)
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:145:27: error: cannot find 'LOCK_EX' in scope
143 | return
144 | }
145 | flock(descriptor, LOCK_EX)
| `- error: cannot find 'LOCK_EX' in scope
146 | body()
147 | flock(descriptor, LOCK_UN)
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:147:9: error: cannot find 'flock' in scope
145 | flock(descriptor, LOCK_EX)
146 | body()
147 | flock(descriptor, LOCK_UN)
| `- error: cannot find 'flock' in scope
148 | close(descriptor)
149 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:147:27: error: cannot find 'LOCK_UN' in scope
145 | flock(descriptor, LOCK_EX)
146 | body()
147 | flock(descriptor, LOCK_UN)
| `- error: cannot find 'LOCK_UN' in scope
148 | close(descriptor)
149 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:148:9: error: cannot find 'close' in scope
146 | body()
147 | flock(descriptor, LOCK_UN)
148 | close(descriptor)
| `- error: cannot find 'close' in scope
149 | }
150 |
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/Reporter.swift:113:24: warning: static property 'activeReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
111 | public enum HarmonizeReporting {
112 | private static let lock = NSLock()
113 | private static var activeReporter: Reporter = EnvironmentOutputs.makeDefaultReporter()
| |- warning: static property 'activeReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'activeReporter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'activeReporter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 |
115 | /// The reporter all assertions deliver their results to.
[542/555] Compiling HarmonizeSkills main.swift
[543/555] Emitting module HarmonizeSkills
[545/556] Compiling Harmonize Array+BodyProviding.swift
[546/556] Compiling Harmonize Array+ClassesProviding.swift
[547/556] Compiling Harmonize Array+ClosuresProviding.swift
[548/556] Compiling Harmonize Array+Declaration.swift
[549/556] Compiling Harmonize Array+Enum.swift
[550/556] Compiling Harmonize Array+EnumsProviding.swift
[551/556] Compiling Harmonize SyntaxSourceCache.swift
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/Cache/SyntaxSourceCache.swift:66:14: warning: let 'syntaxTreeCache' is not concurrency-safe because non-'Sendable' type 'SyntaxSourceCache<SourceFileSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
32 | * that represent the same file.
33 | */
34 | internal class SyntaxSourceCache<Syntax> {
| `- note: generic class 'SyntaxSourceCache' does not conform to the 'Sendable' protocol
35 | private var elements: ConcurrentDictionary<String, Syntax> = ConcurrentDictionary()
36 | private let factory: (SwiftSourceCode) -> Syntax
:
64 | }
65 |
66 | internal let syntaxTreeCache = SyntaxSourceCache {
| |- warning: let 'syntaxTreeCache' is not concurrency-safe because non-'Sendable' type 'SyntaxSourceCache<SourceFileSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'syntaxTreeCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | Parser.parse(source: $0.source)
68 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/SwiftSourceCode.swift:31:24: warning: static property 'resolverCache' is not concurrency-safe because non-'Sendable' type 'ConcurrentDictionary<String, SwiftSourceCode.SourceFileSyntaxResolver>' may have shared mutable state; this is an error in the Swift 6 language mode
29 | public final class SwiftSourceCode {
30 | /// Static cache for resolvers keyed by file path to avoid re-walking AST
31 | private static let resolverCache = ConcurrentDictionary<String, SourceFileSyntaxResolver>()
| `- warning: static property 'resolverCache' is not concurrency-safe because non-'Sendable' type 'ConcurrentDictionary<String, SwiftSourceCode.SourceFileSyntaxResolver>' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Transforms Swift Syntax into the Semantics Models.
/host/spi-builder-workspace/Sources/HarmonizeUtils/Concurrency/ConcurrentDictionary.swift:27:21: note: generic class 'ConcurrentDictionary' does not conform to the 'Sendable' protocol
25 | /// integrity is maintained during concurrent access.
26 | ///
27 | package final class ConcurrentDictionary<Key: Hashable, Value> {
| `- note: generic class 'ConcurrentDictionary' does not conform to the 'Sendable' protocol
28 | private var elements: [Key: Value] = [:]
29 | private let queue = DispatchQueue(label: "harmonize.concurrentdic.queue", attributes: .concurrent)
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/SwiftSourceCode.swift:24:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HarmonizeUtils'
22 | import SwiftParser
23 | import HarmonizeSemantics
24 | import HarmonizeUtils
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HarmonizeUtils'
25 | import XCTest
26 |
:
29 | public final class SwiftSourceCode {
30 | /// Static cache for resolvers keyed by file path to avoid re-walking AST
31 | private static let resolverCache = ConcurrentDictionary<String, SourceFileSyntaxResolver>()
| |- note: add '@MainActor' to make static property 'resolverCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | /// Transforms Swift Syntax into the Semantics Models.
[552/556] Compiling Harmonize SwiftSourceCode.swift
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/Cache/SyntaxSourceCache.swift:66:14: warning: let 'syntaxTreeCache' is not concurrency-safe because non-'Sendable' type 'SyntaxSourceCache<SourceFileSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
32 | * that represent the same file.
33 | */
34 | internal class SyntaxSourceCache<Syntax> {
| `- note: generic class 'SyntaxSourceCache' does not conform to the 'Sendable' protocol
35 | private var elements: ConcurrentDictionary<String, Syntax> = ConcurrentDictionary()
36 | private let factory: (SwiftSourceCode) -> Syntax
:
64 | }
65 |
66 | internal let syntaxTreeCache = SyntaxSourceCache {
| |- warning: let 'syntaxTreeCache' is not concurrency-safe because non-'Sendable' type 'SyntaxSourceCache<SourceFileSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'syntaxTreeCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | Parser.parse(source: $0.source)
68 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/SwiftSourceCode.swift:31:24: warning: static property 'resolverCache' is not concurrency-safe because non-'Sendable' type 'ConcurrentDictionary<String, SwiftSourceCode.SourceFileSyntaxResolver>' may have shared mutable state; this is an error in the Swift 6 language mode
29 | public final class SwiftSourceCode {
30 | /// Static cache for resolvers keyed by file path to avoid re-walking AST
31 | private static let resolverCache = ConcurrentDictionary<String, SourceFileSyntaxResolver>()
| `- warning: static property 'resolverCache' is not concurrency-safe because non-'Sendable' type 'ConcurrentDictionary<String, SwiftSourceCode.SourceFileSyntaxResolver>' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Transforms Swift Syntax into the Semantics Models.
/host/spi-builder-workspace/Sources/HarmonizeUtils/Concurrency/ConcurrentDictionary.swift:27:21: note: generic class 'ConcurrentDictionary' does not conform to the 'Sendable' protocol
25 | /// integrity is maintained during concurrent access.
26 | ///
27 | package final class ConcurrentDictionary<Key: Hashable, Value> {
| `- note: generic class 'ConcurrentDictionary' does not conform to the 'Sendable' protocol
28 | private var elements: [Key: Value] = [:]
29 | private let queue = DispatchQueue(label: "harmonize.concurrentdic.queue", attributes: .concurrent)
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/SwiftSourceCode.swift:24:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HarmonizeUtils'
22 | import SwiftParser
23 | import HarmonizeSemantics
24 | import HarmonizeUtils
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HarmonizeUtils'
25 | import XCTest
26 |
:
29 | public final class SwiftSourceCode {
30 | /// Static cache for resolvers keyed by file path to avoid re-walking AST
31 | private static let resolverCache = ConcurrentDictionary<String, SourceFileSyntaxResolver>()
| |- note: add '@MainActor' to make static property 'resolverCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | /// Transforms Swift Syntax into the Semantics Models.
[553/556] Compiling Harmonize Assertions+SwiftSourceCode.swift
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/Cache/SyntaxSourceCache.swift:66:14: warning: let 'syntaxTreeCache' is not concurrency-safe because non-'Sendable' type 'SyntaxSourceCache<SourceFileSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
32 | * that represent the same file.
33 | */
34 | internal class SyntaxSourceCache<Syntax> {
| `- note: generic class 'SyntaxSourceCache' does not conform to the 'Sendable' protocol
35 | private var elements: ConcurrentDictionary<String, Syntax> = ConcurrentDictionary()
36 | private let factory: (SwiftSourceCode) -> Syntax
:
64 | }
65 |
66 | internal let syntaxTreeCache = SyntaxSourceCache {
| |- warning: let 'syntaxTreeCache' is not concurrency-safe because non-'Sendable' type 'SyntaxSourceCache<SourceFileSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'syntaxTreeCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | Parser.parse(source: $0.source)
68 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/SwiftSourceCode.swift:31:24: warning: static property 'resolverCache' is not concurrency-safe because non-'Sendable' type 'ConcurrentDictionary<String, SwiftSourceCode.SourceFileSyntaxResolver>' may have shared mutable state; this is an error in the Swift 6 language mode
29 | public final class SwiftSourceCode {
30 | /// Static cache for resolvers keyed by file path to avoid re-walking AST
31 | private static let resolverCache = ConcurrentDictionary<String, SourceFileSyntaxResolver>()
| `- warning: static property 'resolverCache' is not concurrency-safe because non-'Sendable' type 'ConcurrentDictionary<String, SwiftSourceCode.SourceFileSyntaxResolver>' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Transforms Swift Syntax into the Semantics Models.
/host/spi-builder-workspace/Sources/HarmonizeUtils/Concurrency/ConcurrentDictionary.swift:27:21: note: generic class 'ConcurrentDictionary' does not conform to the 'Sendable' protocol
25 | /// integrity is maintained during concurrent access.
26 | ///
27 | package final class ConcurrentDictionary<Key: Hashable, Value> {
| `- note: generic class 'ConcurrentDictionary' does not conform to the 'Sendable' protocol
28 | private var elements: [Key: Value] = [:]
29 | private let queue = DispatchQueue(label: "harmonize.concurrentdic.queue", attributes: .concurrent)
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/SwiftSourceCode.swift:24:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HarmonizeUtils'
22 | import SwiftParser
23 | import HarmonizeSemantics
24 | import HarmonizeUtils
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HarmonizeUtils'
25 | import XCTest
26 |
:
29 | public final class SwiftSourceCode {
30 | /// Static cache for resolvers keyed by file path to avoid re-walking AST
31 | private static let resolverCache = ConcurrentDictionary<String, SourceFileSyntaxResolver>()
| |- note: add '@MainActor' to make static property 'resolverCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | /// Transforms Swift Syntax into the Semantics Models.
[554/556] Compiling Harmonize Assertions.swift
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/Cache/SyntaxSourceCache.swift:66:14: warning: let 'syntaxTreeCache' is not concurrency-safe because non-'Sendable' type 'SyntaxSourceCache<SourceFileSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
32 | * that represent the same file.
33 | */
34 | internal class SyntaxSourceCache<Syntax> {
| `- note: generic class 'SyntaxSourceCache' does not conform to the 'Sendable' protocol
35 | private var elements: ConcurrentDictionary<String, Syntax> = ConcurrentDictionary()
36 | private let factory: (SwiftSourceCode) -> Syntax
:
64 | }
65 |
66 | internal let syntaxTreeCache = SyntaxSourceCache {
| |- warning: let 'syntaxTreeCache' is not concurrency-safe because non-'Sendable' type 'SyntaxSourceCache<SourceFileSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'syntaxTreeCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | Parser.parse(source: $0.source)
68 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/SwiftSourceCode.swift:31:24: warning: static property 'resolverCache' is not concurrency-safe because non-'Sendable' type 'ConcurrentDictionary<String, SwiftSourceCode.SourceFileSyntaxResolver>' may have shared mutable state; this is an error in the Swift 6 language mode
29 | public final class SwiftSourceCode {
30 | /// Static cache for resolvers keyed by file path to avoid re-walking AST
31 | private static let resolverCache = ConcurrentDictionary<String, SourceFileSyntaxResolver>()
| `- warning: static property 'resolverCache' is not concurrency-safe because non-'Sendable' type 'ConcurrentDictionary<String, SwiftSourceCode.SourceFileSyntaxResolver>' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Transforms Swift Syntax into the Semantics Models.
/host/spi-builder-workspace/Sources/HarmonizeUtils/Concurrency/ConcurrentDictionary.swift:27:21: note: generic class 'ConcurrentDictionary' does not conform to the 'Sendable' protocol
25 | /// integrity is maintained during concurrent access.
26 | ///
27 | package final class ConcurrentDictionary<Key: Hashable, Value> {
| `- note: generic class 'ConcurrentDictionary' does not conform to the 'Sendable' protocol
28 | private var elements: [Key: Value] = [:]
29 | private let queue = DispatchQueue(label: "harmonize.concurrentdic.queue", attributes: .concurrent)
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/SwiftSourceCode.swift:24:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HarmonizeUtils'
22 | import SwiftParser
23 | import HarmonizeSemantics
24 | import HarmonizeUtils
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HarmonizeUtils'
25 | import XCTest
26 |
:
29 | public final class SwiftSourceCode {
30 | /// Static cache for resolvers keyed by file path to avoid re-walking AST
31 | private static let resolverCache = ConcurrentDictionary<String, SourceFileSyntaxResolver>()
| |- note: add '@MainActor' to make static property 'resolverCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | /// Transforms Swift Syntax into the Semantics Models.
[555/556] Compiling Harmonize CodeIssue.swift
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/Cache/SyntaxSourceCache.swift:66:14: warning: let 'syntaxTreeCache' is not concurrency-safe because non-'Sendable' type 'SyntaxSourceCache<SourceFileSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
32 | * that represent the same file.
33 | */
34 | internal class SyntaxSourceCache<Syntax> {
| `- note: generic class 'SyntaxSourceCache' does not conform to the 'Sendable' protocol
35 | private var elements: ConcurrentDictionary<String, Syntax> = ConcurrentDictionary()
36 | private let factory: (SwiftSourceCode) -> Syntax
:
64 | }
65 |
66 | internal let syntaxTreeCache = SyntaxSourceCache {
| |- warning: let 'syntaxTreeCache' is not concurrency-safe because non-'Sendable' type 'SyntaxSourceCache<SourceFileSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'syntaxTreeCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | Parser.parse(source: $0.source)
68 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/SwiftSourceCode.swift:31:24: warning: static property 'resolverCache' is not concurrency-safe because non-'Sendable' type 'ConcurrentDictionary<String, SwiftSourceCode.SourceFileSyntaxResolver>' may have shared mutable state; this is an error in the Swift 6 language mode
29 | public final class SwiftSourceCode {
30 | /// Static cache for resolvers keyed by file path to avoid re-walking AST
31 | private static let resolverCache = ConcurrentDictionary<String, SourceFileSyntaxResolver>()
| `- warning: static property 'resolverCache' is not concurrency-safe because non-'Sendable' type 'ConcurrentDictionary<String, SwiftSourceCode.SourceFileSyntaxResolver>' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Transforms Swift Syntax into the Semantics Models.
/host/spi-builder-workspace/Sources/HarmonizeUtils/Concurrency/ConcurrentDictionary.swift:27:21: note: generic class 'ConcurrentDictionary' does not conform to the 'Sendable' protocol
25 | /// integrity is maintained during concurrent access.
26 | ///
27 | package final class ConcurrentDictionary<Key: Hashable, Value> {
| `- note: generic class 'ConcurrentDictionary' does not conform to the 'Sendable' protocol
28 | private var elements: [Key: Value] = [:]
29 | private let queue = DispatchQueue(label: "harmonize.concurrentdic.queue", attributes: .concurrent)
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/SwiftSourceCode.swift:24:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HarmonizeUtils'
22 | import SwiftParser
23 | import HarmonizeSemantics
24 | import HarmonizeUtils
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HarmonizeUtils'
25 | import XCTest
26 |
:
29 | public final class SwiftSourceCode {
30 | /// Static cache for resolvers keyed by file path to avoid re-walking AST
31 | private static let resolverCache = ConcurrentDictionary<String, SourceFileSyntaxResolver>()
| |- note: add '@MainActor' to make static property 'resolverCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | /// Transforms Swift Syntax into the Semantics Models.
[556/556] Compiling Harmonize Report.swift
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/Cache/SyntaxSourceCache.swift:66:14: warning: let 'syntaxTreeCache' is not concurrency-safe because non-'Sendable' type 'SyntaxSourceCache<SourceFileSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
32 | * that represent the same file.
33 | */
34 | internal class SyntaxSourceCache<Syntax> {
| `- note: generic class 'SyntaxSourceCache' does not conform to the 'Sendable' protocol
35 | private var elements: ConcurrentDictionary<String, Syntax> = ConcurrentDictionary()
36 | private let factory: (SwiftSourceCode) -> Syntax
:
64 | }
65 |
66 | internal let syntaxTreeCache = SyntaxSourceCache {
| |- warning: let 'syntaxTreeCache' is not concurrency-safe because non-'Sendable' type 'SyntaxSourceCache<SourceFileSyntax>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'syntaxTreeCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | Parser.parse(source: $0.source)
68 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/SwiftSourceCode.swift:31:24: warning: static property 'resolverCache' is not concurrency-safe because non-'Sendable' type 'ConcurrentDictionary<String, SwiftSourceCode.SourceFileSyntaxResolver>' may have shared mutable state; this is an error in the Swift 6 language mode
29 | public final class SwiftSourceCode {
30 | /// Static cache for resolvers keyed by file path to avoid re-walking AST
31 | private static let resolverCache = ConcurrentDictionary<String, SourceFileSyntaxResolver>()
| `- warning: static property 'resolverCache' is not concurrency-safe because non-'Sendable' type 'ConcurrentDictionary<String, SwiftSourceCode.SourceFileSyntaxResolver>' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Transforms Swift Syntax into the Semantics Models.
/host/spi-builder-workspace/Sources/HarmonizeUtils/Concurrency/ConcurrentDictionary.swift:27:21: note: generic class 'ConcurrentDictionary' does not conform to the 'Sendable' protocol
25 | /// integrity is maintained during concurrent access.
26 | ///
27 | package final class ConcurrentDictionary<Key: Hashable, Value> {
| `- note: generic class 'ConcurrentDictionary' does not conform to the 'Sendable' protocol
28 | private var elements: [Key: Value] = [:]
29 | private let queue = DispatchQueue(label: "harmonize.concurrentdic.queue", attributes: .concurrent)
/host/spi-builder-workspace/Sources/Harmonize/Frontend/API/SourceCode/SwiftSourceCode.swift:24:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HarmonizeUtils'
22 | import SwiftParser
23 | import HarmonizeSemantics
24 | import HarmonizeUtils
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HarmonizeUtils'
25 | import XCTest
26 |
:
29 | public final class SwiftSourceCode {
30 | /// Static cache for resolvers keyed by file path to avoid re-walking AST
31 | private static let resolverCache = ConcurrentDictionary<String, SourceFileSyntaxResolver>()
| |- note: add '@MainActor' to make static property 'resolverCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | /// Transforms Swift Syntax into the Semantics Models.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:4a2fa435ac333753e63ed6c656fe70fcece760f0601ff6567c222f81f55cb110
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin HarmonizeSkillsPlugin
Building for debugging...
[1/16] Write swift-version-24593BA9C3E375BF.txt
[3/48] Compiling SwiftSyntax604 Empty.swift
[4/48] Emitting module SwiftSyntax604
[5/48] Compiling SwiftSyntax603 Empty.swift
[6/48] Compiling SwiftSyntax604 Empty.swift
[7/49] Emitting module SwiftSyntax604
[8/57] Emitting module SwiftSyntax603
[9/67] Compiling SwiftSyntax602 Empty.swift
[10/67] Emitting module SwiftSyntax602
[11/72] Emitting module SwiftSyntax603
[12/72] Compiling SwiftSyntax603 Empty.swift
[13/73] Compiling SwiftSyntax602 Empty.swift
[14/73] Emitting module SwiftSyntax602
[19/71] Compiling Yams Resolver.swift
[20/71] Compiling Yams String+Yams.swift
[23/83] Compiling SwiftSyntax601 Empty.swift
[24/83] Emitting module SwiftSyntax601
[26/86] Compiling SwiftSyntax510 Empty.swift
[27/86] Compiling Yams Tag.swift
[28/86] Compiling Yams YamlAnchorProviding.swift
[29/86] Compiling SwiftSyntax601 Empty.swift
[32/89] Compiling SwiftSyntax600 Empty.swift
[33/89] Emitting module SwiftSyntax600
[34/90] Emitting module SwiftSyntax510
[36/90] Compiling SwiftSyntax510 Empty.swift
[37/91] Emitting module SwiftSyntax510
[41/91] Compiling SwiftSyntax600 Empty.swift
[42/91] Emitting module SwiftSyntax600
[47/99] Compiling Yams Mark.swift
[48/99] Compiling Yams Node.Alias.swift
[49/99] Compiling Yams Node.Mapping.swift
[50/98] Compiling Yams Node.Scalar.swift
[51/98] Compiling Yams Node.Sequence.swift
[52/98] Compiling Yams Node.swift
[53/98] Emitting module SwiftSyntax509
[54/98] Compiling SwiftSyntax509 Empty.swift
[56/99] Compiling Yams YamlError.swift
[57/99] Compiling Yams YamlTagProviding.swift
[58/99] Compiling HarmonizeUtils ConcurrentDictionary.swift
[59/98] Compiling SwiftSyntax509 Empty.swift
[60/98] Emitting module SwiftSyntax509
[61/99] Compiling HarmonizeUtils String+Extensions.swift
[62/99] Compiling HarmonizeUtils StaticStringImitator.swift
[64/99] Compiling Yams AliasDereferencingStrategy.swift
[65/99] Compiling Yams Anchor.swift
[66/99] Compiling Yams Constructor.swift
[67/99] Emitting module HarmonizeUtils
[68/100] Emitting module Yams
[73/164] Compiling SwiftSyntax Identifier.swift
[74/164] Compiling SwiftSyntax MemoryLayout.swift
[75/164] Compiling SwiftSyntax MissingNodeInitializers.swift
[76/164] Compiling SwiftSyntax RawSyntax.swift
[77/164] Compiling SwiftSyntax RawSyntaxArena.swift
[78/164] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[79/164] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[80/164] Compiling SwiftSyntax Syntax.swift
[81/164] Compiling SwiftSyntax SyntaxChildren.swift
[82/196] Compiling SwiftSyntax Assert.swift
[83/196] Compiling SwiftSyntax BumpPtrAllocator.swift
[84/196] Compiling SwiftSyntax CommonAncestor.swift
[86/229] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[87/229] Compiling SwiftSyntax RawSyntaxTokenView.swift
[88/229] Compiling SwiftSyntax SourceEdit.swift
[89/229] Compiling SwiftSyntax RawSyntax.swift
[90/229] Compiling SwiftSyntax RawSyntaxArena.swift
[91/229] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[92/229] Compiling SwiftSyntax AbsolutePosition.swift
[93/229] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[94/229] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[95/230] Wrapping AST for Yams for debugging
[97/230] Compiling SwiftSyntax Identifier.swift
[98/230] Compiling SwiftSyntax MemoryLayout.swift
[99/230] Compiling SwiftSyntax MissingNodeInitializers.swift
[115/246] Compiling SwiftSyntax SourceLength.swift
[116/246] Compiling SwiftSyntax SourceLocation.swift
[117/246] Compiling SwiftSyntax SourcePresence.swift
[118/246] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[119/246] Compiling SwiftSyntax Syntax.swift
[120/246] Compiling SwiftSyntax SyntaxChildren.swift
[121/246] Compiling SwiftSyntax SyntaxCollection.swift
[122/246] Compiling SwiftSyntax SyntaxHashable.swift
[123/246] Compiling SwiftSyntax SyntaxIdentifier.swift
[124/246] Emitting module SwiftSyntax
[126/246] Compiling SwiftSyntax Utils.swift
[127/246] Compiling SwiftSyntax ChildNameForKeyPath.swift
[128/246] Compiling SwiftSyntax Keyword.swift
[129/246] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[130/246] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[131/246] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[132/246] Compiling SwiftSyntax SyntaxBaseNodes.swift
[133/246] Compiling SwiftSyntax SyntaxCollections.swift
[134/246] Compiling SwiftSyntax SyntaxEnum.swift
[141/246] Compiling SwiftSyntax Convenience.swift
[142/246] Compiling SwiftSyntax CustomTraits.swift
[143/246] Compiling SwiftSyntax EditorPlaceholder.swift
[144/246] Compiling SwiftSyntax SyntaxKind.swift
[145/246] Compiling SwiftSyntax SyntaxRewriter.swift
[146/246] Compiling SwiftSyntax SyntaxTraits.swift
[147/246] Compiling SwiftSyntax SyntaxVisitor.swift
[148/246] Compiling SwiftSyntax TokenKind.swift
[149/246] Compiling SwiftSyntax Tokens.swift
[150/246] Compiling SwiftSyntax TriviaPieces.swift
[151/246] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[152/246] Compiling SwiftSyntax RawSyntaxNodesC.swift
[153/246] Compiling SwiftSyntax SyntaxNodeStructure.swift
[154/246] Compiling SwiftSyntax SyntaxProtocol.swift
[155/246] Compiling SwiftSyntax SyntaxText.swift
[156/246] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[157/246] Compiling SwiftSyntax TokenDiagnostic.swift
[158/246] Compiling SwiftSyntax TokenSequence.swift
[159/246] Compiling SwiftSyntax TokenSyntax.swift
[160/246] Compiling SwiftSyntax Trivia+commentValue.swift
[161/246] Compiling SwiftSyntax Trivia.swift
[171/246] Compiling SwiftSyntax RawSyntaxNodesD.swift
[172/246] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[173/246] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[174/246] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[175/246] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[176/246] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[177/246] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[178/246] Compiling SwiftSyntax RawSyntaxValidation.swift
[179/246] Compiling SwiftSyntax SyntaxNodesAB.swift
[198/246] Compiling SwiftSyntax SyntaxNodesC.swift
[199/246] Compiling SwiftSyntax SyntaxNodesD.swift
[200/246] Compiling SwiftSyntax SyntaxNodesEF.swift
[201/246] Compiling SwiftSyntax SyntaxNodesGHI.swift
[202/246] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[203/246] Compiling SwiftSyntax SyntaxNodesOP.swift
[204/246] Compiling SwiftSyntax SyntaxNodesQRS.swift
[205/246] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[207/298] Compiling SwiftDiagnostics Message.swift
[208/299] Emitting module SwiftDiagnostics
[209/299] Compiling SwiftDiagnostics Note.swift
[210/299] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[211/299] Compiling SwiftDiagnostics FixIt.swift
[212/299] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[213/299] Compiling SwiftParser Lexeme.swift
[214/299] Compiling SwiftParser LexemeSequence.swift
[215/299] Compiling SwiftParser Lexer.swift
[216/299] Compiling SwiftParser RegexLiteralLexer.swift
[217/299] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[219/300] Compiling SwiftParser LoopProgressCondition.swift
[220/300] Compiling SwiftParser Modifiers.swift
[221/300] Compiling SwiftParser Names.swift
[222/300] Compiling SwiftParser Nominals.swift
[223/300] Compiling SwiftParser Parameters.swift
[224/300] Compiling SwiftParser ParseSourceFile.swift
[225/305] Emitting module SwiftParser
[226/305] Compiling SwiftParser TokenSpec.swift
[227/305] Compiling SwiftParser TokenSpecSet.swift
[228/305] Compiling SwiftParser TopLevel.swift
[229/305] Compiling SwiftParser TriviaParser.swift
[230/305] Compiling SwiftParser Types.swift
[239/305] Compiling SwiftParser Parser.swift
[240/305] Compiling SwiftParser Patterns.swift
[241/305] Compiling SwiftParser Recovery.swift
[242/305] Compiling SwiftParser Specifiers.swift
[243/305] Compiling SwiftParser Statements.swift
[244/305] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[245/305] Compiling SwiftParser StringLiterals.swift
[246/305] Compiling SwiftParser SwiftParserCompatibility.swift
[247/305] Compiling SwiftParser SwiftVersion.swift
[248/305] Compiling SwiftParser SyntaxUtils.swift
[249/305] Compiling SwiftParser TokenConsumer.swift
[250/305] Compiling SwiftParser TokenPrecedence.swift
[251/305] Compiling SwiftParser Attributes.swift
[252/305] Compiling SwiftParser Availability.swift
[253/305] Compiling SwiftParser CharacterInfo.swift
[254/305] Compiling SwiftParser CollectionNodes+Parsable.swift
[255/305] Compiling SwiftParser CompilerFiles.swift
[256/305] Compiling SwiftParser Declarations.swift
[261/305] Compiling SwiftParser UnicodeScalarExtensions.swift
[262/305] Compiling SwiftParser Lookahead.swift
[263/305] Compiling SwiftParser Directives.swift
[264/305] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[265/305] Compiling SwiftParser Expressions.swift
[266/305] Compiling SwiftParser IncrementalParseTransition.swift
[267/305] Compiling SwiftParser IsValidIdentifier.swift
[268/305] Compiling SwiftParser Cursor.swift
[269/305] Compiling SwiftParser ExperimentalFeatures.swift
[270/305] Compiling SwiftParser IsLexerClassified.swift
[271/305] Compiling SwiftParser LayoutNodes+Parsable.swift
[272/305] Compiling SwiftParser Parser+TokenSpecSet.swift
[273/305] Compiling SwiftParser TokenSpecStaticMembers.swift
[275/320] Compiling SwiftOperators PrecedenceGroup.swift
[276/321] Compiling SwiftOperators OperatorTable+Semantics.swift
[277/321] Compiling SwiftOperators OperatorTable.swift
[278/321] Compiling SwiftOperators PrecedenceGraph.swift
[279/321] Compiling HarmonizeSkillsCore HarmonizeSkillsError.swift
[280/321] Compiling SwiftOperators OperatorTable+Folding.swift
[281/321] Compiling SwiftOperators OperatorError.swift
[282/321] Compiling SwiftOperators OperatorTable+Defaults.swift
[283/321] Compiling SwiftOperators SyntaxSynthesis.swift
[284/321] Compiling SwiftOperators Operator.swift
[285/321] Compiling SwiftOperators OperatorError+Diagnostics.swift
[286/321] Emitting module SwiftOperators
[288/322] Compiling HarmonizeSkillsCore ProjectConfig.swift
[289/322] Compiling HarmonizeSkillsCore StaticCatalog.swift
[290/322] Compiling HarmonizeSkillsCore SkillsEmitter.swift
[291/322] Emitting module HarmonizeSkillsCore
[293/384] Compiling HarmonizeSemantics SyntaxProtocol+ResolveParent.swift
[294/384] Compiling HarmonizeSemantics Function.swift
[295/384] Compiling HarmonizeSemantics Import.swift
[296/384] Compiling HarmonizeSemantics Initializer.swift
[297/384] Compiling HarmonizeSemantics Parameter.swift
[298/384] Compiling HarmonizeSemantics ProtocolDeclaration.swift
[299/384] Compiling HarmonizeSemantics ActorsProviding.swift
[300/384] Compiling HarmonizeSemantics ClassesProviding.swift
[301/384] Compiling HarmonizeSemantics ClosuresProviding.swift
[302/392] Compiling HarmonizeSemantics InheritanceClauseSyntax+ToString.swift
[303/392] Compiling HarmonizeSemantics InitializerClauseSyntax+InitializerClauseProviding.swift
[304/392] Compiling HarmonizeSemantics Modifier.swift
[305/392] Compiling HarmonizeSemantics AccessorBlocksProviding.swift
[306/392] Compiling HarmonizeSemantics AttributesProviding.swift
[307/392] Compiling HarmonizeSemantics BodyProviding.swift
[308/392] Compiling HarmonizeSemantics ConditionsProviding.swift
[309/392] Compiling HarmonizeSemantics FunctionCallsProviding.swift
[310/392] Compiling HarmonizeSemantics DeclarationsProviding.swift
[311/392] Compiling HarmonizeSemantics EnumsProviding.swift
[312/392] Compiling HarmonizeSemantics FunctionsProviding.swift
[313/392] Compiling HarmonizeSemantics InitializersProviding.swift
[314/392] Compiling HarmonizeSemantics ParametersProviding.swift
[315/392] Compiling HarmonizeSemantics ParentDeclarationProviding.swift
[316/392] Compiling HarmonizeSemantics ProtocolsProviding.swift
[317/392] Compiling HarmonizeSemantics SourceCodeProviding.swift
[318/392] Compiling HarmonizeSemantics StructsProviding.swift
[319/392] Emitting module HarmonizeSemantics
[320/392] Compiling HarmonizeSemantics ReturnClause.swift
[321/392] Compiling HarmonizeSemantics Statement.swift
[322/392] Compiling HarmonizeSemantics Switch.swift
[323/392] Compiling HarmonizeSemantics SyntaxFolding.swift
[324/392] Compiling HarmonizeSemantics TypeAnnotation.swift
[325/392] Compiling HarmonizeSemantics AttributeListSyntax+AttributesProviding.swift
[326/392] Compiling HarmonizeSemantics CodeBlockItemListSyntax+ToString.swift
[327/392] Compiling HarmonizeSemantics DeclModifierListSyntax+ModifiersProviding.swift
[328/392] Compiling HarmonizeSemantics Condition.swift
[329/392] Compiling HarmonizeSemantics Else.swift
[330/392] Compiling HarmonizeSemantics FunctionCall.swift
[331/392] Compiling HarmonizeSemantics GetterBlock.swift
[332/392] Compiling HarmonizeSemantics Guard.swift
[333/392] Compiling HarmonizeSemantics If.swift
[334/392] Compiling HarmonizeSemantics InfixExpression.swift
[335/392] Compiling HarmonizeSemantics InitializerClause.swift
[336/392] Emitting module HarmonizeSkills
[337/392] Compiling HarmonizeSkills main.swift
[338/392] Compiling HarmonizeSemantics DeclarationsCache.swift
[339/392] Compiling HarmonizeSemantics DeclarationsCollector.swift
[340/392] Compiling HarmonizeSemantics Declaration.swift
[341/392] Compiling HarmonizeSemantics ActorDeclaration.swift
[342/392] Compiling HarmonizeSemantics Class.swift
[343/392] Compiling HarmonizeSemantics Enum.swift
[344/392] Compiling HarmonizeSemantics EnumCase.swift
[345/392] Compiling HarmonizeSemantics Extension.swift
[346/392] Compiling HarmonizeSemantics Array+AsType.swift
[347/392] Compiling HarmonizeSemantics VariablesProviding.swift
[348/392] Compiling HarmonizeSemantics Struct.swift
[349/392] Compiling HarmonizeSemantics Variable.swift
[350/392] Compiling HarmonizeSemantics DeclarationDecoration.swift
[351/392] Compiling HarmonizeSemantics AccessorBlock.swift
[352/392] Compiling HarmonizeSemantics Attribute.swift
[353/392] Compiling HarmonizeSemantics Body.swift
[354/392] Compiling HarmonizeSemantics Closure.swift
[355/392] Compiling HarmonizeSemantics InheritanceProviding.swift
[356/392] Compiling HarmonizeSemantics InitializerClauseProviding.swift
[357/392] Compiling HarmonizeSemantics ModifiersProviding.swift
[358/392] Compiling HarmonizeSemantics ReturnProviding.swift
[359/392] Compiling HarmonizeSemantics TypeProviding.swift
[360/392] Compiling HarmonizeSemantics NamedDeclaration.swift
[361/392] Compiling HarmonizeSemantics SourceCodeLocation.swift
[362/392] Compiling HarmonizeSemantics SyntaxNodeProviding.swift
[364/394] Wrapping AST for HarmonizeSkills for debugging
[365/394] Write Objects.LinkFileList
[367/439] Compiling Harmonize Array+BodyProviding.swift
[368/439] Compiling Harmonize Array+ClassesProviding.swift
[369/439] Compiling Harmonize Array+ClosuresProviding.swift
[370/439] Compiling Harmonize Array+Declaration.swift
[371/439] Compiling Harmonize Array+Enum.swift
[372/439] Compiling Harmonize Array+EnumsProviding.swift
[372/445] Linking harmonize-skills
[374/445] Compiling Harmonize On.swift
[375/445] Compiling Harmonize String+LogicalOperators.swift
[376/445] Compiling Harmonize TypeAnnotation+Equatable.swift
[377/445] Compiling Harmonize Array+AccessorBlocksProviding.swift
[378/445] Compiling Harmonize Array+ActorsProviding.swift
[379/445] Compiling Harmonize Array+AttributesProviding.swift
[380/445] Compiling Harmonize Array+Base.swift
[381/445] Emitting module Harmonize
[382/445] Compiling Harmonize Array+StructsProviding.swift
[383/445] Compiling Harmonize Array+SwiftSourceCode.swift
[384/445] Compiling Harmonize Array+TypeProviding.swift
[385/445] Compiling Harmonize Array+VariablesProviding.swift
[386/445] Compiling Harmonize Harmonize.swift
[387/445] Compiling Harmonize HarmonizeScope.swift
[388/445] Compiling Harmonize Array+ModifiersProviding.swift
[389/445] Compiling Harmonize Array+NamedDeclaration.swift
[390/445] Compiling Harmonize Array+ParametersProviding.swift
[391/445] Compiling Harmonize Array+ProtocolsProviding.swift
[392/445] Compiling Harmonize Array+ReturnProviding.swift
[393/445] Compiling Harmonize Array+SourceCodeProviding.swift
[394/445] Compiling Harmonize Config.swift
[395/445] Compiling Harmonize ResolveProjectConfigFilePath.swift
[396/445] Compiling Harmonize GetFiles.swift
[397/445] Compiling Harmonize ResolveProjectWorkingDirectory.swift
[398/445] Compiling Harmonize HarmonizeScopeBuilder.swift
[399/445] Compiling Harmonize PlainSourceScopeBuilder.swift
[400/445] Compiling Harmonize Excluding.swift
[410/445] Compiling Harmonize Assertions+SwiftSourceCode.swift
[411/445] Compiling Harmonize Assertions.swift
[412/445] Compiling Harmonize CodeIssue.swift
[413/445] Compiling Harmonize Report.swift
[414/445] Compiling Harmonize Array+Extensions.swift
[415/445] Compiling Harmonize Array+FunctionCallsProviding.swift
[416/445] Compiling Harmonize Array+FunctionsProviding.swift
[417/445] Compiling Harmonize Array+InheritanceProviding.swift
[418/445] Compiling Harmonize Array+InitializerClauseProviding.swift
[426/445] Compiling Harmonize SyntaxSourceCache.swift
[427/445] Compiling Harmonize SwiftSourceCode.swift
[439/445] Compiling Harmonize Array+InitializersProviding.swift
[440/445] Compiling Harmonize CompositeReporter.swift
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:129:16: error: cannot find 'getppid' in scope
127 | /// or the test runner. Its id identifies the run.
128 | static var currentRunIdentifier: String {
129 | String(getppid())
| `- error: cannot find 'getppid' in scope
130 | }
131 |
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:140:26: error: cannot find 'open' in scope
138 |
139 | private static func withFileLock(at path: String, _ body: () -> Void) {
140 | let descriptor = open(path, O_CREAT | O_RDWR, 0o644)
| `- error: cannot find 'open' in scope
141 | guard descriptor >= 0 else {
142 | body()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:140:37: error: cannot find 'O_CREAT' in scope
138 |
139 | private static func withFileLock(at path: String, _ body: () -> Void) {
140 | let descriptor = open(path, O_CREAT | O_RDWR, 0o644)
| `- error: cannot find 'O_CREAT' in scope
141 | guard descriptor >= 0 else {
142 | body()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:140:47: error: cannot find 'O_RDWR' in scope
138 |
139 | private static func withFileLock(at path: String, _ body: () -> Void) {
140 | let descriptor = open(path, O_CREAT | O_RDWR, 0o644)
| `- error: cannot find 'O_RDWR' in scope
141 | guard descriptor >= 0 else {
142 | body()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:145:9: error: cannot find 'flock' in scope
143 | return
144 | }
145 | flock(descriptor, LOCK_EX)
| `- error: cannot find 'flock' in scope
146 | body()
147 | flock(descriptor, LOCK_UN)
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:145:27: error: cannot find 'LOCK_EX' in scope
143 | return
144 | }
145 | flock(descriptor, LOCK_EX)
| `- error: cannot find 'LOCK_EX' in scope
146 | body()
147 | flock(descriptor, LOCK_UN)
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:147:9: error: cannot find 'flock' in scope
145 | flock(descriptor, LOCK_EX)
146 | body()
147 | flock(descriptor, LOCK_UN)
| `- error: cannot find 'flock' in scope
148 | close(descriptor)
149 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:147:27: error: cannot find 'LOCK_UN' in scope
145 | flock(descriptor, LOCK_EX)
146 | body()
147 | flock(descriptor, LOCK_UN)
| `- error: cannot find 'LOCK_UN' in scope
148 | close(descriptor)
149 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:148:9: error: cannot find 'close' in scope
146 | body()
147 | flock(descriptor, LOCK_UN)
148 | close(descriptor)
| `- error: cannot find 'close' in scope
149 | }
150 |
[441/445] Compiling Harmonize EnvironmentOutputs.swift
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:129:16: error: cannot find 'getppid' in scope
127 | /// or the test runner. Its id identifies the run.
128 | static var currentRunIdentifier: String {
129 | String(getppid())
| `- error: cannot find 'getppid' in scope
130 | }
131 |
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:140:26: error: cannot find 'open' in scope
138 |
139 | private static func withFileLock(at path: String, _ body: () -> Void) {
140 | let descriptor = open(path, O_CREAT | O_RDWR, 0o644)
| `- error: cannot find 'open' in scope
141 | guard descriptor >= 0 else {
142 | body()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:140:37: error: cannot find 'O_CREAT' in scope
138 |
139 | private static func withFileLock(at path: String, _ body: () -> Void) {
140 | let descriptor = open(path, O_CREAT | O_RDWR, 0o644)
| `- error: cannot find 'O_CREAT' in scope
141 | guard descriptor >= 0 else {
142 | body()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:140:47: error: cannot find 'O_RDWR' in scope
138 |
139 | private static func withFileLock(at path: String, _ body: () -> Void) {
140 | let descriptor = open(path, O_CREAT | O_RDWR, 0o644)
| `- error: cannot find 'O_RDWR' in scope
141 | guard descriptor >= 0 else {
142 | body()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:145:9: error: cannot find 'flock' in scope
143 | return
144 | }
145 | flock(descriptor, LOCK_EX)
| `- error: cannot find 'flock' in scope
146 | body()
147 | flock(descriptor, LOCK_UN)
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:145:27: error: cannot find 'LOCK_EX' in scope
143 | return
144 | }
145 | flock(descriptor, LOCK_EX)
| `- error: cannot find 'LOCK_EX' in scope
146 | body()
147 | flock(descriptor, LOCK_UN)
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:147:9: error: cannot find 'flock' in scope
145 | flock(descriptor, LOCK_EX)
146 | body()
147 | flock(descriptor, LOCK_UN)
| `- error: cannot find 'flock' in scope
148 | close(descriptor)
149 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:147:27: error: cannot find 'LOCK_UN' in scope
145 | flock(descriptor, LOCK_EX)
146 | body()
147 | flock(descriptor, LOCK_UN)
| `- error: cannot find 'LOCK_UN' in scope
148 | close(descriptor)
149 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:148:9: error: cannot find 'close' in scope
146 | body()
147 | flock(descriptor, LOCK_UN)
148 | close(descriptor)
| `- error: cannot find 'close' in scope
149 | }
150 |
[442/445] Compiling Harmonize JSONReporter.swift
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:129:16: error: cannot find 'getppid' in scope
127 | /// or the test runner. Its id identifies the run.
128 | static var currentRunIdentifier: String {
129 | String(getppid())
| `- error: cannot find 'getppid' in scope
130 | }
131 |
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:140:26: error: cannot find 'open' in scope
138 |
139 | private static func withFileLock(at path: String, _ body: () -> Void) {
140 | let descriptor = open(path, O_CREAT | O_RDWR, 0o644)
| `- error: cannot find 'open' in scope
141 | guard descriptor >= 0 else {
142 | body()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:140:37: error: cannot find 'O_CREAT' in scope
138 |
139 | private static func withFileLock(at path: String, _ body: () -> Void) {
140 | let descriptor = open(path, O_CREAT | O_RDWR, 0o644)
| `- error: cannot find 'O_CREAT' in scope
141 | guard descriptor >= 0 else {
142 | body()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:140:47: error: cannot find 'O_RDWR' in scope
138 |
139 | private static func withFileLock(at path: String, _ body: () -> Void) {
140 | let descriptor = open(path, O_CREAT | O_RDWR, 0o644)
| `- error: cannot find 'O_RDWR' in scope
141 | guard descriptor >= 0 else {
142 | body()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:145:9: error: cannot find 'flock' in scope
143 | return
144 | }
145 | flock(descriptor, LOCK_EX)
| `- error: cannot find 'flock' in scope
146 | body()
147 | flock(descriptor, LOCK_UN)
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:145:27: error: cannot find 'LOCK_EX' in scope
143 | return
144 | }
145 | flock(descriptor, LOCK_EX)
| `- error: cannot find 'LOCK_EX' in scope
146 | body()
147 | flock(descriptor, LOCK_UN)
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:147:9: error: cannot find 'flock' in scope
145 | flock(descriptor, LOCK_EX)
146 | body()
147 | flock(descriptor, LOCK_UN)
| `- error: cannot find 'flock' in scope
148 | close(descriptor)
149 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:147:27: error: cannot find 'LOCK_UN' in scope
145 | flock(descriptor, LOCK_EX)
146 | body()
147 | flock(descriptor, LOCK_UN)
| `- error: cannot find 'LOCK_UN' in scope
148 | close(descriptor)
149 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:148:9: error: cannot find 'close' in scope
146 | body()
147 | flock(descriptor, LOCK_UN)
148 | close(descriptor)
| `- error: cannot find 'close' in scope
149 | }
150 |
[443/445] Compiling Harmonize Reporter.swift
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:129:16: error: cannot find 'getppid' in scope
127 | /// or the test runner. Its id identifies the run.
128 | static var currentRunIdentifier: String {
129 | String(getppid())
| `- error: cannot find 'getppid' in scope
130 | }
131 |
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:140:26: error: cannot find 'open' in scope
138 |
139 | private static func withFileLock(at path: String, _ body: () -> Void) {
140 | let descriptor = open(path, O_CREAT | O_RDWR, 0o644)
| `- error: cannot find 'open' in scope
141 | guard descriptor >= 0 else {
142 | body()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:140:37: error: cannot find 'O_CREAT' in scope
138 |
139 | private static func withFileLock(at path: String, _ body: () -> Void) {
140 | let descriptor = open(path, O_CREAT | O_RDWR, 0o644)
| `- error: cannot find 'O_CREAT' in scope
141 | guard descriptor >= 0 else {
142 | body()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:140:47: error: cannot find 'O_RDWR' in scope
138 |
139 | private static func withFileLock(at path: String, _ body: () -> Void) {
140 | let descriptor = open(path, O_CREAT | O_RDWR, 0o644)
| `- error: cannot find 'O_RDWR' in scope
141 | guard descriptor >= 0 else {
142 | body()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:145:9: error: cannot find 'flock' in scope
143 | return
144 | }
145 | flock(descriptor, LOCK_EX)
| `- error: cannot find 'flock' in scope
146 | body()
147 | flock(descriptor, LOCK_UN)
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:145:27: error: cannot find 'LOCK_EX' in scope
143 | return
144 | }
145 | flock(descriptor, LOCK_EX)
| `- error: cannot find 'LOCK_EX' in scope
146 | body()
147 | flock(descriptor, LOCK_UN)
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:147:9: error: cannot find 'flock' in scope
145 | flock(descriptor, LOCK_EX)
146 | body()
147 | flock(descriptor, LOCK_UN)
| `- error: cannot find 'flock' in scope
148 | close(descriptor)
149 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:147:27: error: cannot find 'LOCK_UN' in scope
145 | flock(descriptor, LOCK_EX)
146 | body()
147 | flock(descriptor, LOCK_UN)
| `- error: cannot find 'LOCK_UN' in scope
148 | close(descriptor)
149 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:148:9: error: cannot find 'close' in scope
146 | body()
147 | flock(descriptor, LOCK_UN)
148 | close(descriptor)
| `- error: cannot find 'close' in scope
149 | }
150 |
[444/445] Compiling Harmonize Rule.swift
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:129:16: error: cannot find 'getppid' in scope
127 | /// or the test runner. Its id identifies the run.
128 | static var currentRunIdentifier: String {
129 | String(getppid())
| `- error: cannot find 'getppid' in scope
130 | }
131 |
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:140:26: error: cannot find 'open' in scope
138 |
139 | private static func withFileLock(at path: String, _ body: () -> Void) {
140 | let descriptor = open(path, O_CREAT | O_RDWR, 0o644)
| `- error: cannot find 'open' in scope
141 | guard descriptor >= 0 else {
142 | body()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:140:37: error: cannot find 'O_CREAT' in scope
138 |
139 | private static func withFileLock(at path: String, _ body: () -> Void) {
140 | let descriptor = open(path, O_CREAT | O_RDWR, 0o644)
| `- error: cannot find 'O_CREAT' in scope
141 | guard descriptor >= 0 else {
142 | body()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:140:47: error: cannot find 'O_RDWR' in scope
138 |
139 | private static func withFileLock(at path: String, _ body: () -> Void) {
140 | let descriptor = open(path, O_CREAT | O_RDWR, 0o644)
| `- error: cannot find 'O_RDWR' in scope
141 | guard descriptor >= 0 else {
142 | body()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:145:9: error: cannot find 'flock' in scope
143 | return
144 | }
145 | flock(descriptor, LOCK_EX)
| `- error: cannot find 'flock' in scope
146 | body()
147 | flock(descriptor, LOCK_UN)
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:145:27: error: cannot find 'LOCK_EX' in scope
143 | return
144 | }
145 | flock(descriptor, LOCK_EX)
| `- error: cannot find 'LOCK_EX' in scope
146 | body()
147 | flock(descriptor, LOCK_UN)
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:147:9: error: cannot find 'flock' in scope
145 | flock(descriptor, LOCK_EX)
146 | body()
147 | flock(descriptor, LOCK_UN)
| `- error: cannot find 'flock' in scope
148 | close(descriptor)
149 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:147:27: error: cannot find 'LOCK_UN' in scope
145 | flock(descriptor, LOCK_EX)
146 | body()
147 | flock(descriptor, LOCK_UN)
| `- error: cannot find 'LOCK_UN' in scope
148 | close(descriptor)
149 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:148:9: error: cannot find 'close' in scope
146 | body()
147 | flock(descriptor, LOCK_UN)
148 | close(descriptor)
| `- error: cannot find 'close' in scope
149 | }
150 |
[445/445] Compiling Harmonize XCTestReporter.swift
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:129:16: error: cannot find 'getppid' in scope
127 | /// or the test runner. Its id identifies the run.
128 | static var currentRunIdentifier: String {
129 | String(getppid())
| `- error: cannot find 'getppid' in scope
130 | }
131 |
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:140:26: error: cannot find 'open' in scope
138 |
139 | private static func withFileLock(at path: String, _ body: () -> Void) {
140 | let descriptor = open(path, O_CREAT | O_RDWR, 0o644)
| `- error: cannot find 'open' in scope
141 | guard descriptor >= 0 else {
142 | body()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:140:37: error: cannot find 'O_CREAT' in scope
138 |
139 | private static func withFileLock(at path: String, _ body: () -> Void) {
140 | let descriptor = open(path, O_CREAT | O_RDWR, 0o644)
| `- error: cannot find 'O_CREAT' in scope
141 | guard descriptor >= 0 else {
142 | body()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:140:47: error: cannot find 'O_RDWR' in scope
138 |
139 | private static func withFileLock(at path: String, _ body: () -> Void) {
140 | let descriptor = open(path, O_CREAT | O_RDWR, 0o644)
| `- error: cannot find 'O_RDWR' in scope
141 | guard descriptor >= 0 else {
142 | body()
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:145:9: error: cannot find 'flock' in scope
143 | return
144 | }
145 | flock(descriptor, LOCK_EX)
| `- error: cannot find 'flock' in scope
146 | body()
147 | flock(descriptor, LOCK_UN)
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:145:27: error: cannot find 'LOCK_EX' in scope
143 | return
144 | }
145 | flock(descriptor, LOCK_EX)
| `- error: cannot find 'LOCK_EX' in scope
146 | body()
147 | flock(descriptor, LOCK_UN)
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:147:9: error: cannot find 'flock' in scope
145 | flock(descriptor, LOCK_EX)
146 | body()
147 | flock(descriptor, LOCK_UN)
| `- error: cannot find 'flock' in scope
148 | close(descriptor)
149 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:147:27: error: cannot find 'LOCK_UN' in scope
145 | flock(descriptor, LOCK_EX)
146 | body()
147 | flock(descriptor, LOCK_UN)
| `- error: cannot find 'LOCK_UN' in scope
148 | close(descriptor)
149 | }
/host/spi-builder-workspace/Sources/Harmonize/Frontend/Assertion/Reporting/EnvironmentOutputs.swift:148:9: error: cannot find 'close' in scope
146 | body()
147 | flock(descriptor, LOCK_UN)
148 | close(descriptor)
| `- error: cannot find 'close' in scope
149 | }
150 |
BUILD FAILURE 6.1 android