[INFO] cloning repository https://github.com/Freezerburn/rust-text-adventure [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Freezerburn/rust-text-adventure" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFreezerburn%2Frust-text-adventure", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFreezerburn%2Frust-text-adventure'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bcc7e14695ce9d1879ed4ea3982ac2190dea584f [INFO] checking Freezerburn/rust-text-adventure against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFreezerburn%2Frust-text-adventure" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Freezerburn/rust-text-adventure on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Freezerburn/rust-text-adventure [INFO] finished tweaking git repo https://github.com/Freezerburn/rust-text-adventure [INFO] tweaked toml for git repo https://github.com/Freezerburn/rust-text-adventure written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/Freezerburn/rust-text-adventure already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--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-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 81c6bc091913cfd364dde70ecb42336aa0f93c6d1f0805bd66421cf3bc6684ea [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "81c6bc091913cfd364dde70ecb42336aa0f93c6d1f0805bd66421cf3bc6684ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81c6bc091913cfd364dde70ecb42336aa0f93c6d1f0805bd66421cf3bc6684ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81c6bc091913cfd364dde70ecb42336aa0f93c6d1f0805bd66421cf3bc6684ea", kill_on_drop: false }` [INFO] [stdout] 81c6bc091913cfd364dde70ecb42336aa0f93c6d1f0805bd66421cf3bc6684ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 792a9756a67f29b705a73035f3ad8f3df11defa71614d0d2df4c8daa24f51185 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "792a9756a67f29b705a73035f3ad8f3df11defa71614d0d2df4c8daa24f51185", kill_on_drop: false }` [INFO] [stderr] Checking text_adventure v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::ascii::StrAsciiExt` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ascii::StrAsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^----------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `AsciiExt` [INFO] [stdout] | no `StrAsciiExt` in `ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/main.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[deriving(Show, Eq, PartialEq, Hash)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/main.rs:45:3 [INFO] [stdout] | [INFO] [stdout] 45 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/main.rs:60:3 [INFO] [stdout] | [INFO] [stdout] 60 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `East` in this scope [INFO] [stdout] --> src/main.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | "e" | "east" => Some(East), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use Direction::East; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `West` in this scope [INFO] [stdout] --> src/main.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | "w" | "west" => Some(West), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use Direction::West; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `North` in this scope [INFO] [stdout] --> src/main.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | "n" | "north" => Some(North), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use Direction::North; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `South` in this scope [INFO] [stdout] --> src/main.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | "s" | "south" => Some(South), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use Direction::South; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Out` in this scope [INFO] [stdout] --> src/main.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | "out" => Some(Out), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use Direction::Out; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `In` in this scope [INFO] [stdout] --> src/main.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | "in" => Some(In), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use Direction::In; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Up` in this scope [INFO] [stdout] --> src/main.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | "u" | "up" => Some(Up), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use Direction::Up; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Down` in this scope [INFO] [stdout] --> src/main.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | "d" | "down" => Some(Down), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use Direction::Down; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `East` in this scope [INFO] [stdout] --> src/main.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | West => East, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use Direction::East; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `West` in this scope [INFO] [stdout] --> src/main.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | East => West, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use Direction::West; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `South` in this scope [INFO] [stdout] --> src/main.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | North => South, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use Direction::South; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `North` in this scope [INFO] [stdout] --> src/main.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | South => North, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use Direction::North; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `In` in this scope [INFO] [stdout] --> src/main.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | Out => In, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use Direction::In; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Out` in this scope [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | In => Out, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use Direction::Out; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Down` in this scope [INFO] [stdout] --> src/main.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | Up => Down, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use Direction::Down; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Up` in this scope [INFO] [stdout] --> src/main.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | Down => Up [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use Direction::Up; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `East` in this scope [INFO] [stdout] --> src/main.rs:116:30 [INFO] [stdout] | [INFO] [stdout] 116 | Room::link(&mut start_room, East, &mut east_room); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use Direction::East; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/main.rs:129:27 [INFO] [stdout] | [INFO] [stdout] 129 | let mut input = std::io::stdio::stdin(); [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::ascii::StrAsciiExt` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ascii::StrAsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^----------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `AsciiExt` [INFO] [stdout] | no `StrAsciiExt` in `ascii` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/main.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[deriving(Show, Eq, PartialEq, Hash)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/main.rs:45:3 [INFO] [stdout] | [INFO] [stdout] 45 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/main.rs:60:3 [INFO] [stdout] | [INFO] [stdout] 60 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `East` in this scope [INFO] [stdout] --> src/main.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | "e" | "east" => Some(East), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use Direction::East; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `West` in this scope [INFO] [stdout] --> src/main.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | "w" | "west" => Some(West), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use Direction::West; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `North` in this scope [INFO] [stdout] --> src/main.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | "n" | "north" => Some(North), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use Direction::North; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `South` in this scope [INFO] [stdout] --> src/main.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | "s" | "south" => Some(South), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use Direction::South; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Out` in this scope [INFO] [stdout] --> src/main.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | "out" => Some(Out), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use Direction::Out; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `In` in this scope [INFO] [stdout] --> src/main.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | "in" => Some(In), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use Direction::In; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Up` in this scope [INFO] [stdout] --> src/main.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | "u" | "up" => Some(Up), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use Direction::Up; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Down` in this scope [INFO] [stdout] --> src/main.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | "d" | "down" => Some(Down), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use Direction::Down; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `East` in this scope [INFO] [stdout] --> src/main.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | West => East, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use Direction::East; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `West` in this scope [INFO] [stdout] --> src/main.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | East => West, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use Direction::West; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `South` in this scope [INFO] [stdout] --> src/main.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | North => South, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use Direction::South; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `North` in this scope [INFO] [stdout] --> src/main.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | South => North, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use Direction::North; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `In` in this scope [INFO] [stdout] --> src/main.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | Out => In, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use Direction::In; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Out` in this scope [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | In => Out, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use Direction::Out; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Down` in this scope [INFO] [stdout] --> src/main.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | Up => Down, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use Direction::Down; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Up` in this scope [INFO] [stdout] --> src/main.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | Down => Up [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use Direction::Up; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `East` in this scope [INFO] [stdout] --> src/main.rs:116:30 [INFO] [stdout] | [INFO] [stdout] 116 | Room::link(&mut start_room, East, &mut east_room); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use Direction::East; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/main.rs:129:27 [INFO] [stdout] | [INFO] [stdout] 129 | let mut input = std::io::stdio::stdin(); [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii_lower` found for reference `&str` in the current scope [INFO] [stdout] --> src/main.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | match maybe_direction.to_ascii_lower().as_slice() { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `to_ascii_lowercase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_ascii_lower` found for reference `&str` in the current scope [INFO] [stdout] --> src/main.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | match maybe_direction.to_ascii_lower().as_slice() { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `to_ascii_lowercase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `insert` exists for struct `HashMap>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 7 | enum Direction { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `Direction: Eq` [INFO] [stdout] | doesn't satisfy `Direction: Hash` [INFO] [stdout] ... [INFO] [stdout] 83 | first.directions.insert(direction_to_second, &*second); [INFO] [stdout] | ^^^^^^ method cannot be called on `HashMap>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Direction: Eq` [INFO] [stdout] `Direction: Hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `insert` exists for struct `HashMap>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 7 | enum Direction { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `Direction: Eq` [INFO] [stdout] | doesn't satisfy `Direction: Hash` [INFO] [stdout] ... [INFO] [stdout] 85 | second.directions.insert(opposite_direction, &*first); [INFO] [stdout] | ^^^^^^ method cannot be called on `HashMap>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Direction: Eq` [INFO] [stdout] `Direction: Hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `contains_key` exists for struct `HashMap>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 7 | enum Direction { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `Direction: Eq` [INFO] [stdout] | doesn't satisfy `Direction: Hash` [INFO] [stdout] ... [INFO] [stdout] 93 | self.directions.contains_key(&direction) [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called on `HashMap>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Direction: Eq` [INFO] [stdout] `Direction: Hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `HashMap<&str, Room<'_>>` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/main.rs:127:24 [INFO] [stdout] | [INFO] [stdout] 127 | println!("rooms: {}", rooms); [INFO] [stdout] | ^^^^^ `HashMap<&str, Room<'_>>` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `HashMap<&str, Room<'_>>` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | let line = input.read_line().ok().expect("Failed to read line!"); [INFO] [stdout] | ^^^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for type `usize` in the current scope [INFO] [stdout] --> src/main.rs:133:36 [INFO] [stdout] | [INFO] [stdout] 133 | let to_process: Vec<&str> = line.as_slice().trim().split(' ').collect(); [INFO] [stdout] | ^^^^^^^^ method not found in `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Direction` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/main.rs:140:39 [INFO] [stdout] | [INFO] [stdout] 140 | ... println!("You want to go: {}", direction); [INFO] [stdout] | ^^^^^^^^^ `Direction` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Direction` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find` found for struct `HashMap<&str, Room<'_>>` in the current scope [INFO] [stdout] --> src/main.rs:141:25 [INFO] [stdout] | [INFO] [stdout] 141 | ... let room = rooms.find(¤t_room).expect("Room does not exist."); [INFO] [stdout] | ^^^^ method not found in `HashMap<&str, Room<'_>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 31 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0425, E0432, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `text_adventure` [INFO] [stdout] error[E0599]: the method `insert` exists for struct `HashMap>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 7 | enum Direction { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `Direction: Eq` [INFO] [stdout] | doesn't satisfy `Direction: Hash` [INFO] [stdout] ... [INFO] [stdout] 83 | first.directions.insert(direction_to_second, &*second); [INFO] [stdout] | ^^^^^^ method cannot be called on `HashMap>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Direction: Eq` [INFO] [stdout] `Direction: Hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0599]: the method `insert` exists for struct `HashMap>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 7 | enum Direction { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `Direction: Eq` [INFO] [stdout] | doesn't satisfy `Direction: Hash` [INFO] [stdout] ... [INFO] [stdout] 85 | second.directions.insert(opposite_direction, &*first); [INFO] [stdout] | ^^^^^^ method cannot be called on `HashMap>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Direction: Eq` [INFO] [stdout] `Direction: Hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error[E0599]: the method `contains_key` exists for struct `HashMap>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 7 | enum Direction { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `Direction: Eq` [INFO] [stdout] | doesn't satisfy `Direction: Hash` [INFO] [stdout] ... [INFO] [stdout] 93 | self.directions.contains_key(&direction) [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called on `HashMap>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Direction: Eq` [INFO] [stdout] `Direction: Hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: `HashMap<&str, Room<'_>>` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/main.rs:127:24 [INFO] [stdout] | [INFO] [stdout] 127 | println!("rooms: {}", rooms); [INFO] [stdout] | ^^^^^ `HashMap<&str, Room<'_>>` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `HashMap<&str, Room<'_>>` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | let line = input.read_line().ok().expect("Failed to read line!"); [INFO] [stdout] | ^^^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for type `usize` in the current scope [INFO] [stdout] --> src/main.rs:133:36 [INFO] [stdout] | [INFO] [stdout] 133 | let to_process: Vec<&str> = line.as_slice().trim().split(' ').collect(); [INFO] [stdout] | ^^^^^^^^ method not found in `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Direction` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/main.rs:140:39 [INFO] [stdout] | [INFO] [stdout] 140 | ... println!("You want to go: {}", direction); [INFO] [stdout] | ^^^^^^^^^ `Direction` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Direction` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find` found for struct `HashMap<&str, Room<'_>>` in the current scope [INFO] [stdout] --> src/main.rs:141:25 [INFO] [stdout] | [INFO] [stdout] 141 | ... let room = rooms.find(¤t_room).expect("Room does not exist."); [INFO] [stdout] | ^^^^ method not found in `HashMap<&str, Room<'_>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 31 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0425, E0432, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "792a9756a67f29b705a73035f3ad8f3df11defa71614d0d2df4c8daa24f51185", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "792a9756a67f29b705a73035f3ad8f3df11defa71614d0d2df4c8daa24f51185", kill_on_drop: false }` [INFO] [stdout] 792a9756a67f29b705a73035f3ad8f3df11defa71614d0d2df4c8daa24f51185