[INFO] updating cached repository https://github.com/ThomasZumsteg/cryptopals [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa4c43506b1630c83efe48a99950e9339274644c [INFO] checking ThomasZumsteg/cryptopals/fa4c43506b1630c83efe48a99950e9339274644c against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomasZumsteg%2Fcryptopals" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ThomasZumsteg/cryptopals on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ThomasZumsteg/cryptopals [INFO] finished tweaking git repo https://github.com/ThomasZumsteg/cryptopals [INFO] tweaked toml for git repo https://github.com/ThomasZumsteg/cryptopals written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ThomasZumsteg/cryptopals already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-5-tc1/source/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `cryptopals` [INFO] [stderr] * `bin` target `cryptopals` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27018823e44476d3f134c99b58890d8d5cd9aee0ccfaf29e35e32cc25d52e616 [INFO] running `Command { std: "docker" "start" "-a" "27018823e44476d3f134c99b58890d8d5cd9aee0ccfaf29e35e32cc25d52e616", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27018823e44476d3f134c99b58890d8d5cd9aee0ccfaf29e35e32cc25d52e616", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27018823e44476d3f134c99b58890d8d5cd9aee0ccfaf29e35e32cc25d52e616", kill_on_drop: false }` [INFO] [stdout] 27018823e44476d3f134c99b58890d8d5cd9aee0ccfaf29e35e32cc25d52e616 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e77821bba8d81d8e26b6377418d2c0eb5619b2929816029f978abf993d90da16 [INFO] running `Command { std: "docker" "start" "-a" "e77821bba8d81d8e26b6377418d2c0eb5619b2929816029f978abf993d90da16", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `cryptopals` [INFO] [stderr] * `bin` target `cryptopals` [INFO] [stderr] Compiling libc v0.2.61 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling cc v1.0.40 [INFO] [stderr] Checking futures v0.1.28 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling pkg-config v0.3.15 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling unicase v2.4.0 [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Compiling openssl-src v111.5.0+1.1.1c [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling openssl v0.10.24 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling hyper v0.12.33 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.11 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking indexmap v1.0.2 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling openssl-sys v0.9.48 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Compiling encoding_rs v0.8.17 [INFO] [stderr] Checking http v0.1.18 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking tokio-executor v0.1.8 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking tokio-sync v0.1.6 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Checking tokio-current-thread v0.1.6 [INFO] [stderr] Checking tokio-timer v0.2.11 [INFO] [stderr] Checking mime v0.3.13 [INFO] [stderr] Checking miniz_oxide v0.3.2 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking try_from v0.3.2 [INFO] [stderr] Checking dtoa v0.4.4 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking tokio-threadpool v0.1.15 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking backtrace v0.3.34 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking flate2 v1.0.11 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking cookie v0.12.0 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking regex v1.2.1 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Checking publicsuffix v1.5.2 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Checking cookie_store v0.7.0 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Checking reqwest v0.9.19 [INFO] [stderr] Checking cryptopals v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | '0'...'9' => chr as u8 - '0' as u8, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | 'a'...'f' => chr as u8 - 'a' as u8 + 10, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | 'A'...'Z' => chr as u8 - 'A' as u8, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | 'a'...'z' => chr as u8 - 'a' as u8 + 26, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | '0'...'9' => chr as u8 - '0' as u8 + 52, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | 'a'...'z' | 'A'...'Z' | ' ' => 1, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | 'a'...'z' | 'A'...'Z' | ' ' => 1, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/challenge_1.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | '0'...'9' => chr as u8 - '0' as u8, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | 'a'...'f' => chr as u8 - 'a' as u8 + 10, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | 'A'...'Z' => chr as u8 - 'A' as u8, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | 'a'...'z' => chr as u8 - 'a' as u8 + 26, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | '0'...'9' => chr as u8 - '0' as u8 + 52, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | 'a'...'z' | 'A'...'Z' | ' ' => 1, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | 'a'...'z' | 'A'...'Z' | ' ' => 1, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/challenge_1.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Bytes { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 7 | pub fn from_base8(base8: &str) -> Bytes { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn from_base64(base64: &str) -> Bytes { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn from_str(value: &str) -> Bytes { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn decode(&self, Bytes(key): &Bytes) -> Bytes { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn find_key_of_size(&self, key_size: usize) -> Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn blocks(&self, size: usize) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn score(&self) -> isize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn decode_block(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | fn hamming_distance(&self, Bytes(other): &Bytes) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn guess_key_sizes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | '0'...'9' => chr as u8 - '0' as u8, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | 'a'...'f' => chr as u8 - 'a' as u8 + 10, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | 'A'...'Z' => chr as u8 - 'A' as u8, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | 'a'...'z' => chr as u8 - 'a' as u8 + 26, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | '0'...'9' => chr as u8 - '0' as u8 + 52, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | 'a'...'z' | 'A'...'Z' | ' ' => 1, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | 'a'...'z' | 'A'...'Z' | ' ' => 1, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/challenge_1.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | '0'...'9' => chr as u8 - '0' as u8, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | '0'...'9' => chr as u8 - '0' as u8, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | 'a'...'f' => chr as u8 - 'a' as u8 + 10, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | 'A'...'Z' => chr as u8 - 'A' as u8, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | 'a'...'z' => chr as u8 - 'a' as u8 + 26, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | '0'...'9' => chr as u8 - '0' as u8 + 52, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | 'a'...'f' => chr as u8 - 'a' as u8 + 10, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | 'a'...'z' | 'A'...'Z' | ' ' => 1, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | 'a'...'z' | 'A'...'Z' | ' ' => 1, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | 'A'...'Z' => chr as u8 - 'A' as u8, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/challenge_1.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | 'a'...'z' => chr as u8 - 'a' as u8 + 26, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | '0'...'9' => chr as u8 - '0' as u8 + 52, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | 'a'...'z' | 'A'...'Z' | ' ' => 1, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | 'a'...'z' | 'A'...'Z' | ' ' => 1, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | '0'...'9' => chr as u8 - '0' as u8, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/challenge_1.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | 'a'...'f' => chr as u8 - 'a' as u8 + 10, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | 'A'...'Z' => chr as u8 - 'A' as u8, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `cryptopals` [INFO] [stdout] --> src/main.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | mod challenge_1; [INFO] [stdout] | ^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | '0'...'9' => chr as u8 - '0' as u8, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | 'a'...'z' => chr as u8 - 'a' as u8 + 26, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | 'a'...'f' => chr as u8 - 'a' as u8 + 10, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | '0'...'9' => chr as u8 - '0' as u8 + 52, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | 'A'...'Z' => chr as u8 - 'A' as u8, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | 'a'...'z' | 'A'...'Z' | ' ' => 1, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | 'a'...'z' => chr as u8 - 'a' as u8 + 26, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | 'a'...'z' | 'A'...'Z' | ' ' => 1, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | '0'...'9' => chr as u8 - '0' as u8 + 52, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | 'a'...'z' | 'A'...'Z' | ' ' => 1, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | 'a'...'z' | 'A'...'Z' | ' ' => 1, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/challenge_1.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | '0'...'9' => chr as u8 - '0' as u8, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | 'a'...'f' => chr as u8 - 'a' as u8 + 10, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | 'A'...'Z' => chr as u8 - 'A' as u8, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | 'a'...'z' => chr as u8 - 'a' as u8 + 26, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | '0'...'9' => chr as u8 - '0' as u8 + 52, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | 'a'...'z' | 'A'...'Z' | ' ' => 1, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | 'a'...'z' | 'A'...'Z' | ' ' => 1, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | '0'...'9' => chr as u8 - '0' as u8, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | 'a'...'f' => chr as u8 - 'a' as u8 + 10, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | 'A'...'Z' => chr as u8 - 'A' as u8, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | 'a'...'z' => chr as u8 - 'a' as u8 + 26, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | '0'...'9' => chr as u8 - '0' as u8 + 52, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | 'a'...'z' | 'A'...'Z' | ' ' => 1, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | 'a'...'z' | 'A'...'Z' | ' ' => 1, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | '0'...'9' => chr as u8 - '0' as u8, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | 'a'...'f' => chr as u8 - 'a' as u8 + 10, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | 'A'...'Z' => chr as u8 - 'A' as u8, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | 'a'...'z' => chr as u8 - 'a' as u8 + 26, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | '0'...'9' => chr as u8 - '0' as u8 + 52, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | 'a'...'z' | 'A'...'Z' | ' ' => 1, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/challenge_1.rs:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | 'a'...'z' | 'A'...'Z' | ' ' => 1, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_base8` and `from_str` are never used [INFO] [stdout] --> src/challenge_1.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Bytes { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 7 | pub fn from_base8(base8: &str) -> Bytes { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn from_str(value: &str) -> Bytes { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/challenge_1.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Bytes { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 7 | pub fn from_base8(base8: &str) -> Bytes { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn find_key_of_size(&self, key_size: usize) -> Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn blocks(&self, size: usize) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn score(&self) -> isize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn decode_block(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | fn hamming_distance(&self, Bytes(other): &Bytes) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn guess_key_sizes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/challenge_1.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Bytes { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 7 | pub fn from_base8(base8: &str) -> Bytes { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn decode(&self, Bytes(key): &Bytes) -> Bytes { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn find_key_of_size(&self, key_size: usize) -> Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn blocks(&self, size: usize) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn score(&self) -> isize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn decode_block(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | fn hamming_distance(&self, Bytes(other): &Bytes) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn guess_key_sizes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cryptopals` (bin "cryptopals") due to 2 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e77821bba8d81d8e26b6377418d2c0eb5619b2929816029f978abf993d90da16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e77821bba8d81d8e26b6377418d2c0eb5619b2929816029f978abf993d90da16", kill_on_drop: false }` [INFO] [stdout] e77821bba8d81d8e26b6377418d2c0eb5619b2929816029f978abf993d90da16