[INFO] cloning repository https://github.com/MatthewF19/elgmal_tcp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MatthewF19/elgmal_tcp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatthewF19%2Felgmal_tcp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatthewF19%2Felgmal_tcp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e719d28b028b3b2136a01090939158a6b1be96d0 [INFO] checking MatthewF19/elgmal_tcp against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatthewF19%2Felgmal_tcp" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MatthewF19/elgmal_tcp [INFO] finished tweaking git repo https://github.com/MatthewF19/elgmal_tcp [INFO] tweaked toml for git repo https://github.com/MatthewF19/elgmal_tcp written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MatthewF19/elgmal_tcp on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MatthewF19/elgmal_tcp 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ca8829df67b0607a0206abb18e9eef9e8c475598305969614f79f54fbb0bdb6 [INFO] running `Command { std: "docker" "start" "-a" "0ca8829df67b0607a0206abb18e9eef9e8c475598305969614f79f54fbb0bdb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ca8829df67b0607a0206abb18e9eef9e8c475598305969614f79f54fbb0bdb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ca8829df67b0607a0206abb18e9eef9e8c475598305969614f79f54fbb0bdb6", kill_on_drop: false }` [INFO] [stdout] 0ca8829df67b0607a0206abb18e9eef9e8c475598305969614f79f54fbb0bdb6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23ffcaa39eff0607a594f755a87e4bff9bb299f255ae47fcdf166576e2c37c81 [INFO] running `Command { std: "docker" "start" "-a" "23ffcaa39eff0607a594f755a87e4bff9bb299f255ae47fcdf166576e2c37c81", kill_on_drop: false }` [INFO] [stderr] Checking sqmul v0.0.1 (/opt/rustwide/workdir/lib) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> lib/lib.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn eea(mut r0: i32, mut r1: i32) -> (i32, i32, i32) { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> lib/lib.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn eea(mut r0: i32, mut r1: i32) -> (i32, i32, i32) { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> lib/lib.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut prev_prev_q = 0; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_prev_q` [INFO] [stdout] --> lib/lib.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut prev_prev_q = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_prev_q` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `r` is never read [INFO] [stdout] --> lib/lib.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let mut r = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `s` is never read [INFO] [stdout] --> lib/lib.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | let mut s = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `t` is never read [INFO] [stdout] --> lib/lib.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let mut t = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `prev_q` is never read [INFO] [stdout] --> lib/lib.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | let mut prev_q = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tcp_elgamal v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `gcd` [INFO] [stdout] --> src/main.rs:166:10 [INFO] [stdout] | [INFO] [stdout] 166 | let (gcd, s, t) = sqmul::eea(Km as i32, prime as i32); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_gcd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:166:18 [INFO] [stdout] | [INFO] [stdout] 166 | let (gcd, s, t) = sqmul::eea(Km as i32, prime as i32); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ke` should have a snake case name [INFO] [stdout] --> src/main.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let Ke = u8_vec_to_u32(buff.try_into().expect("ISSUE WITH KE")); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `ke` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Km` should have a snake case name [INFO] [stdout] --> src/main.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let Km = sqmul::square_mult(Ke, bin_d, prime); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `km` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ke` should have a snake case name [INFO] [stdout] --> src/main.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | let Ke = sqmul::square_mult(alpha, bin_i.clone(), prime); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `ke` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ke_bytes` should have a snake case name [INFO] [stdout] --> src/main.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let mut Ke_bytes = u32_to_u8_vec(Ke); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `ke_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Km` should have a snake case name [INFO] [stdout] --> src/main.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | let Km = sqmul::square_mult(beta, bin_i, prime); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `km` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Km_inv` should have a snake case name [INFO] [stdout] --> src/main.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | let Km_inv: u32 = ((s + prime as i32) % (prime as i32)).try_into().expect("HUH"); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `km_inv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gcd` [INFO] [stdout] --> src/main.rs:166:10 [INFO] [stdout] | [INFO] [stdout] 166 | let (gcd, s, t) = sqmul::eea(Km as i32, prime as i32); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_gcd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:166:18 [INFO] [stdout] | [INFO] [stdout] 166 | let (gcd, s, t) = sqmul::eea(Km as i32, prime as i32); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ke` should have a snake case name [INFO] [stdout] --> src/main.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let Ke = u8_vec_to_u32(buff.try_into().expect("ISSUE WITH KE")); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `ke` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Km` should have a snake case name [INFO] [stdout] --> src/main.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let Km = sqmul::square_mult(Ke, bin_d, prime); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `km` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ke` should have a snake case name [INFO] [stdout] --> src/main.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | let Ke = sqmul::square_mult(alpha, bin_i.clone(), prime); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `ke` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ke_bytes` should have a snake case name [INFO] [stdout] --> src/main.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let mut Ke_bytes = u32_to_u8_vec(Ke); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `ke_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Km` should have a snake case name [INFO] [stdout] --> src/main.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | let Km = sqmul::square_mult(beta, bin_i, prime); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `km` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Km_inv` should have a snake case name [INFO] [stdout] --> src/main.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | let Km_inv: u32 = ((s + prime as i32) % (prime as i32)).try_into().expect("HUH"); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `km_inv` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] running `Command { std: "docker" "inspect" "23ffcaa39eff0607a594f755a87e4bff9bb299f255ae47fcdf166576e2c37c81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23ffcaa39eff0607a594f755a87e4bff9bb299f255ae47fcdf166576e2c37c81", kill_on_drop: false }` [INFO] [stdout] 23ffcaa39eff0607a594f755a87e4bff9bb299f255ae47fcdf166576e2c37c81