[INFO] fetching crate hegemon 0.1.0... [INFO] testing hegemon-0.1.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate hegemon 0.1.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate hegemon 0.1.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 450436438b2bba159c713f88314166238a36fe254e563319c38205c722f1bfb4 [INFO] running `Command { std: "docker" "start" "-a" "450436438b2bba159c713f88314166238a36fe254e563319c38205c722f1bfb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "450436438b2bba159c713f88314166238a36fe254e563319c38205c722f1bfb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "450436438b2bba159c713f88314166238a36fe254e563319c38205c722f1bfb4", kill_on_drop: false }` [INFO] [stdout] 450436438b2bba159c713f88314166238a36fe254e563319c38205c722f1bfb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0001f826525e61fcb4b0fce02ded5999b91dee814b36e719fd7327635aab4d0b [INFO] running `Command { std: "docker" "start" "-a" "0001f826525e61fcb4b0fce02ded5999b91dee814b36e719fd7327635aab4d0b", kill_on_drop: false }` [INFO] [stderr] Compiling libsensors-sys v0.2.0 [INFO] [stderr] Compiling bit-vec v0.4.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling bytesize v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling bit-set v0.4.0 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling termion v1.5.6 [INFO] [stderr] Compiling sensors v0.2.2 [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 chrono v0.4.19 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling systemstat v0.1.10 [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 [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 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 117 - value: Box Option>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 120 - format: Box String>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - wrapper: Box, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 277 - pub stream: Box, [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: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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 - fn streams(&self) -> Vec>; [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/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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 - ) -> Box { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 - pub fn new(width: usize, height: usize, streams: Vec>) -> Self { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 284 - fn new(stream: Box) -> Self { [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/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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 - pub fn streams() -> Vec> { [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/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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - fn streams(&self) -> Vec> { [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/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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 - fn streams(&self) -> Vec> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - fn streams(&self) -> Vec> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - fn streams(&self) -> Vec> { [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/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: 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: 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: 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] [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: 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] [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: 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: 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 - let providers: Vec> = vec![ [INFO] [stdout] 31 + let providers: Vec> = 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" "0001f826525e61fcb4b0fce02ded5999b91dee814b36e719fd7327635aab4d0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0001f826525e61fcb4b0fce02ded5999b91dee814b36e719fd7327635aab4d0b", kill_on_drop: false }` [INFO] [stdout] 0001f826525e61fcb4b0fce02ded5999b91dee814b36e719fd7327635aab4d0b