[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 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodepitbull%2Frust-top" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/codepitbull/rust-top on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc1/source/Cargo.toml [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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fuchsia-zircon-sys v0.2.0 [INFO] [stderr] Downloaded fuchsia-zircon v0.2.1 [INFO] [stderr] Downloaded redox_syscall v0.1.32 [INFO] [stderr] Downloaded bitflags v0.7.0 [INFO] [stderr] Downloaded rand v0.3.18 [INFO] [stderr] Downloaded libc v0.2.33 [INFO] [stderr] Downloaded sys-info v0.5.3 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2eb60a01f26be8eea6cc71f240a6e690b32627c9de4d6a5542740e75a4eeeaa1 [INFO] running `Command { std: "docker" "start" "-a" "2eb60a01f26be8eea6cc71f240a6e690b32627c9de4d6a5542740e75a4eeeaa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2eb60a01f26be8eea6cc71f240a6e690b32627c9de4d6a5542740e75a4eeeaa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2eb60a01f26be8eea6cc71f240a6e690b32627c9de4d6a5542740e75a4eeeaa1", kill_on_drop: false }` [INFO] [stdout] 2eb60a01f26be8eea6cc71f240a6e690b32627c9de4d6a5542740e75a4eeeaa1 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c559ab44a51634fc5642513551c983ee13152f8f1708084e771beae2f5e2bd4 [INFO] running `Command { std: "docker" "start" "-a" "8c559ab44a51634fc5642513551c983ee13152f8f1708084e771beae2f5e2bd4", kill_on_drop: false }` [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 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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 | used_fn: Box 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 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 | pub fn new(label: String, used_fn: Box f32>) -> LabelledBar { [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 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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 | used_fn: Box f32>, [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 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | let clr: Box 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/display_elements.rs:68:44 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn new(label: String, used_fn: Box 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 | pub fn new(label: String, used_fn: Box f32>) -> LabelledBar { [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 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | let clr: Box f32> = Box::new(move || disk_info.free as f32 / one_slot as 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)]` on by default [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 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | let clr: Box 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 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | let clr: Box f32> = Box::new(move || disk_info.free as f32 / one_slot as f32); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [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 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8c559ab44a51634fc5642513551c983ee13152f8f1708084e771beae2f5e2bd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c559ab44a51634fc5642513551c983ee13152f8f1708084e771beae2f5e2bd4", kill_on_drop: false }` [INFO] [stdout] 8c559ab44a51634fc5642513551c983ee13152f8f1708084e771beae2f5e2bd4 [INFO] checking codepitbull/rust-top against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodepitbull%2Frust-top" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/codepitbull/rust-top on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc2/source/Cargo.toml [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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 153624649c911ced1f479da6fc020359d302f0ecd4a3e0dafd00fc9731ed6f55 [INFO] running `Command { std: "docker" "start" "-a" "153624649c911ced1f479da6fc020359d302f0ecd4a3e0dafd00fc9731ed6f55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "153624649c911ced1f479da6fc020359d302f0ecd4a3e0dafd00fc9731ed6f55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "153624649c911ced1f479da6fc020359d302f0ecd4a3e0dafd00fc9731ed6f55", kill_on_drop: false }` [INFO] [stdout] 153624649c911ced1f479da6fc020359d302f0ecd4a3e0dafd00fc9731ed6f55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d27151ed108be7f72e4cf4307b363e158390f145e6427019459cf2b75b9d934 [INFO] running `Command { std: "docker" "start" "-a" "3d27151ed108be7f72e4cf4307b363e158390f145e6427019459cf2b75b9d934", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "3d27151ed108be7f72e4cf4307b363e158390f145e6427019459cf2b75b9d934", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d27151ed108be7f72e4cf4307b363e158390f145e6427019459cf2b75b9d934", kill_on_drop: false }` [INFO] [stdout] 3d27151ed108be7f72e4cf4307b363e158390f145e6427019459cf2b75b9d934