[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#8ac1525e091d3db28e67adcbbd6db1e1deaa37fb for pr-73323 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMuhammadHamzaFarooq%2FRustPrimeNumberLibrary" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/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 8ac1525e091d3db28e67adcbbd6db1e1deaa37fb [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ac1525e091d3db28e67adcbbd6db1e1deaa37fb" "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-1/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" "+8ac1525e091d3db28e67adcbbd6db1e1deaa37fb" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+8ac1525e091d3db28e67adcbbd6db1e1deaa37fb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4bb4d2bdca1d046431694cc738cd0b5f7fece1d205a1c67810f6e145a16fd5b [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" "f4bb4d2bdca1d046431694cc738cd0b5f7fece1d205a1c67810f6e145a16fd5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4bb4d2bdca1d046431694cc738cd0b5f7fece1d205a1c67810f6e145a16fd5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4bb4d2bdca1d046431694cc738cd0b5f7fece1d205a1c67810f6e145a16fd5b", kill_on_drop: false }` [INFO] [stdout] f4bb4d2bdca1d046431694cc738cd0b5f7fece1d205a1c67810f6e145a16fd5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+8ac1525e091d3db28e67adcbbd6db1e1deaa37fb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cc977b4205418b0757ff2b16ed6ab4beb9991a19c8b924493a35f0706c78aeb [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" "7cc977b4205418b0757ff2b16ed6ab4beb9991a19c8b924493a35f0706c78aeb", 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.37s [INFO] running `Command { std: "docker" "inspect" "7cc977b4205418b0757ff2b16ed6ab4beb9991a19c8b924493a35f0706c78aeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cc977b4205418b0757ff2b16ed6ab4beb9991a19c8b924493a35f0706c78aeb", kill_on_drop: false }` [INFO] [stdout] 7cc977b4205418b0757ff2b16ed6ab4beb9991a19c8b924493a35f0706c78aeb