[INFO] cloning repository https://github.com/Jumacde/Rust_Training1
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jumacde/Rust_Training1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJumacde%2FRust_Training1", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJumacde%2FRust_Training1'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a4339fc99671db6180fbfe808bebf921eff53e99
[INFO] checking Jumacde/Rust_Training1 against 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d for pr-159598
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJumacde%2FRust_Training1" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Jumacde/Rust_Training1
[INFO] finished tweaking git repo https://github.com/Jumacde/Rust_Training1
[INFO] tweaked toml for git repo https://github.com/Jumacde/Rust_Training1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Jumacde/Rust_Training1 on toolchain 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Jumacde/Rust_Training1 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" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "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-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 0936df4f96723bae8f92760060355d1aa0264463a17251eae0fbca13352e7ce0
[INFO] running `Command { std: "docker" "start" "0936df4f96723bae8f92760060355d1aa0264463a17251eae0fbca13352e7ce0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0936df4f96723bae8f92760060355d1aa0264463a17251eae0fbca13352e7ce0", 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" "0936df4f96723bae8f92760060355d1aa0264463a17251eae0fbca13352e7ce0" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0936df4f96723bae8f92760060355d1aa0264463a17251eae0fbca13352e7ce0", 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" "0936df4f96723bae8f92760060355d1aa0264463a17251eae0fbca13352e7ce0" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking Rust_Training1 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::ptr::read_unaligned`
[INFO] [stdout]  --> src/calc_method.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ptr::read_unaligned;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::read_unaligned`
[INFO] [stdout]  --> src/calc_method.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ptr::read_unaligned;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `hashmap2` is never read
[INFO] [stdout]   --> src/try_hashmap.rs:9:21
[INFO] [stdout]    |
[INFO] [stdout]  9 |  let mut hashmap2 = HashMap:: new();
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 14 |  hashmap2 = list1.into_iter().zip(list2).collect();
[INFO] [stdout]    |  -------- `hashmap2` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/try_for.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let mut a: i32 = 0;
[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/try_for.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     let mut b: i32 = 5;
[INFO] [stdout]   |         ----^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple ranges are one apart
[INFO] [stdout]   --> src/try_match.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |         4..100 => {
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         this range doesn't match `100_i32` because `..` is an exclusive range
[INFO] [stdout]    |         help: use an inclusive range instead: `4_i32..=100_i32`
[INFO] [stdout] ...
[INFO] [stdout] 17 |         y  @ 101..=200 => {
[INFO] [stdout]    |              --------- this could appear to continue range `4_i32..100_i32`, but `100_i32` isn't matched by either of them
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_contiguous_range_endpoints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `hashmap2` is never read
[INFO] [stdout]   --> src/try_hashmap.rs:9:21
[INFO] [stdout]    |
[INFO] [stdout]  9 |  let mut hashmap2 = HashMap:: new();
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 14 |  hashmap2 = list1.into_iter().zip(list2).collect();
[INFO] [stdout]    |  -------- `hashmap2` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/try_for.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let mut a: i32 = 0;
[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/try_for.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     let mut b: i32 = 5;
[INFO] [stdout]   |         ----^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple ranges are one apart
[INFO] [stdout]   --> src/try_match.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |         4..100 => {
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         this range doesn't match `100_i32` because `..` is an exclusive range
[INFO] [stdout]    |         help: use an inclusive range instead: `4_i32..=100_i32`
[INFO] [stdout] ...
[INFO] [stdout] 17 |         y  @ 101..=200 => {
[INFO] [stdout]    |              --------- this could appear to continue range `4_i32..100_i32`, but `100_i32` isn't matched by either of them
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_contiguous_range_endpoints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s
[INFO] running `Command { std: "docker" "inspect" "0936df4f96723bae8f92760060355d1aa0264463a17251eae0fbca13352e7ce0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0936df4f96723bae8f92760060355d1aa0264463a17251eae0fbca13352e7ce0", kill_on_drop: false }`
[INFO] [stdout] 0936df4f96723bae8f92760060355d1aa0264463a17251eae0fbca13352e7ce0
