[INFO] cloning repository https://github.com/tildeio/learning-rust [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftildeio%2Flearning-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 77124b166e4666a3e7f734c0b7efd84b1d12133d [INFO] testing tildeio/learning-rust against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftildeio%2Flearning-rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tildeio/learning-rust on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tildeio/learning-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2fae41cee1e2ce29a7f1991eed550e3a1ee6c0ddce2cc73efe769f19e7b1b0a1 [INFO] running `Command { std: "docker" "start" "-a" "2fae41cee1e2ce29a7f1991eed550e3a1ee6c0ddce2cc73efe769f19e7b1b0a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fae41cee1e2ce29a7f1991eed550e3a1ee6c0ddce2cc73efe769f19e7b1b0a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fae41cee1e2ce29a7f1991eed550e3a1ee6c0ddce2cc73efe769f19e7b1b0a1", kill_on_drop: false }` [INFO] [stdout] 2fae41cee1e2ce29a7f1991eed550e3a1ee6c0ddce2cc73efe769f19e7b1b0a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c98a95f9da67bd94856f79cb1ad65c889113ebeb97323ededd0af9bd89430956 [INFO] running `Command { std: "docker" "start" "-a" "c98a95f9da67bd94856f79cb1ad65c889113ebeb97323ededd0af9bd89430956", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.22 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.4.0 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling thread-id v3.0.0 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling thread_local v0.3.3 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Compiling regex v0.2.1 [INFO] [stderr] Compiling adventure_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.00s [INFO] running `Command { std: "docker" "inspect" "c98a95f9da67bd94856f79cb1ad65c889113ebeb97323ededd0af9bd89430956", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c98a95f9da67bd94856f79cb1ad65c889113ebeb97323ededd0af9bd89430956", kill_on_drop: false }` [INFO] [stdout] c98a95f9da67bd94856f79cb1ad65c889113ebeb97323ededd0af9bd89430956 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ababfb6aaba586fd3ce47447bf8f7fa596dd1447fbd15dffd1c06f9e9c69d27 [INFO] running `Command { std: "docker" "start" "-a" "4ababfb6aaba586fd3ce47447bf8f7fa596dd1447fbd15dffd1c06f9e9c69d27", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling adventure_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `Room` in this scope [INFO] [stdout] --> src/main.rs:156:23 [INFO] [stdout] | [INFO] [stdout] 156 | fn rooms() -> Vec { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 153 + use room::Room; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Room` in this scope [INFO] [stdout] --> src/main.rs:170:39 [INFO] [stdout] | [INFO] [stdout] 170 | fn simple_room(x: u64, y: u64) -> Room { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 153 + use room::Room; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Room` [INFO] [stdout] --> src/main.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | Room::new(x, y, format!("{}, {}", x, y)) [INFO] [stdout] | ^^^^ use of undeclared type `Room` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 153 + use room::Room; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Room` in this scope [INFO] [stdout] --> src/main.rs:175:27 [INFO] [stdout] | [INFO] [stdout] 175 | fn big_rooms() -> Vec { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 153 + use room::Room; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Map` in this scope [INFO] [stdout] --> src/main.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | fn map() -> Map { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 153 + use std::iter::Map; [INFO] [stdout] | [INFO] [stdout] 153 + use map::Map; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Map` [INFO] [stdout] --> src/main.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | Map::new("Liz's Great Adventure", rooms()) [INFO] [stdout] | ^^^ use of undeclared type `Map` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 153 + use std::iter::Map; [INFO] [stdout] | [INFO] [stdout] 153 + use map::Map; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Map` in this scope [INFO] [stdout] --> src/main.rs:198:21 [INFO] [stdout] | [INFO] [stdout] 198 | fn big_map() -> Map { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 153 + use std::iter::Map; [INFO] [stdout] | [INFO] [stdout] 153 + use map::Map; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Map` [INFO] [stdout] --> src/main.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | Map::new("Liz's Great Adventure", big_rooms()) [INFO] [stdout] | ^^^ use of undeclared type `Map` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 153 + use std::iter::Map; [INFO] [stdout] | [INFO] [stdout] 153 + use map::Map; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Location` in this scope [INFO] [stdout] --> src/main.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | let location = Location { x: 0, y: 0 }; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 153 + use std::panic::Location; [INFO] [stdout] | [INFO] [stdout] 153 + use location::Location; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ValidDirection` in this scope [INFO] [stdout] --> src/main.rs:211:20 [INFO] [stdout] | [INFO] [stdout] 211 | ValidDirection { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 153 + use map::ValidDirection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Location` [INFO] [stdout] --> src/main.rs:225:31 [INFO] [stdout] | [INFO] [stdout] 225 | assert_eq!(map.rooms[&Location::new(0, 2)], rooms()[0]); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Location` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 153 + use std::panic::Location; [INFO] [stdout] | [INFO] [stdout] 153 + use location::Location; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Location` [INFO] [stdout] --> src/main.rs:231:24 [INFO] [stdout] | [INFO] [stdout] 231 | let location = Location::new(2, 2); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Location` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 153 + use std::panic::Location; [INFO] [stdout] | [INFO] [stdout] 153 + use location::Location; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ValidDirection` in this scope [INFO] [stdout] --> src/main.rs:235:20 [INFO] [stdout] | [INFO] [stdout] 235 | ValidDirection { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 153 + use map::ValidDirection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Location` [INFO] [stdout] --> src/main.rs:246:24 [INFO] [stdout] | [INFO] [stdout] 246 | let location = Location::new(3, 3); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Location` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 153 + use std::panic::Location; [INFO] [stdout] | [INFO] [stdout] 153 + use location::Location; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ValidDirection` in this scope [INFO] [stdout] --> src/main.rs:250:20 [INFO] [stdout] | [INFO] [stdout] 250 | ValidDirection { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 153 + use map::ValidDirection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:157:14 [INFO] [stdout] | [INFO] [stdout] 157 | vec![room(0, 2, "top left"), [INFO] [stdout] | ^^^^------------------ three arguments of type `&'static str`, `Vec`, and `NPC` are missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn room(x: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | desc: StringLiteral, [INFO] [stdout] | ------------------- [INFO] [stdout] 20 | items: Vec, [INFO] [stdout] | ----------------------------------------- [INFO] [stdout] 21 | npc: npc::NPC) [INFO] [stdout] | ------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 157 | vec![room(0, 2, "top left", /* &'static str */, /* Vec */, /* NPC */), [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:158:14 [INFO] [stdout] | [INFO] [stdout] 158 | room(1, 2, "top center"), [INFO] [stdout] | ^^^^-------------------- three arguments of type `&'static str`, `Vec`, and `NPC` are missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn room(x: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | desc: StringLiteral, [INFO] [stdout] | ------------------- [INFO] [stdout] 20 | items: Vec, [INFO] [stdout] | ----------------------------------------- [INFO] [stdout] 21 | npc: npc::NPC) [INFO] [stdout] | ------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 158 | room(1, 2, "top center", /* &'static str */, /* Vec */, /* NPC */), [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:159:14 [INFO] [stdout] | [INFO] [stdout] 159 | room(2, 2, "top right"), [INFO] [stdout] | ^^^^------------------- three arguments of type `&'static str`, `Vec`, and `NPC` are missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn room(x: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | desc: StringLiteral, [INFO] [stdout] | ------------------- [INFO] [stdout] 20 | items: Vec, [INFO] [stdout] | ----------------------------------------- [INFO] [stdout] 21 | npc: npc::NPC) [INFO] [stdout] | ------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 159 | room(2, 2, "top right", /* &'static str */, /* Vec */, /* NPC */), [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:160:14 [INFO] [stdout] | [INFO] [stdout] 160 | room(0, 1, "middle left"), [INFO] [stdout] | ^^^^--------------------- three arguments of type `&'static str`, `Vec`, and `NPC` are missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn room(x: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | desc: StringLiteral, [INFO] [stdout] | ------------------- [INFO] [stdout] 20 | items: Vec, [INFO] [stdout] | ----------------------------------------- [INFO] [stdout] 21 | npc: npc::NPC) [INFO] [stdout] | ------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 160 | room(0, 1, "middle left", /* &'static str */, /* Vec */, /* NPC */), [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:161:14 [INFO] [stdout] | [INFO] [stdout] 161 | room(1, 1, "middle center"), [INFO] [stdout] | ^^^^----------------------- three arguments of type `&'static str`, `Vec`, and `NPC` are missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn room(x: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | desc: StringLiteral, [INFO] [stdout] | ------------------- [INFO] [stdout] 20 | items: Vec, [INFO] [stdout] | ----------------------------------------- [INFO] [stdout] 21 | npc: npc::NPC) [INFO] [stdout] | ------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 161 | room(1, 1, "middle center", /* &'static str */, /* Vec */, /* NPC */), [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:162:14 [INFO] [stdout] | [INFO] [stdout] 162 | room(2, 1, "middle right"), [INFO] [stdout] | ^^^^---------------------- three arguments of type `&'static str`, `Vec`, and `NPC` are missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn room(x: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | desc: StringLiteral, [INFO] [stdout] | ------------------- [INFO] [stdout] 20 | items: Vec, [INFO] [stdout] | ----------------------------------------- [INFO] [stdout] 21 | npc: npc::NPC) [INFO] [stdout] | ------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 162 | room(2, 1, "middle right", /* &'static str */, /* Vec */, /* NPC */), [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 163 | room(0, 0, "bottom left"), [INFO] [stdout] | ^^^^--------------------- three arguments of type `&'static str`, `Vec`, and `NPC` are missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn room(x: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | desc: StringLiteral, [INFO] [stdout] | ------------------- [INFO] [stdout] 20 | items: Vec, [INFO] [stdout] | ----------------------------------------- [INFO] [stdout] 21 | npc: npc::NPC) [INFO] [stdout] | ------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 163 | room(0, 0, "bottom left", /* &'static str */, /* Vec */, /* NPC */), [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:164:14 [INFO] [stdout] | [INFO] [stdout] 164 | room(1, 0, "bottom center"), [INFO] [stdout] | ^^^^----------------------- three arguments of type `&'static str`, `Vec`, and `NPC` are missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn room(x: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | desc: StringLiteral, [INFO] [stdout] | ------------------- [INFO] [stdout] 20 | items: Vec, [INFO] [stdout] | ----------------------------------------- [INFO] [stdout] 21 | npc: npc::NPC) [INFO] [stdout] | ------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 164 | room(1, 0, "bottom center", /* &'static str */, /* Vec */, /* NPC */), [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:165:14 [INFO] [stdout] | [INFO] [stdout] 165 | room(2, 0, "bottom right")] [INFO] [stdout] | ^^^^---------------------- three arguments of type `&'static str`, `Vec`, and `NPC` are missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn room(x: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | desc: StringLiteral, [INFO] [stdout] | ------------------- [INFO] [stdout] 20 | items: Vec, [INFO] [stdout] | ----------------------------------------- [INFO] [stdout] 21 | npc: npc::NPC) [INFO] [stdout] | ------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 165 | room(2, 0, "bottom right", /* &'static str */, /* Vec */, /* NPC */)] [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `adventure_game` (bin "adventure_game" test) due to 24 previous errors [INFO] running `Command { std: "docker" "inspect" "4ababfb6aaba586fd3ce47447bf8f7fa596dd1447fbd15dffd1c06f9e9c69d27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ababfb6aaba586fd3ce47447bf8f7fa596dd1447fbd15dffd1c06f9e9c69d27", kill_on_drop: false }` [INFO] [stdout] 4ababfb6aaba586fd3ce47447bf8f7fa596dd1447fbd15dffd1c06f9e9c69d27