Rust Array Subscript Is Not An Integer