update for rust nightly breaking changes