[INFO] cloning repository https://github.com/astherath/turbogrep [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/astherath/turbogrep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fastherath%2Fturbogrep", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fastherath%2Fturbogrep'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 585558ef4794567786094a179ad2ff9c85e3770f [INFO] checking astherath/turbogrep against master#db1fb85cff63ad5fffe435e17128f99f9e1d970c for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fastherath%2Fturbogrep" "/workspace/builds/worker-86/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-86/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/astherath/turbogrep on toolchain db1fb85cff63ad5fffe435e17128f99f9e1d970c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/astherath/turbogrep [INFO] finished tweaking git repo https://github.com/astherath/turbogrep [INFO] tweaked toml for git repo https://github.com/astherath/turbogrep written to /workspace/builds/worker-86/source/Cargo.toml [INFO] crate git repo https://github.com/astherath/turbogrep already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c897d34ea8b702ff2ee6f96afda874875f80104c05c7894b092b35c13c480ede [INFO] running `Command { std: "docker" "start" "-a" "c897d34ea8b702ff2ee6f96afda874875f80104c05c7894b092b35c13c480ede", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c897d34ea8b702ff2ee6f96afda874875f80104c05c7894b092b35c13c480ede", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c897d34ea8b702ff2ee6f96afda874875f80104c05c7894b092b35c13c480ede", kill_on_drop: false }` [INFO] [stdout] c897d34ea8b702ff2ee6f96afda874875f80104c05c7894b092b35c13c480ede [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f5a871f39746201f1a0a76956ee1513fe9b98c8982dbfa2b1b63513d71e00aa [INFO] running `Command { std: "docker" "start" "-a" "5f5a871f39746201f1a0a76956ee1513fe9b98c8982dbfa2b1b63513d71e00aa", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking turbogrep v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/file_io.rs:30:35 [INFO] [stdout] | [INFO] [stdout] 30 | fn get_file_paths_that_match_expr(expr: &str) -> io::Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/file_io.rs:35:39 [INFO] [stdout] | [INFO] [stdout] 35 | fn read_file_data_and_check_for_match(file_path: &Path) -> Option { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_data` [INFO] [stdout] --> src/file_io.rs:39:38 [INFO] [stdout] | [INFO] [stdout] 39 | fn read_and_print_changes_to_be_made(file_data: &FileData) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_data` [INFO] [stdout] --> src/file_io.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | fn execute_changes_to_file(file_data: &FileData) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/file_io.rs:30:35 [INFO] [stdout] | [INFO] [stdout] 30 | fn get_file_paths_that_match_expr(expr: &str) -> io::Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/file_io.rs:35:39 [INFO] [stdout] | [INFO] [stdout] 35 | fn read_file_data_and_check_for_match(file_path: &Path) -> Option { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_data` [INFO] [stdout] --> src/file_io.rs:39:38 [INFO] [stdout] | [INFO] [stdout] 39 | fn read_and_print_changes_to_be_made(file_data: &FileData) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_data` [INFO] [stdout] --> src/file_io.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | fn execute_changes_to_file(file_data: &FileData) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/file_io.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | read_and_print_changes_to_be_made(&file_data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/file_io.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | execute_changes_to_file(&file_data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/file_io.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | read_and_print_changes_to_be_made(&file_data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/file_io.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | execute_changes_to_file(&file_data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.06s [INFO] running `Command { std: "docker" "inspect" "5f5a871f39746201f1a0a76956ee1513fe9b98c8982dbfa2b1b63513d71e00aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f5a871f39746201f1a0a76956ee1513fe9b98c8982dbfa2b1b63513d71e00aa", kill_on_drop: false }` [INFO] [stdout] 5f5a871f39746201f1a0a76956ee1513fe9b98c8982dbfa2b1b63513d71e00aa