Apparently my PC has run out of threads, according to @rustlang thread 'main' panicked at 'failed to spawn thread: Os { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" }', src/libcore/result.rs:997:5
3
5
Regardless, it is a bad error message :)
1
1
Replying to @rjek @rustlang
It's not great, but that's what you get for using a convenience API. If you used the thread builder API you'd get the io::Result object and could handle the error rather than it panic!()ing.

Apr 30, 2019 ยท 8:52 AM UTC

1