[INFO] cloning repository https://github.com/moons03/rust_tls_layer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/moons03/rust_tls_layer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoons03%2Frust_tls_layer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoons03%2Frust_tls_layer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 259592b6868651f6fa8bc12d7367d305ae877ac5 [INFO] checking moons03/rust_tls_layer against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoons03%2Frust_tls_layer" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/moons03/rust_tls_layer [INFO] finished tweaking git repo https://github.com/moons03/rust_tls_layer [INFO] tweaked toml for git repo https://github.com/moons03/rust_tls_layer written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/moons03/rust_tls_layer on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/moons03/rust_tls_layer 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 654d3875c5da94111369fd8208ac3ffcd63209a755ea533983451be4a6467a5b [INFO] running `Command { std: "docker" "start" "-a" "654d3875c5da94111369fd8208ac3ffcd63209a755ea533983451be4a6467a5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "654d3875c5da94111369fd8208ac3ffcd63209a755ea533983451be4a6467a5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "654d3875c5da94111369fd8208ac3ffcd63209a755ea533983451be4a6467a5b", kill_on_drop: false }` [INFO] [stdout] 654d3875c5da94111369fd8208ac3ffcd63209a755ea533983451be4a6467a5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 340fe3767ed18fd91704e642613ac5d02f671e325b5c9bb178205eb9250882a5 [INFO] running `Command { std: "docker" "start" "-a" "340fe3767ed18fd91704e642613ac5d02f671e325b5c9bb178205eb9250882a5", kill_on_drop: false }` [INFO] [stderr] Checking types v0.1.0 (/opt/rustwide/workdir/src/types) [INFO] [stdout] warning: unused variable: `iv` [INFO] [stdout] --> src/types/src/block_cipher.rs:1:92 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn ECB_MODE(cipher_func: fn([u8; 16], &[u8]) -> [u8; 16], data: Vec, key: Vec, iv: Vec, mode: bool) -> Vec { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_iv` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/types/src/block_cipher.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let mut pad_len = block_size - data.len() % block_size; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `VecStructU32` is never used [INFO] [stdout] --> src/types/src/lib.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | trait VecStructU32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ECB_MODE` should have a snake case name [INFO] [stdout] --> src/types/src/block_cipher.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn ECB_MODE(cipher_func: fn([u8; 16], &[u8]) -> [u8; 16], data: Vec, key: Vec, iv: Vec, mode: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `ecb_mode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iv` [INFO] [stdout] --> src/types/src/block_cipher.rs:1:92 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn ECB_MODE(cipher_func: fn([u8; 16], &[u8]) -> [u8; 16], data: Vec, key: Vec, iv: Vec, mode: bool) -> Vec { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_iv` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/types/src/block_cipher.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let mut pad_len = block_size - data.len() % block_size; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `VecStructU32` is never used [INFO] [stdout] --> src/types/src/lib.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | trait VecStructU32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking aes v0.1.0 (/opt/rustwide/workdir/src/aes) [INFO] [stdout] warning: function `ECB_MODE` should have a snake case name [INFO] [stdout] --> src/types/src/block_cipher.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn ECB_MODE(cipher_func: fn([u8; 16], &[u8]) -> [u8; 16], data: Vec, key: Vec, iv: Vec, mode: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `ecb_mode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::block_cipher` [INFO] [stdout] --> src/aes/src/core.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use types::block_cipher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::block_cipher` [INFO] [stdout] --> src/aes/src/core.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use types::block_cipher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nr` [INFO] [stdout] --> src/aes/src/core.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 95 | let (nk, nr, nwords) = get_aes_params(key.len()); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_nr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/aes/src/crypto.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut aes = core::AES::new(self.key.clone(), block_cipher::ECB_MODE); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INV_S_BOX` is never used [INFO] [stdout] --> src/aes/src/core.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const INV_S_BOX: [u8; 256] = [ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inv_shift_rows` is never used [INFO] [stdout] --> src/aes/src/core.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn inv_shift_rows(state: [u8; 16]) -> [u8; 16] { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mult` is never used [INFO] [stdout] --> src/aes/src/core.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn mult(a: u8, b: u8) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inv_mix_columns` is never used [INFO] [stdout] --> src/aes/src/core.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn inv_mix_columns(state: [u8; 16]) -> [u8; 16] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `aes_decrypt_block` is never used [INFO] [stdout] --> src/aes/src/core.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn aes_decrypt_block(plaintext: [u8; 16], key: &[u8]) -> [u8; 16] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `decrypt` is never used [INFO] [stdout] --> src/aes/src/core.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 206 | impl AES { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn decrypt(&self, plaintext: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 16], Infallible> [INFO] [stdout] --> src/aes/src/core.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | state = inv_shift_rows(state).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aes` (lib test) due to 3 previous errors; 14 warnings emitted [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 16], Infallible> [INFO] [stdout] --> src/aes/src/core.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | state = inv_mix_columns(state).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `nr` [INFO] [stdout] --> src/aes/src/core.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 95 | let (nk, nr, nwords) = get_aes_params(key.len()); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_nr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 16], Infallible> [INFO] [stdout] --> src/aes/src/core.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | state = inv_shift_rows(state).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `H` should have a snake case name [INFO] [stdout] --> src/aes/src/crypto.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let H = aes.encrypt([0; 16].to_vec()); [INFO] [stdout] | ^ help: convert the identifier to snake case: `h` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `J0` should have a snake case name [INFO] [stdout] --> src/aes/src/crypto.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | let mut J0 = params.iv.clone(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `j0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `S` should have a snake case name [INFO] [stdout] --> src/aes/src/crypto.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let S = core::ghash(H, params.aad.clone(), ciphertext.clone()); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `J0` should have a snake case name [INFO] [stdout] --> src/aes/src/crypto.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | let mut J0 = params.iv.clone(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `j0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `S` should have a snake case name [INFO] [stdout] --> src/aes/src/crypto.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let S = core::ghash(h, params.aad.clone(), ciphertext.clone()); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/aes/src/crypto.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut aes = core::AES::new(self.key.clone(), block_cipher::ECB_MODE); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INV_S_BOX` is never used [INFO] [stdout] --> src/aes/src/core.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const INV_S_BOX: [u8; 256] = [ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inv_shift_rows` is never used [INFO] [stdout] --> src/aes/src/core.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn inv_shift_rows(state: [u8; 16]) -> [u8; 16] { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mult` is never used [INFO] [stdout] --> src/aes/src/core.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn mult(a: u8, b: u8) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inv_mix_columns` is never used [INFO] [stdout] --> src/aes/src/core.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn inv_mix_columns(state: [u8; 16]) -> [u8; 16] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `aes_decrypt_block` is never used [INFO] [stdout] --> src/aes/src/core.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn aes_decrypt_block(plaintext: [u8; 16], key: &[u8]) -> [u8; 16] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `decrypt` is never used [INFO] [stdout] --> src/aes/src/core.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 206 | impl AES { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn decrypt(&self, plaintext: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 16], Infallible> [INFO] [stdout] --> src/aes/src/core.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | state = inv_shift_rows(state).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 16], Infallible> [INFO] [stdout] --> src/aes/src/core.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | state = inv_mix_columns(state).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 16], Infallible> [INFO] [stdout] --> src/aes/src/core.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | state = inv_shift_rows(state).try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `H` should have a snake case name [INFO] [stdout] --> src/aes/src/crypto.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let H = aes.encrypt([0; 16].to_vec()); [INFO] [stdout] | ^ help: convert the identifier to snake case: `h` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `J0` should have a snake case name [INFO] [stdout] --> src/aes/src/crypto.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | let mut J0 = params.iv.clone(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `j0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `S` should have a snake case name [INFO] [stdout] --> src/aes/src/crypto.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let S = core::ghash(H, params.aad.clone(), ciphertext.clone()); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `J0` should have a snake case name [INFO] [stdout] --> src/aes/src/crypto.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | let mut J0 = params.iv.clone(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `j0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `S` should have a snake case name [INFO] [stdout] --> src/aes/src/crypto.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let S = core::ghash(h, params.aad.clone(), ciphertext.clone()); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `s` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aes` (lib) due to 3 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "340fe3767ed18fd91704e642613ac5d02f671e325b5c9bb178205eb9250882a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "340fe3767ed18fd91704e642613ac5d02f671e325b5c9bb178205eb9250882a5", kill_on_drop: false }` [INFO] [stdout] 340fe3767ed18fd91704e642613ac5d02f671e325b5c9bb178205eb9250882a5