[INFO] cloning repository https://github.com/oerni74/cryptopals-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oerni74/cryptopals-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foerni74%2Fcryptopals-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foerni74%2Fcryptopals-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c37f067efdb539e8a912088891f036659ecdc453 [INFO] checking oerni74/cryptopals-rust against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foerni74%2Fcryptopals-rust" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/oerni74/cryptopals-rust on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/oerni74/cryptopals-rust [INFO] finished tweaking git repo https://github.com/oerni74/cryptopals-rust [INFO] tweaked toml for git repo https://github.com/oerni74/cryptopals-rust written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/oerni74/cryptopals-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4e9ec78fbf4cea5b4b9b8cf02d94f74252910d97a8efb99f9be1a9510fecdab4 [INFO] running `Command { std: "docker" "start" "-a" "4e9ec78fbf4cea5b4b9b8cf02d94f74252910d97a8efb99f9be1a9510fecdab4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e9ec78fbf4cea5b4b9b8cf02d94f74252910d97a8efb99f9be1a9510fecdab4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e9ec78fbf4cea5b4b9b8cf02d94f74252910d97a8efb99f9be1a9510fecdab4", kill_on_drop: false }` [INFO] [stdout] 4e9ec78fbf4cea5b4b9b8cf02d94f74252910d97a8efb99f9be1a9510fecdab4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69a3961fa4a49f3151e96b489125858eb62a2bb77496d86b96a99fbd15986ca6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "69a3961fa4a49f3151e96b489125858eb62a2bb77496d86b96a99fbd15986ca6", kill_on_drop: false }` [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking set1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/challenge1_and_2.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/challenge1_and_2.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / macro_rules! hashmap { [INFO] [stdout] 8 | | // macro takes one argument, which can repeat zero or more times (* indicates that) [INFO] [stdout] 9 | | ($( $key: expr => $val: expr ),*) => {{ [INFO] [stdout] 10 | | // macro expands to this block [INFO] [stdout] ... | [INFO] [stdout] 14 | | }} [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/challenge1_and_2.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/challenge1_and_2.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / macro_rules! hashmap { [INFO] [stdout] 8 | | // macro takes one argument, which can repeat zero or more times (* indicates that) [INFO] [stdout] 9 | | ($( $key: expr => $val: expr ),*) => {{ [INFO] [stdout] 10 | | // macro expands to this block [INFO] [stdout] ... | [INFO] [stdout] 14 | | }} [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/challenge3.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut result = String::from(""); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `score` is never read [INFO] [stdout] --> src/challenge3.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let mut score = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_english_frequencies_as_map` [INFO] [stdout] --> src/challenge3.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn get_english_frequencies_as_map() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `single_char_xor` [INFO] [stdout] --> src/challenge3.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn single_char_xor(input: &str, c: u8) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `score_text` [INFO] [stdout] --> src/challenge3.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn score_text(input: &str) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `decrypt_single_char_xor_cipher` [INFO] [stdout] --> src/challenge3.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn decrypt_single_char_xor_cipher(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_single_char_xored_text` [INFO] [stdout] --> src/challenge4.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn find_single_char_xored_text() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `repeated_xor` [INFO] [stdout] --> src/challenge5.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn repeated_xor(input: &str, key: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `break_it` [INFO] [stdout] --> src/challenge6.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn break_it() {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/challenge3.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut result = String::from(""); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `score` is never read [INFO] [stdout] --> src/challenge3.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let mut score = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `encode_hex_to_base64` [INFO] [stdout] --> src/challenge1_and_2.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn encode_hex_to_base64(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `xor` [INFO] [stdout] --> src/challenge1_and_2.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn xor(arg1: &str, arg2: &str) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_english_frequencies_as_map` [INFO] [stdout] --> src/challenge3.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn get_english_frequencies_as_map() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `single_char_xor` [INFO] [stdout] --> src/challenge3.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn single_char_xor(input: &str, c: u8) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `score_text` [INFO] [stdout] --> src/challenge3.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn score_text(input: &str) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `decrypt_single_char_xor_cipher` [INFO] [stdout] --> src/challenge3.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn decrypt_single_char_xor_cipher(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_single_char_xored_text` [INFO] [stdout] --> src/challenge4.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn find_single_char_xored_text() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `repeated_xor` [INFO] [stdout] --> src/challenge5.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn repeated_xor(input: &str, key: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `break_it` [INFO] [stdout] --> src/challenge6.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn break_it() {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 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.71s [INFO] running `Command { std: "docker" "inspect" "69a3961fa4a49f3151e96b489125858eb62a2bb77496d86b96a99fbd15986ca6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69a3961fa4a49f3151e96b489125858eb62a2bb77496d86b96a99fbd15986ca6", kill_on_drop: false }` [INFO] [stdout] 69a3961fa4a49f3151e96b489125858eb62a2bb77496d86b96a99fbd15986ca6