[INFO] cloning repository https://github.com/RubenRuizT/CodeCompetionswithRust [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RubenRuizT/CodeCompetionswithRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRubenRuizT%2FCodeCompetionswithRust"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRubenRuizT%2FCodeCompetionswithRust'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 86c5e99bbec7d81c7463b3906de5b7a614a05912 [INFO] checking RubenRuizT/CodeCompetionswithRust against master#2748a9fd93dd1a00a4521f4f16de5befbf77f6cd for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRubenRuizT%2FCodeCompetionswithRust" "/workspace/builds/worker-11/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RubenRuizT/CodeCompetionswithRust on toolchain 2748a9fd93dd1a00a4521f4f16de5befbf77f6cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/RubenRuizT/CodeCompetionswithRust [INFO] finished tweaking git repo https://github.com/RubenRuizT/CodeCompetionswithRust [INFO] tweaked toml for git repo https://github.com/RubenRuizT/CodeCompetionswithRust written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/RubenRuizT/CodeCompetionswithRust already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "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] 43dd17f156d4f497be1c890dbd53d204dd2a0decb9b62090b5517334b6fc1f25 [INFO] running `"docker" "start" "-a" "43dd17f156d4f497be1c890dbd53d204dd2a0decb9b62090b5517334b6fc1f25"` [INFO] [stderr] Checking rust_compet v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/euler01to10.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | let mut result = (1..1000) [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `euler01` [INFO] [stderr] --> src/euler01to10.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | pub fn euler01(){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `max` should have an upper case name [INFO] [stderr] --> src/euler01to10.rs:15:11 [INFO] [stderr] | [INFO] [stderr] 15 | const max :u64 = 4000000; [INFO] [stderr] | ^^^ help: convert the identifier to upper case: `MAX` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/euler01to10.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | let mut result = (1..1000) [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `euler01` [INFO] [stderr] --> src/euler01to10.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | pub fn euler01(){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `max` should have an upper case name [INFO] [stderr] --> src/euler01to10.rs:15:11 [INFO] [stderr] | [INFO] [stderr] 15 | const max :u64 = 4000000; [INFO] [stderr] | ^^^ help: convert the identifier to upper case: `MAX` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.13s [INFO] running `"docker" "inspect" "43dd17f156d4f497be1c890dbd53d204dd2a0decb9b62090b5517334b6fc1f25"` [INFO] running `"docker" "rm" "-f" "43dd17f156d4f497be1c890dbd53d204dd2a0decb9b62090b5517334b6fc1f25"` [INFO] [stdout] 43dd17f156d4f497be1c890dbd53d204dd2a0decb9b62090b5517334b6fc1f25