updated rust nightly and made modifications to use cargo