Open
Description
Description
DiscordBM crashes at __swift_instantiateConcreteTypeFromMangledName
.
Reproduction
- Clone DiscordBM.
- On CLI run
BOT_TOKEN=aaaaaa swift test --filter IntegrationTests.DiscordClientTests.testGateway
. - Or on Xcode add
BOT_TOKEN
as an env var with any value, and run thetestGateway()
test.
Stack dump

Expected behavior
No crash.
Environment
- macOS 14 + Swift 5.10 + Xcode 15.4.
- macOS 15 + Swift 6 + Xcode 16.
Not reproducible on Linux.
Additional information
No response