precondition(s) violated: slice::get_unchecked requires that the range is within the slice This indicates a bug in the program. This Undefined Behavior check is optional, and cannot be relied on for safety.branch is not hit for types that cannot fit 999 (u8)branch is not hit for types that cannot fit 1E4 (u8)()unsafe precondition(s) violated: usize::unchecked_sub cannot overflow This indicates a bug in the program. This Undefined Behavior check is optional, and cannot be relied on for safety.