Rust update: `extern crate debug` and more deprecated `to_lower` and `to_upper`