[INFO] cloning repository https://github.com/pavelcherepan/enigma_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pavelcherepan/enigma_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpavelcherepan%2Fenigma_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpavelcherepan%2Fenigma_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fb70afe5028bd75924ffab4cb8da62a66177a6f2 [INFO] checking pavelcherepan/enigma_rust against master#e9271846294c4ee5bd7706df68180320c0b5ff20 for pr-119825 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpavelcherepan%2Fenigma_rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pavelcherepan/enigma_rust on toolchain e9271846294c4ee5bd7706df68180320c0b5ff20 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9271846294c4ee5bd7706df68180320c0b5ff20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pavelcherepan/enigma_rust [INFO] finished tweaking git repo https://github.com/pavelcherepan/enigma_rust [INFO] tweaked toml for git repo https://github.com/pavelcherepan/enigma_rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pavelcherepan/enigma_rust 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" "+e9271846294c4ee5bd7706df68180320c0b5ff20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded polars-utils v0.35.4 [INFO] [stderr] Downloaded polars v0.35.4 [INFO] [stderr] Downloaded polars-error v0.35.4 [INFO] [stderr] Downloaded polars-row v0.35.4 [INFO] [stderr] Downloaded atoi_simd v0.15.5 [INFO] [stderr] Downloaded polars-time v0.35.4 [INFO] [stderr] Downloaded polars-ops v0.35.4 [INFO] [stderr] Downloaded polars-core v0.35.4 [INFO] [stderr] Downloaded polars-plan v0.35.4 [INFO] [stderr] Downloaded polars-arrow v0.35.4 [INFO] [stderr] Downloaded polars-io v0.35.4 [INFO] [stderr] Downloaded polars-sql v0.35.4 [INFO] [stderr] Downloaded polars-pipe v0.35.4 [INFO] [stderr] Downloaded polars-lazy v0.35.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+e9271846294c4ee5bd7706df68180320c0b5ff20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a18b91177fd2d680309c9f16ddab2d5ac86ef774c41e8de07de14d59969149b [INFO] running `Command { std: "docker" "start" "-a" "8a18b91177fd2d680309c9f16ddab2d5ac86ef774c41e8de07de14d59969149b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a18b91177fd2d680309c9f16ddab2d5ac86ef774c41e8de07de14d59969149b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a18b91177fd2d680309c9f16ddab2d5ac86ef774c41e8de07de14d59969149b", kill_on_drop: false }` [INFO] [stdout] 8a18b91177fd2d680309c9f16ddab2d5ac86ef774c41e8de07de14d59969149b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+e9271846294c4ee5bd7706df68180320c0b5ff20" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7d1e1ffb7e3957978ccb065a773d6ab43ad522bddda41851b395c1d3d34093f [INFO] running `Command { std: "docker" "start" "-a" "b7d1e1ffb7e3957978ccb065a773d6ab43ad522bddda41851b395c1d3d34093f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.17 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling ahash v0.8.6 [INFO] [stderr] Compiling target-features v0.1.5 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking crossbeam-epoch v0.9.16 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking crossbeam-deque v0.8.4 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking zerocopy v0.7.31 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling polars-utils v0.35.4 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking simdutf8 v0.1.4 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling rustversion v1.0.12 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking dyn-clone v1.0.16 [INFO] [stderr] Checking ethnum v1.5.0 [INFO] [stderr] Checking strength_reduce v0.2.4 [INFO] [stderr] Checking foreign_vec v0.1.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking bitflags v2.3.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling time-core v0.1.1 [INFO] [stderr] Checking atoi_simd v0.15.5 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking streaming-iterator v0.1.9 [INFO] [stderr] Checking fast-float v0.2.0 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling time-macros v0.2.9 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling polars-core v0.35.4 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling polars-ops v0.35.4 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking xxhash-rust v0.8.7 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling ref-cast v1.0.16 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking argminmax v0.6.1 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking now v0.1.3 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Compiling uncased v0.9.9 [INFO] [stderr] Compiling rustix v0.37.20 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling pear_codegen v0.2.4 [INFO] [stderr] Compiling multiversion-macros v0.7.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.16 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Checking polars-error v0.35.4 [INFO] [stderr] Compiling devise_core v0.4.1 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling time v0.3.22 [INFO] [stderr] Checking comfy-table v7.1.0 [INFO] [stderr] Checking memmap2 v0.7.1 [INFO] [stderr] Compiling polars-plan v0.35.4 [INFO] [stderr] Checking multiversion v0.7.3 [INFO] [stderr] Checking polars-arrow v0.35.4 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking winnow v0.4.7 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Checking pear v0.2.4 [INFO] [stderr] Compiling hyper v0.14.26 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling devise_codegen v0.4.1 [INFO] [stderr] Compiling tempfile v3.6.0 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling figment v0.10.10 [INFO] [stderr] Compiling polars-lazy v0.35.4 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling async-trait v0.1.68 [INFO] [stderr] Compiling state v0.5.3 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.3 [INFO] [stderr] Compiling devise v0.4.1 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling rocket v0.5.0-rc.3 [INFO] [stderr] Checking serde_spanned v0.6.2 [INFO] [stderr] Checking toml_datetime v0.6.2 [INFO] [stderr] Compiling polars v0.35.4 [INFO] [stderr] Checking encoding_rs v0.8.32 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking toml_edit v0.19.10 [INFO] [stderr] Checking h2 v0.3.19 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking is-terminal v0.4.7 [INFO] [stderr] Checking ubyte v0.10.3 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Checking polars-row v0.35.4 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking toml v0.7.4 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.3 [INFO] [stderr] Checking polars-time v0.35.4 [INFO] [stderr] Checking polars-io v0.35.4 [INFO] [stderr] Checking docker-rust-hello v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `modules::enigma::*` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use modules::enigma::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `modules::enigma::*` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use modules::enigma::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/modules/mod.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() {} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ROTOR_SETTINGS` is never used [INFO] [stdout] --> src/modules/enigma.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub static ROTOR_SETTINGS: phf::Map<&'static str, (&'static str, &'static str)> = phf_map! { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `REFLECTOR_SETTINGS` is never used [INFO] [stdout] --> src/modules/enigma.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub static REFLECTOR_SETTINGS: phf::Map<&'static str, &'static str> = phf_map! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EnigmaM3` is never constructed [INFO] [stdout] --> src/modules/enigma.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct EnigmaM3<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `encode_decode`, and `reset_to_start` are never used [INFO] [stdout] --> src/modules/enigma.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl<'a> EnigmaM3<'a> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 34 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn encode_decode(&mut self, msg: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn reset_to_start(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/modules/enigma.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Plugboard` is never constructed [INFO] [stdout] --> src/modules/plugboard.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Plugboard<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `encode` are never used [INFO] [stdout] --> src/modules/plugboard.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl<'a> Plugboard <'a>{ [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(pairings: &'a HashMap) -> Plugboard<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn encode(&self, letter: char) -> char { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/modules/plugboard.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rotor` is never constructed [INFO] [stdout] --> src/modules/rotor.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Rotor<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/modules/rotor.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> Rotor<'a>{ [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 12 | const ALPHABET: [char; 26] = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn rotate(&mut self, n: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn forward(&mut self, letter: char) -> char { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn backward(&mut self, letter: char) -> char { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn reset_to_start(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn is_turnover(self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/modules/rotor.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Reflector` is never constructed [INFO] [stdout] --> src/modules/reflector.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Reflector<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `ALPHABET`, `new`, and `reflect` are never used [INFO] [stdout] --> src/modules/reflector.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 7 | impl<'a> Reflector<'a>{ [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 8 | const ALPHABET: [char; 26] = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn new(name: &str, wiring: Vec) -> Reflector { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn reflect(&self, letter: char) -> char { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/modules/mod.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() {} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/modules/reflector.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ROTOR_SETTINGS` is never used [INFO] [stdout] --> src/modules/enigma.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub static ROTOR_SETTINGS: phf::Map<&'static str, (&'static str, &'static str)> = phf_map! { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `REFLECTOR_SETTINGS` is never used [INFO] [stdout] --> src/modules/enigma.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub static REFLECTOR_SETTINGS: phf::Map<&'static str, &'static str> = phf_map! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EnigmaM3` is never constructed [INFO] [stdout] --> src/modules/enigma.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct EnigmaM3<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `encode_decode`, and `reset_to_start` are never used [INFO] [stdout] --> src/modules/enigma.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl<'a> EnigmaM3<'a> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 34 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn encode_decode(&mut self, msg: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn reset_to_start(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/modules/enigma.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Plugboard` is never constructed [INFO] [stdout] --> src/modules/plugboard.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Plugboard<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `encode` are never used [INFO] [stdout] --> src/modules/plugboard.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl<'a> Plugboard <'a>{ [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(pairings: &'a HashMap) -> Plugboard<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn encode(&self, letter: char) -> char { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/modules/plugboard.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rotor` is never constructed [INFO] [stdout] --> src/modules/rotor.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Rotor<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/modules/rotor.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> Rotor<'a>{ [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 12 | const ALPHABET: [char; 26] = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn rotate(&mut self, n: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn forward(&mut self, letter: char) -> char { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn backward(&mut self, letter: char) -> char { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn reset_to_start(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn is_turnover(self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/modules/rotor.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Reflector` is never constructed [INFO] [stdout] --> src/modules/reflector.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Reflector<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `ALPHABET`, `new`, and `reflect` are never used [INFO] [stdout] --> src/modules/reflector.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 7 | impl<'a> Reflector<'a>{ [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 8 | const ALPHABET: [char; 26] = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn new(name: &str, wiring: Vec) -> Reflector { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn reflect(&self, letter: char) -> char { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/modules/reflector.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.64s [INFO] running `Command { std: "docker" "inspect" "b7d1e1ffb7e3957978ccb065a773d6ab43ad522bddda41851b395c1d3d34093f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7d1e1ffb7e3957978ccb065a773d6ab43ad522bddda41851b395c1d3d34093f", kill_on_drop: false }` [INFO] [stdout] b7d1e1ffb7e3957978ccb065a773d6ab43ad522bddda41851b395c1d3d34093f