[INFO] cloning repository https://github.com/himanshurajora/rust-cli-todo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/himanshurajora/rust-cli-todo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhimanshurajora%2Frust-cli-todo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhimanshurajora%2Frust-cli-todo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 838b5a17bddd0d9aef8554d6c07e4963dad841c0 [INFO] checking himanshurajora/rust-cli-todo against master#8321f00bf4a5f25cad5ec8861c5469afe6e0ce8b for pr-133925 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhimanshurajora%2Frust-cli-todo" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/himanshurajora/rust-cli-todo on toolchain 8321f00bf4a5f25cad5ec8861c5469afe6e0ce8b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8321f00bf4a5f25cad5ec8861c5469afe6e0ce8b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/himanshurajora/rust-cli-todo [INFO] finished tweaking git repo https://github.com/himanshurajora/rust-cli-todo [INFO] tweaked toml for git repo https://github.com/himanshurajora/rust-cli-todo written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/himanshurajora/rust-cli-todo 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" "+8321f00bf4a5f25cad5ec8861c5469afe6e0ce8b" "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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+8321f00bf4a5f25cad5ec8861c5469afe6e0ce8b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 505068fda75abd648d053c04233dc0727beab1803e93eb77b8227cb54abd0d9c [INFO] running `Command { std: "docker" "start" "-a" "505068fda75abd648d053c04233dc0727beab1803e93eb77b8227cb54abd0d9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "505068fda75abd648d053c04233dc0727beab1803e93eb77b8227cb54abd0d9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "505068fda75abd648d053c04233dc0727beab1803e93eb77b8227cb54abd0d9c", kill_on_drop: false }` [INFO] [stdout] 505068fda75abd648d053c04233dc0727beab1803e93eb77b8227cb54abd0d9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+8321f00bf4a5f25cad5ec8861c5469afe6e0ce8b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e38103558629ce83dd4319d6a22e741ef591104cd7a892b87abedeb7898c406 [INFO] running `Command { std: "docker" "start" "-a" "1e38103558629ce83dd4319d6a22e741ef591104cd7a892b87abedeb7898c406", kill_on_drop: false }` [INFO] [stderr] Checking rust-cli-todo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `process::exit` [INFO] [stdout] --> src/main.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::{stdin, stdout, Write}, process::exit}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process::exit` [INFO] [stdout] --> src/main.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::{stdin, stdout, Write}, process::exit}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | fn application_loop(app_state: &mut AppState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] ... [INFO] [stdout] 30 | application_loop(app_state); [INFO] [stdout] | --------------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | fn application_loop(app_state: &mut AppState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] ... [INFO] [stdout] 30 | application_loop(app_state); [INFO] [stdout] | --------------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_state` [INFO] [stdout] --> src/main.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | fn remove_task(app_state: &mut AppState, id: u16) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/main.rs:50:42 [INFO] [stdout] | [INFO] [stdout] 50 | fn remove_task(app_state: &mut AppState, id: u16) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_task` is never used [INFO] [stdout] --> src/main.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn remove_task(app_state: &mut AppState, id: u16) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_state` [INFO] [stdout] --> src/main.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | fn remove_task(app_state: &mut AppState, id: u16) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/main.rs:50:42 [INFO] [stdout] | [INFO] [stdout] 50 | fn remove_task(app_state: &mut AppState, id: u16) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_task` is never used [INFO] [stdout] --> src/main.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn remove_task(app_state: &mut AppState, id: u16) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] running `Command { std: "docker" "inspect" "1e38103558629ce83dd4319d6a22e741ef591104cd7a892b87abedeb7898c406", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e38103558629ce83dd4319d6a22e741ef591104cd7a892b87abedeb7898c406", kill_on_drop: false }` [INFO] [stdout] 1e38103558629ce83dd4319d6a22e741ef591104cd7a892b87abedeb7898c406