compile warnings fixed. Using rustc instead of cargo for now