Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to compile on 1.53.0 and later Rust version #1

Closed
djipko opened this issue Mar 6, 2022 · 0 comments · Fixed by #2
Closed

Fails to compile on 1.53.0 and later Rust version #1

djipko opened this issue Mar 6, 2022 · 0 comments · Fixed by #2

Comments

@djipko
Copy link
Owner

djipko commented Mar 6, 2022

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.

djipko added a commit that referenced this issue Mar 6, 2022
This is to sidestep a breakage in a pinned version of lexical-core
transitive dependency while dependencies get upgraded.

Also switches to the latest stable release of imap="2.4.1"

Tested locally

Resolves #1
@djipko djipko closed this as completed in #2 Mar 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant