[INFO] cloning repository https://github.com/anoadragon453/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/anoadragon453/rust-aes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanoadragon453%2Frust-aes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanoadragon453%2Frust-aes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 15d8daf80b2c732e972a588d7dbe505b2500a04a [INFO] checking anoadragon453/rust-aes against master#00bfd6b2734d9c28a147bf237490995731781fdd for pr-117984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanoadragon453%2Frust-aes" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anoadragon453/rust-aes on toolchain 00bfd6b2734d9c28a147bf237490995731781fdd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/anoadragon453/rust-aes [INFO] finished tweaking git repo https://github.com/anoadragon453/rust-aes [INFO] tweaked toml for git repo https://github.com/anoadragon453/rust-aes written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/anoadragon453/rust-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" "+00bfd6b2734d9c28a147bf237490995731781fdd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded numrs v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b4fb3c5093775b41eb777678f36880d6e14f1e9dc1c60527cc18ba09a92e881 [INFO] running `Command { std: "docker" "start" "-a" "1b4fb3c5093775b41eb777678f36880d6e14f1e9dc1c60527cc18ba09a92e881", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b4fb3c5093775b41eb777678f36880d6e14f1e9dc1c60527cc18ba09a92e881", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b4fb3c5093775b41eb777678f36880d6e14f1e9dc1c60527cc18ba09a92e881", kill_on_drop: false }` [INFO] [stdout] 1b4fb3c5093775b41eb777678f36880d6e14f1e9dc1c60527cc18ba09a92e881 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a547d5798a6af6dac900a9c834b78911b77f8a73705bdbe1ebc0efc124a81f6 [INFO] running `Command { std: "docker" "start" "-a" "1a547d5798a6af6dac900a9c834b78911b77f8a73705bdbe1ebc0efc124a81f6", kill_on_drop: false }` [INFO] [stderr] Checking num-traits v0.1.40 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking libc v0.2.32 [INFO] [stderr] Checking rand v0.3.17 [INFO] [stderr] Checking num-integer v0.1.35 [INFO] [stderr] Checking num-iter v0.1.34 [INFO] [stderr] Checking num-bigint v0.1.40 [INFO] [stderr] Checking num-complex v0.1.40 [INFO] [stderr] Checking num-rational v0.1.39 [INFO] [stderr] Checking num v0.1.40 [INFO] [stderr] Checking numrs v0.2.0 [INFO] [stderr] Checking aes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:145:67 [INFO] [stdout] | [INFO] [stdout] 145 | let mut col = matrix::from_elems(1, 4, &[round_key.get(0, (i-1)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 145 - let mut col = matrix::from_elems(1, 4, &[round_key.get(0, (i-1)), [INFO] [stdout] 145 + let mut col = matrix::from_elems(1, 4, &[round_key.get(0, i-1), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:146:67 [INFO] [stdout] | [INFO] [stdout] 146 | ... round_key.get(1, (i-1)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 146 - round_key.get(1, (i-1)), [INFO] [stdout] 146 + round_key.get(1, i-1), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:147:67 [INFO] [stdout] | [INFO] [stdout] 147 | ... round_key.get(2, (i-1)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 147 - round_key.get(2, (i-1)), [INFO] [stdout] 147 + round_key.get(2, i-1), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:148:67 [INFO] [stdout] | [INFO] [stdout] 148 | ... round_key.get(3, (i-1))]); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 148 - round_key.get(3, (i-1))]); [INFO] [stdout] 148 + round_key.get(3, i-1)]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:159:51 [INFO] [stdout] | [INFO] [stdout] 159 | xor_matricies(&mut col, &get_rcon_col((i / 4))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 159 - xor_matricies(&mut col, &get_rcon_col((i / 4))); [INFO] [stdout] 159 + xor_matricies(&mut col, &get_rcon_col(i / 4)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:163:68 [INFO] [stdout] | [INFO] [stdout] 163 | let init_col = matrix::from_elems(1, 4, &[round_key.get(0, (i-4)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 163 - let init_col = matrix::from_elems(1, 4, &[round_key.get(0, (i-4)), [INFO] [stdout] 163 + let init_col = matrix::from_elems(1, 4, &[round_key.get(0, i-4), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:164:68 [INFO] [stdout] | [INFO] [stdout] 164 | ... round_key.get(1, (i-4)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 164 - round_key.get(1, (i-4)), [INFO] [stdout] 164 + round_key.get(1, i-4), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:165:68 [INFO] [stdout] | [INFO] [stdout] 165 | ... round_key.get(2, (i-4)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 165 - round_key.get(2, (i-4)), [INFO] [stdout] 165 + round_key.get(2, i-4), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:166:68 [INFO] [stdout] | [INFO] [stdout] 166 | ... round_key.get(3, (i-4))]); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 166 - round_key.get(3, (i-4))]); [INFO] [stdout] 166 + round_key.get(3, i-4)]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:224:38 [INFO] [stdout] | [INFO] [stdout] 224 | state.set(i, j, sbox.get((hex_row as usize), (hex_col as usize))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 224 - state.set(i, j, sbox.get((hex_row as usize), (hex_col as usize))); [INFO] [stdout] 224 + state.set(i, j, sbox.get(hex_row as usize, (hex_col as usize))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:224:58 [INFO] [stdout] | [INFO] [stdout] 224 | state.set(i, j, sbox.get((hex_row as usize), (hex_col as usize))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 224 - state.set(i, j, sbox.get((hex_row as usize), (hex_col as usize))); [INFO] [stdout] 224 + state.set(i, j, sbox.get((hex_row as usize), hex_col as usize)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:145:67 [INFO] [stdout] | [INFO] [stdout] 145 | let mut col = matrix::from_elems(1, 4, &[round_key.get(0, (i-1)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 145 - let mut col = matrix::from_elems(1, 4, &[round_key.get(0, (i-1)), [INFO] [stdout] 145 + let mut col = matrix::from_elems(1, 4, &[round_key.get(0, i-1), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:234:36 [INFO] [stdout] | [INFO] [stdout] 234 | round_key_chunk.set(i, (j % 4), round_key.get(i, j)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 234 - round_key_chunk.set(i, (j % 4), round_key.get(i, j)); [INFO] [stdout] 234 + round_key_chunk.set(i, j % 4, round_key.get(i, j)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:146:67 [INFO] [stdout] | [INFO] [stdout] 146 | ... round_key.get(1, (i-1)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 146 - round_key.get(1, (i-1)), [INFO] [stdout] 146 + round_key.get(1, i-1), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:147:67 [INFO] [stdout] | [INFO] [stdout] 147 | ... round_key.get(2, (i-1)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 147 - round_key.get(2, (i-1)), [INFO] [stdout] 147 + round_key.get(2, i-1), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:148:67 [INFO] [stdout] | [INFO] [stdout] 148 | ... round_key.get(3, (i-1))]); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 148 - round_key.get(3, (i-1))]); [INFO] [stdout] 148 + round_key.get(3, i-1)]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:159:51 [INFO] [stdout] | [INFO] [stdout] 159 | xor_matricies(&mut col, &get_rcon_col((i / 4))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 159 - xor_matricies(&mut col, &get_rcon_col((i / 4))); [INFO] [stdout] 159 + xor_matricies(&mut col, &get_rcon_col(i / 4)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:163:68 [INFO] [stdout] | [INFO] [stdout] 163 | let init_col = matrix::from_elems(1, 4, &[round_key.get(0, (i-4)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 163 - let init_col = matrix::from_elems(1, 4, &[round_key.get(0, (i-4)), [INFO] [stdout] 163 + let init_col = matrix::from_elems(1, 4, &[round_key.get(0, i-4), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:164:68 [INFO] [stdout] | [INFO] [stdout] 164 | ... round_key.get(1, (i-4)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 164 - round_key.get(1, (i-4)), [INFO] [stdout] 164 + round_key.get(1, i-4), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:165:68 [INFO] [stdout] | [INFO] [stdout] 165 | ... round_key.get(2, (i-4)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 165 - round_key.get(2, (i-4)), [INFO] [stdout] 165 + round_key.get(2, i-4), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:166:68 [INFO] [stdout] | [INFO] [stdout] 166 | ... round_key.get(3, (i-4))]); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 166 - round_key.get(3, (i-4))]); [INFO] [stdout] 166 + round_key.get(3, i-4)]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:224:38 [INFO] [stdout] | [INFO] [stdout] 224 | state.set(i, j, sbox.get((hex_row as usize), (hex_col as usize))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 224 - state.set(i, j, sbox.get((hex_row as usize), (hex_col as usize))); [INFO] [stdout] 224 + state.set(i, j, sbox.get(hex_row as usize, (hex_col as usize))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:224:58 [INFO] [stdout] | [INFO] [stdout] 224 | state.set(i, j, sbox.get((hex_row as usize), (hex_col as usize))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 224 - state.set(i, j, sbox.get((hex_row as usize), (hex_col as usize))); [INFO] [stdout] 224 + state.set(i, j, sbox.get((hex_row as usize), hex_col as usize)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:234:36 [INFO] [stdout] | [INFO] [stdout] 234 | round_key_chunk.set(i, (j % 4), round_key.get(i, j)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 234 - round_key_chunk.set(i, (j % 4), round_key.get(i, j)); [INFO] [stdout] 234 + round_key_chunk.set(i, j % 4, round_key.get(i, j)); [INFO] [stdout] | [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 1.30s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "1a547d5798a6af6dac900a9c834b78911b77f8a73705bdbe1ebc0efc124a81f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a547d5798a6af6dac900a9c834b78911b77f8a73705bdbe1ebc0efc124a81f6", kill_on_drop: false }` [INFO] [stdout] 1a547d5798a6af6dac900a9c834b78911b77f8a73705bdbe1ebc0efc124a81f6