[INFO] cloning repository https://github.com/reu24/RSA
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/reu24/RSA" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freu24%2FRSA", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freu24%2FRSA'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2cceecffc05f84c23f5c4c2bde79b810dce622e3
[INFO] checking reu24/RSA against e4d5758286bf2cf6f415802f2cf861747a7c6c8c for pr-152972
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freu24%2FRSA" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/reu24/RSA
[INFO] finished tweaking git repo https://github.com/reu24/RSA
[INFO] tweaked toml for git repo https://github.com/reu24/RSA written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/reu24/RSA on toolchain e4d5758286bf2cf6f415802f2cf861747a7c6c8c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e4d5758286bf2cf6f415802f2cf861747a7c6c8c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/reu24/RSA already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e4d5758286bf2cf6f415802f2cf861747a7c6c8c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded getrandom v0.3.3
[INFO] [stderr]   Downloaded bitflags v2.9.1
[INFO] [stderr]   Downloaded proc-macro2 v1.0.95
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.25
[INFO] [stderr]   Downloaded zerocopy v0.8.25
[INFO] [stderr]   Downloaded syn v2.0.101
[INFO] [stderr]   Downloaded libc v0.2.172
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 000f1f321c01c30fb169d78dc20012b691770a21a98b044076cd7a6e500cf5db
[INFO] running `Command { std: "docker" "start" "000f1f321c01c30fb169d78dc20012b691770a21a98b044076cd7a6e500cf5db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "000f1f321c01c30fb169d78dc20012b691770a21a98b044076cd7a6e500cf5db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "000f1f321c01c30fb169d78dc20012b691770a21a98b044076cd7a6e500cf5db" "/opt/rustwide/cargo-home/bin/cargo" "+e4d5758286bf2cf6f415802f2cf861747a7c6c8c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "000f1f321c01c30fb169d78dc20012b691770a21a98b044076cd7a6e500cf5db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "000f1f321c01c30fb169d78dc20012b691770a21a98b044076cd7a6e500cf5db" "/opt/rustwide/cargo-home/bin/cargo" "+e4d5758286bf2cf6f415802f2cf861747a7c6c8c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling zerocopy v0.8.25
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.1
[INFO] [stderr]     Checking RSA v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 |         if (command == "keygen") {
[INFO] [stdout]    |            ^                   ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 17 -         if (command == "keygen") {
[INFO] [stdout] 17 +         if command == "keygen" {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 20 |         else if (command == "encode") {
[INFO] [stdout]    |                 ^                   ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 20 -         else if (command == "encode") {
[INFO] [stdout] 20 +         else if command == "encode" {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 |         else if (command == "decode") {
[INFO] [stdout]    |                 ^                   ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 23 -         else if (command == "decode") {
[INFO] [stdout] 23 +         else if command == "decode" {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 |     if (n < 2) {
[INFO] [stdout]    |        ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 43 -     if (n < 2) {
[INFO] [stdout] 43 +     if n < 2 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 48 |         if (n % x == 0) {
[INFO] [stdout]    |            ^          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 48 -         if (n % x == 0) {
[INFO] [stdout] 48 +         if n % x == 0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]   --> src/main.rs:63:11
[INFO] [stdout]    |
[INFO] [stdout] 63 |     while (number < MIN_PRIME || !is_prime(number as i32)) {
[INFO] [stdout]    |           ^                                              ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 63 -     while (number < MIN_PRIME || !is_prime(number as i32)) {
[INFO] [stdout] 63 +     while number < MIN_PRIME || !is_prime(number as i32) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 72 |     if (first_number > second_number) {
[INFO] [stdout]    |        ^                            ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 72 -     if (first_number > second_number) {
[INFO] [stdout] 72 +     if first_number > second_number {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:81:8
[INFO] [stdout]    |
[INFO] [stdout] 81 |     if (b == 0) {
[INFO] [stdout]    |        ^      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 81 -     if (b == 0) {
[INFO] [stdout] 81 +     if b == 0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]   --> src/main.rs:94:11
[INFO] [stdout]    |
[INFO] [stdout] 94 |     while (result > MIN_LENGTH || !is_coprime(result, number)) {
[INFO] [stdout]    |           ^                                                  ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 94 -     while (result > MIN_LENGTH || !is_coprime(result, number)) {
[INFO] [stdout] 94 +     while result > MIN_LENGTH || !is_coprime(result, number) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:102:12
[INFO] [stdout]     |
[INFO] [stdout] 102 |         if (((a % m) as i64 * ((x % m) as i64)) % m as i64 == 1) {
[INFO] [stdout]     |            ^                                                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 102 -         if (((a % m) as i64 * ((x % m) as i64)) % m as i64 == 1) {
[INFO] [stdout] 102 +         if ((a % m) as i64 * ((x % m) as i64)) % m as i64 == 1 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:140:12
[INFO] [stdout]     |
[INFO] [stdout] 140 |         if (!first) {
[INFO] [stdout]     |            ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 140 -         if (!first) {
[INFO] [stdout] 140 +         if !first {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:154:16
[INFO] [stdout]     |
[INFO] [stdout] 154 |             if (!number.is_empty()) {
[INFO] [stdout]     |                ^                  ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 154 -             if (!number.is_empty()) {
[INFO] [stdout] 154 +             if !number.is_empty() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 |         if (command == "keygen") {
[INFO] [stdout]    |            ^                   ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 17 -         if (command == "keygen") {
[INFO] [stdout] 17 +         if command == "keygen" {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 20 |         else if (command == "encode") {
[INFO] [stdout]    |                 ^                   ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 20 -         else if (command == "encode") {
[INFO] [stdout] 20 +         else if command == "encode" {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 |         else if (command == "decode") {
[INFO] [stdout]    |                 ^                   ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 23 -         else if (command == "decode") {
[INFO] [stdout] 23 +         else if command == "decode" {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 |     if (n < 2) {
[INFO] [stdout]    |        ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 43 -     if (n < 2) {
[INFO] [stdout] 43 +     if n < 2 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 48 |         if (n % x == 0) {
[INFO] [stdout]    |            ^          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 48 -         if (n % x == 0) {
[INFO] [stdout] 48 +         if n % x == 0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]   --> src/main.rs:63:11
[INFO] [stdout]    |
[INFO] [stdout] 63 |     while (number < MIN_PRIME || !is_prime(number as i32)) {
[INFO] [stdout]    |           ^                                              ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 63 -     while (number < MIN_PRIME || !is_prime(number as i32)) {
[INFO] [stdout] 63 +     while number < MIN_PRIME || !is_prime(number as i32) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 72 |     if (first_number > second_number) {
[INFO] [stdout]    |        ^                            ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 72 -     if (first_number > second_number) {
[INFO] [stdout] 72 +     if first_number > second_number {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:81:8
[INFO] [stdout]    |
[INFO] [stdout] 81 |     if (b == 0) {
[INFO] [stdout]    |        ^      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 81 -     if (b == 0) {
[INFO] [stdout] 81 +     if b == 0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]   --> src/main.rs:94:11
[INFO] [stdout]    |
[INFO] [stdout] 94 |     while (result > MIN_LENGTH || !is_coprime(result, number)) {
[INFO] [stdout]    |           ^                                                  ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 94 -     while (result > MIN_LENGTH || !is_coprime(result, number)) {
[INFO] [stdout] 94 +     while result > MIN_LENGTH || !is_coprime(result, number) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:102:12
[INFO] [stdout]     |
[INFO] [stdout] 102 |         if (((a % m) as i64 * ((x % m) as i64)) % m as i64 == 1) {
[INFO] [stdout]     |            ^                                                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 102 -         if (((a % m) as i64 * ((x % m) as i64)) % m as i64 == 1) {
[INFO] [stdout] 102 +         if ((a % m) as i64 * ((x % m) as i64)) % m as i64 == 1 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:140:12
[INFO] [stdout]     |
[INFO] [stdout] 140 |         if (!first) {
[INFO] [stdout]     |            ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 140 -         if (!first) {
[INFO] [stdout] 140 +         if !first {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:154:16
[INFO] [stdout]     |
[INFO] [stdout] 154 |             if (!number.is_empty()) {
[INFO] [stdout]     |                ^                  ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 154 -             if (!number.is_empty()) {
[INFO] [stdout] 154 +             if !number.is_empty() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.73s
[INFO] running `Command { std: "docker" "inspect" "000f1f321c01c30fb169d78dc20012b691770a21a98b044076cd7a6e500cf5db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "000f1f321c01c30fb169d78dc20012b691770a21a98b044076cd7a6e500cf5db", kill_on_drop: false }`
[INFO] [stdout] 000f1f321c01c30fb169d78dc20012b691770a21a98b044076cd7a6e500cf5db
