Build Information
Failed to build Harmonize, reference main (7b5d54), with Swift 6.1 for Android on 20 Nov 2026 11:34:28 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-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
[355/373] 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
[356/373] 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
[357/374] 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
[358/374] 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
[359/374] 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
[360/374] 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
[361/374] 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
[362/374] 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
[363/374] 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
[364/374] 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
[365/374] 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
[367/477] Compiling HarmonizeSkillsCore HarmonizeSkillsError.swift
[368/477] Compiling HarmonizeSkillsCore SkillsEmitter.swift
[369/477] Compiling HarmonizeSkillsCore StaticCatalog.swift
[370/477] Emitting module HarmonizeSkillsCore
[371/477] Compiling HarmonizeSkillsCore ProjectConfig.swift
[372/478] Compiling HarmonizeSemantics ReturnClause.swift
[373/478] Compiling HarmonizeSemantics Statement.swift
[374/478] Compiling HarmonizeSemantics Switch.swift
[375/478] Compiling HarmonizeSemantics SyntaxFolding.swift
[376/478] Compiling HarmonizeSemantics TypeAnnotation.swift
[377/478] Compiling HarmonizeSemantics AttributeListSyntax+AttributesProviding.swift
[378/478] Compiling HarmonizeSemantics CodeBlockItemListSyntax+ToString.swift
[379/478] Compiling HarmonizeSemantics DeclModifierListSyntax+ModifiersProviding.swift
[381/488] Compiling HarmonizeSemantics SyntaxProtocol+ResolveParent.swift
[382/488] Compiling HarmonizeSemantics Function.swift
[383/488] Compiling HarmonizeSemantics Import.swift
[384/488] Compiling HarmonizeSemantics Initializer.swift
[385/488] Compiling HarmonizeSemantics Parameter.swift
[386/488] Compiling HarmonizeSemantics ProtocolDeclaration.swift
[387/488] Compiling HarmonizeSemantics ActorsProviding.swift
[388/488] Compiling HarmonizeSemantics ClassesProviding.swift
[389/488] Compiling HarmonizeSemantics ClosuresProviding.swift
[389/488] Wrapping AST for HarmonizeSkillsCore for debugging
[391/488] Compiling HarmonizeSemantics InheritanceClauseSyntax+ToString.swift
[392/488] Compiling HarmonizeSemantics InitializerClauseSyntax+InitializerClauseProviding.swift
[393/488] Compiling HarmonizeSemantics Modifier.swift
[394/488] Compiling HarmonizeSemantics AccessorBlocksProviding.swift
[395/488] Compiling HarmonizeSemantics AttributesProviding.swift
[396/488] Compiling HarmonizeSemantics BodyProviding.swift
[397/488] Compiling HarmonizeSemantics ConditionsProviding.swift
[398/488] Compiling HarmonizeSemantics FunctionCallsProviding.swift
[399/488] Compiling HarmonizeSemantics Condition.swift
[400/488] Compiling HarmonizeSemantics Else.swift
[401/488] Compiling HarmonizeSemantics FunctionCall.swift
[402/488] Compiling HarmonizeSemantics GetterBlock.swift
[403/488] Compiling HarmonizeSemantics Guard.swift
[404/488] Compiling HarmonizeSemantics If.swift
[405/488] Compiling HarmonizeSemantics InfixExpression.swift
[406/488] Compiling HarmonizeSemantics InitializerClause.swift
[407/488] Compiling HarmonizeSkills main.swift
[408/488] Compiling HarmonizeSemantics InheritanceProviding.swift
[409/488] Compiling HarmonizeSemantics InitializerClauseProviding.swift
[410/488] Compiling HarmonizeSemantics ModifiersProviding.swift
[411/488] Compiling HarmonizeSemantics ReturnProviding.swift
[412/488] Compiling HarmonizeSemantics TypeProviding.swift
[413/488] Compiling HarmonizeSemantics NamedDeclaration.swift
[414/488] Compiling HarmonizeSemantics SourceCodeLocation.swift
[415/488] Compiling HarmonizeSemantics SyntaxNodeProviding.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
<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
[428/493] 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/493] Compiling HarmonizeSemantics Variable.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
[430/493] Compiling HarmonizeSemantics DeclarationDecoration.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
[431/493] Compiling HarmonizeSemantics AccessorBlock.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
[432/493] Compiling HarmonizeSemantics Attribute.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
[433/493] Compiling HarmonizeSemantics Body.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
[434/493] Compiling HarmonizeSemantics Closure.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
[435/493] Emitting module HarmonizeSkills
[436/494] 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]] = [:]
[437/494] 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]] = [:]
[438/494] 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]] = [:]
[439/494] 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]] = [:]
[440/494] 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]] = [:]
[441/494] 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]] = [:]
[442/494] 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]] = [:]
[443/494] 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]] = [:]
[444/494] 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]] = [:]
[446/494] Compiling HarmonizeSemantics DeclarationsProviding.swift
[447/494] Compiling HarmonizeSemantics EnumsProviding.swift
[448/494] Compiling HarmonizeSemantics FunctionsProviding.swift
[449/494] Compiling HarmonizeSemantics InitializersProviding.swift
[450/494] Compiling HarmonizeSemantics ParametersProviding.swift
[451/494] Compiling HarmonizeSemantics ParentDeclarationProviding.swift
[452/494] Compiling HarmonizeSemantics ProtocolsProviding.swift
[453/494] Compiling HarmonizeSemantics SourceCodeProviding.swift
[454/494] Compiling HarmonizeSemantics StructsProviding.swift
[455/494] Compiling HarmonizeSemantics VariablesProviding.swift
[456/494] Compiling HarmonizeSemantics Struct.swift
[463/495] Wrapping AST for HarmonizeSkills for debugging
[464/495] Write Objects.LinkFileList
[466/495] Emitting module SwiftParser
<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
[467/540] Compiling Harmonize PlainSourceScopeBuilder.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
[468/540] Compiling Harmonize Excluding.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
[469/540] Compiling Harmonize Array+Extensions.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
[470/540] Compiling Harmonize Array+FunctionCallsProviding.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
[471/540] Compiling Harmonize Array+FunctionsProviding.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
[472/540] Compiling Harmonize Array+BodyProviding.swift
[473/540] Compiling Harmonize Array+ClassesProviding.swift
[474/540] Compiling Harmonize Array+ClosuresProviding.swift
[475/540] Compiling Harmonize Array+Declaration.swift
[476/540] Compiling Harmonize Array+Enum.swift
[477/540] Compiling Harmonize Array+EnumsProviding.swift
[478/540] 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.
[478/546] Linking harmonize-skills
[480/546] Compiling Harmonize On.swift
[481/546] Compiling Harmonize String+LogicalOperators.swift
[482/546] Compiling Harmonize TypeAnnotation+Equatable.swift
[483/546] Compiling Harmonize Array+AccessorBlocksProviding.swift
[484/546] Compiling Harmonize Array+ActorsProviding.swift
[485/546] Compiling Harmonize Array+AttributesProviding.swift
[486/546] Compiling Harmonize Array+Base.swift
[487/546] 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>()
[488/546] 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>()
[489/546] 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>()
[490/546] 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>()
[491/546] 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>()
/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>()
/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>()
[494/546] 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.
[495/546] 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.
[496/546] 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.
[497/546] 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.
[498/546] 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.
[499/546] 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.
[500/546] Compiling Harmonize Array+StructsProviding.swift
[501/546] Compiling Harmonize Array+SwiftSourceCode.swift
[502/546] Compiling Harmonize Array+TypeProviding.swift
[503/546] Compiling Harmonize Array+VariablesProviding.swift
[504/546] Compiling Harmonize Harmonize.swift
[505/546] Compiling Harmonize HarmonizeScope.swift
[506/546] Compiling Harmonize Array+ModifiersProviding.swift
[507/546] Compiling Harmonize Array+NamedDeclaration.swift
[508/546] Compiling Harmonize Array+ParametersProviding.swift
[509/546] Compiling Harmonize Array+ProtocolsProviding.swift
[510/546] Compiling Harmonize Array+ReturnProviding.swift
[511/546] Compiling Harmonize Array+SourceCodeProviding.swift
[512/546] 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.
[513/546] 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.
[514/546] 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.
[515/546] 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.
[516/546] 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.
[517/546] 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.
[521/546] Compiling Harmonize Array+InheritanceProviding.swift
[522/546] Compiling Harmonize Array+InitializerClauseProviding.swift
[523/546] Compiling Harmonize Array+InitializersProviding.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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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/32] Emitting module SwiftSyntax510
[4/32] Compiling SwiftSyntax510 Empty.swift
[5/33] Emitting module SwiftSyntax601
[6/33] Emitting module SwiftSyntax600
[7/33] Compiling SwiftSyntax601 Empty.swift
[8/34] Compiling SwiftSyntax602 Empty.swift
[9/34] Compiling SwiftSyntax604 Empty.swift
[10/34] Emitting module SwiftSyntax604
[11/34] Compiling SwiftSyntax600 Empty.swift
[12/34] Emitting module SwiftSyntax603
[13/35] Compiling SwiftSyntax603 Empty.swift
[14/37] Compiling SwiftSyntax509 Empty.swift
[15/37] Emitting module SwiftSyntax509
[16/38] Emitting module SwiftSyntax602
[17/38] Compiling SwiftSyntax510 Empty.swift
[18/39] Emitting module SwiftSyntax510
[27/88] Emitting module SwiftSyntax604
[28/89] Compiling SwiftSyntax604 Empty.swift
[29/92] Compiling SwiftSyntax601 Empty.swift
[30/92] Emitting module SwiftSyntax602
[31/92] Compiling SwiftSyntax602 Empty.swift
[32/93] Emitting module SwiftSyntax601
[33/94] Compiling SwiftSyntax603 Empty.swift
[34/94] Compiling SwiftSyntax509 Empty.swift
[35/94] Emitting module SwiftSyntax509
[38/94] Compiling SwiftSyntax600 Empty.swift
[39/94] Emitting module SwiftSyntax600
[40/94] Emitting module SwiftSyntax603
[45/95] Compiling Yams Tag.swift
[46/95] Compiling Yams YamlAnchorProviding.swift
[47/97] Emitting module HarmonizeUtils
[48/97] Compiling HarmonizeUtils String+Extensions.swift
[49/97] Compiling HarmonizeUtils StaticStringImitator.swift
[50/97] Compiling HarmonizeUtils ConcurrentDictionary.swift
[51/99] Compiling Yams Resolver.swift
[52/99] Compiling Yams String+Yams.swift
[54/162] Emitting module Yams
[55/228] Compiling SwiftSyntax SyntaxProtocol.swift
[56/228] Compiling SwiftSyntax SyntaxText.swift
[57/228] Compiling SwiftSyntax Identifier.swift
[58/228] Compiling SwiftSyntax MemoryLayout.swift
[59/228] Compiling SwiftSyntax MissingNodeInitializers.swift
[60/228] Compiling SwiftSyntax RawSyntax.swift
[61/228] Compiling SwiftSyntax RawSyntaxArena.swift
[62/228] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[63/228] Compiling SwiftSyntax AbsolutePosition.swift
[64/228] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[65/228] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[71/228] Compiling SwiftSyntax Assert.swift
[72/228] Compiling SwiftSyntax BumpPtrAllocator.swift
[73/228] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[74/228] Compiling SwiftSyntax RawSyntaxTokenView.swift
[75/228] Compiling SwiftSyntax SourceEdit.swift
[76/228] Compiling SwiftSyntax CommonAncestor.swift
[77/228] Compiling SwiftSyntax Convenience.swift
[78/228] Compiling SwiftSyntax CustomTraits.swift
[83/228] Compiling SwiftSyntax EditorPlaceholder.swift
[84/228] Compiling SwiftSyntax SyntaxNodeStructure.swift
[90/229] Emitting module Yams
[95/230] Wrapping AST for Yams for debugging
[127/246] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[128/246] Compiling SwiftSyntax TokenDiagnostic.swift
[129/246] Compiling SwiftSyntax TokenSequence.swift
[130/246] Compiling SwiftSyntax TokenSyntax.swift
[131/246] Compiling SwiftSyntax Trivia+commentValue.swift
[132/246] Compiling SwiftSyntax Trivia.swift
[142/246] Emitting module SwiftSyntax
[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 RawSyntaxNodesD.swift
[154/246] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[155/246] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[156/246] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[157/246] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[158/246] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[159/246] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[160/246] Compiling SwiftSyntax RawSyntaxValidation.swift
[161/246] Compiling SwiftSyntax SyntaxNodesAB.swift
[180/246] Compiling SwiftSyntax SyntaxNodesC.swift
[181/246] Compiling SwiftSyntax SyntaxNodesD.swift
[182/246] Compiling SwiftSyntax SyntaxNodesEF.swift
[183/246] Compiling SwiftSyntax SyntaxNodesGHI.swift
[184/246] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[185/246] Compiling SwiftSyntax SyntaxNodesOP.swift
[186/246] Compiling SwiftSyntax SyntaxNodesQRS.swift
[187/246] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[196/246] Compiling SwiftSyntax Utils.swift
[197/246] Compiling SwiftSyntax ChildNameForKeyPath.swift
[198/246] Compiling SwiftSyntax Keyword.swift
[199/246] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[200/246] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[201/246] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[202/246] Compiling SwiftSyntax SyntaxBaseNodes.swift
[203/246] Compiling SwiftSyntax SyntaxCollections.swift
[204/246] Compiling SwiftSyntax SyntaxEnum.swift
[214/246] Compiling SwiftSyntax SourceLength.swift
[215/246] Compiling SwiftSyntax SourceLocation.swift
[216/246] Compiling SwiftSyntax SourcePresence.swift
[217/246] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[218/246] Compiling SwiftSyntax Syntax.swift
[219/246] Compiling SwiftSyntax SyntaxChildren.swift
[220/246] Compiling SwiftSyntax SyntaxCollection.swift
[221/246] Compiling SwiftSyntax SyntaxHashable.swift
[222/246] Compiling SwiftSyntax SyntaxIdentifier.swift
[224/298] Compiling SwiftDiagnostics Message.swift
[225/299] Compiling SwiftDiagnostics FixIt.swift
[226/299] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[227/299] Compiling SwiftParser SwiftVersion.swift
[228/299] Compiling SwiftParser SyntaxUtils.swift
[229/299] Emitting module SwiftDiagnostics
[230/299] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[231/299] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[232/299] Compiling SwiftParser StringLiterals.swift
[233/299] Compiling SwiftParser SwiftParserCompatibility.swift
[234/299] Compiling SwiftDiagnostics Note.swift
[236/300] Compiling SwiftParser LoopProgressCondition.swift
[237/300] Compiling SwiftParser Modifiers.swift
[238/300] Compiling SwiftParser Names.swift
[239/300] Compiling SwiftParser Nominals.swift
[240/300] Compiling SwiftParser Parameters.swift
[241/300] Compiling SwiftParser ParseSourceFile.swift
[242/305] Compiling SwiftParser Attributes.swift
[243/305] Compiling SwiftParser Availability.swift
[244/305] Compiling SwiftParser CharacterInfo.swift
[245/305] Compiling SwiftParser CollectionNodes+Parsable.swift
[246/305] Compiling SwiftParser CompilerFiles.swift
[247/305] Compiling SwiftParser Declarations.swift
[248/305] Compiling SwiftParser Lexeme.swift
[249/305] Compiling SwiftParser LexemeSequence.swift
[250/305] Compiling SwiftParser Lexer.swift
[251/305] Compiling SwiftParser RegexLiteralLexer.swift
[252/305] Compiling SwiftParser UnicodeScalarExtensions.swift
[253/305] Compiling SwiftParser Lookahead.swift
[254/305] Emitting module SwiftParser
[255/305] Compiling SwiftParser Directives.swift
[256/305] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[257/305] Compiling SwiftParser Expressions.swift
[258/305] Compiling SwiftParser IncrementalParseTransition.swift
[259/305] Compiling SwiftParser IsValidIdentifier.swift
[260/305] Compiling SwiftParser Cursor.swift
[261/305] Compiling SwiftParser TokenSpec.swift
[262/305] Compiling SwiftParser TokenSpecSet.swift
[263/305] Compiling SwiftParser TopLevel.swift
[264/305] Compiling SwiftParser TriviaParser.swift
[265/305] Compiling SwiftParser Types.swift
[270/305] Compiling SwiftParser TokenConsumer.swift
[271/305] Compiling SwiftParser TokenPrecedence.swift
[272/305] Compiling SwiftParser Parser.swift
[273/305] Compiling SwiftParser Patterns.swift
[274/305] Compiling SwiftParser Recovery.swift
[275/305] Compiling SwiftParser Specifiers.swift
[276/305] Compiling SwiftParser Statements.swift
[277/305] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[278/305] Compiling SwiftParser ExperimentalFeatures.swift
[279/305] Compiling SwiftParser IsLexerClassified.swift
[280/305] Compiling SwiftParser LayoutNodes+Parsable.swift
[281/305] Compiling SwiftParser Parser+TokenSpecSet.swift
[282/305] Compiling SwiftParser TokenSpecStaticMembers.swift
[284/320] Compiling SwiftOperators PrecedenceGroup.swift
[285/321] Compiling SwiftOperators PrecedenceGraph.swift
[286/321] Compiling SwiftOperators OperatorTable.swift
[287/321] Compiling SwiftOperators SyntaxSynthesis.swift
[288/321] Compiling SwiftOperators OperatorError.swift
[289/321] Compiling SwiftOperators OperatorTable+Defaults.swift
[290/321] Emitting module SwiftOperators
[291/321] Compiling SwiftOperators OperatorTable+Folding.swift
[292/321] Compiling SwiftOperators OperatorTable+Semantics.swift
[293/321] Compiling SwiftOperators Operator.swift
[294/321] Compiling SwiftOperators OperatorError+Diagnostics.swift
[295/322] Compiling HarmonizeSkillsCore SkillsEmitter.swift
[297/322] Compiling HarmonizeSkillsCore ProjectConfig.swift
[298/322] Compiling HarmonizeSkillsCore StaticCatalog.swift
[299/322] Emitting module HarmonizeSkillsCore
[300/322] Compiling HarmonizeSkillsCore HarmonizeSkillsError.swift
[302/382] Compiling HarmonizeSemantics DeclarationsProviding.swift
[303/382] Compiling HarmonizeSemantics EnumsProviding.swift
[304/382] Compiling HarmonizeSemantics FunctionsProviding.swift
[305/382] Compiling HarmonizeSemantics InitializersProviding.swift
[306/382] Compiling HarmonizeSemantics ParametersProviding.swift
[307/382] Compiling HarmonizeSemantics ParentDeclarationProviding.swift
[308/382] Compiling HarmonizeSemantics ProtocolsProviding.swift
[309/382] Compiling HarmonizeSemantics SourceCodeProviding.swift
[310/382] Compiling HarmonizeSemantics StructsProviding.swift
[311/392] Compiling HarmonizeSemantics InheritanceClauseSyntax+ToString.swift
[312/392] Compiling HarmonizeSemantics InitializerClauseSyntax+InitializerClauseProviding.swift
[313/392] Compiling HarmonizeSemantics Modifier.swift
[314/392] Compiling HarmonizeSemantics AccessorBlocksProviding.swift
[315/392] Compiling HarmonizeSemantics AttributesProviding.swift
[316/392] Compiling HarmonizeSemantics BodyProviding.swift
[317/392] Compiling HarmonizeSemantics ConditionsProviding.swift
[318/392] Compiling HarmonizeSemantics FunctionCallsProviding.swift
[319/392] Compiling HarmonizeSemantics ReturnClause.swift
[320/392] Compiling HarmonizeSemantics Statement.swift
[321/392] Compiling HarmonizeSemantics Switch.swift
[322/392] Compiling HarmonizeSemantics SyntaxFolding.swift
[323/392] Compiling HarmonizeSemantics TypeAnnotation.swift
[324/392] Compiling HarmonizeSemantics AttributeListSyntax+AttributesProviding.swift
[325/392] Compiling HarmonizeSemantics CodeBlockItemListSyntax+ToString.swift
[326/392] Compiling HarmonizeSemantics DeclModifierListSyntax+ModifiersProviding.swift
[327/392] Emitting module HarmonizeSkills
[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] Compiling HarmonizeSemantics SyntaxProtocol+ResolveParent.swift
[337/392] Compiling HarmonizeSemantics Function.swift
[338/392] Compiling HarmonizeSemantics Import.swift
[339/392] Compiling HarmonizeSemantics Initializer.swift
[340/392] Compiling HarmonizeSemantics Parameter.swift
[341/392] Compiling HarmonizeSemantics ProtocolDeclaration.swift
[342/392] Compiling HarmonizeSemantics ActorsProviding.swift
[343/392] Compiling HarmonizeSemantics ClassesProviding.swift
[344/392] Compiling HarmonizeSemantics ClosuresProviding.swift
[345/392] Compiling HarmonizeSemantics InheritanceProviding.swift
[346/392] Compiling HarmonizeSemantics InitializerClauseProviding.swift
[347/392] Compiling HarmonizeSemantics ModifiersProviding.swift
[348/392] Compiling HarmonizeSemantics ReturnProviding.swift
[349/392] Compiling HarmonizeSemantics TypeProviding.swift
[350/392] Compiling HarmonizeSemantics NamedDeclaration.swift
[351/392] Compiling HarmonizeSemantics SourceCodeLocation.swift
[352/392] Compiling HarmonizeSemantics SyntaxNodeProviding.swift
[353/392] Emitting module HarmonizeSemantics
[354/392] Compiling HarmonizeSkills main.swift
[355/392] Compiling HarmonizeSemantics VariablesProviding.swift
[356/392] Compiling HarmonizeSemantics Struct.swift
[357/392] Compiling HarmonizeSemantics Variable.swift
[358/392] Compiling HarmonizeSemantics DeclarationDecoration.swift
[359/392] Compiling HarmonizeSemantics AccessorBlock.swift
[360/392] Compiling HarmonizeSemantics Attribute.swift
[361/392] Compiling HarmonizeSemantics Body.swift
[362/392] Compiling HarmonizeSemantics Closure.swift
[363/392] Compiling HarmonizeSemantics DeclarationsCache.swift
[364/392] Compiling HarmonizeSemantics DeclarationsCollector.swift
[365/392] Compiling HarmonizeSemantics Declaration.swift
[366/392] Compiling HarmonizeSemantics ActorDeclaration.swift
[367/392] Compiling HarmonizeSemantics Class.swift
[368/392] Compiling HarmonizeSemantics Enum.swift
[369/392] Compiling HarmonizeSemantics EnumCase.swift
[370/392] Compiling HarmonizeSemantics Extension.swift
[371/392] Compiling HarmonizeSemantics Array+AsType.swift
[391/395] Wrapping AST for HarmonizeSkills for debugging
[392/395] Write Objects.LinkFileList
[394/482] Linking harmonize-skills
[396/482] Compiling SwiftParser Modifiers.swift
[397/482] Compiling SwiftParser Names.swift
[398/482] Compiling SwiftParser Nominals.swift
[399/482] Compiling SwiftParser Parameters.swift
[400/482] Compiling SwiftParser ParseSourceFile.swift
[401/482] Compiling SwiftParser Lexeme.swift
[402/488] Compiling SwiftParser SyntaxUtils.swift
[403/488] Compiling SwiftParser TokenConsumer.swift
[404/488] Compiling SwiftParser TokenPrecedence.swift
[405/488] Compiling Harmonize Array+Declaration.swift
[406/488] Compiling Harmonize Array+Enum.swift
[407/488] Compiling Harmonize Array+EnumsProviding.swift
[408/488] Compiling SwiftParser CharacterInfo.swift
[409/488] Compiling SwiftParser CollectionNodes+Parsable.swift
[410/488] Compiling SwiftParser CompilerFiles.swift
[411/488] Compiling SwiftParser Declarations.swift
[412/488] Compiling SwiftParser TokenSpec.swift
[413/488] Compiling SwiftParser TokenSpecSet.swift
[414/488] Compiling SwiftParser TopLevel.swift
[415/488] Compiling SwiftParser TriviaParser.swift
[416/488] Compiling SwiftParser Types.swift
[417/488] Compiling SwiftParser StringLiterals.swift
[418/488] Compiling SwiftParser SwiftParserCompatibility.swift
[419/488] Compiling SwiftParser SwiftVersion.swift
[420/488] Compiling SwiftParser Patterns.swift
[421/488] Compiling SwiftParser Recovery.swift
[422/488] Compiling SwiftParser Specifiers.swift
[423/488] Compiling SwiftParser Statements.swift
[424/488] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[425/488] Compiling SwiftParser Attributes.swift
[426/488] Compiling SwiftParser Availability.swift
[427/488] Emitting module Harmonize
[428/488] Compiling SwiftParser Directives.swift
[429/488] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[430/488] Compiling SwiftParser Expressions.swift
[431/488] Compiling SwiftParser IncrementalParseTransition.swift
[432/488] Compiling SwiftParser IsValidIdentifier.swift
[433/488] Compiling SwiftParser Cursor.swift
[434/488] Compiling SwiftParser LoopProgressCondition.swift
[435/488] 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 |
[436/488] 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 |
[437/488] 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 |
[438/488] 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 |
[439/488] 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 |
[440/488] 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 |
[441/488] Compiling SwiftParser LexemeSequence.swift
[442/488] Compiling SwiftParser Lexer.swift
[443/488] Compiling SwiftParser RegexLiteralLexer.swift
[444/488] Compiling SwiftParser UnicodeScalarExtensions.swift
[445/488] Compiling SwiftParser Lookahead.swift
[446/488] Compiling SwiftParser Parser.swift
BUILD FAILURE 6.1 android