[INFO] cloning repository https://github.com/codepitbull/rust-top
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/codepitbull/rust-top" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodepitbull%2Frust-top", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodepitbull%2Frust-top'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 65aaa199fb0df89b0614b562f7c27f2da0a060d9
[INFO] checking codepitbull/rust-top/65aaa199fb0df89b0614b562f7c27f2da0a060d9 against master#31a9463c6e2794a59ce57a8f37abc6966afc2a58 for pr-156807
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodepitbull%2Frust-top" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/codepitbull/rust-top
[INFO] finished tweaking git repo https://github.com/codepitbull/rust-top
[INFO] tweaked toml for git repo https://github.com/codepitbull/rust-top written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/codepitbull/rust-top on toolchain 31a9463c6e2794a59ce57a8f37abc6966afc2a58
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/codepitbull/rust-top already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded redox_syscall v0.1.32
[INFO] [stderr]   Downloaded fuchsia-zircon v0.2.1
[INFO] [stderr]   Downloaded sys-info v0.5.3
[INFO] [stderr]   Downloaded rand v0.3.18
[INFO] [stderr]   Downloaded fuchsia-zircon-sys v0.2.0
[INFO] [stderr]   Downloaded libc v0.2.33
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 590ed459966ee6649e993e704243b1f7b1e05007c1760411fcaac3da93dc6729
[INFO] running `Command { std: "docker" "start" "-a" "590ed459966ee6649e993e704243b1f7b1e05007c1760411fcaac3da93dc6729", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "590ed459966ee6649e993e704243b1f7b1e05007c1760411fcaac3da93dc6729", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "590ed459966ee6649e993e704243b1f7b1e05007c1760411fcaac3da93dc6729", kill_on_drop: false }`
[INFO] [stdout] 590ed459966ee6649e993e704243b1f7b1e05007c1760411fcaac3da93dc6729
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 477cd934beb117c795e18fbd218872bd030c5eadfd2a17873b17cf09c227b3fe
[INFO] running `Command { std: "docker" "start" "-a" "477cd934beb117c795e18fbd218872bd030c5eadfd2a17873b17cf09c227b3fe", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]     Checking libc v0.2.33
[INFO] [stderr]    Compiling gcc v0.3.54
[INFO] [stderr]     Checking rand v0.3.18
[INFO] [stderr]     Checking termion v1.5.1
[INFO] [stderr]    Compiling sys-info v0.5.3
[INFO] [stderr]     Checking rust_top v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/display_elements.rs:63:18
[INFO] [stdout]    |
[INFO] [stdout] 63 |     used_fn: Box<Fn() -> f32>,
[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] 63 |     used_fn: Box<dyn Fn() -> f32>,
[INFO] [stdout]    |                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/display_elements.rs:68:44
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn new(label: String, used_fn: Box<Fn() -> f32>) -> LabelledBar {
[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] 68 |     pub fn new(label: String, used_fn: Box<dyn Fn() -> f32>) -> LabelledBar {
[INFO] [stdout]    |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:24:18
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let clr: Box<Fn() -> f32> = Box::new(move || mem_info.avail as f32 / one_slot as f32);
[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 |     let clr: Box<dyn Fn() -> f32> = Box::new(move || mem_info.avail as f32 / one_slot as f32);
[INFO] [stdout]    |                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:30:18
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let clr: Box<Fn() -> f32> = Box::new(move || disk_info.free as f32 / one_slot as f32);
[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 |     let clr: Box<dyn Fn() -> f32> = Box::new(move || disk_info.free as f32 / one_slot as f32);
[INFO] [stdout]    |                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/display_elements.rs:63:18
[INFO] [stdout]    |
[INFO] [stdout] 63 |     used_fn: Box<Fn() -> f32>,
[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] 63 |     used_fn: Box<dyn Fn() -> f32>,
[INFO] [stdout]    |                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `free`, `buffers`, and `cached` are never read
[INFO] [stdout]   --> src/rust_top.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub struct MemInfo {
[INFO] [stdout]    |                ------- fields in this struct
[INFO] [stdout] 44 |         pub total: u64,
[INFO] [stdout] 45 |         pub free: u64,
[INFO] [stdout]    |             ^^^^
[INFO] [stdout] 46 |         pub avail: u64,
[INFO] [stdout] 47 |         pub buffers: u64,
[INFO] [stdout]    |             ^^^^^^^
[INFO] [stdout] 48 |         pub cached: u64
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/display_elements.rs:68:44
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn new(label: String, used_fn: Box<Fn() -> f32>) -> LabelledBar {
[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] 68 |     pub fn new(label: String, used_fn: Box<dyn Fn() -> f32>) -> LabelledBar {
[INFO] [stdout]    |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `free` on type `rust_top::rust_top::LoadInfo`
[INFO] [stdout]    --> src/rust_top.rs:109:40
[INFO] [stdout]     |
[INFO] [stdout] 109 |             assert_eq!(true, load_info.free > 0);
[INFO] [stdout]     |                                        ^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `one`, `five`, `fiveteen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `total` on type `rust_top::rust_top::LoadInfo`
[INFO] [stdout]    --> src/rust_top.rs:110:40
[INFO] [stdout]     |
[INFO] [stdout] 110 |             assert_eq!(true, load_info.total > 0);
[INFO] [stdout]     |                                        ^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `one`, `five`, `fiveteen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:24:18
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let clr: Box<Fn() -> f32> = Box::new(move || mem_info.avail as f32 / one_slot as f32);
[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 |     let clr: Box<dyn Fn() -> f32> = Box::new(move || mem_info.avail as f32 / one_slot as f32);
[INFO] [stdout]    |                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:30:18
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let clr: Box<Fn() -> f32> = Box::new(move || disk_info.free as f32 / one_slot as f32);
[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 |     let clr: Box<dyn Fn() -> f32> = Box::new(move || disk_info.free as f32 / one_slot as f32);
[INFO] [stdout]    |                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0609`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_top` (bin "rust_top" test) due to 2 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "477cd934beb117c795e18fbd218872bd030c5eadfd2a17873b17cf09c227b3fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "477cd934beb117c795e18fbd218872bd030c5eadfd2a17873b17cf09c227b3fe", kill_on_drop: false }`
[INFO] [stdout] 477cd934beb117c795e18fbd218872bd030c5eadfd2a17873b17cf09c227b3fe
