[INFO] fetching crate hegemon 0.1.0...
[INFO] testing hegemon-0.1.0 against 1.62.0 for beta-1.63-1
[INFO] extracting crate hegemon 0.1.0 into /workspace/builds/worker-5/source
[INFO] validating manifest of crates.io crate hegemon 0.1.0 on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate hegemon 0.1.0
[INFO] finished tweaking crates.io crate hegemon 0.1.0
[INFO] tweaked toml for crates.io crate hegemon 0.1.0 written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libsensors-sys v0.2.0
[INFO] [stderr]   Downloaded sensors v0.2.2
[INFO] [stderr]   Downloaded chan-signal v0.3.3
[INFO] [stderr]   Downloaded systemstat v0.1.11
[INFO] [stderr]   Downloaded chan v0.1.23
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b80f23b53c7519a52d04dc2ca473abe97b33853cfce80d757186f5f662c2cfee
[INFO] running `Command { std: "docker" "start" "-a" "b80f23b53c7519a52d04dc2ca473abe97b33853cfce80d757186f5f662c2cfee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b80f23b53c7519a52d04dc2ca473abe97b33853cfce80d757186f5f662c2cfee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b80f23b53c7519a52d04dc2ca473abe97b33853cfce80d757186f5f662c2cfee", kill_on_drop: false }`
[INFO] [stdout] b80f23b53c7519a52d04dc2ca473abe97b33853cfce80d757186f5f662c2cfee
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f45c8a3df14cb849c72806cb209fdf11680ab4f0fde7dae8ada322e9a535094a
[INFO] running `Command { std: "docker" "start" "-a" "f45c8a3df14cb849c72806cb209fdf11680ab4f0fde7dae8ada322e9a535094a", kill_on_drop: false }`
[INFO] [stderr]    Compiling libsensors-sys v0.2.0
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling bit-vec v0.4.4
[INFO] [stderr]    Compiling lazy_static v0.2.11
[INFO] [stderr]    Compiling numtoa v0.1.0
[INFO] [stderr]    Compiling bytesize v1.1.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling regex-syntax v0.6.27
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling bit-set v0.4.0
[INFO] [stderr]    Compiling termion v1.5.6
[INFO] [stderr]    Compiling sensors v0.2.2
[INFO] [stderr]    Compiling nom v7.1.1
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling chan v0.1.23
[INFO] [stderr]    Compiling chan-signal v0.3.3
[INFO] [stderr]    Compiling regex v1.6.0
[INFO] [stderr]    Compiling systemstat v0.1.11
[INFO] [stderr]    Compiling hegemon v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/stream.rs:66:6
[INFO] [stdout]    |
[INFO] [stdout] 66 | impl Stream {
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 66 - impl Stream {
[INFO] [stdout] 66 + impl dyn Stream {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/stream.rs:117:16
[INFO] [stdout]     |
[INFO] [stdout] 117 |     value: Box<FnMut() -> Option<f64>>,
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 117 -     value: Box<FnMut() -> Option<f64>>,
[INFO] [stdout] 117 +     value: Box<dyn FnMut() -> Option<f64>>,
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/stream.rs:120:17
[INFO] [stdout]     |
[INFO] [stdout] 120 |     format: Box<Fn(f64, &Theme) -> String>,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 120 -     format: Box<Fn(f64, &Theme) -> String>,
[INFO] [stdout] 120 +     format: Box<dyn Fn(f64, &Theme) -> String>,
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/terminal.rs:33:18
[INFO] [stdout]    |
[INFO] [stdout] 33 |     wrapper: Box<Write>,
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 33 -     wrapper: Box<Write>,
[INFO] [stdout] 33 +     wrapper: Box<dyn Write>,
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/model.rs:277:21
[INFO] [stdout]     |
[INFO] [stdout] 277 |     pub stream: Box<Stream>,
[INFO] [stdout]     |                     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 277 -     pub stream: Box<Stream>,
[INFO] [stdout] 277 +     pub stream: Box<dyn Stream>,
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/stream.rs:24:34
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn streams(&self) -> Vec<Box<Stream>>;
[INFO] [stdout]    |                                  ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 24 -     fn streams(&self) -> Vec<Box<Stream>>;
[INFO] [stdout] 24 +     fn streams(&self) -> Vec<Box<dyn Stream>>;
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/stream.rs:77:14
[INFO] [stdout]    |
[INFO] [stdout] 77 |     ) -> Box<Stream> {
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 77 -     ) -> Box<Stream> {
[INFO] [stdout] 77 +     ) -> Box<dyn Stream> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/model.rs:41:62
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub fn new(width: usize, height: usize, streams: Vec<Box<Stream>>) -> Self {
[INFO] [stdout]    |                                                              ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 41 -     pub fn new(width: usize, height: usize, streams: Vec<Box<Stream>>) -> Self {
[INFO] [stdout] 41 +     pub fn new(width: usize, height: usize, streams: Vec<Box<dyn Stream>>) -> Self {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/model.rs:284:24
[INFO] [stdout]     |
[INFO] [stdout] 284 |     fn new(stream: Box<Stream>) -> Self {
[INFO] [stdout]     |                        ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 284 -     fn new(stream: Box<Stream>) -> Self {
[INFO] [stdout] 284 +     fn new(stream: Box<dyn Stream>) -> Self {
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/providers/mod.rs:30:29
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn streams() -> Vec<Box<Stream>> {
[INFO] [stdout]    |                             ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 30 - pub fn streams() -> Vec<Box<Stream>> {
[INFO] [stdout] 30 + pub fn streams() -> Vec<Box<dyn Stream>> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/providers/cpu.rs:27:34
[INFO] [stdout]    |
[INFO] [stdout] 27 |     fn streams(&self) -> Vec<Box<Stream>> {
[INFO] [stdout]    |                                  ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 27 -     fn streams(&self) -> Vec<Box<Stream>> {
[INFO] [stdout] 27 +     fn streams(&self) -> Vec<Box<dyn Stream>> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/providers/memory.rs:28:34
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn streams(&self) -> Vec<Box<Stream>> {
[INFO] [stdout]    |                                  ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 28 -     fn streams(&self) -> Vec<Box<Stream>> {
[INFO] [stdout] 28 +     fn streams(&self) -> Vec<Box<dyn Stream>> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/providers/temperature.rs:26:34
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn streams(&self) -> Vec<Box<Stream>> {
[INFO] [stdout]    |                                  ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 26 -     fn streams(&self) -> Vec<Box<Stream>> {
[INFO] [stdout] 26 +     fn streams(&self) -> Vec<Box<dyn Stream>> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/providers/fan.rs:27:34
[INFO] [stdout]    |
[INFO] [stdout] 27 |     fn streams(&self) -> Vec<Box<Stream>> {
[INFO] [stdout]    |                                  ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 27 -     fn streams(&self) -> Vec<Box<Stream>> {
[INFO] [stdout] 27 +     fn streams(&self) -> Vec<Box<dyn Stream>> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/providers/cpu.rs:32:22
[INFO] [stdout]    |
[INFO] [stdout] 32 |         streams.push(Stream::new(
[INFO] [stdout]    |                      ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 32 |         streams.push(<dyn Stream>::new(
[INFO] [stdout]    |                      ++++       +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/providers/cpu.rs:61:34
[INFO] [stdout]    |
[INFO] [stdout] 61 |                     streams.push(Stream::new(
[INFO] [stdout]    |                                  ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 61 |                     streams.push(<dyn Stream>::new(
[INFO] [stdout]    |                                  ++++       +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/providers/memory.rs:32:26
[INFO] [stdout]    |
[INFO] [stdout] 32 |             streams.push(Stream::new(
[INFO] [stdout]    |                          ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 32 |             streams.push(<dyn Stream>::new(
[INFO] [stdout]    |                          ++++       +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_usize` found for struct `ByteSize` in the current scope
[INFO] [stdout]   --> src/providers/memory.rs:43:35
[INFO] [stdout]    |
[INFO] [stdout] 43 |                 Some(memory.total.as_usize() as f64),
[INFO] [stdout]    |                                   ^^^^^^^^ method not found in `ByteSize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: cannot subtract `ByteSize` from `ByteSize`
[INFO] [stdout]   --> src/providers/memory.rs:37:44
[INFO] [stdout]    |
[INFO] [stdout] 37 |                         Some((memory.total - memory.free).as_usize() as f64)
[INFO] [stdout]    |                               ------------ ^ ----------- ByteSize
[INFO] [stdout]    |                               |
[INFO] [stdout]    |                               ByteSize
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/providers/memory.rs:52:30
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 streams.push(Stream::new(
[INFO] [stdout]    |                              ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 streams.push(<dyn Stream>::new(
[INFO] [stdout]    |                              ++++       +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_usize` found for struct `ByteSize` in the current scope
[INFO] [stdout]   --> src/providers/memory.rs:64:46
[INFO] [stdout]    |
[INFO] [stdout] 64 |                     Some(meminfo[SWAP_TOTAL].as_usize() as f64),
[INFO] [stdout]    |                                              ^^^^^^^^ method not found in `ByteSize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: cannot subtract `ByteSize` from `ByteSize`
[INFO] [stdout]   --> src/providers/memory.rs:58:55
[INFO] [stdout]    |
[INFO] [stdout] 58 | ...                   Some((meminfo[SWAP_TOTAL] - meminfo[SWAP_FREE]).as_usize() as f64)
[INFO] [stdout]    |                             ------------------- ^ ------------------ ByteSize
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             ByteSize
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/providers/temperature.rs:42:30
[INFO] [stdout]    |
[INFO] [stdout] 42 |                 streams.push(Stream::new(
[INFO] [stdout]    |                              ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 42 |                 streams.push(<dyn Stream>::new(
[INFO] [stdout]    |                              ++++       +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/providers/fan.rs:35:26
[INFO] [stdout]    |
[INFO] [stdout] 35 |             streams.push(Stream::new(
[INFO] [stdout]    |                          ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 35 |             streams.push(<dyn Stream>::new(
[INFO] [stdout]    |                          ++++       +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/providers/mod.rs:31:28
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let providers: Vec<Box<StreamProvider>> = vec![
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 31 -     let providers: Vec<Box<StreamProvider>> = vec![
[INFO] [stdout] 31 +     let providers: Vec<Box<dyn StreamProvider>> = vec![
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 21 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0369, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0369`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hegemon` due to 5 previous errors; 21 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f45c8a3df14cb849c72806cb209fdf11680ab4f0fde7dae8ada322e9a535094a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f45c8a3df14cb849c72806cb209fdf11680ab4f0fde7dae8ada322e9a535094a", kill_on_drop: false }`
[INFO] [stdout] f45c8a3df14cb849c72806cb209fdf11680ab4f0fde7dae8ada322e9a535094a
