[INFO] cloning repository https://github.com/LJBD/rust-codewars [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LJBD/rust-codewars" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLJBD%2Frust-codewars"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLJBD%2Frust-codewars'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 603abf67dda2157fbc5aeb335a00d4bc3443b981 [INFO] checking LJBD/rust-codewars against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLJBD%2Frust-codewars" "/workspace/builds/worker-12/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LJBD/rust-codewars on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/LJBD/rust-codewars [INFO] finished tweaking git repo https://github.com/LJBD/rust-codewars [INFO] tweaked toml for git repo https://github.com/LJBD/rust-codewars written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/LJBD/rust-codewars already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2b94555d306595034d34fe404b6ef7d7d34c94963147bc086551e8bbff684964 [INFO] running `"docker" "start" "-a" "2b94555d306595034d34fe404b6ef7d7d34c94963147bc086551e8bbff684964"` [INFO] [stderr] Checking rust-codewars v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/kyu5/k_primes.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | (2..=(n as f32).sqrt().floor() as i32) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/kyu6/tribonacci.rs:22:289 [INFO] [stderr] | [INFO] [stderr] 22 | assert_eq!(tribonacci(&[0.5, 0.5, 0.5], 30), vec![0.5, 0.5, 0.5, 1.5, 2.5, 4.5, 8.5, 15.5, 28.5, 52.5, 96.5, 177.5, 326.5, 600.5, 1104.5, 2031.5, 3736.5, 6872.5, 12640.5, 23249.5, 42762.5, 78652.5, 144664.5, 266079.5, 489396.5, 900140.5, 1655616.5, 3045153.5, 5600910.5, 10301680.5]);; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/kyu5/k_primes.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | (2..=(n as f32).sqrt().floor() as i32) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `i32` is invalid [INFO] [stderr] --> src/kyu5/k_primes.rs:41:10 [INFO] [stderr] | [INFO] [stderr] 41 | (2..=(n as f32).sqrt().floor() as i32) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i64` is invalid [INFO] [stderr] --> src/kyu4/square_into_squares.rs:8:17 [INFO] [stderr] | [INFO] [stderr] 8 | i = min((total as f64).sqrt().floor() as i64, i); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: could not compile `rust-codewars`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0606]: casting `f32` as `i32` is invalid [INFO] [stderr] --> src/kyu5/k_primes.rs:41:10 [INFO] [stderr] | [INFO] [stderr] 41 | (2..=(n as f32).sqrt().floor() as i32) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i64` is invalid [INFO] [stderr] --> src/kyu4/square_into_squares.rs:8:17 [INFO] [stderr] | [INFO] [stderr] 8 | i = min((total as f64).sqrt().floor() as i64, i); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: could not compile `rust-codewars`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "2b94555d306595034d34fe404b6ef7d7d34c94963147bc086551e8bbff684964"` [INFO] running `"docker" "rm" "-f" "2b94555d306595034d34fe404b6ef7d7d34c94963147bc086551e8bbff684964"` [INFO] [stdout] 2b94555d306595034d34fe404b6ef7d7d34c94963147bc086551e8bbff684964