[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] testing royaldark/rust-ls against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froyaldark%2Frust-ls" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/royaldark/rust-ls on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-10/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded winapi v0.3.2 [INFO] [stderr] Downloaded winapi-x86_64-pc-windows-gnu v0.3.1 [INFO] [stderr] Downloaded winapi-i686-pc-windows-gnu v0.3.1 [INFO] [stderr] Downloaded clap v2.29.0 [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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d089dd3cbb8025f3d5902bdab3aee152733271b7f976f6be6f529478c8b1c32c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d089dd3cbb8025f3d5902bdab3aee152733271b7f976f6be6f529478c8b1c32c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d089dd3cbb8025f3d5902bdab3aee152733271b7f976f6be6f529478c8b1c32c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d089dd3cbb8025f3d5902bdab3aee152733271b7f976f6be6f529478c8b1c32c", kill_on_drop: false }` [INFO] [stdout] d089dd3cbb8025f3d5902bdab3aee152733271b7f976f6be6f529478c8b1c32c [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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bcdda7d6b387c01149ea447206febe851fc54b55df0f1811ca4759cd424c6567 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bcdda7d6b387c01149ea447206febe851fc54b55df0f1811ca4759cd424c6567", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling time v0.1.38 [INFO] [stderr] Compiling atty v0.2.6 [INFO] [stderr] Compiling users v0.6.0 [INFO] [stderr] Compiling num-integer v0.1.35 [INFO] [stderr] Compiling colored v1.6.0 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling num-iter v0.1.34 [INFO] [stderr] Compiling clap v2.29.0 [INFO] [stderr] Compiling num v0.1.41 [INFO] [stderr] Compiling chrono v0.4.0 [INFO] [stderr] Compiling 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!(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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.88s [INFO] running `Command { std: "docker" "inspect" "bcdda7d6b387c01149ea447206febe851fc54b55df0f1811ca4759cd424c6567", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcdda7d6b387c01149ea447206febe851fc54b55df0f1811ca4759cd424c6567", kill_on_drop: false }` [INFO] [stdout] bcdda7d6b387c01149ea447206febe851fc54b55df0f1811ca4759cd424c6567 [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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--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] 4cf9a45769e12f360e2192be55296b1b3eefedad1ddbf79eb45f18b6a59e0547 [INFO] running `Command { std: "docker" "start" "-a" "4cf9a45769e12f360e2192be55296b1b3eefedad1ddbf79eb45f18b6a59e0547", kill_on_drop: false }` [INFO] [stderr] Compiling 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!(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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.07s [INFO] running `Command { std: "docker" "inspect" "4cf9a45769e12f360e2192be55296b1b3eefedad1ddbf79eb45f18b6a59e0547", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cf9a45769e12f360e2192be55296b1b3eefedad1ddbf79eb45f18b6a59e0547", kill_on_drop: false }` [INFO] [stdout] 4cf9a45769e12f360e2192be55296b1b3eefedad1ddbf79eb45f18b6a59e0547 [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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", 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] 338064d327c15a6d109c38e2ed50d8663a92970d4146d4bb5665f4d1f8d73783 [INFO] running `Command { std: "docker" "start" "-a" "338064d327c15a6d109c38e2ed50d8663a92970d4146d4bb5665f4d1f8d73783", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/fs.rs:86:74 [INFO] [stderr] | [INFO] [stderr] 86 | let message = format!("cannot access '{}': {}", input, e.description()); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dir` [INFO] [stderr] --> src/fs.rs:31:18 [INFO] [stderr] | [INFO] [stderr] 31 | fn to_fs_entries(dir: &FsEntry, dir_entries: &Vec, opts: &LsOptions) -> Vec { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `add_implied_dirs` [INFO] [stderr] --> src/fs.rs:14:4 [INFO] [stderr] | [INFO] [stderr] 14 | fn add_implied_dirs(dir: &str, fs_entries: &mut Vec) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/cli.rs:96:25 [INFO] [stderr] | [INFO] [stderr] 96 | _ => panic!(format!("Invalid color: {}", color)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 96 - _ => panic!(format!("Invalid color: {}", color)) [INFO] [stderr] 96 + _ => panic!("Invalid color: {}", color) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `ls` (bin "ls" test) generated 4 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ls-619e18420822def9) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test format::tests::test_humanize_si ... ok [INFO] [stdout] test format::tests::test_humanize ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "338064d327c15a6d109c38e2ed50d8663a92970d4146d4bb5665f4d1f8d73783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "338064d327c15a6d109c38e2ed50d8663a92970d4146d4bb5665f4d1f8d73783", kill_on_drop: false }` [INFO] [stdout] 338064d327c15a6d109c38e2ed50d8663a92970d4146d4bb5665f4d1f8d73783