rustpkg is no longer part of rust, put raw instructions
link is deprecated
allow dead code
remove unused imports
loop only once
fix println