swiftlang / swift

The Swift Programming Language
https://swift.org
Apache License 2.0
67.68k stars 10.39k forks source link

swift-frontend assertion failure: Assertion `index < getNumSILArguments()' failed #69503

Open glbrntt opened 1 year ago

glbrntt commented 1 year ago

Description

The compiler crashes due to an assertion failure when compiling grpc-swift tests.

swift-frontend: /home/build-user/swift/lib/SIL/IR/SILArgument.cpp:89: swift::SILArgumentConvention swift::SILFunctionConventions::getSILArgumentConvention(unsigned int) const: Assertion `index < getNumSILArguments()' failed.
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.  Program arguments: /usr/bin/swift-frontend -frontend -c /__w/grpc-swift/grpc-swift/Tests/GRPCTests/ALPNConfigurationTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/AnyServiceClientTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/Array+BoundsCheckingTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/AsyncAwaitSupport/AsyncClientTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/AsyncAwaitSupport/AsyncIntegrationTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/AsyncAwaitSupport/AsyncSequence+Helpers.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/AsyncAwaitSupport/AsyncServerHandler/ServerHandlerStateMachine/ServerHandlerStateMachineTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/AsyncAwaitSupport/AsyncServerHandler/ServerInterceptorStateMachine/ServerInterceptorStateMachineStreamStateTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/AsyncAwaitSupport/AsyncServerHandler/ServerInterceptorStateMachine/ServerInterceptorStateMachineTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/AsyncAwaitSupport/GRPCAsyncRequestStreamTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/AsyncAwaitSupport/GRPCAsyncResponseStreamWriterTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/AsyncAwaitSupport/InterceptorsAsyncTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/AsyncAwaitSupport/XCTest+AsyncAwait.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/BasicEchoTestCase.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/CallPathTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/CallStartBehaviorTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/CapturingLogHandler.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/ClientCallTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/ClientCancellingTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/ClientClosedChannelTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/ClientConnectionBackoffTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/ClientEventLoopPreferenceTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/ClientInterceptorPipelineTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/ClientQuiescingTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/ClientTLSFailureTests.swift -primary-file /__w/grpc-swift/grpc-swift/Tests/GRPCTests/ClientTLSTests.swift -primary-file /__w/grpc-swift/grpc-swift/Tests/GRPCTests/ClientTimeoutTests.swift -primary-file /__w/grpc-swift/grpc-swift/Tests/GRPCTests/ClientTransportTests.swift -primary-file /__w/grpc-swift/grpc-swift/Tests/GRPCTests/CoalescingLengthPrefixedMessageWriterTests.swift -primary-file /__w/grpc-swift/grpc-swift/Tests/GRPCTests/Codegen/Normalization/NormalizationProvider.swift -primary-file /__w/grpc-swift/grpc-swift/Tests/GRPCTests/Codegen/Normalization/NormalizationTests.swift -primary-file /__w/grpc-swift/grpc-swift/Tests/GRPCTests/Codegen/Normalization/normalization.grpc.swift -primary-file /__w/grpc-swift/grpc-swift/Tests/GRPCTests/Codegen/Normalization/normalization.pb.swift -primary-file /__w/grpc-swift/grpc-swift/Tests/GRPCTests/Codegen/Serialization/SerializationTests.swift -primary-file /__w/grpc-swift/grpc-swift/Tests/GRPCTests/CompressionTests.swift -primary-file /__w/grpc-swift/grpc-swift/Tests/GRPCTests/ConfigurationTests.swift -primary-file /__w/grpc-swift/grpc-swift/Tests/GRPCTests/ConnectionBackoffTests.swift -primary-file /__w/grpc-swift/grpc-swift/Tests/GRPCTests/ConnectionFailingTests.swift -primary-file /__w/grpc-swift/grpc-swift/Tests/GRPCTests/ConnectionManagerTests.swift -primary-file /__w/grpc-swift/grpc-swift/Tests/GRPCTests/ConnectionPool/ConnectionPoolDelegates.swift -primary-file /__w/grpc-swift/grpc-swift/Tests/GRPCTests/ConnectionPool/ConnectionPoolTests.swift -primary-file /__w/grpc-swift/grpc-swift/Tests/GRPCTests/ConnectionPool/GRPCChannelPoolTests.swift -primary-file /__w/grpc-swift/grpc-swift/Tests/GRPCTests/ConnectionPool/PoolManagerStateMachineTests.swift -primary-file /__w/grpc-swift/grpc-swift/Tests/GRPCTests/ConnectivityStateMonitorTests.swift -primary-file /__w/grpc-swift/grpc-swift/Tests/GRPCTests/DebugChannelInitializerTests.swift -primary-file /__w/grpc-swift/grpc-swift/Tests/GRPCTests/DelegatingErrorHandlerTests.swift -primary-file /__w/grpc-swift/grpc-swift/Tests/GRPCTests/EchoHelpers/EchoMessageHelpers.swift -primary-file /__w/grpc-swift/grpc-swift/Tests/GRPCTests/EchoHelpers/Interceptors/DelegatingClientInterceptor.swift -primary-file /__w/grpc-swift/grpc-swift/Tests/GRPCTests/EchoHelpers/Interceptors/EchoInterceptorFactories.swift -primary-file /__w/grpc-swift/grpc-swift/Tests/GRPCTests/EchoHelpers/Providers/DelegatingOnCloseEchoProvider.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/EchoHelpers/Providers/FailingEchoProvider.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/EchoHelpers/Providers/MetadataEchoProvider.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/EchoHelpers/Providers/NeverResolvingEchoProvider.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/EchoMetadataTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/EchoTestClientTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/ErrorRecordingDelegate.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/EventLoopFuture+Assertions.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/FakeChannelTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/FakeResponseStreamTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/FunctionalTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/GRPCAsyncClientCallTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/GRPCAsyncServerHandlerTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/GRPCClientChannelHandlerTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/GRPCClientStateMachineTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/GRPCCustomPayloadTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/GRPCIdleHandlerStateMachineTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/GRPCIdleTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/GRPCInteroperabilityTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/GRPCKeepaliveTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/GRPCLoggerTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/GRPCMessageLengthLimitTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/GRPCNetworkFrameworkTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/GRPCPingHandlerTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/GRPCReflectionServiceTests/Generated/reflection.grpc.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/GRPCReflectionServiceTests/Generated/reflection.pb.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/GRPCReflectionServiceTests/ReflectionServiceIntegrationTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/GRPCReflectionServiceTests/ReflectionServiceUnitTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/GRPCReflectionServiceTests/Utils.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/GRPCServerPipelineConfiguratorTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/GRPCStatusCodeTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/GRPCStatusMessageMarshallerTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/GRPCStatusTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/GRPCTestCase.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/GRPCTimeoutTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/GRPCTypeSizeTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/GRPCWebToHTTP2ServerCodecTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/GRPCWebToHTTP2StateMachineTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/HTTP2MaxConcurrentStreamsTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/HTTP2ToRawGRPCStateMachineTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/HTTPVersionParserTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/HeaderNormalizationTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/ImmediateServerFailureTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/InterceptedRPCCancellationTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/InterceptorsTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/LazyEventLoopPromiseTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/LengthPrefixedMessageReaderTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/MessageEncodingHeaderValidatorTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/MutualTLSTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/OneOrManyQueueTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/PlatformSupportTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/RequestIDProviderTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/RequestIDTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/SampleCertificate+Assertions.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/ServerErrorDelegateTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/ServerFuzzingRegressionTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/ServerInterceptorPipelineTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/ServerInterceptorTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/ServerOnCloseTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/ServerQuiescingTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/ServerTLSErrorTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/ServerThrowingTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/ServerWebTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/StopwatchTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/StreamResponseHandlerRetainCycleTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/StreamingRequestClientCallTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/TestClientExample.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/TimeLimitTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/UnaryServerHandlerTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/UserInfoTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/VsockSocketTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/WebCORSHandlerTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/WithConnectedSocketTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/XCTestHelpers.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/ZeroLengthWriteTests.swift /__w/grpc-swift/grpc-swift/Tests/GRPCTests/ZlibTests.swift -supplementary-output-file-map /tmp/TemporaryDirectory.DzauzK/supplementaryOutputs-2 -target x86_64-unknown-linux-gnu -disable-objc-interop -I /__w/grpc-swift/grpc-swift/.build/x86_64-unknown-linux-gnu/debug -enable-testing -g -module-cache-path /__w/grpc-swift/grpc-swift/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -new-driver-path /usr/bin/swift-driver -empty-abi-descriptor -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -fmodule-map-file=/__w/grpc-swift/grpc-swift/.build/x86_64-unknown-linux-gnu/debug/CNIOBoringSSLShims.build/module.modulemap -Xcc -I -Xcc /__w/grpc-swift/grpc-swift/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSLShims/include -Xcc -fmodule-map-file=/__w/grpc-swift/grpc-swift/.build/x86_64-unknown-linux-gnu/debug/CNIOBoringSSL.build/module.modulemap -Xcc -I -Xcc /__w/grpc-swift/grpc-swift/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include -Xcc -fmodule-map-file=/__w/grpc-swift/grpc-swift/.build/x86_64-unknown-linux-gnu/debug/CNIOLLHTTP.build/module.modulemap -Xcc -I -Xcc /__w/grpc-swift/grpc-swift/.build/checkouts/swift-nio/Sources/CNIOLLHTTP/include -Xcc -fmodule-map-file=/__w/grpc-swift/grpc-swift/.build/checkouts/swift-atomics/Sources/_AtomicsShims/include/module.modulemap -Xcc -I -Xcc /__w/grpc-swift/grpc-swift/.build/checkouts/swift-atomics/Sources/_AtomicsShims/include -Xcc -fmodule-map-file=/__w/grpc-swift/grpc-swift/.build/checkouts/swift-nio/Sources/CNIOWindows/include/module.modulemap -Xcc -I -Xcc /__w/grpc-swift/grpc-swift/.build/checkouts/swift-nio/Sources/CNIOWindows/include -Xcc -fmodule-map-file=/__w/grpc-swift/grpc-swift/.build/x86_64-unknown-linux-gnu/debug/CNIOLinux.build/module.modulemap -Xcc -I -Xcc /__w/grpc-swift/grpc-swift/.build/checkouts/swift-nio/Sources/CNIOLinux/include -Xcc -fmodule-map-file=/__w/grpc-swift/grpc-swift/.build/x86_64-unknown-linux-gnu/debug/CNIODarwin.build/module.modulemap -Xcc -I -Xcc /__w/grpc-swift/grpc-swift/.build/checkouts/swift-nio/Sources/CNIODarwin/include -Xcc -fmodule-map-file=/__w/grpc-swift/grpc-swift/.build/x86_64-unknown-linux-gnu/debug/CNIOAtomics.build/module.modulemap -Xcc -I -Xcc /__w/grpc-swift/grpc-swift/.build/checkouts/swift-nio/Sources/CNIOAtomics/include -Xcc -fmodule-map-file=/__w/grpc-swift/grpc-swift/.build/x86_64-unknown-linux-gnu/debug/CGRPCZlib.build/module.modulemap -Xcc -I -Xcc /__w/grpc-swift/grpc-swift/Sources/CGRPCZlib/include -Xcc -fPIC -Xcc -g -module-name GRPCTests -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /__w/grpc-swift/grpc-swift/.build/x86_64-unknown-linux-gnu/debug/GRPCTests.build/ClientTLSTests.swift.o -o /__w/grpc-swift/grpc-swift/.build/x86_64-unknown-linux-gnu/debug/GRPCTests.build/ClientTimeoutTests.swift.o -o /__w/grpc-swift/grpc-swift/.build/x86_64-unknown-linux-gnu/debug/GRPCTests.build/ClientTransportTests.swift.o -o /__w/grpc-swift/grpc-swift/.build/x86_64-unknown-linux-gnu/debug/GRPCTests.build/CoalescingLengthPrefixedMessageWriterTests.swift.o -o /__w/grpc-swift/grpc-swift/.build/x86_64-unknown-linux-gnu/debug/GRPCTests.build/NormalizationProvider.swift.o -o /__w/grpc-swift/grpc-swift/.build/x86_64-unknown-linux-gnu/debug/GRPCTests.build/NormalizationTests.swift.o -o /__w/grpc-swift/grpc-swift/.build/x86_64-unknown-linux-gnu/debug/GRPCTests.build/normalization.grpc.swift.o -o /__w/grpc-swift/grpc-swift/.build/x86_64-unknown-linux-gnu/debug/GRPCTests.build/normalization.pb.swift.o -o /__w/grpc-swift/grpc-swift/.build/x86_64-unknown-linux-gnu/debug/GRPCTests.build/SerializationTests.swift.o -o /__w/grpc-swift/grpc-swift/.build/x86_64-unknown-linux-gnu/debug/GRPCTests.build/CompressionTests.swift.o -o /__w/grpc-swift/grpc-swift/.build/x86_64-unknown-linux-gnu/debug/GRPCTests.build/ConfigurationTests.swift.o -o /__w/grpc-swift/grpc-swift/.build/x86_64-unknown-linux-gnu/debug/GRPCTests.build/ConnectionBackoffTests.swift.o -o /__w/grpc-swift/grpc-swift/.build/x86_64-unknown-linux-gnu/debug/GRPCTests.build/ConnectionFailingTests.swift.o -o /__w/grpc-swift/grpc-swift/.build/x86_64-unknown-linux-gnu/debug/GRPCTests.build/ConnectionManagerTests.swift.o -o /__w/grpc-swift/grpc-swift/.build/x86_64-unknown-linux-gnu/debug/GRPCTests.build/ConnectionPoolDelegates.swift.o -o /__w/grpc-swift/grpc-swift/.build/x86_64-unknown-linux-gnu/debug/GRPCTests.build/ConnectionPoolTests.swift.o -o /__w/grpc-swift/grpc-swift/.build/x86_64-unknown-linux-gnu/debug/GRPCTests.build/GRPCChannelPoolTests.swift.o -o /__w/grpc-swift/grpc-swift/.build/x86_64-unknown-linux-gnu/debug/GRPCTests.build/PoolManagerStateMachineTests.swift.o -o /__w/grpc-swift/grpc-swift/.build/x86_64-unknown-linux-gnu/debug/GRPCTests.build/ConnectivityStateMonitorTests.swift.o -o /__w/grpc-swift/grpc-swift/.build/x86_64-unknown-linux-gnu/debug/GRPCTests.build/DebugChannelInitializerTests.swift.o -o /__w/grpc-swift/grpc-swift/.build/x86_64-unknown-linux-gnu/debug/GRPCTests.build/DelegatingErrorHandlerTests.swift.o -o /__w/grpc-swift/grpc-swift/.build/x86_64-unknown-linux-gnu/debug/GRPCTests.build/EchoMessageHelpers.swift.o -o /__w/grpc-swift/grpc-swift/.build/x86_64-unknown-linux-gnu/debug/GRPCTests.build/DelegatingClientInterceptor.swift.o -o /__w/grpc-swift/grpc-swift/.build/x86_64-unknown-linux-gnu/debug/GRPCTests.build/EchoInterceptorFactories.swift.o -o /__w/grpc-swift/grpc-swift/.build/x86_64-unknown-linux-gnu/debug/GRPCTests.build/DelegatingOnCloseEchoProvider.swift.o -index-store-path /__w/grpc-swift/grpc-swift/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules
1.  Swift version 5.11-dev (LLVM 26ea15ae72ba6e9, Swift 7e4fa781ea27c47)
2.  Compiling with the current language version
3.  While evaluating request ASTLoweringRequest(Lowering AST to SIL for file "/__w/grpc-swift/grpc-swift/Tests/GRPCTests/ConnectionPool/ConnectionPoolTests.swift")
4.  While silgen emitFunction SIL function "@$s9GRPCTests19ConnectionPoolTestsC05setUpC13AndController33_D287971CD9C0A4F367B5CBC3F6821A7BLL7waiters24reservationLoadThreshold3now17connectionBackoff8delegate21onReservationReturned0Z25MaximumReservationsChange4GRPC0bC0C_AA07ChannelH0CtSi_Sd7NIOCore11NIODeadlineVycAM0bX0VAM014GRPCConnectionC8Delegate_pSgySicySictF".
 for 'setUpPoolAndController(waiters:reservationLoadThreshold:now:connectionBackoff:delegate:onReservationReturned:onMaximumReservationsChange:)' (at /__w/grpc-swift/grpc-swift/Tests/GRPCTests/ConnectionPool/ConnectionPoolTests.swift:92:11)
5.  While silgen closureexpr SIL function "@$s9GRPCTests19ConnectionPoolTestsC05setUpC13AndController33_D287971CD9C0A4F367B5CBC3F6821A7BLL7waiters24reservationLoadThreshold3now17connectionBackoff8delegate21onReservationReturned0Z25MaximumReservationsChange4GRPC0bC0C_AA07ChannelH0CtSi_Sd7NIOCore11NIODeadlineVycAM0bX0VAM014GRPCConnectionC8Delegate_pSgySicySictFyyKcfU_".
 for expression at [/__w/grpc-swift/grpc-swift/Tests/GRPCTests/ConnectionPool/ConnectionPoolTests.swift:113:32 - line:118:5] RangeText="{
      let shutdown = pool.shutdown()
      self.eventLoop.run()
      XCTAssertNoThrow(try shutdown.wait())
      controller.finish()
    "

Steps to reproduce

Expected behavior

Tests compile and run.

Environment

finagolfin commented 1 year ago

I just reported the same crasher with the NIO tests, #69505, minutes after you did. Seems like a serious bug that needs to be looked into.