[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#b359ccf1b0b7b2d2c1c4932344b806e68bd053a9 for pr-105483 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanoadragon453%2Frust-aes" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anoadragon453/rust-aes on toolchain b359ccf1b0b7b2d2c1c4932344b806e68bd053a9 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "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-0/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: "/workspace/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-complex v0.1.40 [INFO] [stderr] Downloaded num-bigint v0.1.40 [INFO] [stderr] Downloaded numrs v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2496a6538faa000cc0458247c4d64598702f7051746a49e290f6d0639dacabcd [INFO] running `Command { std: "docker" "start" "-a" "2496a6538faa000cc0458247c4d64598702f7051746a49e290f6d0639dacabcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2496a6538faa000cc0458247c4d64598702f7051746a49e290f6d0639dacabcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2496a6538faa000cc0458247c4d64598702f7051746a49e290f6d0639dacabcd", kill_on_drop: false }` [INFO] [stdout] 2496a6538faa000cc0458247c4d64598702f7051746a49e290f6d0639dacabcd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fcc1fc1f0c14f0a7112da42e2f7e0fdc2bab36fc75e070de133f64170b712185 [INFO] running `Command { std: "docker" "start" "-a" "fcc1fc1f0c14f0a7112da42e2f7e0fdc2bab36fc75e070de133f64170b712185", 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: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: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: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 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 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: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: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: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: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: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: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: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: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: 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 2.00s [INFO] running `Command { std: "docker" "inspect" "fcc1fc1f0c14f0a7112da42e2f7e0fdc2bab36fc75e070de133f64170b712185", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcc1fc1f0c14f0a7112da42e2f7e0fdc2bab36fc75e070de133f64170b712185", kill_on_drop: false }` [INFO] [stdout] fcc1fc1f0c14f0a7112da42e2f7e0fdc2bab36fc75e070de133f64170b712185