[INFO] cloning repository https://github.com/rathikm/SDES [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rathikm/SDES" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frathikm%2FSDES", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frathikm%2FSDES'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 85b975626f315b7ae92d58e43ec7b23d3285aa49 [INFO] checking rathikm/SDES against try#5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frathikm%2FSDES" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rathikm/SDES [INFO] finished tweaking git repo https://github.com/rathikm/SDES [INFO] tweaked toml for git repo https://github.com/rathikm/SDES written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rathikm/SDES on toolchain 5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rathikm/SDES 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" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 049a57f90bdde7d215c537f240cd7ae00835d9268b5c2c4a3757d426679605a1 [INFO] running `Command { std: "docker" "start" "-a" "049a57f90bdde7d215c537f240cd7ae00835d9268b5c2c4a3757d426679605a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "049a57f90bdde7d215c537f240cd7ae00835d9268b5c2c4a3757d426679605a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "049a57f90bdde7d215c537f240cd7ae00835d9268b5c2c4a3757d426679605a1", kill_on_drop: false }` [INFO] [stdout] 049a57f90bdde7d215c537f240cd7ae00835d9268b5c2c4a3757d426679605a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 809d7eddcadd333aed8ea1aed2ef47997729e7d62a627e06d141b8de5bed1844 [INFO] running `Command { std: "docker" "start" "-a" "809d7eddcadd333aed8ea1aed2ef47997729e7d62a627e06d141b8de5bed1844", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking array2d v0.3.2 [INFO] [stderr] Checking combinatorial v0.2.0 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rust_des v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `p_10_to_8` and `p_x` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use sdes::{p_10_to_8, p_x}; [INFO] [stdout] | ^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sdes::s_boxes` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::sdes::s_boxes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sdes::permute_plaintext` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::sdes::permute_plaintext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sdes::sp_comb` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::sdes::sp_comb; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sdes::split_expand` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::sdes::split_expand; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sdes::keys` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::sdes::keys; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sdes::xor` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::sdes::xor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/sdes.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | if (count > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 31 - if (count > 0) { [INFO] [stdout] 31 + if count > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/sdes.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | if (count > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 59 - if (count > 0) { [INFO] [stdout] 59 + if count > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/sdes.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 87 | if (count > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 87 - if (count > 0) { [INFO] [stdout] 87 + if count > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/sdes.rs:202:24 [INFO] [stdout] | [INFO] [stdout] 202 | if (count > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 202 - if (count > 0) { [INFO] [stdout] 202 + if count > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/sdes.rs:438:12 [INFO] [stdout] | [INFO] [stdout] 438 | if (count > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 438 - if (count > 0) { [INFO] [stdout] 438 + if count > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/sdes.rs:473:12 [INFO] [stdout] | [INFO] [stdout] 473 | if (c > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 473 - if (c > 0) { [INFO] [stdout] 473 + if c > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `p_10_to_8` and `p_x` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use sdes::{p_10_to_8, p_x}; [INFO] [stdout] | ^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sdes::s_boxes` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::sdes::s_boxes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sdes::permute_plaintext` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::sdes::permute_plaintext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sdes::sp_comb` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::sdes::sp_comb; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sdes::split_expand` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::sdes::split_expand; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sdes::keys` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::sdes::keys; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sdes::xor` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::sdes::xor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/sdes.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | if (count > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 31 - if (count > 0) { [INFO] [stdout] 31 + if count > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/sdes.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | if (count > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 59 - if (count > 0) { [INFO] [stdout] 59 + if count > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/sdes.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 87 | if (count > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 87 - if (count > 0) { [INFO] [stdout] 87 + if count > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/sdes.rs:202:24 [INFO] [stdout] | [INFO] [stdout] 202 | if (count > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 202 - if (count > 0) { [INFO] [stdout] 202 + if count > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/sdes.rs:438:12 [INFO] [stdout] | [INFO] [stdout] 438 | if (count > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 438 - if (count > 0) { [INFO] [stdout] 438 + if count > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/sdes.rs:473:12 [INFO] [stdout] | [INFO] [stdout] 473 | if (c > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 473 - if (c > 0) { [INFO] [stdout] 473 + if c > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/sdes.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key1` [INFO] [stdout] --> src/sdes.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | let key1 = 0; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_key1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key2` [INFO] [stdout] --> src/sdes.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | let key2 = 0; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_key2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `com` is never read [INFO] [stdout] --> src/sdes.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | let mut com: Vec = Vec::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/sdes.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/sdes.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | Err(err) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/sdes.rs:319:13 [INFO] [stdout] | [INFO] [stdout] 319 | Err(err) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/sdes.rs:325:13 [INFO] [stdout] | [INFO] [stdout] 325 | Err(err) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/sdes.rs:345:13 [INFO] [stdout] | [INFO] [stdout] 345 | Err(err) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/sdes.rs:351:13 [INFO] [stdout] | [INFO] [stdout] 351 | Err(err) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip` [INFO] [stdout] --> src/sdes.rs:369:9 [INFO] [stdout] | [INFO] [stdout] 369 | let ip = u8_to_binary_string(scrambled.0); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v1` [INFO] [stdout] --> src/sdes.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 371 | let v1 = expanded.1; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v2` [INFO] [stdout] --> src/sdes.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | let v2 = expanded.2; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/sdes.rs:380:13 [INFO] [stdout] | [INFO] [stdout] 380 | Err(err) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `c1` is assigned to, but never used [INFO] [stdout] --> src/sdes.rs:390:13 [INFO] [stdout] | [INFO] [stdout] 390 | let mut c1 = 0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_c1` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `c1` is never read [INFO] [stdout] --> src/sdes.rs:393:13 [INFO] [stdout] | [INFO] [stdout] 393 | c1 = combined1_res; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/sdes.rs:395:13 [INFO] [stdout] | [INFO] [stdout] 395 | Err(err) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/sdes.rs:417:13 [INFO] [stdout] | [INFO] [stdout] 417 | Err(err) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/sdes.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | Err(err) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `final_comb` [INFO] [stdout] --> src/sdes.rs:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | let final_comb = format!("{:0>10}", new_str); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_comb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/sdes.rs:461:13 [INFO] [stdout] | [INFO] [stdout] 461 | Err(err) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_text` [INFO] [stdout] --> src/sdes.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | pub fn sdes(key: u16, p_text: u8) -> u8 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_p_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sdes.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 400 | let mut v1: Vec = vec![]; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sdes.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | let mut v2: Vec = vec![]; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `u4_to_binary_string` is never used [INFO] [stdout] --> src/sdes.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn u4_to_binary_string(value: u8) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `n_sp_comb` is never used [INFO] [stdout] --> src/sdes.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn n_sp_comb(key: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_bit_u8` is never used [INFO] [stdout] --> src/sdes.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn get_bit_u8(num: u8, pos: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused bitwise operation that must be used [INFO] [stdout] --> src/sdes.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | (num >> pos) & 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the bitwise operation produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 168 | let _ = (num >> pos) & 1; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/sdes.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key1` [INFO] [stdout] --> src/sdes.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | let key1 = 0; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_key1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key2` [INFO] [stdout] --> src/sdes.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | let key2 = 0; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_key2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `com` is never read [INFO] [stdout] --> src/sdes.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | let mut com: Vec = Vec::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/sdes.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/sdes.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | Err(err) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/sdes.rs:319:13 [INFO] [stdout] | [INFO] [stdout] 319 | Err(err) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/sdes.rs:325:13 [INFO] [stdout] | [INFO] [stdout] 325 | Err(err) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/sdes.rs:345:13 [INFO] [stdout] | [INFO] [stdout] 345 | Err(err) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/sdes.rs:351:13 [INFO] [stdout] | [INFO] [stdout] 351 | Err(err) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip` [INFO] [stdout] --> src/sdes.rs:369:9 [INFO] [stdout] | [INFO] [stdout] 369 | let ip = u8_to_binary_string(scrambled.0); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v1` [INFO] [stdout] --> src/sdes.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 371 | let v1 = expanded.1; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v2` [INFO] [stdout] --> src/sdes.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | let v2 = expanded.2; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/sdes.rs:380:13 [INFO] [stdout] | [INFO] [stdout] 380 | Err(err) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `c1` is assigned to, but never used [INFO] [stdout] --> src/sdes.rs:390:13 [INFO] [stdout] | [INFO] [stdout] 390 | let mut c1 = 0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_c1` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `c1` is never read [INFO] [stdout] --> src/sdes.rs:393:13 [INFO] [stdout] | [INFO] [stdout] 393 | c1 = combined1_res; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/sdes.rs:395:13 [INFO] [stdout] | [INFO] [stdout] 395 | Err(err) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/sdes.rs:417:13 [INFO] [stdout] | [INFO] [stdout] 417 | Err(err) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/sdes.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | Err(err) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `final_comb` [INFO] [stdout] --> src/sdes.rs:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | let final_comb = format!("{:0>10}", new_str); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_comb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/sdes.rs:461:13 [INFO] [stdout] | [INFO] [stdout] 461 | Err(err) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_text` [INFO] [stdout] --> src/sdes.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | pub fn sdes(key: u16, p_text: u8) -> u8 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_p_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sdes.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 400 | let mut v1: Vec = vec![]; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sdes.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | let mut v2: Vec = vec![]; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `u4_to_binary_string` is never used [INFO] [stdout] --> src/sdes.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn u4_to_binary_string(value: u8) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `n_sp_comb` is never used [INFO] [stdout] --> src/sdes.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn n_sp_comb(key: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_bit_u8` is never used [INFO] [stdout] --> src/sdes.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn get_bit_u8(num: u8, pos: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused bitwise operation that must be used [INFO] [stdout] --> src/sdes.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | (num >> pos) & 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the bitwise operation produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 168 | let _ = (num >> pos) & 1; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.95s [INFO] running `Command { std: "docker" "inspect" "809d7eddcadd333aed8ea1aed2ef47997729e7d62a627e06d141b8de5bed1844", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "809d7eddcadd333aed8ea1aed2ef47997729e7d62a627e06d141b8de5bed1844", kill_on_drop: false }` [INFO] [stdout] 809d7eddcadd333aed8ea1aed2ef47997729e7d62a627e06d141b8de5bed1844