[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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnao-kobayashi%2FPrjEuler: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [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#b56aaec52bc0fa35591a872fb4aac81f606e265c for pr-122661-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnao-kobayashi%2FPrjEuler" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nao-kobayashi/PrjEuler on toolchain b56aaec52bc0fa35591a872fb4aac81f606e265c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "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" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4323dcf95e864403209f99f2092322c516606c91b7cbcccfa7e7d602dd5fea49 [INFO] running `Command { std: "docker" "start" "-a" "4323dcf95e864403209f99f2092322c516606c91b7cbcccfa7e7d602dd5fea49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4323dcf95e864403209f99f2092322c516606c91b7cbcccfa7e7d602dd5fea49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4323dcf95e864403209f99f2092322c516606c91b7cbcccfa7e7d602dd5fea49", kill_on_drop: false }` [INFO] [stdout] 4323dcf95e864403209f99f2092322c516606c91b7cbcccfa7e7d602dd5fea49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 000f0c646529f6a04ce5c9148a44ade4b155b953488e812c978bbb94df6d0f3c [INFO] running `Command { std: "docker" "start" "-a" "000f0c646529f6a04ce5c9148a44ade4b155b953488e812c978bbb94df6d0f3c", 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 lazy_static v1.2.0 [INFO] [stderr] Checking fnv v1.0.6 [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)]` 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `r` is never read [INFO] [stdout] --> src/main.rs:278:13 [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)]` 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `r` is never read [INFO] [stdout] --> src/main.rs:278:13 [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)]` 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)]` 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:13 [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:13 [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:13 [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:13 [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)]` 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)]` 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] [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:13 [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:13 [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:13 [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:13 [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)]` 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)]` 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.68s [INFO] running `Command { std: "docker" "inspect" "000f0c646529f6a04ce5c9148a44ade4b155b953488e812c978bbb94df6d0f3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "000f0c646529f6a04ce5c9148a44ade4b155b953488e812c978bbb94df6d0f3c", kill_on_drop: false }` [INFO] [stdout] 000f0c646529f6a04ce5c9148a44ade4b155b953488e812c978bbb94df6d0f3c