[INFO] cloning repository https://github.com/AJTJ/rust_problems
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AJTJ/rust_problems" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAJTJ%2Frust_problems", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAJTJ%2Frust_problems'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 73d6adaabb628c17d152e69cb1422d57ef76b9db
[INFO] checking AJTJ/rust_problems against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146470
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAJTJ%2Frust_problems" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AJTJ/rust_problems
[INFO] finished tweaking git repo https://github.com/AJTJ/rust_problems
[INFO] tweaked toml for git repo https://github.com/AJTJ/rust_problems written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AJTJ/rust_problems on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AJTJ/rust_problems 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 93a99d6a5e1bdfcd36062242d0773a7e4a8237be3a4ed5a7d8220b4e9958dcb9
[INFO] running `Command { std: "docker" "start" "-a" "93a99d6a5e1bdfcd36062242d0773a7e4a8237be3a4ed5a7d8220b4e9958dcb9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "93a99d6a5e1bdfcd36062242d0773a7e4a8237be3a4ed5a7d8220b4e9958dcb9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "93a99d6a5e1bdfcd36062242d0773a7e4a8237be3a4ed5a7d8220b4e9958dcb9", kill_on_drop: false }`
[INFO] [stdout] 93a99d6a5e1bdfcd36062242d0773a7e4a8237be3a4ed5a7d8220b4e9958dcb9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f6d05b7a0490179871c0b94eae81d008181dc4f9ffe653a5f1aa3fbfc7dbfb04
[INFO] running `Command { std: "docker" "start" "-a" "f6d05b7a0490179871c0b94eae81d008181dc4f9ffe653a5f1aa3fbfc7dbfb04", kill_on_drop: false }`
[INFO] [stderr]     Checking rust_problems v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/main.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 |         let mut first_index: Option<i32> = None;
[INFO] [stdout]   |             ----^^^^^^^^^^^
[INFO] [stdout]   |             |
[INFO] [stdout]   |             help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/main.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 |         let mut first_index: Option<i32> = None;
[INFO] [stdout]   |             ----^^^^^^^^^^^
[INFO] [stdout]   |             |
[INFO] [stdout]   |             help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/main.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |         let mut second_value: Option<i32> = None;
[INFO] [stdout]   |             ----^^^^^^^^^^^^
[INFO] [stdout]   |             |
[INFO] [stdout]   |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/main.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |         let mut second_value: Option<i32> = None;
[INFO] [stdout]   |             ----^^^^^^^^^^^^
[INFO] [stdout]   |             |
[INFO] [stdout]   |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `second_value`
[INFO] [stdout]  --> src/main.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |         let mut second_value: Option<i32> = None;
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_second_value`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]  --> src/main.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 |         for (i, x) in nums.iter().enumerate() {
[INFO] [stdout]   |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `second_value`
[INFO] [stdout]  --> src/main.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |         let mut second_value: Option<i32> = None;
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_second_value`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/main.rs:12:18
[INFO] [stdout]    |
[INFO] [stdout] 12 |             for (i, y) in nums.iter().enumerate() {
[INFO] [stdout]    |                  ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]  --> src/main.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 |         for (i, x) in nums.iter().enumerate() {
[INFO] [stdout]   |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/main.rs:12:18
[INFO] [stdout]    |
[INFO] [stdout] 12 |             for (i, y) in nums.iter().enumerate() {
[INFO] [stdout]    |                  ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] running `Command { std: "docker" "inspect" "f6d05b7a0490179871c0b94eae81d008181dc4f9ffe653a5f1aa3fbfc7dbfb04", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f6d05b7a0490179871c0b94eae81d008181dc4f9ffe653a5f1aa3fbfc7dbfb04", kill_on_drop: false }`
[INFO] [stdout] f6d05b7a0490179871c0b94eae81d008181dc4f9ffe653a5f1aa3fbfc7dbfb04
