I have a single, fairly simple test. It checks a number-crunching pure function (no external resources), but it fails on my laptop with following error:
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s
Running unittests src/lib.rs (target/debug/deps/swim_headphones_transfer_lib-de21aacd928da79a)
running 1 test
fatal runtime error: failed to initiate panic, error 5
error: test failed, to rerun pass `--lib`
Caused by:
process didn't exit successfully: `/Users/brian/code/sync-and-swim/src-tauri/target/debug/deps/swim_headphones_transfer_lib-de21aacd928da79a` (signal: 6, SIGABRT: process abort signal)
I've tried isolating the function and test into a separate file, and the same error appears. When I isolate the function and test into their own project (either, cargo new split-at-silences or pnpm create tauri split-at-silences), the test doesn't crash. (It does fail, because I haven't fixed the code yet, but that's easy enough once I can get it running).
I'm sorry I can't get a smaller minimal reproduction. Any ideas what could be causing this? https://github.com/bgschiller/sync-and-swim