[INFO] updating cached repository Freezerburn/rust-text-adventure [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/Freezerburn/rust-text-adventure [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/Freezerburn/rust-text-adventure" "work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/Freezerburn/rust-text-adventure"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/Freezerburn/rust-text-adventure'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/Freezerburn/rust-text-adventure" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/Freezerburn/rust-text-adventure"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/Freezerburn/rust-text-adventure'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] bcc7e14695ce9d1879ed4ea3982ac2190dea584f [INFO] sha for GitHub repo Freezerburn/rust-text-adventure: bcc7e14695ce9d1879ed4ea3982ac2190dea584f [INFO] validating manifest of Freezerburn/rust-text-adventure on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of Freezerburn/rust-text-adventure on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing Freezerburn/rust-text-adventure [INFO] finished frobbing Freezerburn/rust-text-adventure [INFO] frobbed toml for Freezerburn/rust-text-adventure written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/Freezerburn/rust-text-adventure/Cargo.toml [INFO] started frobbing Freezerburn/rust-text-adventure [INFO] finished frobbing Freezerburn/rust-text-adventure [INFO] frobbed toml for Freezerburn/rust-text-adventure written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/Freezerburn/rust-text-adventure/Cargo.toml [INFO] crate Freezerburn/rust-text-adventure already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking Freezerburn/rust-text-adventure against master#60960a260f7b5c695fd0717311d72ce62dd4eb43 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-4/master#60960a260f7b5c695fd0717311d72ce62dd4eb43:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/Freezerburn/rust-text-adventure:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 917b40a1ecf1cc7489f1c1f914e687290c99c3c41a730bc950bf6b37bfd2f06d [INFO] running `"docker" "start" "-a" "917b40a1ecf1cc7489f1c1f914e687290c99c3c41a730bc950bf6b37bfd2f06d"` [INFO] [stderr] Checking text_adventure v0.0.1 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved import `std::ascii::StrAsciiExt` [INFO] [stderr] --> src/main.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::ascii::StrAsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^----------- [INFO] [stderr] | | | [INFO] [stderr] | | help: a similar name exists in the module: `AsciiExt` [INFO] [stderr] | no `StrAsciiExt` in `ascii` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `deriving` in this scope [INFO] [stderr] --> src/main.rs:6:3 [INFO] [stderr] | [INFO] [stderr] 6 | #[deriving(Show, Eq, PartialEq, Hash)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `deriving` in this scope [INFO] [stderr] --> src/main.rs:45:3 [INFO] [stderr] | [INFO] [stderr] 45 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `deriving` in this scope [INFO] [stderr] --> src/main.rs:60:3 [INFO] [stderr] | [INFO] [stderr] 60 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::ascii::StrAsciiExt` [INFO] [stderr] --> src/main.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::ascii::StrAsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^----------- [INFO] [stderr] | | | [INFO] [stderr] | | help: a similar name exists in the module: `AsciiExt` [INFO] [stderr] | no `StrAsciiExt` in `ascii` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `deriving` in this scope [INFO] [stderr] --> src/main.rs:6:3 [INFO] [stderr] | [INFO] [stderr] 6 | #[deriving(Show, Eq, PartialEq, Hash)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `deriving` in this scope [INFO] [stderr] --> src/main.rs:45:3 [INFO] [stderr] | [INFO] [stderr] 45 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `deriving` in this scope [INFO] [stderr] --> src/main.rs:60:3 [INFO] [stderr] | [INFO] [stderr] 60 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `East` in this scope [INFO] [stderr] --> src/main.rs:20:24 [INFO] [stderr] | [INFO] [stderr] 20 | "e" | "east" => Some(East), [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Direction::East; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `West` in this scope [INFO] [stderr] --> src/main.rs:21:24 [INFO] [stderr] | [INFO] [stderr] 21 | "w" | "west" => Some(West), [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Direction::West; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `North` in this scope [INFO] [stderr] --> src/main.rs:22:25 [INFO] [stderr] | [INFO] [stderr] 22 | "n" | "north" => Some(North), [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Direction::North; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `South` in this scope [INFO] [stderr] --> src/main.rs:23:25 [INFO] [stderr] | [INFO] [stderr] 23 | "s" | "south" => Some(South), [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Direction::South; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `Out` in this scope [INFO] [stderr] --> src/main.rs:24:17 [INFO] [stderr] | [INFO] [stderr] 24 | "out" => Some(Out), [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Direction::Out; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `In` in this scope [INFO] [stderr] --> src/main.rs:25:16 [INFO] [stderr] | [INFO] [stderr] 25 | "in" => Some(In), [INFO] [stderr] | ^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Direction::In; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `Up` in this scope [INFO] [stderr] --> src/main.rs:26:22 [INFO] [stderr] | [INFO] [stderr] 26 | "u" | "up" => Some(Up), [INFO] [stderr] | ^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Direction::Up; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `Down` in this scope [INFO] [stderr] --> src/main.rs:27:24 [INFO] [stderr] | [INFO] [stderr] 27 | "d" | "down" => Some(Down), [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Direction::Down; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `East` in this scope [INFO] [stderr] --> src/main.rs:34:11 [INFO] [stderr] | [INFO] [stderr] 34 | West => East, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Direction::East; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `West` in this scope [INFO] [stderr] --> src/main.rs:35:11 [INFO] [stderr] | [INFO] [stderr] 35 | East => West, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Direction::West; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `South` in this scope [INFO] [stderr] --> src/main.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 36 | North => South, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Direction::South; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `North` in this scope [INFO] [stderr] --> src/main.rs:37:12 [INFO] [stderr] | [INFO] [stderr] 37 | South => North, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Direction::North; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `In` in this scope [INFO] [stderr] --> src/main.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | Out => In, [INFO] [stderr] | ^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Direction::In; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `Out` in this scope [INFO] [stderr] --> src/main.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 39 | In => Out, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Direction::Out; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `Down` in this scope [INFO] [stderr] --> src/main.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | Up => Down, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Direction::Down; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `Up` in this scope [INFO] [stderr] --> src/main.rs:41:11 [INFO] [stderr] | [INFO] [stderr] 41 | Down => Up [INFO] [stderr] | ^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Direction::Up; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `East` in this scope [INFO] [stderr] --> src/main.rs:116:30 [INFO] [stderr] | [INFO] [stderr] 116 | Room::link(&mut start_room, East, &mut east_room); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Direction::East; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0603]: module `stdio` is private [INFO] [stderr] --> src/main.rs:129:27 [INFO] [stderr] | [INFO] [stderr] 129 | let mut input = std::io::stdio::stdin(); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `East` in this scope [INFO] [stderr] --> src/main.rs:20:24 [INFO] [stderr] | [INFO] [stderr] 20 | "e" | "east" => Some(East), [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Direction::East; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `West` in this scope [INFO] [stderr] --> src/main.rs:21:24 [INFO] [stderr] | [INFO] [stderr] 21 | "w" | "west" => Some(West), [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Direction::West; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `North` in this scope [INFO] [stderr] --> src/main.rs:22:25 [INFO] [stderr] | [INFO] [stderr] 22 | "n" | "north" => Some(North), [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Direction::North; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `South` in this scope [INFO] [stderr] --> src/main.rs:23:25 [INFO] [stderr] | [INFO] [stderr] 23 | "s" | "south" => Some(South), [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Direction::South; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `Out` in this scope [INFO] [stderr] --> src/main.rs:24:17 [INFO] [stderr] | [INFO] [stderr] 24 | "out" => Some(Out), [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Direction::Out; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `In` in this scope [INFO] [stderr] --> src/main.rs:25:16 [INFO] [stderr] | [INFO] [stderr] 25 | "in" => Some(In), [INFO] [stderr] | ^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Direction::In; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `Up` in this scope [INFO] [stderr] --> src/main.rs:26:22 [INFO] [stderr] | [INFO] [stderr] 26 | "u" | "up" => Some(Up), [INFO] [stderr] | ^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Direction::Up; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `Down` in this scope [INFO] [stderr] --> src/main.rs:27:24 [INFO] [stderr] | [INFO] [stderr] 27 | "d" | "down" => Some(Down), [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Direction::Down; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `East` in this scope [INFO] [stderr] --> src/main.rs:34:11 [INFO] [stderr] | [INFO] [stderr] 34 | West => East, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Direction::East; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `West` in this scope [INFO] [stderr] --> src/main.rs:35:11 [INFO] [stderr] | [INFO] [stderr] 35 | East => West, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Direction::West; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `South` in this scope [INFO] [stderr] --> src/main.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 36 | North => South, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Direction::South; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `North` in this scope [INFO] [stderr] --> src/main.rs:37:12 [INFO] [stderr] | [INFO] [stderr] 37 | South => North, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Direction::North; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `In` in this scope [INFO] [stderr] --> src/main.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | Out => In, [INFO] [stderr] | ^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Direction::In; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `Out` in this scope [INFO] [stderr] --> src/main.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 39 | In => Out, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Direction::Out; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `Down` in this scope [INFO] [stderr] --> src/main.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | Up => Down, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Direction::Down; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `Up` in this scope [INFO] [stderr] --> src/main.rs:41:11 [INFO] [stderr] | [INFO] [stderr] 41 | Down => Up [INFO] [stderr] | ^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Direction::Up; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `East` in this scope [INFO] [stderr] --> src/main.rs:116:30 [INFO] [stderr] | [INFO] [stderr] 116 | Room::link(&mut start_room, East, &mut east_room); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Direction::East; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0603]: module `stdio` is private [INFO] [stderr] --> src/main.rs:129:27 [INFO] [stderr] | [INFO] [stderr] 129 | let mut input = std::io::stdio::stdin(); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `to_ascii_lower` found for type `&str` in the current scope [INFO] [stderr] --> src/main.rs:19:24 [INFO] [stderr] | [INFO] [stderr] 19 | match maybe_direction.to_ascii_lower().as_slice() { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: there is a method with a similar name: `to_ascii_lowercase` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `to_ascii_lower` found for type `&str` in the current scope [INFO] [stderr] --> src/main.rs:19:24 [INFO] [stderr] | [INFO] [stderr] 19 | match maybe_direction.to_ascii_lower().as_slice() { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: there is a method with a similar name: `to_ascii_lowercase` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `Direction: std::cmp::Eq` is not satisfied [INFO] [stderr] --> src/main.rs:74:16 [INFO] [stderr] | [INFO] [stderr] 74 | directions: HashMap::new() [INFO] [stderr] | ^^^^^^^^^^^^ the trait `std::cmp::Eq` is not implemented for `Direction` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::collections::HashMap::::new` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `Direction: std::hash::Hash` is not satisfied [INFO] [stderr] --> src/main.rs:74:16 [INFO] [stderr] | [INFO] [stderr] 74 | directions: HashMap::new() [INFO] [stderr] | ^^^^^^^^^^^^ the trait `std::hash::Hash` is not implemented for `Direction` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::collections::HashMap::::new` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `insert` found for type `std::collections::HashMap>` in the current scope [INFO] [stderr] --> src/main.rs:83:20 [INFO] [stderr] | [INFO] [stderr] 83 | first.directions.insert(direction_to_second, &*second); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the method `insert` exists but the following trait bounds were not satisfied: [INFO] [stderr] `Direction : std::cmp::Eq` [INFO] [stderr] `Direction : std::hash::Hash` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `insert` found for type `std::collections::HashMap>` in the current scope [INFO] [stderr] --> src/main.rs:85:21 [INFO] [stderr] | [INFO] [stderr] 85 | second.directions.insert(opposite_direction, &*first); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the method `insert` exists but the following trait bounds were not satisfied: [INFO] [stderr] `Direction : std::cmp::Eq` [INFO] [stderr] `Direction : std::hash::Hash` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `Direction: std::cmp::Eq` is not satisfied [INFO] [stderr] --> src/main.rs:74:16 [INFO] [stderr] | [INFO] [stderr] 74 | directions: HashMap::new() [INFO] [stderr] | ^^^^^^^^^^^^ the trait `std::cmp::Eq` is not implemented for `Direction` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::collections::HashMap::::new` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `contains_key` found for type `std::collections::HashMap>` in the current scope [INFO] [stderr] --> src/main.rs:93:19 [INFO] [stderr] | [INFO] [stderr] 93 | self.directions.contains_key(&direction) [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the method `contains_key` exists but the following trait bounds were not satisfied: [INFO] [stderr] `Direction : std::cmp::Eq` [INFO] [stderr] `Direction : std::hash::Hash` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `Direction: std::hash::Hash` is not satisfied [INFO] [stderr] --> src/main.rs:74:16 [INFO] [stderr] | [INFO] [stderr] 74 | directions: HashMap::new() [INFO] [stderr] | ^^^^^^^^^^^^ the trait `std::hash::Hash` is not implemented for `Direction` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::collections::HashMap::::new` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `insert` found for type `std::collections::HashMap>` in the current scope [INFO] [stderr] --> src/main.rs:83:20 [INFO] [stderr] | [INFO] [stderr] 83 | first.directions.insert(direction_to_second, &*second); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] error[E0277]: `std::collections::HashMap<&str, Room<'_>>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:127:24 [INFO] [stderr] | [INFO] [stderr] 127 | println!("rooms: {}", rooms); [INFO] [stderr] | ^^^^^ `std::collections::HashMap<&str, Room<'_>>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `std::collections::HashMap<&str, Room<'_>>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] = note: the method `insert` exists but the following trait bounds were not satisfied: [INFO] [stderr] `Direction : std::cmp::Eq` [INFO] [stderr] `Direction : std::hash::Hash` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `insert` found for type `std::collections::HashMap>` in the current scope [INFO] [stderr] --> src/main.rs:85:21 [INFO] [stderr] | [INFO] [stderr] 85 | second.directions.insert(opposite_direction, &*first); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the method `insert` exists but the following trait bounds were not satisfied: [INFO] [stderr] `Direction : std::cmp::Eq` [INFO] [stderr] `Direction : std::hash::Hash` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `contains_key` found for type `std::collections::HashMap>` in the current scope [INFO] [stderr] --> src/main.rs:93:19 [INFO] [stderr] | [INFO] [stderr] 93 | self.directions.contains_key(&direction) [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the method `contains_key` exists but the following trait bounds were not satisfied: [INFO] [stderr] `Direction : std::cmp::Eq` [INFO] [stderr] `Direction : std::hash::Hash` [INFO] [stderr] [INFO] [stderr] error[E0277]: `std::collections::HashMap<&str, Room<'_>>` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:127:24 [INFO] [stderr] | [INFO] [stderr] 127 | println!("rooms: {}", rooms); [INFO] [stderr] | ^^^^^ `std::collections::HashMap<&str, Room<'_>>` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `std::collections::HashMap<&str, Room<'_>>` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 0 parameters were supplied [INFO] [stderr] --> src/main.rs:132:20 [INFO] [stderr] | [INFO] [stderr] 132 | let line = input.read_line().ok().expect("Failed to read line!"); [INFO] [stderr] | ^^^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 0 parameters were supplied [INFO] [stderr] --> src/main.rs:132:20 [INFO] [stderr] | [INFO] [stderr] 132 | let line = input.read_line().ok().expect("Failed to read line!"); [INFO] [stderr] | ^^^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `usize` in the current scope [INFO] [stderr] --> src/main.rs:133:36 [INFO] [stderr] | [INFO] [stderr] 133 | let to_process: Vec<&str> = line.as_slice().trim().split(' ').collect(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: `Direction` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:140:39 [INFO] [stderr] | [INFO] [stderr] 140 | println!("You want to go: {}", direction); [INFO] [stderr] | ^^^^^^^^^ `Direction` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `Direction` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `find` found for type `std::collections::HashMap<&str, Room<'_>>` in the current scope [INFO] [stderr] --> src/main.rs:141:25 [INFO] [stderr] | [INFO] [stderr] 141 | let room = rooms.find(¤t_room).expect("Room does not exist."); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `usize` in the current scope [INFO] [stderr] --> src/main.rs:133:36 [INFO] [stderr] | [INFO] [stderr] 133 | let to_process: Vec<&str> = line.as_slice().trim().split(' ').collect(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 33 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0277, E0425, E0432, E0599, E0603. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error[E0277]: `Direction` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:140:39 [INFO] [stderr] | [INFO] [stderr] 140 | println!("You want to go: {}", direction); [INFO] [stderr] | ^^^^^^^^^ `Direction` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `Direction` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `find` found for type `std::collections::HashMap<&str, Room<'_>>` in the current scope [INFO] [stderr] --> src/main.rs:141:25 [INFO] [stderr] | [INFO] [stderr] 141 | let room = rooms.find(¤t_room).expect("Room does not exist."); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 33 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0277, E0425, E0432, E0599, E0603. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: Could not compile `text_adventure`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: Could not compile `text_adventure`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "917b40a1ecf1cc7489f1c1f914e687290c99c3c41a730bc950bf6b37bfd2f06d"` [INFO] running `"docker" "rm" "-f" "917b40a1ecf1cc7489f1c1f914e687290c99c3c41a730bc950bf6b37bfd2f06d"` [INFO] [stdout] 917b40a1ecf1cc7489f1c1f914e687290c99c3c41a730bc950bf6b37bfd2f06d