[INFO] cloning repository https://github.com/kakoeimon/macro_kako_tools [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kakoeimon/macro_kako_tools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkakoeimon%2Fmacro_kako_tools", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkakoeimon%2Fmacro_kako_tools'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 713fad07e8a5c01fafacd17c7c2b3c9ffeab0280 [INFO] checking kakoeimon/macro_kako_tools against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkakoeimon%2Fmacro_kako_tools" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kakoeimon/macro_kako_tools on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kakoeimon/macro_kako_tools [INFO] finished tweaking git repo https://github.com/kakoeimon/macro_kako_tools [INFO] tweaked toml for git repo https://github.com/kakoeimon/macro_kako_tools written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/not-fl3/macroquad` [INFO] [stderr] Updating git repository `https://github.com/not-fl3/quad-snd` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2cf0c20bb364bc33a00836890a1798eb521a56b8b91a2c084c7f351917a829a [INFO] running `Command { std: "docker" "start" "-a" "d2cf0c20bb364bc33a00836890a1798eb521a56b8b91a2c084c7f351917a829a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2cf0c20bb364bc33a00836890a1798eb521a56b8b91a2c084c7f351917a829a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2cf0c20bb364bc33a00836890a1798eb521a56b8b91a2c084c7f351917a829a", kill_on_drop: false }` [INFO] [stdout] d2cf0c20bb364bc33a00836890a1798eb521a56b8b91a2c084c7f351917a829a [INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 241d1e002c6799b12b09aa9b2ae9b0a17a21d57de2ffaac62e07536e0be7d384 [INFO] running `Command { std: "docker" "start" "-a" "241d1e002c6799b12b09aa9b2ae9b0a17a21d57de2ffaac62e07536e0be7d384", kill_on_drop: false }` [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling quad-alsa-sys v0.3.2 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Compiling sapp-linux v0.1.13 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Compiling quad-snd v0.2.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking ttf-parser v0.12.3 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling quad-snd v0.2.0 (https://github.com/not-fl3/quad-snd#a8f16421) [INFO] [stderr] Checking bumpalo v3.7.0 [INFO] [stderr] Checking glam v0.14.0 [INFO] [stderr] Compiling macroquad_macro v0.1.5 (https://github.com/not-fl3/macroquad?branch=master#7b1f28c0) [INFO] [stderr] Checking quad-rand v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking inflate v0.3.4 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking ogg v0.7.1 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking dasp_frame v0.11.0 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking hecs v0.3.2 [INFO] [stderr] Checking lewton v0.9.4 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking fontdue v0.5.2 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking audrey v0.3.0 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking png v0.11.0 [INFO] [stderr] Checking miniquad v0.3.0-alpha.37 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking macroquad v0.3.7 (https://github.com/not-fl3/macroquad?branch=master#7b1f28c0) [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking image v0.18.0 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking noise v0.6.0 [INFO] [stderr] Checking macro_kako_tools v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `quad_snd::mixer::SoundMixer` [INFO] [stdout] --> src/game.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use quad_snd::{mixer::SoundMixer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `SoundMixer` in `mixer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `quad_snd::mixer::SoundId` [INFO] [stdout] --> src/game.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use quad_snd::{mixer::SoundId}; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `SoundId` in `mixer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `macroquad::prelude::set_texture_filter` [INFO] [stdout] --> src/resources.rs:2:51 [INFO] [stdout] | [INFO] [stdout] 2 | use macroquad::prelude::{Texture2D, load_texture, set_texture_filter, FilterMode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `set_texture_filter` in `prelude` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `quad_snd::decoder`, `quad_snd::mixer::Sound`, `quad_snd::mixer::PlaybackStyle` [INFO] [stdout] --> src/resources.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | decoder::{read_ogg}, [INFO] [stdout] | ^^^^^^^ could not find `decoder` in `quad_snd` [INFO] [stdout] 6 | mixer::{Sound, PlaybackStyle} [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ no `PlaybackStyle` in `mixer` [INFO] [stdout] | | [INFO] [stdout] | no `Sound` in `mixer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `macroquad::prelude::load_texture_from_image` [INFO] [stdout] --> src/noise.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | use macroquad::prelude::{Image, load_texture_from_image}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `load_texture_from_image` in `prelude` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `macroquad::prelude::load_texture_from_image` [INFO] [stdout] --> src/noise.rs:38:37 [INFO] [stdout] | [INFO] [stdout] 38 | use macroquad::prelude::{Image, load_texture_from_image}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `load_texture_from_image` in `prelude` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `mixer` is private [INFO] [stdout] --> src/game.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use quad_snd::{mixer::SoundMixer}; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `mixer` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/quad-snd-acc920ee6996f98e/a8f1642/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | mod mixer; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `mixer` is private [INFO] [stdout] --> src/game.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use quad_snd::{mixer::SoundId}; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `mixer` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/quad-snd-acc920ee6996f98e/a8f1642/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | mod mixer; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `mixer` is private [INFO] [stdout] --> src/resources.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mixer::{Sound, PlaybackStyle} [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `mixer` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/quad-snd-acc920ee6996f98e/a8f1642/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | mod mixer; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `quad_snd::mixer::SoundMixer` [INFO] [stdout] --> src/game.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use quad_snd::{mixer::SoundMixer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `SoundMixer` in `mixer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `quad_snd::mixer::SoundId` [INFO] [stdout] --> src/game.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use quad_snd::{mixer::SoundId}; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `SoundId` in `mixer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `macroquad::prelude::set_texture_filter` [INFO] [stdout] --> src/resources.rs:2:51 [INFO] [stdout] | [INFO] [stdout] 2 | use macroquad::prelude::{Texture2D, load_texture, set_texture_filter, FilterMode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `set_texture_filter` in `prelude` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `quad_snd::decoder`, `quad_snd::mixer::Sound`, `quad_snd::mixer::PlaybackStyle` [INFO] [stdout] --> src/resources.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | decoder::{read_ogg}, [INFO] [stdout] | ^^^^^^^ could not find `decoder` in `quad_snd` [INFO] [stdout] 6 | mixer::{Sound, PlaybackStyle} [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ no `PlaybackStyle` in `mixer` [INFO] [stdout] | | [INFO] [stdout] | no `Sound` in `mixer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `macroquad::prelude::load_texture_from_image` [INFO] [stdout] --> src/noise.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | use macroquad::prelude::{Image, load_texture_from_image}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `load_texture_from_image` in `prelude` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `macroquad::prelude::load_texture_from_image` [INFO] [stdout] --> src/noise.rs:38:37 [INFO] [stdout] | [INFO] [stdout] 38 | use macroquad::prelude::{Image, load_texture_from_image}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `load_texture_from_image` in `prelude` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `mixer` is private [INFO] [stdout] --> src/game.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use quad_snd::{mixer::SoundMixer}; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `mixer` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/quad-snd-acc920ee6996f98e/a8f1642/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | mod mixer; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `mixer` is private [INFO] [stdout] --> src/game.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use quad_snd::{mixer::SoundId}; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `mixer` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/quad-snd-acc920ee6996f98e/a8f1642/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | mod mixer; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `mixer` is private [INFO] [stdout] --> src/resources.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mixer::{Sound, PlaybackStyle} [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `mixer` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/quad-snd-acc920ee6996f98e/a8f1642/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | mod mixer; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/resources.rs:34:47 [INFO] [stdout] | [INFO] [stdout] 34 | self.textures.insert(path.to_owned(), texture); [INFO] [stdout] | ^^^^^^^ expected struct `Texture2D`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Texture2D` [INFO] [stdout] found enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/resources.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | texture [INFO] [stdout] | ^^^^^^^ expected struct `Texture2D`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Texture2D` [INFO] [stdout] found enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/resources.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | sounds: HashMap::with_capacity(100), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/resources.rs:34:47 [INFO] [stdout] | [INFO] [stdout] 34 | self.textures.insert(path.to_owned(), texture); [INFO] [stdout] | ^^^^^^^ expected struct `Texture2D`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Texture2D` [INFO] [stdout] found enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/sprite.rs:28:46 [INFO] [stdout] | [INFO] [stdout] 28 | ... let (x, y) = (sprite.pos.x() + (sprite.offset.x() - frame.w) * sprite.scale.x() / 2.0 , sprite.pos.y() + (sprite.offset.y() - frame... [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/sprite.rs:28:67 [INFO] [stdout] | [INFO] [stdout] 28 | ... let (x, y) = (sprite.pos.x() + (sprite.offset.x() - frame.w) * sprite.scale.x() / 2.0 , sprite.pos.y() + (sprite.offset.y() - frame... [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/sprite.rs:28:97 [INFO] [stdout] | [INFO] [stdout] 28 | ... let (x, y) = (sprite.pos.x() + (sprite.offset.x() - frame.w) * sprite.scale.x() / 2.0 , sprite.pos.y() + (sprite.offset.y() - frame... [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/sprite.rs:28:120 [INFO] [stdout] | [INFO] [stdout] 28 | ...() - frame.w) * sprite.scale.x() / 2.0 , sprite.pos.y() + (sprite.offset.y() - frame.h) * sprite.scale.y() / 2.0); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/sprite.rs:28:141 [INFO] [stdout] | [INFO] [stdout] 28 | ...e.scale.x() / 2.0 , sprite.pos.y() + (sprite.offset.y() - frame.h) * sprite.scale.y() / 2.0); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/sprite.rs:28:171 [INFO] [stdout] | [INFO] [stdout] 28 | ....y() + (sprite.offset.y() - frame.h) * sprite.scale.y() / 2.0); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/sprite.rs:31:74 [INFO] [stdout] | [INFO] [stdout] 31 | dest_size: Some(Vec2::new(frame.w * sprite.scale.x(), frame.h * sprite.scale.y())), [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/sprite.rs:31:102 [INFO] [stdout] | [INFO] [stdout] 31 | dest_size: Some(Vec2::new(frame.w * sprite.scale.x(), frame.h * sprite.scale.y())), [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `flip_x` and `flip_y` in initializer of `DrawTextureParams` [INFO] [stdout] --> src/sprite.rs:30:34 [INFO] [stdout] | [INFO] [stdout] 30 | let params = DrawTextureParams { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ missing `flip_x` and `flip_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/sprite.rs:41:46 [INFO] [stdout] | [INFO] [stdout] 41 | ... let (x, y) = (sprite.pos.x() + sprite.offset.x() - sprite.texture.width() * sprite.scale.x() / 2.0 , sprite.pos.y() + sprite.offset... [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/sprite.rs:41:66 [INFO] [stdout] | [INFO] [stdout] 41 | ... let (x, y) = (sprite.pos.x() + sprite.offset.x() - sprite.texture.width() * sprite.scale.x() / 2.0 , sprite.pos.y() + sprite.offset... [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/sprite.rs:41:110 [INFO] [stdout] | [INFO] [stdout] 41 | ... let (x, y) = (sprite.pos.x() + sprite.offset.x() - sprite.texture.width() * sprite.scale.x() / 2.0 , sprite.pos.y() + sprite.offset... [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/sprite.rs:41:133 [INFO] [stdout] | [INFO] [stdout] 41 | ...xture.width() * sprite.scale.x() / 2.0 , sprite.pos.y() + sprite.offset.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/sprite.rs:41:153 [INFO] [stdout] | [INFO] [stdout] 41 | ...te.scale.x() / 2.0 , sprite.pos.y() + sprite.offset.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/sprite.rs:41:198 [INFO] [stdout] | [INFO] [stdout] 41 | ...offset.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/sprite.rs:43:89 [INFO] [stdout] | [INFO] [stdout] 43 | dest_size: Some(Vec2::new(sprite.texture.width() * sprite.scale.x(), sprite.texture.height() * sprite.scale.y())), [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/sprite.rs:43:133 [INFO] [stdout] | [INFO] [stdout] 43 | dest_size: Some(Vec2::new(sprite.texture.width() * sprite.scale.x(), sprite.texture.height() * sprite.scale.y())), [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `flip_x` and `flip_y` in initializer of `DrawTextureParams` [INFO] [stdout] --> src/sprite.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | let params = DrawTextureParams { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ missing `flip_x` and `flip_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::zero`: use ZERO constant instead [INFO] [stdout] --> src/aabb.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | velocity: Vec2::zero(), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::zero`: use ZERO constant instead [INFO] [stdout] --> src/aabb.rs:57:36 [INFO] [stdout] | [INFO] [stdout] 57 | external_forces: Vec2::zero(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x_mut` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | *self.velocity.x_mut() = x; [INFO] [stdout] | ^^^^^ method not found in `Vec2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y_mut` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:76:24 [INFO] [stdout] | [INFO] [stdout] 76 | *self.velocity.y_mut() = y; [INFO] [stdout] | ^^^^^ method not found in `Vec2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::zero`: use ZERO constant instead [INFO] [stdout] --> src/aabb.rs:114:35 [INFO] [stdout] | [INFO] [stdout] 114 | pos: Mutex::new(Vec2::zero()), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::zero`: use ZERO constant instead [INFO] [stdout] --> src/aabb.rs:115:27 [INFO] [stdout] | [INFO] [stdout] 115 | half_e: Vec2::zero(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:144:18 [INFO] [stdout] | [INFO] [stdout] 144 | if (pos1.x() - pos2.x()).abs() > half_e1.x() + half_e2.x() {return false;}; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:144:29 [INFO] [stdout] | [INFO] [stdout] 144 | if (pos1.x() - pos2.x()).abs() > half_e1.x() + half_e2.x() {return false;}; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:144:50 [INFO] [stdout] | [INFO] [stdout] 144 | if (pos1.x() - pos2.x()).abs() > half_e1.x() + half_e2.x() {return false;}; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:144:64 [INFO] [stdout] | [INFO] [stdout] 144 | if (pos1.x() - pos2.x()).abs() > half_e1.x() + half_e2.x() {return false;}; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:145:18 [INFO] [stdout] | [INFO] [stdout] 145 | if (pos1.y() - pos2.y()).abs() > half_e1.y() + half_e2.y() {return false;}; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:145:29 [INFO] [stdout] | [INFO] [stdout] 145 | if (pos1.y() - pos2.y()).abs() > half_e1.y() + half_e2.y() {return false;}; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:145:50 [INFO] [stdout] | [INFO] [stdout] 145 | if (pos1.y() - pos2.y()).abs() > half_e1.y() + half_e2.y() {return false;}; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:145:64 [INFO] [stdout] | [INFO] [stdout] 145 | if (pos1.y() - pos2.y()).abs() > half_e1.y() + half_e2.y() {return false;}; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:150:17 [INFO] [stdout] | [INFO] [stdout] 150 | if max1.x() < min2.x() || min1.x() > max2.x() {return false;}; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:150:28 [INFO] [stdout] | [INFO] [stdout] 150 | if max1.x() < min2.x() || min1.x() > max2.x() {return false;}; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:150:40 [INFO] [stdout] | [INFO] [stdout] 150 | if max1.x() < min2.x() || min1.x() > max2.x() {return false;}; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:150:51 [INFO] [stdout] | [INFO] [stdout] 150 | if max1.x() < min2.x() || min1.x() > max2.x() {return false;}; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | if max1.y() < min2.y() || min1.y() > max2.y() {return false;}; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:151:28 [INFO] [stdout] | [INFO] [stdout] 151 | if max1.y() < min2.y() || min1.y() > max2.y() {return false;}; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:151:40 [INFO] [stdout] | [INFO] [stdout] 151 | if max1.y() < min2.y() || min1.y() > max2.y() {return false;}; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:151:51 [INFO] [stdout] | [INFO] [stdout] 151 | if max1.y() < min2.y() || min1.y() > max2.y() {return false;}; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:156:48 [INFO] [stdout] | [INFO] [stdout] 156 | ... macroquad::prelude::draw_rectangle(pos.x() - half_e.x(), pos.y() - half_e.y(), half_e.x() * 2.0, half_e.y() * 2.0, macroquad::prelu... [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:156:61 [INFO] [stdout] | [INFO] [stdout] 156 | ... macroquad::prelude::draw_rectangle(pos.x() - half_e.x(), pos.y() - half_e.y(), half_e.x() * 2.0, half_e.y() * 2.0, macroquad::prelu... [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:156:70 [INFO] [stdout] | [INFO] [stdout] 156 | ... macroquad::prelude::draw_rectangle(pos.x() - half_e.x(), pos.y() - half_e.y(), half_e.x() * 2.0, half_e.y() * 2.0, macroquad::prelu... [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:156:83 [INFO] [stdout] | [INFO] [stdout] 156 | ... macroquad::prelude::draw_rectangle(pos.x() - half_e.x(), pos.y() - half_e.y(), half_e.x() * 2.0, half_e.y() * 2.0, macroquad::prelu... [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:156:95 [INFO] [stdout] | [INFO] [stdout] 156 | ... macroquad::prelude::draw_rectangle(pos.x() - half_e.x(), pos.y() - half_e.y(), half_e.x() * 2.0, half_e.y() * 2.0, macroquad::prelu... [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:156:113 [INFO] [stdout] | [INFO] [stdout] 156 | ...x(), pos.y() - half_e.y(), half_e.x() * 2.0, half_e.y() * 2.0, macroquad::prelude::WHITE); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:224:23 [INFO] [stdout] | [INFO] [stdout] 224 | let x1 = pos1.x(); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:225:23 [INFO] [stdout] | [INFO] [stdout] 225 | let y1 = pos1.y(); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:226:26 [INFO] [stdout] | [INFO] [stdout] 226 | let w1 = half_e1.x(); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:227:26 [INFO] [stdout] | [INFO] [stdout] 227 | let h1 = half_e1.y(); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:229:23 [INFO] [stdout] | [INFO] [stdout] 229 | let x2 = pos2.x(); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:230:23 [INFO] [stdout] | [INFO] [stdout] 230 | let y2 = pos2.y(); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:231:26 [INFO] [stdout] | [INFO] [stdout] 231 | let w2 = half_e2.x(); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:232:26 [INFO] [stdout] | [INFO] [stdout] 232 | let h2 = half_e2.y(); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:234:22 [INFO] [stdout] | [INFO] [stdout] 234 | let vx = vel.x(); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/resources.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | texture [INFO] [stdout] | ^^^^^^^ expected struct `Texture2D`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Texture2D` [INFO] [stdout] found enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:235:22 [INFO] [stdout] | [INFO] [stdout] 235 | let vy = vel.y(); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::zero`: use ZERO constant instead [INFO] [stdout] --> src/aabb.rs:349:72 [INFO] [stdout] | [INFO] [stdout] 349 | moveable.external_forces = moveable.external_forces.lerp(Vec2::zero(), moveable.external_friction * delta); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::zero`: use ZERO constant instead [INFO] [stdout] --> src/aabb.rs:351:46 [INFO] [stdout] | [INFO] [stdout] 351 | moveable.external_forces = Vec2::zero(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::zero`: use ZERO constant instead [INFO] [stdout] --> src/aabb.rs:361:25 [INFO] [stdout] | [INFO] [stdout] 361 | vel = Vec2::zero(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::zero`: use ZERO constant instead [INFO] [stdout] --> src/aabb.rs:368:40 [INFO] [stdout] | [INFO] [stdout] 368 | let mut closest_normal = Vec2::zero(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/resources.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | sounds: HashMap::with_capacity(100), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `MutexGuard<'_, Vec2>` in the current scope [INFO] [stdout] --> src/aabb.rs:376:43 [INFO] [stdout] | [INFO] [stdout] 376 | let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:376:62 [INFO] [stdout] | [INFO] [stdout] 376 | let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `MutexGuard<'_, Vec2>` in the current scope [INFO] [stdout] --> src/aabb.rs:376:72 [INFO] [stdout] | [INFO] [stdout] 376 | let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:376:91 [INFO] [stdout] | [INFO] [stdout] 376 | let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `MutexGuard<'_, Vec2>` in the current scope [INFO] [stdout] --> src/aabb.rs:377:42 [INFO] [stdout] | [INFO] [stdout] 377 | if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.y() { continue; }; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/sprite.rs:28:46 [INFO] [stdout] | [INFO] [stdout] 28 | ... let (x, y) = (sprite.pos.x() + (sprite.offset.x() - frame.w) * sprite.scale.x() / 2.0 , sprite.pos.y() + (sprite.offset.y() - frame... [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:377:61 [INFO] [stdout] | [INFO] [stdout] 377 | if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.y() { continue; }; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/sprite.rs:28:67 [INFO] [stdout] | [INFO] [stdout] 28 | ... let (x, y) = (sprite.pos.x() + (sprite.offset.x() - frame.w) * sprite.scale.x() / 2.0 , sprite.pos.y() + (sprite.offset.y() - frame... [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:377:72 [INFO] [stdout] | [INFO] [stdout] 377 | if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.y() { continue; }; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/sprite.rs:28:97 [INFO] [stdout] | [INFO] [stdout] 28 | ... let (x, y) = (sprite.pos.x() + (sprite.offset.x() - frame.w) * sprite.scale.x() / 2.0 , sprite.pos.y() + (sprite.offset.y() - frame... [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x_mut` found for struct `MutexGuard<'_, Vec2>` in the current scope [INFO] [stdout] --> src/aabb.rs:387:15 [INFO] [stdout] | [INFO] [stdout] 387 | *pos1.x_mut() += vel.x() * max_t + closest_normal.x() * MARGIN; [INFO] [stdout] | ^^^^^ method not found in `MutexGuard<'_, Vec2>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:387:30 [INFO] [stdout] | [INFO] [stdout] 387 | *pos1.x_mut() += vel.x() * max_t + closest_normal.x() * MARGIN; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/sprite.rs:28:120 [INFO] [stdout] | [INFO] [stdout] 28 | ...() - frame.w) * sprite.scale.x() / 2.0 , sprite.pos.y() + (sprite.offset.y() - frame.h) * sprite.scale.y() / 2.0); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:387:59 [INFO] [stdout] | [INFO] [stdout] 387 | *pos1.x_mut() += vel.x() * max_t + closest_normal.x() * MARGIN; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/sprite.rs:28:141 [INFO] [stdout] | [INFO] [stdout] 28 | ...e.scale.x() / 2.0 , sprite.pos.y() + (sprite.offset.y() - frame.h) * sprite.scale.y() / 2.0); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y_mut` found for struct `MutexGuard<'_, Vec2>` in the current scope [INFO] [stdout] --> src/aabb.rs:388:15 [INFO] [stdout] | [INFO] [stdout] 388 | *pos1.y_mut() += vel.y() * max_t + closest_normal.y() * MARGIN; [INFO] [stdout] | ^^^^^ method not found in `MutexGuard<'_, Vec2>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:388:30 [INFO] [stdout] | [INFO] [stdout] 388 | *pos1.y_mut() += vel.y() * max_t + closest_normal.y() * MARGIN; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/sprite.rs:28:171 [INFO] [stdout] | [INFO] [stdout] 28 | ....y() + (sprite.offset.y() - frame.h) * sprite.scale.y() / 2.0); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:388:59 [INFO] [stdout] | [INFO] [stdout] 388 | *pos1.y_mut() += vel.y() * max_t + closest_normal.y() * MARGIN; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/sprite.rs:31:74 [INFO] [stdout] | [INFO] [stdout] 31 | dest_size: Some(Vec2::new(frame.w * sprite.scale.x(), frame.h * sprite.scale.y())), [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:391:27 [INFO] [stdout] | [INFO] [stdout] 391 | if closest_normal.x() != 0.0 { [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/sprite.rs:31:102 [INFO] [stdout] | [INFO] [stdout] 31 | dest_size: Some(Vec2::new(frame.w * sprite.scale.x(), frame.h * sprite.scale.y())), [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:393:34 [INFO] [stdout] | [INFO] [stdout] 393 | } else if closest_normal.y() < 0.0 { [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `flip_x` and `flip_y` in initializer of `DrawTextureParams` [INFO] [stdout] --> src/sprite.rs:30:34 [INFO] [stdout] | [INFO] [stdout] 30 | let params = DrawTextureParams { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ missing `flip_x` and `flip_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:401:37 [INFO] [stdout] | [INFO] [stdout] 401 | let dotporod = (vel.x() * closest_normal.y() + vel.y() * closest_normal.x()) * (1.0 - max_t); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:401:58 [INFO] [stdout] | [INFO] [stdout] 401 | let dotporod = (vel.x() * closest_normal.y() + vel.y() * closest_normal.x()) * (1.0 - max_t); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/sprite.rs:41:46 [INFO] [stdout] | [INFO] [stdout] 41 | ... let (x, y) = (sprite.pos.x() + sprite.offset.x() - sprite.texture.width() * sprite.scale.x() / 2.0 , sprite.pos.y() + sprite.offset... [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:401:68 [INFO] [stdout] | [INFO] [stdout] 401 | let dotporod = (vel.x() * closest_normal.y() + vel.y() * closest_normal.x()) * (1.0 - max_t); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/sprite.rs:41:66 [INFO] [stdout] | [INFO] [stdout] 41 | ... let (x, y) = (sprite.pos.x() + sprite.offset.x() - sprite.texture.width() * sprite.scale.x() / 2.0 , sprite.pos.y() + sprite.offset... [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:401:89 [INFO] [stdout] | [INFO] [stdout] 401 | let dotporod = (vel.x() * closest_normal.y() + vel.y() * closest_normal.x()) * (1.0 - max_t); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:402:63 [INFO] [stdout] | [INFO] [stdout] 402 | let vel = Vec2::new(dotporod * closest_normal.y(), dotporod * closest_normal.x()); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/sprite.rs:41:110 [INFO] [stdout] | [INFO] [stdout] 41 | ... let (x, y) = (sprite.pos.x() + sprite.offset.x() - sprite.texture.width() * sprite.scale.x() / 2.0 , sprite.pos.y() + sprite.offset... [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:402:94 [INFO] [stdout] | [INFO] [stdout] 402 | let vel = Vec2::new(dotporod * closest_normal.y(), dotporod * closest_normal.x()); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/sprite.rs:41:133 [INFO] [stdout] | [INFO] [stdout] 41 | ...xture.width() * sprite.scale.x() / 2.0 , sprite.pos.y() + sprite.offset.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `MutexGuard<'_, Vec2>` in the current scope [INFO] [stdout] --> src/aabb.rs:409:51 [INFO] [stdout] | [INFO] [stdout] 409 | let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/sprite.rs:41:153 [INFO] [stdout] | [INFO] [stdout] 41 | ...te.scale.x() / 2.0 , sprite.pos.y() + sprite.offset.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:409:70 [INFO] [stdout] | [INFO] [stdout] 409 | let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/sprite.rs:41:198 [INFO] [stdout] | [INFO] [stdout] 41 | ...offset.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `MutexGuard<'_, Vec2>` in the current scope [INFO] [stdout] --> src/aabb.rs:409:80 [INFO] [stdout] | [INFO] [stdout] 409 | let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/sprite.rs:43:89 [INFO] [stdout] | [INFO] [stdout] 43 | dest_size: Some(Vec2::new(sprite.texture.width() * sprite.scale.x(), sprite.texture.height() * sprite.scale.y())), [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:409:99 [INFO] [stdout] | [INFO] [stdout] 409 | let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/sprite.rs:43:133 [INFO] [stdout] | [INFO] [stdout] 43 | dest_size: Some(Vec2::new(sprite.texture.width() * sprite.scale.x(), sprite.texture.height() * sprite.scale.y())), [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `flip_x` and `flip_y` in initializer of `DrawTextureParams` [INFO] [stdout] --> src/sprite.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | let params = DrawTextureParams { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ missing `flip_x` and `flip_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::zero`: use ZERO constant instead [INFO] [stdout] --> src/aabb.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | velocity: Vec2::zero(), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::zero`: use ZERO constant instead [INFO] [stdout] --> src/aabb.rs:57:36 [INFO] [stdout] | [INFO] [stdout] 57 | external_forces: Vec2::zero(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `MutexGuard<'_, Vec2>` in the current scope [INFO] [stdout] --> src/aabb.rs:410:50 [INFO] [stdout] | [INFO] [stdout] 410 | if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.y() { continue; }; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x_mut` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | *self.velocity.x_mut() = x; [INFO] [stdout] | ^^^^^ method not found in `Vec2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:410:69 [INFO] [stdout] | [INFO] [stdout] 410 | if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.y() { continue; }; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y_mut` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:76:24 [INFO] [stdout] | [INFO] [stdout] 76 | *self.velocity.y_mut() = y; [INFO] [stdout] | ^^^^^ method not found in `Vec2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::zero`: use ZERO constant instead [INFO] [stdout] --> src/aabb.rs:114:35 [INFO] [stdout] | [INFO] [stdout] 114 | pos: Mutex::new(Vec2::zero()), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::zero`: use ZERO constant instead [INFO] [stdout] --> src/aabb.rs:115:27 [INFO] [stdout] | [INFO] [stdout] 115 | half_e: Vec2::zero(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:410:80 [INFO] [stdout] | [INFO] [stdout] 410 | if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.y() { continue; }; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:144:18 [INFO] [stdout] | [INFO] [stdout] 144 | if (pos1.x() - pos2.x()).abs() > half_e1.x() + half_e2.x() {return false;}; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x_mut` found for struct `MutexGuard<'_, Vec2>` in the current scope [INFO] [stdout] --> src/aabb.rs:420:23 [INFO] [stdout] | [INFO] [stdout] 420 | *pos1.x_mut() += vel.x() * max_t + closest_normal.x() * MARGIN; [INFO] [stdout] | ^^^^^ method not found in `MutexGuard<'_, Vec2>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:144:29 [INFO] [stdout] | [INFO] [stdout] 144 | if (pos1.x() - pos2.x()).abs() > half_e1.x() + half_e2.x() {return false;}; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:420:38 [INFO] [stdout] | [INFO] [stdout] 420 | *pos1.x_mut() += vel.x() * max_t + closest_normal.x() * MARGIN; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:144:50 [INFO] [stdout] | [INFO] [stdout] 144 | if (pos1.x() - pos2.x()).abs() > half_e1.x() + half_e2.x() {return false;}; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:420:67 [INFO] [stdout] | [INFO] [stdout] 420 | *pos1.x_mut() += vel.x() * max_t + closest_normal.x() * MARGIN; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:144:64 [INFO] [stdout] | [INFO] [stdout] 144 | if (pos1.x() - pos2.x()).abs() > half_e1.x() + half_e2.x() {return false;}; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y_mut` found for struct `MutexGuard<'_, Vec2>` in the current scope [INFO] [stdout] --> src/aabb.rs:421:23 [INFO] [stdout] | [INFO] [stdout] 421 | *pos1.y_mut() += vel.y() * max_t + closest_normal.y() * MARGIN; [INFO] [stdout] | ^^^^^ method not found in `MutexGuard<'_, Vec2>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:145:18 [INFO] [stdout] | [INFO] [stdout] 145 | if (pos1.y() - pos2.y()).abs() > half_e1.y() + half_e2.y() {return false;}; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:421:38 [INFO] [stdout] | [INFO] [stdout] 421 | *pos1.y_mut() += vel.y() * max_t + closest_normal.y() * MARGIN; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:145:29 [INFO] [stdout] | [INFO] [stdout] 145 | if (pos1.y() - pos2.y()).abs() > half_e1.y() + half_e2.y() {return false;}; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:421:67 [INFO] [stdout] | [INFO] [stdout] 421 | *pos1.y_mut() += vel.y() * max_t + closest_normal.y() * MARGIN; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:145:50 [INFO] [stdout] | [INFO] [stdout] 145 | if (pos1.y() - pos2.y()).abs() > half_e1.y() + half_e2.y() {return false;}; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:424:35 [INFO] [stdout] | [INFO] [stdout] 424 | if closest_normal.x() != 0.0 { [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:145:64 [INFO] [stdout] | [INFO] [stdout] 145 | if (pos1.y() - pos2.y()).abs() > half_e1.y() + half_e2.y() {return false;}; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:426:42 [INFO] [stdout] | [INFO] [stdout] 426 | } else if closest_normal.y() < 0.0 { [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:150:17 [INFO] [stdout] | [INFO] [stdout] 150 | if max1.x() < min2.x() || min1.x() > max2.x() {return false;}; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x_mut` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:438:21 [INFO] [stdout] | [INFO] [stdout] 438 | *sprite.pos.x_mut() = pos.x(); [INFO] [stdout] | ^^^^^ method not found in `Vec2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:150:28 [INFO] [stdout] | [INFO] [stdout] 150 | if max1.x() < min2.x() || min1.x() > max2.x() {return false;}; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `MutexGuard<'_, Vec2>` in the current scope [INFO] [stdout] --> src/aabb.rs:438:35 [INFO] [stdout] | [INFO] [stdout] 438 | *sprite.pos.x_mut() = pos.x(); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:150:40 [INFO] [stdout] | [INFO] [stdout] 150 | if max1.x() < min2.x() || min1.x() > max2.x() {return false;}; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y_mut` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:439:21 [INFO] [stdout] | [INFO] [stdout] 439 | *sprite.pos.y_mut() = pos.y(); [INFO] [stdout] | ^^^^^ method not found in `Vec2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:150:51 [INFO] [stdout] | [INFO] [stdout] 150 | if max1.x() < min2.x() || min1.x() > max2.x() {return false;}; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `MutexGuard<'_, Vec2>` in the current scope [INFO] [stdout] --> src/aabb.rs:439:35 [INFO] [stdout] | [INFO] [stdout] 439 | *sprite.pos.y_mut() = pos.y(); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | if max1.y() < min2.y() || min1.y() > max2.y() {return false;}; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `0` on type `Color` [INFO] [stdout] --> src/aabb.rs:471:11 [INFO] [stdout] | [INFO] [stdout] 471 | color.0[3] = 128; [INFO] [stdout] | ^ help: a field with a similar name exists: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:151:28 [INFO] [stdout] | [INFO] [stdout] 151 | if max1.y() < min2.y() || min1.y() > max2.y() {return false;}; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `MutexGuard<'_, Vec2>` in the current scope [INFO] [stdout] --> src/aabb.rs:474:27 [INFO] [stdout] | [INFO] [stdout] 474 | let (x, y) = (pos.x() - aabb.half_e.x(), pos.y() - aabb.half_e.y()); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:151:40 [INFO] [stdout] | [INFO] [stdout] 151 | if max1.y() < min2.y() || min1.y() > max2.y() {return false;}; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:474:45 [INFO] [stdout] | [INFO] [stdout] 474 | let (x, y) = (pos.x() - aabb.half_e.x(), pos.y() - aabb.half_e.y()); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `MutexGuard<'_, Vec2>` in the current scope [INFO] [stdout] --> src/aabb.rs:474:54 [INFO] [stdout] | [INFO] [stdout] 474 | let (x, y) = (pos.x() - aabb.half_e.x(), pos.y() - aabb.half_e.y()); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:151:51 [INFO] [stdout] | [INFO] [stdout] 151 | if max1.y() < min2.y() || min1.y() > max2.y() {return false;}; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:474:72 [INFO] [stdout] | [INFO] [stdout] 474 | let (x, y) = (pos.x() - aabb.half_e.x(), pos.y() - aabb.half_e.y()); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:475:42 [INFO] [stdout] | [INFO] [stdout] 475 | draw_rectangle(x, y, aabb.half_e.x() * 2.0, aabb.half_e.y() * 2.0, color); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:475:65 [INFO] [stdout] | [INFO] [stdout] 475 | draw_rectangle(x, y, aabb.half_e.x() * 2.0, aabb.half_e.y() * 2.0, color); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::zero`: use ZERO constant instead [INFO] [stdout] --> src/camera.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | offset: Vec2::zero(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:156:48 [INFO] [stdout] | [INFO] [stdout] 156 | ... macroquad::prelude::draw_rectangle(pos.x() - half_e.x(), pos.y() - half_e.y(), half_e.x() * 2.0, half_e.y() * 2.0, macroquad::prelu... [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/camera.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | set_camera(self.camera); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Camera2D` [INFO] [stdout] | help: consider borrowing here: `&self.camera` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&dyn macroquad::camera::Camera` [INFO] [stdout] found struct `Camera2D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/camera.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | self.camera.offset.set_x(-x * self.scale); [INFO] [stdout] | ^^^^^ method not found in `Vec2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/camera.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | self.camera.offset.set_y(-y * self.scale); [INFO] [stdout] | ^^^^^ method not found in `Vec2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x_mut` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/camera.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | *self.camera.offset.x_mut() -= movement.x() * self.scale; [INFO] [stdout] | ^^^^^ method not found in `Vec2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:156:61 [INFO] [stdout] | [INFO] [stdout] 156 | ... macroquad::prelude::draw_rectangle(pos.x() - half_e.x(), pos.y() - half_e.y(), half_e.x() * 2.0, half_e.y() * 2.0, macroquad::prelu... [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/camera.rs:66:49 [INFO] [stdout] | [INFO] [stdout] 66 | *self.camera.offset.x_mut() -= movement.x() * self.scale; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:156:70 [INFO] [stdout] | [INFO] [stdout] 156 | ... macroquad::prelude::draw_rectangle(pos.x() - half_e.x(), pos.y() - half_e.y(), half_e.x() * 2.0, half_e.y() * 2.0, macroquad::prelu... [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y_mut` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/camera.rs:67:29 [INFO] [stdout] | [INFO] [stdout] 67 | *self.camera.offset.y_mut() -= movement.y() * self.scale; [INFO] [stdout] | ^^^^^ method not found in `Vec2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/camera.rs:67:49 [INFO] [stdout] | [INFO] [stdout] 67 | *self.camera.offset.y_mut() -= movement.y() * self.scale; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x_mut` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/camera.rs:71:29 [INFO] [stdout] | [INFO] [stdout] 71 | *self.camera.offset.x_mut() -= x * self.scale; [INFO] [stdout] | ^^^^^ method not found in `Vec2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:156:83 [INFO] [stdout] | [INFO] [stdout] 156 | ... macroquad::prelude::draw_rectangle(pos.x() - half_e.x(), pos.y() - half_e.y(), half_e.x() * 2.0, half_e.y() * 2.0, macroquad::prelu... [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y_mut` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/camera.rs:72:29 [INFO] [stdout] | [INFO] [stdout] 72 | *self.camera.offset.y_mut() -= y * self.scale; [INFO] [stdout] | ^^^^^ method not found in `Vec2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/placeholder.rs:31:57 [INFO] [stdout] | [INFO] [stdout] 31 | (placeholder.call_fn)(game, placeholder.pos.x(), placeholder.pos.y()); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:156:95 [INFO] [stdout] | [INFO] [stdout] 156 | ... macroquad::prelude::draw_rectangle(pos.x() - half_e.x(), pos.y() - half_e.y(), half_e.x() * 2.0, half_e.y() * 2.0, macroquad::prelu... [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/placeholder.rs:31:78 [INFO] [stdout] | [INFO] [stdout] 31 | (placeholder.call_fn)(game, placeholder.pos.x(), placeholder.pos.y()); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/frames.rs:40:63 [INFO] [stdout] | [INFO] [stdout] 40 | Some( Rect::new(frame_number as f32 * self.frame_size.x(), 0.0, self.frame_size.x(), self.frame_size.y()) ) [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:156:113 [INFO] [stdout] | [INFO] [stdout] 156 | ...x(), pos.y() - half_e.y(), half_e.x() * 2.0, half_e.y() * 2.0, macroquad::prelude::WHITE); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/frames.rs:40:89 [INFO] [stdout] | [INFO] [stdout] 40 | Some( Rect::new(frame_number as f32 * self.frame_size.x(), 0.0, self.frame_size.x(), self.frame_size.y()) ) [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/frames.rs:40:110 [INFO] [stdout] | [INFO] [stdout] 40 | Some( Rect::new(frame_number as f32 * self.frame_size.x(), 0.0, self.frame_size.x(), self.frame_size.y()) ) [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:224:23 [INFO] [stdout] | [INFO] [stdout] 224 | let x1 = pos1.x(); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 125 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0282, E0308, E0432, E0599, E0603, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `macro_kako_tools` due to 126 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `y` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:225:23 [INFO] [stdout] | [INFO] [stdout] 225 | let y1 = pos1.y(); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:226:26 [INFO] [stdout] | [INFO] [stdout] 226 | let w1 = half_e1.x(); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:227:26 [INFO] [stdout] | [INFO] [stdout] 227 | let h1 = half_e1.y(); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:229:23 [INFO] [stdout] | [INFO] [stdout] 229 | let x2 = pos2.x(); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:230:23 [INFO] [stdout] | [INFO] [stdout] 230 | let y2 = pos2.y(); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:231:26 [INFO] [stdout] | [INFO] [stdout] 231 | let w2 = half_e2.x(); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:232:26 [INFO] [stdout] | [INFO] [stdout] 232 | let h2 = half_e2.y(); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:234:22 [INFO] [stdout] | [INFO] [stdout] 234 | let vx = vel.x(); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for reference `&Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:235:22 [INFO] [stdout] | [INFO] [stdout] 235 | let vy = vel.y(); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::zero`: use ZERO constant instead [INFO] [stdout] --> src/aabb.rs:349:72 [INFO] [stdout] | [INFO] [stdout] 349 | moveable.external_forces = moveable.external_forces.lerp(Vec2::zero(), moveable.external_friction * delta); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::zero`: use ZERO constant instead [INFO] [stdout] --> src/aabb.rs:351:46 [INFO] [stdout] | [INFO] [stdout] 351 | moveable.external_forces = Vec2::zero(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::zero`: use ZERO constant instead [INFO] [stdout] --> src/aabb.rs:361:25 [INFO] [stdout] | [INFO] [stdout] 361 | vel = Vec2::zero(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::zero`: use ZERO constant instead [INFO] [stdout] --> src/aabb.rs:368:40 [INFO] [stdout] | [INFO] [stdout] 368 | let mut closest_normal = Vec2::zero(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `MutexGuard<'_, Vec2>` in the current scope [INFO] [stdout] --> src/aabb.rs:376:43 [INFO] [stdout] | [INFO] [stdout] 376 | let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:376:62 [INFO] [stdout] | [INFO] [stdout] 376 | let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `MutexGuard<'_, Vec2>` in the current scope [INFO] [stdout] --> src/aabb.rs:376:72 [INFO] [stdout] | [INFO] [stdout] 376 | let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:376:91 [INFO] [stdout] | [INFO] [stdout] 376 | let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `MutexGuard<'_, Vec2>` in the current scope [INFO] [stdout] --> src/aabb.rs:377:42 [INFO] [stdout] | [INFO] [stdout] 377 | if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.y() { continue; }; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:377:61 [INFO] [stdout] | [INFO] [stdout] 377 | if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.y() { continue; }; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:377:72 [INFO] [stdout] | [INFO] [stdout] 377 | if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.y() { continue; }; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x_mut` found for struct `MutexGuard<'_, Vec2>` in the current scope [INFO] [stdout] --> src/aabb.rs:387:15 [INFO] [stdout] | [INFO] [stdout] 387 | *pos1.x_mut() += vel.x() * max_t + closest_normal.x() * MARGIN; [INFO] [stdout] | ^^^^^ method not found in `MutexGuard<'_, Vec2>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:387:30 [INFO] [stdout] | [INFO] [stdout] 387 | *pos1.x_mut() += vel.x() * max_t + closest_normal.x() * MARGIN; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:387:59 [INFO] [stdout] | [INFO] [stdout] 387 | *pos1.x_mut() += vel.x() * max_t + closest_normal.x() * MARGIN; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y_mut` found for struct `MutexGuard<'_, Vec2>` in the current scope [INFO] [stdout] --> src/aabb.rs:388:15 [INFO] [stdout] | [INFO] [stdout] 388 | *pos1.y_mut() += vel.y() * max_t + closest_normal.y() * MARGIN; [INFO] [stdout] | ^^^^^ method not found in `MutexGuard<'_, Vec2>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:388:30 [INFO] [stdout] | [INFO] [stdout] 388 | *pos1.y_mut() += vel.y() * max_t + closest_normal.y() * MARGIN; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:388:59 [INFO] [stdout] | [INFO] [stdout] 388 | *pos1.y_mut() += vel.y() * max_t + closest_normal.y() * MARGIN; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:391:27 [INFO] [stdout] | [INFO] [stdout] 391 | if closest_normal.x() != 0.0 { [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:393:34 [INFO] [stdout] | [INFO] [stdout] 393 | } else if closest_normal.y() < 0.0 { [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:401:37 [INFO] [stdout] | [INFO] [stdout] 401 | let dotporod = (vel.x() * closest_normal.y() + vel.y() * closest_normal.x()) * (1.0 - max_t); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:401:58 [INFO] [stdout] | [INFO] [stdout] 401 | let dotporod = (vel.x() * closest_normal.y() + vel.y() * closest_normal.x()) * (1.0 - max_t); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:401:68 [INFO] [stdout] | [INFO] [stdout] 401 | let dotporod = (vel.x() * closest_normal.y() + vel.y() * closest_normal.x()) * (1.0 - max_t); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:401:89 [INFO] [stdout] | [INFO] [stdout] 401 | let dotporod = (vel.x() * closest_normal.y() + vel.y() * closest_normal.x()) * (1.0 - max_t); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:402:63 [INFO] [stdout] | [INFO] [stdout] 402 | let vel = Vec2::new(dotporod * closest_normal.y(), dotporod * closest_normal.x()); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:402:94 [INFO] [stdout] | [INFO] [stdout] 402 | let vel = Vec2::new(dotporod * closest_normal.y(), dotporod * closest_normal.x()); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `MutexGuard<'_, Vec2>` in the current scope [INFO] [stdout] --> src/aabb.rs:409:51 [INFO] [stdout] | [INFO] [stdout] 409 | let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:409:70 [INFO] [stdout] | [INFO] [stdout] 409 | let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `MutexGuard<'_, Vec2>` in the current scope [INFO] [stdout] --> src/aabb.rs:409:80 [INFO] [stdout] | [INFO] [stdout] 409 | let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:409:99 [INFO] [stdout] | [INFO] [stdout] 409 | let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `MutexGuard<'_, Vec2>` in the current scope [INFO] [stdout] --> src/aabb.rs:410:50 [INFO] [stdout] | [INFO] [stdout] 410 | if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.y() { continue; }; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:410:69 [INFO] [stdout] | [INFO] [stdout] 410 | if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.y() { continue; }; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:410:80 [INFO] [stdout] | [INFO] [stdout] 410 | if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.y() { continue; }; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x_mut` found for struct `MutexGuard<'_, Vec2>` in the current scope [INFO] [stdout] --> src/aabb.rs:420:23 [INFO] [stdout] | [INFO] [stdout] 420 | *pos1.x_mut() += vel.x() * max_t + closest_normal.x() * MARGIN; [INFO] [stdout] | ^^^^^ method not found in `MutexGuard<'_, Vec2>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:420:38 [INFO] [stdout] | [INFO] [stdout] 420 | *pos1.x_mut() += vel.x() * max_t + closest_normal.x() * MARGIN; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:420:67 [INFO] [stdout] | [INFO] [stdout] 420 | *pos1.x_mut() += vel.x() * max_t + closest_normal.x() * MARGIN; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y_mut` found for struct `MutexGuard<'_, Vec2>` in the current scope [INFO] [stdout] --> src/aabb.rs:421:23 [INFO] [stdout] | [INFO] [stdout] 421 | *pos1.y_mut() += vel.y() * max_t + closest_normal.y() * MARGIN; [INFO] [stdout] | ^^^^^ method not found in `MutexGuard<'_, Vec2>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:421:38 [INFO] [stdout] | [INFO] [stdout] 421 | *pos1.y_mut() += vel.y() * max_t + closest_normal.y() * MARGIN; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:421:67 [INFO] [stdout] | [INFO] [stdout] 421 | *pos1.y_mut() += vel.y() * max_t + closest_normal.y() * MARGIN; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:424:35 [INFO] [stdout] | [INFO] [stdout] 424 | if closest_normal.x() != 0.0 { [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:426:42 [INFO] [stdout] | [INFO] [stdout] 426 | } else if closest_normal.y() < 0.0 { [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x_mut` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:438:21 [INFO] [stdout] | [INFO] [stdout] 438 | *sprite.pos.x_mut() = pos.x(); [INFO] [stdout] | ^^^^^ method not found in `Vec2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `MutexGuard<'_, Vec2>` in the current scope [INFO] [stdout] --> src/aabb.rs:438:35 [INFO] [stdout] | [INFO] [stdout] 438 | *sprite.pos.x_mut() = pos.x(); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y_mut` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:439:21 [INFO] [stdout] | [INFO] [stdout] 439 | *sprite.pos.y_mut() = pos.y(); [INFO] [stdout] | ^^^^^ method not found in `Vec2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `MutexGuard<'_, Vec2>` in the current scope [INFO] [stdout] --> src/aabb.rs:439:35 [INFO] [stdout] | [INFO] [stdout] 439 | *sprite.pos.y_mut() = pos.y(); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `0` on type `Color` [INFO] [stdout] --> src/aabb.rs:471:11 [INFO] [stdout] | [INFO] [stdout] 471 | color.0[3] = 128; [INFO] [stdout] | ^ help: a field with a similar name exists: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `MutexGuard<'_, Vec2>` in the current scope [INFO] [stdout] --> src/aabb.rs:474:27 [INFO] [stdout] | [INFO] [stdout] 474 | let (x, y) = (pos.x() - aabb.half_e.x(), pos.y() - aabb.half_e.y()); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:474:45 [INFO] [stdout] | [INFO] [stdout] 474 | let (x, y) = (pos.x() - aabb.half_e.x(), pos.y() - aabb.half_e.y()); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `MutexGuard<'_, Vec2>` in the current scope [INFO] [stdout] --> src/aabb.rs:474:54 [INFO] [stdout] | [INFO] [stdout] 474 | let (x, y) = (pos.x() - aabb.half_e.x(), pos.y() - aabb.half_e.y()); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:474:72 [INFO] [stdout] | [INFO] [stdout] 474 | let (x, y) = (pos.x() - aabb.half_e.x(), pos.y() - aabb.half_e.y()); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:475:42 [INFO] [stdout] | [INFO] [stdout] 475 | draw_rectangle(x, y, aabb.half_e.x() * 2.0, aabb.half_e.y() * 2.0, color); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:475:65 [INFO] [stdout] | [INFO] [stdout] 475 | draw_rectangle(x, y, aabb.half_e.x() * 2.0, aabb.half_e.y() * 2.0, color); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::zero`: use ZERO constant instead [INFO] [stdout] --> src/camera.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | offset: Vec2::zero(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/camera.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | set_camera(self.camera); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Camera2D` [INFO] [stdout] | help: consider borrowing here: `&self.camera` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&dyn macroquad::camera::Camera` [INFO] [stdout] found struct `Camera2D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/camera.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | self.camera.offset.set_x(-x * self.scale); [INFO] [stdout] | ^^^^^ method not found in `Vec2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/camera.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | self.camera.offset.set_y(-y * self.scale); [INFO] [stdout] | ^^^^^ method not found in `Vec2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x_mut` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/camera.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | *self.camera.offset.x_mut() -= movement.x() * self.scale; [INFO] [stdout] | ^^^^^ method not found in `Vec2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/camera.rs:66:49 [INFO] [stdout] | [INFO] [stdout] 66 | *self.camera.offset.x_mut() -= movement.x() * self.scale; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y_mut` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/camera.rs:67:29 [INFO] [stdout] | [INFO] [stdout] 67 | *self.camera.offset.y_mut() -= movement.y() * self.scale; [INFO] [stdout] | ^^^^^ method not found in `Vec2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/camera.rs:67:49 [INFO] [stdout] | [INFO] [stdout] 67 | *self.camera.offset.y_mut() -= movement.y() * self.scale; [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x_mut` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/camera.rs:71:29 [INFO] [stdout] | [INFO] [stdout] 71 | *self.camera.offset.x_mut() -= x * self.scale; [INFO] [stdout] | ^^^^^ method not found in `Vec2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y_mut` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/camera.rs:72:29 [INFO] [stdout] | [INFO] [stdout] 72 | *self.camera.offset.y_mut() -= y * self.scale; [INFO] [stdout] | ^^^^^ method not found in `Vec2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/placeholder.rs:31:57 [INFO] [stdout] | [INFO] [stdout] 31 | (placeholder.call_fn)(game, placeholder.pos.x(), placeholder.pos.y()); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/placeholder.rs:31:78 [INFO] [stdout] | [INFO] [stdout] 31 | (placeholder.call_fn)(game, placeholder.pos.x(), placeholder.pos.y()); [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/frames.rs:40:63 [INFO] [stdout] | [INFO] [stdout] 40 | Some( Rect::new(frame_number as f32 * self.frame_size.x(), 0.0, self.frame_size.x(), self.frame_size.y()) ) [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/frames.rs:40:89 [INFO] [stdout] | [INFO] [stdout] 40 | Some( Rect::new(frame_number as f32 * self.frame_size.x(), 0.0, self.frame_size.x(), self.frame_size.y()) ) [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/frames.rs:40:110 [INFO] [stdout] | [INFO] [stdout] 40 | Some( Rect::new(frame_number as f32 * self.frame_size.x(), 0.0, self.frame_size.x(), self.frame_size.y()) ) [INFO] [stdout] | ^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 125 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0282, E0308, E0432, E0599, E0603, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "241d1e002c6799b12b09aa9b2ae9b0a17a21d57de2ffaac62e07536e0be7d384", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "241d1e002c6799b12b09aa9b2ae9b0a17a21d57de2ffaac62e07536e0be7d384", kill_on_drop: false }` [INFO] [stdout] 241d1e002c6799b12b09aa9b2ae9b0a17a21d57de2ffaac62e07536e0be7d384