[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/80129fc8615787f42caa1c765ea9543542bc2b57 against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FS-Avalloni%2Frust_enigma" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/S-Avalloni/rust_enigma on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "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-6-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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb4ffd009393d383613dc5db19b3c7a80c1452bc8053a1453532c47b9a413e8d [INFO] running `Command { std: "docker" "start" "-a" "bb4ffd009393d383613dc5db19b3c7a80c1452bc8053a1453532c47b9a413e8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb4ffd009393d383613dc5db19b3c7a80c1452bc8053a1453532c47b9a413e8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb4ffd009393d383613dc5db19b3c7a80c1452bc8053a1453532c47b9a413e8d", kill_on_drop: false }` [INFO] [stdout] bb4ffd009393d383613dc5db19b3c7a80c1452bc8053a1453532c47b9a413e8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c730a5e08e4549c204a7a52357d6a9de5bf929f40b4b209b70e551c41e3bee6c [INFO] running `Command { std: "docker" "start" "-a" "c730a5e08e4549c204a7a52357d6a9de5bf929f40b4b209b70e551c41e3bee6c", 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', 'A',... [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', 'L',... [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', 'W'... [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.25s [INFO] running `Command { std: "docker" "inspect" "c730a5e08e4549c204a7a52357d6a9de5bf929f40b4b209b70e551c41e3bee6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c730a5e08e4549c204a7a52357d6a9de5bf929f40b4b209b70e551c41e3bee6c", kill_on_drop: false }` [INFO] [stdout] c730a5e08e4549c204a7a52357d6a9de5bf929f40b4b209b70e551c41e3bee6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d6840827f84cb85a00bb25c0c4c16dce028e96cee94b84e10f9a15158bda034 [INFO] running `Command { std: "docker" "start" "-a" "7d6840827f84cb85a00bb25c0c4c16dce028e96cee94b84e10f9a15158bda034", 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', 'A',... [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', 'L',... [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', 'W'... [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.34s [INFO] running `Command { std: "docker" "inspect" "7d6840827f84cb85a00bb25c0c4c16dce028e96cee94b84e10f9a15158bda034", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d6840827f84cb85a00bb25c0c4c16dce028e96cee94b84e10f9a15158bda034", kill_on_drop: false }` [INFO] [stdout] 7d6840827f84cb85a00bb25c0c4c16dce028e96cee94b84e10f9a15158bda034