[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 master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froyaldark%2Frust-ls" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/royaldark/rust-ls on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-3/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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] 48e283b85d027bf315cb35fced9269598de5f31d617f6dfa4445838337f034ed [INFO] running `Command { std: "docker" "start" "-a" "48e283b85d027bf315cb35fced9269598de5f31d617f6dfa4445838337f034ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48e283b85d027bf315cb35fced9269598de5f31d617f6dfa4445838337f034ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48e283b85d027bf315cb35fced9269598de5f31d617f6dfa4445838337f034ed", kill_on_drop: false }` [INFO] [stdout] 48e283b85d027bf315cb35fced9269598de5f31d617f6dfa4445838337f034ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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] 99904c9f41cf6d2c459611cca7ab34478219298b695cc1a9d4dd6594c5c54740 [INFO] running `Command { std: "docker" "start" "-a" "99904c9f41cf6d2c459611cca7ab34478219298b695cc1a9d4dd6594c5c54740", kill_on_drop: false }` [INFO] [stderr] Checking time v0.1.38 [INFO] [stderr] Checking atty v0.2.6 [INFO] [stderr] Checking users v0.6.0 [INFO] [stderr] Checking clap v2.29.0 [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: 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!(format!("Invalid color: {}", color)) [INFO] [stdout] 96 + _ => panic!("Invalid color: {}", color) [INFO] [stdout] | [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!(format!("Invalid color: {}", color)) [INFO] [stdout] 96 + _ => panic!("Invalid color: {}", color) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.46s [INFO] running `Command { std: "docker" "inspect" "99904c9f41cf6d2c459611cca7ab34478219298b695cc1a9d4dd6594c5c54740", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99904c9f41cf6d2c459611cca7ab34478219298b695cc1a9d4dd6594c5c54740", kill_on_drop: false }` [INFO] [stdout] 99904c9f41cf6d2c459611cca7ab34478219298b695cc1a9d4dd6594c5c54740