[INFO] fetching crate enigma-cipher 0.1.1... [INFO] testing enigma-cipher-0.1.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate enigma-cipher 0.1.1 into /workspace/builds/worker-2-tc2/source [INFO] removed /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate enigma-cipher 0.1.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43b73ea3ce06c449d2e850d420bc528d41b52b0606ad9cf9aa0aedd691a235c4 [INFO] running `Command { std: "docker" "start" "-a" "43b73ea3ce06c449d2e850d420bc528d41b52b0606ad9cf9aa0aedd691a235c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43b73ea3ce06c449d2e850d420bc528d41b52b0606ad9cf9aa0aedd691a235c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43b73ea3ce06c449d2e850d420bc528d41b52b0606ad9cf9aa0aedd691a235c4", kill_on_drop: false }` [INFO] [stdout] 43b73ea3ce06c449d2e850d420bc528d41b52b0606ad9cf9aa0aedd691a235c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de649af925d823dc3f0b49ec30cb852c8086cda1d72ce5c08be6e5b308e35b60 [INFO] running `Command { std: "docker" "start" "-a" "de649af925d823dc3f0b49ec30cb852c8086cda1d72ce5c08be6e5b308e35b60", kill_on_drop: false }` [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling syn v2.0.110 [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 3.97s [INFO] running `Command { std: "docker" "inspect" "de649af925d823dc3f0b49ec30cb852c8086cda1d72ce5c08be6e5b308e35b60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de649af925d823dc3f0b49ec30cb852c8086cda1d72ce5c08be6e5b308e35b60", kill_on_drop: false }` [INFO] [stdout] de649af925d823dc3f0b49ec30cb852c8086cda1d72ce5c08be6e5b308e35b60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4bacef5dc7c3a3be42285219a3fb56310709d8b63a1df4742e668644d1759ed1 [INFO] running `Command { std: "docker" "start" "-a" "4bacef5dc7c3a3be42285219a3fb56310709d8b63a1df4742e668644d1759ed1", kill_on_drop: false }` [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] 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 `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `Command { std: "docker" "inspect" "4bacef5dc7c3a3be42285219a3fb56310709d8b63a1df4742e668644d1759ed1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bacef5dc7c3a3be42285219a3fb56310709d8b63a1df4742e668644d1759ed1", kill_on_drop: false }` [INFO] [stdout] 4bacef5dc7c3a3be42285219a3fb56310709d8b63a1df4742e668644d1759ed1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 12b71b86ae59b74efd4599c792e358a288355aaacbb95234eb9face126466506 [INFO] running `Command { std: "docker" "start" "-a" "12b71b86ae59b74efd4599c792e358a288355aaacbb95234eb9face126466506", 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.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/enigma_cipher-fd729cb079db3a44) [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] [stderr] Doc-tests enigma_cipher [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] 206 | 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] 206 | 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] 206 | 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] 206 | 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] 207 | 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] 207 | 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] 207 | 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] 207 | 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] 208 | 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] 208 | 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] 208 | 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] 208 | 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] 209 | 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] 209 | 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] 209 | 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] 209 | 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] 44 | 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] 44 | 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] 44 | 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] 44 | 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] 45 | 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] 45 | 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] 45 | 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] 45 | 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] 46 | 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] 46 | 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] 46 | 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] 46 | 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] 47 | 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] 47 | 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] 47 | 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] 47 | 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.12s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "12b71b86ae59b74efd4599c792e358a288355aaacbb95234eb9face126466506", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12b71b86ae59b74efd4599c792e358a288355aaacbb95234eb9face126466506", kill_on_drop: false }` [INFO] [stdout] 12b71b86ae59b74efd4599c792e358a288355aaacbb95234eb9face126466506