[INFO] cloning repository https://github.com/tildeio/learning-rust [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tildeio/learning-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftildeio%2Flearning-rust"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftildeio%2Flearning-rust'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 77124b166e4666a3e7f734c0b7efd84b1d12133d [INFO] checking tildeio/learning-rust against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftildeio%2Flearning-rust" "/workspace/builds/worker-9/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tildeio/learning-rust on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/tildeio/learning-rust [INFO] finished tweaking git repo https://github.com/tildeio/learning-rust [INFO] tweaked toml for git repo https://github.com/tildeio/learning-rust written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/tildeio/learning-rust already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6612ac274f6a35547431486cc76b9f0befa51c06c3bc8c021fdaa371e40d351a [INFO] running `"docker" "start" "-a" "6612ac274f6a35547431486cc76b9f0befa51c06c3bc8c021fdaa371e40d351a"` [INFO] [stderr] Checking libc v0.2.22 [INFO] [stderr] Checking regex-syntax v0.4.0 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Checking thread-id v3.0.0 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking thread_local v0.3.3 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Checking regex v0.2.1 [INFO] [stderr] Checking adventure_game v0.1.0 (/opt/rustwide/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] | [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] | [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] | [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] | [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] | [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] | [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] | [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] | [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] | [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 arguments but 3 arguments 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] | ^^^^ - - ---------- supplied 3 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 6 arguments [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 6 arguments but 3 arguments 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] | ^^^^ - - ------------ supplied 3 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 6 arguments [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 6 arguments but 3 arguments 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] | ^^^^ - - ----------- supplied 3 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 6 arguments [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 6 arguments but 3 arguments 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] | ^^^^ - - ------------- supplied 3 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 6 arguments [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 6 arguments but 3 arguments 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] | ^^^^ - - --------------- supplied 3 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 6 arguments [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 6 arguments but 3 arguments 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] | ^^^^ - - -------------- supplied 3 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 6 arguments [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 6 arguments but 3 arguments 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] | ^^^^ - - ------------- supplied 3 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 6 arguments [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 6 arguments but 3 arguments 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] | ^^^^ - - --------------- supplied 3 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 6 arguments [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 6 arguments but 3 arguments 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] | ^^^^ - - -------------- supplied 3 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 6 arguments [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] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "6612ac274f6a35547431486cc76b9f0befa51c06c3bc8c021fdaa371e40d351a"` [INFO] running `"docker" "rm" "-f" "6612ac274f6a35547431486cc76b9f0befa51c06c3bc8c021fdaa371e40d351a"` [INFO] [stdout] 6612ac274f6a35547431486cc76b9f0befa51c06c3bc8c021fdaa371e40d351a