[INFO] fetching crate hegemon 0.1.0...
[INFO] testing hegemon-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate hegemon 0.1.0 into /workspace/builds/worker-2-tc2/source
[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-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate hegemon 0.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 62 packages to latest compatible versions
[INFO] [stderr]       Adding systemstat v0.1.12 (available: v0.2.5)
[INFO] [stderr]       Adding termion v1.5.6 (available: v4.0.5)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5711192cf639724706b07b756a69512ae2874c1a85f6ce718b96d8c54a690a04
[INFO] running `Command { std: "docker" "start" "-a" "5711192cf639724706b07b756a69512ae2874c1a85f6ce718b96d8c54a690a04", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5711192cf639724706b07b756a69512ae2874c1a85f6ce718b96d8c54a690a04", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5711192cf639724706b07b756a69512ae2874c1a85f6ce718b96d8c54a690a04", kill_on_drop: false }`
[INFO] [stdout] 5711192cf639724706b07b756a69512ae2874c1a85f6ce718b96d8c54a690a04
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8df139bd733c8aa16e26c20f37b912f9d8e751c7067cef86e32041e0b5515fa0
[INFO] running `Command { std: "docker" "start" "-a" "8df139bd733c8aa16e26c20f37b912f9d8e751c7067cef86e32041e0b5515fa0", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling libsensors-sys v0.2.0
[INFO] [stderr]    Compiling bit-vec v0.4.4
[INFO] [stderr]    Compiling lazy_static v0.2.11
[INFO] [stderr]    Compiling bytesize v1.3.3
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling chan v0.1.23
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling bit-set v0.4.0
[INFO] [stderr]    Compiling sensors v0.2.2
[INFO] [stderr]    Compiling chan-signal v0.3.3
[INFO] [stderr]    Compiling systemstat v0.1.12
[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]    = 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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 66 | impl dyn Stream {
[INFO] [stdout]    |      +++
[INFO] [stdout] help: you might have intended to implement this trait for a given type
[INFO] [stdout]    |
[INFO] [stdout] 66 | impl Stream for /* Type */ {
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[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/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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[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/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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[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/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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[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/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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[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/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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[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/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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, 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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, 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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, 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] note: `ByteSize` does not implement `Sub`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytesize-1.3.3/src/lib.rs:111:1
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub struct ByteSize(pub u64);
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^ `ByteSize` is defined in another crate
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, 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] note: `ByteSize` does not implement `Sub`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytesize-1.3.3/src/lib.rs:111:1
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub struct ByteSize(pub u64);
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^ `ByteSize` is defined in another crate
[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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, 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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, 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/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let providers: Vec<Box<dyn StreamProvider>> = vec![
[INFO] [stdout]    |                            +++
[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` (bin "hegemon") due to 4 previous errors; 21 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "8df139bd733c8aa16e26c20f37b912f9d8e751c7067cef86e32041e0b5515fa0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8df139bd733c8aa16e26c20f37b912f9d8e751c7067cef86e32041e0b5515fa0", kill_on_drop: false }`
[INFO] [stdout] 8df139bd733c8aa16e26c20f37b912f9d8e751c7067cef86e32041e0b5515fa0
