[INFO] cloning repository https://github.com/Summer-of-Rust/sor-lab-2-AngelOnFira [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Summer-of-Rust/sor-lab-2-AngelOnFira" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSummer-of-Rust%2Fsor-lab-2-AngelOnFira", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSummer-of-Rust%2Fsor-lab-2-AngelOnFira'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7ab78b66a934cc7c34b7d2591889c5a5b5f478bb [INFO] checking Summer-of-Rust/sor-lab-2-AngelOnFira against master#cced03bfd61a304243a34504618ecec86c17063f for pr-157082 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSummer-of-Rust%2Fsor-lab-2-AngelOnFira" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Summer-of-Rust/sor-lab-2-AngelOnFira [INFO] finished tweaking git repo https://github.com/Summer-of-Rust/sor-lab-2-AngelOnFira [INFO] tweaked toml for git repo https://github.com/Summer-of-Rust/sor-lab-2-AngelOnFira written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Summer-of-Rust/sor-lab-2-AngelOnFira on toolchain cced03bfd61a304243a34504618ecec86c17063f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Summer-of-Rust/sor-lab-2-AngelOnFira 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" "+cced03bfd61a304243a34504618ecec86c17063f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 4052827c3cca014ae35a8d492909257cd4a935243d50c1d80d08c0165fc501e9 [INFO] running `Command { std: "docker" "start" "4052827c3cca014ae35a8d492909257cd4a935243d50c1d80d08c0165fc501e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4052827c3cca014ae35a8d492909257cd4a935243d50c1d80d08c0165fc501e9" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4052827c3cca014ae35a8d492909257cd4a935243d50c1d80d08c0165fc501e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4052827c3cca014ae35a8d492909257cd4a935243d50c1d80d08c0165fc501e9" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking sor-lab-2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `carrots` [INFO] [stdout] --> src/main.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | fn calculate_grade(carrots: i32, nuts: i32, seeds: i32) -> i32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_carrots` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nuts` [INFO] [stdout] --> src/main.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | fn calculate_grade(carrots: i32, nuts: i32, seeds: i32) -> i32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nuts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seeds` [INFO] [stdout] --> src/main.rs:24:45 [INFO] [stdout] | [INFO] [stdout] 24 | fn calculate_grade(carrots: i32, nuts: i32, seeds: i32) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_seeds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wolves_nearby` [INFO] [stdout] --> src/main.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | wolves_nearby: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wolves_nearby` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `day_time` [INFO] [stdout] --> src/main.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | day_time: bool, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_day_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `has_carrot` [INFO] [stdout] --> src/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | has_carrot: bool, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_carrot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `friends_nearby` [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | friends_nearby: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_friends_nearby` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `starting_rabbits` [INFO] [stdout] --> src/main.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | fn simulate(starting_rabbits: i128) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_starting_rabbits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `carrots` [INFO] [stdout] --> src/main.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | fn calculate_grade(carrots: i32, nuts: i32, seeds: i32) -> i32 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_carrots` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nuts` [INFO] [stdout] --> src/main.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | fn calculate_grade(carrots: i32, nuts: i32, seeds: i32) -> i32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nuts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seeds` [INFO] [stdout] --> src/main.rs:24:45 [INFO] [stdout] | [INFO] [stdout] 24 | fn calculate_grade(carrots: i32, nuts: i32, seeds: i32) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_seeds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wolves_nearby` [INFO] [stdout] --> src/main.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | wolves_nearby: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wolves_nearby` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `day_time` [INFO] [stdout] --> src/main.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | day_time: bool, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_day_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `has_carrot` [INFO] [stdout] --> src/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | has_carrot: bool, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_carrot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `friends_nearby` [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | friends_nearby: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_friends_nearby` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `starting_rabbits` [INFO] [stdout] --> src/main.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | fn simulate(starting_rabbits: i128) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_starting_rabbits` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `Command { std: "docker" "inspect" "4052827c3cca014ae35a8d492909257cd4a935243d50c1d80d08c0165fc501e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4052827c3cca014ae35a8d492909257cd4a935243d50c1d80d08c0165fc501e9", kill_on_drop: false }` [INFO] [stdout] 4052827c3cca014ae35a8d492909257cd4a935243d50c1d80d08c0165fc501e9