[INFO] cloning repository https://github.com/jryio/aes
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jryio/aes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjryio%2Faes", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjryio%2Faes'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ee314c3e52dc5247e4e1ac6bcfde999fdcc8d32d
[INFO] checking jryio/aes against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjryio%2Faes" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jryio/aes
[INFO] finished tweaking git repo https://github.com/jryio/aes
[INFO] tweaked toml for git repo https://github.com/jryio/aes written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jryio/aes on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jryio/aes 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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e78455592838edaa3d0b33b9f7733a91df4a2bf4721caf43641904e2bf69d06b
[INFO] running `Command { std: "docker" "start" "-a" "e78455592838edaa3d0b33b9f7733a91df4a2bf4721caf43641904e2bf69d06b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e78455592838edaa3d0b33b9f7733a91df4a2bf4721caf43641904e2bf69d06b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e78455592838edaa3d0b33b9f7733a91df4a2bf4721caf43641904e2bf69d06b", kill_on_drop: false }`
[INFO] [stdout] e78455592838edaa3d0b33b9f7733a91df4a2bf4721caf43641904e2bf69d06b
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e44b4c712ba722bd4e8c46017a422883e017962f759e4eb21fb43409c145c3d2
[INFO] running `Command { std: "docker" "start" "-a" "e44b4c712ba722bd4e8c46017a422883e017962f759e4eb21fb43409c145c3d2", kill_on_drop: false }`
[INFO] [stderr]     Checking aes v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `sbox::SBOX`
[INFO] [stdout]  --> src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sbox::SBOX;
[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: `sbox::SBOX`
[INFO] [stdout]  --> src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sbox::SBOX;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `state` is never read
[INFO] [stdout]    --> src/lib.rs:108:34
[INFO] [stdout]     |
[INFO] [stdout] 108 |         let mut state: Vec<u8> = Vec::with_capacity(T::BLOCK_SIZE);
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] 109 |         state = input.clone();
[INFO] [stdout]     |         ----- `state` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:152:13
[INFO] [stdout]     |
[INFO] [stdout] 152 |         let mut i = T::KEY_LENGTH;
[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: unused variable: `key_len`
[INFO] [stdout]    --> src/lib.rs:129:13
[INFO] [stdout]     |
[INFO] [stdout] 129 |         let key_len = T::KEY_LENGTH;
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_len`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `curr_word`
[INFO] [stdout]    --> src/lib.rs:156:17
[INFO] [stdout]     |
[INFO] [stdout] 156 |             let curr_word = if i % key_words == 0 {
[INFO] [stdout]     |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_word`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]    --> src/lib.rs:176:17
[INFO] [stdout]     |
[INFO] [stdout] 176 |     fn sub_word(input: &mut [u8]) {
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]    --> src/lib.rs:256:12
[INFO] [stdout]     |
[INFO] [stdout] 256 | fn encrypt(size: u8, input: &[u8]) -> &[u8] {
[INFO] [stdout]     |            ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]    --> src/lib.rs:256:22
[INFO] [stdout]     |
[INFO] [stdout] 256 | fn encrypt(size: u8, input: &[u8]) -> &[u8] {
[INFO] [stdout]     |                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Aes` is never constructed
[INFO] [stdout]   --> src/lib.rs:74:12
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub struct Aes<T: KeyLength> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `key` and `state` are never read
[INFO] [stdout]   --> src/lib.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub struct Aes<T: KeyLength> {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] 75 |     /// Key i the specified length (KeyLength 128, 192, 256)
[INFO] [stdout] 76 |     key: Vec<u8>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     state: Vec<u8>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Aes` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `xor`, `key_expansion`, `sub_word`, `rotate_word`, and `round_constant` are never used
[INFO] [stdout]    --> src/lib.rs:103:8
[INFO] [stdout]     |
[INFO] [stdout]  94 | impl<T: KeyLength> Aes<T> {
[INFO] [stdout]     | ------------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 103 |     fn new(input: Vec<u8>, key: Vec<u8>) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     fn xor(left: &[u8], right: &[u8]) -> Vec<u8> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     fn key_expansion(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 176 |     fn sub_word(input: &mut [u8]) {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 188 |     fn rotate_word(input: &mut [u8]) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 198 |     fn round_constant(i: usize) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encrypt` is never used
[INFO] [stdout]    --> src/lib.rs:256:4
[INFO] [stdout]     |
[INFO] [stdout] 256 | fn encrypt(size: u8, input: &[u8]) -> &[u8] {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SBOX` is never used
[INFO] [stdout]  --> src/sbox.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub const SBOX: [u8; 256] = [
[INFO] [stdout]   |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `aes` (lib) due to 1 previous error; 12 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: value assigned to `state` is never read
[INFO] [stdout]    --> src/lib.rs:108:34
[INFO] [stdout]     |
[INFO] [stdout] 108 |         let mut state: Vec<u8> = Vec::with_capacity(T::BLOCK_SIZE);
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] 109 |         state = input.clone();
[INFO] [stdout]     |         ----- `state` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:152:13
[INFO] [stdout]     |
[INFO] [stdout] 152 |         let mut i = T::KEY_LENGTH;
[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: unused variable: `key_len`
[INFO] [stdout]    --> src/lib.rs:129:13
[INFO] [stdout]     |
[INFO] [stdout] 129 |         let key_len = T::KEY_LENGTH;
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_len`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `curr_word`
[INFO] [stdout]    --> src/lib.rs:156:17
[INFO] [stdout]     |
[INFO] [stdout] 156 |             let curr_word = if i % key_words == 0 {
[INFO] [stdout]     |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_word`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]    --> src/lib.rs:176:17
[INFO] [stdout]     |
[INFO] [stdout] 176 |     fn sub_word(input: &mut [u8]) {
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]    --> src/lib.rs:256:12
[INFO] [stdout]     |
[INFO] [stdout] 256 | fn encrypt(size: u8, input: &[u8]) -> &[u8] {
[INFO] [stdout]     |            ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]    --> src/lib.rs:256:22
[INFO] [stdout]     |
[INFO] [stdout] 256 | fn encrypt(size: u8, input: &[u8]) -> &[u8] {
[INFO] [stdout]     |                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Aes` is never constructed
[INFO] [stdout]   --> src/lib.rs:74:12
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub struct Aes<T: KeyLength> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `key` and `state` are never read
[INFO] [stdout]   --> src/lib.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub struct Aes<T: KeyLength> {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] 75 |     /// Key i the specified length (KeyLength 128, 192, 256)
[INFO] [stdout] 76 |     key: Vec<u8>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     state: Vec<u8>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Aes` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `xor`, `key_expansion`, `sub_word`, `rotate_word`, and `round_constant` are never used
[INFO] [stdout]    --> src/lib.rs:103:8
[INFO] [stdout]     |
[INFO] [stdout]  94 | impl<T: KeyLength> Aes<T> {
[INFO] [stdout]     | ------------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 103 |     fn new(input: Vec<u8>, key: Vec<u8>) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     fn xor(left: &[u8], right: &[u8]) -> Vec<u8> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     fn key_expansion(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 176 |     fn sub_word(input: &mut [u8]) {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 188 |     fn rotate_word(input: &mut [u8]) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 198 |     fn round_constant(i: usize) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encrypt` is never used
[INFO] [stdout]    --> src/lib.rs:256:4
[INFO] [stdout]     |
[INFO] [stdout] 256 | fn encrypt(size: u8, input: &[u8]) -> &[u8] {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SBOX` is never used
[INFO] [stdout]  --> src/sbox.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub const SBOX: [u8; 256] = [
[INFO] [stdout]   |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `aes` (lib test) due to 1 previous error; 12 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "e44b4c712ba722bd4e8c46017a422883e017962f759e4eb21fb43409c145c3d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e44b4c712ba722bd4e8c46017a422883e017962f759e4eb21fb43409c145c3d2", kill_on_drop: false }`
[INFO] [stdout] e44b4c712ba722bd4e8c46017a422883e017962f759e4eb21fb43409c145c3d2
