[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 try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 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-66/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-66/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bantic/cryptopals-v2 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-66/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6788c1c2b9677ea82c05a90812a4875839d12b8845283dab550c654249d8d1ca [INFO] running `Command { std: "docker" "start" "-a" "6788c1c2b9677ea82c05a90812a4875839d12b8845283dab550c654249d8d1ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6788c1c2b9677ea82c05a90812a4875839d12b8845283dab550c654249d8d1ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6788c1c2b9677ea82c05a90812a4875839d12b8845283dab550c654249d8d1ca", kill_on_drop: false }` [INFO] [stdout] 6788c1c2b9677ea82c05a90812a4875839d12b8845283dab550c654249d8d1ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7266b4edd1c506b40627ad03811034f947814ef9fe63ab70b98992b74e2b2d2 [INFO] running `Command { std: "docker" "start" "-a" "c7266b4edd1c506b40627ad03811034f947814ef9fe63ab70b98992b74e2b2d2", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking cryptopals-v2 v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/set1/mod.rs (5 fixes) [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: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.59s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking cryptopals-v2 v0.1.0 (/tmp/fixit) [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: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.23s [INFO] running `Command { std: "docker" "inspect" "c7266b4edd1c506b40627ad03811034f947814ef9fe63ab70b98992b74e2b2d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7266b4edd1c506b40627ad03811034f947814ef9fe63ab70b98992b74e2b2d2", kill_on_drop: false }` [INFO] [stdout] c7266b4edd1c506b40627ad03811034f947814ef9fe63ab70b98992b74e2b2d2