The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CutwormBDD, reference 0.0.3 (cbbe28), with Swift 6.1 for macOS (SPM) on 11 Nov 2025 14:10:36 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/KaiaHealth/cutworm-bdd.git
Reference: 0.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/KaiaHealth/cutworm-bdd
 * tag               0.0.3      -> FETCH_HEAD
HEAD is now at cbbe281 Merge pull request #10 from KaiaHealth/fix-issue-capture
Cloned https://github.com/KaiaHealth/cutworm-bdd.git
Revision (git rev-parse @):
cbbe2816d50b80411b0246e1887bf4bb9665315b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/KaiaHealth/cutworm-bdd.git at 0.0.3
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/KaiaHealth/cutworm-bdd.git
https://github.com/KaiaHealth/cutworm-bdd.git
{
  "default_localization" : "en",
  "dependencies" : [
  ],
  "manifest_display_name" : "CutwormBDD",
  "name" : "CutwormBDD",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "CutwormBDD",
      "targets" : [
        "CutwormBDD"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CutwormBDDTests",
      "module_type" : "SwiftTarget",
      "name" : "CutwormBDDTests",
      "path" : "Tests/CutwormBDDTests",
      "sources" : [
        "FeatureTesterTests.swift",
        "code-generation/CodeGenerationTests.swift",
        "code-generation/FeatureFileEditorTests.swift",
        "code-generation/ScenarioFileEditorTests.swift",
        "code-generation/SourceCodeTests.swift",
        "io/FeatureParserTests.swift",
        "io/ResultJSONBuilderTests.swift",
        "mocks/Feature+Mock.swift",
        "mocks/Scenario+Mock.swift",
        "mocks/ScenarioResult+Mock.swift",
        "utilities/StringTests.swift"
      ],
      "target_dependencies" : [
        "CutwormBDD"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CutwormBDD",
      "module_type" : "SwiftTarget",
      "name" : "CutwormBDD",
      "path" : "Sources/CutwormBDD",
      "product_memberships" : [
        "CutwormBDD"
      ],
      "sources" : [
        "FeatureTester.swift",
        "ScenarioTester.swift",
        "code-generation/FeatureFileEditor.swift",
        "code-generation/FileEditor.swift",
        "code-generation/ScenarioFileEditor.swift",
        "code-generation/SourceCode.swift",
        "code-generation/SwiftRepresentable.swift",
        "io/FeatureParser.swift",
        "io/FeatureRepository.swift",
        "io/ResultExporter.swift",
        "io/ResultJSONBuilder.swift",
        "io/ResultRepository.swift",
        "model/CutwormBDDError.swift",
        "model/Feature.swift",
        "model/Scenario.swift",
        "model/ScenarioResult.swift",
        "model/Status.swift",
        "model/Step.swift",
        "model/StepResult.swift",
        "model/StepType.swift",
        "model/TestExecutionInfo.swift",
        "public/BDDStepChainable.swift",
        "public/BDDTestCase+CodeGeneration.swift",
        "public/BDDTestCase.swift",
        "utilities/BidirectionalCollection+Suffix.swift",
        "utilities/StringProtocol+Casing.swift",
        "utilities/StringProtocol+Indentation.swift",
        "xctest/TestObservationCenter.swift",
        "xctest/XCTAttachment+BDDError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/30] Emitting module CutwormBDD
/Users/admin/builder/spi-builder-workspace/Sources/CutwormBDD/FeatureTester.swift:14:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FeatureTester' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | import Combine
 8 |
 9 | final class FeatureTester {
   |             `- note: class 'FeatureTester' does not conform to the 'Sendable' protocol
10 |     enum TestEvent {
11 |         case failureOccurred
12 |     }
13 |
14 |     static let shared = FeatureTester()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FeatureTester' 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
15 |
16 |     var isScenarioActive: Bool { scenarioTester != nil }
/Users/admin/builder/spi-builder-workspace/Sources/CutwormBDD/io/FeatureRepository.swift:9:24: warning: static property 'repositories' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 7 |
 8 | struct FeatureRepository {
 9 |     private static var repositories: [Bundle: FeatureRepository] = [:]
   |                        |- warning: static property 'repositories' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'repositories' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'repositories' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |     private var features: [Feature] = []
11 |
/Users/admin/builder/spi-builder-workspace/Sources/CutwormBDD/io/ResultRepository.swift:9:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ResultRepository' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | final class ResultRepository {
   |             `- note: class 'ResultRepository' does not conform to the 'Sendable' protocol
 9 |     static let shared = ResultRepository()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ResultRepository' 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
10 |
11 |     private(set) var results = [ScenarioResult]()
/Users/admin/builder/spi-builder-workspace/Sources/CutwormBDD/xctest/TestObservationCenter.swift:10:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TestObservationCenter' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | import Combine
 8 |
 9 | final class TestObservationCenter: NSObject, XCTestObservation {
   |             `- note: class 'TestObservationCenter' does not conform to the 'Sendable' protocol
10 |     static let shared = TestObservationCenter()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TestObservationCenter' 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
11 |
12 |     private let issueSubject = PassthroughSubject<XCTIssue, Never>()
[4/32] Compiling CutwormBDD CutwormBDDError.swift
[5/32] Compiling CutwormBDD Feature.swift
[6/32] Compiling CutwormBDD Scenario.swift
[7/32] Compiling CutwormBDD StepResult.swift
[8/32] Compiling CutwormBDD StepType.swift
[9/32] Compiling CutwormBDD TestExecutionInfo.swift
[10/32] Compiling CutwormBDD FileEditor.swift
[11/32] Compiling CutwormBDD ScenarioFileEditor.swift
[12/32] Compiling CutwormBDD SourceCode.swift
[13/32] Compiling CutwormBDD ResultExporter.swift
/Users/admin/builder/spi-builder-workspace/Sources/CutwormBDD/io/ResultRepository.swift:9:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ResultRepository' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | final class ResultRepository {
   |             `- note: class 'ResultRepository' does not conform to the 'Sendable' protocol
 9 |     static let shared = ResultRepository()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ResultRepository' 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
10 |
11 |     private(set) var results = [ScenarioResult]()
[14/32] Compiling CutwormBDD ResultJSONBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/CutwormBDD/io/ResultRepository.swift:9:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ResultRepository' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | final class ResultRepository {
   |             `- note: class 'ResultRepository' does not conform to the 'Sendable' protocol
 9 |     static let shared = ResultRepository()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ResultRepository' 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
10 |
11 |     private(set) var results = [ScenarioResult]()
[15/32] Compiling CutwormBDD ResultRepository.swift
/Users/admin/builder/spi-builder-workspace/Sources/CutwormBDD/io/ResultRepository.swift:9:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ResultRepository' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | final class ResultRepository {
   |             `- note: class 'ResultRepository' does not conform to the 'Sendable' protocol
 9 |     static let shared = ResultRepository()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ResultRepository' 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
10 |
11 |     private(set) var results = [ScenarioResult]()
[16/32] Compiling CutwormBDD BidirectionalCollection+Suffix.swift
[17/32] Compiling CutwormBDD StringProtocol+Casing.swift
[18/32] Compiling CutwormBDD StringProtocol+Indentation.swift
[19/32] Compiling CutwormBDD ScenarioResult.swift
[20/32] Compiling CutwormBDD Status.swift
[21/32] Compiling CutwormBDD Step.swift
[22/32] Compiling CutwormBDD SwiftRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/CutwormBDD/io/FeatureRepository.swift:9:24: warning: static property 'repositories' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 7 |
 8 | struct FeatureRepository {
 9 |     private static var repositories: [Bundle: FeatureRepository] = [:]
   |                        |- warning: static property 'repositories' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'repositories' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'repositories' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |     private var features: [Feature] = []
11 |
[23/32] Compiling CutwormBDD FeatureParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/CutwormBDD/io/FeatureRepository.swift:9:24: warning: static property 'repositories' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 7 |
 8 | struct FeatureRepository {
 9 |     private static var repositories: [Bundle: FeatureRepository] = [:]
   |                        |- warning: static property 'repositories' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'repositories' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'repositories' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |     private var features: [Feature] = []
11 |
[24/32] Compiling CutwormBDD FeatureRepository.swift
/Users/admin/builder/spi-builder-workspace/Sources/CutwormBDD/io/FeatureRepository.swift:9:24: warning: static property 'repositories' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 7 |
 8 | struct FeatureRepository {
 9 |     private static var repositories: [Bundle: FeatureRepository] = [:]
   |                        |- warning: static property 'repositories' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'repositories' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'repositories' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |     private var features: [Feature] = []
11 |
[25/32] Compiling CutwormBDD FeatureTester.swift
/Users/admin/builder/spi-builder-workspace/Sources/CutwormBDD/FeatureTester.swift:14:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FeatureTester' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | import Combine
 8 |
 9 | final class FeatureTester {
   |             `- note: class 'FeatureTester' does not conform to the 'Sendable' protocol
10 |     enum TestEvent {
11 |         case failureOccurred
12 |     }
13 |
14 |     static let shared = FeatureTester()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FeatureTester' 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
15 |
16 |     var isScenarioActive: Bool { scenarioTester != nil }
[26/32] Compiling CutwormBDD ScenarioTester.swift
/Users/admin/builder/spi-builder-workspace/Sources/CutwormBDD/FeatureTester.swift:14:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FeatureTester' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | import Combine
 8 |
 9 | final class FeatureTester {
   |             `- note: class 'FeatureTester' does not conform to the 'Sendable' protocol
10 |     enum TestEvent {
11 |         case failureOccurred
12 |     }
13 |
14 |     static let shared = FeatureTester()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FeatureTester' 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
15 |
16 |     var isScenarioActive: Bool { scenarioTester != nil }
[27/32] Compiling CutwormBDD FeatureFileEditor.swift
/Users/admin/builder/spi-builder-workspace/Sources/CutwormBDD/FeatureTester.swift:14:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FeatureTester' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | import Combine
 8 |
 9 | final class FeatureTester {
   |             `- note: class 'FeatureTester' does not conform to the 'Sendable' protocol
10 |     enum TestEvent {
11 |         case failureOccurred
12 |     }
13 |
14 |     static let shared = FeatureTester()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FeatureTester' 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
15 |
16 |     var isScenarioActive: Bool { scenarioTester != nil }
[28/32] Compiling CutwormBDD BDDStepChainable.swift
/Users/admin/builder/spi-builder-workspace/Sources/CutwormBDD/public/BDDStepChainable.swift:99:28: warning: call to main actor-isolated class method 'runActivity(named:block:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 86 |     var featureTester: FeatureTester { .shared }
 87 |
 88 |     func assertNoThrow(
    |          `- note: add '@MainActor' to make instance method 'assertNoThrow(file:line:_:)' part of global actor 'MainActor'
 89 |         file: StaticString,
 90 |         line: UInt,
    :
 97 |             if let error = error as? CutwormBDDError,
 98 |                 let attachment = XCTAttachment(bddError: error) {
 99 |                 XCTContext.runActivity(named: "Example code") { activity in
    |                            `- warning: call to main actor-isolated class method 'runActivity(named:block:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
100 |                     activity.add(attachment)
101 |                 }
XCTest.XCTContext.runActivity:2:46: note: calls to class method 'runActivity(named:block:)' from outside of its actor context are implicitly asynchronous
1 | class XCTContext {
2 | @MainActor @preconcurrency public class func runActivity<Result>(named name: String, block: @MainActor (any XCTActivity) throws -> Result) rethrows -> Result}
  |                                              `- note: calls to class method 'runActivity(named:block:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CutwormBDD/public/BDDTestCase.swift:67:21: error: value of type 'XCTIssue' has no member 'isFailure'
 65 |         let testObservationCenter = TestObservationCenter.shared
 66 |         let testEventPublisher = testObservationCenter.issuePublisher
 67 |             .filter(\.isFailure)
    |                     `- error: value of type 'XCTIssue' has no member 'isFailure'
 68 |             .map { _ in FeatureTester.TestEvent.failureOccurred }
 69 |             .eraseToAnyPublisher()
[29/32] Compiling CutwormBDD BDDTestCase+CodeGeneration.swift
/Users/admin/builder/spi-builder-workspace/Sources/CutwormBDD/public/BDDStepChainable.swift:99:28: warning: call to main actor-isolated class method 'runActivity(named:block:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 86 |     var featureTester: FeatureTester { .shared }
 87 |
 88 |     func assertNoThrow(
    |          `- note: add '@MainActor' to make instance method 'assertNoThrow(file:line:_:)' part of global actor 'MainActor'
 89 |         file: StaticString,
 90 |         line: UInt,
    :
 97 |             if let error = error as? CutwormBDDError,
 98 |                 let attachment = XCTAttachment(bddError: error) {
 99 |                 XCTContext.runActivity(named: "Example code") { activity in
    |                            `- warning: call to main actor-isolated class method 'runActivity(named:block:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
100 |                     activity.add(attachment)
101 |                 }
XCTest.XCTContext.runActivity:2:46: note: calls to class method 'runActivity(named:block:)' from outside of its actor context are implicitly asynchronous
1 | class XCTContext {
2 | @MainActor @preconcurrency public class func runActivity<Result>(named name: String, block: @MainActor (any XCTActivity) throws -> Result) rethrows -> Result}
  |                                              `- note: calls to class method 'runActivity(named:block:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CutwormBDD/public/BDDTestCase.swift:67:21: error: value of type 'XCTIssue' has no member 'isFailure'
 65 |         let testObservationCenter = TestObservationCenter.shared
 66 |         let testEventPublisher = testObservationCenter.issuePublisher
 67 |             .filter(\.isFailure)
    |                     `- error: value of type 'XCTIssue' has no member 'isFailure'
 68 |             .map { _ in FeatureTester.TestEvent.failureOccurred }
 69 |             .eraseToAnyPublisher()
[30/32] Compiling CutwormBDD BDDTestCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/CutwormBDD/public/BDDStepChainable.swift:99:28: warning: call to main actor-isolated class method 'runActivity(named:block:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 86 |     var featureTester: FeatureTester { .shared }
 87 |
 88 |     func assertNoThrow(
    |          `- note: add '@MainActor' to make instance method 'assertNoThrow(file:line:_:)' part of global actor 'MainActor'
 89 |         file: StaticString,
 90 |         line: UInt,
    :
 97 |             if let error = error as? CutwormBDDError,
 98 |                 let attachment = XCTAttachment(bddError: error) {
 99 |                 XCTContext.runActivity(named: "Example code") { activity in
    |                            `- warning: call to main actor-isolated class method 'runActivity(named:block:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
100 |                     activity.add(attachment)
101 |                 }
XCTest.XCTContext.runActivity:2:46: note: calls to class method 'runActivity(named:block:)' from outside of its actor context are implicitly asynchronous
1 | class XCTContext {
2 | @MainActor @preconcurrency public class func runActivity<Result>(named name: String, block: @MainActor (any XCTActivity) throws -> Result) rethrows -> Result}
  |                                              `- note: calls to class method 'runActivity(named:block:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CutwormBDD/public/BDDTestCase.swift:67:21: error: value of type 'XCTIssue' has no member 'isFailure'
 65 |         let testObservationCenter = TestObservationCenter.shared
 66 |         let testEventPublisher = testObservationCenter.issuePublisher
 67 |             .filter(\.isFailure)
    |                     `- error: value of type 'XCTIssue' has no member 'isFailure'
 68 |             .map { _ in FeatureTester.TestEvent.failureOccurred }
 69 |             .eraseToAnyPublisher()
[31/32] Compiling CutwormBDD TestObservationCenter.swift
/Users/admin/builder/spi-builder-workspace/Sources/CutwormBDD/xctest/TestObservationCenter.swift:10:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TestObservationCenter' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | import Combine
 8 |
 9 | final class TestObservationCenter: NSObject, XCTestObservation {
   |             `- note: class 'TestObservationCenter' does not conform to the 'Sendable' protocol
10 |     static let shared = TestObservationCenter()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TestObservationCenter' 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
11 |
12 |     private let issueSubject = PassthroughSubject<XCTIssue, Never>()
[32/32] Compiling CutwormBDD XCTAttachment+BDDError.swift
/Users/admin/builder/spi-builder-workspace/Sources/CutwormBDD/xctest/TestObservationCenter.swift:10:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TestObservationCenter' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | import Combine
 8 |
 9 | final class TestObservationCenter: NSObject, XCTestObservation {
   |             `- note: class 'TestObservationCenter' does not conform to the 'Sendable' protocol
10 |     static let shared = TestObservationCenter()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TestObservationCenter' 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
11 |
12 |     private let issueSubject = PassthroughSubject<XCTIssue, Never>()
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/29] Emitting module CutwormBDD
[3/31] Compiling CutwormBDD ResultExporter.swift
[4/31] Compiling CutwormBDD ResultJSONBuilder.swift
[5/31] Compiling CutwormBDD ResultRepository.swift
[6/31] Compiling CutwormBDD ScenarioResult.swift
[7/31] Compiling CutwormBDD Status.swift
[8/31] Compiling CutwormBDD Step.swift
[9/31] Compiling CutwormBDD BDDStepChainable.swift
/Users/admin/builder/spi-builder-workspace/Sources/CutwormBDD/public/BDDTestCase.swift:67:21: error: value of type 'XCTIssue' has no member 'isFailure'
 65 |         let testObservationCenter = TestObservationCenter.shared
 66 |         let testEventPublisher = testObservationCenter.issuePublisher
 67 |             .filter(\.isFailure)
    |                     `- error: value of type 'XCTIssue' has no member 'isFailure'
 68 |             .map { _ in FeatureTester.TestEvent.failureOccurred }
 69 |             .eraseToAnyPublisher()
[10/31] Compiling CutwormBDD BDDTestCase+CodeGeneration.swift
/Users/admin/builder/spi-builder-workspace/Sources/CutwormBDD/public/BDDTestCase.swift:67:21: error: value of type 'XCTIssue' has no member 'isFailure'
 65 |         let testObservationCenter = TestObservationCenter.shared
 66 |         let testEventPublisher = testObservationCenter.issuePublisher
 67 |             .filter(\.isFailure)
    |                     `- error: value of type 'XCTIssue' has no member 'isFailure'
 68 |             .map { _ in FeatureTester.TestEvent.failureOccurred }
 69 |             .eraseToAnyPublisher()
[11/31] Compiling CutwormBDD BDDTestCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/CutwormBDD/public/BDDTestCase.swift:67:21: error: value of type 'XCTIssue' has no member 'isFailure'
 65 |         let testObservationCenter = TestObservationCenter.shared
 66 |         let testEventPublisher = testObservationCenter.issuePublisher
 67 |             .filter(\.isFailure)
    |                     `- error: value of type 'XCTIssue' has no member 'isFailure'
 68 |             .map { _ in FeatureTester.TestEvent.failureOccurred }
 69 |             .eraseToAnyPublisher()
[12/31] Compiling CutwormBDD BidirectionalCollection+Suffix.swift
[13/31] Compiling CutwormBDD StringProtocol+Casing.swift
[14/31] Compiling CutwormBDD StringProtocol+Indentation.swift
[15/31] Compiling CutwormBDD FileEditor.swift
[16/31] Compiling CutwormBDD ScenarioFileEditor.swift
[17/31] Compiling CutwormBDD SourceCode.swift
[18/31] Compiling CutwormBDD CutwormBDDError.swift
[19/31] Compiling CutwormBDD Feature.swift
[20/31] Compiling CutwormBDD Scenario.swift
[21/31] Compiling CutwormBDD StepResult.swift
[22/31] Compiling CutwormBDD StepType.swift
[23/31] Compiling CutwormBDD TestExecutionInfo.swift
[24/31] Compiling CutwormBDD SwiftRepresentable.swift
[25/31] Compiling CutwormBDD FeatureParser.swift
[26/31] Compiling CutwormBDD FeatureRepository.swift
[27/31] Compiling CutwormBDD FeatureTester.swift
[28/31] Compiling CutwormBDD ScenarioTester.swift
[29/31] Compiling CutwormBDD FeatureFileEditor.swift
[30/31] Compiling CutwormBDD TestObservationCenter.swift
[31/31] Compiling CutwormBDD XCTAttachment+BDDError.swift
BUILD FAILURE 6.1 macosSpm