fixed build with latest rust-nightly