Fix some compiler warnings.
Bump deps, use  to find randomized idx.