[INFO] cloning repository https://github.com/ZANYAT0/pba-aes-activity [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZANYAT0/pba-aes-activity" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZANYAT0%2Fpba-aes-activity", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZANYAT0%2Fpba-aes-activity'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fe9a928eebfb49beb56e68167b37a94aeff19cf3 [INFO] checking ZANYAT0/pba-aes-activity against 34f4a807e2d84184fff4e42d4539092569b6fcd6 for pr-164081 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZANYAT0%2Fpba-aes-activity" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ZANYAT0/pba-aes-activity [INFO] finished tweaking git repo https://github.com/ZANYAT0/pba-aes-activity [INFO] tweaked toml for git repo https://github.com/ZANYAT0/pba-aes-activity written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ZANYAT0/pba-aes-activity on toolchain 34f4a807e2d84184fff4e42d4539092569b6fcd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+34f4a807e2d84184fff4e42d4539092569b6fcd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ZANYAT0/pba-aes-activity 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" "+34f4a807e2d84184fff4e42d4539092569b6fcd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 19 packages to highest compatible versions [INFO] [stderr] Adding cipher v0.5.2 [INFO] [stderr] Updating crypto-common v0.2.0-pre.5 -> v0.2.2 [INFO] [stderr] Adding generic-array v1.3.3 (available: v1.4.5) [INFO] [stderr] Adding getrandom v0.3.4 [INFO] [stderr] Adding hybrid-array v0.4.10 (available: v0.4.15) [INFO] [stderr] Updating inout v0.2.0-pre.4 -> v0.2.5 [INFO] [stderr] Adding ppv-lite86 v0.2.21 [INFO] [stderr] Adding proc-macro2 v1.0.107 [INFO] [stderr] Adding quote v1.0.47 [INFO] [stderr] Adding r-efi v5.3.0 [INFO] [stderr] Adding rand v0.9.5 (available: v0.10.3) [INFO] [stderr] Adding rand_chacha v0.9.0 [INFO] [stderr] Adding rand_core v0.9.5 [INFO] [stderr] Adding rustversion v1.0.23 [INFO] [stderr] Adding syn v2.0.119 [INFO] [stderr] Adding wasip2 v1.0.4+wasi-0.2.12 [INFO] [stderr] Adding wit-bindgen v0.57.1 [INFO] [stderr] Updating zerocopy v0.8.0-alpha.6 -> v0.8.63 [INFO] [stderr] Updating zerocopy-derive v0.8.0-alpha.6 -> v0.8.63 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded generic-array v1.3.3 [INFO] [stderr] Downloaded inout v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 6fedf4374f477d1b7d343661086166c22eec84560dcdc3d913a8ae9e0f9b84f6 [INFO] running `Command { std: "docker" "start" "6fedf4374f477d1b7d343661086166c22eec84560dcdc3d913a8ae9e0f9b84f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fedf4374f477d1b7d343661086166c22eec84560dcdc3d913a8ae9e0f9b84f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6fedf4374f477d1b7d343661086166c22eec84560dcdc3d913a8ae9e0f9b84f6" "/opt/rustwide/cargo-home/bin/cargo" "+34f4a807e2d84184fff4e42d4539092569b6fcd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fedf4374f477d1b7d343661086166c22eec84560dcdc3d913a8ae9e0f9b84f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6fedf4374f477d1b7d343661086166c22eec84560dcdc3d913a8ae9e0f9b84f6" "/opt/rustwide/cargo-home/bin/cargo" "+34f4a807e2d84184fff4e42d4539092569b6fcd6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling zerocopy v0.8.63 [INFO] [stderr] Compiling rustversion v1.0.23 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking hybrid-array v0.4.10 [INFO] [stderr] Checking generic-array v1.3.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking inout v0.2.5 [INFO] [stderr] Checking crypto-common v0.2.2 [INFO] [stderr] Checking cipher v0.5.2 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.5 [INFO] [stderr] Checking pba-aes-activity v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BlockCipher` [INFO] [stdout] --> src/main.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 19 | cipher::{generic_array::GenericArray, BlockCipher, BlockDecrypt, BlockEncrypt, KeyInit}, [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: `rand::Rng` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plain_text` [INFO] [stdout] --> src/main.rs:192:16 [INFO] [stdout] | [INFO] [stdout] 192 | fn cbc_encrypt(plain_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plain_text` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/main.rs:192:37 [INFO] [stdout] | [INFO] [stdout] 192 | fn cbc_encrypt(plain_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cipher_text` [INFO] [stdout] --> src/main.rs:197:16 [INFO] [stdout] | [INFO] [stdout] 197 | fn cbc_decrypt(cipher_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/main.rs:197:38 [INFO] [stdout] | [INFO] [stdout] 197 | fn cbc_decrypt(cipher_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plain_text` [INFO] [stdout] --> src/main.rs:217:16 [INFO] [stdout] | [INFO] [stdout] 217 | fn ctr_encrypt(plain_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plain_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/main.rs:217:37 [INFO] [stdout] | [INFO] [stdout] 217 | fn ctr_encrypt(plain_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cipher_text` [INFO] [stdout] --> src/main.rs:222:16 [INFO] [stdout] | [INFO] [stdout] 222 | fn ctr_decrypt(cipher_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/main.rs:222:38 [INFO] [stdout] | [INFO] [stdout] 222 | fn ctr_decrypt(cipher_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `xor_arrays` is never used [INFO] [stdout] --> src/main.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn xor_arrays(a: [u8; N], b: [u8; N]) -> [u8; N] { [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 `aes_encrypt` is never used [INFO] [stdout] --> src/main.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn aes_encrypt(data: [u8; BLOCK_SIZE], key: &[u8; BLOCK_SIZE]) -> [u8; BLOCK_SIZE] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `aes_decrypt` is never used [INFO] [stdout] --> src/main.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn aes_decrypt(data: [u8; BLOCK_SIZE], key: &[u8; BLOCK_SIZE]) -> [u8; BLOCK_SIZE] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cbc_decrypt` is never used [INFO] [stdout] --> src/main.rs:197:4 [INFO] [stdout] | [INFO] [stdout] 197 | fn cbc_decrypt(cipher_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ctr_encrypt` is never used [INFO] [stdout] --> src/main.rs:217:4 [INFO] [stdout] | [INFO] [stdout] 217 | fn ctr_encrypt(plain_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ctr_decrypt` is never used [INFO] [stdout] --> src/main.rs:222:4 [INFO] [stdout] | [INFO] [stdout] 222 | fn ctr_decrypt(cipher_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BlockCipher` [INFO] [stdout] --> src/main.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 19 | cipher::{generic_array::GenericArray, BlockCipher, BlockDecrypt, BlockEncrypt, KeyInit}, [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: `rand::Rng` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plain_text` [INFO] [stdout] --> src/main.rs:192:16 [INFO] [stdout] | [INFO] [stdout] 192 | fn cbc_encrypt(plain_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plain_text` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/main.rs:192:37 [INFO] [stdout] | [INFO] [stdout] 192 | fn cbc_encrypt(plain_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cipher_text` [INFO] [stdout] --> src/main.rs:197:16 [INFO] [stdout] | [INFO] [stdout] 197 | fn cbc_decrypt(cipher_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/main.rs:197:38 [INFO] [stdout] | [INFO] [stdout] 197 | fn cbc_decrypt(cipher_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plain_text` [INFO] [stdout] --> src/main.rs:217:16 [INFO] [stdout] | [INFO] [stdout] 217 | fn ctr_encrypt(plain_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plain_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/main.rs:217:37 [INFO] [stdout] | [INFO] [stdout] 217 | fn ctr_encrypt(plain_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cipher_text` [INFO] [stdout] --> src/main.rs:222:16 [INFO] [stdout] | [INFO] [stdout] 222 | fn ctr_decrypt(cipher_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/main.rs:222:38 [INFO] [stdout] | [INFO] [stdout] 222 | fn ctr_decrypt(cipher_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `xor_arrays` is never used [INFO] [stdout] --> src/main.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn xor_arrays(a: [u8; N], b: [u8; N]) -> [u8; N] { [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 `aes_encrypt` is never used [INFO] [stdout] --> src/main.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn aes_encrypt(data: [u8; BLOCK_SIZE], key: &[u8; BLOCK_SIZE]) -> [u8; BLOCK_SIZE] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `aes_decrypt` is never used [INFO] [stdout] --> src/main.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn aes_decrypt(data: [u8; BLOCK_SIZE], key: &[u8; BLOCK_SIZE]) -> [u8; BLOCK_SIZE] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cbc_decrypt` is never used [INFO] [stdout] --> src/main.rs:197:4 [INFO] [stdout] | [INFO] [stdout] 197 | fn cbc_decrypt(cipher_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ctr_encrypt` is never used [INFO] [stdout] --> src/main.rs:217:4 [INFO] [stdout] | [INFO] [stdout] 217 | fn ctr_encrypt(plain_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ctr_decrypt` is never used [INFO] [stdout] --> src/main.rs:222:4 [INFO] [stdout] | [INFO] [stdout] 222 | fn ctr_decrypt(cipher_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `cipher` [INFO] [stderr] --> Cargo.toml:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | cipher = "0.5.0-pre.4" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `cipher` [INFO] [stderr] warning: unused dependency `generic-array` [INFO] [stderr] --> Cargo.toml:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | generic-array = "1.0.0" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `generic-array` [INFO] [stderr] warning: `pba-aes-activity` (manifest) generated 2 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.20s [INFO] running `Command { std: "docker" "inspect" "6fedf4374f477d1b7d343661086166c22eec84560dcdc3d913a8ae9e0f9b84f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fedf4374f477d1b7d343661086166c22eec84560dcdc3d913a8ae9e0f9b84f6", kill_on_drop: false }` [INFO] [stdout] 6fedf4374f477d1b7d343661086166c22eec84560dcdc3d913a8ae9e0f9b84f6