Skip to content

Wrong display of ETA during rust instalation #60161

@q2p

Description

@q2p

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions