[INFO] cloning repository https://github.com/jordanstephens/cryptopals
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jordanstephens/cryptopals" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjordanstephens%2Fcryptopals", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjordanstephens%2Fcryptopals'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 235dbdedf6fdf1df3d7d0250ac38d6cb636d0720
[INFO] testing jordanstephens/cryptopals against 1.62.0 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjordanstephens%2Fcryptopals" "/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/jordanstephens/cryptopals on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/jordanstephens/cryptopals
[INFO] finished tweaking git repo https://github.com/jordanstephens/cryptopals
[INFO] tweaked toml for git repo https://github.com/jordanstephens/cryptopals written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/jordanstephens/cryptopals already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ea62969290650555e86bd1595383aee2d139874b34a84fa2c3533842d3eead5d
[INFO] running `Command { std: "docker" "start" "-a" "ea62969290650555e86bd1595383aee2d139874b34a84fa2c3533842d3eead5d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ea62969290650555e86bd1595383aee2d139874b34a84fa2c3533842d3eead5d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ea62969290650555e86bd1595383aee2d139874b34a84fa2c3533842d3eead5d", kill_on_drop: false }`
[INFO] [stdout] ea62969290650555e86bd1595383aee2d139874b34a84fa2c3533842d3eead5d
[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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ffbf0f966145703795bc8e70158b0c55838aa72d1ed53177dd0a2db7c9263dc6
[INFO] running `Command { std: "docker" "start" "-a" "ffbf0f966145703795bc8e70158b0c55838aa72d1ed53177dd0a2db7c9263dc6", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]    Compiling scopeguard v1.0.0
[INFO] [stderr]    Compiling rayon-core v1.7.0
[INFO] [stderr]    Compiling either v1.5.3
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling crossbeam-utils v0.7.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.0
[INFO] [stderr]    Compiling num-traits v0.2.10
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling memoffset v0.5.3
[INFO] [stderr]    Compiling num_cpus v1.11.1
[INFO] [stderr]    Compiling crossbeam-queue v0.2.1
[INFO] [stderr]    Compiling crossbeam-deque v0.7.2
[INFO] [stderr]    Compiling ordered-float v1.0.2
[INFO] [stderr]    Compiling rayon v1.3.0
[INFO] [stderr]    Compiling cryptopals v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct is never constructed: `Buffer`
[INFO] [stdout]  --> src/buffer.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Buffer {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/buffer.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 |   pub fn new(bytes: Vec<u8>) -> Self {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `from_hex`
[INFO] [stdout]   --> src/buffer.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 |   pub fn from_hex(hex_str: &str) -> Result<Self, Error> {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `to_base64`
[INFO] [stdout]   --> src/buffer.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 |   pub fn to_base64(&self) -> String {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `to_hex`
[INFO] [stdout]   --> src/buffer.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 |   pub fn to_hex(&self) -> String {
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `xor`
[INFO] [stdout]   --> src/buffer.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 |   pub fn xor(&self, other: &Buffer) -> Result<Buffer, Error> {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `from_hex`
[INFO] [stdout]  --> src/decoder.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn from_hex(input: &str) -> Result<Vec<u8>, Error> {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `hex_val`
[INFO] [stdout]   --> src/decoder.rs:17:4
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn hex_val(c: u8) -> Result<u8, Error> {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `A`
[INFO] [stdout]  --> src/distribution.rs:5:3
[INFO] [stdout]   |
[INFO] [stdout] 5 |   A,
[INFO] [stdout]   |   ^
[INFO] [stdout]   |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/distribution.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]   |          ^^^^^        ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `B`
[INFO] [stdout]  --> src/distribution.rs:6:3
[INFO] [stdout]   |
[INFO] [stdout] 6 |   B,
[INFO] [stdout]   |   ^
[INFO] [stdout]   |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/distribution.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]   |          ^^^^^        ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `C`
[INFO] [stdout]  --> src/distribution.rs:7:3
[INFO] [stdout]   |
[INFO] [stdout] 7 |   C,
[INFO] [stdout]   |   ^
[INFO] [stdout]   |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/distribution.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]   |          ^^^^^        ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `D`
[INFO] [stdout]  --> src/distribution.rs:8:3
[INFO] [stdout]   |
[INFO] [stdout] 8 |   D,
[INFO] [stdout]   |   ^
[INFO] [stdout]   |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/distribution.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]   |          ^^^^^        ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `E`
[INFO] [stdout]  --> src/distribution.rs:9:3
[INFO] [stdout]   |
[INFO] [stdout] 9 |   E,
[INFO] [stdout]   |   ^
[INFO] [stdout]   |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/distribution.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]   |          ^^^^^        ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `F`
[INFO] [stdout]   --> src/distribution.rs:10:3
[INFO] [stdout]    |
[INFO] [stdout] 10 |   F,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `G`
[INFO] [stdout]   --> src/distribution.rs:11:3
[INFO] [stdout]    |
[INFO] [stdout] 11 |   G,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `H`
[INFO] [stdout]   --> src/distribution.rs:12:3
[INFO] [stdout]    |
[INFO] [stdout] 12 |   H,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `I`
[INFO] [stdout]   --> src/distribution.rs:13:3
[INFO] [stdout]    |
[INFO] [stdout] 13 |   I,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `J`
[INFO] [stdout]   --> src/distribution.rs:14:3
[INFO] [stdout]    |
[INFO] [stdout] 14 |   J,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `K`
[INFO] [stdout]   --> src/distribution.rs:15:3
[INFO] [stdout]    |
[INFO] [stdout] 15 |   K,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `L`
[INFO] [stdout]   --> src/distribution.rs:16:3
[INFO] [stdout]    |
[INFO] [stdout] 16 |   L,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `M`
[INFO] [stdout]   --> src/distribution.rs:17:3
[INFO] [stdout]    |
[INFO] [stdout] 17 |   M,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `N`
[INFO] [stdout]   --> src/distribution.rs:18:3
[INFO] [stdout]    |
[INFO] [stdout] 18 |   N,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `O`
[INFO] [stdout]   --> src/distribution.rs:19:3
[INFO] [stdout]    |
[INFO] [stdout] 19 |   O,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `P`
[INFO] [stdout]   --> src/distribution.rs:20:3
[INFO] [stdout]    |
[INFO] [stdout] 20 |   P,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Q`
[INFO] [stdout]   --> src/distribution.rs:21:3
[INFO] [stdout]    |
[INFO] [stdout] 21 |   Q,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `R`
[INFO] [stdout]   --> src/distribution.rs:22:3
[INFO] [stdout]    |
[INFO] [stdout] 22 |   R,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `S`
[INFO] [stdout]   --> src/distribution.rs:23:3
[INFO] [stdout]    |
[INFO] [stdout] 23 |   S,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `T`
[INFO] [stdout]   --> src/distribution.rs:24:3
[INFO] [stdout]    |
[INFO] [stdout] 24 |   T,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `U`
[INFO] [stdout]   --> src/distribution.rs:25:3
[INFO] [stdout]    |
[INFO] [stdout] 25 |   U,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `V`
[INFO] [stdout]   --> src/distribution.rs:26:3
[INFO] [stdout]    |
[INFO] [stdout] 26 |   V,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `W`
[INFO] [stdout]   --> src/distribution.rs:27:3
[INFO] [stdout]    |
[INFO] [stdout] 27 |   W,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `X`
[INFO] [stdout]   --> src/distribution.rs:28:3
[INFO] [stdout]    |
[INFO] [stdout] 28 |   X,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Y`
[INFO] [stdout]   --> src/distribution.rs:29:3
[INFO] [stdout]    |
[INFO] [stdout] 29 |   Y,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Z`
[INFO] [stdout]   --> src/distribution.rs:30:3
[INFO] [stdout]    |
[INFO] [stdout] 30 |   Z,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `WHITESPACE`
[INFO] [stdout]   --> src/distribution.rs:31:3
[INFO] [stdout]    |
[INFO] [stdout] 31 |   WHITESPACE,
[INFO] [stdout]    |   ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `OTHER`
[INFO] [stdout]   --> src/distribution.rs:32:3
[INFO] [stdout]    |
[INFO] [stdout] 32 |   OTHER,
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `UNKNOWN`
[INFO] [stdout]   --> src/distribution.rs:33:3
[INFO] [stdout]    |
[INFO] [stdout] 33 |   UNKNOWN,
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `ENGLISH`
[INFO] [stdout]   --> src/distribution.rs:36:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | / const ENGLISH: [(Key, f32, &str); 29] = [
[INFO] [stdout] 37 | |   (Key::A, 0.05213904, "a"),
[INFO] [stdout] 38 | |   (Key::B, 0.00993984, "b"),
[INFO] [stdout] 39 | |   (Key::C, 0.01738712, "c"),
[INFO] [stdout] ...  |
[INFO] [stdout] 69 | |   (Key::UNKNOWN, 0.0, ""),
[INFO] [stdout] 70 | | ];
[INFO] [stdout]    | |__^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Distribution`
[INFO] [stdout]   --> src/distribution.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub struct Distribution {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/distribution.rs:78:10
[INFO] [stdout]    |
[INFO] [stdout] 78 |   pub fn new() -> Self {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `from`
[INFO] [stdout]   --> src/distribution.rs:84:10
[INFO] [stdout]    |
[INFO] [stdout] 84 |   pub fn from(input: &[u8]) -> Self {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `empty`
[INFO] [stdout]   --> src/distribution.rs:99:10
[INFO] [stdout]    |
[INFO] [stdout] 99 |   pub fn empty() -> Self {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `english`
[INFO] [stdout]    --> src/distribution.rs:110:10
[INFO] [stdout]     |
[INFO] [stdout] 110 |   pub fn english() -> Self {
[INFO] [stdout]     |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `scale`
[INFO] [stdout]    --> src/distribution.rs:121:10
[INFO] [stdout]     |
[INFO] [stdout] 121 |   pub fn scale(&mut self, n: f32) -> &Self {
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `score`
[INFO] [stdout]    --> src/distribution.rs:127:8
[INFO] [stdout]     |
[INFO] [stdout] 127 | pub fn score(sample: &[u8]) -> f32 {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `distance`
[INFO] [stdout]    --> src/distribution.rs:134:8
[INFO] [stdout]     |
[INFO] [stdout] 134 | pub fn distance(observed: &Distribution, expected: &Distribution) -> f32 {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `chi_squared_i`
[INFO] [stdout]    --> src/distribution.rs:142:4
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn chi_squared_i(observed: f32, expected: f32) -> f32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `chi_squared`
[INFO] [stdout]    --> src/distribution.rs:152:4
[INFO] [stdout]     |
[INFO] [stdout] 152 | fn chi_squared(observed: &Vec<f32>, expected: &Vec<f32>) -> f32 {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `to_hex`
[INFO] [stdout]  --> src/encoder.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn to_hex(bytes: &[u8]) -> String {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `to_base64`
[INFO] [stdout]   --> src/encoder.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn to_base64(bytes: &[u8]) -> String {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `convert_chunk`
[INFO] [stdout]   --> src/encoder.rs:46:4
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn convert_chunk(chunk: &[u8], charset: &Charset) -> Vec<u8> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Charset`
[INFO] [stdout]   --> src/encoder.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | struct Charset {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/encoder.rs:67:6
[INFO] [stdout]    |
[INFO] [stdout] 67 |   fn new(chars: &str) -> Self {
[INFO] [stdout]    |      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `base64`
[INFO] [stdout]   --> src/encoder.rs:73:6
[INFO] [stdout]    |
[INFO] [stdout] 73 |   fn base64() -> Self {
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `hex`
[INFO] [stdout]   --> src/encoder.rs:77:6
[INFO] [stdout]    |
[INFO] [stdout] 77 |   fn hex() -> Self {
[INFO] [stdout]    |      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `DecodeHexError`
[INFO] [stdout]  --> src/error.rs:4:3
[INFO] [stdout]   |
[INFO] [stdout] 4 |   DecodeHexError,
[INFO] [stdout]   |   ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/error.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[derive(Debug)]
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `XorError`
[INFO] [stdout]  --> src/error.rs:5:3
[INFO] [stdout]   |
[INFO] [stdout] 5 |   XorError
[INFO] [stdout]   |   ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/error.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[derive(Debug)]
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `encrypt`
[INFO] [stdout]  --> src/xor_cipher.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn encrypt(bytes: &[u8], key: &[u8]) -> Vec<u8> {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `decrypt`
[INFO] [stdout]  --> src/xor_cipher.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn decrypt(bytes: &[u8], key: &[u8]) -> Vec<u8> {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `xor`
[INFO] [stdout]   --> src/xor_cipher.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn xor(bytes: &[u8], key: &[u8]) -> Vec<u8> {
[INFO] [stdout]    |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `key`
[INFO] [stdout]   --> src/xor_cipher.rs:23:3
[INFO] [stdout]    |
[INFO] [stdout] 23 |   key: u8,
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `KeyCandidate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/xor_cipher.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[derive(Debug, Clone)]
[INFO] [stdout]    |          ^^^^^  ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `score`
[INFO] [stdout]   --> src/xor_cipher.rs:24:3
[INFO] [stdout]    |
[INFO] [stdout] 24 |   score: f32,
[INFO] [stdout]    |   ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `KeyCandidate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/xor_cipher.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[derive(Debug, Clone)]
[INFO] [stdout]    |          ^^^^^  ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `plaintext`
[INFO] [stdout]   --> src/xor_cipher.rs:25:3
[INFO] [stdout]    |
[INFO] [stdout] 25 |   plaintext: Vec<u8>,
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `KeyCandidate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/xor_cipher.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[derive(Debug, Clone)]
[INFO] [stdout]    |          ^^^^^  ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `find_candidate_keys`
[INFO] [stdout]   --> src/xor_cipher.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn find_candidate_keys(ciphertext: &[u8]) -> Vec<KeyCandidate> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `find_best_key`
[INFO] [stdout]   --> src/xor_cipher.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn find_best_key(bytes: &[u8]) -> KeyCandidate {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::iter::Map` that must be used
[INFO] [stdout]    --> src/distribution.rs:122:5
[INFO] [stdout]     |
[INFO] [stdout] 122 |     self.table.iter_mut().map(|(_, value)| *value * n);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: iterators are lazy and do nothing unless consumed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 66 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 8.07s
[INFO] running `Command { std: "docker" "inspect" "ffbf0f966145703795bc8e70158b0c55838aa72d1ed53177dd0a2db7c9263dc6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ffbf0f966145703795bc8e70158b0c55838aa72d1ed53177dd0a2db7c9263dc6", kill_on_drop: false }`
[INFO] [stdout] ffbf0f966145703795bc8e70158b0c55838aa72d1ed53177dd0a2db7c9263dc6
[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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 646ee9e6859153819f31d1a35f71d456d6997d44a9091fa92ecfb4a60ce232a1
[INFO] running `Command { std: "docker" "start" "-a" "646ee9e6859153819f31d1a35f71d456d6997d44a9091fa92ecfb4a60ce232a1", kill_on_drop: false }`
[INFO] [stdout] warning: struct is never constructed: `Buffer`
[INFO] [stdout]  --> src/buffer.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Buffer {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/buffer.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 |   pub fn new(bytes: Vec<u8>) -> Self {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `from_hex`
[INFO] [stdout]   --> src/buffer.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 |   pub fn from_hex(hex_str: &str) -> Result<Self, Error> {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `to_base64`
[INFO] [stdout]   --> src/buffer.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 |   pub fn to_base64(&self) -> String {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `to_hex`
[INFO] [stdout]   --> src/buffer.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 |   pub fn to_hex(&self) -> String {
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `xor`
[INFO] [stdout]   --> src/buffer.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 |   pub fn xor(&self, other: &Buffer) -> Result<Buffer, Error> {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `from_hex`
[INFO] [stdout]  --> src/decoder.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn from_hex(input: &str) -> Result<Vec<u8>, Error> {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `hex_val`
[INFO] [stdout]   --> src/decoder.rs:17:4
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn hex_val(c: u8) -> Result<u8, Error> {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `A`
[INFO] [stdout]  --> src/distribution.rs:5:3
[INFO] [stdout]   |
[INFO] [stdout] 5 |   A,
[INFO] [stdout]   |   ^
[INFO] [stdout]   |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/distribution.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]   |          ^^^^^        ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `B`
[INFO] [stdout]  --> src/distribution.rs:6:3
[INFO] [stdout]   |
[INFO] [stdout] 6 |   B,
[INFO] [stdout]   |   ^
[INFO] [stdout]   |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/distribution.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]   |          ^^^^^        ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `C`
[INFO] [stdout]  --> src/distribution.rs:7:3
[INFO] [stdout]   |
[INFO] [stdout] 7 |   C,
[INFO] [stdout]   |   ^
[INFO] [stdout]   |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/distribution.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]   |          ^^^^^        ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `D`
[INFO] [stdout]  --> src/distribution.rs:8:3
[INFO] [stdout]   |
[INFO] [stdout] 8 |   D,
[INFO] [stdout]   |   ^
[INFO] [stdout]   |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/distribution.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]   |          ^^^^^        ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `E`
[INFO] [stdout]  --> src/distribution.rs:9:3
[INFO] [stdout]   |
[INFO] [stdout] 9 |   E,
[INFO] [stdout]   |   ^
[INFO] [stdout]   |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/distribution.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]   |          ^^^^^        ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `F`
[INFO] [stdout]   --> src/distribution.rs:10:3
[INFO] [stdout]    |
[INFO] [stdout] 10 |   F,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `G`
[INFO] [stdout]   --> src/distribution.rs:11:3
[INFO] [stdout]    |
[INFO] [stdout] 11 |   G,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `H`
[INFO] [stdout]   --> src/distribution.rs:12:3
[INFO] [stdout]    |
[INFO] [stdout] 12 |   H,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `I`
[INFO] [stdout]   --> src/distribution.rs:13:3
[INFO] [stdout]    |
[INFO] [stdout] 13 |   I,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `J`
[INFO] [stdout]   --> src/distribution.rs:14:3
[INFO] [stdout]    |
[INFO] [stdout] 14 |   J,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `K`
[INFO] [stdout]   --> src/distribution.rs:15:3
[INFO] [stdout]    |
[INFO] [stdout] 15 |   K,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `L`
[INFO] [stdout]   --> src/distribution.rs:16:3
[INFO] [stdout]    |
[INFO] [stdout] 16 |   L,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `M`
[INFO] [stdout]   --> src/distribution.rs:17:3
[INFO] [stdout]    |
[INFO] [stdout] 17 |   M,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `N`
[INFO] [stdout]   --> src/distribution.rs:18:3
[INFO] [stdout]    |
[INFO] [stdout] 18 |   N,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `O`
[INFO] [stdout]   --> src/distribution.rs:19:3
[INFO] [stdout]    |
[INFO] [stdout] 19 |   O,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `P`
[INFO] [stdout]   --> src/distribution.rs:20:3
[INFO] [stdout]    |
[INFO] [stdout] 20 |   P,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Q`
[INFO] [stdout]   --> src/distribution.rs:21:3
[INFO] [stdout]    |
[INFO] [stdout] 21 |   Q,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `R`
[INFO] [stdout]   --> src/distribution.rs:22:3
[INFO] [stdout]    |
[INFO] [stdout] 22 |   R,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `S`
[INFO] [stdout]   --> src/distribution.rs:23:3
[INFO] [stdout]    |
[INFO] [stdout] 23 |   S,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `T`
[INFO] [stdout]   --> src/distribution.rs:24:3
[INFO] [stdout]    |
[INFO] [stdout] 24 |   T,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `U`
[INFO] [stdout]   --> src/distribution.rs:25:3
[INFO] [stdout]    |
[INFO] [stdout] 25 |   U,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `V`
[INFO] [stdout]   --> src/distribution.rs:26:3
[INFO] [stdout]    |
[INFO] [stdout] 26 |   V,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `W`
[INFO] [stdout]   --> src/distribution.rs:27:3
[INFO] [stdout]    |
[INFO] [stdout] 27 |   W,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `X`
[INFO] [stdout]   --> src/distribution.rs:28:3
[INFO] [stdout]    |
[INFO] [stdout] 28 |   X,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Y`
[INFO] [stdout]   --> src/distribution.rs:29:3
[INFO] [stdout]    |
[INFO] [stdout] 29 |   Y,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Z`
[INFO] [stdout]   --> src/distribution.rs:30:3
[INFO] [stdout]    |
[INFO] [stdout] 30 |   Z,
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `WHITESPACE`
[INFO] [stdout]   --> src/distribution.rs:31:3
[INFO] [stdout]    |
[INFO] [stdout] 31 |   WHITESPACE,
[INFO] [stdout]    |   ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `OTHER`
[INFO] [stdout]   --> src/distribution.rs:32:3
[INFO] [stdout]    |
[INFO] [stdout] 32 |   OTHER,
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `UNKNOWN`
[INFO] [stdout]   --> src/distribution.rs:33:3
[INFO] [stdout]    |
[INFO] [stdout] 33 |   UNKNOWN,
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/distribution.rs:3:10
[INFO] [stdout]    |
[INFO] [stdout] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stdout]    |          ^^^^^        ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `ENGLISH`
[INFO] [stdout]   --> src/distribution.rs:36:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | / const ENGLISH: [(Key, f32, &str); 29] = [
[INFO] [stdout] 37 | |   (Key::A, 0.05213904, "a"),
[INFO] [stdout] 38 | |   (Key::B, 0.00993984, "b"),
[INFO] [stdout] 39 | |   (Key::C, 0.01738712, "c"),
[INFO] [stdout] ...  |
[INFO] [stdout] 69 | |   (Key::UNKNOWN, 0.0, ""),
[INFO] [stdout] 70 | | ];
[INFO] [stdout]    | |__^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Distribution`
[INFO] [stdout]   --> src/distribution.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub struct Distribution {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/distribution.rs:78:10
[INFO] [stdout]    |
[INFO] [stdout] 78 |   pub fn new() -> Self {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `from`
[INFO] [stdout]   --> src/distribution.rs:84:10
[INFO] [stdout]    |
[INFO] [stdout] 84 |   pub fn from(input: &[u8]) -> Self {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `empty`
[INFO] [stdout]   --> src/distribution.rs:99:10
[INFO] [stdout]    |
[INFO] [stdout] 99 |   pub fn empty() -> Self {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `english`
[INFO] [stdout]    --> src/distribution.rs:110:10
[INFO] [stdout]     |
[INFO] [stdout] 110 |   pub fn english() -> Self {
[INFO] [stdout]     |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `scale`
[INFO] [stdout]    --> src/distribution.rs:121:10
[INFO] [stdout]     |
[INFO] [stdout] 121 |   pub fn scale(&mut self, n: f32) -> &Self {
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `score`
[INFO] [stdout]    --> src/distribution.rs:127:8
[INFO] [stdout]     |
[INFO] [stdout] 127 | pub fn score(sample: &[u8]) -> f32 {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `distance`
[INFO] [stdout]    --> src/distribution.rs:134:8
[INFO] [stdout]     |
[INFO] [stdout] 134 | pub fn distance(observed: &Distribution, expected: &Distribution) -> f32 {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `chi_squared_i`
[INFO] [stdout]    --> src/distribution.rs:142:4
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn chi_squared_i(observed: f32, expected: f32) -> f32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `chi_squared`
[INFO] [stdout]    --> src/distribution.rs:152:4
[INFO] [stdout]     |
[INFO] [stdout] 152 | fn chi_squared(observed: &Vec<f32>, expected: &Vec<f32>) -> f32 {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `to_hex`
[INFO] [stdout]  --> src/encoder.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn to_hex(bytes: &[u8]) -> String {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `to_base64`
[INFO] [stdout]   --> src/encoder.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn to_base64(bytes: &[u8]) -> String {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `convert_chunk`
[INFO] [stdout]   --> src/encoder.rs:46:4
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn convert_chunk(chunk: &[u8], charset: &Charset) -> Vec<u8> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Charset`
[INFO] [stdout]   --> src/encoder.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | struct Charset {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/encoder.rs:67:6
[INFO] [stdout]    |
[INFO] [stdout] 67 |   fn new(chars: &str) -> Self {
[INFO] [stdout]    |      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `base64`
[INFO] [stdout]   --> src/encoder.rs:73:6
[INFO] [stdout]    |
[INFO] [stdout] 73 |   fn base64() -> Self {
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `hex`
[INFO] [stdout]   --> src/encoder.rs:77:6
[INFO] [stdout]    |
[INFO] [stdout] 77 |   fn hex() -> Self {
[INFO] [stdout]    |      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `DecodeHexError`
[INFO] [stdout]  --> src/error.rs:4:3
[INFO] [stdout]   |
[INFO] [stdout] 4 |   DecodeHexError,
[INFO] [stdout]   |   ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/error.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[derive(Debug)]
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `XorError`
[INFO] [stdout]  --> src/error.rs:5:3
[INFO] [stdout]   |
[INFO] [stdout] 5 |   XorError
[INFO] [stdout]   |   ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/error.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[derive(Debug)]
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `encrypt`
[INFO] [stdout]  --> src/xor_cipher.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn encrypt(bytes: &[u8], key: &[u8]) -> Vec<u8> {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `decrypt`
[INFO] [stdout]  --> src/xor_cipher.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn decrypt(bytes: &[u8], key: &[u8]) -> Vec<u8> {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `xor`
[INFO] [stdout]   --> src/xor_cipher.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn xor(bytes: &[u8], key: &[u8]) -> Vec<u8> {
[INFO] [stdout]    |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `key`
[INFO] [stdout]   --> src/xor_cipher.rs:23:3
[INFO] [stdout]    |
[INFO] [stdout] 23 |   key: u8,
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `KeyCandidate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/xor_cipher.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[derive(Debug, Clone)]
[INFO] [stdout]    |          ^^^^^  ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `score`
[INFO] [stdout]   --> src/xor_cipher.rs:24:3
[INFO] [stdout]    |
[INFO] [stdout] 24 |   score: f32,
[INFO] [stdout]    |   ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `KeyCandidate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/xor_cipher.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[derive(Debug, Clone)]
[INFO] [stdout]    |          ^^^^^  ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `plaintext`
[INFO] [stdout]   --> src/xor_cipher.rs:25:3
[INFO] [stdout]    |
[INFO] [stdout] 25 |   plaintext: Vec<u8>,
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `KeyCandidate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/xor_cipher.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[derive(Debug, Clone)]
[INFO] [stdout]    |          ^^^^^  ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `find_candidate_keys`
[INFO] [stdout]   --> src/xor_cipher.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn find_candidate_keys(ciphertext: &[u8]) -> Vec<KeyCandidate> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `find_best_key`
[INFO] [stdout]   --> src/xor_cipher.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn find_best_key(bytes: &[u8]) -> KeyCandidate {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling cryptopals v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused `std::iter::Map` that must be used
[INFO] [stdout]    --> src/distribution.rs:122:5
[INFO] [stdout]     |
[INFO] [stdout] 122 |     self.table.iter_mut().map(|(_, value)| *value * n);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: iterators are lazy and do nothing unless consumed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 66 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::iter::Map` that must be used
[INFO] [stdout]    --> src/distribution.rs:122:5
[INFO] [stdout]     |
[INFO] [stdout] 122 |     self.table.iter_mut().map(|(_, value)| *value * n);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: iterators are lazy and do nothing unless consumed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.83s
[INFO] [stderr]   Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/cryptopals-b940d48cf2334c5e)
[INFO] running `Command { std: "docker" "inspect" "646ee9e6859153819f31d1a35f71d456d6997d44a9091fa92ecfb4a60ce232a1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "646ee9e6859153819f31d1a35f71d456d6997d44a9091fa92ecfb4a60ce232a1", kill_on_drop: false }`
[INFO] [stdout] 646ee9e6859153819f31d1a35f71d456d6997d44a9091fa92ecfb4a60ce232a1
[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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] b4a7506e7db6ff37e692c5ed2c571a079828e4f3d5f73b517ae425b9c2c8d495
[INFO] running `Command { std: "docker" "start" "-a" "b4a7506e7db6ff37e692c5ed2c571a079828e4f3d5f73b517ae425b9c2c8d495", kill_on_drop: false }`
[INFO] [stderr] warning: struct is never constructed: `Buffer`
[INFO] [stderr]  --> src/buffer.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub struct Buffer {
[INFO] [stderr]   |            ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `new`
[INFO] [stderr]   --> src/buffer.rs:10:10
[INFO] [stderr]    |
[INFO] [stderr] 10 |   pub fn new(bytes: Vec<u8>) -> Self {
[INFO] [stderr]    |          ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `from_hex`
[INFO] [stderr]   --> src/buffer.rs:14:10
[INFO] [stderr]    |
[INFO] [stderr] 14 |   pub fn from_hex(hex_str: &str) -> Result<Self, Error> {
[INFO] [stderr]    |          ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `to_base64`
[INFO] [stderr]   --> src/buffer.rs:19:10
[INFO] [stderr]    |
[INFO] [stderr] 19 |   pub fn to_base64(&self) -> String {
[INFO] [stderr]    |          ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `to_hex`
[INFO] [stderr]   --> src/buffer.rs:23:10
[INFO] [stderr]    |
[INFO] [stderr] 23 |   pub fn to_hex(&self) -> String {
[INFO] [stderr]    |          ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `xor`
[INFO] [stderr]   --> src/buffer.rs:27:10
[INFO] [stderr]    |
[INFO] [stderr] 27 |   pub fn xor(&self, other: &Buffer) -> Result<Buffer, Error> {
[INFO] [stderr]    |          ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `from_hex`
[INFO] [stderr]  --> src/decoder.rs:3:8
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub fn from_hex(input: &str) -> Result<Vec<u8>, Error> {
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `hex_val`
[INFO] [stderr]   --> src/decoder.rs:17:4
[INFO] [stderr]    |
[INFO] [stderr] 17 | fn hex_val(c: u8) -> Result<u8, Error> {
[INFO] [stderr]    |    ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `A`
[INFO] [stderr]  --> src/distribution.rs:5:3
[INFO] [stderr]   |
[INFO] [stderr] 5 |   A,
[INFO] [stderr]   |   ^
[INFO] [stderr]   |
[INFO] [stderr] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]  --> src/distribution.rs:3:10
[INFO] [stderr]   |
[INFO] [stderr] 3 | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stderr]   |          ^^^^^        ^^^^^
[INFO] [stderr]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `B`
[INFO] [stderr]  --> src/distribution.rs:6:3
[INFO] [stderr]   |
[INFO] [stderr] 6 |   B,
[INFO] [stderr]   |   ^
[INFO] [stderr]   |
[INFO] [stderr] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]  --> src/distribution.rs:3:10
[INFO] [stderr]   |
[INFO] [stderr] 3 | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stderr]   |          ^^^^^        ^^^^^
[INFO] [stderr]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `C`
[INFO] [stderr]  --> src/distribution.rs:7:3
[INFO] [stderr]   |
[INFO] [stderr] 7 |   C,
[INFO] [stderr]   |   ^
[INFO] [stderr]   |
[INFO] [stderr] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]  --> src/distribution.rs:3:10
[INFO] [stderr]   |
[INFO] [stderr] 3 | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stderr]   |          ^^^^^        ^^^^^
[INFO] [stderr]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `D`
[INFO] [stderr]  --> src/distribution.rs:8:3
[INFO] [stderr]   |
[INFO] [stderr] 8 |   D,
[INFO] [stderr]   |   ^
[INFO] [stderr]   |
[INFO] [stderr] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]  --> src/distribution.rs:3:10
[INFO] [stderr]   |
[INFO] [stderr] 3 | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stderr]   |          ^^^^^        ^^^^^
[INFO] [stderr]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `E`
[INFO] [stderr]  --> src/distribution.rs:9:3
[INFO] [stderr]   |
[INFO] [stderr] 9 |   E,
[INFO] [stderr]   |   ^
[INFO] [stderr]   |
[INFO] [stderr] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]  --> src/distribution.rs:3:10
[INFO] [stderr]   |
[INFO] [stderr] 3 | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stderr]   |          ^^^^^        ^^^^^
[INFO] [stderr]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `F`
[INFO] [stderr]   --> src/distribution.rs:10:3
[INFO] [stderr]    |
[INFO] [stderr] 10 |   F,
[INFO] [stderr]    |   ^
[INFO] [stderr]    |
[INFO] [stderr] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/distribution.rs:3:10
[INFO] [stderr]    |
[INFO] [stderr] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stderr]    |          ^^^^^        ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `G`
[INFO] [stderr]   --> src/distribution.rs:11:3
[INFO] [stderr]    |
[INFO] [stderr] 11 |   G,
[INFO] [stderr]    |   ^
[INFO] [stderr]    |
[INFO] [stderr] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/distribution.rs:3:10
[INFO] [stderr]    |
[INFO] [stderr] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stderr]    |          ^^^^^        ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `H`
[INFO] [stderr]   --> src/distribution.rs:12:3
[INFO] [stderr]    |
[INFO] [stderr] 12 |   H,
[INFO] [stderr]    |   ^
[INFO] [stderr]    |
[INFO] [stderr] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/distribution.rs:3:10
[INFO] [stderr]    |
[INFO] [stderr] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stderr]    |          ^^^^^        ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `I`
[INFO] [stderr]   --> src/distribution.rs:13:3
[INFO] [stderr]    |
[INFO] [stderr] 13 |   I,
[INFO] [stderr]    |   ^
[INFO] [stderr]    |
[INFO] [stderr] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/distribution.rs:3:10
[INFO] [stderr]    |
[INFO] [stderr] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stderr]    |          ^^^^^        ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `J`
[INFO] [stderr]   --> src/distribution.rs:14:3
[INFO] [stderr]    |
[INFO] [stderr] 14 |   J,
[INFO] [stderr]    |   ^
[INFO] [stderr]    |
[INFO] [stderr] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/distribution.rs:3:10
[INFO] [stderr]    |
[INFO] [stderr] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stderr]    |          ^^^^^        ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `K`
[INFO] [stderr]   --> src/distribution.rs:15:3
[INFO] [stderr]    |
[INFO] [stderr] 15 |   K,
[INFO] [stderr]    |   ^
[INFO] [stderr]    |
[INFO] [stderr] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/distribution.rs:3:10
[INFO] [stderr]    |
[INFO] [stderr] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stderr]    |          ^^^^^        ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `L`
[INFO] [stderr]   --> src/distribution.rs:16:3
[INFO] [stderr]    |
[INFO] [stderr] 16 |   L,
[INFO] [stderr]    |   ^
[INFO] [stderr]    |
[INFO] [stderr] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/distribution.rs:3:10
[INFO] [stderr]    |
[INFO] [stderr] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stderr]    |          ^^^^^        ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `M`
[INFO] [stderr]   --> src/distribution.rs:17:3
[INFO] [stderr]    |
[INFO] [stderr] 17 |   M,
[INFO] [stderr]    |   ^
[INFO] [stderr]    |
[INFO] [stderr] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/distribution.rs:3:10
[INFO] [stderr]    |
[INFO] [stderr] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stderr]    |          ^^^^^        ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `N`
[INFO] [stderr]   --> src/distribution.rs:18:3
[INFO] [stderr]    |
[INFO] [stderr] 18 |   N,
[INFO] [stderr]    |   ^
[INFO] [stderr]    |
[INFO] [stderr] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/distribution.rs:3:10
[INFO] [stderr]    |
[INFO] [stderr] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stderr]    |          ^^^^^        ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `O`
[INFO] [stderr]   --> src/distribution.rs:19:3
[INFO] [stderr]    |
[INFO] [stderr] 19 |   O,
[INFO] [stderr]    |   ^
[INFO] [stderr]    |
[INFO] [stderr] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/distribution.rs:3:10
[INFO] [stderr]    |
[INFO] [stderr] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stderr]    |          ^^^^^        ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `P`
[INFO] [stderr]   --> src/distribution.rs:20:3
[INFO] [stderr]    |
[INFO] [stderr] 20 |   P,
[INFO] [stderr]    |   ^
[INFO] [stderr]    |
[INFO] [stderr] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/distribution.rs:3:10
[INFO] [stderr]    |
[INFO] [stderr] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stderr]    |          ^^^^^        ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `Q`
[INFO] [stderr]   --> src/distribution.rs:21:3
[INFO] [stderr]    |
[INFO] [stderr] 21 |   Q,
[INFO] [stderr]    |   ^
[INFO] [stderr]    |
[INFO] [stderr] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/distribution.rs:3:10
[INFO] [stderr]    |
[INFO] [stderr] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stderr]    |          ^^^^^        ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `R`
[INFO] [stderr]   --> src/distribution.rs:22:3
[INFO] [stderr]    |
[INFO] [stderr] 22 |   R,
[INFO] [stderr]    |   ^
[INFO] [stderr]    |
[INFO] [stderr] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/distribution.rs:3:10
[INFO] [stderr]    |
[INFO] [stderr] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stderr]    |          ^^^^^        ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `S`
[INFO] [stderr]   --> src/distribution.rs:23:3
[INFO] [stderr]    |
[INFO] [stderr] 23 |   S,
[INFO] [stderr]    |   ^
[INFO] [stderr]    |
[INFO] [stderr] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/distribution.rs:3:10
[INFO] [stderr]    |
[INFO] [stderr] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stderr]    |          ^^^^^        ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `T`
[INFO] [stderr]   --> src/distribution.rs:24:3
[INFO] [stderr]    |
[INFO] [stderr] 24 |   T,
[INFO] [stderr]    |   ^
[INFO] [stderr]    |
[INFO] [stderr] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/distribution.rs:3:10
[INFO] [stderr]    |
[INFO] [stderr] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stderr]    |          ^^^^^        ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `U`
[INFO] [stderr]   --> src/distribution.rs:25:3
[INFO] [stderr]    |
[INFO] [stderr] 25 |   U,
[INFO] [stderr]    |   ^
[INFO] [stderr]    |
[INFO] [stderr] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/distribution.rs:3:10
[INFO] [stderr]    |
[INFO] [stderr] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stderr]    |          ^^^^^        ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `V`
[INFO] [stderr]   --> src/distribution.rs:26:3
[INFO] [stderr]    |
[INFO] [stderr] 26 |   V,
[INFO] [stderr]    |   ^
[INFO] [stderr]    |
[INFO] [stderr] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/distribution.rs:3:10
[INFO] [stderr]    |
[INFO] [stderr] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stderr]    |          ^^^^^        ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `W`
[INFO] [stderr]   --> src/distribution.rs:27:3
[INFO] [stderr]    |
[INFO] [stderr] 27 |   W,
[INFO] [stderr]    |   ^
[INFO] [stderr]    |
[INFO] [stderr] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/distribution.rs:3:10
[INFO] [stderr]    |
[INFO] [stderr] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stderr]    |          ^^^^^        ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `X`
[INFO] [stderr]   --> src/distribution.rs:28:3
[INFO] [stderr]    |
[INFO] [stderr] 28 |   X,
[INFO] [stderr]    |   ^
[INFO] [stderr]    |
[INFO] [stderr] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/distribution.rs:3:10
[INFO] [stderr]    |
[INFO] [stderr] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stderr]    |          ^^^^^        ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `Y`
[INFO] [stderr]   --> src/distribution.rs:29:3
[INFO] [stderr]    |
[INFO] [stderr] 29 |   Y,
[INFO] [stderr]    |   ^
[INFO] [stderr]    |
[INFO] [stderr] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/distribution.rs:3:10
[INFO] [stderr]    |
[INFO] [stderr] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stderr]    |          ^^^^^        ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `Z`
[INFO] [stderr]   --> src/distribution.rs:30:3
[INFO] [stderr]    |
[INFO] [stderr] 30 |   Z,
[INFO] [stderr]    |   ^
[INFO] [stderr]    |
[INFO] [stderr] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/distribution.rs:3:10
[INFO] [stderr]    |
[INFO] [stderr] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stderr]    |          ^^^^^        ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `WHITESPACE`
[INFO] [stderr]   --> src/distribution.rs:31:3
[INFO] [stderr]    |
[INFO] [stderr] 31 |   WHITESPACE,
[INFO] [stderr]    |   ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/distribution.rs:3:10
[INFO] [stderr]    |
[INFO] [stderr] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stderr]    |          ^^^^^        ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `OTHER`
[INFO] [stderr]   --> src/distribution.rs:32:3
[INFO] [stderr]    |
[INFO] [stderr] 32 |   OTHER,
[INFO] [stderr]    |   ^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/distribution.rs:3:10
[INFO] [stderr]    |
[INFO] [stderr] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stderr]    |          ^^^^^        ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `UNKNOWN`
[INFO] [stderr]   --> src/distribution.rs:33:3
[INFO] [stderr]    |
[INFO] [stderr] 33 |   UNKNOWN,
[INFO] [stderr]    |   ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/distribution.rs:3:10
[INFO] [stderr]    |
[INFO] [stderr] 3  | #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
[INFO] [stderr]    |          ^^^^^        ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: constant is never used: `ENGLISH`
[INFO] [stderr]   --> src/distribution.rs:36:1
[INFO] [stderr]    |
[INFO] [stderr] 36 | / const ENGLISH: [(Key, f32, &str); 29] = [
[INFO] [stderr] 37 | |   (Key::A, 0.05213904, "a"),
[INFO] [stderr] 38 | |   (Key::B, 0.00993984, "b"),
[INFO] [stderr] 39 | |   (Key::C, 0.01738712, "c"),
[INFO] [stderr] ...  |
[INFO] [stderr] 69 | |   (Key::UNKNOWN, 0.0, ""),
[INFO] [stderr] 70 | | ];
[INFO] [stderr]    | |__^
[INFO] [stderr] 
[INFO] [stderr] warning: struct is never constructed: `Distribution`
[INFO] [stderr]   --> src/distribution.rs:72:12
[INFO] [stderr]    |
[INFO] [stderr] 72 | pub struct Distribution {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `new`
[INFO] [stderr]   --> src/distribution.rs:78:10
[INFO] [stderr]    |
[INFO] [stderr] 78 |   pub fn new() -> Self {
[INFO] [stderr]    |          ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `from`
[INFO] [stderr]   --> src/distribution.rs:84:10
[INFO] [stderr]    |
[INFO] [stderr] 84 |   pub fn from(input: &[u8]) -> Self {
[INFO] [stderr]    |          ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `empty`
[INFO] [stderr]   --> src/distribution.rs:99:10
[INFO] [stderr]    |
[INFO] [stderr] 99 |   pub fn empty() -> Self {
[INFO] [stderr]    |          ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `english`
[INFO] [stderr]    --> src/distribution.rs:110:10
[INFO] [stderr]     |
[INFO] [stderr] 110 |   pub fn english() -> Self {
[INFO] [stderr]     |          ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `scale`
[INFO] [stderr]    --> src/distribution.rs:121:10
[INFO] [stderr]     |
[INFO] [stderr] 121 |   pub fn scale(&mut self, n: f32) -> &Self {
[INFO] [stderr]     |          ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `score`
[INFO] [stderr]    --> src/distribution.rs:127:8
[INFO] [stderr]     |
[INFO] [stderr] 127 | pub fn score(sample: &[u8]) -> f32 {
[INFO] [stderr]     |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `distance`
[INFO] [stderr]    --> src/distribution.rs:134:8
[INFO] [stderr]     |
[INFO] [stderr] 134 | pub fn distance(observed: &Distribution, expected: &Distribution) -> f32 {
[INFO] [stderr]     |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `chi_squared_i`
[INFO] [stderr]    --> src/distribution.rs:142:4
[INFO] [stderr]     |
[INFO] [stderr] 142 | fn chi_squared_i(observed: f32, expected: f32) -> f32 {
[INFO] [stderr]     |    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `chi_squared`
[INFO] [stderr]    --> src/distribution.rs:152:4
[INFO] [stderr]     |
[INFO] [stderr] 152 | fn chi_squared(observed: &Vec<f32>, expected: &Vec<f32>) -> f32 {
[INFO] [stderr]     |    ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `to_hex`
[INFO] [stderr]  --> src/encoder.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | pub fn to_hex(bytes: &[u8]) -> String {
[INFO] [stderr]   |        ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `to_base64`
[INFO] [stderr]   --> src/encoder.rs:15:8
[INFO] [stderr]    |
[INFO] [stderr] 15 | pub fn to_base64(bytes: &[u8]) -> String {
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `convert_chunk`
[INFO] [stderr]   --> src/encoder.rs:46:4
[INFO] [stderr]    |
[INFO] [stderr] 46 | fn convert_chunk(chunk: &[u8], charset: &Charset) -> Vec<u8> {
[INFO] [stderr]    |    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct is never constructed: `Charset`
[INFO] [stderr]   --> src/encoder.rs:62:8
[INFO] [stderr]    |
[INFO] [stderr] 62 | struct Charset {
[INFO] [stderr]    |        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `new`
[INFO] [stderr]   --> src/encoder.rs:67:6
[INFO] [stderr]    |
[INFO] [stderr] 67 |   fn new(chars: &str) -> Self {
[INFO] [stderr]    |      ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `base64`
[INFO] [stderr]   --> src/encoder.rs:73:6
[INFO] [stderr]    |
[INFO] [stderr] 73 |   fn base64() -> Self {
[INFO] [stderr]    |      ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `hex`
[INFO] [stderr]   --> src/encoder.rs:77:6
[INFO] [stderr]    |
[INFO] [stderr] 77 |   fn hex() -> Self {
[INFO] [stderr]    |      ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `DecodeHexError`
[INFO] [stderr]  --> src/error.rs:4:3
[INFO] [stderr]   |
[INFO] [stderr] 4 |   DecodeHexError,
[INFO] [stderr]   |   ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]  --> src/error.rs:2:10
[INFO] [stderr]   |
[INFO] [stderr] 2 | #[derive(Debug)]
[INFO] [stderr]   |          ^^^^^
[INFO] [stderr]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `XorError`
[INFO] [stderr]  --> src/error.rs:5:3
[INFO] [stderr]   |
[INFO] [stderr] 5 |   XorError
[INFO] [stderr]   |   ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]  --> src/error.rs:2:10
[INFO] [stderr]   |
[INFO] [stderr] 2 | #[derive(Debug)]
[INFO] [stderr]   |          ^^^^^
[INFO] [stderr]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `encrypt`
[INFO] [stderr]  --> src/xor_cipher.rs:5:8
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub fn encrypt(bytes: &[u8], key: &[u8]) -> Vec<u8> {
[INFO] [stderr]   |        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `decrypt`
[INFO] [stderr]  --> src/xor_cipher.rs:9:8
[INFO] [stderr]   |
[INFO] [stderr] 9 | pub fn decrypt(bytes: &[u8], key: &[u8]) -> Vec<u8> {
[INFO] [stderr]   |        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `xor`
[INFO] [stderr]   --> src/xor_cipher.rs:13:4
[INFO] [stderr]    |
[INFO] [stderr] 13 | fn xor(bytes: &[u8], key: &[u8]) -> Vec<u8> {
[INFO] [stderr]    |    ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field is never read: `key`
[INFO] [stderr]   --> src/xor_cipher.rs:23:3
[INFO] [stderr]    |
[INFO] [stderr] 23 |   key: u8,
[INFO] [stderr]    |   ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: `KeyCandidate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/xor_cipher.rs:21:10
[INFO] [stderr]    |
[INFO] [stderr] 21 | #[derive(Debug, Clone)]
[INFO] [stderr]    |          ^^^^^  ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: field is never read: `score`
[INFO] [stderr]   --> src/xor_cipher.rs:24:3
[INFO] [stderr]    |
[INFO] [stderr] 24 |   score: f32,
[INFO] [stderr]    |   ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: `KeyCandidate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/xor_cipher.rs:21:10
[INFO] [stderr]    |
[INFO] [stderr] 21 | #[derive(Debug, Clone)]
[INFO] [stderr]    |          ^^^^^  ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: field is never read: `plaintext`
[INFO] [stderr]   --> src/xor_cipher.rs:25:3
[INFO] [stderr]    |
[INFO] [stderr] 25 |   plaintext: Vec<u8>,
[INFO] [stderr]    |   ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: `KeyCandidate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/xor_cipher.rs:21:10
[INFO] [stderr]    |
[INFO] [stderr] 21 | #[derive(Debug, Clone)]
[INFO] [stderr]    |          ^^^^^  ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `find_candidate_keys`
[INFO] [stderr]   --> src/xor_cipher.rs:28:8
[INFO] [stderr]    |
[INFO] [stderr] 28 | pub fn find_candidate_keys(ciphertext: &[u8]) -> Vec<KeyCandidate> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `find_best_key`
[INFO] [stderr]   --> src/xor_cipher.rs:43:8
[INFO] [stderr]    |
[INFO] [stderr] 43 | pub fn find_best_key(bytes: &[u8]) -> KeyCandidate {
[INFO] [stderr]    |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused `std::iter::Map` that must be used
[INFO] [stderr]    --> src/distribution.rs:122:5
[INFO] [stderr]     |
[INFO] [stderr] 122 |     self.table.iter_mut().map(|(_, value)| *value * n);
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr]     = note: iterators are lazy and do nothing unless consumed
[INFO] [stderr] 
[INFO] [stderr] warning: `cryptopals` (lib) generated 66 warnings
[INFO] [stderr] warning: `cryptopals` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cryptopals-b940d48cf2334c5e)
[INFO] [stdout] 
[INFO] [stdout] running 15 tests
[INFO] [stdout] test buffer::test_empty ... ok
[INFO] [stdout] test buffer::test_fixed_xor ... ok
[INFO] [stdout] test buffer::test_hex_to_b64 ... ok
[INFO] [stdout] test buffer::test_padding1 ... ok
[INFO] [stdout] test buffer::test_simple ... ok
[INFO] [stdout] test distribution::test_chi_squared_eq ... ok
[INFO] [stdout] test buffer::test_padding2 ... ok
[INFO] [stdout] test distribution::test_chi_squared_inverted ... ok
[INFO] [stdout] test distribution::test_chi_squared_ne ... ok
[INFO] [stdout] test distribution::test_chi_squared_zero_expected ... ok
[INFO] [stdout] test xor_cipher::tests::test_decrypt ... ok
[INFO] [stdout] test xor_cipher::tests::test_encrypt_repeating_key_xor ... ok
[INFO] [stdout] test distribution::test_score ... ok
[INFO] [stdout] test xor_cipher::tests::test_find_best_key ... ok
[INFO] [stdout] test xor_cipher::tests::test_find_key_from_file ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 9.56s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests cryptopals
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "b4a7506e7db6ff37e692c5ed2c571a079828e4f3d5f73b517ae425b9c2c8d495", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b4a7506e7db6ff37e692c5ed2c571a079828e4f3d5f73b517ae425b9c2c8d495", kill_on_drop: false }`
[INFO] [stdout] b4a7506e7db6ff37e692c5ed2c571a079828e4f3d5f73b517ae425b9c2c8d495
