[INFO] cloning repository https://github.com/MuhammadHamzaFarooq/RustPrimeNumberLibrary [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MuhammadHamzaFarooq/RustPrimeNumberLibrary" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMuhammadHamzaFarooq%2FRustPrimeNumberLibrary", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMuhammadHamzaFarooq%2FRustPrimeNumberLibrary'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c2f8dd939cb4afce2532edb1feb388f548969c4a [INFO] checking MuhammadHamzaFarooq/RustPrimeNumberLibrary against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMuhammadHamzaFarooq%2FRustPrimeNumberLibrary" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MuhammadHamzaFarooq/RustPrimeNumberLibrary on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MuhammadHamzaFarooq/RustPrimeNumberLibrary [INFO] finished tweaking git repo https://github.com/MuhammadHamzaFarooq/RustPrimeNumberLibrary [INFO] tweaked toml for git repo https://github.com/MuhammadHamzaFarooq/RustPrimeNumberLibrary written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/MuhammadHamzaFarooq/RustPrimeNumberLibrary already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 965afdc087f1143657d69a101b20193500edd893e576ed85f354f35d074df120 [INFO] running `Command { std: "docker" "start" "-a" "965afdc087f1143657d69a101b20193500edd893e576ed85f354f35d074df120", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "965afdc087f1143657d69a101b20193500edd893e576ed85f354f35d074df120", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "965afdc087f1143657d69a101b20193500edd893e576ed85f354f35d074df120", kill_on_drop: false }` [INFO] [stdout] 965afdc087f1143657d69a101b20193500edd893e576ed85f354f35d074df120 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d9ba52dfccc633102313c05ee8ceb66326f709954bf7d8859a80c0a2e56f143 [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" "7d9ba52dfccc633102313c05ee8ceb66326f709954bf7d8859a80c0a2e56f143", kill_on_drop: false }` [INFO] [stderr] Checking RustPrimeNumberLibrary v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | if(j< num){ // check j is less user input value [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | if(result==0){ //checks reminder is equal to zero [INFO] [stdout] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | if(j< num){ // check j is less user input value [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | if(result==0){ //checks reminder is equal to zero [INFO] [stdout] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `RustPrimeNumberLibrary` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `rust_prime_number_library` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Prime_Number_Checker` should have a snake case name [INFO] [stdout] --> src/lib.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod Prime_Number_Checker{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `prime_number_checker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `IS_prime_OR_notPrime` should have a snake case name [INFO] [stdout] --> src/lib.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn IS_prime_OR_notPrime(num : u32){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_prime_or_not_prime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `RustPrimeNumberLibrary` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `rust_prime_number_library` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Prime_Number_Checker` should have a snake case name [INFO] [stdout] --> src/lib.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod Prime_Number_Checker{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `prime_number_checker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `IS_prime_OR_notPrime` should have a snake case name [INFO] [stdout] --> src/lib.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn IS_prime_OR_notPrime(num : u32){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_prime_or_not_prime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `RustPrimeNumberLibrary` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `rust_prime_number_library` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `RustPrimeNumberLibrary` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `rust_prime_number_library` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.57s [INFO] running `Command { std: "docker" "inspect" "7d9ba52dfccc633102313c05ee8ceb66326f709954bf7d8859a80c0a2e56f143", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d9ba52dfccc633102313c05ee8ceb66326f709954bf7d8859a80c0a2e56f143", kill_on_drop: false }` [INFO] [stdout] 7d9ba52dfccc633102313c05ee8ceb66326f709954bf7d8859a80c0a2e56f143