[INFO] cloning repository https://github.com/sunless-17/bevy_game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sunless-17/bevy_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunless-17%2Fbevy_game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunless-17%2Fbevy_game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 59353555f2e1ec371d49aa2c14c170203d8fccf4 [INFO] checking sunless-17/bevy_game against try#7424ce9ff9baac3e9d9f5dd3c85828cddea0134d for pr-136776-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunless-17%2Fbevy_game" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sunless-17/bevy_game [INFO] finished tweaking git repo https://github.com/sunless-17/bevy_game [INFO] tweaked toml for git repo https://github.com/sunless-17/bevy_game written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sunless-17/bevy_game on toolchain 7424ce9ff9baac3e9d9f5dd3c85828cddea0134d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sunless-17/bevy_game 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" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-4-tc2/source/hello_macroquad/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-4-tc2/source/plat/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded macroquad-particles v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c79a505eeb8711801ed0a555928ee1b072e060fb48d6b5bda9b9853302e9843 [INFO] running `Command { std: "docker" "start" "-a" "3c79a505eeb8711801ed0a555928ee1b072e060fb48d6b5bda9b9853302e9843", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c79a505eeb8711801ed0a555928ee1b072e060fb48d6b5bda9b9853302e9843", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c79a505eeb8711801ed0a555928ee1b072e060fb48d6b5bda9b9853302e9843", kill_on_drop: false }` [INFO] [stdout] 3c79a505eeb8711801ed0a555928ee1b072e060fb48d6b5bda9b9853302e9843 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02a5720537b8ebc18bc1cb3b91e57717bb48b370c327ad2ce4731e5349badcce [INFO] running `Command { std: "docker" "start" "-a" "02a5720537b8ebc18bc1cb3b91e57717bb48b370c327ad2ce4731e5349badcce", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/hello_macroquad/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/plat/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking bytemuck v1.23.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking quad-rand v0.2.3 [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking fontdue v0.9.3 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking macroquad v0.4.14 [INFO] [stderr] Checking macroquad-particles v0.2.2 [INFO] [stderr] Checking plat v0.1.0 (/opt/rustwide/workdir/plat) [INFO] [stderr] Checking hello_macroquad v0.1.0 (/opt/rustwide/workdir/hello_macroquad) [INFO] [stdout] warning: unused import: `macroquad::telemetry::LogTimeGuard` [INFO] [stdout] --> hello_macroquad/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use macroquad::telemetry::LogTimeGuard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StateMachine` [INFO] [stdout] --> plat/src/main.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | let mut state_machine = StateMachine::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `StateMachine` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use crate::state_machine::StateMachine; [INFO] [stdout] | [INFO] [stdout] 1 + use macroquad::prelude::state_machine::StateMachine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> plat/src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 11 | state: State, [INFO] [stdout] | ----- a field by that name exists in `Self` [INFO] [stdout] ... [INFO] [stdout] 19 | state.insert(Self::ST_NORMAL, State::new().update(Self::update_normal)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> plat/src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 11 | state: State, [INFO] [stdout] | ----- a field by that name exists in `Self` [INFO] [stdout] ... [INFO] [stdout] 22 | state.insert( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Room` in this scope [INFO] [stdout] --> plat/src/main.rs:51:42 [INFO] [stdout] | [INFO] [stdout] 51 | fn update_normal(&mut self, room: &mut Room, dt: f32) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Room` in this scope [INFO] [stdout] --> plat/src/main.rs:70:35 [INFO] [stdout] | [INFO] [stdout] 70 | fn update(&mut self, room: &mut Room) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macroquad::telemetry::LogTimeGuard` [INFO] [stdout] --> hello_macroquad/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use macroquad::telemetry::LogTimeGuard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StateMachine` [INFO] [stdout] --> plat/src/main.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | let mut state_machine = StateMachine::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `StateMachine` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use crate::state_machine::StateMachine; [INFO] [stdout] | [INFO] [stdout] 1 + use macroquad::prelude::state_machine::StateMachine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> plat/src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 11 | state: State, [INFO] [stdout] | ----- a field by that name exists in `Self` [INFO] [stdout] ... [INFO] [stdout] 19 | state.insert(Self::ST_NORMAL, State::new().update(Self::update_normal)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> plat/src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 11 | state: State, [INFO] [stdout] | ----- a field by that name exists in `Self` [INFO] [stdout] ... [INFO] [stdout] 22 | state.insert( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Room` in this scope [INFO] [stdout] --> plat/src/main.rs:51:42 [INFO] [stdout] | [INFO] [stdout] 51 | fn update_normal(&mut self, room: &mut Room, dt: f32) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Room` in this scope [INFO] [stdout] --> plat/src/main.rs:70:35 [INFO] [stdout] | [INFO] [stdout] 70 | fn update(&mut self, room: &mut Room) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ST_NORMAL` found for struct `Player` in the current scope [INFO] [stdout] --> plat/src/main.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 8 | struct Player { [INFO] [stdout] | ------------- associated item `ST_NORMAL` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 19 | state.insert(Self::ST_NORMAL, State::new().update(Self::update_normal)); [INFO] [stdout] | ^^^^^^^^^ associated item not found in `Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `new` found for enum `State` in the current scope [INFO] [stdout] --> plat/src/main.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 3 | enum State { [INFO] [stdout] | ---------- variant or associated item `new` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 19 | state.insert(Self::ST_NORMAL, State::new().update(Self::update_normal)); [INFO] [stdout] | ^^^ variant or associated item not found in `State` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ST_DASH` found for struct `Player` in the current scope [INFO] [stdout] --> plat/src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 8 | struct Player { [INFO] [stdout] | ------------- associated item `ST_DASH` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 23 | Self::ST_DASH, [INFO] [stdout] | ^^^^^^^ associated item not found in `Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `new` found for enum `State` in the current scope [INFO] [stdout] --> plat/src/main.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 3 | enum State { [INFO] [stdout] | ---------- variant or associated item `new` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 24 | State::new() [INFO] [stdout] | ^^^ variant or associated item not found in `State` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `update_dash` found for struct `Player` in the current scope [INFO] [stdout] --> plat/src/main.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 8 | struct Player { [INFO] [stdout] | ------------- function or associated item `update_dash` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 25 | .update(Self::update_dash) [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `Player` [INFO] [stdout] | [INFO] [stdout] help: there is a method `update` with a similar name [INFO] [stdout] --> plat/src/main.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | fn update(&mut self, room: &mut Room) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ST_NORMAL` found for struct `Player` in the current scope [INFO] [stdout] --> plat/src/main.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 8 | struct Player { [INFO] [stdout] | ------------- associated item `ST_NORMAL` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 19 | state.insert(Self::ST_NORMAL, State::new().update(Self::update_normal)); [INFO] [stdout] | ^^^^^^^^^ associated item not found in `Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `dash_coroutine` found for struct `Player` in the current scope [INFO] [stdout] --> plat/src/main.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 8 | struct Player { [INFO] [stdout] | ------------- function or associated item `dash_coroutine` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 26 | .coroutine(Self::dash_coroutine), [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `dashes` on type `&mut Player` [INFO] [stdout] --> plat/src/main.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | self.dashes = 0; [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pos`, `spd`, `state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `state_machine` on type `&mut Player` [INFO] [stdout] --> plat/src/main.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | self.state_machine.set_state(Self::ST_DASH); [INFO] [stdout] | ^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pos`, `spd`, `state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ST_DASH` found for struct `Player` in the current scope [INFO] [stdout] --> plat/src/main.rs:40:40 [INFO] [stdout] | [INFO] [stdout] 8 | struct Player { [INFO] [stdout] | ------------- associated item `ST_DASH` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 40 | self.state_machine.set_state(Self::ST_DASH); [INFO] [stdout] | ^^^^^^^ associated item not found in `Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0610]: `u8` is a primitive type and therefore doesn't have fields [INFO] [stdout] --> plat/src/main.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | self.spd.y = self.jump_speed; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `jump_speed` on type `&mut Player` [INFO] [stdout] --> plat/src/main.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | self.spd.y = self.jump_speed; [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pos`, `spd`, `state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `new` found for enum `State` in the current scope [INFO] [stdout] --> plat/src/main.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 3 | enum State { [INFO] [stdout] | ---------- variant or associated item `new` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 19 | state.insert(Self::ST_NORMAL, State::new().update(Self::update_normal)); [INFO] [stdout] | ^^^ variant or associated item not found in `State` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ST_DASH` found for struct `Player` in the current scope [INFO] [stdout] --> plat/src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 8 | struct Player { [INFO] [stdout] | ------------- associated item `ST_DASH` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 23 | Self::ST_DASH, [INFO] [stdout] | ^^^^^^^ associated item not found in `Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `start_dash` found for mutable reference `&mut Player` in the current scope [INFO] [stdout] --> plat/src/main.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | self.start_dash(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `&mut Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> plat/src/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 63 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 66 | todo!(); [INFO] [stdout] | ^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> plat/src/main.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 72 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 75 | todo!(); [INFO] [stdout] | ^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `state_machine` on type `&mut Player` [INFO] [stdout] --> plat/src/main.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | self.state_machine.update(room); [INFO] [stdout] | ^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pos`, `spd`, `state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `new` found for enum `State` in the current scope [INFO] [stdout] --> plat/src/main.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 3 | enum State { [INFO] [stdout] | ---------- variant or associated item `new` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 24 | State::new() [INFO] [stdout] | ^^^ variant or associated item not found in `State` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599, E0609, E0610. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `plat` (bin "plat" test) due to 18 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `update_dash` found for struct `Player` in the current scope [INFO] [stdout] --> plat/src/main.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 8 | struct Player { [INFO] [stdout] | ------------- function or associated item `update_dash` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 25 | .update(Self::update_dash) [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `Player` [INFO] [stdout] | [INFO] [stdout] help: there is a method `update` with a similar name [INFO] [stdout] --> plat/src/main.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | fn update(&mut self, room: &mut Room) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `dash_coroutine` found for struct `Player` in the current scope [INFO] [stdout] --> plat/src/main.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 8 | struct Player { [INFO] [stdout] | ------------- function or associated item `dash_coroutine` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 26 | .coroutine(Self::dash_coroutine), [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `dashes` on type `&mut Player` [INFO] [stdout] --> plat/src/main.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | self.dashes = 0; [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pos`, `spd`, `state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `state_machine` on type `&mut Player` [INFO] [stdout] --> plat/src/main.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | self.state_machine.set_state(Self::ST_DASH); [INFO] [stdout] | ^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pos`, `spd`, `state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ST_DASH` found for struct `Player` in the current scope [INFO] [stdout] --> plat/src/main.rs:40:40 [INFO] [stdout] | [INFO] [stdout] 8 | struct Player { [INFO] [stdout] | ------------- associated item `ST_DASH` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 40 | self.state_machine.set_state(Self::ST_DASH); [INFO] [stdout] | ^^^^^^^ associated item not found in `Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0610]: `u8` is a primitive type and therefore doesn't have fields [INFO] [stdout] --> plat/src/main.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | self.spd.y = self.jump_speed; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `jump_speed` on type `&mut Player` [INFO] [stdout] --> plat/src/main.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | self.spd.y = self.jump_speed; [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pos`, `spd`, `state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `start_dash` found for mutable reference `&mut Player` in the current scope [INFO] [stdout] --> plat/src/main.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | self.start_dash(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `&mut Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> plat/src/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 63 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 66 | todo!(); [INFO] [stdout] | ^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> plat/src/main.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 72 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 75 | todo!(); [INFO] [stdout] | ^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `state_machine` on type `&mut Player` [INFO] [stdout] --> plat/src/main.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | self.state_machine.update(room); [INFO] [stdout] | ^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pos`, `spd`, `state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599, E0609, E0610. [INFO] [stdout] [INFO] [stderr] error: could not compile `plat` (bin "plat") due to 18 previous errors; 2 warnings emitted [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "02a5720537b8ebc18bc1cb3b91e57717bb48b370c327ad2ce4731e5349badcce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02a5720537b8ebc18bc1cb3b91e57717bb48b370c327ad2ce4731e5349badcce", kill_on_drop: false }` [INFO] [stdout] 02a5720537b8ebc18bc1cb3b91e57717bb48b370c327ad2ce4731e5349badcce