[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#a26e97be8826d408309fffbd8168362365719f50 for pr-136776
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAJTJ%2Frust_problems" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/AJTJ/rust_problems on toolchain a26e97be8826d408309fffbd8168362365719f50
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a26e97be8826d408309fffbd8168362365719f50" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-3-tc1/source/Cargo.toml
[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" "+a26e97be8826d408309fffbd8168362365719f50" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+a26e97be8826d408309fffbd8168362365719f50" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5dde5aa6c548d86dc6c16e9f9a5f2144a4df53f4f627930729917dba3c1b8ecf
[INFO] running `Command { std: "docker" "start" "-a" "5dde5aa6c548d86dc6c16e9f9a5f2144a4df53f4f627930729917dba3c1b8ecf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5dde5aa6c548d86dc6c16e9f9a5f2144a4df53f4f627930729917dba3c1b8ecf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5dde5aa6c548d86dc6c16e9f9a5f2144a4df53f4f627930729917dba3c1b8ecf", kill_on_drop: false }`
[INFO] [stdout] 5dde5aa6c548d86dc6c16e9f9a5f2144a4df53f4f627930729917dba3c1b8ecf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+a26e97be8826d408309fffbd8168362365719f50" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 306a85efa68f4b79934275bc4e1e5f5fd3ce591d01c0100be41bd5c1fa5e35af
[INFO] running `Command { std: "docker" "start" "-a" "306a85efa68f4b79934275bc4e1e5f5fd3ce591d01c0100be41bd5c1fa5e35af", kill_on_drop: false }`
[INFO] [stderr]     Checking rust_problems v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `second_value`
[INFO] [stdout]  --> src/main.rs:6:17
[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)]` 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: `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: 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)]` 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: unused variable: `second_value`
[INFO] [stdout]  --> src/main.rs:6:17
[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)]` 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: `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: 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)]` 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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s
[INFO] running `Command { std: "docker" "inspect" "306a85efa68f4b79934275bc4e1e5f5fd3ce591d01c0100be41bd5c1fa5e35af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "306a85efa68f4b79934275bc4e1e5f5fd3ce591d01c0100be41bd5c1fa5e35af", kill_on_drop: false }`
[INFO] [stdout] 306a85efa68f4b79934275bc4e1e5f5fd3ce591d01c0100be41bd5c1fa5e35af
