[INFO] fetching crate hegemon 0.1.0... [INFO] checking hegemon-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate hegemon 0.1.0 into /workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hegemon 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 63 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded chan-signal v0.3.3 [INFO] [stderr] Downloaded libsensors-sys v0.2.0 [INFO] [stderr] Downloaded sensors v0.2.2 [INFO] [stderr] Downloaded systemstat v0.1.12 [INFO] [stderr] Downloaded bit-set v0.4.0 [INFO] [stderr] Downloaded chan v0.1.23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a36b2aee81adffd0ec9fc50cc55212b21d80eead551bd06a9075e48d75887a2 [INFO] running `Command { std: "docker" "start" "-a" "6a36b2aee81adffd0ec9fc50cc55212b21d80eead551bd06a9075e48d75887a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a36b2aee81adffd0ec9fc50cc55212b21d80eead551bd06a9075e48d75887a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a36b2aee81adffd0ec9fc50cc55212b21d80eead551bd06a9075e48d75887a2", kill_on_drop: false }` [INFO] [stdout] 6a36b2aee81adffd0ec9fc50cc55212b21d80eead551bd06a9075e48d75887a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26393a6b6f829e8989bbb53f67ded706e69abd53165f1fbb089f5cf3ccb68c80 [INFO] running `Command { std: "docker" "start" "-a" "26393a6b6f829e8989bbb53f67ded706e69abd53165f1fbb089f5cf3ccb68c80", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling libsensors-sys v0.2.0 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking bit-vec v0.4.4 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking bytesize v1.3.3 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Checking bit-set v0.4.0 [INFO] [stderr] Checking sensors v0.2.2 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking chan v0.1.23 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking chan-signal v0.3.3 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking systemstat v0.1.12 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking 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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` 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 Option>, [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 117 | value: Box Option>, [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 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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 120 | format: Box 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, [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | wrapper: Box, [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, [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 277 | pub stream: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` 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 Option>, [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 117 | value: Box Option>, [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 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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 120 | format: Box 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, [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | wrapper: Box, [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, [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 277 | pub stream: Box, [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> { [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 | fn streams(&self) -> Vec> { [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>; [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | fn streams(&self) -> Vec>; [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> { [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | fn streams(&self) -> Vec> { [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> { [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | fn streams(&self) -> Vec> { [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> { [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 | fn streams(&self) -> Vec> { [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> { [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | pub fn streams() -> Vec> { [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 { [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 | ) -> Box { [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> { [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 | fn streams(&self) -> Vec> { [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>; [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | fn streams(&self) -> Vec>; [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> { [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | fn streams(&self) -> Vec> { [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> { [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | fn streams(&self) -> Vec> { [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> { [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 | fn streams(&self) -> Vec> { [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> { [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | pub fn streams() -> Vec> { [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 { [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 | ) -> Box { [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>) -> 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 [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>) -> 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) -> 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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 284 | fn new(stream: Box) -> Self { [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>) -> 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 [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>) -> 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) -> 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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 284 | fn new(stream: Box) -> 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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | streams.push(::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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | streams.push(::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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | streams.push(::new( [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | streams.push(::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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | streams.push(::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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | streams.push(::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: the foreign item type `ByteSize` doesn't 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] | ^^^^^^^^^^^^^^^^^^^ not implement `Sub` [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 | streams.push(::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: the foreign item type `ByteSize` doesn't 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] | ^^^^^^^^^^^^^^^^^^^ not implement `Sub` [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 | streams.push(::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: the foreign item type `ByteSize` doesn't 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] | ^^^^^^^^^^^^^^^^^^^ not implement `Sub` [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | streams.push(::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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | streams.push(::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> = 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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | let providers: Vec> = vec![ [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: the foreign item type `ByteSize` doesn't 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] | ^^^^^^^^^^^^^^^^^^^ not implement `Sub` [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | streams.push(::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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | streams.push(::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> = 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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | let providers: Vec> = 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] [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" test) due to 4 previous errors; 21 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `hegemon` (bin "hegemon") due to 4 previous errors; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "26393a6b6f829e8989bbb53f67ded706e69abd53165f1fbb089f5cf3ccb68c80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26393a6b6f829e8989bbb53f67ded706e69abd53165f1fbb089f5cf3ccb68c80", kill_on_drop: false }` [INFO] [stdout] 26393a6b6f829e8989bbb53f67ded706e69abd53165f1fbb089f5cf3ccb68c80