[INFO] cloning repository https://github.com/S-Avalloni/rust_enigma [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/S-Avalloni/rust_enigma" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FS-Avalloni%2Frust_enigma", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FS-Avalloni%2Frust_enigma'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 80129fc8615787f42caa1c765ea9543542bc2b57 [INFO] building S-Avalloni/rust_enigma against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FS-Avalloni%2Frust_enigma" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/S-Avalloni/rust_enigma on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/S-Avalloni/rust_enigma [INFO] finished tweaking git repo https://github.com/S-Avalloni/rust_enigma [INFO] tweaked toml for git repo https://github.com/S-Avalloni/rust_enigma written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/S-Avalloni/rust_enigma 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f02ddf4984f3f55bfc0230693a0b6ef2e383cad5a201c54d52ffca46231ee570 [INFO] running `Command { std: "docker" "start" "-a" "f02ddf4984f3f55bfc0230693a0b6ef2e383cad5a201c54d52ffca46231ee570", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f02ddf4984f3f55bfc0230693a0b6ef2e383cad5a201c54d52ffca46231ee570", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f02ddf4984f3f55bfc0230693a0b6ef2e383cad5a201c54d52ffca46231ee570", kill_on_drop: false }` [INFO] [stdout] f02ddf4984f3f55bfc0230693a0b6ef2e383cad5a201c54d52ffca46231ee570 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 009a77e9019cb99397a5c04add2a817153d037e9eb3b790ff44d4b0c766a6706 [INFO] running `Command { std: "docker" "start" "-a" "009a77e9019cb99397a5c04add2a817153d037e9eb3b790ff44d4b0c766a6706", kill_on_drop: false }` [INFO] [stderr] Compiling enigma v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `c` is never read [INFO] [stdout] --> src/enigma.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | c = self.rotors[0].0[0][c as usize - 65]; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ROTOR_I` is never used [INFO] [stdout] --> src/enigma.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub const ROTOR_I: Rotor = Rotor([['E', 'K', 'M', 'F', 'L', 'G', 'D', 'Q', 'V', 'Z', 'N', 'T', 'O', 'W', 'Y', 'H', 'X', 'U', 'S', 'P'... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ROTOR_II` is never used [INFO] [stdout] --> src/enigma.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub const ROTOR_II: Rotor = Rotor([['A', 'J', 'D', 'K', 'S', 'I', 'R', 'U', 'X', 'B', 'L', 'H', 'W', 'T', 'M', 'C', 'Q', 'G', 'Z', 'N... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ROTOR_III` is never used [INFO] [stdout] --> src/enigma.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub const ROTOR_III: Rotor = Rotor([['B', 'D', 'F', 'H', 'J', 'L', 'C', 'P', 'R', 'T', 'X', 'V', 'Z', 'N', 'Y', 'E', 'I', 'W', 'G', '... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ROTOR_IV` is never used [INFO] [stdout] --> src/enigma.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub const ROTOR_IV: Rotor = Rotor([['E', 'S', 'O', 'V', 'P', 'Z', 'J', 'A', 'Y', 'Q', 'U', 'I', 'R', 'H', 'X', 'L', 'N', 'F', 'T', 'G... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ROTOR_V` is never used [INFO] [stdout] --> src/enigma.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub const ROTOR_V: Rotor = Rotor([['V', 'Z', 'B', 'R', 'G', 'I', 'T', 'Y', 'U', 'P', 'S', 'D', 'N', 'H', 'L', 'X', 'A', 'W', 'M', 'J'... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ROTOR_VI` is never used [INFO] [stdout] --> src/enigma.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub const ROTOR_VI: Rotor = Rotor([['J', 'P', 'G', 'V', 'O', 'U', 'M', 'F', 'Y', 'Q', 'B', 'E', 'N', 'H', 'Z', 'R', 'D', 'K', 'A', 'S... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ROTOR_VII` is never used [INFO] [stdout] --> src/enigma.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub const ROTOR_VII: Rotor = Rotor([['N', 'Z', 'J', 'H', 'G', 'R', 'C', 'X', 'M', 'Y', 'S', 'W', 'B', 'O', 'U', 'F', 'A', 'I', 'V', '... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ROTOR_VIII` is never used [INFO] [stdout] --> src/enigma.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub const ROTOR_VIII: Rotor = Rotor([['F', 'K', 'Q', 'H', 'T', 'L', 'X', 'O', 'C', 'B', 'J', 'S', 'P', 'D', 'Z', 'R', 'A', 'M', 'E', ... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rotor` is never constructed [INFO] [stdout] --> src/enigma.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Rotor([[char; 26];2]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rotor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/enigma.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 18 | impl Rotor { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 19 | pub fn new(rotor: [char; 26]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Plugboard` is never constructed [INFO] [stdout] --> src/enigma.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Plugboard([char; 26]); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/enigma.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 44 | impl Plugboard { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 45 | pub fn new(plugboard: [char; 26]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Reflector` is never constructed [INFO] [stdout] --> src/enigma.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Reflector([char; 26]); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/enigma.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 69 | impl Reflector { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 70 | pub fn new(reflector: [char; 26]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Enigma` is never constructed [INFO] [stdout] --> src/enigma.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Enigma { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `enc_dec` are never used [INFO] [stdout] --> src/enigma.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 97 | impl Enigma { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 98 | pub fn new(rotors: [Rotor; 3], positions: [u8; 3], plugboard: Plugboard, reflector: Reflector) -> Enigma { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn enc_dec(&mut self, text: String) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] running `Command { std: "docker" "inspect" "009a77e9019cb99397a5c04add2a817153d037e9eb3b790ff44d4b0c766a6706", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "009a77e9019cb99397a5c04add2a817153d037e9eb3b790ff44d4b0c766a6706", kill_on_drop: false }` [INFO] [stdout] 009a77e9019cb99397a5c04add2a817153d037e9eb3b790ff44d4b0c766a6706 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd1dc3849b58bf24793cdd28a67767ae5d01e6f028aeee7cbab3390345275488 [INFO] running `Command { std: "docker" "start" "-a" "cd1dc3849b58bf24793cdd28a67767ae5d01e6f028aeee7cbab3390345275488", kill_on_drop: false }` [INFO] [stderr] Compiling enigma v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `c` is never read [INFO] [stdout] --> src/enigma.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | c = self.rotors[0].0[0][c as usize - 65]; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ROTOR_I` is never used [INFO] [stdout] --> src/enigma.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub const ROTOR_I: Rotor = Rotor([['E', 'K', 'M', 'F', 'L', 'G', 'D', 'Q', 'V', 'Z', 'N', 'T', 'O', 'W', 'Y', 'H', 'X', 'U', 'S', 'P'... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ROTOR_II` is never used [INFO] [stdout] --> src/enigma.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub const ROTOR_II: Rotor = Rotor([['A', 'J', 'D', 'K', 'S', 'I', 'R', 'U', 'X', 'B', 'L', 'H', 'W', 'T', 'M', 'C', 'Q', 'G', 'Z', 'N... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ROTOR_III` is never used [INFO] [stdout] --> src/enigma.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub const ROTOR_III: Rotor = Rotor([['B', 'D', 'F', 'H', 'J', 'L', 'C', 'P', 'R', 'T', 'X', 'V', 'Z', 'N', 'Y', 'E', 'I', 'W', 'G', '... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ROTOR_IV` is never used [INFO] [stdout] --> src/enigma.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub const ROTOR_IV: Rotor = Rotor([['E', 'S', 'O', 'V', 'P', 'Z', 'J', 'A', 'Y', 'Q', 'U', 'I', 'R', 'H', 'X', 'L', 'N', 'F', 'T', 'G... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ROTOR_V` is never used [INFO] [stdout] --> src/enigma.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub const ROTOR_V: Rotor = Rotor([['V', 'Z', 'B', 'R', 'G', 'I', 'T', 'Y', 'U', 'P', 'S', 'D', 'N', 'H', 'L', 'X', 'A', 'W', 'M', 'J'... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ROTOR_VI` is never used [INFO] [stdout] --> src/enigma.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub const ROTOR_VI: Rotor = Rotor([['J', 'P', 'G', 'V', 'O', 'U', 'M', 'F', 'Y', 'Q', 'B', 'E', 'N', 'H', 'Z', 'R', 'D', 'K', 'A', 'S... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ROTOR_VII` is never used [INFO] [stdout] --> src/enigma.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub const ROTOR_VII: Rotor = Rotor([['N', 'Z', 'J', 'H', 'G', 'R', 'C', 'X', 'M', 'Y', 'S', 'W', 'B', 'O', 'U', 'F', 'A', 'I', 'V', '... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ROTOR_VIII` is never used [INFO] [stdout] --> src/enigma.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub const ROTOR_VIII: Rotor = Rotor([['F', 'K', 'Q', 'H', 'T', 'L', 'X', 'O', 'C', 'B', 'J', 'S', 'P', 'D', 'Z', 'R', 'A', 'M', 'E', ... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rotor` is never constructed [INFO] [stdout] --> src/enigma.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Rotor([[char; 26];2]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rotor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/enigma.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 18 | impl Rotor { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 19 | pub fn new(rotor: [char; 26]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Plugboard` is never constructed [INFO] [stdout] --> src/enigma.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Plugboard([char; 26]); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/enigma.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 44 | impl Plugboard { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 45 | pub fn new(plugboard: [char; 26]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Reflector` is never constructed [INFO] [stdout] --> src/enigma.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Reflector([char; 26]); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/enigma.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 69 | impl Reflector { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 70 | pub fn new(reflector: [char; 26]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Enigma` is never constructed [INFO] [stdout] --> src/enigma.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Enigma { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `enc_dec` are never used [INFO] [stdout] --> src/enigma.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 97 | impl Enigma { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 98 | pub fn new(rotors: [Rotor; 3], positions: [u8; 3], plugboard: Plugboard, reflector: Reflector) -> Enigma { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn enc_dec(&mut self, text: String) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] running `Command { std: "docker" "inspect" "cd1dc3849b58bf24793cdd28a67767ae5d01e6f028aeee7cbab3390345275488", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd1dc3849b58bf24793cdd28a67767ae5d01e6f028aeee7cbab3390345275488", kill_on_drop: false }` [INFO] [stdout] cd1dc3849b58bf24793cdd28a67767ae5d01e6f028aeee7cbab3390345275488