[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] 7e19ed42d514c8c0587d7b7e2f8c33f81e5fd918 [INFO] checking nao-kobayashi/PrjEuler against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnao-kobayashi%2FPrjEuler" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nao-kobayashi/PrjEuler on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-10/source/Cargo.toml [INFO] crate git repo https://github.com/nao-kobayashi/PrjEuler already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8005af314682e891cd9881b0d3bc39662cf48ca2e04a3c420bc3cef750ba56b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f8005af314682e891cd9881b0d3bc39662cf48ca2e04a3c420bc3cef750ba56b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8005af314682e891cd9881b0d3bc39662cf48ca2e04a3c420bc3cef750ba56b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8005af314682e891cd9881b0d3bc39662cf48ca2e04a3c420bc3cef750ba56b", kill_on_drop: false }` [INFO] [stdout] f8005af314682e891cd9881b0d3bc39662cf48ca2e04a3c420bc3cef750ba56b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 170d2aa219e940d31be21ddaa20c141f014cc7a54ac684688cb42e8ce7b76129 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "170d2aa219e940d31be21ddaa20c141f014cc7a54ac684688cb42e8ce7b76129", kill_on_drop: false }` [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking num-integer v0.1.39 [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: value assigned to `r` is never read [INFO] [stdout] --> src/main.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | let mut r = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [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: 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:9 [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:9 [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:9 [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:9 [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)]` 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: constant is never used: `BUF_SIZE` [INFO] [stdout] --> src/main.rs:714:1 [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] | ^^^^^^ help: convert the identifier to upper case: `PROPER` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` 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] | ^^^^^ help: convert the identifier to upper case: `TENTH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `r` is never read [INFO] [stdout] --> src/main.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | let mut r = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [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: 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:9 [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:9 [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:9 [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:9 [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)]` 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: constant is never used: `BUF_SIZE` [INFO] [stdout] --> src/main.rs:714:1 [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] | ^^^^^^ help: convert the identifier to upper case: `PROPER` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` 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] | ^^^^^ help: convert the identifier to upper case: `TENTH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.52s [INFO] running `Command { std: "docker" "inspect" "170d2aa219e940d31be21ddaa20c141f014cc7a54ac684688cb42e8ce7b76129", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "170d2aa219e940d31be21ddaa20c141f014cc7a54ac684688cb42e8ce7b76129", kill_on_drop: false }` [INFO] [stdout] 170d2aa219e940d31be21ddaa20c141f014cc7a54ac684688cb42e8ce7b76129