[INFO] cloning repository https://github.com/nao-kobayashi/PrjEuler
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nao-kobayashi/PrjEuler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnao-kobayashi%2FPrjEuler", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnao-kobayashi%2FPrjEuler'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dd118d2812a14e5e26dc2e4da388889fa43a6339
[INFO] checking nao-kobayashi/PrjEuler against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnao-kobayashi%2FPrjEuler" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/nao-kobayashi/PrjEuler
[INFO] finished tweaking git repo https://github.com/nao-kobayashi/PrjEuler
[INFO] tweaked toml for git repo https://github.com/nao-kobayashi/PrjEuler written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/nao-kobayashi/PrjEuler on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/nao-kobayashi/PrjEuler 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded num-bigint v0.2.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 512073a32e071b35d8cacf78c5cb799988a1ee1b016c1bd663da27266749cbe7
[INFO] running `Command { std: "docker" "start" "-a" "512073a32e071b35d8cacf78c5cb799988a1ee1b016c1bd663da27266749cbe7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "512073a32e071b35d8cacf78c5cb799988a1ee1b016c1bd663da27266749cbe7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "512073a32e071b35d8cacf78c5cb799988a1ee1b016c1bd663da27266749cbe7", kill_on_drop: false }`
[INFO] [stdout] 512073a32e071b35d8cacf78c5cb799988a1ee1b016c1bd663da27266749cbe7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 94cb9428ae5c6cffc3d300baf2f62650528bad76cf5b4c657e0b1d749fc9d4e3
[INFO] running `Command { std: "docker" "start" "-a" "94cb9428ae5c6cffc3d300baf2f62650528bad76cf5b4c657e0b1d749fc9d4e3", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling num-bigint v0.2.2
[INFO] [stderr]     Checking fnv v1.0.6
[INFO] [stderr]     Checking lazy_static v1.2.0
[INFO] [stderr]     Checking project v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::problem17::*`
[INFO] [stdout]    --> src/main.rs:518:5
[INFO] [stdout]     |
[INFO] [stdout] 518 | use crate::problem17::*;
[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: `crate::problem17::*`
[INFO] [stdout]    --> src/main.rs:518:5
[INFO] [stdout]     |
[INFO] [stdout] 518 | use crate::problem17::*;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (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:173:13
[INFO] [stdout]     |
[INFO] [stdout] 173 |         let mut calc = (0..mul_num).fold(1, |mul, h| mul * num_arr[h + i]);
[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: value assigned to `r` is never read
[INFO] [stdout]    --> src/main.rs:278:17
[INFO] [stdout]     |
[INFO] [stdout] 278 |     let mut r = 0;
[INFO] [stdout]     |                 ^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num`
[INFO] [stdout]    --> src/main.rs:308:34
[INFO] [stdout]     |
[INFO] [stdout] 308 |                 .fold(1, |calc, (num, r)| calc * (r + 1));
[INFO] [stdout]     |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_num`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (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:793:14
[INFO] [stdout]     |
[INFO] [stdout] 793 | fn problem24(mut num: i32) {
[INFO] [stdout]     |              ----^^^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:825:9
[INFO] [stdout]     |
[INFO] [stdout] 825 |     let a = BigInt::from(1);
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `c1` is never read
[INFO] [stdout]    --> src/main.rs:906:23
[INFO] [stdout]     |
[INFO] [stdout] 906 |     let mut c1: u64 = 0;
[INFO] [stdout]     |                       ^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `c2` is never read
[INFO] [stdout]    --> src/main.rs:907:23
[INFO] [stdout]     |
[INFO] [stdout] 907 |     let mut c2: u64 = 0;
[INFO] [stdout]     |                       ^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `c3` is never read
[INFO] [stdout]    --> src/main.rs:908:23
[INFO] [stdout]     |
[INFO] [stdout] 908 |     let mut c3: u64 = 0;
[INFO] [stdout]     |                       ^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `c4` is never read
[INFO] [stdout]    --> src/main.rs:909:23
[INFO] [stdout]     |
[INFO] [stdout] 909 |     let mut c4: u64 = 0;
[INFO] [stdout]     |                       ^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:944:17
[INFO] [stdout]     |
[INFO] [stdout] 944 |             for i in 1..*nb {
[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:173:13
[INFO] [stdout]     |
[INFO] [stdout] 173 |         let mut calc = (0..mul_num).fold(1, |mul, h| mul * num_arr[h + i]);
[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: constant `BUF_SIZE` is never used
[INFO] [stdout]    --> src/main.rs:714:7
[INFO] [stdout]     |
[INFO] [stdout] 714 | const BUF_SIZE: usize = 2048;
[INFO] [stdout]     |       ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/main.rs:488:11
[INFO] [stdout]     |
[INFO] [stdout] 488 |     while y >= 0 {
[INFO] [stdout]     |           ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/main.rs:490:15
[INFO] [stdout]     |
[INFO] [stdout] 490 |         while x >= 0 {
[INFO] [stdout]     |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `proper` should have an upper case name
[INFO] [stdout]  --> src/problem17.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 |     static ref proper:[usize; 20] = [
[INFO] [stdout]   |                ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]   |
[INFO] [stdout] 4 -     static ref proper:[usize; 20] = [
[INFO] [stdout] 4 +     static ref PROPER:[usize; 20] = [
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `r` is never read
[INFO] [stdout]    --> src/main.rs:278:17
[INFO] [stdout]     |
[INFO] [stdout] 278 |     let mut r = 0;
[INFO] [stdout]     |                 ^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `tenth` should have an upper case name
[INFO] [stdout]   --> src/problem17.rs:28:16
[INFO] [stdout]    |
[INFO] [stdout] 28 |     static ref tenth: [usize; 8] = [
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 28 -     static ref tenth: [usize; 8] = [
[INFO] [stdout] 28 +     static ref TENTH: [usize; 8] = [
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num`
[INFO] [stdout]    --> src/main.rs:308:34
[INFO] [stdout]     |
[INFO] [stdout] 308 |                 .fold(1, |calc, (num, r)| calc * (r + 1));
[INFO] [stdout]     |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_num`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (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:793:14
[INFO] [stdout]     |
[INFO] [stdout] 793 | fn problem24(mut num: i32) {
[INFO] [stdout]     |              ----^^^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:825:9
[INFO] [stdout]     |
[INFO] [stdout] 825 |     let a = BigInt::from(1);
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `c1` is never read
[INFO] [stdout]    --> src/main.rs:906:23
[INFO] [stdout]     |
[INFO] [stdout] 906 |     let mut c1: u64 = 0;
[INFO] [stdout]     |                       ^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `c2` is never read
[INFO] [stdout]    --> src/main.rs:907:23
[INFO] [stdout]     |
[INFO] [stdout] 907 |     let mut c2: u64 = 0;
[INFO] [stdout]     |                       ^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `c3` is never read
[INFO] [stdout]    --> src/main.rs:908:23
[INFO] [stdout]     |
[INFO] [stdout] 908 |     let mut c3: u64 = 0;
[INFO] [stdout]     |                       ^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `c4` is never read
[INFO] [stdout]    --> src/main.rs:909:23
[INFO] [stdout]     |
[INFO] [stdout] 909 |     let mut c4: u64 = 0;
[INFO] [stdout]     |                       ^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:944:17
[INFO] [stdout]     |
[INFO] [stdout] 944 |             for i in 1..*nb {
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BUF_SIZE` is never used
[INFO] [stdout]    --> src/main.rs:714:7
[INFO] [stdout]     |
[INFO] [stdout] 714 | const BUF_SIZE: usize = 2048;
[INFO] [stdout]     |       ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/main.rs:488:11
[INFO] [stdout]     |
[INFO] [stdout] 488 |     while y >= 0 {
[INFO] [stdout]     |           ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/main.rs:490:15
[INFO] [stdout]     |
[INFO] [stdout] 490 |         while x >= 0 {
[INFO] [stdout]     |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `proper` should have an upper case name
[INFO] [stdout]  --> src/problem17.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 |     static ref proper:[usize; 20] = [
[INFO] [stdout]   |                ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]   |
[INFO] [stdout] 4 -     static ref proper:[usize; 20] = [
[INFO] [stdout] 4 +     static ref PROPER:[usize; 20] = [
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `tenth` should have an upper case name
[INFO] [stdout]   --> src/problem17.rs:28:16
[INFO] [stdout]    |
[INFO] [stdout] 28 |     static ref tenth: [usize; 8] = [
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 28 -     static ref tenth: [usize; 8] = [
[INFO] [stdout] 28 +     static ref TENTH: [usize; 8] = [
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.66s
[INFO] running `Command { std: "docker" "inspect" "94cb9428ae5c6cffc3d300baf2f62650528bad76cf5b4c657e0b1d749fc9d4e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "94cb9428ae5c6cffc3d300baf2f62650528bad76cf5b4c657e0b1d749fc9d4e3", kill_on_drop: false }`
[INFO] [stdout] 94cb9428ae5c6cffc3d300baf2f62650528bad76cf5b4c657e0b1d749fc9d4e3
