[INFO] cloning repository https://github.com/bantic/cryptopals-v2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bantic/cryptopals-v2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbantic%2Fcryptopals-v2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbantic%2Fcryptopals-v2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 907c75dae6599a6a49bf8302384ffbef9537191b [INFO] checking bantic/cryptopals-v2 against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbantic%2Fcryptopals-v2" "/workspace/builds/worker-115/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-115/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bantic/cryptopals-v2 on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bantic/cryptopals-v2 [INFO] finished tweaking git repo https://github.com/bantic/cryptopals-v2 [INFO] tweaked toml for git repo https://github.com/bantic/cryptopals-v2 written to /workspace/builds/worker-115/source/Cargo.toml [INFO] crate git repo https://github.com/bantic/cryptopals-v2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-115/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] edfc6ffe520146548cf357703f84163f48180cb4db246ffa0ba0e49fef9aa491 [INFO] running `Command { std: "docker" "start" "-a" "edfc6ffe520146548cf357703f84163f48180cb4db246ffa0ba0e49fef9aa491", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edfc6ffe520146548cf357703f84163f48180cb4db246ffa0ba0e49fef9aa491", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edfc6ffe520146548cf357703f84163f48180cb4db246ffa0ba0e49fef9aa491", kill_on_drop: false }` [INFO] [stdout] edfc6ffe520146548cf357703f84163f48180cb4db246ffa0ba0e49fef9aa491 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22c2d480bc5a27fa78d9f1de5d78305a5cc32bbbbcbbfedf61fb800fbdcc59ae [INFO] running `Command { std: "docker" "start" "-a" "22c2d480bc5a27fa78d9f1de5d78305a5cc32bbbbcbbfedf61fb800fbdcc59ae", kill_on_drop: false }` [INFO] [stderr] Checking cryptopals-v2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/set1/mod.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 190 | 0...9 => (b'0' + d) as char, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/set1/mod.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | 10...15 => (b'a' + (d - 10)) as char, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/set1/mod.rs:198:11 [INFO] [stdout] | [INFO] [stdout] 198 | b'A'...b'F' => c - b'A' + 10, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/set1/mod.rs:199:11 [INFO] [stdout] | [INFO] [stdout] 199 | b'a'...b'f' => c - b'a' + 10, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/set1/mod.rs:200:11 [INFO] [stdout] | [INFO] [stdout] 200 | b'0'...b'9' => c - b'0', [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/set1/mod.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 190 | 0...9 => (b'0' + d) as char, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/set1/mod.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | 10...15 => (b'a' + (d - 10)) as char, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/set1/mod.rs:198:11 [INFO] [stdout] | [INFO] [stdout] 198 | b'A'...b'F' => c - b'A' + 10, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/set1/mod.rs:199:11 [INFO] [stdout] | [INFO] [stdout] 199 | b'a'...b'f' => c - b'a' + 10, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/set1/mod.rs:200:11 [INFO] [stdout] | [INFO] [stdout] 200 | b'0'...b'9' => c - b'0', [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `letter_frequency` [INFO] [stdout] --> src/set1/mod.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | fn letter_frequency(c: &char) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_alphabetic` [INFO] [stdout] --> src/set1/mod.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 38 | fn is_alphabetic(c: &char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `chi_squared` [INFO] [stdout] --> src/set1/mod.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn chi_squared(s: &str) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `top_bits` [INFO] [stdout] --> src/set1/mod.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn top_bits(v: u8, hi: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bottom_bits` [INFO] [stdout] --> src/set1/mod.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn bottom_bits(v: u8, lo: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `decrypt_single_byte_xor` [INFO] [stdout] --> src/set1/mod.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn decrypt_single_byte_xor(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `single_byte` [INFO] [stdout] --> src/set1/mod.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn single_byte(lhs: &str, rhs: u8) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fixed` [INFO] [stdout] --> src/set1/mod.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn fixed(lhs: &str, rhs: &str) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fixed_to_str` [INFO] [stdout] --> src/set1/mod.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn fixed_to_str(lhs: &str, rhs: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `from_str` [INFO] [stdout] --> src/set1/mod.rs:144:10 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn from_str(s: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_str` [INFO] [stdout] --> src/set1/mod.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn to_str(data: Vec) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_ascii_str` [INFO] [stdout] --> src/set1/mod.rs:153:10 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn to_ascii_str(data: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `from_u8` [INFO] [stdout] --> src/set1/mod.rs:161:6 [INFO] [stdout] | [INFO] [stdout] 161 | fn from_u8(data: Vec) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_u8` [INFO] [stdout] --> src/set1/mod.rs:174:6 [INFO] [stdout] | [INFO] [stdout] 174 | fn to_u8(s: &str) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `char_val` [INFO] [stdout] --> src/set1/mod.rs:188:6 [INFO] [stdout] | [INFO] [stdout] 188 | fn char_val(d: u8) -> char { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hex_val` [INFO] [stdout] --> src/set1/mod.rs:196:6 [INFO] [stdout] | [INFO] [stdout] 196 | fn hex_val(c: u8) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BASE64_CHARS` [INFO] [stdout] --> src/set1/mod.rs:207:3 [INFO] [stdout] | [INFO] [stdout] 207 | / const BASE64_CHARS: [char; 64] = [ [INFO] [stdout] 208 | | 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', [INFO] [stdout] 209 | | 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', [INFO] [stdout] 210 | | 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '0', '1', '2', '3', '4', [INFO] [stdout] 211 | | '5', '6', '7', '8', '9', '+', '/', [INFO] [stdout] 212 | | ]; [INFO] [stdout] | |____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_base64` [INFO] [stdout] --> src/set1/mod.rs:214:10 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn to_base64(data: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `u8_8bit_to_6bit` [INFO] [stdout] --> src/set1/mod.rs:232:10 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn u8_8bit_to_6bit(data: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `base64_val` [INFO] [stdout] --> src/set1/mod.rs:265:6 [INFO] [stdout] | [INFO] [stdout] 265 | fn base64_val(c: u8) -> char { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.15s [INFO] running `Command { std: "docker" "inspect" "22c2d480bc5a27fa78d9f1de5d78305a5cc32bbbbcbbfedf61fb800fbdcc59ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22c2d480bc5a27fa78d9f1de5d78305a5cc32bbbbcbbfedf61fb800fbdcc59ae", kill_on_drop: false }` [INFO] [stdout] 22c2d480bc5a27fa78d9f1de5d78305a5cc32bbbbcbbfedf61fb800fbdcc59ae