update to rust 0.11, optimize -O/2, and check for additional warnings