Build Information
Failed to build swift-state-graph, reference main (d1d37a), with Swift 6.4 for tvOS using Xcode 27.0 on 24 Oct 2026 17:52:01 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme swift-state-graph-Package -destination generic/platform=tvOSBuild Log
30 | processExitsWith: .failure,
31 | observing: [\.standardErrorContent]
Testing.expect:3:40: note: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' has been explicitly marked unavailable here
1 | @discardableResult
2 | @available(*, unavailable, message: "Exit tests are not available on this platform.")
3 | @freestanding(expression) public macro expect(processExitsWith expectedExitCondition: ExitTest.Condition, observing observedValues: [any PartialKeyPath<ExitTest.Result> & Sendable] = [], _ comment: @autoclosure () -> Comment? = nil, sourceLocation: SourceLocation = #_sourceLocation, performing expression: @escaping @Sendable () async throws -> Void) -> ExitTest.Result? = #externalMacro(module: "TestingMacros", type: "ExitTestExpectMacro")
| `- note: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:30:26: error: 'failure' is unavailable: Exit tests are not available on this platform.
28 | func transactionComputedDescriptorCannotMutateStored() async {
29 | let result = await #expect(
30 | processExitsWith: .failure,
| `- error: 'failure' is unavailable: Exit tests are not available on this platform.
31 | observing: [\.standardErrorContent]
32 | ) {
Testing.ExitTest.Condition.failure:3:19: note: 'failure' has been explicitly marked unavailable here
1 | struct ExitTest {
2 | struct Condition {
3 | public static var failure: ExitTest.Condition { get } }
| `- note: 'failure' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:29:18: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
27 | @Test
28 | func transactionComputedDescriptorCannotMutateStored() async {
29 | let result = await #expect(
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
30 | processExitsWith: .failure,
31 | observing: [\.standardErrorContent]
macro expansion #expect:1:27: error: extra arguments at positions #1, #2, #3 in call
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:59:6: note: expanded code originates here
47 | @Test
48 | func computedDescriptorCannotStartTransaction() async {
49 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
50 | processExitsWith: .failure,
51 | observing: [\.standardErrorContent]
:
57 |
58 | _ = computed.wrappedValue
59 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x91de7e9f9524c93e,0x6b964badbecf8d2b,0xb1240f5960af6879,0xea089eb690c213c3),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: extra arguments at positions #1, #2, #3 in call
| 2 | @Sendable func $s15StateGraphTests0041GraphMutationPreconditionTestsswift_owGDnfMX48_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
60 |
61 | expectMutationDiagnostic(result, operation: "withGraphTransaction")
Testing.__checkClosureCall:1:13: note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
1 | public func __checkClosureCall<R>(performing body: () throws -> R, throws errorMatcher: (any Error) throws -> Bool, mismatchExplanation: ((any Error) -> String)? = nil, expression: __Expression, comments: @autoclosure () -> [Comment], isRequired: Bool, sourceLocation: SourceLocation) -> Result<(any Error)?, any Error>
| `- note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
macro expansion #expect:1:119: error: missing argument for parameter 'throws' in call
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:59:6: note: expanded code originates here
47 | @Test
48 | func computedDescriptorCannotStartTransaction() async {
49 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
50 | processExitsWith: .failure,
51 | observing: [\.standardErrorContent]
:
57 |
58 | _ = computed.wrappedValue
59 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x91de7e9f9524c93e,0x6b964badbecf8d2b,0xb1240f5960af6879,0xea089eb690c213c3),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: missing argument for parameter 'throws' in call
| 2 | @Sendable func $s15StateGraphTests0041GraphMutationPreconditionTestsswift_owGDnfMX48_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
60 |
61 | expectMutationDiagnostic(result, operation: "withGraphTransaction")
Testing.__checkClosureCall:1:13: note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
1 | public func __checkClosureCall<R>(performing body: () throws -> R, throws errorMatcher: (any Error) throws -> Bool, mismatchExplanation: ((any Error) -> String)? = nil, expression: __Expression, comments: @autoclosure () -> [Comment], isRequired: Bool, sourceLocation: SourceLocation) -> Result<(any Error)?, any Error>
| `- note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
macro expansion #expect:1:139: error: cannot infer contextual base in reference to member 'failure'
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:59:6: note: expanded code originates here
47 | @Test
48 | func computedDescriptorCannotStartTransaction() async {
49 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
50 | processExitsWith: .failure,
51 | observing: [\.standardErrorContent]
:
57 |
58 | _ = computed.wrappedValue
59 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x91de7e9f9524c93e,0x6b964badbecf8d2b,0xb1240f5960af6879,0xea089eb690c213c3),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: cannot infer contextual base in reference to member 'failure'
| 2 | @Sendable func $s15StateGraphTests0041GraphMutationPreconditionTestsswift_owGDnfMX48_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
60 |
61 | expectMutationDiagnostic(result, operation: "withGraphTransaction")
macro expansion #expect:1:159: error: cannot infer key path type from context; consider explicitly specifying a root type
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:59:6: note: expanded code originates here
47 | @Test
48 | func computedDescriptorCannotStartTransaction() async {
49 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
50 | processExitsWith: .failure,
51 | observing: [\.standardErrorContent]
:
57 |
58 | _ = computed.wrappedValue
59 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x91de7e9f9524c93e,0x6b964badbecf8d2b,0xb1240f5960af6879,0xea089eb690c213c3),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: cannot infer key path type from context; consider explicitly specifying a root type
| 2 | @Sendable func $s15StateGraphTests0041GraphMutationPreconditionTestsswift_owGDnfMX48_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
60 |
61 | expectMutationDiagnostic(result, operation: "withGraphTransaction")
macro expansion #expect:34:125: error: cannot convert value of type '(any Error)?' to type 'ExitTest.Result?' in coercion
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:59:6: note: expanded code originates here
47 | @Test
48 | func computedDescriptorCannotStartTransaction() async {
49 | let result = await #expect(
| |- note: in expansion of macro 'expect' here
| `- note: in expansion of macro 'expect' here
50 | processExitsWith: .failure,
51 | observing: [\.standardErrorContent]
:
57 |
58 | _ = computed.wrappedValue
59 | }
+--- macro expansion #expect ---------------------------------------
|32 | )
|33 | }
|34 | },expression: .__fromSyntaxNode(".failure"),comments: [],isRequired: false,sourceLocation: Testing.SourceLocation.__here()).__expected()
| | |- error: cannot convert value of type '(any Error)?' to type 'ExitTest.Result?' in coercion
| | `- note: arguments to generic parameter 'Wrapped' ('any Error' and 'ExitTest.Result') are expected to be equal
+-------------------------------------------------------------------
60 |
61 | expectMutationDiagnostic(result, operation: "withGraphTransaction")
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:49:25: error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
47 | @Test
48 | func computedDescriptorCannotStartTransaction() async {
49 | let result = await #expect(
| `- error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
50 | processExitsWith: .failure,
51 | observing: [\.standardErrorContent]
Testing.expect:3:40: note: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' has been explicitly marked unavailable here
1 | @discardableResult
2 | @available(*, unavailable, message: "Exit tests are not available on this platform.")
3 | @freestanding(expression) public macro expect(processExitsWith expectedExitCondition: ExitTest.Condition, observing observedValues: [any PartialKeyPath<ExitTest.Result> & Sendable] = [], _ comment: @autoclosure () -> Comment? = nil, sourceLocation: SourceLocation = #_sourceLocation, performing expression: @escaping @Sendable () async throws -> Void) -> ExitTest.Result? = #externalMacro(module: "TestingMacros", type: "ExitTestExpectMacro")
| `- note: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:50:26: error: 'failure' is unavailable: Exit tests are not available on this platform.
48 | func computedDescriptorCannotStartTransaction() async {
49 | let result = await #expect(
50 | processExitsWith: .failure,
| `- error: 'failure' is unavailable: Exit tests are not available on this platform.
51 | observing: [\.standardErrorContent]
52 | ) {
Testing.ExitTest.Condition.failure:3:19: note: 'failure' has been explicitly marked unavailable here
1 | struct ExitTest {
2 | struct Condition {
3 | public static var failure: ExitTest.Condition { get } }
| `- note: 'failure' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:49:18: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
47 | @Test
48 | func computedDescriptorCannotStartTransaction() async {
49 | let result = await #expect(
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
50 | processExitsWith: .failure,
51 | observing: [\.standardErrorContent]
macro expansion #expect:1:27: error: extra arguments at positions #1, #2, #3 in call
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:84:6: note: expanded code originates here
64 | @Test
65 | func computedEqualityCannotMutateStored() async {
66 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
67 | processExitsWith: .failure,
68 | observing: [\.standardErrorContent]
:
82 | source.wrappedValue = 1
83 | _ = computed.wrappedValue
84 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xac8d26ece1a17ea4,0x757555f657f050d,0x707c8f03230fe495,0xa0e5142da271d670),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: extra arguments at positions #1, #2, #3 in call
| 2 | @Sendable func $s15StateGraphTests0041GraphMutationPreconditionTestsswift_owGDnfMX65_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
85 |
86 | expectMutationDiagnostic(result, operation: "Stored.wrappedValue mutation")
Testing.__checkClosureCall:1:13: note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
1 | public func __checkClosureCall<R>(performing body: () throws -> R, throws errorMatcher: (any Error) throws -> Bool, mismatchExplanation: ((any Error) -> String)? = nil, expression: __Expression, comments: @autoclosure () -> [Comment], isRequired: Bool, sourceLocation: SourceLocation) -> Result<(any Error)?, any Error>
| `- note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
macro expansion #expect:1:118: error: missing argument for parameter 'throws' in call
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:84:6: note: expanded code originates here
64 | @Test
65 | func computedEqualityCannotMutateStored() async {
66 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
67 | processExitsWith: .failure,
68 | observing: [\.standardErrorContent]
:
82 | source.wrappedValue = 1
83 | _ = computed.wrappedValue
84 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xac8d26ece1a17ea4,0x757555f657f050d,0x707c8f03230fe495,0xa0e5142da271d670),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: missing argument for parameter 'throws' in call
| 2 | @Sendable func $s15StateGraphTests0041GraphMutationPreconditionTestsswift_owGDnfMX65_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
85 |
86 | expectMutationDiagnostic(result, operation: "Stored.wrappedValue mutation")
Testing.__checkClosureCall:1:13: note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
1 | public func __checkClosureCall<R>(performing body: () throws -> R, throws errorMatcher: (any Error) throws -> Bool, mismatchExplanation: ((any Error) -> String)? = nil, expression: __Expression, comments: @autoclosure () -> [Comment], isRequired: Bool, sourceLocation: SourceLocation) -> Result<(any Error)?, any Error>
| `- note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
macro expansion #expect:1:138: error: cannot infer contextual base in reference to member 'failure'
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:84:6: note: expanded code originates here
64 | @Test
65 | func computedEqualityCannotMutateStored() async {
66 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
67 | processExitsWith: .failure,
68 | observing: [\.standardErrorContent]
:
82 | source.wrappedValue = 1
83 | _ = computed.wrappedValue
84 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xac8d26ece1a17ea4,0x757555f657f050d,0x707c8f03230fe495,0xa0e5142da271d670),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: cannot infer contextual base in reference to member 'failure'
| 2 | @Sendable func $s15StateGraphTests0041GraphMutationPreconditionTestsswift_owGDnfMX65_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
85 |
86 | expectMutationDiagnostic(result, operation: "Stored.wrappedValue mutation")
macro expansion #expect:1:158: error: cannot infer key path type from context; consider explicitly specifying a root type
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:84:6: note: expanded code originates here
64 | @Test
65 | func computedEqualityCannotMutateStored() async {
66 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
67 | processExitsWith: .failure,
68 | observing: [\.standardErrorContent]
:
82 | source.wrappedValue = 1
83 | _ = computed.wrappedValue
84 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xac8d26ece1a17ea4,0x757555f657f050d,0x707c8f03230fe495,0xa0e5142da271d670),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: cannot infer key path type from context; consider explicitly specifying a root type
| 2 | @Sendable func $s15StateGraphTests0041GraphMutationPreconditionTestsswift_owGDnfMX65_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
85 |
86 | expectMutationDiagnostic(result, operation: "Stored.wrappedValue mutation")
macro expansion #expect:42:125: error: cannot convert value of type '(any Error)?' to type 'ExitTest.Result?' in coercion
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:84:6: note: expanded code originates here
64 | @Test
65 | func computedEqualityCannotMutateStored() async {
66 | let result = await #expect(
| |- note: in expansion of macro 'expect' here
| `- note: in expansion of macro 'expect' here
67 | processExitsWith: .failure,
68 | observing: [\.standardErrorContent]
:
82 | source.wrappedValue = 1
83 | _ = computed.wrappedValue
84 | }
+--- macro expansion #expect ---------------------------------------
|40 | )
|41 | }
|42 | },expression: .__fromSyntaxNode(".failure"),comments: [],isRequired: false,sourceLocation: Testing.SourceLocation.__here()).__expected()
| | |- error: cannot convert value of type '(any Error)?' to type 'ExitTest.Result?' in coercion
| | `- note: arguments to generic parameter 'Wrapped' ('any Error' and 'ExitTest.Result') are expected to be equal
+-------------------------------------------------------------------
85 |
86 | expectMutationDiagnostic(result, operation: "Stored.wrappedValue mutation")
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:66:25: error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
64 | @Test
65 | func computedEqualityCannotMutateStored() async {
66 | let result = await #expect(
| `- error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
67 | processExitsWith: .failure,
68 | observing: [\.standardErrorContent]
Testing.expect:3:40: note: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' has been explicitly marked unavailable here
1 | @discardableResult
2 | @available(*, unavailable, message: "Exit tests are not available on this platform.")
3 | @freestanding(expression) public macro expect(processExitsWith expectedExitCondition: ExitTest.Condition, observing observedValues: [any PartialKeyPath<ExitTest.Result> & Sendable] = [], _ comment: @autoclosure () -> Comment? = nil, sourceLocation: SourceLocation = #_sourceLocation, performing expression: @escaping @Sendable () async throws -> Void) -> ExitTest.Result? = #externalMacro(module: "TestingMacros", type: "ExitTestExpectMacro")
| `- note: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:67:26: error: 'failure' is unavailable: Exit tests are not available on this platform.
65 | func computedEqualityCannotMutateStored() async {
66 | let result = await #expect(
67 | processExitsWith: .failure,
| `- error: 'failure' is unavailable: Exit tests are not available on this platform.
68 | observing: [\.standardErrorContent]
69 | ) {
Testing.ExitTest.Condition.failure:3:19: note: 'failure' has been explicitly marked unavailable here
1 | struct ExitTest {
2 | struct Condition {
3 | public static var failure: ExitTest.Condition { get } }
| `- note: 'failure' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:66:18: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
64 | @Test
65 | func computedEqualityCannotMutateStored() async {
66 | let result = await #expect(
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
67 | processExitsWith: .failure,
68 | observing: [\.standardErrorContent]
macro expansion #expect:1:27: error: extra arguments at positions #1, #2, #3 in call
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:106:6: note: expanded code originates here
89 | @Test
90 | func computedDescriptorCannotMutateGraphUserDefault() async {
91 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
92 | processExitsWith: .failure,
93 | observing: [\.standardErrorContent]
:
104 |
105 | _ = computed.wrappedValue
106 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x429f1f993cf8351a,0x6720c971065cc045,0xc884aaef31a6b2a0,0xc9162d1559c8f82),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: extra arguments at positions #1, #2, #3 in call
| 2 | @Sendable func $s15StateGraphTests0041GraphMutationPreconditionTestsswift_owGDnfMX90_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
107 |
108 | expectMutationDiagnostic(result, operation: "GraphUserDefault.wrappedValue mutation")
Testing.__checkClosureCall:1:13: note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
1 | public func __checkClosureCall<R>(performing body: () throws -> R, throws errorMatcher: (any Error) throws -> Bool, mismatchExplanation: ((any Error) -> String)? = nil, expression: __Expression, comments: @autoclosure () -> [Comment], isRequired: Bool, sourceLocation: SourceLocation) -> Result<(any Error)?, any Error>
| `- note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
macro expansion #expect:1:118: error: missing argument for parameter 'throws' in call
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:106:6: note: expanded code originates here
89 | @Test
90 | func computedDescriptorCannotMutateGraphUserDefault() async {
91 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
92 | processExitsWith: .failure,
93 | observing: [\.standardErrorContent]
:
104 |
105 | _ = computed.wrappedValue
106 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x429f1f993cf8351a,0x6720c971065cc045,0xc884aaef31a6b2a0,0xc9162d1559c8f82),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: missing argument for parameter 'throws' in call
| 2 | @Sendable func $s15StateGraphTests0041GraphMutationPreconditionTestsswift_owGDnfMX90_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
107 |
108 | expectMutationDiagnostic(result, operation: "GraphUserDefault.wrappedValue mutation")
Testing.__checkClosureCall:1:13: note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
1 | public func __checkClosureCall<R>(performing body: () throws -> R, throws errorMatcher: (any Error) throws -> Bool, mismatchExplanation: ((any Error) -> String)? = nil, expression: __Expression, comments: @autoclosure () -> [Comment], isRequired: Bool, sourceLocation: SourceLocation) -> Result<(any Error)?, any Error>
| `- note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
macro expansion #expect:1:138: error: cannot infer contextual base in reference to member 'failure'
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:106:6: note: expanded code originates here
89 | @Test
90 | func computedDescriptorCannotMutateGraphUserDefault() async {
91 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
92 | processExitsWith: .failure,
93 | observing: [\.standardErrorContent]
:
104 |
105 | _ = computed.wrappedValue
106 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x429f1f993cf8351a,0x6720c971065cc045,0xc884aaef31a6b2a0,0xc9162d1559c8f82),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: cannot infer contextual base in reference to member 'failure'
| 2 | @Sendable func $s15StateGraphTests0041GraphMutationPreconditionTestsswift_owGDnfMX90_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
107 |
108 | expectMutationDiagnostic(result, operation: "GraphUserDefault.wrappedValue mutation")
macro expansion #expect:1:158: error: cannot infer key path type from context; consider explicitly specifying a root type
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:106:6: note: expanded code originates here
89 | @Test
90 | func computedDescriptorCannotMutateGraphUserDefault() async {
91 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
92 | processExitsWith: .failure,
93 | observing: [\.standardErrorContent]
:
104 |
105 | _ = computed.wrappedValue
106 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x429f1f993cf8351a,0x6720c971065cc045,0xc884aaef31a6b2a0,0xc9162d1559c8f82),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: cannot infer key path type from context; consider explicitly specifying a root type
| 2 | @Sendable func $s15StateGraphTests0041GraphMutationPreconditionTestsswift_owGDnfMX90_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
107 |
108 | expectMutationDiagnostic(result, operation: "GraphUserDefault.wrappedValue mutation")
macro expansion #expect:39:125: error: cannot convert value of type '(any Error)?' to type 'ExitTest.Result?' in coercion
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:106:6: note: expanded code originates here
89 | @Test
90 | func computedDescriptorCannotMutateGraphUserDefault() async {
91 | let result = await #expect(
| |- note: in expansion of macro 'expect' here
| `- note: in expansion of macro 'expect' here
92 | processExitsWith: .failure,
93 | observing: [\.standardErrorContent]
:
104 |
105 | _ = computed.wrappedValue
106 | }
+--- macro expansion #expect ---------------------------------------
|37 | )
|38 | }
|39 | },expression: .__fromSyntaxNode(".failure"),comments: [],isRequired: false,sourceLocation: Testing.SourceLocation.__here()).__expected()
| | |- error: cannot convert value of type '(any Error)?' to type 'ExitTest.Result?' in coercion
| | `- note: arguments to generic parameter 'Wrapped' ('any Error' and 'ExitTest.Result') are expected to be equal
+-------------------------------------------------------------------
107 |
108 | expectMutationDiagnostic(result, operation: "GraphUserDefault.wrappedValue mutation")
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:91:25: error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
89 | @Test
90 | func computedDescriptorCannotMutateGraphUserDefault() async {
91 | let result = await #expect(
| `- error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
92 | processExitsWith: .failure,
93 | observing: [\.standardErrorContent]
Testing.expect:3:40: note: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' has been explicitly marked unavailable here
1 | @discardableResult
2 | @available(*, unavailable, message: "Exit tests are not available on this platform.")
3 | @freestanding(expression) public macro expect(processExitsWith expectedExitCondition: ExitTest.Condition, observing observedValues: [any PartialKeyPath<ExitTest.Result> & Sendable] = [], _ comment: @autoclosure () -> Comment? = nil, sourceLocation: SourceLocation = #_sourceLocation, performing expression: @escaping @Sendable () async throws -> Void) -> ExitTest.Result? = #externalMacro(module: "TestingMacros", type: "ExitTestExpectMacro")
| `- note: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:92:26: error: 'failure' is unavailable: Exit tests are not available on this platform.
90 | func computedDescriptorCannotMutateGraphUserDefault() async {
91 | let result = await #expect(
92 | processExitsWith: .failure,
| `- error: 'failure' is unavailable: Exit tests are not available on this platform.
93 | observing: [\.standardErrorContent]
94 | ) {
Testing.ExitTest.Condition.failure:3:19: note: 'failure' has been explicitly marked unavailable here
1 | struct ExitTest {
2 | struct Condition {
3 | public static var failure: ExitTest.Condition { get } }
| `- note: 'failure' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:91:18: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
89 | @Test
90 | func computedDescriptorCannotMutateGraphUserDefault() async {
91 | let result = await #expect(
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
92 | processExitsWith: .failure,
93 | observing: [\.standardErrorContent]
macro expansion #expect:1:27: error: extra arguments at positions #1, #2, #3 in call
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:124:6: note: expanded code originates here
111 | @Test
112 | func immediateComparatorCannotMutateStored() async {
113 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
114 | processExitsWith: .failure,
115 | observing: [\.standardErrorContent]
:
122 |
123 | source.wrappedValue = 1
124 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x3549ef38785d80bc,0xf550705795ffc89f,0x95f746a92ed5b9b6,0x5b9a45b7eabbd2bb),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: extra arguments at positions #1, #2, #3 in call
| 2 | @Sendable func $s15StateGraphTests0041GraphMutationPreconditionTestsswift_owGDnfMX112_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
125 |
126 | expectMutationDiagnostic(result, operation: "Stored.wrappedValue mutation")
Testing.__checkClosureCall:1:13: note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
1 | public func __checkClosureCall<R>(performing body: () throws -> R, throws errorMatcher: (any Error) throws -> Bool, mismatchExplanation: ((any Error) -> String)? = nil, expression: __Expression, comments: @autoclosure () -> [Comment], isRequired: Bool, sourceLocation: SourceLocation) -> Result<(any Error)?, any Error>
| `- note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
macro expansion #expect:1:119: error: missing argument for parameter 'throws' in call
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:124:6: note: expanded code originates here
111 | @Test
112 | func immediateComparatorCannotMutateStored() async {
113 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
114 | processExitsWith: .failure,
115 | observing: [\.standardErrorContent]
:
122 |
123 | source.wrappedValue = 1
124 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x3549ef38785d80bc,0xf550705795ffc89f,0x95f746a92ed5b9b6,0x5b9a45b7eabbd2bb),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: missing argument for parameter 'throws' in call
| 2 | @Sendable func $s15StateGraphTests0041GraphMutationPreconditionTestsswift_owGDnfMX112_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
125 |
126 | expectMutationDiagnostic(result, operation: "Stored.wrappedValue mutation")
Testing.__checkClosureCall:1:13: note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
1 | public func __checkClosureCall<R>(performing body: () throws -> R, throws errorMatcher: (any Error) throws -> Bool, mismatchExplanation: ((any Error) -> String)? = nil, expression: __Expression, comments: @autoclosure () -> [Comment], isRequired: Bool, sourceLocation: SourceLocation) -> Result<(any Error)?, any Error>
| `- note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
macro expansion #expect:1:139: error: cannot infer contextual base in reference to member 'failure'
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:124:6: note: expanded code originates here
111 | @Test
112 | func immediateComparatorCannotMutateStored() async {
113 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
114 | processExitsWith: .failure,
115 | observing: [\.standardErrorContent]
:
122 |
123 | source.wrappedValue = 1
124 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x3549ef38785d80bc,0xf550705795ffc89f,0x95f746a92ed5b9b6,0x5b9a45b7eabbd2bb),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: cannot infer contextual base in reference to member 'failure'
| 2 | @Sendable func $s15StateGraphTests0041GraphMutationPreconditionTestsswift_owGDnfMX112_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
125 |
126 | expectMutationDiagnostic(result, operation: "Stored.wrappedValue mutation")
macro expansion #expect:1:159: error: cannot infer key path type from context; consider explicitly specifying a root type
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:124:6: note: expanded code originates here
111 | @Test
112 | func immediateComparatorCannotMutateStored() async {
113 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
114 | processExitsWith: .failure,
115 | observing: [\.standardErrorContent]
:
122 |
123 | source.wrappedValue = 1
124 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x3549ef38785d80bc,0xf550705795ffc89f,0x95f746a92ed5b9b6,0x5b9a45b7eabbd2bb),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: cannot infer key path type from context; consider explicitly specifying a root type
| 2 | @Sendable func $s15StateGraphTests0041GraphMutationPreconditionTestsswift_owGDnfMX112_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
125 |
126 | expectMutationDiagnostic(result, operation: "Stored.wrappedValue mutation")
macro expansion #expect:35:125: error: cannot convert value of type '(any Error)?' to type 'ExitTest.Result?' in coercion
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:124:6: note: expanded code originates here
111 | @Test
112 | func immediateComparatorCannotMutateStored() async {
113 | let result = await #expect(
| |- note: in expansion of macro 'expect' here
| `- note: in expansion of macro 'expect' here
114 | processExitsWith: .failure,
115 | observing: [\.standardErrorContent]
:
122 |
123 | source.wrappedValue = 1
124 | }
+--- macro expansion #expect ---------------------------------------
|33 | )
|34 | }
|35 | },expression: .__fromSyntaxNode(".failure"),comments: [],isRequired: false,sourceLocation: Testing.SourceLocation.__here()).__expected()
| | |- error: cannot convert value of type '(any Error)?' to type 'ExitTest.Result?' in coercion
| | `- note: arguments to generic parameter 'Wrapped' ('any Error' and 'ExitTest.Result') are expected to be equal
+-------------------------------------------------------------------
125 |
126 | expectMutationDiagnostic(result, operation: "Stored.wrappedValue mutation")
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:113:25: error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
111 | @Test
112 | func immediateComparatorCannotMutateStored() async {
113 | let result = await #expect(
| `- error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
114 | processExitsWith: .failure,
115 | observing: [\.standardErrorContent]
Testing.expect:3:40: note: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' has been explicitly marked unavailable here
1 | @discardableResult
2 | @available(*, unavailable, message: "Exit tests are not available on this platform.")
3 | @freestanding(expression) public macro expect(processExitsWith expectedExitCondition: ExitTest.Condition, observing observedValues: [any PartialKeyPath<ExitTest.Result> & Sendable] = [], _ comment: @autoclosure () -> Comment? = nil, sourceLocation: SourceLocation = #_sourceLocation, performing expression: @escaping @Sendable () async throws -> Void) -> ExitTest.Result? = #externalMacro(module: "TestingMacros", type: "ExitTestExpectMacro")
| `- note: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:114:26: error: 'failure' is unavailable: Exit tests are not available on this platform.
112 | func immediateComparatorCannotMutateStored() async {
113 | let result = await #expect(
114 | processExitsWith: .failure,
| `- error: 'failure' is unavailable: Exit tests are not available on this platform.
115 | observing: [\.standardErrorContent]
116 | ) {
Testing.ExitTest.Condition.failure:3:19: note: 'failure' has been explicitly marked unavailable here
1 | struct ExitTest {
2 | struct Condition {
3 | public static var failure: ExitTest.Condition { get } }
| `- note: 'failure' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:113:18: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
111 | @Test
112 | func immediateComparatorCannotMutateStored() async {
113 | let result = await #expect(
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
114 | processExitsWith: .failure,
115 | observing: [\.standardErrorContent]
macro expansion #expect:1:27: error: extra arguments at positions #1, #2, #3 in call
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:144:6: note: expanded code originates here
129 | @Test
130 | func transactionComparatorCannotMutateStored() async {
131 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
132 | processExitsWith: .failure,
133 | observing: [\.standardErrorContent]
:
142 | source.wrappedValue = 1
143 | }
144 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x659e35a0339fd945,0xc401681f019611fd,0x2822796a08a6e9ad,0xcd1d109e6a575629),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: extra arguments at positions #1, #2, #3 in call
| 2 | @Sendable func $s15StateGraphTests0041GraphMutationPreconditionTestsswift_owGDnfMX130_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
145 |
146 | expectMutationDiagnostic(result, operation: "Stored.wrappedValue mutation")
Testing.__checkClosureCall:1:13: note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
1 | public func __checkClosureCall<R>(performing body: () throws -> R, throws errorMatcher: (any Error) throws -> Bool, mismatchExplanation: ((any Error) -> String)? = nil, expression: __Expression, comments: @autoclosure () -> [Comment], isRequired: Bool, sourceLocation: SourceLocation) -> Result<(any Error)?, any Error>
| `- note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
macro expansion #expect:1:119: error: missing argument for parameter 'throws' in call
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:144:6: note: expanded code originates here
129 | @Test
130 | func transactionComparatorCannotMutateStored() async {
131 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
132 | processExitsWith: .failure,
133 | observing: [\.standardErrorContent]
:
142 | source.wrappedValue = 1
143 | }
144 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x659e35a0339fd945,0xc401681f019611fd,0x2822796a08a6e9ad,0xcd1d109e6a575629),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: missing argument for parameter 'throws' in call
| 2 | @Sendable func $s15StateGraphTests0041GraphMutationPreconditionTestsswift_owGDnfMX130_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
145 |
146 | expectMutationDiagnostic(result, operation: "Stored.wrappedValue mutation")
Testing.__checkClosureCall:1:13: note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
1 | public func __checkClosureCall<R>(performing body: () throws -> R, throws errorMatcher: (any Error) throws -> Bool, mismatchExplanation: ((any Error) -> String)? = nil, expression: __Expression, comments: @autoclosure () -> [Comment], isRequired: Bool, sourceLocation: SourceLocation) -> Result<(any Error)?, any Error>
| `- note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
macro expansion #expect:1:139: error: cannot infer contextual base in reference to member 'failure'
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:144:6: note: expanded code originates here
129 | @Test
130 | func transactionComparatorCannotMutateStored() async {
131 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
132 | processExitsWith: .failure,
133 | observing: [\.standardErrorContent]
:
142 | source.wrappedValue = 1
143 | }
144 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x659e35a0339fd945,0xc401681f019611fd,0x2822796a08a6e9ad,0xcd1d109e6a575629),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: cannot infer contextual base in reference to member 'failure'
| 2 | @Sendable func $s15StateGraphTests0041GraphMutationPreconditionTestsswift_owGDnfMX130_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
145 |
146 | expectMutationDiagnostic(result, operation: "Stored.wrappedValue mutation")
macro expansion #expect:1:159: error: cannot infer key path type from context; consider explicitly specifying a root type
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:144:6: note: expanded code originates here
129 | @Test
130 | func transactionComparatorCannotMutateStored() async {
131 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
132 | processExitsWith: .failure,
133 | observing: [\.standardErrorContent]
:
142 | source.wrappedValue = 1
143 | }
144 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x659e35a0339fd945,0xc401681f019611fd,0x2822796a08a6e9ad,0xcd1d109e6a575629),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: cannot infer key path type from context; consider explicitly specifying a root type
| 2 | @Sendable func $s15StateGraphTests0041GraphMutationPreconditionTestsswift_owGDnfMX130_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
145 |
146 | expectMutationDiagnostic(result, operation: "Stored.wrappedValue mutation")
macro expansion #expect:37:125: error: cannot convert value of type '(any Error)?' to type 'ExitTest.Result?' in coercion
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:144:6: note: expanded code originates here
129 | @Test
130 | func transactionComparatorCannotMutateStored() async {
131 | let result = await #expect(
| |- note: in expansion of macro 'expect' here
| `- note: in expansion of macro 'expect' here
132 | processExitsWith: .failure,
133 | observing: [\.standardErrorContent]
:
142 | source.wrappedValue = 1
143 | }
144 | }
+--- macro expansion #expect ---------------------------------------
|35 | )
|36 | }
|37 | },expression: .__fromSyntaxNode(".failure"),comments: [],isRequired: false,sourceLocation: Testing.SourceLocation.__here()).__expected()
| | |- error: cannot convert value of type '(any Error)?' to type 'ExitTest.Result?' in coercion
| | `- note: arguments to generic parameter 'Wrapped' ('any Error' and 'ExitTest.Result') are expected to be equal
+-------------------------------------------------------------------
145 |
146 | expectMutationDiagnostic(result, operation: "Stored.wrappedValue mutation")
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:131:25: error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
129 | @Test
130 | func transactionComparatorCannotMutateStored() async {
131 | let result = await #expect(
| `- error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
132 | processExitsWith: .failure,
133 | observing: [\.standardErrorContent]
Testing.expect:3:40: note: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' has been explicitly marked unavailable here
1 | @discardableResult
2 | @available(*, unavailable, message: "Exit tests are not available on this platform.")
3 | @freestanding(expression) public macro expect(processExitsWith expectedExitCondition: ExitTest.Condition, observing observedValues: [any PartialKeyPath<ExitTest.Result> & Sendable] = [], _ comment: @autoclosure () -> Comment? = nil, sourceLocation: SourceLocation = #_sourceLocation, performing expression: @escaping @Sendable () async throws -> Void) -> ExitTest.Result? = #externalMacro(module: "TestingMacros", type: "ExitTestExpectMacro")
| `- note: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:132:26: error: 'failure' is unavailable: Exit tests are not available on this platform.
130 | func transactionComparatorCannotMutateStored() async {
131 | let result = await #expect(
132 | processExitsWith: .failure,
| `- error: 'failure' is unavailable: Exit tests are not available on this platform.
133 | observing: [\.standardErrorContent]
134 | ) {
Testing.ExitTest.Condition.failure:3:19: note: 'failure' has been explicitly marked unavailable here
1 | struct ExitTest {
2 | struct Condition {
3 | public static var failure: ExitTest.Condition { get } }
| `- note: 'failure' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:131:18: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
129 | @Test
130 | func transactionComparatorCannotMutateStored() async {
131 | let result = await #expect(
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
132 | processExitsWith: .failure,
133 | observing: [\.standardErrorContent]
macro expansion #expect:1:27: error: extra arguments at positions #1, #2, #3 in call
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:162:6: note: expanded code originates here
149 | @Test
150 | func unsafeModifyCannotEnterGraphMutation() async {
151 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
152 | processExitsWith: .failure,
153 | observing: [\.standardErrorContent]
:
160 | sideEffect.wrappedValue = 1
161 | }
162 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x843b80d5590c3719,0x2643a304d6f1484f,0x6b00b3a12247eb20,0xad8650e98d775911),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: extra arguments at positions #1, #2, #3 in call
| 2 | @Sendable func $s15StateGraphTests0041GraphMutationPreconditionTestsswift_owGDnfMX150_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
163 |
164 | expectMutationDiagnostic(result, operation: "Stored.wrappedValue mutation")
Testing.__checkClosureCall:1:13: note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
1 | public func __checkClosureCall<R>(performing body: () throws -> R, throws errorMatcher: (any Error) throws -> Bool, mismatchExplanation: ((any Error) -> String)? = nil, expression: __Expression, comments: @autoclosure () -> [Comment], isRequired: Bool, sourceLocation: SourceLocation) -> Result<(any Error)?, any Error>
| `- note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
macro expansion #expect:1:119: error: missing argument for parameter 'throws' in call
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:162:6: note: expanded code originates here
149 | @Test
150 | func unsafeModifyCannotEnterGraphMutation() async {
151 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
152 | processExitsWith: .failure,
153 | observing: [\.standardErrorContent]
:
160 | sideEffect.wrappedValue = 1
161 | }
162 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x843b80d5590c3719,0x2643a304d6f1484f,0x6b00b3a12247eb20,0xad8650e98d775911),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: missing argument for parameter 'throws' in call
| 2 | @Sendable func $s15StateGraphTests0041GraphMutationPreconditionTestsswift_owGDnfMX150_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
163 |
164 | expectMutationDiagnostic(result, operation: "Stored.wrappedValue mutation")
Testing.__checkClosureCall:1:13: note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
1 | public func __checkClosureCall<R>(performing body: () throws -> R, throws errorMatcher: (any Error) throws -> Bool, mismatchExplanation: ((any Error) -> String)? = nil, expression: __Expression, comments: @autoclosure () -> [Comment], isRequired: Bool, sourceLocation: SourceLocation) -> Result<(any Error)?, any Error>
| `- note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
macro expansion #expect:1:139: error: cannot infer contextual base in reference to member 'failure'
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:162:6: note: expanded code originates here
149 | @Test
150 | func unsafeModifyCannotEnterGraphMutation() async {
151 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
152 | processExitsWith: .failure,
153 | observing: [\.standardErrorContent]
:
160 | sideEffect.wrappedValue = 1
161 | }
162 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x843b80d5590c3719,0x2643a304d6f1484f,0x6b00b3a12247eb20,0xad8650e98d775911),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: cannot infer contextual base in reference to member 'failure'
| 2 | @Sendable func $s15StateGraphTests0041GraphMutationPreconditionTestsswift_owGDnfMX150_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
163 |
164 | expectMutationDiagnostic(result, operation: "Stored.wrappedValue mutation")
macro expansion #expect:1:159: error: cannot infer key path type from context; consider explicitly specifying a root type
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:162:6: note: expanded code originates here
149 | @Test
150 | func unsafeModifyCannotEnterGraphMutation() async {
151 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
152 | processExitsWith: .failure,
153 | observing: [\.standardErrorContent]
:
160 | sideEffect.wrappedValue = 1
161 | }
162 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x843b80d5590c3719,0x2643a304d6f1484f,0x6b00b3a12247eb20,0xad8650e98d775911),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: cannot infer key path type from context; consider explicitly specifying a root type
| 2 | @Sendable func $s15StateGraphTests0041GraphMutationPreconditionTestsswift_owGDnfMX150_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
163 |
164 | expectMutationDiagnostic(result, operation: "Stored.wrappedValue mutation")
macro expansion #expect:35:125: error: cannot convert value of type '(any Error)?' to type 'ExitTest.Result?' in coercion
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:162:6: note: expanded code originates here
149 | @Test
150 | func unsafeModifyCannotEnterGraphMutation() async {
151 | let result = await #expect(
| |- note: in expansion of macro 'expect' here
| `- note: in expansion of macro 'expect' here
152 | processExitsWith: .failure,
153 | observing: [\.standardErrorContent]
:
160 | sideEffect.wrappedValue = 1
161 | }
162 | }
+--- macro expansion #expect ---------------------------------------
|33 | )
|34 | }
|35 | },expression: .__fromSyntaxNode(".failure"),comments: [],isRequired: false,sourceLocation: Testing.SourceLocation.__here()).__expected()
| | |- error: cannot convert value of type '(any Error)?' to type 'ExitTest.Result?' in coercion
| | `- note: arguments to generic parameter 'Wrapped' ('any Error' and 'ExitTest.Result') are expected to be equal
+-------------------------------------------------------------------
163 |
164 | expectMutationDiagnostic(result, operation: "Stored.wrappedValue mutation")
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:151:25: error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
149 | @Test
150 | func unsafeModifyCannotEnterGraphMutation() async {
151 | let result = await #expect(
| `- error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
152 | processExitsWith: .failure,
153 | observing: [\.standardErrorContent]
Testing.expect:3:40: note: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' has been explicitly marked unavailable here
1 | @discardableResult
2 | @available(*, unavailable, message: "Exit tests are not available on this platform.")
3 | @freestanding(expression) public macro expect(processExitsWith expectedExitCondition: ExitTest.Condition, observing observedValues: [any PartialKeyPath<ExitTest.Result> & Sendable] = [], _ comment: @autoclosure () -> Comment? = nil, sourceLocation: SourceLocation = #_sourceLocation, performing expression: @escaping @Sendable () async throws -> Void) -> ExitTest.Result? = #externalMacro(module: "TestingMacros", type: "ExitTestExpectMacro")
| `- note: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:152:26: error: 'failure' is unavailable: Exit tests are not available on this platform.
150 | func unsafeModifyCannotEnterGraphMutation() async {
151 | let result = await #expect(
152 | processExitsWith: .failure,
| `- error: 'failure' is unavailable: Exit tests are not available on this platform.
153 | observing: [\.standardErrorContent]
154 | ) {
Testing.ExitTest.Condition.failure:3:19: note: 'failure' has been explicitly marked unavailable here
1 | struct ExitTest {
2 | struct Condition {
3 | public static var failure: ExitTest.Condition { get } }
| `- note: 'failure' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift:151:18: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
149 | @Test
150 | func unsafeModifyCannotEnterGraphMutation() async {
151 | let result = await #expect(
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
152 | processExitsWith: .failure,
153 | observing: [\.standardErrorContent]
[#UnnecessaryEffectMarker]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker>
Failed frontend command:
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ConcurrencyTests.swift (in target 'StateGraphTests-product' from project 'swift-state-graph')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ConcurrencyTests.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/DeadlockTests.swift (in target 'StateGraphTests-product' from project 'swift-state-graph')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DeadlockTests.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift (in target 'StateGraphTests-product' from project 'swift-state-graph')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GraphMutationPreconditionTests.swift
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ActorIsolationTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationTests.swift -primary-file /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ConcurrencyTests.swift -primary-file /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/DeadlockTests.swift -primary-file /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphObservationTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphStoredConstructorCollisionTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphStoredDidSetTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphStoredInferenceTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphTrackingCancellationTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphTrackingGroupTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphTrackingMapTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphTransactionTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphUserDefaultTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/KeyPathTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ModelInitializationTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/NestedGraphTrackingTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/NodeLifecycleTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/NodeObserveTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ObservationKeyPathTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/SendableMetatypeTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/StateGraphDiagnosticsTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/StaticPropertyTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/StoredComparatorTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/SwiftUIGraphTrackingTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/Syntax.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/TestSignal.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/Tests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ThreadLocalTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/TopLevelPropertyTests.swift -supplementary-output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-state-graph.build/Debug-appletvos/StateGraphTests-p.build/Objects-normal/arm64/supplementaryOutputs-2 -target arm64-apple-tvos17.0 -module-can-import-version SwiftUI 8.0.84 8.0.84 -disable-cross-import-overlay-search -swift-module-cross-import Testing /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks/Testing.framework/Modules/Testing.swiftcrossimport/CoreGraphics.swiftoverlay -swift-module-cross-import Testing /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks/Testing.framework/Modules/Testing.swiftcrossimport/CoreImage.swiftoverlay -swift-module-cross-import Testing /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks/Testing.framework/Modules/Testing.swiftcrossimport/CoreTransferable.swiftoverlay -swift-module-cross-import Testing /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks/Testing.framework/Modules/Testing.swiftcrossimport/Foundation.swiftoverlay -swift-module-cross-import Testing /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks/Testing.framework/Modules/Testing.swiftcrossimport/UIKit.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin \#/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/StateGraphMacro\#StateGraphMacro -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing/libTestingMacros.dylib\#\#TestingMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-state-graph.build/Debug-appletvos/StateGraphTests-p.build/Objects-normal/arm64/StateGraphTests-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -load-plugin-executable /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/StateGraphMacro\#StateGraphMacro -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044509235ffd515576fb835ffc8f67461e5.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-state-graph.build/Debug-appletvos/StateGraphTests-p.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-state-graph.build/Debug-appletvos/StateGraphTests-p.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-state-graph.build/Debug-appletvos/StateGraphTests-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name StateGraphTests -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-state-graph.build/Debug-appletvos/StateGraphTests-p.build/Objects-normal/arm64/StateGraphTests_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-tvos27.0 -target-sdk-version 27.0 -target-sdk-name appletvos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-state-graph.build/Debug-appletvos/StateGraphTests-p.build/Objects-normal/arm64/ConcurrencyTests.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-state-graph.build/Debug-appletvos/StateGraphTests-p.build/Objects-normal/arm64/DeadlockTests.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-state-graph.build/Debug-appletvos/StateGraphTests-p.build/Objects-normal/arm64/GraphMutationPreconditionTests.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-state-graph.build/Debug-appletvos/StateGraphTests-p.build/Objects-normal/arm64/StateGraphTests.swiftmodule -index-unit-output-path /swift-state-graph.build/Debug-appletvos/StateGraphTests-p.build/Objects-normal/arm64/ConcurrencyTests.o -index-unit-output-path /swift-state-graph.build/Debug-appletvos/StateGraphTests-p.build/Objects-normal/arm64/DeadlockTests.o -index-unit-output-path /swift-state-graph.build/Debug-appletvos/StateGraphTests-p.build/Objects-normal/arm64/GraphMutationPreconditionTests.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64 Compiling\ GraphObservationTests.swift,\ GraphStoredConstructorCollisionTests.swift,\ GraphStoredDidSetTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphObservationTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphStoredConstructorCollisionTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphStoredDidSetTests.swift (in target 'StateGraphTests-product' from project 'swift-state-graph')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphObservationTests.swift (in target 'StateGraphTests-product' from project 'swift-state-graph')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GraphObservationTests.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphStoredConstructorCollisionTests.swift (in target 'StateGraphTests-product' from project 'swift-state-graph')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GraphStoredConstructorCollisionTests.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphStoredDidSetTests.swift (in target 'StateGraphTests-product' from project 'swift-state-graph')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GraphStoredDidSetTests.swift
SwiftCompile normal arm64 Compiling\ ActorIsolationTests.swift,\ ComputedInitializationPreconditionTests.swift,\ ComputedInitializationTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ActorIsolationTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationTests.swift (in target 'StateGraphTests-product' from project 'swift-state-graph')
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:226:51: error: 'ExitTest' is unavailable: Exit tests are not available on this platform.
224 | }
225 |
226 | private func expectMutationDiagnostic(_ result: ExitTest.Result?) {
| `- error: 'ExitTest' is unavailable: Exit tests are not available on this platform.
227 | let standardError = String(
228 | decoding: result?.standardErrorContent ?? [],
Testing.ExitTest:2:15: note: 'ExitTest' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Exit tests are not available on this platform.")
2 | public struct ExitTest : Sendable, ~Copyable {
| `- note: 'ExitTest' has been explicitly marked unavailable here
3 | }
macro expansion #expect:1:27: error: extra arguments at positions #1, #2, #3 in call
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:27:6: note: expanded code originates here
11 | @Test
12 | func valueReadEndsInitialization() async {
13 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
14 | processExitsWith: .failure,
15 | observing: [\.standardErrorContent]
:
25 |
26 | _ = computed.wrappedValue
27 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xd6a5c8bd36e2d157,0xb7a3e5e77a01bfe2,0xf8790a9f871139f5,0x20e77d17aa8e3b40),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: extra arguments at positions #1, #2, #3 in call
| 2 | @Sendable func $s15StateGraphTests0050ComputedInitializationPreconditionTestsswift_tkCErfMX12_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
28 |
29 | expectMutationDiagnostic(result)
Testing.__checkClosureCall:1:13: note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
1 | public func __checkClosureCall<R>(performing body: () throws -> R, throws errorMatcher: (any Error) throws -> Bool, mismatchExplanation: ((any Error) -> String)? = nil, expression: __Expression, comments: @autoclosure () -> [Comment], isRequired: Bool, sourceLocation: SourceLocation) -> Result<(any Error)?, any Error>
| `- note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
macro expansion #expect:1:119: error: missing argument for parameter 'throws' in call
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:27:6: note: expanded code originates here
11 | @Test
12 | func valueReadEndsInitialization() async {
13 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
14 | processExitsWith: .failure,
15 | observing: [\.standardErrorContent]
:
25 |
26 | _ = computed.wrappedValue
27 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xd6a5c8bd36e2d157,0xb7a3e5e77a01bfe2,0xf8790a9f871139f5,0x20e77d17aa8e3b40),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: missing argument for parameter 'throws' in call
| 2 | @Sendable func $s15StateGraphTests0050ComputedInitializationPreconditionTestsswift_tkCErfMX12_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
28 |
29 | expectMutationDiagnostic(result)
Testing.__checkClosureCall:1:13: note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
1 | public func __checkClosureCall<R>(performing body: () throws -> R, throws errorMatcher: (any Error) throws -> Bool, mismatchExplanation: ((any Error) -> String)? = nil, expression: __Expression, comments: @autoclosure () -> [Comment], isRequired: Bool, sourceLocation: SourceLocation) -> Result<(any Error)?, any Error>
| `- note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
macro expansion #expect:1:139: error: cannot infer contextual base in reference to member 'failure'
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:27:6: note: expanded code originates here
11 | @Test
12 | func valueReadEndsInitialization() async {
13 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
14 | processExitsWith: .failure,
15 | observing: [\.standardErrorContent]
:
25 |
26 | _ = computed.wrappedValue
27 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xd6a5c8bd36e2d157,0xb7a3e5e77a01bfe2,0xf8790a9f871139f5,0x20e77d17aa8e3b40),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: cannot infer contextual base in reference to member 'failure'
| 2 | @Sendable func $s15StateGraphTests0050ComputedInitializationPreconditionTestsswift_tkCErfMX12_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
28 |
29 | expectMutationDiagnostic(result)
macro expansion #expect:1:159: error: cannot infer key path type from context; consider explicitly specifying a root type
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:27:6: note: expanded code originates here
11 | @Test
12 | func valueReadEndsInitialization() async {
13 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
14 | processExitsWith: .failure,
15 | observing: [\.standardErrorContent]
:
25 |
26 | _ = computed.wrappedValue
27 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xd6a5c8bd36e2d157,0xb7a3e5e77a01bfe2,0xf8790a9f871139f5,0x20e77d17aa8e3b40),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: cannot infer key path type from context; consider explicitly specifying a root type
| 2 | @Sendable func $s15StateGraphTests0050ComputedInitializationPreconditionTestsswift_tkCErfMX12_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
28 |
29 | expectMutationDiagnostic(result)
macro expansion #expect:38:125: error: cannot convert value of type '(any Error)?' to type 'ExitTest.Result?' in coercion
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:27:6: note: expanded code originates here
11 | @Test
12 | func valueReadEndsInitialization() async {
13 | let result = await #expect(
| |- note: in expansion of macro 'expect' here
| `- note: in expansion of macro 'expect' here
14 | processExitsWith: .failure,
15 | observing: [\.standardErrorContent]
:
25 |
26 | _ = computed.wrappedValue
27 | }
+--- macro expansion #expect ---------------------------------------
|36 | )
|37 | }
|38 | },expression: .__fromSyntaxNode(".failure"),comments: [],isRequired: false,sourceLocation: Testing.SourceLocation.__here()).__expected()
| | |- error: cannot convert value of type '(any Error)?' to type 'ExitTest.Result?' in coercion
| | `- note: arguments to generic parameter 'Wrapped' ('any Error' and 'ExitTest.Result') are expected to be equal
+-------------------------------------------------------------------
28 |
29 | expectMutationDiagnostic(result)
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:13:25: error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
11 | @Test
12 | func valueReadEndsInitialization() async {
13 | let result = await #expect(
| `- error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
14 | processExitsWith: .failure,
15 | observing: [\.standardErrorContent]
Testing.expect:3:40: note: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' has been explicitly marked unavailable here
1 | @discardableResult
2 | @available(*, unavailable, message: "Exit tests are not available on this platform.")
3 | @freestanding(expression) public macro expect(processExitsWith expectedExitCondition: ExitTest.Condition, observing observedValues: [any PartialKeyPath<ExitTest.Result> & Sendable] = [], _ comment: @autoclosure () -> Comment? = nil, sourceLocation: SourceLocation = #_sourceLocation, performing expression: @escaping @Sendable () async throws -> Void) -> ExitTest.Result? = #externalMacro(module: "TestingMacros", type: "ExitTestExpectMacro")
| `- note: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:14:26: error: 'failure' is unavailable: Exit tests are not available on this platform.
12 | func valueReadEndsInitialization() async {
13 | let result = await #expect(
14 | processExitsWith: .failure,
| `- error: 'failure' is unavailable: Exit tests are not available on this platform.
15 | observing: [\.standardErrorContent]
16 | ) {
Testing.ExitTest.Condition.failure:3:19: note: 'failure' has been explicitly marked unavailable here
1 | struct ExitTest {
2 | struct Condition {
3 | public static var failure: ExitTest.Condition { get } }
| `- note: 'failure' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:13:18: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
11 | @Test
12 | func valueReadEndsInitialization() async {
13 | let result = await #expect(
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
14 | processExitsWith: .failure,
15 | observing: [\.standardErrorContent]
macro expansion #expect:1:27: error: extra arguments at positions #1, #2, #3 in call
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:46:6: note: expanded code originates here
32 | @Test
33 | func assignmentObserverEndsInitialization() async {
34 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
35 | processExitsWith: .failure,
36 | observing: [\.standardErrorContent]
:
44 |
45 | _ = computed.wrappedValue
46 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xcea47cfde0fbfd57,0x4d84f47a0bd74ecd,0xd1c1a42f1bb1888b,0xb255b72caca77514),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: extra arguments at positions #1, #2, #3 in call
| 2 | @Sendable func $s15StateGraphTests0050ComputedInitializationPreconditionTestsswift_tkCErfMX33_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
47 |
48 | expectMutationDiagnostic(result)
Testing.__checkClosureCall:1:13: note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
1 | public func __checkClosureCall<R>(performing body: () throws -> R, throws errorMatcher: (any Error) throws -> Bool, mismatchExplanation: ((any Error) -> String)? = nil, expression: __Expression, comments: @autoclosure () -> [Comment], isRequired: Bool, sourceLocation: SourceLocation) -> Result<(any Error)?, any Error>
| `- note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
macro expansion #expect:1:119: error: missing argument for parameter 'throws' in call
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:46:6: note: expanded code originates here
32 | @Test
33 | func assignmentObserverEndsInitialization() async {
34 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
35 | processExitsWith: .failure,
36 | observing: [\.standardErrorContent]
:
44 |
45 | _ = computed.wrappedValue
46 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xcea47cfde0fbfd57,0x4d84f47a0bd74ecd,0xd1c1a42f1bb1888b,0xb255b72caca77514),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: missing argument for parameter 'throws' in call
| 2 | @Sendable func $s15StateGraphTests0050ComputedInitializationPreconditionTestsswift_tkCErfMX33_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
47 |
48 | expectMutationDiagnostic(result)
Testing.__checkClosureCall:1:13: note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
1 | public func __checkClosureCall<R>(performing body: () throws -> R, throws errorMatcher: (any Error) throws -> Bool, mismatchExplanation: ((any Error) -> String)? = nil, expression: __Expression, comments: @autoclosure () -> [Comment], isRequired: Bool, sourceLocation: SourceLocation) -> Result<(any Error)?, any Error>
| `- note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
macro expansion #expect:1:139: error: cannot infer contextual base in reference to member 'failure'
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:46:6: note: expanded code originates here
32 | @Test
33 | func assignmentObserverEndsInitialization() async {
34 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
35 | processExitsWith: .failure,
36 | observing: [\.standardErrorContent]
:
44 |
45 | _ = computed.wrappedValue
46 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xcea47cfde0fbfd57,0x4d84f47a0bd74ecd,0xd1c1a42f1bb1888b,0xb255b72caca77514),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: cannot infer contextual base in reference to member 'failure'
| 2 | @Sendable func $s15StateGraphTests0050ComputedInitializationPreconditionTestsswift_tkCErfMX33_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
47 |
48 | expectMutationDiagnostic(result)
macro expansion #expect:1:159: error: cannot infer key path type from context; consider explicitly specifying a root type
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:46:6: note: expanded code originates here
32 | @Test
33 | func assignmentObserverEndsInitialization() async {
34 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
35 | processExitsWith: .failure,
36 | observing: [\.standardErrorContent]
:
44 |
45 | _ = computed.wrappedValue
46 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xcea47cfde0fbfd57,0x4d84f47a0bd74ecd,0xd1c1a42f1bb1888b,0xb255b72caca77514),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: cannot infer key path type from context; consider explicitly specifying a root type
| 2 | @Sendable func $s15StateGraphTests0050ComputedInitializationPreconditionTestsswift_tkCErfMX33_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
47 |
48 | expectMutationDiagnostic(result)
macro expansion #expect:36:125: error: cannot convert value of type '(any Error)?' to type 'ExitTest.Result?' in coercion
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:46:6: note: expanded code originates here
32 | @Test
33 | func assignmentObserverEndsInitialization() async {
34 | let result = await #expect(
| |- note: in expansion of macro 'expect' here
| `- note: in expansion of macro 'expect' here
35 | processExitsWith: .failure,
36 | observing: [\.standardErrorContent]
:
44 |
45 | _ = computed.wrappedValue
46 | }
+--- macro expansion #expect ---------------------------------------
|34 | )
|35 | }
|36 | },expression: .__fromSyntaxNode(".failure"),comments: [],isRequired: false,sourceLocation: Testing.SourceLocation.__here()).__expected()
| | |- error: cannot convert value of type '(any Error)?' to type 'ExitTest.Result?' in coercion
| | `- note: arguments to generic parameter 'Wrapped' ('any Error' and 'ExitTest.Result') are expected to be equal
+-------------------------------------------------------------------
47 |
48 | expectMutationDiagnostic(result)
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:34:25: error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
32 | @Test
33 | func assignmentObserverEndsInitialization() async {
34 | let result = await #expect(
| `- error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
35 | processExitsWith: .failure,
36 | observing: [\.standardErrorContent]
Testing.expect:3:40: note: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' has been explicitly marked unavailable here
1 | @discardableResult
2 | @available(*, unavailable, message: "Exit tests are not available on this platform.")
3 | @freestanding(expression) public macro expect(processExitsWith expectedExitCondition: ExitTest.Condition, observing observedValues: [any PartialKeyPath<ExitTest.Result> & Sendable] = [], _ comment: @autoclosure () -> Comment? = nil, sourceLocation: SourceLocation = #_sourceLocation, performing expression: @escaping @Sendable () async throws -> Void) -> ExitTest.Result? = #externalMacro(module: "TestingMacros", type: "ExitTestExpectMacro")
| `- note: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:35:26: error: 'failure' is unavailable: Exit tests are not available on this platform.
33 | func assignmentObserverEndsInitialization() async {
34 | let result = await #expect(
35 | processExitsWith: .failure,
| `- error: 'failure' is unavailable: Exit tests are not available on this platform.
36 | observing: [\.standardErrorContent]
37 | ) {
Testing.ExitTest.Condition.failure:3:19: note: 'failure' has been explicitly marked unavailable here
1 | struct ExitTest {
2 | struct Condition {
3 | public static var failure: ExitTest.Condition { get } }
| `- note: 'failure' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:34:18: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
32 | @Test
33 | func assignmentObserverEndsInitialization() async {
34 | let result = await #expect(
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
35 | processExitsWith: .failure,
36 | observing: [\.standardErrorContent]
macro expansion #expect:1:27: error: extra arguments at positions #1, #2, #3 in call
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:65:6: note: expanded code originates here
51 | @Test
52 | func debugDescriptionEndsInitialization() async {
53 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
54 | processExitsWith: .failure,
55 | observing: [\.standardErrorContent]
:
63 |
64 | _ = computed.wrappedValue
65 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x7deb493eabd41614,0x6e3743c2c4e9a3d4,0x69dbea20a58b4c40,0x4e653667f3aa3dcf),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: extra arguments at positions #1, #2, #3 in call
| 2 | @Sendable func $s15StateGraphTests0050ComputedInitializationPreconditionTestsswift_tkCErfMX52_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
66 |
67 | expectMutationDiagnostic(result)
Testing.__checkClosureCall:1:13: note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
1 | public func __checkClosureCall<R>(performing body: () throws -> R, throws errorMatcher: (any Error) throws -> Bool, mismatchExplanation: ((any Error) -> String)? = nil, expression: __Expression, comments: @autoclosure () -> [Comment], isRequired: Bool, sourceLocation: SourceLocation) -> Result<(any Error)?, any Error>
| `- note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
macro expansion #expect:1:119: error: missing argument for parameter 'throws' in call
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:65:6: note: expanded code originates here
51 | @Test
52 | func debugDescriptionEndsInitialization() async {
53 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
54 | processExitsWith: .failure,
55 | observing: [\.standardErrorContent]
:
63 |
64 | _ = computed.wrappedValue
65 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x7deb493eabd41614,0x6e3743c2c4e9a3d4,0x69dbea20a58b4c40,0x4e653667f3aa3dcf),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: missing argument for parameter 'throws' in call
| 2 | @Sendable func $s15StateGraphTests0050ComputedInitializationPreconditionTestsswift_tkCErfMX52_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
66 |
67 | expectMutationDiagnostic(result)
Testing.__checkClosureCall:1:13: note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
1 | public func __checkClosureCall<R>(performing body: () throws -> R, throws errorMatcher: (any Error) throws -> Bool, mismatchExplanation: ((any Error) -> String)? = nil, expression: __Expression, comments: @autoclosure () -> [Comment], isRequired: Bool, sourceLocation: SourceLocation) -> Result<(any Error)?, any Error>
| `- note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
macro expansion #expect:1:139: error: cannot infer contextual base in reference to member 'failure'
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:65:6: note: expanded code originates here
51 | @Test
52 | func debugDescriptionEndsInitialization() async {
53 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
54 | processExitsWith: .failure,
55 | observing: [\.standardErrorContent]
:
63 |
64 | _ = computed.wrappedValue
65 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x7deb493eabd41614,0x6e3743c2c4e9a3d4,0x69dbea20a58b4c40,0x4e653667f3aa3dcf),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: cannot infer contextual base in reference to member 'failure'
| 2 | @Sendable func $s15StateGraphTests0050ComputedInitializationPreconditionTestsswift_tkCErfMX52_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
66 |
67 | expectMutationDiagnostic(result)
macro expansion #expect:1:159: error: cannot infer key path type from context; consider explicitly specifying a root type
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:65:6: note: expanded code originates here
51 | @Test
52 | func debugDescriptionEndsInitialization() async {
53 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
54 | processExitsWith: .failure,
55 | observing: [\.standardErrorContent]
:
63 |
64 | _ = computed.wrappedValue
65 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x7deb493eabd41614,0x6e3743c2c4e9a3d4,0x69dbea20a58b4c40,0x4e653667f3aa3dcf),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: cannot infer key path type from context; consider explicitly specifying a root type
| 2 | @Sendable func $s15StateGraphTests0050ComputedInitializationPreconditionTestsswift_tkCErfMX52_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
66 |
67 | expectMutationDiagnostic(result)
macro expansion #expect:36:125: error: cannot convert value of type '(any Error)?' to type 'ExitTest.Result?' in coercion
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:65:6: note: expanded code originates here
51 | @Test
52 | func debugDescriptionEndsInitialization() async {
53 | let result = await #expect(
| |- note: in expansion of macro 'expect' here
| `- note: in expansion of macro 'expect' here
54 | processExitsWith: .failure,
55 | observing: [\.standardErrorContent]
:
63 |
64 | _ = computed.wrappedValue
65 | }
+--- macro expansion #expect ---------------------------------------
|34 | )
|35 | }
|36 | },expression: .__fromSyntaxNode(".failure"),comments: [],isRequired: false,sourceLocation: Testing.SourceLocation.__here()).__expected()
| | |- error: cannot convert value of type '(any Error)?' to type 'ExitTest.Result?' in coercion
| | `- note: arguments to generic parameter 'Wrapped' ('any Error' and 'ExitTest.Result') are expected to be equal
+-------------------------------------------------------------------
66 |
67 | expectMutationDiagnostic(result)
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:53:25: error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
51 | @Test
52 | func debugDescriptionEndsInitialization() async {
53 | let result = await #expect(
| `- error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
54 | processExitsWith: .failure,
55 | observing: [\.standardErrorContent]
Testing.expect:3:40: note: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' has been explicitly marked unavailable here
1 | @discardableResult
2 | @available(*, unavailable, message: "Exit tests are not available on this platform.")
3 | @freestanding(expression) public macro expect(processExitsWith expectedExitCondition: ExitTest.Condition, observing observedValues: [any PartialKeyPath<ExitTest.Result> & Sendable] = [], _ comment: @autoclosure () -> Comment? = nil, sourceLocation: SourceLocation = #_sourceLocation, performing expression: @escaping @Sendable () async throws -> Void) -> ExitTest.Result? = #externalMacro(module: "TestingMacros", type: "ExitTestExpectMacro")
| `- note: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:54:26: error: 'failure' is unavailable: Exit tests are not available on this platform.
52 | func debugDescriptionEndsInitialization() async {
53 | let result = await #expect(
54 | processExitsWith: .failure,
| `- error: 'failure' is unavailable: Exit tests are not available on this platform.
55 | observing: [\.standardErrorContent]
56 | ) {
Testing.ExitTest.Condition.failure:3:19: note: 'failure' has been explicitly marked unavailable here
1 | struct ExitTest {
2 | struct Condition {
3 | public static var failure: ExitTest.Condition { get } }
| `- note: 'failure' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:53:18: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
51 | @Test
52 | func debugDescriptionEndsInitialization() async {
53 | let result = await #expect(
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
54 | processExitsWith: .failure,
55 | observing: [\.standardErrorContent]
macro expansion #expect:1:27: error: extra arguments at positions #1, #2, #3 in call
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:86:6: note: expanded code originates here
70 | @Test
71 | func transactionValueReadEndsInitialization() async {
72 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
73 | processExitsWith: .failure,
74 | observing: [\.standardErrorContent]
:
84 | _ = computed.wrappedValue
85 | }
86 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xb1f95e3267ed4358,0xfff3d00dc4c7995a,0xb04f99f8b29d0e37,0x9821208660f3f2b7),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: extra arguments at positions #1, #2, #3 in call
| 2 | @Sendable func $s15StateGraphTests0050ComputedInitializationPreconditionTestsswift_tkCErfMX71_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
87 |
88 | expectMutationDiagnostic(result)
Testing.__checkClosureCall:1:13: note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
1 | public func __checkClosureCall<R>(performing body: () throws -> R, throws errorMatcher: (any Error) throws -> Bool, mismatchExplanation: ((any Error) -> String)? = nil, expression: __Expression, comments: @autoclosure () -> [Comment], isRequired: Bool, sourceLocation: SourceLocation) -> Result<(any Error)?, any Error>
| `- note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
macro expansion #expect:1:119: error: missing argument for parameter 'throws' in call
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:86:6: note: expanded code originates here
70 | @Test
71 | func transactionValueReadEndsInitialization() async {
72 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
73 | processExitsWith: .failure,
74 | observing: [\.standardErrorContent]
:
84 | _ = computed.wrappedValue
85 | }
86 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xb1f95e3267ed4358,0xfff3d00dc4c7995a,0xb04f99f8b29d0e37,0x9821208660f3f2b7),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: missing argument for parameter 'throws' in call
| 2 | @Sendable func $s15StateGraphTests0050ComputedInitializationPreconditionTestsswift_tkCErfMX71_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
87 |
88 | expectMutationDiagnostic(result)
Testing.__checkClosureCall:1:13: note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
1 | public func __checkClosureCall<R>(performing body: () throws -> R, throws errorMatcher: (any Error) throws -> Bool, mismatchExplanation: ((any Error) -> String)? = nil, expression: __Expression, comments: @autoclosure () -> [Comment], isRequired: Bool, sourceLocation: SourceLocation) -> Result<(any Error)?, any Error>
| `- note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
macro expansion #expect:1:139: error: cannot infer contextual base in reference to member 'failure'
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:86:6: note: expanded code originates here
70 | @Test
71 | func transactionValueReadEndsInitialization() async {
72 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
73 | processExitsWith: .failure,
74 | observing: [\.standardErrorContent]
:
84 | _ = computed.wrappedValue
85 | }
86 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xb1f95e3267ed4358,0xfff3d00dc4c7995a,0xb04f99f8b29d0e37,0x9821208660f3f2b7),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: cannot infer contextual base in reference to member 'failure'
| 2 | @Sendable func $s15StateGraphTests0050ComputedInitializationPreconditionTestsswift_tkCErfMX71_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
87 |
88 | expectMutationDiagnostic(result)
macro expansion #expect:1:159: error: cannot infer key path type from context; consider explicitly specifying a root type
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:86:6: note: expanded code originates here
70 | @Test
71 | func transactionValueReadEndsInitialization() async {
72 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
73 | processExitsWith: .failure,
74 | observing: [\.standardErrorContent]
:
84 | _ = computed.wrappedValue
85 | }
86 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xb1f95e3267ed4358,0xfff3d00dc4c7995a,0xb04f99f8b29d0e37,0x9821208660f3f2b7),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: cannot infer key path type from context; consider explicitly specifying a root type
| 2 | @Sendable func $s15StateGraphTests0050ComputedInitializationPreconditionTestsswift_tkCErfMX71_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
87 |
88 | expectMutationDiagnostic(result)
macro expansion #expect:38:125: error: cannot convert value of type '(any Error)?' to type 'ExitTest.Result?' in coercion
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:86:6: note: expanded code originates here
70 | @Test
71 | func transactionValueReadEndsInitialization() async {
72 | let result = await #expect(
| |- note: in expansion of macro 'expect' here
| `- note: in expansion of macro 'expect' here
73 | processExitsWith: .failure,
74 | observing: [\.standardErrorContent]
:
84 | _ = computed.wrappedValue
85 | }
86 | }
+--- macro expansion #expect ---------------------------------------
|36 | )
|37 | }
|38 | },expression: .__fromSyntaxNode(".failure"),comments: [],isRequired: false,sourceLocation: Testing.SourceLocation.__here()).__expected()
| | |- error: cannot convert value of type '(any Error)?' to type 'ExitTest.Result?' in coercion
| | `- note: arguments to generic parameter 'Wrapped' ('any Error' and 'ExitTest.Result') are expected to be equal
+-------------------------------------------------------------------
87 |
88 | expectMutationDiagnostic(result)
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:72:25: error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
70 | @Test
71 | func transactionValueReadEndsInitialization() async {
72 | let result = await #expect(
| `- error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
73 | processExitsWith: .failure,
74 | observing: [\.standardErrorContent]
Testing.expect:3:40: note: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' has been explicitly marked unavailable here
1 | @discardableResult
2 | @available(*, unavailable, message: "Exit tests are not available on this platform.")
3 | @freestanding(expression) public macro expect(processExitsWith expectedExitCondition: ExitTest.Condition, observing observedValues: [any PartialKeyPath<ExitTest.Result> & Sendable] = [], _ comment: @autoclosure () -> Comment? = nil, sourceLocation: SourceLocation = #_sourceLocation, performing expression: @escaping @Sendable () async throws -> Void) -> ExitTest.Result? = #externalMacro(module: "TestingMacros", type: "ExitTestExpectMacro")
| `- note: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:73:26: error: 'failure' is unavailable: Exit tests are not available on this platform.
71 | func transactionValueReadEndsInitialization() async {
72 | let result = await #expect(
73 | processExitsWith: .failure,
| `- error: 'failure' is unavailable: Exit tests are not available on this platform.
74 | observing: [\.standardErrorContent]
75 | ) {
Testing.ExitTest.Condition.failure:3:19: note: 'failure' has been explicitly marked unavailable here
1 | struct ExitTest {
2 | struct Condition {
3 | public static var failure: ExitTest.Condition { get } }
| `- note: 'failure' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:72:18: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
70 | @Test
71 | func transactionValueReadEndsInitialization() async {
72 | let result = await #expect(
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
73 | processExitsWith: .failure,
74 | observing: [\.standardErrorContent]
macro expansion #expect:1:27: error: extra arguments at positions #1, #2, #3 in call
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:111:6: note: expanded code originates here
91 | @Test
92 | func ordinaryWriteOnAnotherThreadEndsInitialization() async {
93 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
94 | processExitsWith: .failure,
95 | observing: [\.standardErrorContent]
:
109 |
110 | _ = computed.wrappedValue
111 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xbc55e3d4bdc02e78,0x8c1670826196f43a,0x79744ecd56ee9a22,0x975556ff0b7c5b90),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: extra arguments at positions #1, #2, #3 in call
| 2 | @Sendable func $s15StateGraphTests0050ComputedInitializationPreconditionTestsswift_tkCErfMX92_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
112 |
113 | expectMutationDiagnostic(result)
Testing.__checkClosureCall:1:13: note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
1 | public func __checkClosureCall<R>(performing body: () throws -> R, throws errorMatcher: (any Error) throws -> Bool, mismatchExplanation: ((any Error) -> String)? = nil, expression: __Expression, comments: @autoclosure () -> [Comment], isRequired: Bool, sourceLocation: SourceLocation) -> Result<(any Error)?, any Error>
| `- note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
macro expansion #expect:1:119: error: missing argument for parameter 'throws' in call
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:111:6: note: expanded code originates here
91 | @Test
92 | func ordinaryWriteOnAnotherThreadEndsInitialization() async {
93 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
94 | processExitsWith: .failure,
95 | observing: [\.standardErrorContent]
:
109 |
110 | _ = computed.wrappedValue
111 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xbc55e3d4bdc02e78,0x8c1670826196f43a,0x79744ecd56ee9a22,0x975556ff0b7c5b90),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: missing argument for parameter 'throws' in call
| 2 | @Sendable func $s15StateGraphTests0050ComputedInitializationPreconditionTestsswift_tkCErfMX92_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
112 |
113 | expectMutationDiagnostic(result)
Testing.__checkClosureCall:1:13: note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
1 | public func __checkClosureCall<R>(performing body: () throws -> R, throws errorMatcher: (any Error) throws -> Bool, mismatchExplanation: ((any Error) -> String)? = nil, expression: __Expression, comments: @autoclosure () -> [Comment], isRequired: Bool, sourceLocation: SourceLocation) -> Result<(any Error)?, any Error>
| `- note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
macro expansion #expect:1:139: error: cannot infer contextual base in reference to member 'failure'
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:111:6: note: expanded code originates here
91 | @Test
92 | func ordinaryWriteOnAnotherThreadEndsInitialization() async {
93 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
94 | processExitsWith: .failure,
95 | observing: [\.standardErrorContent]
:
109 |
110 | _ = computed.wrappedValue
111 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xbc55e3d4bdc02e78,0x8c1670826196f43a,0x79744ecd56ee9a22,0x975556ff0b7c5b90),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: cannot infer contextual base in reference to member 'failure'
| 2 | @Sendable func $s15StateGraphTests0050ComputedInitializationPreconditionTestsswift_tkCErfMX92_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
112 |
113 | expectMutationDiagnostic(result)
macro expansion #expect:1:159: error: cannot infer key path type from context; consider explicitly specifying a root type
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:111:6: note: expanded code originates here
91 | @Test
92 | func ordinaryWriteOnAnotherThreadEndsInitialization() async {
93 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
94 | processExitsWith: .failure,
95 | observing: [\.standardErrorContent]
:
109 |
110 | _ = computed.wrappedValue
111 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xbc55e3d4bdc02e78,0x8c1670826196f43a,0x79744ecd56ee9a22,0x975556ff0b7c5b90),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: cannot infer key path type from context; consider explicitly specifying a root type
| 2 | @Sendable func $s15StateGraphTests0050ComputedInitializationPreconditionTestsswift_tkCErfMX92_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
112 |
113 | expectMutationDiagnostic(result)
macro expansion #expect:42:125: error: cannot convert value of type '(any Error)?' to type 'ExitTest.Result?' in coercion
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:111:6: note: expanded code originates here
91 | @Test
92 | func ordinaryWriteOnAnotherThreadEndsInitialization() async {
93 | let result = await #expect(
| |- note: in expansion of macro 'expect' here
| `- note: in expansion of macro 'expect' here
94 | processExitsWith: .failure,
95 | observing: [\.standardErrorContent]
:
109 |
110 | _ = computed.wrappedValue
111 | }
+--- macro expansion #expect ---------------------------------------
|40 | )
|41 | }
|42 | },expression: .__fromSyntaxNode(".failure"),comments: [],isRequired: false,sourceLocation: Testing.SourceLocation.__here()).__expected()
| | |- error: cannot convert value of type '(any Error)?' to type 'ExitTest.Result?' in coercion
| | `- note: arguments to generic parameter 'Wrapped' ('any Error' and 'ExitTest.Result') are expected to be equal
+-------------------------------------------------------------------
112 |
113 | expectMutationDiagnostic(result)
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:93:25: error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
91 | @Test
92 | func ordinaryWriteOnAnotherThreadEndsInitialization() async {
93 | let result = await #expect(
| `- error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
94 | processExitsWith: .failure,
95 | observing: [\.standardErrorContent]
Testing.expect:3:40: note: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' has been explicitly marked unavailable here
1 | @discardableResult
2 | @available(*, unavailable, message: "Exit tests are not available on this platform.")
3 | @freestanding(expression) public macro expect(processExitsWith expectedExitCondition: ExitTest.Condition, observing observedValues: [any PartialKeyPath<ExitTest.Result> & Sendable] = [], _ comment: @autoclosure () -> Comment? = nil, sourceLocation: SourceLocation = #_sourceLocation, performing expression: @escaping @Sendable () async throws -> Void) -> ExitTest.Result? = #externalMacro(module: "TestingMacros", type: "ExitTestExpectMacro")
| `- note: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:94:26: error: 'failure' is unavailable: Exit tests are not available on this platform.
92 | func ordinaryWriteOnAnotherThreadEndsInitialization() async {
93 | let result = await #expect(
94 | processExitsWith: .failure,
| `- error: 'failure' is unavailable: Exit tests are not available on this platform.
95 | observing: [\.standardErrorContent]
96 | ) {
Testing.ExitTest.Condition.failure:3:19: note: 'failure' has been explicitly marked unavailable here
1 | struct ExitTest {
2 | struct Condition {
3 | public static var failure: ExitTest.Condition { get } }
| `- note: 'failure' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:93:18: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
91 | @Test
92 | func ordinaryWriteOnAnotherThreadEndsInitialization() async {
93 | let result = await #expect(
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
94 | processExitsWith: .failure,
95 | observing: [\.standardErrorContent]
macro expansion #expect:1:27: error: extra arguments at positions #1, #2, #3 in call
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:139:6: note: expanded code originates here
116 | @Test
117 | func laterEvaluationCannotInitializeAnUnreadNode() async {
118 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
119 | processExitsWith: .failure,
120 | observing: [\.standardErrorContent]
:
137 | source.wrappedValue = 1
138 | _ = computed.wrappedValue
139 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x2df2801d0c80cd1,0xa886d7a3c2e67038,0xf95cf105f967c711,0x22198cda1e3e67e2),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: extra arguments at positions #1, #2, #3 in call
| 2 | @Sendable func $s15StateGraphTests0050ComputedInitializationPreconditionTestsswift_tkCErfMX117_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
140 |
141 | expectMutationDiagnostic(result)
Testing.__checkClosureCall:1:13: note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
1 | public func __checkClosureCall<R>(performing body: () throws -> R, throws errorMatcher: (any Error) throws -> Bool, mismatchExplanation: ((any Error) -> String)? = nil, expression: __Expression, comments: @autoclosure () -> [Comment], isRequired: Bool, sourceLocation: SourceLocation) -> Result<(any Error)?, any Error>
| `- note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
macro expansion #expect:1:118: error: missing argument for parameter 'throws' in call
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:139:6: note: expanded code originates here
116 | @Test
117 | func laterEvaluationCannotInitializeAnUnreadNode() async {
118 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
119 | processExitsWith: .failure,
120 | observing: [\.standardErrorContent]
:
137 | source.wrappedValue = 1
138 | _ = computed.wrappedValue
139 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x2df2801d0c80cd1,0xa886d7a3c2e67038,0xf95cf105f967c711,0x22198cda1e3e67e2),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: missing argument for parameter 'throws' in call
| 2 | @Sendable func $s15StateGraphTests0050ComputedInitializationPreconditionTestsswift_tkCErfMX117_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
140 |
141 | expectMutationDiagnostic(result)
Testing.__checkClosureCall:1:13: note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
1 | public func __checkClosureCall<R>(performing body: () throws -> R, throws errorMatcher: (any Error) throws -> Bool, mismatchExplanation: ((any Error) -> String)? = nil, expression: __Expression, comments: @autoclosure () -> [Comment], isRequired: Bool, sourceLocation: SourceLocation) -> Result<(any Error)?, any Error>
| `- note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
macro expansion #expect:1:138: error: cannot infer contextual base in reference to member 'failure'
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:139:6: note: expanded code originates here
116 | @Test
117 | func laterEvaluationCannotInitializeAnUnreadNode() async {
118 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
119 | processExitsWith: .failure,
120 | observing: [\.standardErrorContent]
:
137 | source.wrappedValue = 1
138 | _ = computed.wrappedValue
139 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x2df2801d0c80cd1,0xa886d7a3c2e67038,0xf95cf105f967c711,0x22198cda1e3e67e2),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: cannot infer contextual base in reference to member 'failure'
| 2 | @Sendable func $s15StateGraphTests0050ComputedInitializationPreconditionTestsswift_tkCErfMX117_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
140 |
141 | expectMutationDiagnostic(result)
macro expansion #expect:1:158: error: cannot infer key path type from context; consider explicitly specifying a root type
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:139:6: note: expanded code originates here
116 | @Test
117 | func laterEvaluationCannotInitializeAnUnreadNode() async {
118 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
119 | processExitsWith: .failure,
120 | observing: [\.standardErrorContent]
:
137 | source.wrappedValue = 1
138 | _ = computed.wrappedValue
139 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x2df2801d0c80cd1,0xa886d7a3c2e67038,0xf95cf105f967c711,0x22198cda1e3e67e2),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: cannot infer key path type from context; consider explicitly specifying a root type
| 2 | @Sendable func $s15StateGraphTests0050ComputedInitializationPreconditionTestsswift_tkCErfMX117_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
140 |
141 | expectMutationDiagnostic(result)
macro expansion #expect:45:125: error: cannot convert value of type '(any Error)?' to type 'ExitTest.Result?' in coercion
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:139:6: note: expanded code originates here
116 | @Test
117 | func laterEvaluationCannotInitializeAnUnreadNode() async {
118 | let result = await #expect(
| |- note: in expansion of macro 'expect' here
| `- note: in expansion of macro 'expect' here
119 | processExitsWith: .failure,
120 | observing: [\.standardErrorContent]
:
137 | source.wrappedValue = 1
138 | _ = computed.wrappedValue
139 | }
+--- macro expansion #expect ---------------------------------------
|43 | )
|44 | }
|45 | },expression: .__fromSyntaxNode(".failure"),comments: [],isRequired: false,sourceLocation: Testing.SourceLocation.__here()).__expected()
| | |- error: cannot convert value of type '(any Error)?' to type 'ExitTest.Result?' in coercion
| | `- note: arguments to generic parameter 'Wrapped' ('any Error' and 'ExitTest.Result') are expected to be equal
+-------------------------------------------------------------------
140 |
141 | expectMutationDiagnostic(result)
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:118:25: error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
116 | @Test
117 | func laterEvaluationCannotInitializeAnUnreadNode() async {
118 | let result = await #expect(
| `- error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
119 | processExitsWith: .failure,
120 | observing: [\.standardErrorContent]
Testing.expect:3:40: note: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' has been explicitly marked unavailable here
1 | @discardableResult
2 | @available(*, unavailable, message: "Exit tests are not available on this platform.")
3 | @freestanding(expression) public macro expect(processExitsWith expectedExitCondition: ExitTest.Condition, observing observedValues: [any PartialKeyPath<ExitTest.Result> & Sendable] = [], _ comment: @autoclosure () -> Comment? = nil, sourceLocation: SourceLocation = #_sourceLocation, performing expression: @escaping @Sendable () async throws -> Void) -> ExitTest.Result? = #externalMacro(module: "TestingMacros", type: "ExitTestExpectMacro")
| `- note: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:119:26: error: 'failure' is unavailable: Exit tests are not available on this platform.
117 | func laterEvaluationCannotInitializeAnUnreadNode() async {
118 | let result = await #expect(
119 | processExitsWith: .failure,
| `- error: 'failure' is unavailable: Exit tests are not available on this platform.
120 | observing: [\.standardErrorContent]
121 | ) {
Testing.ExitTest.Condition.failure:3:19: note: 'failure' has been explicitly marked unavailable here
1 | struct ExitTest {
2 | struct Condition {
3 | public static var failure: ExitTest.Condition { get } }
| `- note: 'failure' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:118:18: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
116 | @Test
117 | func laterEvaluationCannotInitializeAnUnreadNode() async {
118 | let result = await #expect(
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
119 | processExitsWith: .failure,
120 | observing: [\.standardErrorContent]
macro expansion #expect:1:27: error: extra arguments at positions #1, #2, #3 in call
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:165:6: note: expanded code originates here
144 | @Test
145 | func nestedEvaluationCannotInitializeParentNodes() async {
146 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
147 | processExitsWith: .failure,
148 | observing: [\.standardErrorContent]
:
163 |
164 | _ = parent.wrappedValue
165 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x74ecfa835e56478a,0x62edc3d9b75fb2f4,0xc2b9a55f13371317,0x28f46a17e302ddcd),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: extra arguments at positions #1, #2, #3 in call
| 2 | @Sendable func $s15StateGraphTests0050ComputedInitializationPreconditionTestsswift_tkCErfMX145_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
166 |
167 | expectMutationDiagnostic(result)
Testing.__checkClosureCall:1:13: note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
1 | public func __checkClosureCall<R>(performing body: () throws -> R, throws errorMatcher: (any Error) throws -> Bool, mismatchExplanation: ((any Error) -> String)? = nil, expression: __Expression, comments: @autoclosure () -> [Comment], isRequired: Bool, sourceLocation: SourceLocation) -> Result<(any Error)?, any Error>
| `- note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
macro expansion #expect:1:119: error: missing argument for parameter 'throws' in call
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:165:6: note: expanded code originates here
144 | @Test
145 | func nestedEvaluationCannotInitializeParentNodes() async {
146 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
147 | processExitsWith: .failure,
148 | observing: [\.standardErrorContent]
:
163 |
164 | _ = parent.wrappedValue
165 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x74ecfa835e56478a,0x62edc3d9b75fb2f4,0xc2b9a55f13371317,0x28f46a17e302ddcd),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: missing argument for parameter 'throws' in call
| 2 | @Sendable func $s15StateGraphTests0050ComputedInitializationPreconditionTestsswift_tkCErfMX145_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
166 |
167 | expectMutationDiagnostic(result)
Testing.__checkClosureCall:1:13: note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
1 | public func __checkClosureCall<R>(performing body: () throws -> R, throws errorMatcher: (any Error) throws -> Bool, mismatchExplanation: ((any Error) -> String)? = nil, expression: __Expression, comments: @autoclosure () -> [Comment], isRequired: Bool, sourceLocation: SourceLocation) -> Result<(any Error)?, any Error>
| `- note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
macro expansion #expect:1:139: error: cannot infer contextual base in reference to member 'failure'
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:165:6: note: expanded code originates here
144 | @Test
145 | func nestedEvaluationCannotInitializeParentNodes() async {
146 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
147 | processExitsWith: .failure,
148 | observing: [\.standardErrorContent]
:
163 |
164 | _ = parent.wrappedValue
165 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x74ecfa835e56478a,0x62edc3d9b75fb2f4,0xc2b9a55f13371317,0x28f46a17e302ddcd),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: cannot infer contextual base in reference to member 'failure'
| 2 | @Sendable func $s15StateGraphTests0050ComputedInitializationPreconditionTestsswift_tkCErfMX145_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
166 |
167 | expectMutationDiagnostic(result)
macro expansion #expect:1:159: error: cannot infer key path type from context; consider explicitly specifying a root type
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:165:6: note: expanded code originates here
144 | @Test
145 | func nestedEvaluationCannotInitializeParentNodes() async {
146 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
147 | processExitsWith: .failure,
148 | observing: [\.standardErrorContent]
:
163 |
164 | _ = parent.wrappedValue
165 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x74ecfa835e56478a,0x62edc3d9b75fb2f4,0xc2b9a55f13371317,0x28f46a17e302ddcd),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: cannot infer key path type from context; consider explicitly specifying a root type
| 2 | @Sendable func $s15StateGraphTests0050ComputedInitializationPreconditionTestsswift_tkCErfMX145_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
166 |
167 | expectMutationDiagnostic(result)
macro expansion #expect:43:125: error: cannot convert value of type '(any Error)?' to type 'ExitTest.Result?' in coercion
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:165:6: note: expanded code originates here
144 | @Test
145 | func nestedEvaluationCannotInitializeParentNodes() async {
146 | let result = await #expect(
| |- note: in expansion of macro 'expect' here
| `- note: in expansion of macro 'expect' here
147 | processExitsWith: .failure,
148 | observing: [\.standardErrorContent]
:
163 |
164 | _ = parent.wrappedValue
165 | }
+--- macro expansion #expect ---------------------------------------
|41 | )
|42 | }
|43 | },expression: .__fromSyntaxNode(".failure"),comments: [],isRequired: false,sourceLocation: Testing.SourceLocation.__here()).__expected()
| | |- error: cannot convert value of type '(any Error)?' to type 'ExitTest.Result?' in coercion
| | `- note: arguments to generic parameter 'Wrapped' ('any Error' and 'ExitTest.Result') are expected to be equal
+-------------------------------------------------------------------
166 |
167 | expectMutationDiagnostic(result)
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:146:25: error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
144 | @Test
145 | func nestedEvaluationCannotInitializeParentNodes() async {
146 | let result = await #expect(
| `- error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
147 | processExitsWith: .failure,
148 | observing: [\.standardErrorContent]
Testing.expect:3:40: note: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' has been explicitly marked unavailable here
1 | @discardableResult
2 | @available(*, unavailable, message: "Exit tests are not available on this platform.")
3 | @freestanding(expression) public macro expect(processExitsWith expectedExitCondition: ExitTest.Condition, observing observedValues: [any PartialKeyPath<ExitTest.Result> & Sendable] = [], _ comment: @autoclosure () -> Comment? = nil, sourceLocation: SourceLocation = #_sourceLocation, performing expression: @escaping @Sendable () async throws -> Void) -> ExitTest.Result? = #externalMacro(module: "TestingMacros", type: "ExitTestExpectMacro")
| `- note: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:147:26: error: 'failure' is unavailable: Exit tests are not available on this platform.
145 | func nestedEvaluationCannotInitializeParentNodes() async {
146 | let result = await #expect(
147 | processExitsWith: .failure,
| `- error: 'failure' is unavailable: Exit tests are not available on this platform.
148 | observing: [\.standardErrorContent]
149 | ) {
Testing.ExitTest.Condition.failure:3:19: note: 'failure' has been explicitly marked unavailable here
1 | struct ExitTest {
2 | struct Condition {
3 | public static var failure: ExitTest.Condition { get } }
| `- note: 'failure' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:146:18: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
144 | @Test
145 | func nestedEvaluationCannotInitializeParentNodes() async {
146 | let result = await #expect(
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
147 | processExitsWith: .failure,
148 | observing: [\.standardErrorContent]
macro expansion #expect:1:27: error: extra arguments at positions #1, #2, #3 in call
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:186:6: note: expanded code originates here
170 | @Test
171 | func parentEvaluationCannotInitializeReturnedChildNodes() async {
172 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
173 | processExitsWith: .failure,
174 | observing: [\.standardErrorContent]
:
184 |
185 | _ = parent.wrappedValue
186 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x9d6e6ee71f3fd3b,0xc3ca225592fab95,0xaf412526aa718806,0xa34ea3bd46c0bf8e),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: extra arguments at positions #1, #2, #3 in call
| 2 | @Sendable func $s15StateGraphTests0050ComputedInitializationPreconditionTestsswift_tkCErfMX171_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
187 |
188 | expectMutationDiagnostic(result)
Testing.__checkClosureCall:1:13: note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
1 | public func __checkClosureCall<R>(performing body: () throws -> R, throws errorMatcher: (any Error) throws -> Bool, mismatchExplanation: ((any Error) -> String)? = nil, expression: __Expression, comments: @autoclosure () -> [Comment], isRequired: Bool, sourceLocation: SourceLocation) -> Result<(any Error)?, any Error>
| `- note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
macro expansion #expect:1:117: error: missing argument for parameter 'throws' in call
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:186:6: note: expanded code originates here
170 | @Test
171 | func parentEvaluationCannotInitializeReturnedChildNodes() async {
172 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
173 | processExitsWith: .failure,
174 | observing: [\.standardErrorContent]
:
184 |
185 | _ = parent.wrappedValue
186 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x9d6e6ee71f3fd3b,0xc3ca225592fab95,0xaf412526aa718806,0xa34ea3bd46c0bf8e),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: missing argument for parameter 'throws' in call
| 2 | @Sendable func $s15StateGraphTests0050ComputedInitializationPreconditionTestsswift_tkCErfMX171_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
187 |
188 | expectMutationDiagnostic(result)
Testing.__checkClosureCall:1:13: note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
1 | public func __checkClosureCall<R>(performing body: () throws -> R, throws errorMatcher: (any Error) throws -> Bool, mismatchExplanation: ((any Error) -> String)? = nil, expression: __Expression, comments: @autoclosure () -> [Comment], isRequired: Bool, sourceLocation: SourceLocation) -> Result<(any Error)?, any Error>
| `- note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
macro expansion #expect:1:137: error: cannot infer contextual base in reference to member 'failure'
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:186:6: note: expanded code originates here
170 | @Test
171 | func parentEvaluationCannotInitializeReturnedChildNodes() async {
172 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
173 | processExitsWith: .failure,
174 | observing: [\.standardErrorContent]
:
184 |
185 | _ = parent.wrappedValue
186 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x9d6e6ee71f3fd3b,0xc3ca225592fab95,0xaf412526aa718806,0xa34ea3bd46c0bf8e),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: cannot infer contextual base in reference to member 'failure'
| 2 | @Sendable func $s15StateGraphTests0050ComputedInitializationPreconditionTestsswift_tkCErfMX171_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
187 |
188 | expectMutationDiagnostic(result)
macro expansion #expect:1:157: error: cannot infer key path type from context; consider explicitly specifying a root type
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:186:6: note: expanded code originates here
170 | @Test
171 | func parentEvaluationCannotInitializeReturnedChildNodes() async {
172 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
173 | processExitsWith: .failure,
174 | observing: [\.standardErrorContent]
:
184 |
185 | _ = parent.wrappedValue
186 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x9d6e6ee71f3fd3b,0xc3ca225592fab95,0xaf412526aa718806,0xa34ea3bd46c0bf8e),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: cannot infer key path type from context; consider explicitly specifying a root type
| 2 | @Sendable func $s15StateGraphTests0050ComputedInitializationPreconditionTestsswift_tkCErfMX171_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
187 |
188 | expectMutationDiagnostic(result)
macro expansion #expect:38:125: error: cannot convert value of type '(any Error)?' to type 'ExitTest.Result?' in coercion
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:186:6: note: expanded code originates here
170 | @Test
171 | func parentEvaluationCannotInitializeReturnedChildNodes() async {
172 | let result = await #expect(
| |- note: in expansion of macro 'expect' here
| `- note: in expansion of macro 'expect' here
173 | processExitsWith: .failure,
174 | observing: [\.standardErrorContent]
:
184 |
185 | _ = parent.wrappedValue
186 | }
+--- macro expansion #expect ---------------------------------------
|36 | )
|37 | }
|38 | },expression: .__fromSyntaxNode(".failure"),comments: [],isRequired: false,sourceLocation: Testing.SourceLocation.__here()).__expected()
| | |- error: cannot convert value of type '(any Error)?' to type 'ExitTest.Result?' in coercion
| | `- note: arguments to generic parameter 'Wrapped' ('any Error' and 'ExitTest.Result') are expected to be equal
+-------------------------------------------------------------------
187 |
188 | expectMutationDiagnostic(result)
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:172:25: error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
170 | @Test
171 | func parentEvaluationCannotInitializeReturnedChildNodes() async {
172 | let result = await #expect(
| `- error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
173 | processExitsWith: .failure,
174 | observing: [\.standardErrorContent]
Testing.expect:3:40: note: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' has been explicitly marked unavailable here
1 | @discardableResult
2 | @available(*, unavailable, message: "Exit tests are not available on this platform.")
3 | @freestanding(expression) public macro expect(processExitsWith expectedExitCondition: ExitTest.Condition, observing observedValues: [any PartialKeyPath<ExitTest.Result> & Sendable] = [], _ comment: @autoclosure () -> Comment? = nil, sourceLocation: SourceLocation = #_sourceLocation, performing expression: @escaping @Sendable () async throws -> Void) -> ExitTest.Result? = #externalMacro(module: "TestingMacros", type: "ExitTestExpectMacro")
| `- note: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:173:26: error: 'failure' is unavailable: Exit tests are not available on this platform.
171 | func parentEvaluationCannotInitializeReturnedChildNodes() async {
172 | let result = await #expect(
173 | processExitsWith: .failure,
| `- error: 'failure' is unavailable: Exit tests are not available on this platform.
174 | observing: [\.standardErrorContent]
175 | ) {
Testing.ExitTest.Condition.failure:3:19: note: 'failure' has been explicitly marked unavailable here
1 | struct ExitTest {
2 | struct Condition {
3 | public static var failure: ExitTest.Condition { get } }
| `- note: 'failure' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:172:18: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
170 | @Test
171 | func parentEvaluationCannotInitializeReturnedChildNodes() async {
172 | let result = await #expect(
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
173 | processExitsWith: .failure,
174 | observing: [\.standardErrorContent]
macro expansion #expect:1:27: error: extra arguments at positions #1, #2, #3 in call
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:221:6: note: expanded code originates here
191 | @Test
192 | func nestedEqualityCannotInitializeParentNodes() async {
193 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
194 | processExitsWith: .failure,
195 | observing: [\.standardErrorContent]
:
219 |
220 | _ = parent.wrappedValue
221 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xd3479bb9f6bb348d,0x5eec4f3adede4d62,0xad189d6eb36caddf,0xf0c62171abe80fea),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: extra arguments at positions #1, #2, #3 in call
| 2 | @Sendable func $s15StateGraphTests0050ComputedInitializationPreconditionTestsswift_tkCErfMX192_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
222 |
223 | expectMutationDiagnostic(result)
Testing.__checkClosureCall:1:13: note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
1 | public func __checkClosureCall<R>(performing body: () throws -> R, throws errorMatcher: (any Error) throws -> Bool, mismatchExplanation: ((any Error) -> String)? = nil, expression: __Expression, comments: @autoclosure () -> [Comment], isRequired: Bool, sourceLocation: SourceLocation) -> Result<(any Error)?, any Error>
| `- note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
macro expansion #expect:1:119: error: missing argument for parameter 'throws' in call
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:221:6: note: expanded code originates here
191 | @Test
192 | func nestedEqualityCannotInitializeParentNodes() async {
193 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
194 | processExitsWith: .failure,
195 | observing: [\.standardErrorContent]
:
219 |
220 | _ = parent.wrappedValue
221 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xd3479bb9f6bb348d,0x5eec4f3adede4d62,0xad189d6eb36caddf,0xf0c62171abe80fea),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: missing argument for parameter 'throws' in call
| 2 | @Sendable func $s15StateGraphTests0050ComputedInitializationPreconditionTestsswift_tkCErfMX192_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
222 |
223 | expectMutationDiagnostic(result)
Testing.__checkClosureCall:1:13: note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
1 | public func __checkClosureCall<R>(performing body: () throws -> R, throws errorMatcher: (any Error) throws -> Bool, mismatchExplanation: ((any Error) -> String)? = nil, expression: __Expression, comments: @autoclosure () -> [Comment], isRequired: Bool, sourceLocation: SourceLocation) -> Result<(any Error)?, any Error>
| `- note: '__checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)' declared here
macro expansion #expect:1:139: error: cannot infer contextual base in reference to member 'failure'
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:221:6: note: expanded code originates here
191 | @Test
192 | func nestedEqualityCannotInitializeParentNodes() async {
193 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
194 | processExitsWith: .failure,
195 | observing: [\.standardErrorContent]
:
219 |
220 | _ = parent.wrappedValue
221 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xd3479bb9f6bb348d,0x5eec4f3adede4d62,0xad189d6eb36caddf,0xf0c62171abe80fea),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: cannot infer contextual base in reference to member 'failure'
| 2 | @Sendable func $s15StateGraphTests0050ComputedInitializationPreconditionTestsswift_tkCErfMX192_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
222 |
223 | expectMutationDiagnostic(result)
macro expansion #expect:1:159: error: cannot infer key path type from context; consider explicitly specifying a root type
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:221:6: note: expanded code originates here
191 | @Test
192 | func nestedEqualityCannotInitializeParentNodes() async {
193 | let result = await #expect(
| `- note: in expansion of macro 'expect' here
194 | processExitsWith: .failure,
195 | observing: [\.standardErrorContent]
:
219 |
220 | _ = parent.wrappedValue
221 | }
+--- macro expansion #expect ---------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xd3479bb9f6bb348d,0x5eec4f3adede4d62,0xad189d6eb36caddf,0xf0c62171abe80fea),processExitsWith: .failure,observing: [\.standardErrorContent],performing: {
| | `- error: cannot infer key path type from context; consider explicitly specifying a root type
| 2 | @Sendable func $s15StateGraphTests0050ComputedInitializationPreconditionTestsswift_tkCErfMX192_23_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+-------------------------------------------------------------------
222 |
223 | expectMutationDiagnostic(result)
macro expansion #expect:52:125: error: cannot convert value of type '(any Error)?' to type 'ExitTest.Result?' in coercion
`- /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:221:6: note: expanded code originates here
191 | @Test
192 | func nestedEqualityCannotInitializeParentNodes() async {
193 | let result = await #expect(
| |- note: in expansion of macro 'expect' here
| `- note: in expansion of macro 'expect' here
194 | processExitsWith: .failure,
195 | observing: [\.standardErrorContent]
:
219 |
220 | _ = parent.wrappedValue
221 | }
+--- macro expansion #expect ---------------------------------------
|50 | )
|51 | }
|52 | },expression: .__fromSyntaxNode(".failure"),comments: [],isRequired: false,sourceLocation: Testing.SourceLocation.__here()).__expected()
| | |- error: cannot convert value of type '(any Error)?' to type 'ExitTest.Result?' in coercion
| | `- note: arguments to generic parameter 'Wrapped' ('any Error' and 'ExitTest.Result') are expected to be equal
+-------------------------------------------------------------------
222 |
223 | expectMutationDiagnostic(result)
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:193:25: error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
191 | @Test
192 | func nestedEqualityCannotInitializeParentNodes() async {
193 | let result = await #expect(
| `- error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
194 | processExitsWith: .failure,
195 | observing: [\.standardErrorContent]
Testing.expect:3:40: note: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' has been explicitly marked unavailable here
1 | @discardableResult
2 | @available(*, unavailable, message: "Exit tests are not available on this platform.")
3 | @freestanding(expression) public macro expect(processExitsWith expectedExitCondition: ExitTest.Condition, observing observedValues: [any PartialKeyPath<ExitTest.Result> & Sendable] = [], _ comment: @autoclosure () -> Comment? = nil, sourceLocation: SourceLocation = #_sourceLocation, performing expression: @escaping @Sendable () async throws -> Void) -> ExitTest.Result? = #externalMacro(module: "TestingMacros", type: "ExitTestExpectMacro")
| `- note: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' has been explicitly marked unavailable here
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ActorIsolationTests.swift (in target 'StateGraphTests-product' from project 'swift-state-graph')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ActorIsolationTests.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift (in target 'StateGraphTests-product' from project 'swift-state-graph')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ComputedInitializationPreconditionTests.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationTests.swift (in target 'StateGraphTests-product' from project 'swift-state-graph')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ComputedInitializationTests.swift
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:194:26: error: 'failure' is unavailable: Exit tests are not available on this platform.
192 | func nestedEqualityCannotInitializeParentNodes() async {
193 | let result = await #expect(
194 | processExitsWith: .failure,
| `- error: 'failure' is unavailable: Exit tests are not available on this platform.
195 | observing: [\.standardErrorContent]
196 | ) {
Testing.ExitTest.Condition.failure:3:19: note: 'failure' has been explicitly marked unavailable here
1 | struct ExitTest {
2 | struct Condition {
3 | public static var failure: ExitTest.Condition { get } }
| `- note: 'failure' has been explicitly marked unavailable here
4 | }
5 |
SwiftCompile normal arm64 Compiling\ GraphStoredInferenceTests.swift,\ GraphTrackingCancellationTests.swift,\ GraphTrackingGroupTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphStoredInferenceTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphTrackingCancellationTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphTrackingGroupTests.swift (in target 'StateGraphTests-product' from project 'swift-state-graph')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphStoredInferenceTests.swift (in target 'StateGraphTests-product' from project 'swift-state-graph')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GraphStoredInferenceTests.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphTrackingCancellationTests.swift (in target 'StateGraphTests-product' from project 'swift-state-graph')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GraphTrackingCancellationTests.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphTrackingGroupTests.swift (in target 'StateGraphTests-product' from project 'swift-state-graph')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GraphTrackingGroupTests.swift
SwiftCompile normal arm64 Compiling\ GraphTrackingMapTests.swift,\ GraphTransactionTests.swift,\ GraphUserDefaultTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphTrackingMapTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphTransactionTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphUserDefaultTests.swift (in target 'StateGraphTests-product' from project 'swift-state-graph')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphTrackingMapTests.swift (in target 'StateGraphTests-product' from project 'swift-state-graph')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GraphTrackingMapTests.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphTransactionTests.swift (in target 'StateGraphTests-product' from project 'swift-state-graph')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GraphTransactionTests.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphUserDefaultTests.swift (in target 'StateGraphTests-product' from project 'swift-state-graph')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GraphUserDefaultTests.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ StateGraphTests (in target 'StateGraphTests-product' from project 'swift-state-graph')
SwiftCompile normal arm64 (in target 'StateGraphTests-product' from project 'swift-state-graph')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ComputedInitializationPreconditionTests.swift:226:51: error: 'ExitTest' is unavailable: Exit tests are not available on this platform.
224 | }
225 |
226 | private func expectMutationDiagnostic(_ result: ExitTest.Result?) {
| `- error: 'ExitTest' is unavailable: Exit tests are not available on this platform.
227 | let standardError = String(
228 | decoding: result?.standardErrorContent ?? [],
Testing.ExitTest:2:15: note: 'ExitTest' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Exit tests are not available on this platform.")
2 | public struct ExitTest : Sendable, ~Copyable {
| `- note: 'ExitTest' has been explicitly marked unavailable here
3 | }
SwiftCompile normal arm64 Compiling\ NestedGraphTrackingTests.swift,\ NodeLifecycleTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/NestedGraphTrackingTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/NodeLifecycleTests.swift (in target 'StateGraphTests-product' from project 'swift-state-graph')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/NestedGraphTrackingTests.swift (in target 'StateGraphTests-product' from project 'swift-state-graph')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NestedGraphTrackingTests.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/NodeLifecycleTests.swift (in target 'StateGraphTests-product' from project 'swift-state-graph')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NodeLifecycleTests.swift
SwiftCompile normal arm64 Compiling\ KeyPathTests.swift,\ ModelInitializationTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/KeyPathTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ModelInitializationTests.swift (in target 'StateGraphTests-product' from project 'swift-state-graph')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/KeyPathTests.swift (in target 'StateGraphTests-product' from project 'swift-state-graph')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile KeyPathTests.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ModelInitializationTests.swift (in target 'StateGraphTests-product' from project 'swift-state-graph')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ModelInitializationTests.swift
SwiftCompile normal arm64 Compiling\ ThreadLocalTests.swift,\ TopLevelPropertyTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ThreadLocalTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/TopLevelPropertyTests.swift (in target 'StateGraphTests-product' from project 'swift-state-graph')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ThreadLocalTests.swift (in target 'StateGraphTests-product' from project 'swift-state-graph')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ThreadLocalTests.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/TopLevelPropertyTests.swift (in target 'StateGraphTests-product' from project 'swift-state-graph')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TopLevelPropertyTests.swift
SwiftCompile normal arm64 Compiling\ SendableMetatypeTests.swift,\ Tests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/SendableMetatypeTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/Tests.swift (in target 'StateGraphTests-product' from project 'swift-state-graph')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/SendableMetatypeTests.swift (in target 'StateGraphTests-product' from project 'swift-state-graph')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SendableMetatypeTests.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/Tests.swift (in target 'StateGraphTests-product' from project 'swift-state-graph')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Tests.swift
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules/_SwiftSyntaxCShims-Z3H2QSDTXMMNFBU75UXNFU48.pcm
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-10-24 13:51:56.998 xcodebuild[1741:8863] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-10-24 13:51:57.098 xcodebuild[1741:8863] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ConcurrencyTests.swift (in target 'StateGraphTests-product' from project 'swift-state-graph')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/DeadlockTests.swift (in target 'StateGraphTests-product' from project 'swift-state-graph')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift (in target 'StateGraphTests-product' from project 'swift-state-graph')
SwiftCompile normal arm64 Compiling\ ConcurrencyTests.swift,\ DeadlockTests.swift,\ GraphMutationPreconditionTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/ConcurrencyTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/DeadlockTests.swift /Users/admin/builder/spi-builder-workspace/Tests/StateGraphTests/GraphMutationPreconditionTests.swift (in target 'StateGraphTests-product' from project 'swift-state-graph')
Building workspace swift-state-graph with scheme swift-state-graph-Package
(5 failures)
BUILD FAILURE 6.4 tvOS