Skip to content

Wrong display of ETA during rust instalation #60161

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

Closed
q2p opened this issue Apr 22, 2019 · 1 comment
Closed

Wrong display of ETA during rust instalation #60161

q2p opened this issue Apr 22, 2019 · 1 comment

Comments

@q2p
Copy link

q2p commented Apr 22, 2019

During installation of Rust on Ubuntu 18.04 it was showing the ETA of downloadable components.
And it should've said ETA: 3 min 4 s, but instead it said ETA: 3.0653233491173086 min 3.9194009470385254 s.

It's probably because values aren't casted to an integer type or because they aren't rounded up.

Here is a screenshot of the process (look at the very bottom):
Screenshot

I did install rust with this command: curl https://sh.rustup.rs -sSf | sh

Here is rustc --version --verbose

rustc 1.35.0-beta.1 (2bc1d406d 2019-04-10)
binary: rustc
commit-hash: 2bc1d406dd5eda8bb3fd0d08a9a1a534740f9e79
commit-date: 2019-04-10
host: x86_64-unknown-linux-gnu
release: 1.35.0-beta.1
LLVM version: 8.0
@memoryruins
Copy link
Contributor

Thanks for reporting! It is a rustup issue.
It was fixed in rust-lang/rustup#1699, and the patch will be included in rustup 1.18.0.

@sanxiyn sanxiyn closed this as completed Apr 22, 2019
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

No branches or pull requests

3 participants