[INFO] fetching crate bitcoin-aes 0.1.16-alpha.0... [INFO] checking bitcoin-aes-0.1.16-alpha.0 against try#cc4c4328b2b4da72bc61f8f5984292dd73740b5e for pr-112842 [INFO] extracting crate bitcoin-aes 0.1.16-alpha.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate bitcoin-aes 0.1.16-alpha.0 on toolchain cc4c4328b2b4da72bc61f8f5984292dd73740b5e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cc4c4328b2b4da72bc61f8f5984292dd73740b5e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bitcoin-aes 0.1.16-alpha.0 [INFO] finished tweaking crates.io crate bitcoin-aes 0.1.16-alpha.0 [INFO] tweaked toml for crates.io crate bitcoin-aes 0.1.16-alpha.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cc4c4328b2b4da72bc61f8f5984292dd73740b5e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cc4c4328b2b4da72bc61f8f5984292dd73740b5e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+cc4c4328b2b4da72bc61f8f5984292dd73740b5e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 500cec3b027d3facd4c256ace9445db40aca9a2d065a0662fd093dd0bf0275bb [INFO] running `Command { std: "docker" "start" "-a" "500cec3b027d3facd4c256ace9445db40aca9a2d065a0662fd093dd0bf0275bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "500cec3b027d3facd4c256ace9445db40aca9a2d065a0662fd093dd0bf0275bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "500cec3b027d3facd4c256ace9445db40aca9a2d065a0662fd093dd0bf0275bb", kill_on_drop: false }` [INFO] [stdout] 500cec3b027d3facd4c256ace9445db40aca9a2d065a0662fd093dd0bf0275bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+cc4c4328b2b4da72bc61f8f5984292dd73740b5e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02a330d0371123bcff86e4e76fb8aa9bcdc4a26ea637f7ab2dabf5f7cd6ae310 [INFO] running `Command { std: "docker" "start" "-a" "02a330d0371123bcff86e4e76fb8aa9bcdc4a26ea637f7ab2dabf5f7cd6ae310", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.7.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling gimli v0.27.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling object v0.30.4 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling serde_json v1.0.97 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling regex v1.8.4 [INFO] [stderr] Compiling addr2line v0.19.0 [INFO] [stderr] Compiling term-painter v0.2.4 [INFO] [stderr] Compiling cpp_common v0.5.8 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling shell-words v0.1.0 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling sqlite3-src v0.2.12 [INFO] [stderr] Compiling os_str_bytes v6.5.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling cpp_build v0.5.8 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling which v4.4.0 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling qttypes v0.2.9 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling cpp_macros v0.5.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling qmetaobject v0.2.9 [INFO] [stderr] Compiling priority-queue v1.3.2 [INFO] [stderr] Compiling qt_macros v0.1.1 [INFO] [stderr] Compiling libc-stdhandle v0.1.0 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling qmetaobject_impl v0.2.9 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling ritual_common v0.4.0 [INFO] [stderr] Compiling qt_ritual_common v0.4.0 [INFO] [stderr] Compiling ritual_build v0.4.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling qt_ritual_build v0.5.0 [INFO] [stderr] Compiling sqlite3-sys v0.12.0 [INFO] [stderr] Compiling cpp v0.5.8 [INFO] [stderr] Compiling qt_core v0.5.0 [INFO] [stderr] Compiling qt_gui v0.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Compiling cpp_core v0.6.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling delegate v0.7.0 [INFO] [stderr] Compiling try-catch v0.2.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling num-complex v0.4.3 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling poison v0.1.0 [INFO] [stderr] Compiling shared-mutex v0.3.1 [INFO] [stderr] Compiling time v0.3.22 [INFO] [stderr] Compiling modular-bitfield v0.11.2 [INFO] [stderr] Compiling quanta v0.9.3 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling libevent-sys v0.2.6 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling crossbeam v0.8.2 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling sqlite v0.25.3 [INFO] [stderr] Compiling sqlite3 v0.24.0 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling serde-big-array v0.4.1 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling pnet_sys v0.31.0 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling float-ord v0.3.2 [INFO] [stderr] Compiling bitset v0.1.2 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling comparator v0.3.0 [INFO] [stderr] Compiling time-point v0.1.1 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling atomic-take v1.1.0 [INFO] [stderr] Compiling atomic_float v0.1.0 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling multiset v0.0.5 [INFO] [stderr] Compiling integer-encoding v3.0.4 [INFO] [stderr] Compiling const-default v1.0.0 [INFO] [stderr] Compiling libevent v0.1.0 [INFO] [stderr] Checking bitcoin-imports v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoin-cfg v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoin-derive v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoin-aes v0.1.16-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `bitcoin_derive::*` [INFO] [stdout] --> src/imports.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) use bitcoin_derive::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/aes.rs:465:25 [INFO] [stdout] | [INFO] [stdout] 465 | fail |= ((i > (AES_BLOCKSIZE - usize::try_from(padsize).unwrap()).try_into().unwrap()) & (*{ [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 473 | } != padsize.try_into().unwrap())); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 465 ~ fail |= (i > (AES_BLOCKSIZE - usize::try_from(padsize).unwrap()).try_into().unwrap()) & (*{ [INFO] [stdout] 466 | let old = out; [INFO] [stdout] ... [INFO] [stdout] 472 | old [INFO] [stdout] 473 ~ } != padsize.try_into().unwrap()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AES_state` should have an upper camel case name [INFO] [stdout] --> src/ctaes.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct AES_state { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `AesState` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AES128_ctx` should have an upper camel case name [INFO] [stdout] --> src/ctaes.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct AES128_ctx { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Aes128Ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AES192_ctx` should have an upper camel case name [INFO] [stdout] --> src/ctaes.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct AES192_ctx { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Aes192Ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AES256_ctx` should have an upper camel case name [INFO] [stdout] --> src/ctaes.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct AES256_ctx { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Aes256Ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `bit_range` [INFO] [stdout] --> src/ctaes.rs:331:14 [INFO] [stdout] | [INFO] [stdout] 331 | macro_rules! bit_range { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `bit_range_left` [INFO] [stdout] --> src/ctaes.rs:340:14 [INFO] [stdout] | [INFO] [stdout] 340 | macro_rules! bit_range_left { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `bit_range_right` [INFO] [stdout] --> src/ctaes.rs:351:14 [INFO] [stdout] | [INFO] [stdout] 351 | macro_rules! bit_range_right { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `rot` [INFO] [stdout] --> src/ctaes.rs:394:14 [INFO] [stdout] | [INFO] [stdout] 394 | macro_rules! rot { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ctaes_test.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | data: *mut u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/ctaes_test.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | len: i32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hex` [INFO] [stdout] --> src/ctaes_test.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | hex: *const u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_hex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/aes.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | fn from(x: [u8; AES256_KEYSIZE]) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/ctaes_bench.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn null_hook(x: *mut c_void) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitcoin_derive::*` [INFO] [stdout] --> src/imports.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) use bitcoin_derive::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/aes.rs:465:25 [INFO] [stdout] | [INFO] [stdout] 465 | fail |= ((i > (AES_BLOCKSIZE - usize::try_from(padsize).unwrap()).try_into().unwrap()) & (*{ [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 473 | } != padsize.try_into().unwrap())); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 465 ~ fail |= (i > (AES_BLOCKSIZE - usize::try_from(padsize).unwrap()).try_into().unwrap()) & (*{ [INFO] [stdout] 466 | let old = out; [INFO] [stdout] ... [INFO] [stdout] 472 | old [INFO] [stdout] 473 ~ } != padsize.try_into().unwrap()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AES_state` should have an upper camel case name [INFO] [stdout] --> src/ctaes.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct AES_state { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `AesState` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AES128_ctx` should have an upper camel case name [INFO] [stdout] --> src/ctaes.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct AES128_ctx { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Aes128Ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AES192_ctx` should have an upper camel case name [INFO] [stdout] --> src/ctaes.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct AES192_ctx { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Aes192Ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AES256_ctx` should have an upper camel case name [INFO] [stdout] --> src/ctaes.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct AES256_ctx { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Aes256Ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `bit_range` [INFO] [stdout] --> src/ctaes.rs:331:14 [INFO] [stdout] | [INFO] [stdout] 331 | macro_rules! bit_range { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `bit_range_left` [INFO] [stdout] --> src/ctaes.rs:340:14 [INFO] [stdout] | [INFO] [stdout] 340 | macro_rules! bit_range_left { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `bit_range_right` [INFO] [stdout] --> src/ctaes.rs:351:14 [INFO] [stdout] | [INFO] [stdout] 351 | macro_rules! bit_range_right { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `rot` [INFO] [stdout] --> src/ctaes.rs:394:14 [INFO] [stdout] | [INFO] [stdout] 394 | macro_rules! rot { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ctaes_bench.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut i = i32::default(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sum` is assigned to, but never used [INFO] [stdout] --> src/ctaes_bench.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let mut sum: f64 = 0.0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_sum` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ctaes_bench.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `begin` is never read [INFO] [stdout] --> src/ctaes_bench.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | let mut begin: f64 = f64::default(); [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: value assigned to `total` is never read [INFO] [stdout] --> src/ctaes_bench.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | let mut total: f64 = f64::default(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ctaes_bench.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | name: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iter` [INFO] [stdout] --> src/ctaes_bench.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | iter: i32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ctaes_bench.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let mut i = i32::default(); [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: unused variable: `data` [INFO] [stdout] --> src/ctaes_bench.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn bench_aes128_init(data: *mut c_void) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ctaes_bench.rs:118:35 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn bench_aes128_encrypt_setup(data: *mut c_void) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ctaes_bench.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn bench_aes128_encrypt(data: *mut c_void) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ctaes_bench.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn bench_aes128_decrypt(data: *mut c_void) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ctaes_bench.rs:154:26 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn bench_aes192_init(data: *mut c_void) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ctaes_bench.rs:166:35 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn bench_aes192_encrypt_setup(data: *mut c_void) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ctaes_bench.rs:176:29 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn bench_aes192_encrypt(data: *mut c_void) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ctaes_bench.rs:189:29 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn bench_aes192_decrypt(data: *mut c_void) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ctaes_bench.rs:202:26 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn bench_aes256_init(data: *mut c_void) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ctaes_bench.rs:214:35 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn bench_aes256_encrypt_setup(data: *mut c_void) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ctaes_bench.rs:224:29 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn bench_aes256_encrypt(data: *mut c_void) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ctaes_bench.rs:237:29 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn bench_aes256_decrypt(data: *mut c_void) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/ctaes_bench.rs:251:27 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn crypto_ctaes_bench(b: &mut Bencher) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/ctaes.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | fn from(x: [u8;32]) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ctaes.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let mut i: i32 = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ctaes.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let mut i: i32 = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ctaes.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | s: *mut AES_state, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data16` [INFO] [stdout] --> src/ctaes.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | data16: *const u8) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_data16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data16` [INFO] [stdout] --> src/ctaes.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | data16: *mut u8, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_data16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ctaes.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | s: *const AES_state) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ctaes.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | s: *mut AES_state, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inv` [INFO] [stdout] --> src/ctaes.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | inv: i32) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_inv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ctaes.rs:362:19 [INFO] [stdout] | [INFO] [stdout] 362 | pub fn shift_rows(s: *mut AES_state) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ctaes.rs:378:23 [INFO] [stdout] | [INFO] [stdout] 378 | pub fn inv_shift_rows(s: *mut AES_state) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ctaes.rs:403:9 [INFO] [stdout] | [INFO] [stdout] 403 | s: *mut AES_state, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inv` [INFO] [stdout] --> src/ctaes.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | inv: i32) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_inv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ctaes.rs:474:9 [INFO] [stdout] | [INFO] [stdout] 474 | s: *mut AES_state, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `round` [INFO] [stdout] --> src/ctaes.rs:475:9 [INFO] [stdout] | [INFO] [stdout] 475 | round: *const AES_state) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_round` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ctaes.rs:491:9 [INFO] [stdout] | [INFO] [stdout] 491 | s: *mut AES_state, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/ctaes.rs:492:9 [INFO] [stdout] | [INFO] [stdout] 492 | a: *const AES_state, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/ctaes.rs:493:9 [INFO] [stdout] | [INFO] [stdout] 493 | c: i32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ctaes.rs:509:9 [INFO] [stdout] | [INFO] [stdout] 509 | s: *mut AES_state, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/ctaes.rs:510:9 [INFO] [stdout] | [INFO] [stdout] 510 | r: *mut AES_state, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/ctaes.rs:511:9 [INFO] [stdout] | [INFO] [stdout] 511 | a: *const AES_state, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c1` [INFO] [stdout] --> src/ctaes.rs:512:9 [INFO] [stdout] | [INFO] [stdout] 512 | c1: i32, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c2` [INFO] [stdout] --> src/ctaes.rs:513:9 [INFO] [stdout] | [INFO] [stdout] 513 | c2: i32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ctaes.rs:530:9 [INFO] [stdout] | [INFO] [stdout] 530 | s: *mut AES_state, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/ctaes.rs:531:9 [INFO] [stdout] | [INFO] [stdout] 531 | r: *const AES_state) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ctaes.rs:547:14 [INFO] [stdout] | [INFO] [stdout] 547 | pub fn multx(s: *mut AES_state) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rounds` [INFO] [stdout] --> src/ctaes.rs:580:9 [INFO] [stdout] | [INFO] [stdout] 580 | rounds: *mut AES_state, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/ctaes.rs:581:9 [INFO] [stdout] | [INFO] [stdout] 581 | key: *const u8, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nkeywords` [INFO] [stdout] --> src/ctaes.rs:582:9 [INFO] [stdout] | [INFO] [stdout] 582 | nkeywords: i32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nkeywords` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nrounds` [INFO] [stdout] --> src/ctaes.rs:583:9 [INFO] [stdout] | [INFO] [stdout] 583 | nrounds: i32) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nrounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rounds` [INFO] [stdout] --> src/ctaes.rs:629:9 [INFO] [stdout] | [INFO] [stdout] 629 | rounds: *const AES_state, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nrounds` [INFO] [stdout] --> src/ctaes.rs:630:9 [INFO] [stdout] | [INFO] [stdout] 630 | nrounds: i32, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nrounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cipher16` [INFO] [stdout] --> src/ctaes.rs:631:9 [INFO] [stdout] | [INFO] [stdout] 631 | cipher16: *mut u8, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plain16` [INFO] [stdout] --> src/ctaes.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | plain16: *const u8) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plain16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rounds` [INFO] [stdout] --> src/ctaes.rs:658:9 [INFO] [stdout] | [INFO] [stdout] 658 | rounds: *const AES_state, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nrounds` [INFO] [stdout] --> src/ctaes.rs:659:9 [INFO] [stdout] | [INFO] [stdout] 659 | nrounds: i32, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nrounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plain16` [INFO] [stdout] --> src/ctaes.rs:660:9 [INFO] [stdout] | [INFO] [stdout] 660 | plain16: *mut u8, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plain16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cipher16` [INFO] [stdout] --> src/ctaes.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | cipher16: *const u8) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ctaes.rs:693:9 [INFO] [stdout] | [INFO] [stdout] 693 | ctx: *mut AES128_ctx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key16` [INFO] [stdout] --> src/ctaes.rs:694:9 [INFO] [stdout] | [INFO] [stdout] 694 | key16: *const u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_key16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ctaes.rs:703:9 [INFO] [stdout] | [INFO] [stdout] 703 | ctx: *const AES128_ctx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blocks` [INFO] [stdout] --> src/ctaes.rs:704:9 [INFO] [stdout] | [INFO] [stdout] 704 | blocks: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cipher16` [INFO] [stdout] --> src/ctaes.rs:705:9 [INFO] [stdout] | [INFO] [stdout] 705 | cipher16: *mut u8, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plain16` [INFO] [stdout] --> src/ctaes.rs:706:9 [INFO] [stdout] | [INFO] [stdout] 706 | plain16: *const u8) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plain16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ctaes.rs:719:9 [INFO] [stdout] | [INFO] [stdout] 719 | ctx: *const AES128_ctx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blocks` [INFO] [stdout] --> src/ctaes.rs:720:9 [INFO] [stdout] | [INFO] [stdout] 720 | blocks: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plain16` [INFO] [stdout] --> src/ctaes.rs:721:9 [INFO] [stdout] | [INFO] [stdout] 721 | plain16: *mut u8, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plain16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cipher16` [INFO] [stdout] --> src/ctaes.rs:722:9 [INFO] [stdout] | [INFO] [stdout] 722 | cipher16: *const u8) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ctaes.rs:735:9 [INFO] [stdout] | [INFO] [stdout] 735 | ctx: *mut AES192_ctx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key24` [INFO] [stdout] --> src/ctaes.rs:736:9 [INFO] [stdout] | [INFO] [stdout] 736 | key24: *const u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_key24` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ctaes.rs:745:9 [INFO] [stdout] | [INFO] [stdout] 745 | ctx: *const AES192_ctx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blocks` [INFO] [stdout] --> src/ctaes.rs:746:9 [INFO] [stdout] | [INFO] [stdout] 746 | blocks: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cipher16` [INFO] [stdout] --> src/ctaes.rs:747:9 [INFO] [stdout] | [INFO] [stdout] 747 | cipher16: *mut u8, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plain16` [INFO] [stdout] --> src/ctaes.rs:748:9 [INFO] [stdout] | [INFO] [stdout] 748 | plain16: *const u8) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plain16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ctaes.rs:761:9 [INFO] [stdout] | [INFO] [stdout] 761 | ctx: *const AES192_ctx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blocks` [INFO] [stdout] --> src/ctaes.rs:762:9 [INFO] [stdout] | [INFO] [stdout] 762 | blocks: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plain16` [INFO] [stdout] --> src/ctaes.rs:763:9 [INFO] [stdout] | [INFO] [stdout] 763 | plain16: *mut u8, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plain16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cipher16` [INFO] [stdout] --> src/ctaes.rs:764:9 [INFO] [stdout] | [INFO] [stdout] 764 | cipher16: *const u8) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ctaes.rs:777:9 [INFO] [stdout] | [INFO] [stdout] 777 | ctx: *mut AES256_ctx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key32` [INFO] [stdout] --> src/ctaes.rs:778:9 [INFO] [stdout] | [INFO] [stdout] 778 | key32: *const u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_key32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ctaes.rs:787:9 [INFO] [stdout] | [INFO] [stdout] 787 | ctx: *const AES256_ctx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blocks` [INFO] [stdout] --> src/ctaes.rs:788:9 [INFO] [stdout] | [INFO] [stdout] 788 | blocks: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cipher16` [INFO] [stdout] --> src/ctaes.rs:789:9 [INFO] [stdout] | [INFO] [stdout] 789 | cipher16: *mut u8, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plain16` [INFO] [stdout] --> src/ctaes.rs:790:9 [INFO] [stdout] | [INFO] [stdout] 790 | plain16: *const u8) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plain16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ctaes.rs:803:9 [INFO] [stdout] | [INFO] [stdout] 803 | ctx: *const AES256_ctx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blocks` [INFO] [stdout] --> src/ctaes.rs:804:9 [INFO] [stdout] | [INFO] [stdout] 804 | blocks: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plain16` [INFO] [stdout] --> src/ctaes.rs:805:9 [INFO] [stdout] | [INFO] [stdout] 805 | plain16: *mut u8, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plain16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cipher16` [INFO] [stdout] --> src/ctaes.rs:806:9 [INFO] [stdout] | [INFO] [stdout] 806 | cipher16: *const u8) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/aes.rs:468:21 [INFO] [stdout] | [INFO] [stdout] 464 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 468 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `keysize`, `key`, `plain`, and `cipher` are never read [INFO] [stdout] --> src/ctaes_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CtAesTest { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 6 | keysize: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | key: *const u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | plain: *const u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | cipher: *const u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rk` is never read [INFO] [stdout] --> src/ctaes.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct AES128_ctx { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 34 | rk: [AES_state; 11], [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rk` is never read [INFO] [stdout] --> src/ctaes.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct AES192_ctx { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 39 | rk: [AES_state; 13], [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rk` is never read [INFO] [stdout] --> src/ctaes.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct AES256_ctx { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 44 | rk: [AES_state; 15], [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ctaes_test.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | data: *mut u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/ctaes_test.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | len: i32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hex` [INFO] [stdout] --> src/ctaes_test.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | hex: *const u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_hex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/aes.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | fn from(x: [u8; AES256_KEYSIZE]) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 109 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/ctaes_bench.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn null_hook(x: *mut c_void) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ctaes_bench.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut i = i32::default(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sum` is assigned to, but never used [INFO] [stdout] --> src/ctaes_bench.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let mut sum: f64 = 0.0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_sum` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ctaes_bench.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `begin` is never read [INFO] [stdout] --> src/ctaes_bench.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | let mut begin: f64 = f64::default(); [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: value assigned to `total` is never read [INFO] [stdout] --> src/ctaes_bench.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | let mut total: f64 = f64::default(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ctaes_bench.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | name: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iter` [INFO] [stdout] --> src/ctaes_bench.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | iter: i32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ctaes_bench.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let mut i = i32::default(); [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: unused variable: `data` [INFO] [stdout] --> src/ctaes_bench.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn bench_aes128_init(data: *mut c_void) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ctaes_bench.rs:118:35 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn bench_aes128_encrypt_setup(data: *mut c_void) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ctaes_bench.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn bench_aes128_encrypt(data: *mut c_void) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ctaes_bench.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn bench_aes128_decrypt(data: *mut c_void) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ctaes_bench.rs:154:26 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn bench_aes192_init(data: *mut c_void) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ctaes_bench.rs:166:35 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn bench_aes192_encrypt_setup(data: *mut c_void) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ctaes_bench.rs:176:29 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn bench_aes192_encrypt(data: *mut c_void) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ctaes_bench.rs:189:29 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn bench_aes192_decrypt(data: *mut c_void) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ctaes_bench.rs:202:26 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn bench_aes256_init(data: *mut c_void) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ctaes_bench.rs:214:35 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn bench_aes256_encrypt_setup(data: *mut c_void) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ctaes_bench.rs:224:29 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn bench_aes256_encrypt(data: *mut c_void) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ctaes_bench.rs:237:29 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn bench_aes256_decrypt(data: *mut c_void) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/ctaes_bench.rs:251:27 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn crypto_ctaes_bench(b: &mut Bencher) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/ctaes.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | fn from(x: [u8;32]) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ctaes.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let mut i: i32 = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ctaes.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let mut i: i32 = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ctaes.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | s: *mut AES_state, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data16` [INFO] [stdout] --> src/ctaes.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | data16: *const u8) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_data16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data16` [INFO] [stdout] --> src/ctaes.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | data16: *mut u8, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_data16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ctaes.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | s: *const AES_state) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ctaes.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | s: *mut AES_state, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inv` [INFO] [stdout] --> src/ctaes.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | inv: i32) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_inv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ctaes.rs:362:19 [INFO] [stdout] | [INFO] [stdout] 362 | pub fn shift_rows(s: *mut AES_state) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ctaes.rs:378:23 [INFO] [stdout] | [INFO] [stdout] 378 | pub fn inv_shift_rows(s: *mut AES_state) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ctaes.rs:403:9 [INFO] [stdout] | [INFO] [stdout] 403 | s: *mut AES_state, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inv` [INFO] [stdout] --> src/ctaes.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | inv: i32) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_inv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ctaes.rs:474:9 [INFO] [stdout] | [INFO] [stdout] 474 | s: *mut AES_state, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `round` [INFO] [stdout] --> src/ctaes.rs:475:9 [INFO] [stdout] | [INFO] [stdout] 475 | round: *const AES_state) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_round` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ctaes.rs:491:9 [INFO] [stdout] | [INFO] [stdout] 491 | s: *mut AES_state, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/ctaes.rs:492:9 [INFO] [stdout] | [INFO] [stdout] 492 | a: *const AES_state, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/ctaes.rs:493:9 [INFO] [stdout] | [INFO] [stdout] 493 | c: i32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ctaes.rs:509:9 [INFO] [stdout] | [INFO] [stdout] 509 | s: *mut AES_state, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/ctaes.rs:510:9 [INFO] [stdout] | [INFO] [stdout] 510 | r: *mut AES_state, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/ctaes.rs:511:9 [INFO] [stdout] | [INFO] [stdout] 511 | a: *const AES_state, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c1` [INFO] [stdout] --> src/ctaes.rs:512:9 [INFO] [stdout] | [INFO] [stdout] 512 | c1: i32, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c2` [INFO] [stdout] --> src/ctaes.rs:513:9 [INFO] [stdout] | [INFO] [stdout] 513 | c2: i32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ctaes.rs:530:9 [INFO] [stdout] | [INFO] [stdout] 530 | s: *mut AES_state, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/ctaes.rs:531:9 [INFO] [stdout] | [INFO] [stdout] 531 | r: *const AES_state) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ctaes.rs:547:14 [INFO] [stdout] | [INFO] [stdout] 547 | pub fn multx(s: *mut AES_state) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rounds` [INFO] [stdout] --> src/ctaes.rs:580:9 [INFO] [stdout] | [INFO] [stdout] 580 | rounds: *mut AES_state, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/ctaes.rs:581:9 [INFO] [stdout] | [INFO] [stdout] 581 | key: *const u8, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nkeywords` [INFO] [stdout] --> src/ctaes.rs:582:9 [INFO] [stdout] | [INFO] [stdout] 582 | nkeywords: i32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nkeywords` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nrounds` [INFO] [stdout] --> src/ctaes.rs:583:9 [INFO] [stdout] | [INFO] [stdout] 583 | nrounds: i32) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nrounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rounds` [INFO] [stdout] --> src/ctaes.rs:629:9 [INFO] [stdout] | [INFO] [stdout] 629 | rounds: *const AES_state, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nrounds` [INFO] [stdout] --> src/ctaes.rs:630:9 [INFO] [stdout] | [INFO] [stdout] 630 | nrounds: i32, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nrounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cipher16` [INFO] [stdout] --> src/ctaes.rs:631:9 [INFO] [stdout] | [INFO] [stdout] 631 | cipher16: *mut u8, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plain16` [INFO] [stdout] --> src/ctaes.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | plain16: *const u8) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plain16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rounds` [INFO] [stdout] --> src/ctaes.rs:658:9 [INFO] [stdout] | [INFO] [stdout] 658 | rounds: *const AES_state, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nrounds` [INFO] [stdout] --> src/ctaes.rs:659:9 [INFO] [stdout] | [INFO] [stdout] 659 | nrounds: i32, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nrounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plain16` [INFO] [stdout] --> src/ctaes.rs:660:9 [INFO] [stdout] | [INFO] [stdout] 660 | plain16: *mut u8, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plain16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cipher16` [INFO] [stdout] --> src/ctaes.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | cipher16: *const u8) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ctaes.rs:693:9 [INFO] [stdout] | [INFO] [stdout] 693 | ctx: *mut AES128_ctx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key16` [INFO] [stdout] --> src/ctaes.rs:694:9 [INFO] [stdout] | [INFO] [stdout] 694 | key16: *const u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_key16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ctaes.rs:703:9 [INFO] [stdout] | [INFO] [stdout] 703 | ctx: *const AES128_ctx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blocks` [INFO] [stdout] --> src/ctaes.rs:704:9 [INFO] [stdout] | [INFO] [stdout] 704 | blocks: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cipher16` [INFO] [stdout] --> src/ctaes.rs:705:9 [INFO] [stdout] | [INFO] [stdout] 705 | cipher16: *mut u8, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plain16` [INFO] [stdout] --> src/ctaes.rs:706:9 [INFO] [stdout] | [INFO] [stdout] 706 | plain16: *const u8) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plain16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ctaes.rs:719:9 [INFO] [stdout] | [INFO] [stdout] 719 | ctx: *const AES128_ctx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blocks` [INFO] [stdout] --> src/ctaes.rs:720:9 [INFO] [stdout] | [INFO] [stdout] 720 | blocks: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plain16` [INFO] [stdout] --> src/ctaes.rs:721:9 [INFO] [stdout] | [INFO] [stdout] 721 | plain16: *mut u8, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plain16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cipher16` [INFO] [stdout] --> src/ctaes.rs:722:9 [INFO] [stdout] | [INFO] [stdout] 722 | cipher16: *const u8) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ctaes.rs:735:9 [INFO] [stdout] | [INFO] [stdout] 735 | ctx: *mut AES192_ctx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key24` [INFO] [stdout] --> src/ctaes.rs:736:9 [INFO] [stdout] | [INFO] [stdout] 736 | key24: *const u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_key24` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ctaes.rs:745:9 [INFO] [stdout] | [INFO] [stdout] 745 | ctx: *const AES192_ctx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blocks` [INFO] [stdout] --> src/ctaes.rs:746:9 [INFO] [stdout] | [INFO] [stdout] 746 | blocks: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cipher16` [INFO] [stdout] --> src/ctaes.rs:747:9 [INFO] [stdout] | [INFO] [stdout] 747 | cipher16: *mut u8, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plain16` [INFO] [stdout] --> src/ctaes.rs:748:9 [INFO] [stdout] | [INFO] [stdout] 748 | plain16: *const u8) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plain16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ctaes.rs:761:9 [INFO] [stdout] | [INFO] [stdout] 761 | ctx: *const AES192_ctx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blocks` [INFO] [stdout] --> src/ctaes.rs:762:9 [INFO] [stdout] | [INFO] [stdout] 762 | blocks: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plain16` [INFO] [stdout] --> src/ctaes.rs:763:9 [INFO] [stdout] | [INFO] [stdout] 763 | plain16: *mut u8, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plain16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cipher16` [INFO] [stdout] --> src/ctaes.rs:764:9 [INFO] [stdout] | [INFO] [stdout] 764 | cipher16: *const u8) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ctaes.rs:777:9 [INFO] [stdout] | [INFO] [stdout] 777 | ctx: *mut AES256_ctx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key32` [INFO] [stdout] --> src/ctaes.rs:778:9 [INFO] [stdout] | [INFO] [stdout] 778 | key32: *const u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_key32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ctaes.rs:787:9 [INFO] [stdout] | [INFO] [stdout] 787 | ctx: *const AES256_ctx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blocks` [INFO] [stdout] --> src/ctaes.rs:788:9 [INFO] [stdout] | [INFO] [stdout] 788 | blocks: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cipher16` [INFO] [stdout] --> src/ctaes.rs:789:9 [INFO] [stdout] | [INFO] [stdout] 789 | cipher16: *mut u8, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plain16` [INFO] [stdout] --> src/ctaes.rs:790:9 [INFO] [stdout] | [INFO] [stdout] 790 | plain16: *const u8) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plain16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ctaes.rs:803:9 [INFO] [stdout] | [INFO] [stdout] 803 | ctx: *const AES256_ctx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blocks` [INFO] [stdout] --> src/ctaes.rs:804:9 [INFO] [stdout] | [INFO] [stdout] 804 | blocks: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plain16` [INFO] [stdout] --> src/ctaes.rs:805:9 [INFO] [stdout] | [INFO] [stdout] 805 | plain16: *mut u8, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plain16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cipher16` [INFO] [stdout] --> src/ctaes.rs:806:9 [INFO] [stdout] | [INFO] [stdout] 806 | cipher16: *const u8) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/aes.rs:468:21 [INFO] [stdout] | [INFO] [stdout] 464 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 468 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `keysize`, `key`, `plain`, and `cipher` are never read [INFO] [stdout] --> src/ctaes_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CtAesTest { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 6 | keysize: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | key: *const u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | plain: *const u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | cipher: *const u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rk` is never read [INFO] [stdout] --> src/ctaes.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct AES128_ctx { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 34 | rk: [AES_state; 11], [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rk` is never read [INFO] [stdout] --> src/ctaes.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct AES192_ctx { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 39 | rk: [AES_state; 13], [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rk` is never read [INFO] [stdout] --> src/ctaes.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct AES256_ctx { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 44 | rk: [AES_state; 15], [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 109 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 17s [INFO] running `Command { std: "docker" "inspect" "02a330d0371123bcff86e4e76fb8aa9bcdc4a26ea637f7ab2dabf5f7cd6ae310", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02a330d0371123bcff86e4e76fb8aa9bcdc4a26ea637f7ab2dabf5f7cd6ae310", kill_on_drop: false }` [INFO] [stdout] 02a330d0371123bcff86e4e76fb8aa9bcdc4a26ea637f7ab2dabf5f7cd6ae310