Build Information
Failed to build Bytes, reference 0.6.2 (591520), with Swift 6.4 for watchOS using Xcode 27.0 on 26 Sep 2026 10:28:26 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Bytes -destination generic/platform=watchOSBuild Log
348 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:30:125: error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:346:14: note: expanded code originates here
341 | _ = try await iterator.next(utf8: String.self, min: 1, max: 0)
342 | }
343 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
344 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
345 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
346 | }
+--- macro expansion #expect --------------------------------------
|28 | )
|29 | }
|30 | },expression: .__fromSyntaxNode(".failure"),comments: [],isRequired: false,sourceLocation: Testing.SourceLocation.__here()).__expected()
| | `- error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
+------------------------------------------------------------------
347 | await #expect(processExitsWith: .failure) {
348 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
/Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:343:20: error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
341 | _ = try await iterator.next(utf8: String.self, min: 1, max: 0)
342 | }
343 | await #expect(processExitsWith: .failure) {
| `- error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
344 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
345 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
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 @concurrent @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/BytesTests/StringTests.swift:343:46: error: 'failure' is unavailable: Exit tests are not available on this platform.
341 | _ = try await iterator.next(utf8: String.self, min: 1, max: 0)
342 | }
343 | await #expect(processExitsWith: .failure) {
| `- error: 'failure' is unavailable: Exit tests are not available on this platform.
344 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
345 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
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 |
macro expansion #expect:1:139: error: extra argument 'processExitsWith' in call
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:350:14: note: expanded code originates here
345 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
346 | }
347 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
348 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
349 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
350 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x334760f59fbbebec,0xc5a87000131f85d1,0x3a7e60b4f840e48a,0xa45352e4a7ab0638),processExitsWith: .failure,performing: {
| | `- error: extra argument 'processExitsWith' in call
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX346_18_6expectfMf3_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
351 | await #expect(processExitsWith: .failure) {
352 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:1:42: error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:350:14: note: expanded code originates here
345 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
346 | }
347 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
348 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
349 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
350 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x334760f59fbbebec,0xc5a87000131f85d1,0x3a7e60b4f840e48a,0xa45352e4a7ab0638),processExitsWith: .failure,performing: {
| | `- error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX346_18_6expectfMf3_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
351 | await #expect(processExitsWith: .failure) {
352 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:1:139: error: cannot infer contextual base in reference to member 'failure'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:350:14: note: expanded code originates here
345 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
346 | }
347 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
348 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
349 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
350 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x334760f59fbbebec,0xc5a87000131f85d1,0x3a7e60b4f840e48a,0xa45352e4a7ab0638),processExitsWith: .failure,performing: {
| | `- error: cannot infer contextual base in reference to member 'failure'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX346_18_6expectfMf3_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
351 | await #expect(processExitsWith: .failure) {
352 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:30:125: error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:350:14: note: expanded code originates here
345 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
346 | }
347 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
348 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
349 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
350 | }
+--- macro expansion #expect --------------------------------------
|28 | )
|29 | }
|30 | },expression: .__fromSyntaxNode(".failure"),comments: [],isRequired: false,sourceLocation: Testing.SourceLocation.__here()).__expected()
| | `- error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
+------------------------------------------------------------------
351 | await #expect(processExitsWith: .failure) {
352 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
/Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:347:20: error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
345 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
346 | }
347 | await #expect(processExitsWith: .failure) {
| `- error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
348 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
349 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
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 @concurrent @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/BytesTests/StringTests.swift:347:46: error: 'failure' is unavailable: Exit tests are not available on this platform.
345 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
346 | }
347 | await #expect(processExitsWith: .failure) {
| `- error: 'failure' is unavailable: Exit tests are not available on this platform.
348 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
349 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
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 |
macro expansion #expect:1:139: error: extra argument 'processExitsWith' in call
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:354:14: note: expanded code originates here
349 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
350 | }
351 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
352 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
353 | _ = try await iterator.next(utf8: String.self, min: 1, max: 0)
354 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x8ee81c4db0c3d8e2,0x8c91e319b5df07f8,0xdb99ebfe3dee8351,0x46be8d54b7f5e752),processExitsWith: .failure,performing: {
| | `- error: extra argument 'processExitsWith' in call
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX350_18_6expectfMf4_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
355 | }
356 |
macro expansion #expect:1:42: error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:354:14: note: expanded code originates here
349 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
350 | }
351 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
352 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
353 | _ = try await iterator.next(utf8: String.self, min: 1, max: 0)
354 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x8ee81c4db0c3d8e2,0x8c91e319b5df07f8,0xdb99ebfe3dee8351,0x46be8d54b7f5e752),processExitsWith: .failure,performing: {
| | `- error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX350_18_6expectfMf4_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
355 | }
356 |
macro expansion #expect:1:139: error: cannot infer contextual base in reference to member 'failure'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:354:14: note: expanded code originates here
349 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
350 | }
351 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
352 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
353 | _ = try await iterator.next(utf8: String.self, min: 1, max: 0)
354 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x8ee81c4db0c3d8e2,0x8c91e319b5df07f8,0xdb99ebfe3dee8351,0x46be8d54b7f5e752),processExitsWith: .failure,performing: {
| | `- error: cannot infer contextual base in reference to member 'failure'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX350_18_6expectfMf4_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
355 | }
356 |
macro expansion #expect:30:125: error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:354:14: note: expanded code originates here
349 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
350 | }
351 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
352 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
353 | _ = try await iterator.next(utf8: String.self, min: 1, max: 0)
354 | }
+--- macro expansion #expect --------------------------------------
|28 | )
|29 | }
|30 | },expression: .__fromSyntaxNode(".failure"),comments: [],isRequired: false,sourceLocation: Testing.SourceLocation.__here()).__expected()
| | `- error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
+------------------------------------------------------------------
355 | }
356 |
/Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:351:20: error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
349 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
350 | }
351 | await #expect(processExitsWith: .failure) {
| `- error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
352 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
353 | _ = try await iterator.next(utf8: String.self, min: 1, max: 0)
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 @concurrent @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/BytesTests/StringTests.swift:351:46: error: 'failure' is unavailable: Exit tests are not available on this platform.
349 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
350 | }
351 | await #expect(processExitsWith: .failure) {
| `- error: 'failure' is unavailable: Exit tests are not available on this platform.
352 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
353 | _ = try await iterator.next(utf8: String.self, min: 1, max: 0)
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/BytesTests/StringTests.swift:331:13: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
329 |
330 | @Test func nextUTF8StringMinMaxInvalidInput() async throws {
331 | await #expect(processExitsWith: .failure) {
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
332 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
333 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
/Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:335:13: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
333 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
334 | }
335 | await #expect(processExitsWith: .failure) {
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
336 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
337 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
/Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:339:13: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
337 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
338 | }
339 | await #expect(processExitsWith: .failure) {
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
340 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
341 | _ = try await iterator.next(utf8: String.self, min: 1, max: 0)
/Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:343:13: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
341 | _ = try await iterator.next(utf8: String.self, min: 1, max: 0)
342 | }
343 | await #expect(processExitsWith: .failure) {
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
344 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
345 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
/Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:347:13: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
345 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
346 | }
347 | await #expect(processExitsWith: .failure) {
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
348 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
349 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
/Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:351:13: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
349 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
350 | }
351 | await #expect(processExitsWith: .failure) {
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
352 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
353 | _ = try await iterator.next(utf8: String.self, min: 1, max: 0)
macro expansion #expect:1:139: error: extra argument 'processExitsWith' in call
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:386:14: note: expanded code originates here
381 |
382 | @Test func nextIfPresentUTF8StringCountInvalidInput() async throws {
383 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
384 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
385 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
386 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x40aa4cd545650ff0,0xec5ee207c3636b61,0xcefff637e16a52c0,0x17ded1273cefcced),processExitsWith: .failure,performing: {
| | `- error: extra argument 'processExitsWith' in call
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX382_18_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
387 | await #expect(processExitsWith: .failure) {
388 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:1:42: error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:386:14: note: expanded code originates here
381 |
382 | @Test func nextIfPresentUTF8StringCountInvalidInput() async throws {
383 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
384 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
385 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
386 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x40aa4cd545650ff0,0xec5ee207c3636b61,0xcefff637e16a52c0,0x17ded1273cefcced),processExitsWith: .failure,performing: {
| | `- error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX382_18_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
387 | await #expect(processExitsWith: .failure) {
388 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:1:139: error: cannot infer contextual base in reference to member 'failure'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:386:14: note: expanded code originates here
381 |
382 | @Test func nextIfPresentUTF8StringCountInvalidInput() async throws {
383 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
384 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
385 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
386 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x40aa4cd545650ff0,0xec5ee207c3636b61,0xcefff637e16a52c0,0x17ded1273cefcced),processExitsWith: .failure,performing: {
| | `- error: cannot infer contextual base in reference to member 'failure'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX382_18_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
387 | await #expect(processExitsWith: .failure) {
388 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:30:125: error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:386:14: note: expanded code originates here
381 |
382 | @Test func nextIfPresentUTF8StringCountInvalidInput() async throws {
383 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
384 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
385 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
386 | }
+--- macro expansion #expect --------------------------------------
|28 | )
|29 | }
|30 | },expression: .__fromSyntaxNode(".failure"),comments: [],isRequired: false,sourceLocation: Testing.SourceLocation.__here()).__expected()
| | `- error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
+------------------------------------------------------------------
387 | await #expect(processExitsWith: .failure) {
388 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
/Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:383:20: error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
381 |
382 | @Test func nextIfPresentUTF8StringCountInvalidInput() async throws {
383 | await #expect(processExitsWith: .failure) {
| `- error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
384 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
385 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
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 @concurrent @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/BytesTests/StringTests.swift:383:46: error: 'failure' is unavailable: Exit tests are not available on this platform.
381 |
382 | @Test func nextIfPresentUTF8StringCountInvalidInput() async throws {
383 | await #expect(processExitsWith: .failure) {
| `- error: 'failure' is unavailable: Exit tests are not available on this platform.
384 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
385 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
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 |
macro expansion #expect:1:139: error: extra argument 'processExitsWith' in call
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:390:14: note: expanded code originates here
385 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
386 | }
387 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
388 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
389 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
390 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x201f1a5cc25c1249,0x8fd7b3e3524786ad,0xca8aefebc8056b45,0xb1bddaa2a8cb7f24),processExitsWith: .failure,performing: {
| | `- error: extra argument 'processExitsWith' in call
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX386_18_6expectfMf0_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
391 | }
392 |
macro expansion #expect:1:42: error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:390:14: note: expanded code originates here
385 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
386 | }
387 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
388 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
389 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
390 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x201f1a5cc25c1249,0x8fd7b3e3524786ad,0xca8aefebc8056b45,0xb1bddaa2a8cb7f24),processExitsWith: .failure,performing: {
| | `- error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX386_18_6expectfMf0_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
391 | }
392 |
macro expansion #expect:1:139: error: cannot infer contextual base in reference to member 'failure'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:390:14: note: expanded code originates here
385 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
386 | }
387 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
388 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
389 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
390 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x201f1a5cc25c1249,0x8fd7b3e3524786ad,0xca8aefebc8056b45,0xb1bddaa2a8cb7f24),processExitsWith: .failure,performing: {
| | `- error: cannot infer contextual base in reference to member 'failure'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX386_18_6expectfMf0_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
391 | }
392 |
macro expansion #expect:30:125: error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:390:14: note: expanded code originates here
385 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
386 | }
387 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
388 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
389 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
390 | }
+--- macro expansion #expect --------------------------------------
|28 | )
|29 | }
|30 | },expression: .__fromSyntaxNode(".failure"),comments: [],isRequired: false,sourceLocation: Testing.SourceLocation.__here()).__expected()
| | `- error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
+------------------------------------------------------------------
391 | }
392 |
/Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:387:20: error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
385 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
386 | }
387 | await #expect(processExitsWith: .failure) {
| `- error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
388 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
389 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
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 @concurrent @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/BytesTests/StringTests.swift:387:46: error: 'failure' is unavailable: Exit tests are not available on this platform.
385 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
386 | }
387 | await #expect(processExitsWith: .failure) {
| `- error: 'failure' is unavailable: Exit tests are not available on this platform.
388 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
389 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
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/BytesTests/StringTests.swift:383:13: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
381 |
382 | @Test func nextIfPresentUTF8StringCountInvalidInput() async throws {
383 | await #expect(processExitsWith: .failure) {
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
384 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
385 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
/Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:387:13: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
385 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
386 | }
387 | await #expect(processExitsWith: .failure) {
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
388 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
389 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
macro expansion #expect:1:139: error: extra argument 'processExitsWith' in call
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:440:14: note: expanded code originates here
435 |
436 | @Test func nextIfPresentUTF8StringMinMaxInvalidInput() async throws {
437 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
438 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
439 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: 1)
440 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xca4afbba14581d07,0x10bc70859e79879c,0x8f075d0207570c18,0x8d54703225c50c4d),processExitsWith: .failure,performing: {
| | `- error: extra argument 'processExitsWith' in call
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX436_18_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
441 | await #expect(processExitsWith: .failure) {
442 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:1:42: error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:440:14: note: expanded code originates here
435 |
436 | @Test func nextIfPresentUTF8StringMinMaxInvalidInput() async throws {
437 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
438 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
439 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: 1)
440 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xca4afbba14581d07,0x10bc70859e79879c,0x8f075d0207570c18,0x8d54703225c50c4d),processExitsWith: .failure,performing: {
| | `- error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX436_18_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
441 | await #expect(processExitsWith: .failure) {
442 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:1:139: error: cannot infer contextual base in reference to member 'failure'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:440:14: note: expanded code originates here
435 |
436 | @Test func nextIfPresentUTF8StringMinMaxInvalidInput() async throws {
437 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
438 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
439 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: 1)
440 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xca4afbba14581d07,0x10bc70859e79879c,0x8f075d0207570c18,0x8d54703225c50c4d),processExitsWith: .failure,performing: {
| | `- error: cannot infer contextual base in reference to member 'failure'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX436_18_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
441 | await #expect(processExitsWith: .failure) {
442 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:30:125: error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:440:14: note: expanded code originates here
435 |
436 | @Test func nextIfPresentUTF8StringMinMaxInvalidInput() async throws {
437 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
438 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
439 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: 1)
440 | }
+--- macro expansion #expect --------------------------------------
|28 | )
|29 | }
|30 | },expression: .__fromSyntaxNode(".failure"),comments: [],isRequired: false,sourceLocation: Testing.SourceLocation.__here()).__expected()
| | `- error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
+------------------------------------------------------------------
441 | await #expect(processExitsWith: .failure) {
442 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
/Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:437:20: error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
435 |
436 | @Test func nextIfPresentUTF8StringMinMaxInvalidInput() async throws {
437 | await #expect(processExitsWith: .failure) {
| `- error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
438 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
439 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: 1)
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 @concurrent @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/BytesTests/StringTests.swift:437:46: error: 'failure' is unavailable: Exit tests are not available on this platform.
435 |
436 | @Test func nextIfPresentUTF8StringMinMaxInvalidInput() async throws {
437 | await #expect(processExitsWith: .failure) {
| `- error: 'failure' is unavailable: Exit tests are not available on this platform.
438 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
439 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: 1)
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 |
macro expansion #expect:1:138: error: extra argument 'processExitsWith' in call
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:444:14: note: expanded code originates here
439 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: 1)
440 | }
441 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
442 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
443 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: -1)
444 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x1ccb99e8cf20d6d0,0x1284b7c65a94dd3,0xbcb0fa8e9d6c9f99,0x5c7c45570689bcc4),processExitsWith: .failure,performing: {
| | `- error: extra argument 'processExitsWith' in call
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX440_18_6expectfMf0_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
445 | await #expect(processExitsWith: .failure) {
446 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:1:42: error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:444:14: note: expanded code originates here
439 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: 1)
440 | }
441 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
442 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
443 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: -1)
444 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x1ccb99e8cf20d6d0,0x1284b7c65a94dd3,0xbcb0fa8e9d6c9f99,0x5c7c45570689bcc4),processExitsWith: .failure,performing: {
| | `- error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX440_18_6expectfMf0_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
445 | await #expect(processExitsWith: .failure) {
446 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:1:138: error: cannot infer contextual base in reference to member 'failure'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:444:14: note: expanded code originates here
439 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: 1)
440 | }
441 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
442 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
443 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: -1)
444 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x1ccb99e8cf20d6d0,0x1284b7c65a94dd3,0xbcb0fa8e9d6c9f99,0x5c7c45570689bcc4),processExitsWith: .failure,performing: {
| | `- error: cannot infer contextual base in reference to member 'failure'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX440_18_6expectfMf0_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
445 | await #expect(processExitsWith: .failure) {
446 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:30:125: error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:444:14: note: expanded code originates here
439 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: 1)
440 | }
441 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
442 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
443 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: -1)
444 | }
+--- macro expansion #expect --------------------------------------
|28 | )
|29 | }
|30 | },expression: .__fromSyntaxNode(".failure"),comments: [],isRequired: false,sourceLocation: Testing.SourceLocation.__here()).__expected()
| | `- error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
+------------------------------------------------------------------
445 | await #expect(processExitsWith: .failure) {
446 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
/Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:441:20: error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
439 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: 1)
440 | }
441 | await #expect(processExitsWith: .failure) {
| `- error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
442 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
443 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: -1)
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 @concurrent @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/BytesTests/StringTests.swift:441:46: error: 'failure' is unavailable: Exit tests are not available on this platform.
439 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: 1)
440 | }
441 | await #expect(processExitsWith: .failure) {
| `- error: 'failure' is unavailable: Exit tests are not available on this platform.
442 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
443 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: -1)
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 |
macro expansion #expect:1:139: error: extra argument 'processExitsWith' in call
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:448:14: note: expanded code originates here
443 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: -1)
444 | }
445 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
446 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
447 | _ = try await iterator.nextIfPresent(utf8: String.self, min: 1, max: 0)
448 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x47973b76722dc2ba,0x892f319bf213af68,0x44a7e13f4c1b8360,0x7ee363c00b4ee568),processExitsWith: .failure,performing: {
| | `- error: extra argument 'processExitsWith' in call
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX444_18_6expectfMf1_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
449 | await #expect(processExitsWith: .failure) {
450 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:1:42: error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:448:14: note: expanded code originates here
443 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: -1)
444 | }
445 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
446 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
447 | _ = try await iterator.nextIfPresent(utf8: String.self, min: 1, max: 0)
448 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x47973b76722dc2ba,0x892f319bf213af68,0x44a7e13f4c1b8360,0x7ee363c00b4ee568),processExitsWith: .failure,performing: {
| | `- error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX444_18_6expectfMf1_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
449 | await #expect(processExitsWith: .failure) {
450 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:1:139: error: cannot infer contextual base in reference to member 'failure'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:448:14: note: expanded code originates here
443 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: -1)
444 | }
445 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
446 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
447 | _ = try await iterator.nextIfPresent(utf8: String.self, min: 1, max: 0)
448 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x47973b76722dc2ba,0x892f319bf213af68,0x44a7e13f4c1b8360,0x7ee363c00b4ee568),processExitsWith: .failure,performing: {
| | `- error: cannot infer contextual base in reference to member 'failure'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX444_18_6expectfMf1_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
449 | await #expect(processExitsWith: .failure) {
450 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:30:125: error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:448:14: note: expanded code originates here
443 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: -1)
444 | }
445 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
446 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
447 | _ = try await iterator.nextIfPresent(utf8: String.self, min: 1, max: 0)
448 | }
+--- macro expansion #expect --------------------------------------
|28 | )
|29 | }
|30 | },expression: .__fromSyntaxNode(".failure"),comments: [],isRequired: false,sourceLocation: Testing.SourceLocation.__here()).__expected()
| | `- error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
+------------------------------------------------------------------
449 | await #expect(processExitsWith: .failure) {
450 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
/Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:445:20: error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
443 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: -1)
444 | }
445 | await #expect(processExitsWith: .failure) {
| `- error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
446 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
447 | _ = try await iterator.nextIfPresent(utf8: String.self, min: 1, max: 0)
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 @concurrent @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/BytesTests/StringTests.swift:445:46: error: 'failure' is unavailable: Exit tests are not available on this platform.
443 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: -1)
444 | }
445 | await #expect(processExitsWith: .failure) {
| `- error: 'failure' is unavailable: Exit tests are not available on this platform.
446 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
447 | _ = try await iterator.nextIfPresent(utf8: String.self, min: 1, max: 0)
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 |
macro expansion #expect:1:139: error: extra argument 'processExitsWith' in call
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:452:14: note: expanded code originates here
447 | _ = try await iterator.nextIfPresent(utf8: String.self, min: 1, max: 0)
448 | }
449 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
450 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
451 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: 1)
452 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xdf50619ba90373f1,0x7d45838d192dbc73,0xbd90f8743903b76e,0xca3b5a64ae51a700),processExitsWith: .failure,performing: {
| | `- error: extra argument 'processExitsWith' in call
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX448_18_6expectfMf2_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
453 | await #expect(processExitsWith: .failure) {
454 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:1:42: error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:452:14: note: expanded code originates here
447 | _ = try await iterator.nextIfPresent(utf8: String.self, min: 1, max: 0)
448 | }
449 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
450 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
451 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: 1)
452 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xdf50619ba90373f1,0x7d45838d192dbc73,0xbd90f8743903b76e,0xca3b5a64ae51a700),processExitsWith: .failure,performing: {
| | `- error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX448_18_6expectfMf2_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
453 | await #expect(processExitsWith: .failure) {
454 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:1:139: error: cannot infer contextual base in reference to member 'failure'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:452:14: note: expanded code originates here
447 | _ = try await iterator.nextIfPresent(utf8: String.self, min: 1, max: 0)
448 | }
449 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
450 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
451 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: 1)
452 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xdf50619ba90373f1,0x7d45838d192dbc73,0xbd90f8743903b76e,0xca3b5a64ae51a700),processExitsWith: .failure,performing: {
| | `- error: cannot infer contextual base in reference to member 'failure'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX448_18_6expectfMf2_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
453 | await #expect(processExitsWith: .failure) {
454 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:30:125: error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:452:14: note: expanded code originates here
447 | _ = try await iterator.nextIfPresent(utf8: String.self, min: 1, max: 0)
448 | }
449 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
450 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
451 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: 1)
452 | }
+--- macro expansion #expect --------------------------------------
|28 | )
|29 | }
|30 | },expression: .__fromSyntaxNode(".failure"),comments: [],isRequired: false,sourceLocation: Testing.SourceLocation.__here()).__expected()
| | `- error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
+------------------------------------------------------------------
453 | await #expect(processExitsWith: .failure) {
454 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
/Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:449:20: error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
447 | _ = try await iterator.nextIfPresent(utf8: String.self, min: 1, max: 0)
448 | }
449 | await #expect(processExitsWith: .failure) {
| `- error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
450 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
451 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: 1)
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 @concurrent @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/BytesTests/StringTests.swift:449:46: error: 'failure' is unavailable: Exit tests are not available on this platform.
447 | _ = try await iterator.nextIfPresent(utf8: String.self, min: 1, max: 0)
448 | }
449 | await #expect(processExitsWith: .failure) {
| `- error: 'failure' is unavailable: Exit tests are not available on this platform.
450 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
451 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: 1)
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 |
macro expansion #expect:1:139: error: extra argument 'processExitsWith' in call
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:456:14: note: expanded code originates here
451 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: 1)
452 | }
453 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
454 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
455 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: -1)
456 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x2f687c4c71f8548b,0xc5b9a867b62d85f1,0xd7bb5c1c020b863c,0x7217ee2d3d47d8f0),processExitsWith: .failure,performing: {
| | `- error: extra argument 'processExitsWith' in call
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX452_18_6expectfMf3_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
457 | await #expect(processExitsWith: .failure) {
458 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:1:42: error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:456:14: note: expanded code originates here
451 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: 1)
452 | }
453 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
454 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
455 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: -1)
456 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x2f687c4c71f8548b,0xc5b9a867b62d85f1,0xd7bb5c1c020b863c,0x7217ee2d3d47d8f0),processExitsWith: .failure,performing: {
| | `- error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX452_18_6expectfMf3_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
457 | await #expect(processExitsWith: .failure) {
458 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:1:139: error: cannot infer contextual base in reference to member 'failure'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:456:14: note: expanded code originates here
451 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: 1)
452 | }
453 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
454 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
455 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: -1)
456 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x2f687c4c71f8548b,0xc5b9a867b62d85f1,0xd7bb5c1c020b863c,0x7217ee2d3d47d8f0),processExitsWith: .failure,performing: {
| | `- error: cannot infer contextual base in reference to member 'failure'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX452_18_6expectfMf3_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
457 | await #expect(processExitsWith: .failure) {
458 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:30:125: error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:456:14: note: expanded code originates here
451 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: 1)
452 | }
453 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
454 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
455 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: -1)
456 | }
+--- macro expansion #expect --------------------------------------
|28 | )
|29 | }
|30 | },expression: .__fromSyntaxNode(".failure"),comments: [],isRequired: false,sourceLocation: Testing.SourceLocation.__here()).__expected()
| | `- error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
+------------------------------------------------------------------
457 | await #expect(processExitsWith: .failure) {
458 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
/Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:453:20: error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
451 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: 1)
452 | }
453 | await #expect(processExitsWith: .failure) {
| `- error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
454 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
455 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: -1)
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 @concurrent @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/BytesTests/StringTests.swift:453:46: error: 'failure' is unavailable: Exit tests are not available on this platform.
451 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: 1)
452 | }
453 | await #expect(processExitsWith: .failure) {
| `- error: 'failure' is unavailable: Exit tests are not available on this platform.
454 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
455 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: -1)
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 |
macro expansion #expect:1:139: error: extra argument 'processExitsWith' in call
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:460:14: note: expanded code originates here
455 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: -1)
456 | }
457 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
458 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
459 | _ = try await iterator.nextIfPresent(utf8: String.self, min: 1, max: 0)
460 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x53cc64f782920a70,0xf5de809f5d3d2a10,0xe3d6cdad3635a5ac,0x3e4ba158b04640bb),processExitsWith: .failure,performing: {
| | `- error: extra argument 'processExitsWith' in call
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX456_18_6expectfMf4_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
461 | }
462 |
macro expansion #expect:1:42: error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:460:14: note: expanded code originates here
455 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: -1)
456 | }
457 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
458 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
459 | _ = try await iterator.nextIfPresent(utf8: String.self, min: 1, max: 0)
460 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x53cc64f782920a70,0xf5de809f5d3d2a10,0xe3d6cdad3635a5ac,0x3e4ba158b04640bb),processExitsWith: .failure,performing: {
| | `- error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX456_18_6expectfMf4_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
461 | }
462 |
macro expansion #expect:1:139: error: cannot infer contextual base in reference to member 'failure'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:460:14: note: expanded code originates here
455 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: -1)
456 | }
457 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
458 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
459 | _ = try await iterator.nextIfPresent(utf8: String.self, min: 1, max: 0)
460 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x53cc64f782920a70,0xf5de809f5d3d2a10,0xe3d6cdad3635a5ac,0x3e4ba158b04640bb),processExitsWith: .failure,performing: {
| | `- error: cannot infer contextual base in reference to member 'failure'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX456_18_6expectfMf4_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
461 | }
462 |
macro expansion #expect:30:125: error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:460:14: note: expanded code originates here
455 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: -1)
456 | }
457 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
458 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
459 | _ = try await iterator.nextIfPresent(utf8: String.self, min: 1, max: 0)
460 | }
+--- macro expansion #expect --------------------------------------
|28 | )
|29 | }
|30 | },expression: .__fromSyntaxNode(".failure"),comments: [],isRequired: false,sourceLocation: Testing.SourceLocation.__here()).__expected()
| | `- error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
+------------------------------------------------------------------
461 | }
462 |
/Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:457:20: error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
455 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: -1)
456 | }
457 | await #expect(processExitsWith: .failure) {
| `- error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
458 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
459 | _ = try await iterator.nextIfPresent(utf8: String.self, min: 1, max: 0)
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 @concurrent @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/BytesTests/StringTests.swift:457:46: error: 'failure' is unavailable: Exit tests are not available on this platform.
455 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: -1)
456 | }
457 | await #expect(processExitsWith: .failure) {
| `- error: 'failure' is unavailable: Exit tests are not available on this platform.
458 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
459 | _ = try await iterator.nextIfPresent(utf8: String.self, min: 1, max: 0)
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/BytesTests/StringTests.swift:437:13: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
435 |
436 | @Test func nextIfPresentUTF8StringMinMaxInvalidInput() async throws {
437 | await #expect(processExitsWith: .failure) {
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
438 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
439 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: 1)
/Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:441:13: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
439 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: 1)
440 | }
441 | await #expect(processExitsWith: .failure) {
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
442 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
443 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: -1)
/Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:445:13: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
443 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: -1)
444 | }
445 | await #expect(processExitsWith: .failure) {
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
446 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
447 | _ = try await iterator.nextIfPresent(utf8: String.self, min: 1, max: 0)
/Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:449:13: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
447 | _ = try await iterator.nextIfPresent(utf8: String.self, min: 1, max: 0)
448 | }
449 | await #expect(processExitsWith: .failure) {
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
450 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
451 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: 1)
/Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:453:13: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
451 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: 1)
452 | }
453 | await #expect(processExitsWith: .failure) {
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
454 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
455 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: -1)
/Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:457:13: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
455 | _ = try await iterator.nextIfPresent(utf8: String.self, min: -1, max: -1)
456 | }
457 | await #expect(processExitsWith: .failure) {
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
458 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
459 | _ = try await iterator.nextIfPresent(utf8: String.self, min: 1, max: 0)
macro expansion #expect:1:138: error: extra argument 'processExitsWith' in call
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:717:14: note: expanded code originates here
712 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
713 | @Test func nextUTF8StringCountInvalidInput() async throws {
714 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
715 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
716 | _ = try await iterator.next(utf8: String.self, count: -1)
717 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xae8b9d8e97e44ce9,0xa6766b76f61ae51,0x33986c21ab529df5,0xa54c42ffeed30f6e),processExitsWith: .failure,performing: {
| | `- error: extra argument 'processExitsWith' in call
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX713_18_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
718 | await #expect(processExitsWith: .failure) {
719 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:1:42: error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:717:14: note: expanded code originates here
712 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
713 | @Test func nextUTF8StringCountInvalidInput() async throws {
714 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
715 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
716 | _ = try await iterator.next(utf8: String.self, count: -1)
717 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xae8b9d8e97e44ce9,0xa6766b76f61ae51,0x33986c21ab529df5,0xa54c42ffeed30f6e),processExitsWith: .failure,performing: {
| | `- error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX713_18_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
718 | await #expect(processExitsWith: .failure) {
719 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:1:138: error: cannot infer contextual base in reference to member 'failure'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:717:14: note: expanded code originates here
712 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
713 | @Test func nextUTF8StringCountInvalidInput() async throws {
714 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
715 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
716 | _ = try await iterator.next(utf8: String.self, count: -1)
717 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xae8b9d8e97e44ce9,0xa6766b76f61ae51,0x33986c21ab529df5,0xa54c42ffeed30f6e),processExitsWith: .failure,performing: {
| | `- error: cannot infer contextual base in reference to member 'failure'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX713_18_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
718 | await #expect(processExitsWith: .failure) {
719 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:30:125: error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:717:14: note: expanded code originates here
712 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
713 | @Test func nextUTF8StringCountInvalidInput() async throws {
714 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
715 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
716 | _ = try await iterator.next(utf8: String.self, count: -1)
717 | }
+--- macro expansion #expect --------------------------------------
|28 | )
|29 | }
|30 | },expression: .__fromSyntaxNode(".failure"),comments: [],isRequired: false,sourceLocation: Testing.SourceLocation.__here()).__expected()
| | `- error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
+------------------------------------------------------------------
718 | await #expect(processExitsWith: .failure) {
719 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
/Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:714:20: error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
712 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
713 | @Test func nextUTF8StringCountInvalidInput() async throws {
714 | await #expect(processExitsWith: .failure) {
| `- error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
715 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
716 | _ = try await iterator.next(utf8: String.self, count: -1)
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 @concurrent @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/BytesTests/StringTests.swift:714:46: error: 'failure' is unavailable: Exit tests are not available on this platform.
712 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
713 | @Test func nextUTF8StringCountInvalidInput() async throws {
714 | await #expect(processExitsWith: .failure) {
| `- error: 'failure' is unavailable: Exit tests are not available on this platform.
715 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
716 | _ = try await iterator.next(utf8: String.self, count: -1)
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 |
macro expansion #expect:1:137: error: extra argument 'processExitsWith' in call
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:721:14: note: expanded code originates here
716 | _ = try await iterator.next(utf8: String.self, count: -1)
717 | }
718 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
719 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
720 | _ = try await iterator.next(utf8: String.self, count: -1)
721 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x9daf8529df69b0bc,0x5df38cefc3973c33,0x48064f305750de,0x98381e7f28aacec6),processExitsWith: .failure,performing: {
| | `- error: extra argument 'processExitsWith' in call
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX717_18_6expectfMf0_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
722 | }
723 |
macro expansion #expect:1:42: error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:721:14: note: expanded code originates here
716 | _ = try await iterator.next(utf8: String.self, count: -1)
717 | }
718 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
719 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
720 | _ = try await iterator.next(utf8: String.self, count: -1)
721 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x9daf8529df69b0bc,0x5df38cefc3973c33,0x48064f305750de,0x98381e7f28aacec6),processExitsWith: .failure,performing: {
| | `- error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX717_18_6expectfMf0_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
722 | }
723 |
macro expansion #expect:1:137: error: cannot infer contextual base in reference to member 'failure'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:721:14: note: expanded code originates here
716 | _ = try await iterator.next(utf8: String.self, count: -1)
717 | }
718 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
719 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
720 | _ = try await iterator.next(utf8: String.self, count: -1)
721 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x9daf8529df69b0bc,0x5df38cefc3973c33,0x48064f305750de,0x98381e7f28aacec6),processExitsWith: .failure,performing: {
| | `- error: cannot infer contextual base in reference to member 'failure'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX717_18_6expectfMf0_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
722 | }
723 |
macro expansion #expect:30:125: error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:721:14: note: expanded code originates here
716 | _ = try await iterator.next(utf8: String.self, count: -1)
717 | }
718 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
719 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
720 | _ = try await iterator.next(utf8: String.self, count: -1)
721 | }
+--- macro expansion #expect --------------------------------------
|28 | )
|29 | }
|30 | },expression: .__fromSyntaxNode(".failure"),comments: [],isRequired: false,sourceLocation: Testing.SourceLocation.__here()).__expected()
| | `- error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
+------------------------------------------------------------------
722 | }
723 |
/Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:718:20: error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
716 | _ = try await iterator.next(utf8: String.self, count: -1)
717 | }
718 | await #expect(processExitsWith: .failure) {
| `- error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
719 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
720 | _ = try await iterator.next(utf8: String.self, count: -1)
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 @concurrent @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/BytesTests/StringTests.swift:718:46: error: 'failure' is unavailable: Exit tests are not available on this platform.
716 | _ = try await iterator.next(utf8: String.self, count: -1)
717 | }
718 | await #expect(processExitsWith: .failure) {
| `- error: 'failure' is unavailable: Exit tests are not available on this platform.
719 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
720 | _ = try await iterator.next(utf8: String.self, count: -1)
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/BytesTests/StringTests.swift:714:13: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
712 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
713 | @Test func nextUTF8StringCountInvalidInput() async throws {
714 | await #expect(processExitsWith: .failure) {
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
715 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
716 | _ = try await iterator.next(utf8: String.self, count: -1)
/Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:718:13: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
716 | _ = try await iterator.next(utf8: String.self, count: -1)
717 | }
718 | await #expect(processExitsWith: .failure) {
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
719 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
720 | _ = try await iterator.next(utf8: String.self, count: -1)
macro expansion #expect:1:139: error: extra argument 'processExitsWith' in call
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:755:14: note: expanded code originates here
750 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
751 | @Test func nextUTF8StringMinMaxInvalidInput() async throws {
752 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
753 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
754 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
755 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xbe8d13c9833acfab,0x874186939b864385,0xaf9a7b75fd0c0fa8,0x160ce7cee8a8f3d0),processExitsWith: .failure,performing: {
| | `- error: extra argument 'processExitsWith' in call
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX751_18_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
756 | await #expect(processExitsWith: .failure) {
757 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:1:42: error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:755:14: note: expanded code originates here
750 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
751 | @Test func nextUTF8StringMinMaxInvalidInput() async throws {
752 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
753 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
754 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
755 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xbe8d13c9833acfab,0x874186939b864385,0xaf9a7b75fd0c0fa8,0x160ce7cee8a8f3d0),processExitsWith: .failure,performing: {
| | `- error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX751_18_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
756 | await #expect(processExitsWith: .failure) {
757 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:1:139: error: cannot infer contextual base in reference to member 'failure'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:755:14: note: expanded code originates here
750 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
751 | @Test func nextUTF8StringMinMaxInvalidInput() async throws {
752 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
753 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
754 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
755 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xbe8d13c9833acfab,0x874186939b864385,0xaf9a7b75fd0c0fa8,0x160ce7cee8a8f3d0),processExitsWith: .failure,performing: {
| | `- error: cannot infer contextual base in reference to member 'failure'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX751_18_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
756 | await #expect(processExitsWith: .failure) {
757 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:30:125: error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:755:14: note: expanded code originates here
750 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
751 | @Test func nextUTF8StringMinMaxInvalidInput() async throws {
752 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
753 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
754 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
755 | }
+--- macro expansion #expect --------------------------------------
|28 | )
|29 | }
|30 | },expression: .__fromSyntaxNode(".failure"),comments: [],isRequired: false,sourceLocation: Testing.SourceLocation.__here()).__expected()
| | `- error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
+------------------------------------------------------------------
756 | await #expect(processExitsWith: .failure) {
757 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
/Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:752:20: error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
750 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
751 | @Test func nextUTF8StringMinMaxInvalidInput() async throws {
752 | await #expect(processExitsWith: .failure) {
| `- error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
753 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
754 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
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 @concurrent @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/BytesTests/StringTests.swift:752:46: error: 'failure' is unavailable: Exit tests are not available on this platform.
750 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
751 | @Test func nextUTF8StringMinMaxInvalidInput() async throws {
752 | await #expect(processExitsWith: .failure) {
| `- error: 'failure' is unavailable: Exit tests are not available on this platform.
753 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
754 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
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 |
macro expansion #expect:1:139: error: extra argument 'processExitsWith' in call
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:759:14: note: expanded code originates here
754 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
755 | }
756 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
757 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
758 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
759 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x9ac527b40959989c,0x81b8877e433c450a,0x1186b4ab6e487610,0x2557162b0d4ac10b),processExitsWith: .failure,performing: {
| | `- error: extra argument 'processExitsWith' in call
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX755_18_6expectfMf0_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
760 | await #expect(processExitsWith: .failure) {
761 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:1:42: error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:759:14: note: expanded code originates here
754 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
755 | }
756 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
757 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
758 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
759 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x9ac527b40959989c,0x81b8877e433c450a,0x1186b4ab6e487610,0x2557162b0d4ac10b),processExitsWith: .failure,performing: {
| | `- error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX755_18_6expectfMf0_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
760 | await #expect(processExitsWith: .failure) {
761 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:1:139: error: cannot infer contextual base in reference to member 'failure'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:759:14: note: expanded code originates here
754 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
755 | }
756 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
757 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
758 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
759 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x9ac527b40959989c,0x81b8877e433c450a,0x1186b4ab6e487610,0x2557162b0d4ac10b),processExitsWith: .failure,performing: {
| | `- error: cannot infer contextual base in reference to member 'failure'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX755_18_6expectfMf0_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
760 | await #expect(processExitsWith: .failure) {
761 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:30:125: error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:759:14: note: expanded code originates here
754 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
755 | }
756 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
757 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
758 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
759 | }
+--- macro expansion #expect --------------------------------------
|28 | )
|29 | }
|30 | },expression: .__fromSyntaxNode(".failure"),comments: [],isRequired: false,sourceLocation: Testing.SourceLocation.__here()).__expected()
| | `- error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
+------------------------------------------------------------------
760 | await #expect(processExitsWith: .failure) {
761 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
/Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:756:20: error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
754 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
755 | }
756 | await #expect(processExitsWith: .failure) {
| `- error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
757 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
758 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
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 @concurrent @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/BytesTests/StringTests.swift:756:46: error: 'failure' is unavailable: Exit tests are not available on this platform.
754 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
755 | }
756 | await #expect(processExitsWith: .failure) {
| `- error: 'failure' is unavailable: Exit tests are not available on this platform.
757 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
758 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
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 |
macro expansion #expect:1:139: error: extra argument 'processExitsWith' in call
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:763:14: note: expanded code originates here
758 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
759 | }
760 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
761 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
762 | _ = try await iterator.next(utf8: String.self, min: 1, max: 0)
763 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xa3057dc520998bdd,0x64355676afa3906a,0x32b75e6cd9c34fd9,0xed7b0c31dc543ecf),processExitsWith: .failure,performing: {
| | `- error: extra argument 'processExitsWith' in call
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX759_18_6expectfMf1_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
764 | await #expect(processExitsWith: .failure) {
765 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:1:42: error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:763:14: note: expanded code originates here
758 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
759 | }
760 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
761 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
762 | _ = try await iterator.next(utf8: String.self, min: 1, max: 0)
763 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xa3057dc520998bdd,0x64355676afa3906a,0x32b75e6cd9c34fd9,0xed7b0c31dc543ecf),processExitsWith: .failure,performing: {
| | `- error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX759_18_6expectfMf1_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
764 | await #expect(processExitsWith: .failure) {
765 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:1:139: error: cannot infer contextual base in reference to member 'failure'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:763:14: note: expanded code originates here
758 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
759 | }
760 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
761 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
762 | _ = try await iterator.next(utf8: String.self, min: 1, max: 0)
763 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xa3057dc520998bdd,0x64355676afa3906a,0x32b75e6cd9c34fd9,0xed7b0c31dc543ecf),processExitsWith: .failure,performing: {
| | `- error: cannot infer contextual base in reference to member 'failure'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX759_18_6expectfMf1_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
764 | await #expect(processExitsWith: .failure) {
765 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:30:125: error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:763:14: note: expanded code originates here
758 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
759 | }
760 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
761 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
762 | _ = try await iterator.next(utf8: String.self, min: 1, max: 0)
763 | }
+--- macro expansion #expect --------------------------------------
|28 | )
|29 | }
|30 | },expression: .__fromSyntaxNode(".failure"),comments: [],isRequired: false,sourceLocation: Testing.SourceLocation.__here()).__expected()
| | `- error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
+------------------------------------------------------------------
764 | await #expect(processExitsWith: .failure) {
765 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
/Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:760:20: error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
758 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
759 | }
760 | await #expect(processExitsWith: .failure) {
| `- error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
761 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
762 | _ = try await iterator.next(utf8: String.self, min: 1, max: 0)
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 @concurrent @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/BytesTests/StringTests.swift:760:46: error: 'failure' is unavailable: Exit tests are not available on this platform.
758 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
759 | }
760 | await #expect(processExitsWith: .failure) {
| `- error: 'failure' is unavailable: Exit tests are not available on this platform.
761 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
762 | _ = try await iterator.next(utf8: String.self, min: 1, max: 0)
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 |
macro expansion #expect:1:139: error: extra argument 'processExitsWith' in call
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:767:14: note: expanded code originates here
762 | _ = try await iterator.next(utf8: String.self, min: 1, max: 0)
763 | }
764 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
765 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
766 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
767 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xacee799880004a78,0xeef4157d0e4ea735,0x3acd1cd83a106fb0,0xa93a9e1f783b0f34),processExitsWith: .failure,performing: {
| | `- error: extra argument 'processExitsWith' in call
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX763_18_6expectfMf2_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
768 | await #expect(processExitsWith: .failure) {
769 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:1:42: error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:767:14: note: expanded code originates here
762 | _ = try await iterator.next(utf8: String.self, min: 1, max: 0)
763 | }
764 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
765 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
766 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
767 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xacee799880004a78,0xeef4157d0e4ea735,0x3acd1cd83a106fb0,0xa93a9e1f783b0f34),processExitsWith: .failure,performing: {
| | `- error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX763_18_6expectfMf2_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
768 | await #expect(processExitsWith: .failure) {
769 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:1:139: error: cannot infer contextual base in reference to member 'failure'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:767:14: note: expanded code originates here
762 | _ = try await iterator.next(utf8: String.self, min: 1, max: 0)
763 | }
764 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
765 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
766 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
767 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0xacee799880004a78,0xeef4157d0e4ea735,0x3acd1cd83a106fb0,0xa93a9e1f783b0f34),processExitsWith: .failure,performing: {
| | `- error: cannot infer contextual base in reference to member 'failure'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX763_18_6expectfMf2_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
768 | await #expect(processExitsWith: .failure) {
769 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:30:125: error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:767:14: note: expanded code originates here
762 | _ = try await iterator.next(utf8: String.self, min: 1, max: 0)
763 | }
764 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
765 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
766 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
767 | }
+--- macro expansion #expect --------------------------------------
|28 | )
|29 | }
|30 | },expression: .__fromSyntaxNode(".failure"),comments: [],isRequired: false,sourceLocation: Testing.SourceLocation.__here()).__expected()
| | `- error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
+------------------------------------------------------------------
768 | await #expect(processExitsWith: .failure) {
769 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
/Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:764:20: error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
762 | _ = try await iterator.next(utf8: String.self, min: 1, max: 0)
763 | }
764 | await #expect(processExitsWith: .failure) {
| `- error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
765 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
766 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
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 @concurrent @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/BytesTests/StringTests.swift:764:46: error: 'failure' is unavailable: Exit tests are not available on this platform.
762 | _ = try await iterator.next(utf8: String.self, min: 1, max: 0)
763 | }
764 | await #expect(processExitsWith: .failure) {
| `- error: 'failure' is unavailable: Exit tests are not available on this platform.
765 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
766 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
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 |
macro expansion #expect:1:139: error: extra argument 'processExitsWith' in call
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:771:14: note: expanded code originates here
766 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
767 | }
768 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
769 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
770 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
771 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x1a5958abf49c4b8d,0x6ba13d94fc4a2d75,0x66dfcc5a7baea761,0xa35e558ec9324395),processExitsWith: .failure,performing: {
| | `- error: extra argument 'processExitsWith' in call
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX767_18_6expectfMf3_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
772 | await #expect(processExitsWith: .failure) {
773 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:1:42: error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:771:14: note: expanded code originates here
766 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
767 | }
768 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
769 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
770 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
771 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x1a5958abf49c4b8d,0x6ba13d94fc4a2d75,0x66dfcc5a7baea761,0xa35e558ec9324395),processExitsWith: .failure,performing: {
| | `- error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX767_18_6expectfMf3_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
772 | await #expect(processExitsWith: .failure) {
773 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:1:139: error: cannot infer contextual base in reference to member 'failure'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:771:14: note: expanded code originates here
766 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
767 | }
768 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
769 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
770 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
771 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x1a5958abf49c4b8d,0x6ba13d94fc4a2d75,0x66dfcc5a7baea761,0xa35e558ec9324395),processExitsWith: .failure,performing: {
| | `- error: cannot infer contextual base in reference to member 'failure'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX767_18_6expectfMf3_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
772 | await #expect(processExitsWith: .failure) {
773 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:30:125: error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:771:14: note: expanded code originates here
766 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
767 | }
768 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
769 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
770 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
771 | }
+--- macro expansion #expect --------------------------------------
|28 | )
|29 | }
|30 | },expression: .__fromSyntaxNode(".failure"),comments: [],isRequired: false,sourceLocation: Testing.SourceLocation.__here()).__expected()
| | `- error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
+------------------------------------------------------------------
772 | await #expect(processExitsWith: .failure) {
773 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
/Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:768:20: error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
766 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
767 | }
768 | await #expect(processExitsWith: .failure) {
| `- error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
769 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
770 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
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 @concurrent @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/BytesTests/StringTests.swift:768:46: error: 'failure' is unavailable: Exit tests are not available on this platform.
766 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
767 | }
768 | await #expect(processExitsWith: .failure) {
| `- error: 'failure' is unavailable: Exit tests are not available on this platform.
769 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
770 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
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 |
macro expansion #expect:1:138: error: extra argument 'processExitsWith' in call
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:775:14: note: expanded code originates here
770 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
771 | }
772 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
773 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
774 | _ = try await iterator.next(utf8: String.self, min: 1, max: 0)
775 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x2c6fc0eb7b04b76,0xd29ce2398f1b4cbb,0x6b434cb7b58b8342,0x5d1e570d5b1133f8),processExitsWith: .failure,performing: {
| | `- error: extra argument 'processExitsWith' in call
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX771_18_6expectfMf4_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
776 | }
777 |
macro expansion #expect:1:42: error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:775:14: note: expanded code originates here
770 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
771 | }
772 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
773 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
774 | _ = try await iterator.next(utf8: String.self, min: 1, max: 0)
775 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x2c6fc0eb7b04b76,0xd29ce2398f1b4cbb,0x6b434cb7b58b8342,0x5d1e570d5b1133f8),processExitsWith: .failure,performing: {
| | `- error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX771_18_6expectfMf4_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
776 | }
777 |
macro expansion #expect:1:138: error: cannot infer contextual base in reference to member 'failure'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:775:14: note: expanded code originates here
770 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
771 | }
772 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
773 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
774 | _ = try await iterator.next(utf8: String.self, min: 1, max: 0)
775 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x2c6fc0eb7b04b76,0xd29ce2398f1b4cbb,0x6b434cb7b58b8342,0x5d1e570d5b1133f8),processExitsWith: .failure,performing: {
| | `- error: cannot infer contextual base in reference to member 'failure'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX771_18_6expectfMf4_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
776 | }
777 |
macro expansion #expect:30:125: error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:775:14: note: expanded code originates here
770 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
771 | }
772 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
773 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
774 | _ = try await iterator.next(utf8: String.self, min: 1, max: 0)
775 | }
+--- macro expansion #expect --------------------------------------
|28 | )
|29 | }
|30 | },expression: .__fromSyntaxNode(".failure"),comments: [],isRequired: false,sourceLocation: Testing.SourceLocation.__here()).__expected()
| | `- error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
+------------------------------------------------------------------
776 | }
777 |
/Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:772:20: error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
770 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
771 | }
772 | await #expect(processExitsWith: .failure) {
| `- error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
773 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
774 | _ = try await iterator.next(utf8: String.self, min: 1, max: 0)
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 @concurrent @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/BytesTests/StringTests.swift:772:46: error: 'failure' is unavailable: Exit tests are not available on this platform.
770 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
771 | }
772 | await #expect(processExitsWith: .failure) {
| `- error: 'failure' is unavailable: Exit tests are not available on this platform.
773 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
774 | _ = try await iterator.next(utf8: String.self, min: 1, max: 0)
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/BytesTests/StringTests.swift:752:13: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
750 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
751 | @Test func nextUTF8StringMinMaxInvalidInput() async throws {
752 | await #expect(processExitsWith: .failure) {
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
753 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
754 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
/Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:756:13: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
754 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
755 | }
756 | await #expect(processExitsWith: .failure) {
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
757 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
758 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
/Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:760:13: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
758 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
759 | }
760 | await #expect(processExitsWith: .failure) {
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
761 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
762 | _ = try await iterator.next(utf8: String.self, min: 1, max: 0)
/Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:764:13: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
762 | _ = try await iterator.next(utf8: String.self, min: 1, max: 0)
763 | }
764 | await #expect(processExitsWith: .failure) {
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
765 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
766 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
/Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:768:13: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
766 | _ = try await iterator.next(utf8: String.self, min: -1, max: 1)
767 | }
768 | await #expect(processExitsWith: .failure) {
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
769 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
770 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
/Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:772:13: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
770 | _ = try await iterator.next(utf8: String.self, min: -1, max: -1)
771 | }
772 | await #expect(processExitsWith: .failure) {
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
773 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
774 | _ = try await iterator.next(utf8: String.self, min: 1, max: 0)
macro expansion #expect:1:138: error: extra argument 'processExitsWith' in call
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:810:14: note: expanded code originates here
805 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
806 | @Test func nextIfPresentUTF8StringCountInvalidInput() async throws {
807 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
808 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
809 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
810 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x7067a1bd765a38cb,0xb637c14677ccb84,0xbe747d6d84451233,0x7829c5ac64211dba),processExitsWith: .failure,performing: {
| | `- error: extra argument 'processExitsWith' in call
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX806_18_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
811 | await #expect(processExitsWith: .failure) {
812 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:1:42: error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:810:14: note: expanded code originates here
805 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
806 | @Test func nextIfPresentUTF8StringCountInvalidInput() async throws {
807 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
808 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
809 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
810 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x7067a1bd765a38cb,0xb637c14677ccb84,0xbe747d6d84451233,0x7829c5ac64211dba),processExitsWith: .failure,performing: {
| | `- error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX806_18_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
811 | await #expect(processExitsWith: .failure) {
812 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:1:138: error: cannot infer contextual base in reference to member 'failure'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:810:14: note: expanded code originates here
805 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
806 | @Test func nextIfPresentUTF8StringCountInvalidInput() async throws {
807 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
808 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
809 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
810 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x7067a1bd765a38cb,0xb637c14677ccb84,0xbe747d6d84451233,0x7829c5ac64211dba),processExitsWith: .failure,performing: {
| | `- error: cannot infer contextual base in reference to member 'failure'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX806_18_6expectfMf_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
811 | await #expect(processExitsWith: .failure) {
812 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
macro expansion #expect:30:125: error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:810:14: note: expanded code originates here
805 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
806 | @Test func nextIfPresentUTF8StringCountInvalidInput() async throws {
807 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
808 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
809 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
810 | }
+--- macro expansion #expect --------------------------------------
|28 | )
|29 | }
|30 | },expression: .__fromSyntaxNode(".failure"),comments: [],isRequired: false,sourceLocation: Testing.SourceLocation.__here()).__expected()
| | `- error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
+------------------------------------------------------------------
811 | await #expect(processExitsWith: .failure) {
812 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
/Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:807:20: error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
805 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
806 | @Test func nextIfPresentUTF8StringCountInvalidInput() async throws {
807 | await #expect(processExitsWith: .failure) {
| `- error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
808 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
809 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
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 @concurrent @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/BytesTests/StringTests.swift:807:46: error: 'failure' is unavailable: Exit tests are not available on this platform.
805 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
806 | @Test func nextIfPresentUTF8StringCountInvalidInput() async throws {
807 | await #expect(processExitsWith: .failure) {
| `- error: 'failure' is unavailable: Exit tests are not available on this platform.
808 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
809 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
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 |
macro expansion #expect:1:139: error: extra argument 'processExitsWith' in call
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:814:14: note: expanded code originates here
809 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
810 | }
811 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
812 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
813 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
814 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x2a56b5234c6ffa8e,0x324eda305e406a31,0x4d134297f5407ae2,0x3317f486914414ce),processExitsWith: .failure,performing: {
| | `- error: extra argument 'processExitsWith' in call
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX810_18_6expectfMf0_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
815 | }
816 |
macro expansion #expect:1:42: error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:814:14: note: expanded code originates here
809 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
810 | }
811 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
812 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
813 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
814 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x2a56b5234c6ffa8e,0x324eda305e406a31,0x4d134297f5407ae2,0x3317f486914414ce),processExitsWith: .failure,performing: {
| | `- error: cannot convert value of type '(Int, Int, Int, Int)' to expected argument type 'Never.Type'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX810_18_6expectfMf0_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
815 | }
816 |
macro expansion #expect:1:139: error: cannot infer contextual base in reference to member 'failure'
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:814:14: note: expanded code originates here
809 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
810 | }
811 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
812 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
813 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
814 | }
+--- macro expansion #expect --------------------------------------
| 1 | Testing.__checkClosureCall(identifiedBy: (0x2a56b5234c6ffa8e,0x324eda305e406a31,0x4d134297f5407ae2,0x3317f486914414ce),processExitsWith: .failure,performing: {
| | `- error: cannot infer contextual base in reference to member 'failure'
| 2 | @Sendable func $s10BytesTests0022StringTestsswift_tiAIefMX810_18_6expectfMf0_7__localfMu_() async throws {
| 3 | _ = unsafe try await Testing.__requiringUnsafe(Testing.__requiringTry(Testing.__requiringAwait({
+------------------------------------------------------------------
815 | }
816 |
macro expansion #expect:30:125: error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
`- /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:814:14: note: expanded code originates here
809 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
810 | }
811 | await #expect(processExitsWith: .failure) {
| `- note: in expansion of macro 'expect' here
812 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
813 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
814 | }
+--- macro expansion #expect --------------------------------------
|28 | )
|29 | }
|30 | },expression: .__fromSyntaxNode(".failure"),comments: [],isRequired: false,sourceLocation: Testing.SourceLocation.__here()).__expected()
| | `- error: cannot convert value of type '()' to type 'ExitTest.Result' in coercion
+------------------------------------------------------------------
815 | }
816 |
/Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift:811:20: error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
809 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
810 | }
811 | await #expect(processExitsWith: .failure) {
| `- error: 'expect(processExitsWith:observing:_:sourceLocation:performing:)' is unavailable: Exit tests are not available on this platform.
812 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
813 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
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 @concurrent @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/BytesTests/StringTests.swift:811:46: error: 'failure' is unavailable: Exit tests are not available on this platform.
809 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
810 | }
811 | await #expect(processExitsWith: .failure) {
| `- error: 'failure' is unavailable: Exit tests are not available on this platform.
812 | var iterator = AsyncThrowingTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
813 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
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/BytesTests/StringTests.swift:807:13: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
805 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
806 | @Test func nextIfPresentUTF8StringCountInvalidInput() async throws {
807 | await #expect(processExitsWith: .failure) {
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
808 | var iterator = AsyncTestIterator([72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33])
809 | _ = try await iterator.nextIfPresent(utf8: String.self, count: -1)
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/StringTests.swift (in target 'BytesTests-product' from project 'Bytes')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile StringTests.swift
SwiftDriverJobDiscovery normal arm64_32 Compiling BytesTests.swift (in target 'BytesTests-product' from project 'Bytes')
SwiftCompile normal arm64 Compiling\ BytesTests.swift /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/BytesTests.swift (in target 'BytesTests-product' from project 'Bytes')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/BytesTests.swift (in target 'BytesTests-product' from project 'Bytes')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BytesTests.swift
SwiftDriverJobDiscovery normal arm64_32 Compiling CastingTests.swift (in target 'BytesTests-product' from project 'Bytes')
SwiftCompile normal arm64 Compiling\ TestHelpers.swift /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/TestHelpers.swift (in target 'BytesTests-product' from project 'Bytes')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/TestHelpers.swift (in target 'BytesTests-product' from project 'Bytes')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TestHelpers.swift
SwiftDriverJobDiscovery normal arm64 Compiling BytesTests.swift (in target 'BytesTests-product' from project 'Bytes')
SwiftCompile normal arm64 Compiling\ BytesErrorTests.swift /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/BytesErrorTests.swift (in target 'BytesTests-product' from project 'Bytes')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/BytesErrorTests.swift (in target 'BytesTests-product' from project 'Bytes')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BytesErrorTests.swift
SwiftDriverJobDiscovery normal arm64 Compiling TestHelpers.swift (in target 'BytesTests-product' from project 'Bytes')
SwiftCompile normal arm64 Compiling\ ByteIteratorTests.swift /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/ByteIteratorTests.swift (in target 'BytesTests-product' from project 'Bytes')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/ByteIteratorTests.swift (in target 'BytesTests-product' from project 'Bytes')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ByteIteratorTests.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-26 06:28:22.214 xcodebuild[768:4688] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-26 06:28:22.335 xcodebuild[768:4688] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64_32 Compiling\ AsyncByteIteratorTests.swift,\ AsyncChunkedBytesTests.swift /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/AsyncByteIteratorTests.swift /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/AsyncChunkedBytesTests.swift (in target 'BytesTests-product' from project 'Bytes')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/AsyncByteIteratorTests.swift (in target 'BytesTests-product' from project 'Bytes')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Tests/BytesTests/AsyncChunkedBytesTests.swift (in target 'BytesTests-product' from project 'Bytes')
Building workspace Bytes with scheme Bytes
(4 failures)
BUILD FAILURE 6.4 watchOS