Source: ``` rust use std::rand; fn main() { for _ in range(0u, 1000u) { do spawn { while (true) { println!("{}", rand::random::<uint>()); } } } } ``` Compilation and run: `rustc main.rs; ./main` Result: ``` task '<unnamed>' failed at 'Unhandled condition: io_error: rt::io::IoError{kind: OtherIoError, desc: "too many open files", detail: None} ```