Update to latest rustc and fix some warnings

Can we please have `MASK_ALL` here?