Fix Rust breaking changes

• Serialize out of stdlib, rust #20033
• slice::Items → slice::Iter
• from_str → StrExt::parse
• spawn → Thread::spawn( ... ).detach()