[INFO] updating cached repository https://github.com/MuhammadHamzaFarooq/RustPrimeNumberLibrary [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3bbc8564053d6ea8db5f3502b53f07436d64cba4 [INFO] checking MuhammadHamzaFarooq/RustPrimeNumberLibrary against master#1557fb031b272b4c5bfcc7de5df7eddc7b36a584 for pr-73166 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMuhammadHamzaFarooq%2FRustPrimeNumberLibrary" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 64% (369/576) Checking out files: 65% (375/576) Checking out files: 66% (381/576) Checking out files: 67% (386/576) Checking out files: 68% (392/576) Checking out files: 69% (398/576) Checking out files: 70% (404/576) Checking out files: 71% (409/576) Checking out files: 72% (415/576) Checking out files: 73% (421/576) Checking out files: 74% (427/576) Checking out files: 75% (432/576) Checking out files: 76% (438/576) Checking out files: 77% (444/576) Checking out files: 78% (450/576) Checking out files: 79% (456/576) Checking out files: 80% (461/576) Checking out files: 81% (467/576) Checking out files: 82% (473/576) Checking out files: 83% (479/576) Checking out files: 84% (484/576) Checking out files: 85% (490/576) Checking out files: 86% (496/576) Checking out files: 87% (502/576) Checking out files: 88% (507/576) Checking out files: 89% (513/576) Checking out files: 90% (519/576) Checking out files: 91% (525/576) Checking out files: 92% (530/576) Checking out files: 93% (536/576) Checking out files: 94% (542/576) Checking out files: 95% (548/576) Checking out files: 96% (553/576) Checking out files: 97% (559/576) Checking out files: 98% (565/576) Checking out files: 99% (571/576) Checking out files: 100% (576/576) Checking out files: 100% (576/576), done. [INFO] validating manifest of git repo https://github.com/MuhammadHamzaFarooq/RustPrimeNumberLibrary on toolchain 1557fb031b272b4c5bfcc7de5df7eddc7b36a584 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "read-manifest" "--manifest-path" "Cargo.toml", 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-2/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" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7040087c4525467ce5691004187a6629d5d4c77012a37d9868653c8bc533f2a0 [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" "7040087c4525467ce5691004187a6629d5d4c77012a37d9868653c8bc533f2a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7040087c4525467ce5691004187a6629d5d4c77012a37d9868653c8bc533f2a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7040087c4525467ce5691004187a6629d5d4c77012a37d9868653c8bc533f2a0", kill_on_drop: false }` [INFO] [stdout] 7040087c4525467ce5691004187a6629d5d4c77012a37d9868653c8bc533f2a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22e34063d8fcb6288fb2504909128724d9eaae3a6a1568735c346fcfb576f96c [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" "22e34063d8fcb6288fb2504909128724d9eaae3a6a1568735c346fcfb576f96c", 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: 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: 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: 1 warning 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.42s [INFO] running `Command { std: "docker" "inspect" "22e34063d8fcb6288fb2504909128724d9eaae3a6a1568735c346fcfb576f96c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22e34063d8fcb6288fb2504909128724d9eaae3a6a1568735c346fcfb576f96c", kill_on_drop: false }` [INFO] [stdout] 22e34063d8fcb6288fb2504909128724d9eaae3a6a1568735c346fcfb576f96c