Update for Rust nigthlies (Utf8Error and std::thread).