[INFO] fetching crate enigma-cipher 0.1.1... [INFO] testing enigma-cipher-0.1.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate enigma-cipher 0.1.1 into /workspace/builds/worker-0-tc2/source [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate enigma-cipher 0.1.1 [INFO] finished tweaking crates.io crate enigma-cipher 0.1.1 [INFO] tweaked toml for crates.io crate enigma-cipher 0.1.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate enigma-cipher 0.1.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 9 packages to latest compatible versions [INFO] [stderr] Adding strum v0.26.3 (available: v0.27.2) [INFO] [stderr] Adding strum_macros v0.26.4 (available: v0.27.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef5b2828f60cb3e87c3fcfc80b01ba8f3c5b29e845f7d8a3732b50b8f29af7e6 [INFO] running `Command { std: "docker" "start" "-a" "ef5b2828f60cb3e87c3fcfc80b01ba8f3c5b29e845f7d8a3732b50b8f29af7e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef5b2828f60cb3e87c3fcfc80b01ba8f3c5b29e845f7d8a3732b50b8f29af7e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef5b2828f60cb3e87c3fcfc80b01ba8f3c5b29e845f7d8a3732b50b8f29af7e6", kill_on_drop: false }` [INFO] [stdout] ef5b2828f60cb3e87c3fcfc80b01ba8f3c5b29e845f7d8a3732b50b8f29af7e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5397f113fca8dfc6edb61f6e9d0bfe9337e4d80ce03d09b7c6290cf210f3ec76 [INFO] running `Command { std: "docker" "start" "-a" "5397f113fca8dfc6edb61f6e9d0bfe9337e4d80ce03d09b7c6290cf210f3ec76", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling enigma-cipher v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rotor.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn alphabet(&self) -> Alphabet { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 46 | pub fn alphabet(&self) -> Alphabet<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.22s [INFO] running `Command { std: "docker" "inspect" "5397f113fca8dfc6edb61f6e9d0bfe9337e4d80ce03d09b7c6290cf210f3ec76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5397f113fca8dfc6edb61f6e9d0bfe9337e4d80ce03d09b7c6290cf210f3ec76", kill_on_drop: false }` [INFO] [stdout] 5397f113fca8dfc6edb61f6e9d0bfe9337e4d80ce03d09b7c6290cf210f3ec76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c99b3e3a6c83f1e0d8bf87edfbe1c235fc286c55a485f3b3682d4ebaa71940f2 [INFO] running `Command { std: "docker" "start" "-a" "c99b3e3a6c83f1e0d8bf87edfbe1c235fc286c55a485f3b3682d4ebaa71940f2", kill_on_drop: false }` [INFO] [stderr] Compiling enigma-cipher v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rotor.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn alphabet(&self) -> Alphabet { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 46 | pub fn alphabet(&self) -> Alphabet<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rotor.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn alphabet(&self) -> Alphabet { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 46 | pub fn alphabet(&self) -> Alphabet<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] running `Command { std: "docker" "inspect" "c99b3e3a6c83f1e0d8bf87edfbe1c235fc286c55a485f3b3682d4ebaa71940f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c99b3e3a6c83f1e0d8bf87edfbe1c235fc286c55a485f3b3682d4ebaa71940f2", kill_on_drop: false }` [INFO] [stdout] c99b3e3a6c83f1e0d8bf87edfbe1c235fc286c55a485f3b3682d4ebaa71940f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a64fbfec23f74bd86a6ee6f8be79e69fc1ee7cb9bde88bdf9d1ba321c6504434 [INFO] running `Command { std: "docker" "start" "-a" "a64fbfec23f74bd86a6ee6f8be79e69fc1ee7cb9bde88bdf9d1ba321c6504434", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/rotor.rs:46:21 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn alphabet(&self) -> Alphabet { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 46 | pub fn alphabet(&self) -> Alphabet<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `enigma-cipher` (lib) generated 1 warning (run `cargo fix --lib -p enigma-cipher` to apply 1 suggestion) [INFO] [stderr] warning: `enigma-cipher` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/enigma_cipher-bb4fc795f0e4706b) [INFO] [stderr] Doc-tests enigma_cipher [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - EnigmaMachine::encode (line 205) ... FAILED [INFO] [stdout] test src/lib.rs - EnigmaMachine::decode (line 43) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - EnigmaMachine::encode (line 205) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `text` in this scope [INFO] [stdout] --> src/lib.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 3 | assert_eq!(text, machine.decode(machine.decode(text))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `machine` in this scope [INFO] [stdout] --> src/lib.rs:206:18 [INFO] [stdout] | [INFO] [stdout] 3 | assert_eq!(text, machine.decode(machine.decode(text))); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `machine` in this scope [INFO] [stdout] --> src/lib.rs:206:33 [INFO] [stdout] | [INFO] [stdout] 3 | assert_eq!(text, machine.decode(machine.decode(text))); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `text` in this scope [INFO] [stdout] --> src/lib.rs:206:48 [INFO] [stdout] | [INFO] [stdout] 3 | assert_eq!(text, machine.decode(machine.decode(text))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `text` in this scope [INFO] [stdout] --> src/lib.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(text, machine.encode(machine.encode(text))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `machine` in this scope [INFO] [stdout] --> src/lib.rs:207:18 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(text, machine.encode(machine.encode(text))); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `machine` in this scope [INFO] [stdout] --> src/lib.rs:207:33 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(text, machine.encode(machine.encode(text))); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `text` in this scope [INFO] [stdout] --> src/lib.rs:207:48 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(text, machine.encode(machine.encode(text))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `text` in this scope [INFO] [stdout] --> src/lib.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(text, machine.decode(machine.encode(text))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `machine` in this scope [INFO] [stdout] --> src/lib.rs:208:18 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(text, machine.decode(machine.encode(text))); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `machine` in this scope [INFO] [stdout] --> src/lib.rs:208:33 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(text, machine.decode(machine.encode(text))); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `text` in this scope [INFO] [stdout] --> src/lib.rs:208:48 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(text, machine.decode(machine.encode(text))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `text` in this scope [INFO] [stdout] --> src/lib.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(text, machine.encode(machine.decode(text))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `machine` in this scope [INFO] [stdout] --> src/lib.rs:209:18 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(text, machine.encode(machine.decode(text))); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `machine` in this scope [INFO] [stdout] --> src/lib.rs:209:33 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(text, machine.encode(machine.decode(text))); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `text` in this scope [INFO] [stdout] --> src/lib.rs:209:48 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(text, machine.encode(machine.decode(text))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - EnigmaMachine::decode (line 43) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `text` in this scope [INFO] [stdout] --> src/lib.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 3 | assert_eq!(text, machine.decode(machine.decode(text))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `machine` in this scope [INFO] [stdout] --> src/lib.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 3 | assert_eq!(text, machine.decode(machine.decode(text))); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `machine` in this scope [INFO] [stdout] --> src/lib.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 3 | assert_eq!(text, machine.decode(machine.decode(text))); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `text` in this scope [INFO] [stdout] --> src/lib.rs:44:48 [INFO] [stdout] | [INFO] [stdout] 3 | assert_eq!(text, machine.decode(machine.decode(text))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `text` in this scope [INFO] [stdout] --> src/lib.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(text, machine.encode(machine.encode(text))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `machine` in this scope [INFO] [stdout] --> src/lib.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(text, machine.encode(machine.encode(text))); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `machine` in this scope [INFO] [stdout] --> src/lib.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(text, machine.encode(machine.encode(text))); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `text` in this scope [INFO] [stdout] --> src/lib.rs:45:48 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(text, machine.encode(machine.encode(text))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `text` in this scope [INFO] [stdout] --> src/lib.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(text, machine.decode(machine.encode(text))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `machine` in this scope [INFO] [stdout] --> src/lib.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(text, machine.decode(machine.encode(text))); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `machine` in this scope [INFO] [stdout] --> src/lib.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(text, machine.decode(machine.encode(text))); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `text` in this scope [INFO] [stdout] --> src/lib.rs:46:48 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(text, machine.decode(machine.encode(text))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `text` in this scope [INFO] [stdout] --> src/lib.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(text, machine.encode(machine.decode(text))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `machine` in this scope [INFO] [stdout] --> src/lib.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(text, machine.encode(machine.decode(text))); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `machine` in this scope [INFO] [stdout] --> src/lib.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(text, machine.encode(machine.decode(text))); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `text` in this scope [INFO] [stdout] --> src/lib.rs:47:48 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(text, machine.encode(machine.decode(text))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - EnigmaMachine::decode (line 43) [INFO] [stdout] src/lib.rs - EnigmaMachine::encode (line 205) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "a64fbfec23f74bd86a6ee6f8be79e69fc1ee7cb9bde88bdf9d1ba321c6504434", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a64fbfec23f74bd86a6ee6f8be79e69fc1ee7cb9bde88bdf9d1ba321c6504434", kill_on_drop: false }` [INFO] [stdout] a64fbfec23f74bd86a6ee6f8be79e69fc1ee7cb9bde88bdf9d1ba321c6504434