[INFO] updating cached repository tildeio/learning-rust [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/tildeio/learning-rust [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/tildeio/learning-rust" "work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/tildeio/learning-rust"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/tildeio/learning-rust'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/tildeio/learning-rust" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/tildeio/learning-rust"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/tildeio/learning-rust'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 77124b166e4666a3e7f734c0b7efd84b1d12133d [INFO] sha for GitHub repo tildeio/learning-rust: 77124b166e4666a3e7f734c0b7efd84b1d12133d [INFO] validating manifest of tildeio/learning-rust 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 tildeio/learning-rust 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 tildeio/learning-rust [INFO] finished frobbing tildeio/learning-rust [INFO] frobbed toml for tildeio/learning-rust written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/tildeio/learning-rust/Cargo.toml [INFO] started frobbing tildeio/learning-rust [INFO] finished frobbing tildeio/learning-rust [INFO] frobbed toml for tildeio/learning-rust written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/tildeio/learning-rust/Cargo.toml [INFO] crate tildeio/learning-rust 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] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking tildeio/learning-rust against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-2/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/tildeio/learning-rust:/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" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] cf8ebdfa23f0bfe635dfaaf20ee38de072b77c5c1d6f3d9d7ebd813bde97162d [INFO] running `"docker" "start" "-a" "cf8ebdfa23f0bfe635dfaaf20ee38de072b77c5c1d6f3d9d7ebd813bde97162d"` [INFO] [stderr] Checking adventure_game v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Room` [INFO] [stderr] --> src/main.rs:171:9 [INFO] [stderr] | [INFO] [stderr] 171 | Room::new(x, y, format!("{}, {}", x, y)) [INFO] [stderr] | ^^^^ use of undeclared type or module `Room` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Map` [INFO] [stderr] --> src/main.rs:195:9 [INFO] [stderr] | [INFO] [stderr] 195 | Map::new("Liz's Great Adventure", rooms()) [INFO] [stderr] | ^^^ use of undeclared type or module `Map` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Map` [INFO] [stderr] --> src/main.rs:199:9 [INFO] [stderr] | [INFO] [stderr] 199 | Map::new("Liz's Great Adventure", big_rooms()) [INFO] [stderr] | ^^^ use of undeclared type or module `Map` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Location` [INFO] [stderr] --> src/main.rs:225:31 [INFO] [stderr] | [INFO] [stderr] 225 | assert_eq!(map.rooms[&Location::new(0, 2)], rooms()[0]); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Location` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Location` [INFO] [stderr] --> src/main.rs:231:24 [INFO] [stderr] | [INFO] [stderr] 231 | let location = Location::new(2, 2); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Location` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Location` [INFO] [stderr] --> src/main.rs:246:24 [INFO] [stderr] | [INFO] [stderr] 246 | let location = Location::new(3, 3); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Location` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Room` in this scope [INFO] [stderr] --> src/main.rs:156:23 [INFO] [stderr] | [INFO] [stderr] 156 | fn rooms() -> Vec { [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] 153 | use room::Room; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Room` in this scope [INFO] [stderr] --> src/main.rs:170:39 [INFO] [stderr] | [INFO] [stderr] 170 | fn simple_room(x: u64, y: u64) -> 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] 153 | use room::Room; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Room` in this scope [INFO] [stderr] --> src/main.rs:175:27 [INFO] [stderr] | [INFO] [stderr] 175 | fn big_rooms() -> Vec { [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] 153 | use room::Room; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Map` in this scope [INFO] [stderr] --> src/main.rs:194:17 [INFO] [stderr] | [INFO] [stderr] 194 | fn map() -> Map { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 153 | use map::Map; [INFO] [stderr] | [INFO] [stderr] 153 | use std::iter::Map; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Map` in this scope [INFO] [stderr] --> src/main.rs:198:21 [INFO] [stderr] | [INFO] [stderr] 198 | fn big_map() -> Map { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 153 | use map::Map; [INFO] [stderr] | [INFO] [stderr] 153 | use std::iter::Map; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Location` in this scope [INFO] [stderr] --> src/main.rs:205:24 [INFO] [stderr] | [INFO] [stderr] 205 | let location = Location { x: 0, y: 0 }; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 153 | use location::Location; [INFO] [stderr] | [INFO] [stderr] 153 | use std::panic::Location; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `ValidDirection` in this scope [INFO] [stderr] --> src/main.rs:211:20 [INFO] [stderr] | [INFO] [stderr] 211 | ValidDirection { [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] 153 | use map::ValidDirection; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `ValidDirection` in this scope [INFO] [stderr] --> src/main.rs:235:20 [INFO] [stderr] | [INFO] [stderr] 235 | ValidDirection { [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] 153 | use map::ValidDirection; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `ValidDirection` in this scope [INFO] [stderr] --> src/main.rs:250:20 [INFO] [stderr] | [INFO] [stderr] 250 | ValidDirection { [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] 153 | use map::ValidDirection; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 6 parameters but 3 parameters were supplied [INFO] [stderr] --> src/main.rs:157:14 [INFO] [stderr] | [INFO] [stderr] 16 | / pub fn room(x: u64, [INFO] [stderr] 17 | | y: u64, [INFO] [stderr] 18 | | name: StringLiteral, [INFO] [stderr] 19 | | desc: StringLiteral, [INFO] [stderr] ... | [INFO] [stderr] 26 | | room::Room::new(x, y, name.to_string(), desc.to_string(), items, npc) [INFO] [stderr] 27 | | } [INFO] [stderr] | |_- defined here [INFO] [stderr] ... [INFO] [stderr] 157 | vec![room(0, 2, "top left"), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ expected 6 parameters [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 6 parameters but 3 parameters were supplied [INFO] [stderr] --> src/main.rs:158:14 [INFO] [stderr] | [INFO] [stderr] 16 | / pub fn room(x: u64, [INFO] [stderr] 17 | | y: u64, [INFO] [stderr] 18 | | name: StringLiteral, [INFO] [stderr] 19 | | desc: StringLiteral, [INFO] [stderr] ... | [INFO] [stderr] 26 | | room::Room::new(x, y, name.to_string(), desc.to_string(), items, npc) [INFO] [stderr] 27 | | } [INFO] [stderr] | |_- defined here [INFO] [stderr] ... [INFO] [stderr] 158 | room(1, 2, "top center"), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected 6 parameters [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 6 parameters but 3 parameters were supplied [INFO] [stderr] --> src/main.rs:159:14 [INFO] [stderr] | [INFO] [stderr] 16 | / pub fn room(x: u64, [INFO] [stderr] 17 | | y: u64, [INFO] [stderr] 18 | | name: StringLiteral, [INFO] [stderr] 19 | | desc: StringLiteral, [INFO] [stderr] ... | [INFO] [stderr] 26 | | room::Room::new(x, y, name.to_string(), desc.to_string(), items, npc) [INFO] [stderr] 27 | | } [INFO] [stderr] | |_- defined here [INFO] [stderr] ... [INFO] [stderr] 159 | room(2, 2, "top right"), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected 6 parameters [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 6 parameters but 3 parameters were supplied [INFO] [stderr] --> src/main.rs:160:14 [INFO] [stderr] | [INFO] [stderr] 16 | / pub fn room(x: u64, [INFO] [stderr] 17 | | y: u64, [INFO] [stderr] 18 | | name: StringLiteral, [INFO] [stderr] 19 | | desc: StringLiteral, [INFO] [stderr] ... | [INFO] [stderr] 26 | | room::Room::new(x, y, name.to_string(), desc.to_string(), items, npc) [INFO] [stderr] 27 | | } [INFO] [stderr] | |_- defined here [INFO] [stderr] ... [INFO] [stderr] 160 | room(0, 1, "middle left"), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected 6 parameters [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 6 parameters but 3 parameters were supplied [INFO] [stderr] --> src/main.rs:161:14 [INFO] [stderr] | [INFO] [stderr] 16 | / pub fn room(x: u64, [INFO] [stderr] 17 | | y: u64, [INFO] [stderr] 18 | | name: StringLiteral, [INFO] [stderr] 19 | | desc: StringLiteral, [INFO] [stderr] ... | [INFO] [stderr] 26 | | room::Room::new(x, y, name.to_string(), desc.to_string(), items, npc) [INFO] [stderr] 27 | | } [INFO] [stderr] | |_- defined here [INFO] [stderr] ... [INFO] [stderr] 161 | room(1, 1, "middle center"), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 6 parameters [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 6 parameters but 3 parameters were supplied [INFO] [stderr] --> src/main.rs:162:14 [INFO] [stderr] | [INFO] [stderr] 16 | / pub fn room(x: u64, [INFO] [stderr] 17 | | y: u64, [INFO] [stderr] 18 | | name: StringLiteral, [INFO] [stderr] 19 | | desc: StringLiteral, [INFO] [stderr] ... | [INFO] [stderr] 26 | | room::Room::new(x, y, name.to_string(), desc.to_string(), items, npc) [INFO] [stderr] 27 | | } [INFO] [stderr] | |_- defined here [INFO] [stderr] ... [INFO] [stderr] 162 | room(2, 1, "middle right"), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 6 parameters [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 6 parameters but 3 parameters were supplied [INFO] [stderr] --> src/main.rs:163:14 [INFO] [stderr] | [INFO] [stderr] 16 | / pub fn room(x: u64, [INFO] [stderr] 17 | | y: u64, [INFO] [stderr] 18 | | name: StringLiteral, [INFO] [stderr] 19 | | desc: StringLiteral, [INFO] [stderr] ... | [INFO] [stderr] 26 | | room::Room::new(x, y, name.to_string(), desc.to_string(), items, npc) [INFO] [stderr] 27 | | } [INFO] [stderr] | |_- defined here [INFO] [stderr] ... [INFO] [stderr] 163 | room(0, 0, "bottom left"), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected 6 parameters [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 6 parameters but 3 parameters were supplied [INFO] [stderr] --> src/main.rs:164:14 [INFO] [stderr] | [INFO] [stderr] 16 | / pub fn room(x: u64, [INFO] [stderr] 17 | | y: u64, [INFO] [stderr] 18 | | name: StringLiteral, [INFO] [stderr] 19 | | desc: StringLiteral, [INFO] [stderr] ... | [INFO] [stderr] 26 | | room::Room::new(x, y, name.to_string(), desc.to_string(), items, npc) [INFO] [stderr] 27 | | } [INFO] [stderr] | |_- defined here [INFO] [stderr] ... [INFO] [stderr] 164 | room(1, 0, "bottom center"), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 6 parameters [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 6 parameters but 3 parameters were supplied [INFO] [stderr] --> src/main.rs:165:14 [INFO] [stderr] | [INFO] [stderr] 16 | / pub fn room(x: u64, [INFO] [stderr] 17 | | y: u64, [INFO] [stderr] 18 | | name: StringLiteral, [INFO] [stderr] 19 | | desc: StringLiteral, [INFO] [stderr] ... | [INFO] [stderr] 26 | | room::Room::new(x, y, name.to_string(), desc.to_string(), items, npc) [INFO] [stderr] 27 | | } [INFO] [stderr] | |_- defined here [INFO] [stderr] ... [INFO] [stderr] 165 | room(2, 0, "bottom right")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 6 parameters [INFO] [stderr] [INFO] [stderr] error: aborting due to 24 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0412, E0422, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: Could not compile `adventure_game`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "cf8ebdfa23f0bfe635dfaaf20ee38de072b77c5c1d6f3d9d7ebd813bde97162d"` [INFO] running `"docker" "rm" "-f" "cf8ebdfa23f0bfe635dfaaf20ee38de072b77c5c1d6f3d9d7ebd813bde97162d"` [INFO] [stdout] cf8ebdfa23f0bfe635dfaaf20ee38de072b77c5c1d6f3d9d7ebd813bde97162d