[INFO] cloning repository https://github.com/adrgs/rust-aes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adrgs/rust-aes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrgs%2Frust-aes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrgs%2Frust-aes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c2e8ba198fe8e1fb6a4b9cb2c98d81b0249fa28b [INFO] checking adrgs/rust-aes against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrgs%2Frust-aes" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adrgs/rust-aes on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/adrgs/rust-aes [INFO] finished tweaking git repo https://github.com/adrgs/rust-aes [INFO] tweaked toml for git repo https://github.com/adrgs/rust-aes written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/adrgs/rust-aes already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e8c10c7239685bf2f622f153b13ec23b45af2a99ca5d80b92c104fc1ff82b687 [INFO] running `Command { std: "docker" "start" "-a" "e8c10c7239685bf2f622f153b13ec23b45af2a99ca5d80b92c104fc1ff82b687", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8c10c7239685bf2f622f153b13ec23b45af2a99ca5d80b92c104fc1ff82b687", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8c10c7239685bf2f622f153b13ec23b45af2a99ca5d80b92c104fc1ff82b687", kill_on_drop: false }` [INFO] [stdout] e8c10c7239685bf2f622f153b13ec23b45af2a99ca5d80b92c104fc1ff82b687 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c7a32c08e289c49ee21ef0ec0f009a976967da87448912aac0ae02f1a2f8a14 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5c7a32c08e289c49ee21ef0ec0f009a976967da87448912aac0ae02f1a2f8a14", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking rust-aes v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/aes.rs (2 fixes) [INFO] [stderr] Fixed src/main.rs (3 fixes) [INFO] [stdout] warning: value assigned to `high_bit` is never read [INFO] [stdout] --> src/aes.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | let mut high_bit = 0u8; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `high_bit` is never read [INFO] [stdout] --> src/aes.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | let mut high_bit = 0u8; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `encrypt_block` [INFO] [stdout] --> src/aes.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | encrypt_block: fn(&AES128, &[u8;16]) -> [u8;16], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `decrypt_block` [INFO] [stdout] --> src/aes.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | decrypt_block: fn(&AES128, &[u8;16]) -> [u8;16], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `encrypt_block` [INFO] [stdout] --> src/aes.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | encrypt_block: fn(&AES128, &[u8;16]) -> [u8;16], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `decrypt_block` [INFO] [stdout] --> src/aes.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | decrypt_block: fn(&AES128, &[u8;16]) -> [u8;16], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | write_generated_key(&key_bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | write_output_file(&output_bytes, out_file_name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | stdout().write_all(&output_bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `key_schedule_AES128` should have a snake case name [INFO] [stdout] --> src/aes.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn key_schedule_AES128(key_bytes: &[u8;16]) -> [[u8;4];44] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `key_schedule_aes128` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/aes.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let N = 4; [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt_AES128` should have a snake case name [INFO] [stdout] --> src/aes.rs:258:4 [INFO] [stdout] | [INFO] [stdout] 258 | fn encrypt_AES128(aes128: &AES128, bytes: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `encrypt_aes128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt_block_AES128` should have a snake case name [INFO] [stdout] --> src/aes.rs:279:4 [INFO] [stdout] | [INFO] [stdout] 279 | fn encrypt_block_AES128(aes128: &AES128, bytes: &[u8;16]) -> [u8;16] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `encrypt_block_aes128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt_AES128` should have a snake case name [INFO] [stdout] --> src/aes.rs:309:4 [INFO] [stdout] | [INFO] [stdout] 309 | fn decrypt_AES128(aes128: &AES128, bytes: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `decrypt_aes128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt_block_AES128` should have a snake case name [INFO] [stdout] --> src/aes.rs:330:4 [INFO] [stdout] | [INFO] [stdout] 330 | fn decrypt_block_AES128(aes128: &AES128, bytes: &[u8;16]) -> [u8;16] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `decrypt_block_aes128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | write_generated_key(&key_bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | write_output_file(&output_bytes, out_file_name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | stdout().write_all(&output_bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `key_schedule_AES128` should have a snake case name [INFO] [stdout] --> src/aes.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn key_schedule_AES128(key_bytes: &[u8;16]) -> [[u8;4];44] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `key_schedule_aes128` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/aes.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let N = 4; [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt_AES128` should have a snake case name [INFO] [stdout] --> src/aes.rs:258:4 [INFO] [stdout] | [INFO] [stdout] 258 | fn encrypt_AES128(aes128: &AES128, bytes: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `encrypt_aes128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt_block_AES128` should have a snake case name [INFO] [stdout] --> src/aes.rs:279:4 [INFO] [stdout] | [INFO] [stdout] 279 | fn encrypt_block_AES128(aes128: &AES128, bytes: &[u8;16]) -> [u8;16] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `encrypt_block_aes128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt_AES128` should have a snake case name [INFO] [stdout] --> src/aes.rs:309:4 [INFO] [stdout] | [INFO] [stdout] 309 | fn decrypt_AES128(aes128: &AES128, bytes: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `decrypt_aes128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt_block_AES128` should have a snake case name [INFO] [stdout] --> src/aes.rs:330:4 [INFO] [stdout] | [INFO] [stdout] 330 | fn decrypt_block_AES128(aes128: &AES128, bytes: &[u8;16]) -> [u8;16] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `decrypt_block_aes128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.63s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking rust-aes v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: value assigned to `high_bit` is never read [INFO] [stdout] --> src/aes.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | let mut high_bit = 0u8; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `high_bit` is never read [INFO] [stdout] --> src/aes.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | let mut high_bit = 0u8; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `encrypt_block` [INFO] [stdout] --> src/aes.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | encrypt_block: fn(&AES128, &[u8;16]) -> [u8;16], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `decrypt_block` [INFO] [stdout] --> src/aes.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | decrypt_block: fn(&AES128, &[u8;16]) -> [u8;16], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `encrypt_block` [INFO] [stdout] --> src/aes.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | encrypt_block: fn(&AES128, &[u8;16]) -> [u8;16], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `decrypt_block` [INFO] [stdout] --> src/aes.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | decrypt_block: fn(&AES128, &[u8;16]) -> [u8;16], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | write_generated_key(&key_bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | write_output_file(&output_bytes, out_file_name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | stdout().write_all(&output_bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `key_schedule_AES128` should have a snake case name [INFO] [stdout] --> src/aes.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn key_schedule_AES128(key_bytes: &[u8;16]) -> [[u8;4];44] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `key_schedule_aes128` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/aes.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let N = 4; [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt_AES128` should have a snake case name [INFO] [stdout] --> src/aes.rs:258:4 [INFO] [stdout] | [INFO] [stdout] 258 | fn encrypt_AES128(aes128: &AES128, bytes: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `encrypt_aes128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt_block_AES128` should have a snake case name [INFO] [stdout] --> src/aes.rs:279:4 [INFO] [stdout] | [INFO] [stdout] 279 | fn encrypt_block_AES128(aes128: &AES128, bytes: &[u8;16]) -> [u8;16] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `encrypt_block_aes128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt_AES128` should have a snake case name [INFO] [stdout] --> src/aes.rs:309:4 [INFO] [stdout] | [INFO] [stdout] 309 | fn decrypt_AES128(aes128: &AES128, bytes: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `decrypt_aes128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt_block_AES128` should have a snake case name [INFO] [stdout] --> src/aes.rs:330:4 [INFO] [stdout] | [INFO] [stdout] 330 | fn decrypt_block_AES128(aes128: &AES128, bytes: &[u8;16]) -> [u8;16] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `decrypt_block_aes128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | write_generated_key(&key_bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | write_output_file(&output_bytes, out_file_name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | stdout().write_all(&output_bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `key_schedule_AES128` should have a snake case name [INFO] [stdout] --> src/aes.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn key_schedule_AES128(key_bytes: &[u8;16]) -> [[u8;4];44] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `key_schedule_aes128` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/aes.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let N = 4; [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt_AES128` should have a snake case name [INFO] [stdout] --> src/aes.rs:258:4 [INFO] [stdout] | [INFO] [stdout] 258 | fn encrypt_AES128(aes128: &AES128, bytes: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `encrypt_aes128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt_block_AES128` should have a snake case name [INFO] [stdout] --> src/aes.rs:279:4 [INFO] [stdout] | [INFO] [stdout] 279 | fn encrypt_block_AES128(aes128: &AES128, bytes: &[u8;16]) -> [u8;16] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `encrypt_block_aes128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt_AES128` should have a snake case name [INFO] [stdout] --> src/aes.rs:309:4 [INFO] [stdout] | [INFO] [stdout] 309 | fn decrypt_AES128(aes128: &AES128, bytes: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `decrypt_aes128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt_block_AES128` should have a snake case name [INFO] [stdout] --> src/aes.rs:330:4 [INFO] [stdout] | [INFO] [stdout] 330 | fn decrypt_block_AES128(aes128: &AES128, bytes: &[u8;16]) -> [u8;16] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `decrypt_block_aes128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.64s [INFO] running `Command { std: "docker" "inspect" "5c7a32c08e289c49ee21ef0ec0f009a976967da87448912aac0ae02f1a2f8a14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c7a32c08e289c49ee21ef0ec0f009a976967da87448912aac0ae02f1a2f8a14", kill_on_drop: false }` [INFO] [stdout] 5c7a32c08e289c49ee21ef0ec0f009a976967da87448912aac0ae02f1a2f8a14