[INFO] updating cached repository https://github.com/Freezerburn/rust-text-adventure
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] bcc7e14695ce9d1879ed4ea3982ac2190dea584f
[INFO] checking Freezerburn/rust-text-adventure against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFreezerburn%2Frust-text-adventure" "/workspace/builds/worker-10/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Freezerburn/rust-text-adventure on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[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-10/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 `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "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 `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stdout] ba65ae8b1ed18b47c10b43fcbc8c88204cc9dd60051abdc048ef7f1f02331f43
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `"docker" "start" "-a" "ba65ae8b1ed18b47c10b43fcbc8c88204cc9dd60051abdc048ef7f1f02331f43"`
[INFO] [stderr]     Checking text_adventure v0.0.1 (/opt/rustwide/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 `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 `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 `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]    |
[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]    |
[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]    |
[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]    |
[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]    |
[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]    |
[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]    |
[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]    |
[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]    |
[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]    |
[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]    |
[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]    |
[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]    |
[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]    |
[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]    |
[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]    |
[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]     |
[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]     |                              ^^^^^ private module
[INFO] [stderr]     |
[INFO] [stderr] note: the module `stdio` is defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `to_ascii_lower` found for reference `&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 an associated function with a similar name: `to_ascii_lowercase`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `insert` found for struct `std::collections::HashMap<Direction, &'a Room<'a>>` in the current scope
[INFO] [stderr]   --> src/main.rs:83:20
[INFO] [stderr]    |
[INFO] [stderr] 7  | enum Direction {
[INFO] [stderr]    | --------------
[INFO] [stderr]    | |
[INFO] [stderr]    | doesn't satisfy `Direction: std::cmp::Eq`
[INFO] [stderr]    | doesn't satisfy `Direction: std::hash::Hash`
[INFO] [stderr] ...
[INFO] [stderr] 83 |         first.directions.insert(direction_to_second, &*second);
[INFO] [stderr]    |                          ^^^^^^ method not found in `std::collections::HashMap<Direction, &'a Room<'a>>`
[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 struct `std::collections::HashMap<Direction, &'a Room<'a>>` in the current scope
[INFO] [stderr]   --> src/main.rs:85:21
[INFO] [stderr]    |
[INFO] [stderr] 7  | enum Direction {
[INFO] [stderr]    | --------------
[INFO] [stderr]    | |
[INFO] [stderr]    | doesn't satisfy `Direction: std::cmp::Eq`
[INFO] [stderr]    | doesn't satisfy `Direction: std::hash::Hash`
[INFO] [stderr] ...
[INFO] [stderr] 85 |         second.directions.insert(opposite_direction, &*first);
[INFO] [stderr]    |                           ^^^^^^ method not found in `std::collections::HashMap<Direction, &'a Room<'a>>`
[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 struct `std::collections::HashMap<Direction, &'a Room<'a>>` in the current scope
[INFO] [stderr]   --> src/main.rs:93:19
[INFO] [stderr]    |
[INFO] [stderr] 7  | enum Direction {
[INFO] [stderr]    | --------------
[INFO] [stderr]    | |
[INFO] [stderr]    | doesn't satisfy `Direction: std::cmp::Eq`
[INFO] [stderr]    | doesn't satisfy `Direction: std::hash::Hash`
[INFO] [stderr] ...
[INFO] [stderr] 93 |         self.directions.contains_key(&direction)
[INFO] [stderr]    |                         ^^^^^^^^^^^^ method not found in `std::collections::HashMap<Direction, &'a Room<'a>>`
[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]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 1 argument but 0 arguments 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]     |                          ^^^^^^^^^- supplied 0 arguments
[INFO] [stderr]     |                          |
[INFO] [stderr]     |                          expected 1 argument
[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]     |                                          ^^^^^^^^ method not found in `usize`
[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]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `find` found for struct `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(&current_room).expect("Room does not exist.");
[INFO] [stderr]     |                                              ^^^^ method not found in `std::collections::HashMap<&str, Room<'_>>`
[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: aborting due to 31 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: cannot find attribute `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 `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 `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: could not compile `text_adventure`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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]    |
[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]    |
[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]    |
[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]    |
[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]    |
[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]    |
[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]    |
[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]    |
[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]    |
[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]    |
[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]    |
[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]    |
[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]    |
[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]    |
[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]    |
[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]    |
[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]     |
[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]     |                              ^^^^^ private module
[INFO] [stderr]     |
[INFO] [stderr] note: the module `stdio` is defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `to_ascii_lower` found for reference `&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 an associated function with a similar name: `to_ascii_lowercase`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `insert` found for struct `std::collections::HashMap<Direction, &'a Room<'a>>` in the current scope
[INFO] [stderr]   --> src/main.rs:83:20
[INFO] [stderr]    |
[INFO] [stderr] 7  | enum Direction {
[INFO] [stderr]    | --------------
[INFO] [stderr]    | |
[INFO] [stderr]    | doesn't satisfy `Direction: std::cmp::Eq`
[INFO] [stderr]    | doesn't satisfy `Direction: std::hash::Hash`
[INFO] [stderr] ...
[INFO] [stderr] 83 |         first.directions.insert(direction_to_second, &*second);
[INFO] [stderr]    |                          ^^^^^^ method not found in `std::collections::HashMap<Direction, &'a Room<'a>>`
[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 struct `std::collections::HashMap<Direction, &'a Room<'a>>` in the current scope
[INFO] [stderr]   --> src/main.rs:85:21
[INFO] [stderr]    |
[INFO] [stderr] 7  | enum Direction {
[INFO] [stderr]    | --------------
[INFO] [stderr]    | |
[INFO] [stderr]    | doesn't satisfy `Direction: std::cmp::Eq`
[INFO] [stderr]    | doesn't satisfy `Direction: std::hash::Hash`
[INFO] [stderr] ...
[INFO] [stderr] 85 |         second.directions.insert(opposite_direction, &*first);
[INFO] [stderr]    |                           ^^^^^^ method not found in `std::collections::HashMap<Direction, &'a Room<'a>>`
[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 struct `std::collections::HashMap<Direction, &'a Room<'a>>` in the current scope
[INFO] [stderr]   --> src/main.rs:93:19
[INFO] [stderr]    |
[INFO] [stderr] 7  | enum Direction {
[INFO] [stderr]    | --------------
[INFO] [stderr]    | |
[INFO] [stderr]    | doesn't satisfy `Direction: std::cmp::Eq`
[INFO] [stderr]    | doesn't satisfy `Direction: std::hash::Hash`
[INFO] [stderr] ...
[INFO] [stderr] 93 |         self.directions.contains_key(&direction)
[INFO] [stderr]    |                         ^^^^^^^^^^^^ method not found in `std::collections::HashMap<Direction, &'a Room<'a>>`
[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]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 1 argument but 0 arguments 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]     |                          ^^^^^^^^^- supplied 0 arguments
[INFO] [stderr]     |                          |
[INFO] [stderr]     |                          expected 1 argument
[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]     |                                          ^^^^^^^^ method not found in `usize`
[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]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `find` found for struct `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(&current_room).expect("Room does not exist.");
[INFO] [stderr]     |                                              ^^^^ method not found in `std::collections::HashMap<&str, Room<'_>>`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 31 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] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "ba65ae8b1ed18b47c10b43fcbc8c88204cc9dd60051abdc048ef7f1f02331f43"`
[INFO] running `"docker" "rm" "-f" "ba65ae8b1ed18b47c10b43fcbc8c88204cc9dd60051abdc048ef7f1f02331f43"`
[INFO] [stdout] ba65ae8b1ed18b47c10b43fcbc8c88204cc9dd60051abdc048ef7f1f02331f43
