djipko/gbackup-rs

Fails to compile on 1.53.0 and later Rust version

Closed this issue · 0 comments

This seems to be caused by the lexical-core transitive dependency (imap crate depends on this via imap-proto). The root cause seems to be explained here rust-lang/rust#76904 - stabilisation of integer::BITS. This has since been fixed in the relevant library (more details in the issue) but imap latest stable (2.4.1) still pins a bad version of imap-proto.

The newer 3.x version of IMAP crate seems to be ahead of this - so I will create an issue to test and upgrade to that (especially once it's been actually released to crates.io).

However - until then - I should probably pin the toolchain to 1.52.0 so that this project continues to build normally.