Details of failure 08afec41-9e47-4eca-97bf-beaa999e89ab

Upload ID
8ee49d50-82aa-4db1-a2cd-0e69cd2c527e
Test case ID
ebebd38a-060a-46f5-81ab-ad68eacc31ad
Message
expected to eventually equal <Attached>, got <Attaching> (/Users/runner/work/ably-cocoa/ably-cocoa/Spec/Tests/RealtimeClientChannelTests.swift#CharacterRangeLen=0&EndingLineNumber=123&StartingLineNumber=123)

Crash reports

68e05849-331f-494e-8e80-12c7f445cafd (Download)

Original filename
xctest_2022-05-17-093706_9D24F04A-2E2E-4A9E-9D60-F4FCD2577F16.crash
Process:               xctest [8429]
Path:                  /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Agents/xctest
Identifier:            xctest
Version:               17501
Code Type:             X86-64 (Native)
Parent Process:        launchd_sim [8327]
Responsible:           SimulatorTrampoline [2738]
User ID:               501

Date/Time:             2022-05-17 09:37:06.150 +0000
OS Version:            Mac OS X 10.15.7 (19H1824)
Report Version:        12
Anonymous UUID:        28C488D7-2871-0137-7EA3-2D329D89124C


Time Awake Since Boot: 9300 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes:       0x0000000000000001, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Illegal instruction: 4
Termination Reason:    Namespace SIGNAL, Code 0x4
Terminating Process:   exc handler [8429]

Application Specific Information:
CoreSimulator 732.18.6 - Device: iPhone 12 (ADE6CFDE-A2B3-46AE-9054-2AACECFF79B5) - Runtime: iOS 14.4 (18D46) - DeviceType: iPhone 12
Fatal error: Unexpectedly found nil while unwrapping an Optional value: file Ably_iOS_Tests/RealtimeClientChannelTests.swift, line 135
 

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libswiftCore.dylib            	0x0000000108eaff34 closure #1 in closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:) + 484
1   libswiftCore.dylib            	0x0000000108eafa87 closure #1 in closure #1 in _assertionFailure(_:_:file:line:flags:) + 87
2   libswiftCore.dylib            	0x0000000108eaf763 closure #1 in _assertionFailure(_:_:file:line:flags:) + 99
3   libswiftCore.dylib            	0x0000000108eaf3e1 _assertionFailure(_:_:file:line:flags:) + 513
4   io.ably.Ably-iOS-Tests        	0x0000000107bd102f testWithUntilAttach(_:channelName:) + 2639 (RealtimeClientChannelTests.swift:135)
5   io.ably.Ably-iOS-Tests        	0x0000000107c7e2c8 RealtimeClientChannelTests.test__125__Channel__history__supports_the_param_untilAttach__where_value_is_true__should_pass_the_querystring_param_fromSerial_with_the_serial_number_assigned_to_the_channel() + 136 (RealtimeClientChannelTests.swift:3492)
6   io.ably.Ably-iOS-Tests        	0x0000000107c7e30b @objc RealtimeClientChannelTests.test__125__Channel__history__supports_the_param_untilAttach__where_value_is_true__should_pass_the_querystring_param_fromSerial_with_the_serial_number_assigned_to_the_channel() + 43
7   com.apple.CoreFoundation      	0x00007fff204282fc __invoking___ + 140
8   com.apple.CoreFoundation      	0x00007fff204257b6 -[NSInvocation invoke] + 303
9   com.apple.dt.XCTest           	0x0000000105470605 __24-[XCTestCase invokeTest]_block_invoke_2 + 52
10  com.apple.dt.XCTest           	0x00000001054705b1 __24-[XCTestCase invokeTest]_block_invoke.239 + 320
11  com.apple.dt.XCTest           	0x00000001054cbd67 -[XCTestCase(XCTIssueHandling) _caughtUnhandledDeveloperExceptionPermittingControlFlowInterruptions:caughtInterruptionException:whileExecutingBlock:] + 183
12  com.apple.dt.XCTest           	0x0000000105470013 -[XCTestCase invokeTest] + 1069
13  com.apple.dt.XCTest           	0x00000001054718d3 __26-[XCTestCase performTest:]_block_invoke_2 + 43
14  com.apple.dt.XCTest           	0x00000001054cbd67 -[XCTestCase(XCTIssueHandling) _caughtUnhandledDeveloperExceptionPermittingControlFlowInterruptions:caughtInterruptionException:whileExecutingBlock:] + 183
15  com.apple.dt.XCTest           	0x000000010547180a __26-[XCTestCase performTest:]_block_invoke.365 + 86
16  com.apple.dt.XCTest           	0x00000001054dfd57 +[XCTContext runInContextForTestCase:markAsReportingBase:block:] + 220
17  com.apple.dt.XCTest           	0x0000000105471087 -[XCTestCase performTest:] + 695
18  com.apple.dt.XCTest           	0x00000001054b6b83 -[XCTest runTest] + 57
19  com.apple.dt.XCTest           	0x000000010546a7b9 __27-[XCTestSuite performTest:]_block_invoke + 354
20  com.apple.dt.XCTest           	0x0000