go/test/fixedbugs/issue30116u.out
Keith Randall 2c423f063b cmd/compile,runtime: provide index information on bounds check failure
A few examples (for accessing a slice of length 3):

   s[-1]    runtime error: index out of range [-1]
   s[3]     runtime error: index out of range [3] with length 3
   s[-1:0]  runtime error: slice bounds out of range [-1:]
   s[3:0]   runtime error: slice bounds out of range [3:0]
   s[3:-1]  runtime error: slice bounds out of range [:-1]
   s[3:4]   runtime error: slice bounds out of range [:4] with capacity 3
   s[0:3:4] runtime error: slice bounds out of range [::4] with capacity 3

Note that in cases where there are multiple things wrong with the
indexes (e.g. s[3:-1]), we report one of those errors kind of
arbitrarily, currently the rightmost one.

An exhaustive set of examples is in issue30116[u].out in the CL.

The message text has the same prefix as the old message text. That
leads to slightly awkward phrasing but hopefully minimizes the chance
that code depending on the error text will break.

Increases the size of the go binary by 0.5% (amd64). The panic functions
take arguments in registers in order to keep the size of the compiled code
as small as possible.

Fixes #30116

Change-Id: Idb99a827b7888822ca34c240eca87b7e44a04fdd
Reviewed-on: https://go-review.googlesource.com/c/go/+/161477
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
2019-03-18 17:33:38 +00:00

340 lines
44 KiB
Text

slice[0] no panic
slice[2] no panic
slice[3] runtime error: index out of range [3] with length 3
slice[4294967295] runtime error: index out of range [4294967295] with length 3
slice[18446744073709551615] runtime error: index out of range [18446744073709551615] with length 3
array[0] no panic
array[2] no panic
array[3] runtime error: index out of range [3] with length 3
array[4294967295] runtime error: index out of range [4294967295] with length 3
array[18446744073709551615] runtime error: index out of range [18446744073709551615] with length 3
string[0] no panic
string[2] no panic
string[3] runtime error: index out of range [3] with length 3
string[4294967295] runtime error: index out of range [4294967295] with length 3
string[18446744073709551615] runtime error: index out of range [18446744073709551615] with length 3
slice[0:0] no panic
slice[0:3] no panic
slice[0:4] runtime error: slice bounds out of range [:4] with capacity 3
slice[0:4294967295] runtime error: slice bounds out of range [:4294967295] with capacity 3
slice[0:18446744073709551615] runtime error: slice bounds out of range [:18446744073709551615] with capacity 3
slice[3:0] runtime error: slice bounds out of range [3:0]
slice[3:3] no panic
slice[3:4] runtime error: slice bounds out of range [:4] with capacity 3
slice[3:4294967295] runtime error: slice bounds out of range [:4294967295] with capacity 3
slice[3:18446744073709551615] runtime error: slice bounds out of range [:18446744073709551615] with capacity 3
slice[4:0] runtime error: slice bounds out of range [4:0]
slice[4:3] runtime error: slice bounds out of range [4:3]
slice[4:4] runtime error: slice bounds out of range [:4] with capacity 3
slice[4:4294967295] runtime error: slice bounds out of range [:4294967295] with capacity 3
slice[4:18446744073709551615] runtime error: slice bounds out of range [:18446744073709551615] with capacity 3
slice[4294967295:0] runtime error: slice bounds out of range [4294967295:0]
slice[4294967295:3] runtime error: slice bounds out of range [4294967295:3]
slice[4294967295:4] runtime error: slice bounds out of range [:4] with capacity 3
slice[4294967295:4294967295] runtime error: slice bounds out of range [:4294967295] with capacity 3
slice[4294967295:18446744073709551615] runtime error: slice bounds out of range [:18446744073709551615] with capacity 3
slice[18446744073709551615:0] runtime error: slice bounds out of range [18446744073709551615:0]
slice[18446744073709551615:3] runtime error: slice bounds out of range [18446744073709551615:3]
slice[18446744073709551615:4] runtime error: slice bounds out of range [:4] with capacity 3
slice[18446744073709551615:4294967295] runtime error: slice bounds out of range [:4294967295] with capacity 3
slice[18446744073709551615:18446744073709551615] runtime error: slice bounds out of range [:18446744073709551615] with capacity 3
array[0:0] no panic
array[0:3] no panic
array[0:4] runtime error: slice bounds out of range [:4] with length 3
array[0:4294967295] runtime error: slice bounds out of range [:4294967295] with length 3
array[0:18446744073709551615] runtime error: slice bounds out of range [:18446744073709551615] with length 3
array[3:0] runtime error: slice bounds out of range [3:0]
array[3:3] no panic
array[3:4] runtime error: slice bounds out of range [:4] with length 3
array[3:4294967295] runtime error: slice bounds out of range [:4294967295] with length 3
array[3:18446744073709551615] runtime error: slice bounds out of range [:18446744073709551615] with length 3
array[4:0] runtime error: slice bounds out of range [4:0]
array[4:3] runtime error: slice bounds out of range [4:3]
array[4:4] runtime error: slice bounds out of range [:4] with length 3
array[4:4294967295] runtime error: slice bounds out of range [:4294967295] with length 3
array[4:18446744073709551615] runtime error: slice bounds out of range [:18446744073709551615] with length 3
array[4294967295:0] runtime error: slice bounds out of range [4294967295:0]
array[4294967295:3] runtime error: slice bounds out of range [4294967295:3]
array[4294967295:4] runtime error: slice bounds out of range [:4] with length 3
array[4294967295:4294967295] runtime error: slice bounds out of range [:4294967295] with length 3
array[4294967295:18446744073709551615] runtime error: slice bounds out of range [:18446744073709551615] with length 3
array[18446744073709551615:0] runtime error: slice bounds out of range [18446744073709551615:0]
array[18446744073709551615:3] runtime error: slice bounds out of range [18446744073709551615:3]
array[18446744073709551615:4] runtime error: slice bounds out of range [:4] with length 3
array[18446744073709551615:4294967295] runtime error: slice bounds out of range [:4294967295] with length 3
array[18446744073709551615:18446744073709551615] runtime error: slice bounds out of range [:18446744073709551615] with length 3
string[0:0] no panic
string[0:3] no panic
string[0:4] runtime error: slice bounds out of range [:4] with length 3
string[0:4294967295] runtime error: slice bounds out of range [:4294967295] with length 3
string[0:18446744073709551615] runtime error: slice bounds out of range [:18446744073709551615] with length 3
string[3:0] runtime error: slice bounds out of range [3:0]
string[3:3] no panic
string[3:4] runtime error: slice bounds out of range [:4] with length 3
string[3:4294967295] runtime error: slice bounds out of range [:4294967295] with length 3
string[3:18446744073709551615] runtime error: slice bounds out of range [:18446744073709551615] with length 3
string[4:0] runtime error: slice bounds out of range [4:0]
string[4:3] runtime error: slice bounds out of range [4:3]
string[4:4] runtime error: slice bounds out of range [:4] with length 3
string[4:4294967295] runtime error: slice bounds out of range [:4294967295] with length 3
string[4:18446744073709551615] runtime error: slice bounds out of range [:18446744073709551615] with length 3
string[4294967295:0] runtime error: slice bounds out of range [4294967295:0]
string[4294967295:3] runtime error: slice bounds out of range [4294967295:3]
string[4294967295:4] runtime error: slice bounds out of range [:4] with length 3
string[4294967295:4294967295] runtime error: slice bounds out of range [:4294967295] with length 3
string[4294967295:18446744073709551615] runtime error: slice bounds out of range [:18446744073709551615] with length 3
string[18446744073709551615:0] runtime error: slice bounds out of range [18446744073709551615:0]
string[18446744073709551615:3] runtime error: slice bounds out of range [18446744073709551615:3]
string[18446744073709551615:4] runtime error: slice bounds out of range [:4] with length 3
string[18446744073709551615:4294967295] runtime error: slice bounds out of range [:4294967295] with length 3
string[18446744073709551615:18446744073709551615] runtime error: slice bounds out of range [:18446744073709551615] with length 3
slice[0:0:0] no panic
slice[0:0:3] no panic
slice[0:0:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[0:0:4294967295] runtime error: slice bounds out of range [::4294967295] with capacity 3
slice[0:0:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with capacity 3
slice[0:3:0] runtime error: slice bounds out of range [:3:0]
slice[0:3:3] no panic
slice[0:3:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[0:3:4294967295] runtime error: slice bounds out of range [::4294967295] with capacity 3
slice[0:3:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with capacity 3
slice[0:4:0] runtime error: slice bounds out of range [:4:0]
slice[0:4:3] runtime error: slice bounds out of range [:4:3]
slice[0:4:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[0:4:4294967295] runtime error: slice bounds out of range [::4294967295] with capacity 3
slice[0:4:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with capacity 3
slice[0:4294967295:0] runtime error: slice bounds out of range [:4294967295:0]
slice[0:4294967295:3] runtime error: slice bounds out of range [:4294967295:3]
slice[0:4294967295:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[0:4294967295:4294967295] runtime error: slice bounds out of range [::4294967295] with capacity 3
slice[0:4294967295:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with capacity 3
slice[0:18446744073709551615:0] runtime error: slice bounds out of range [:18446744073709551615:0]
slice[0:18446744073709551615:3] runtime error: slice bounds out of range [:18446744073709551615:3]
slice[0:18446744073709551615:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[0:18446744073709551615:4294967295] runtime error: slice bounds out of range [::4294967295] with capacity 3
slice[0:18446744073709551615:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with capacity 3
slice[3:0:0] runtime error: slice bounds out of range [3:0:]
slice[3:0:3] runtime error: slice bounds out of range [3:0:]
slice[3:0:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[3:0:4294967295] runtime error: slice bounds out of range [::4294967295] with capacity 3
slice[3:0:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with capacity 3
slice[3:3:0] runtime error: slice bounds out of range [:3:0]
slice[3:3:3] no panic
slice[3:3:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[3:3:4294967295] runtime error: slice bounds out of range [::4294967295] with capacity 3
slice[3:3:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with capacity 3
slice[3:4:0] runtime error: slice bounds out of range [:4:0]
slice[3:4:3] runtime error: slice bounds out of range [:4:3]
slice[3:4:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[3:4:4294967295] runtime error: slice bounds out of range [::4294967295] with capacity 3
slice[3:4:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with capacity 3
slice[3:4294967295:0] runtime error: slice bounds out of range [:4294967295:0]
slice[3:4294967295:3] runtime error: slice bounds out of range [:4294967295:3]
slice[3:4294967295:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[3:4294967295:4294967295] runtime error: slice bounds out of range [::4294967295] with capacity 3
slice[3:4294967295:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with capacity 3
slice[3:18446744073709551615:0] runtime error: slice bounds out of range [:18446744073709551615:0]
slice[3:18446744073709551615:3] runtime error: slice bounds out of range [:18446744073709551615:3]
slice[3:18446744073709551615:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[3:18446744073709551615:4294967295] runtime error: slice bounds out of range [::4294967295] with capacity 3
slice[3:18446744073709551615:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with capacity 3
slice[4:0:0] runtime error: slice bounds out of range [4:0:]
slice[4:0:3] runtime error: slice bounds out of range [4:0:]
slice[4:0:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[4:0:4294967295] runtime error: slice bounds out of range [::4294967295] with capacity 3
slice[4:0:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with capacity 3
slice[4:3:0] runtime error: slice bounds out of range [:3:0]
slice[4:3:3] runtime error: slice bounds out of range [4:3:]
slice[4:3:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[4:3:4294967295] runtime error: slice bounds out of range [::4294967295] with capacity 3
slice[4:3:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with capacity 3
slice[4:4:0] runtime error: slice bounds out of range [:4:0]
slice[4:4:3] runtime error: slice bounds out of range [:4:3]
slice[4:4:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[4:4:4294967295] runtime error: slice bounds out of range [::4294967295] with capacity 3
slice[4:4:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with capacity 3
slice[4:4294967295:0] runtime error: slice bounds out of range [:4294967295:0]
slice[4:4294967295:3] runtime error: slice bounds out of range [:4294967295:3]
slice[4:4294967295:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[4:4294967295:4294967295] runtime error: slice bounds out of range [::4294967295] with capacity 3
slice[4:4294967295:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with capacity 3
slice[4:18446744073709551615:0] runtime error: slice bounds out of range [:18446744073709551615:0]
slice[4:18446744073709551615:3] runtime error: slice bounds out of range [:18446744073709551615:3]
slice[4:18446744073709551615:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[4:18446744073709551615:4294967295] runtime error: slice bounds out of range [::4294967295] with capacity 3
slice[4:18446744073709551615:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with capacity 3
slice[4294967295:0:0] runtime error: slice bounds out of range [4294967295:0:]
slice[4294967295:0:3] runtime error: slice bounds out of range [4294967295:0:]
slice[4294967295:0:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[4294967295:0:4294967295] runtime error: slice bounds out of range [::4294967295] with capacity 3
slice[4294967295:0:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with capacity 3
slice[4294967295:3:0] runtime error: slice bounds out of range [:3:0]
slice[4294967295:3:3] runtime error: slice bounds out of range [4294967295:3:]
slice[4294967295:3:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[4294967295:3:4294967295] runtime error: slice bounds out of range [::4294967295] with capacity 3
slice[4294967295:3:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with capacity 3
slice[4294967295:4:0] runtime error: slice bounds out of range [:4:0]
slice[4294967295:4:3] runtime error: slice bounds out of range [:4:3]
slice[4294967295:4:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[4294967295:4:4294967295] runtime error: slice bounds out of range [::4294967295] with capacity 3
slice[4294967295:4:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with capacity 3
slice[4294967295:4294967295:0] runtime error: slice bounds out of range [:4294967295:0]
slice[4294967295:4294967295:3] runtime error: slice bounds out of range [:4294967295:3]
slice[4294967295:4294967295:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[4294967295:4294967295:4294967295] runtime error: slice bounds out of range [::4294967295] with capacity 3
slice[4294967295:4294967295:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with capacity 3
slice[4294967295:18446744073709551615:0] runtime error: slice bounds out of range [:18446744073709551615:0]
slice[4294967295:18446744073709551615:3] runtime error: slice bounds out of range [:18446744073709551615:3]
slice[4294967295:18446744073709551615:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[4294967295:18446744073709551615:4294967295] runtime error: slice bounds out of range [::4294967295] with capacity 3
slice[4294967295:18446744073709551615:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with capacity 3
slice[18446744073709551615:0:0] runtime error: slice bounds out of range [18446744073709551615:0:]
slice[18446744073709551615:0:3] runtime error: slice bounds out of range [18446744073709551615:0:]
slice[18446744073709551615:0:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[18446744073709551615:0:4294967295] runtime error: slice bounds out of range [::4294967295] with capacity 3
slice[18446744073709551615:0:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with capacity 3
slice[18446744073709551615:3:0] runtime error: slice bounds out of range [:3:0]
slice[18446744073709551615:3:3] runtime error: slice bounds out of range [18446744073709551615:3:]
slice[18446744073709551615:3:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[18446744073709551615:3:4294967295] runtime error: slice bounds out of range [::4294967295] with capacity 3
slice[18446744073709551615:3:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with capacity 3
slice[18446744073709551615:4:0] runtime error: slice bounds out of range [:4:0]
slice[18446744073709551615:4:3] runtime error: slice bounds out of range [:4:3]
slice[18446744073709551615:4:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[18446744073709551615:4:4294967295] runtime error: slice bounds out of range [::4294967295] with capacity 3
slice[18446744073709551615:4:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with capacity 3
slice[18446744073709551615:4294967295:0] runtime error: slice bounds out of range [:4294967295:0]
slice[18446744073709551615:4294967295:3] runtime error: slice bounds out of range [:4294967295:3]
slice[18446744073709551615:4294967295:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[18446744073709551615:4294967295:4294967295] runtime error: slice bounds out of range [::4294967295] with capacity 3
slice[18446744073709551615:4294967295:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with capacity 3
slice[18446744073709551615:18446744073709551615:0] runtime error: slice bounds out of range [:18446744073709551615:0]
slice[18446744073709551615:18446744073709551615:3] runtime error: slice bounds out of range [:18446744073709551615:3]
slice[18446744073709551615:18446744073709551615:4] runtime error: slice bounds out of range [::4] with capacity 3
slice[18446744073709551615:18446744073709551615:4294967295] runtime error: slice bounds out of range [::4294967295] with capacity 3
slice[18446744073709551615:18446744073709551615:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with capacity 3
array[0:0:0] no panic
array[0:0:3] no panic
array[0:0:4] runtime error: slice bounds out of range [::4] with length 3
array[0:0:4294967295] runtime error: slice bounds out of range [::4294967295] with length 3
array[0:0:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with length 3
array[0:3:0] runtime error: slice bounds out of range [:3:0]
array[0:3:3] no panic
array[0:3:4] runtime error: slice bounds out of range [::4] with length 3
array[0:3:4294967295] runtime error: slice bounds out of range [::4294967295] with length 3
array[0:3:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with length 3
array[0:4:0] runtime error: slice bounds out of range [:4:0]
array[0:4:3] runtime error: slice bounds out of range [:4:3]
array[0:4:4] runtime error: slice bounds out of range [::4] with length 3
array[0:4:4294967295] runtime error: slice bounds out of range [::4294967295] with length 3
array[0:4:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with length 3
array[0:4294967295:0] runtime error: slice bounds out of range [:4294967295:0]
array[0:4294967295:3] runtime error: slice bounds out of range [:4294967295:3]
array[0:4294967295:4] runtime error: slice bounds out of range [::4] with length 3
array[0:4294967295:4294967295] runtime error: slice bounds out of range [::4294967295] with length 3
array[0:4294967295:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with length 3
array[0:18446744073709551615:0] runtime error: slice bounds out of range [:18446744073709551615:0]
array[0:18446744073709551615:3] runtime error: slice bounds out of range [:18446744073709551615:3]
array[0:18446744073709551615:4] runtime error: slice bounds out of range [::4] with length 3
array[0:18446744073709551615:4294967295] runtime error: slice bounds out of range [::4294967295] with length 3
array[0:18446744073709551615:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with length 3
array[3:0:0] runtime error: slice bounds out of range [3:0:]
array[3:0:3] runtime error: slice bounds out of range [3:0:]
array[3:0:4] runtime error: slice bounds out of range [::4] with length 3
array[3:0:4294967295] runtime error: slice bounds out of range [::4294967295] with length 3
array[3:0:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with length 3
array[3:3:0] runtime error: slice bounds out of range [:3:0]
array[3:3:3] no panic
array[3:3:4] runtime error: slice bounds out of range [::4] with length 3
array[3:3:4294967295] runtime error: slice bounds out of range [::4294967295] with length 3
array[3:3:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with length 3
array[3:4:0] runtime error: slice bounds out of range [:4:0]
array[3:4:3] runtime error: slice bounds out of range [:4:3]
array[3:4:4] runtime error: slice bounds out of range [::4] with length 3
array[3:4:4294967295] runtime error: slice bounds out of range [::4294967295] with length 3
array[3:4:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with length 3
array[3:4294967295:0] runtime error: slice bounds out of range [:4294967295:0]
array[3:4294967295:3] runtime error: slice bounds out of range [:4294967295:3]
array[3:4294967295:4] runtime error: slice bounds out of range [::4] with length 3
array[3:4294967295:4294967295] runtime error: slice bounds out of range [::4294967295] with length 3
array[3:4294967295:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with length 3
array[3:18446744073709551615:0] runtime error: slice bounds out of range [:18446744073709551615:0]
array[3:18446744073709551615:3] runtime error: slice bounds out of range [:18446744073709551615:3]
array[3:18446744073709551615:4] runtime error: slice bounds out of range [::4] with length 3
array[3:18446744073709551615:4294967295] runtime error: slice bounds out of range [::4294967295] with length 3
array[3:18446744073709551615:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with length 3
array[4:0:0] runtime error: slice bounds out of range [4:0:]
array[4:0:3] runtime error: slice bounds out of range [4:0:]
array[4:0:4] runtime error: slice bounds out of range [::4] with length 3
array[4:0:4294967295] runtime error: slice bounds out of range [::4294967295] with length 3
array[4:0:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with length 3
array[4:3:0] runtime error: slice bounds out of range [:3:0]
array[4:3:3] runtime error: slice bounds out of range [4:3:]
array[4:3:4] runtime error: slice bounds out of range [::4] with length 3
array[4:3:4294967295] runtime error: slice bounds out of range [::4294967295] with length 3
array[4:3:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with length 3
array[4:4:0] runtime error: slice bounds out of range [:4:0]
array[4:4:3] runtime error: slice bounds out of range [:4:3]
array[4:4:4] runtime error: slice bounds out of range [::4] with length 3
array[4:4:4294967295] runtime error: slice bounds out of range [::4294967295] with length 3
array[4:4:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with length 3
array[4:4294967295:0] runtime error: slice bounds out of range [:4294967295:0]
array[4:4294967295:3] runtime error: slice bounds out of range [:4294967295:3]
array[4:4294967295:4] runtime error: slice bounds out of range [::4] with length 3
array[4:4294967295:4294967295] runtime error: slice bounds out of range [::4294967295] with length 3
array[4:4294967295:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with length 3
array[4:18446744073709551615:0] runtime error: slice bounds out of range [:18446744073709551615:0]
array[4:18446744073709551615:3] runtime error: slice bounds out of range [:18446744073709551615:3]
array[4:18446744073709551615:4] runtime error: slice bounds out of range [::4] with length 3
array[4:18446744073709551615:4294967295] runtime error: slice bounds out of range [::4294967295] with length 3
array[4:18446744073709551615:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with length 3
array[4294967295:0:0] runtime error: slice bounds out of range [4294967295:0:]
array[4294967295:0:3] runtime error: slice bounds out of range [4294967295:0:]
array[4294967295:0:4] runtime error: slice bounds out of range [::4] with length 3
array[4294967295:0:4294967295] runtime error: slice bounds out of range [::4294967295] with length 3
array[4294967295:0:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with length 3
array[4294967295:3:0] runtime error: slice bounds out of range [:3:0]
array[4294967295:3:3] runtime error: slice bounds out of range [4294967295:3:]
array[4294967295:3:4] runtime error: slice bounds out of range [::4] with length 3
array[4294967295:3:4294967295] runtime error: slice bounds out of range [::4294967295] with length 3
array[4294967295:3:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with length 3
array[4294967295:4:0] runtime error: slice bounds out of range [:4:0]
array[4294967295:4:3] runtime error: slice bounds out of range [:4:3]
array[4294967295:4:4] runtime error: slice bounds out of range [::4] with length 3
array[4294967295:4:4294967295] runtime error: slice bounds out of range [::4294967295] with length 3
array[4294967295:4:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with length 3
array[4294967295:4294967295:0] runtime error: slice bounds out of range [:4294967295:0]
array[4294967295:4294967295:3] runtime error: slice bounds out of range [:4294967295:3]
array[4294967295:4294967295:4] runtime error: slice bounds out of range [::4] with length 3
array[4294967295:4294967295:4294967295] runtime error: slice bounds out of range [::4294967295] with length 3
array[4294967295:4294967295:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with length 3
array[4294967295:18446744073709551615:0] runtime error: slice bounds out of range [:18446744073709551615:0]
array[4294967295:18446744073709551615:3] runtime error: slice bounds out of range [:18446744073709551615:3]
array[4294967295:18446744073709551615:4] runtime error: slice bounds out of range [::4] with length 3
array[4294967295:18446744073709551615:4294967295] runtime error: slice bounds out of range [::4294967295] with length 3
array[4294967295:18446744073709551615:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with length 3
array[18446744073709551615:0:0] runtime error: slice bounds out of range [18446744073709551615:0:]
array[18446744073709551615:0:3] runtime error: slice bounds out of range [18446744073709551615:0:]
array[18446744073709551615:0:4] runtime error: slice bounds out of range [::4] with length 3
array[18446744073709551615:0:4294967295] runtime error: slice bounds out of range [::4294967295] with length 3
array[18446744073709551615:0:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with length 3
array[18446744073709551615:3:0] runtime error: slice bounds out of range [:3:0]
array[18446744073709551615:3:3] runtime error: slice bounds out of range [18446744073709551615:3:]
array[18446744073709551615:3:4] runtime error: slice bounds out of range [::4] with length 3
array[18446744073709551615:3:4294967295] runtime error: slice bounds out of range [::4294967295] with length 3
array[18446744073709551615:3:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with length 3
array[18446744073709551615:4:0] runtime error: slice bounds out of range [:4:0]
array[18446744073709551615:4:3] runtime error: slice bounds out of range [:4:3]
array[18446744073709551615:4:4] runtime error: slice bounds out of range [::4] with length 3
array[18446744073709551615:4:4294967295] runtime error: slice bounds out of range [::4294967295] with length 3
array[18446744073709551615:4:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with length 3
array[18446744073709551615:4294967295:0] runtime error: slice bounds out of range [:4294967295:0]
array[18446744073709551615:4294967295:3] runtime error: slice bounds out of range [:4294967295:3]
array[18446744073709551615:4294967295:4] runtime error: slice bounds out of range [::4] with length 3
array[18446744073709551615:4294967295:4294967295] runtime error: slice bounds out of range [::4294967295] with length 3
array[18446744073709551615:4294967295:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with length 3
array[18446744073709551615:18446744073709551615:0] runtime error: slice bounds out of range [:18446744073709551615:0]
array[18446744073709551615:18446744073709551615:3] runtime error: slice bounds out of range [:18446744073709551615:3]
array[18446744073709551615:18446744073709551615:4] runtime error: slice bounds out of range [::4] with length 3
array[18446744073709551615:18446744073709551615:4294967295] runtime error: slice bounds out of range [::4294967295] with length 3
array[18446744073709551615:18446744073709551615:18446744073709551615] runtime error: slice bounds out of range [::18446744073709551615] with length 3