I was reading that this crash is likely due to a incorrect variable assignment, does that align with this output? If so, how can I determine where/what variable is being assigned? Or where should I be looking instead? I've been unable to reproduce the crash so far.
Thread 20 Crashed:
0 libsystem_kernel.dylib 0x00000001cc615578 __pthread_kill (libsystem_kernel.dylib)
1 libsystem_c.dylib 0x0000000195480178 abort (libsystem_c.dylib)
2 libswiftCore.dylib 0x00000001880a8b98 swift::fatalError(unsigned int, char const*, ...) (libswiftCore.dylib)
3 libswiftCore.dylib 0x00000001880a8bb8 swift::warningv(unsigned int, char const*, char*) (libswiftCore.dylib)
4 libswiftCore.dylib 0x000000018809eb80 swift::swift_dynamicCastFailure(swift::TargetMetadata<swift::InProcess> const*, swift::TargetMetadata<swift::InProcess> const*, char const*) (libswiftCore.dylib)
5 libswiftCore.dylib 0x000000018809ebfc swift::_conformsToProtocol(swift::OpaqueValue const*, swift::TargetMetadata<swift::InProcess> const*, swift::TargetProtocolDescriptorRef<swift::InProcess>, swift::TargetWitnessTable<swift::InProcess> const**) (libswiftCore.dylib)
6 libswiftCore.dylib 0x000000018809fd14 swift_dynamicCastClassUnconditionalImpl(void const*, swift::TargetClassMetadata<swift::InProcess, swift::TargetAnyClassMetadataObjCInterop<swift::InProcess>> const*, char const*, unsigned int, unsigned int) (libswiftCore.dylib)