[INFO] cloning repository https://github.com/royaldark/rust-ls [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/royaldark/rust-ls" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froyaldark%2Frust-ls", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froyaldark%2Frust-ls'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2956c7e05ad15ffd6f6eb2e89667e536c9d1b9a8 [INFO] checking royaldark/rust-ls against try#ddfd70ee3c3748e597b32f416b0d15a4f6e37685 for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froyaldark%2Frust-ls" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/royaldark/rust-ls on toolchain ddfd70ee3c3748e597b32f416b0d15a4f6e37685 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/royaldark/rust-ls [INFO] finished tweaking git repo https://github.com/royaldark/rust-ls [INFO] tweaked toml for git repo https://github.com/royaldark/rust-ls written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/royaldark/rust-ls already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ansi_term v0.10.2 [INFO] [stderr] Downloaded atty v0.2.6 [INFO] [stderr] Downloaded clap v2.29.0 [INFO] [stderr] Downloaded winapi-x86_64-pc-windows-gnu v0.3.1 [INFO] [stderr] Downloaded winapi v0.3.2 [INFO] [stderr] Downloaded users v0.6.0 [INFO] [stderr] Downloaded winapi-i686-pc-windows-gnu v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 17d6034484d6984ec0dc82e3582f5f7780742ddf10b0c6c6a7f915181b9801c6 [INFO] running `Command { std: "docker" "start" "-a" "17d6034484d6984ec0dc82e3582f5f7780742ddf10b0c6c6a7f915181b9801c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17d6034484d6984ec0dc82e3582f5f7780742ddf10b0c6c6a7f915181b9801c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17d6034484d6984ec0dc82e3582f5f7780742ddf10b0c6c6a7f915181b9801c6", kill_on_drop: false }` [INFO] [stdout] 17d6034484d6984ec0dc82e3582f5f7780742ddf10b0c6c6a7f915181b9801c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 60d36d3d1c5585e06dd408a41ef7b1422ed7c1ae4ccc0bb35657d15424cae1a3 [INFO] running `Command { std: "docker" "start" "-a" "60d36d3d1c5585e06dd408a41ef7b1422ed7c1ae4ccc0bb35657d15424cae1a3", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.34 [INFO] [stderr] Checking num-traits v0.1.41 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking ansi_term v0.10.2 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking colored v1.6.0 [INFO] [stderr] Checking num-integer v0.1.35 [INFO] [stderr] Checking atty v0.2.6 [INFO] [stderr] Checking time v0.1.38 [INFO] [stderr] Checking users v0.6.0 [INFO] [stderr] Checking clap v2.29.0 [INFO] [stderr] Checking num-iter v0.1.34 [INFO] [stderr] Checking num v0.1.41 [INFO] [stderr] Checking chrono v0.4.0 [INFO] [stderr] Checking ls v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/fs.rs:86:74 [INFO] [stdout] | [INFO] [stdout] 86 | let message = format!("cannot access '{}': {}", input, e.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/fs.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | fn to_fs_entries(dir: &FsEntry, dir_entries: &Vec, opts: &LsOptions) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_implied_dirs` [INFO] [stdout] --> src/fs.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn add_implied_dirs(dir: &str, fs_entries: &mut Vec) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cli.rs:96:25 [INFO] [stdout] | [INFO] [stdout] 96 | _ => panic!(format!("Invalid color: {}", color)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 96 | _ => panic!("Invalid color: {}", color) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/fs.rs:86:74 [INFO] [stdout] | [INFO] [stdout] 86 | let message = format!("cannot access '{}': {}", input, e.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/fs.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | fn to_fs_entries(dir: &FsEntry, dir_entries: &Vec, opts: &LsOptions) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_implied_dirs` [INFO] [stdout] --> src/fs.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn add_implied_dirs(dir: &str, fs_entries: &mut Vec) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/cli.rs:96:25 [INFO] [stdout] | [INFO] [stdout] 96 | _ => panic!(format!("Invalid color: {}", color)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 96 | _ => panic!("Invalid color: {}", color) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.54s [INFO] running `Command { std: "docker" "inspect" "60d36d3d1c5585e06dd408a41ef7b1422ed7c1ae4ccc0bb35657d15424cae1a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60d36d3d1c5585e06dd408a41ef7b1422ed7c1ae4ccc0bb35657d15424cae1a3", kill_on_drop: false }` [INFO] [stdout] 60d36d3d1c5585e06dd408a41ef7b1422ed7c1ae4ccc0bb35657d15424cae1a3