Updated rust to compile with latest rustc

--moved from std::sys std::mem for size_of
--moved from fmt to format
--Fixed work item size bug