[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/713fad07e8a5c01fafacd17c7c2b3c9ffeab0280 against master#d2eadb7a94ef8c9deb5137695df33cd1fc5aee92 for pr-137268 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkakoeimon%2Fmacro_kako_tools" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kakoeimon/macro_kako_tools on toolchain d2eadb7a94ef8c9deb5137695df33cd1fc5aee92 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "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-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/not-fl3/macroquad` [INFO] [stderr] Updating git repository `https://github.com/not-fl3/quad-snd` [INFO] [stderr] Locking 84 packages to latest compatible versions [INFO] [stderr] Adding hecs v0.3.2 (available: v0.10.5) [INFO] [stderr] Adding noise v0.6.0 (available: v0.9.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hecs v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9ad704392ee5ca089e37a2751dd1bcb3e0735574ca5fb8121ee7c99cfacd314 [INFO] running `Command { std: "docker" "start" "-a" "a9ad704392ee5ca089e37a2751dd1bcb3e0735574ca5fb8121ee7c99cfacd314", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9ad704392ee5ca089e37a2751dd1bcb3e0735574ca5fb8121ee7c99cfacd314", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9ad704392ee5ca089e37a2751dd1bcb3e0735574ca5fb8121ee7c99cfacd314", kill_on_drop: false }` [INFO] [stdout] a9ad704392ee5ca089e37a2751dd1bcb3e0735574ca5fb8121ee7c99cfacd314 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b74a02f9cd772a05f272813c0b4b570f49af9ab2d69e947ee0e694052fdc79b [INFO] running `Command { std: "docker" "start" "-a" "5b74a02f9cd772a05f272813c0b4b570f49af9ab2d69e947ee0e694052fdc79b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Compiling quad-alsa-sys v0.3.2 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking ogg v0.7.1 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking inflate v0.3.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-rational v0.1.43 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Checking dasp_frame v0.11.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking lewton v0.9.4 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Compiling quad-snd v0.2.8 (https://github.com/not-fl3/quad-snd#ff60e73e) [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking hound v3.5.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking ahash v0.4.8 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Checking bytemuck v1.23.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking audrey v0.3.0 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking png v0.11.0 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Compiling macroquad_macro v0.1.8 (https://github.com/not-fl3/macroquad?branch=master#9b385814) [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking quad-rand v0.2.3 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Checking hecs v0.3.2 [INFO] [stderr] Checking fontdue v0.9.3 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking image v0.18.0 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking macroquad v0.4.14 (https://github.com/not-fl3/macroquad?branch=master#9b385814) [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] = help: consider importing one of these structs instead: [INFO] [stdout] macroquad::audio::Sound [INFO] [stdout] quad_snd::Sound [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-ddd564716099919a/ff60e73/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-ddd564716099919a/ff60e73/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-ddd564716099919a/ff60e73/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] = help: consider importing one of these structs instead: [INFO] [stdout] macroquad::audio::Sound [INFO] [stdout] quad_snd::Sound [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-ddd564716099919a/ff60e73/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-ddd564716099919a/ff60e73/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-ddd564716099919a/ff60e73/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 `Texture2D`, found `Result` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `macroquad::texture::Texture2D` [INFO] [stdout] found enum `Result` [INFO] [stdout] help: the return type of this call is `Result` due to the type of the argument passed [INFO] [stdout] --> src/resources.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | self.textures.insert(path.to_owned(), texture); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `insert` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/d2eadb7a94ef8c9deb5137695df33cd1fc5aee92/library/std/src/collections/hash/map.rs:1203:12 [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Result` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 34 | self.textures.insert(path.to_owned(), texture.expect("REASON")); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/resources.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn load_texture(&mut self, path: &str) -> Texture2D { [INFO] [stdout] | --------- expected `macroquad::texture::Texture2D` because of return type [INFO] [stdout] ... [INFO] [stdout] 35 | texture [INFO] [stdout] | ^^^^^^^ expected `Texture2D`, found `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `macroquad::texture::Texture2D` [INFO] [stdout] found enum `Result` [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Result` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 35 | texture.expect("REASON") [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 `Texture2D`, found `Result` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `macroquad::texture::Texture2D` [INFO] [stdout] found enum `Result` [INFO] [stdout] help: the return type of this call is `Result` due to the type of the argument passed [INFO] [stdout] --> src/resources.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | self.textures.insert(path.to_owned(), texture); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `insert` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/d2eadb7a94ef8c9deb5137695df33cd1fc5aee92/library/std/src/collections/hash/map.rs:1203:12 [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Result` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 34 | self.textures.insert(path.to_owned(), texture.expect("REASON")); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/resources.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn load_texture(&mut self, path: &str) -> Texture2D { [INFO] [stdout] | --------- expected `macroquad::texture::Texture2D` because of return type [INFO] [stdout] ... [INFO] [stdout] 35 | texture [INFO] [stdout] | ^^^^^^^ expected `Texture2D`, found `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `macroquad::texture::Texture2D` [INFO] [stdout] found enum `Result` [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Result` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 35 | texture.expect("REASON") [INFO] [stdout] | +++++++++++++++++ [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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.h) * sprite.scale.y() / 2.0); [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.h) * sprite.scale.y() / 2.0); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 28 | let (x, y) = (sprite.pos.xx() + (sprite.offset.x() - frame.w) * sprite.scale.x() / 2.0 , sprite.pos.y() + (sprite.offset.y() - frame.h) * sprite.scale.y() / 2.0); [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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.h) * sprite.scale.y() / 2.0); [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.h) * sprite.scale.y() / 2.0); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 28 | let (x, y) = (sprite.pos.x() + (sprite.offset.xx() - frame.w) * sprite.scale.x() / 2.0 , sprite.pos.y() + (sprite.offset.y() - frame.h) * sprite.scale.y() / 2.0); [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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.h) * sprite.scale.y() / 2.0); [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.h) * sprite.scale.y() / 2.0); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 28 | let (x, y) = (sprite.pos.x() + (sprite.offset.x() - frame.w) * sprite.scale.xx() / 2.0 , sprite.pos.y() + (sprite.offset.y() - frame.h) * sprite.scale.y() / 2.0); [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/sprite.rs:28:120 [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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.h) * sprite.scale.y() / 2.0); [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.h) * sprite.scale.y() / 2.0); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 28 | let (x, y) = (sprite.pos.x() + (sprite.offset.x() - frame.w) * sprite.scale.x() / 2.0 , sprite.pos.xy() + (sprite.offset.y() - frame.h) * sprite.scale.y() / 2.0); [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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.h) * sprite.scale.y() / 2.0); [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.h) * sprite.scale.y() / 2.0); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 28 | let (x, y) = (sprite.pos.xx() + (sprite.offset.x() - frame.w) * sprite.scale.x() / 2.0 , sprite.pos.y() + (sprite.offset.y() - frame.h) * sprite.scale.y() / 2.0); [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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.h) * sprite.scale.y() / 2.0); [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.h) * sprite.scale.y() / 2.0); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 28 | let (x, y) = (sprite.pos.x() + (sprite.offset.xx() - frame.w) * sprite.scale.x() / 2.0 , sprite.pos.y() + (sprite.offset.y() - frame.h) * sprite.scale.y() / 2.0); [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/sprite.rs:28:141 [INFO] [stdout] | [INFO] [stdout] 28 | ...prite.scale.x() / 2.0 , sprite.pos.y() + (sprite.offset.y() - frame.h) * sprite.scale.y() / 2.0); [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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.h) * sprite.scale.y() / 2.0); [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.h) * sprite.scale.y() / 2.0); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [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.xy() - frame.h) * sprite.scale.y() / 2.0); [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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.h) * sprite.scale.y() / 2.0); [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.h) * sprite.scale.y() / 2.0); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 28 | let (x, y) = (sprite.pos.x() + (sprite.offset.x() - frame.w) * sprite.scale.xx() / 2.0 , sprite.pos.y() + (sprite.offset.y() - frame.h) * sprite.scale.y() / 2.0); [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/sprite.rs:28:171 [INFO] [stdout] | [INFO] [stdout] 28 | ....pos.y() + (sprite.offset.y() - frame.h) * sprite.scale.y() / 2.0); [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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.h) * sprite.scale.y() / 2.0); [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.h) * sprite.scale.y / 2.0); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [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.h) * sprite.scale.xy() / 2.0); [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/sprite.rs:28:120 [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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.h) * sprite.scale.y() / 2.0); [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.h) * sprite.scale.y() / 2.0); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 28 | let (x, y) = (sprite.pos.x() + (sprite.offset.x() - frame.w) * sprite.scale.x() / 2.0 , sprite.pos.xy() + (sprite.offset.y() - frame.h) * sprite.scale.y() / 2.0); [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 31 - dest_size: Some(Vec2::new(frame.w * sprite.scale.x(), frame.h * sprite.scale.y())), [INFO] [stdout] 31 + dest_size: Some(Vec2::new(frame.w * sprite.scale.x, frame.h * sprite.scale.y())), [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 31 | dest_size: Some(Vec2::new(frame.w * sprite.scale.xx(), frame.h * sprite.scale.y())), [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/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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 31 - dest_size: Some(Vec2::new(frame.w * sprite.scale.x(), frame.h * sprite.scale.y())), [INFO] [stdout] 31 + dest_size: Some(Vec2::new(frame.w * sprite.scale.x(), frame.h * sprite.scale.y)), [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 31 | dest_size: Some(Vec2::new(frame.w * sprite.scale.x(), frame.h * sprite.scale.xy())), [INFO] [stdout] | + [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 `y` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/sprite.rs:28:141 [INFO] [stdout] | [INFO] [stdout] 28 | ...prite.scale.x() / 2.0 , sprite.pos.y() + (sprite.offset.y() - frame.h) * sprite.scale.y() / 2.0); [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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.h) * sprite.scale.y() / 2.0); [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.h) * sprite.scale.y() / 2.0); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [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.xy() - frame.h) * sprite.scale.y() / 2.0); [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/sprite.rs:28:171 [INFO] [stdout] | [INFO] [stdout] 28 | ....pos.y() + (sprite.offset.y() - frame.h) * sprite.scale.y() / 2.0); [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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.h) * sprite.scale.y() / 2.0); [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.h) * sprite.scale.y / 2.0); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [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.h) * sprite.scale.xy() / 2.0); [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 31 - dest_size: Some(Vec2::new(frame.w * sprite.scale.x(), frame.h * sprite.scale.y())), [INFO] [stdout] 31 + dest_size: Some(Vec2::new(frame.w * sprite.scale.x, frame.h * sprite.scale.y())), [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 31 | dest_size: Some(Vec2::new(frame.w * sprite.scale.xx(), frame.h * sprite.scale.y())), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/sprite.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | draw_texture_ex(sprite.texture, x, y, sprite.color, params); [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^ expected `&Texture2D`, found `Texture2D` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/macroquad-6a5b769e841fec7a/9b38581/src/texture.rs:507:8 [INFO] [stdout] | [INFO] [stdout] 507 | pub fn draw_texture_ex( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 36 | draw_texture_ex(&sprite.texture, x, y, sprite.color, params); [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/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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 31 - dest_size: Some(Vec2::new(frame.w * sprite.scale.x(), frame.h * sprite.scale.y())), [INFO] [stdout] 31 + dest_size: Some(Vec2::new(frame.w * sprite.scale.x(), frame.h * sprite.scale.y)), [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 31 | dest_size: Some(Vec2::new(frame.w * sprite.scale.x(), frame.h * sprite.scale.xy())), [INFO] [stdout] | + [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[E0308]: mismatched types [INFO] [stdout] --> src/sprite.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | draw_texture_ex(sprite.texture, x, y, sprite.color, params); [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^ expected `&Texture2D`, found `Texture2D` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/macroquad-6a5b769e841fec7a/9b38581/src/texture.rs:507:8 [INFO] [stdout] | [INFO] [stdout] 507 | pub fn draw_texture_ex( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 36 | draw_texture_ex(&sprite.texture, x, y, sprite.color, params); [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [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.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 41 | let (x, y) = (sprite.pos.xx() + sprite.offset.x() - sprite.texture.width() * sprite.scale.x() / 2.0 , sprite.pos.y() + sprite.offset.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [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.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 41 | let (x, y) = (sprite.pos.xx() + sprite.offset.x() - sprite.texture.width() * sprite.scale.x() / 2.0 , sprite.pos.y() + sprite.offset.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [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.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 41 | let (x, y) = (sprite.pos.x() + sprite.offset.xx() - sprite.texture.width() * sprite.scale.x() / 2.0 , sprite.pos.y() + sprite.offset.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [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.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 41 | let (x, y) = (sprite.pos.x() + sprite.offset.x() - sprite.texture.width() * sprite.scale.xx() / 2.0 , sprite.pos.y() + sprite.offset.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [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.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 41 | let (x, y) = (sprite.pos.x() + sprite.offset.xx() - sprite.texture.width() * sprite.scale.x() / 2.0 , sprite.pos.y() + sprite.offset.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [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/sprite.rs:41:133 [INFO] [stdout] | [INFO] [stdout] 41 | ...e.texture.width() * sprite.scale.x() / 2.0 , sprite.pos.y() + sprite.offset.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [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.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 41 | let (x, y) = (sprite.pos.x() + sprite.offset.x() - sprite.texture.width() * sprite.scale.x() / 2.0 , sprite.pos.xy() + sprite.offset.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [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/sprite.rs:41:153 [INFO] [stdout] | [INFO] [stdout] 41 | ...sprite.scale.x() / 2.0 , sprite.pos.y() + sprite.offset.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [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.y - sprite.texture.height() * sprite.scale.y() / 2.0); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [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.xy() - sprite.texture.height() * sprite.scale.y() / 2.0); [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/sprite.rs:41:198 [INFO] [stdout] | [INFO] [stdout] 41 | ...ite.offset.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [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.y() - sprite.texture.height() * sprite.scale.y / 2.0); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [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.y() - sprite.texture.height() * sprite.scale.xy() / 2.0); [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 43 - dest_size: Some(Vec2::new(sprite.texture.width() * sprite.scale.x(), sprite.texture.height() * sprite.scale.y())), [INFO] [stdout] 43 + dest_size: Some(Vec2::new(sprite.texture.width() * sprite.scale.x, sprite.texture.height() * sprite.scale.y())), [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 43 | dest_size: Some(Vec2::new(sprite.texture.width() * sprite.scale.xx(), sprite.texture.height() * sprite.scale.y())), [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [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.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 41 | let (x, y) = (sprite.pos.x() + sprite.offset.x() - sprite.texture.width() * sprite.scale.xx() / 2.0 , sprite.pos.y() + sprite.offset.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [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/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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 43 - dest_size: Some(Vec2::new(sprite.texture.width() * sprite.scale.x(), sprite.texture.height() * sprite.scale.y())), [INFO] [stdout] 43 + dest_size: Some(Vec2::new(sprite.texture.width() * sprite.scale.x(), sprite.texture.height() * sprite.scale.y)), [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 43 | dest_size: Some(Vec2::new(sprite.texture.width() * sprite.scale.x(), sprite.texture.height() * sprite.scale.xy())), [INFO] [stdout] | + [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] error[E0308]: mismatched types [INFO] [stdout] --> src/sprite.rs:48:37 [INFO] [stdout] | [INFO] [stdout] 48 | draw_texture_ex(sprite.texture, x, y, sprite.color, params); [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^ expected `&Texture2D`, found `Texture2D` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/macroquad-6a5b769e841fec7a/9b38581/src/texture.rs:507:8 [INFO] [stdout] | [INFO] [stdout] 507 | pub fn draw_texture_ex( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 48 | draw_texture_ex(&sprite.texture, x, y, sprite.color, params); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `zero` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | velocity: Vec2::zero(), [INFO] [stdout] | ^^^^ function or associated item not found in `Vec2` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec2` consider using one of the following associated functions: [INFO] [stdout] Vec2::new [INFO] [stdout] Vec2::splat [INFO] [stdout] Vec2::select [INFO] [stdout] Vec2::from_array [INFO] [stdout] and 2 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/glam-0.27.0/src/f32/vec2.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub const fn new(x: f32, y: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub const fn splat(v: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn select(mask: BVec2, if_true: Self, if_false: Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub const fn from_array(a: [f32; 2]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `zero` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:57:36 [INFO] [stdout] | [INFO] [stdout] 57 | external_forces: Vec2::zero(), [INFO] [stdout] | ^^^^ function or associated item not found in `Vec2` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec2` consider using one of the following associated functions: [INFO] [stdout] Vec2::new [INFO] [stdout] Vec2::splat [INFO] [stdout] Vec2::select [INFO] [stdout] Vec2::from_array [INFO] [stdout] and 2 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/glam-0.27.0/src/f32/vec2.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub const fn new(x: f32, y: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub const fn splat(v: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn select(mask: BVec2, if_true: Self, if_false: Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub const fn from_array(a: [f32; 2]) -> Self { [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `index_mut` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/d2eadb7a94ef8c9deb5137695df33cd1fc5aee92/library/core/src/ops/index.rs:177:5 [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] error[E0599]: no function or associated item named `zero` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:114:35 [INFO] [stdout] | [INFO] [stdout] 114 | pos: Mutex::new(Vec2::zero()), [INFO] [stdout] | ^^^^ function or associated item not found in `Vec2` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec2` consider using one of the following associated functions: [INFO] [stdout] Vec2::new [INFO] [stdout] Vec2::splat [INFO] [stdout] Vec2::select [INFO] [stdout] Vec2::from_array [INFO] [stdout] and 2 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/glam-0.27.0/src/f32/vec2.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub const fn new(x: f32, y: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub const fn splat(v: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn select(mask: BVec2, if_true: Self, if_false: Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub const fn from_array(a: [f32; 2]) -> Self { [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/sprite.rs:41:133 [INFO] [stdout] | [INFO] [stdout] 41 | ...e.texture.width() * sprite.scale.x() / 2.0 , sprite.pos.y() + sprite.offset.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [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.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 41 | let (x, y) = (sprite.pos.x() + sprite.offset.x() - sprite.texture.width() * sprite.scale.x() / 2.0 , sprite.pos.xy() + sprite.offset.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `zero` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:115:27 [INFO] [stdout] | [INFO] [stdout] 115 | half_e: Vec2::zero(), [INFO] [stdout] | ^^^^ function or associated item not found in `Vec2` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec2` consider using one of the following associated functions: [INFO] [stdout] Vec2::new [INFO] [stdout] Vec2::splat [INFO] [stdout] Vec2::select [INFO] [stdout] Vec2::from_array [INFO] [stdout] and 2 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/glam-0.27.0/src/f32/vec2.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub const fn new(x: f32, y: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub const fn splat(v: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn select(mask: BVec2, if_true: Self, if_false: Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub const fn from_array(a: [f32; 2]) -> Self { [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 144 - if (pos1.x() - pos2.x()).abs() > half_e1.x() + half_e2.x() {return false;}; [INFO] [stdout] 144 + if (pos1.x - pos2.x()).abs() > half_e1.x() + half_e2.x() {return false;}; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 144 | if (pos1.xx() - pos2.x()).abs() > half_e1.x() + half_e2.x() {return false;}; [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:29 [INFO] [stdout] | [INFO] [stdout] 144 | if (pos1.x() - pos2.x()).abs() > half_e1.x() + half_e2.x() {return false;}; [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 144 - if (pos1.x() - pos2.x()).abs() > half_e1.x() + half_e2.x() {return false;}; [INFO] [stdout] 144 + if (pos1.x() - pos2.x).abs() > half_e1.x() + half_e2.x() {return false;}; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 144 | if (pos1.x() - pos2.xx()).abs() > half_e1.x() + half_e2.x() {return false;}; [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:50 [INFO] [stdout] | [INFO] [stdout] 144 | if (pos1.x() - pos2.x()).abs() > half_e1.x() + half_e2.x() {return false;}; [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 144 - if (pos1.x() - pos2.x()).abs() > half_e1.x() + half_e2.x() {return false;}; [INFO] [stdout] 144 + if (pos1.x() - pos2.x()).abs() > half_e1.x + half_e2.x() {return false;}; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 144 | if (pos1.x() - pos2.x()).abs() > half_e1.xx() + half_e2.x() {return false;}; [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/sprite.rs:41:153 [INFO] [stdout] | [INFO] [stdout] 41 | ...sprite.scale.x() / 2.0 , sprite.pos.y() + sprite.offset.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [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.y - sprite.texture.height() * sprite.scale.y() / 2.0); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [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.xy() - sprite.texture.height() * sprite.scale.y() / 2.0); [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:64 [INFO] [stdout] | [INFO] [stdout] 144 | if (pos1.x() - pos2.x()).abs() > half_e1.x() + half_e2.x() {return false;}; [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 144 - if (pos1.x() - pos2.x()).abs() > half_e1.x() + half_e2.x() {return false;}; [INFO] [stdout] 144 + if (pos1.x() - pos2.x()).abs() > half_e1.x() + half_e2.x {return false;}; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 144 | if (pos1.x() - pos2.x()).abs() > half_e1.x() + half_e2.xx() {return false;}; [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 145 - if (pos1.y() - pos2.y()).abs() > half_e1.y() + half_e2.y() {return false;}; [INFO] [stdout] 145 + if (pos1.y - pos2.y()).abs() > half_e1.y() + half_e2.y() {return false;}; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 145 | if (pos1.xy() - pos2.y()).abs() > half_e1.y() + half_e2.y() {return false;}; [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 145 - if (pos1.y() - pos2.y()).abs() > half_e1.y() + half_e2.y() {return false;}; [INFO] [stdout] 145 + if (pos1.y() - pos2.y).abs() > half_e1.y() + half_e2.y() {return false;}; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 145 | if (pos1.y() - pos2.xy()).abs() > half_e1.y() + half_e2.y() {return false;}; [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/sprite.rs:41:198 [INFO] [stdout] | [INFO] [stdout] 41 | ...ite.offset.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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.y() - sprite.texture.height() * sprite.scale.y() / 2.0); [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.y() - sprite.texture.height() * sprite.scale.y / 2.0); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [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.y() - sprite.texture.height() * sprite.scale.xy() / 2.0); [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 145 - if (pos1.y() - pos2.y()).abs() > half_e1.y() + half_e2.y() {return false;}; [INFO] [stdout] 145 + if (pos1.y() - pos2.y()).abs() > half_e1.y + half_e2.y() {return false;}; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 145 | if (pos1.y() - pos2.y()).abs() > half_e1.xy() + half_e2.y() {return false;}; [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 145 - if (pos1.y() - pos2.y()).abs() > half_e1.y() + half_e2.y() {return false;}; [INFO] [stdout] 145 + if (pos1.y() - pos2.y()).abs() > half_e1.y() + half_e2.y {return false;}; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 145 | if (pos1.y() - pos2.y()).abs() > half_e1.y() + half_e2.xy() {return false;}; [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 43 - dest_size: Some(Vec2::new(sprite.texture.width() * sprite.scale.x(), sprite.texture.height() * sprite.scale.y())), [INFO] [stdout] 43 + dest_size: Some(Vec2::new(sprite.texture.width() * sprite.scale.x, sprite.texture.height() * sprite.scale.y())), [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 43 | dest_size: Some(Vec2::new(sprite.texture.width() * sprite.scale.xx(), sprite.texture.height() * sprite.scale.y())), [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:150:17 [INFO] [stdout] | [INFO] [stdout] 150 | if max1.x() < min2.x() || min1.x() > max2.x() {return false;}; [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 150 - if max1.x() < min2.x() || min1.x() > max2.x() {return false;}; [INFO] [stdout] 150 + if max1.x < min2.x() || min1.x() > max2.x() {return false;}; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 150 | if max1.xx() < min2.x() || min1.x() > max2.x() {return false;}; [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:150:28 [INFO] [stdout] | [INFO] [stdout] 150 | if max1.x() < min2.x() || min1.x() > max2.x() {return false;}; [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 150 - if max1.x() < min2.x() || min1.x() > max2.x() {return false;}; [INFO] [stdout] 150 + if max1.x() < min2.x || min1.x() > max2.x() {return false;}; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 150 | if max1.x() < min2.xx() || min1.x() > max2.x() {return false;}; [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:150:40 [INFO] [stdout] | [INFO] [stdout] 150 | if max1.x() < min2.x() || min1.x() > max2.x() {return false;}; [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 150 - if max1.x() < min2.x() || min1.x() > max2.x() {return false;}; [INFO] [stdout] 150 + if max1.x() < min2.x() || min1.x > max2.x() {return false;}; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 150 | if max1.x() < min2.x() || min1.xx() > max2.x() {return false;}; [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:150:51 [INFO] [stdout] | [INFO] [stdout] 150 | if max1.x() < min2.x() || min1.x() > max2.x() {return false;}; [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 150 - if max1.x() < min2.x() || min1.x() > max2.x() {return false;}; [INFO] [stdout] 150 + if max1.x() < min2.x() || min1.x() > max2.x {return false;}; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 150 | if max1.x() < min2.x() || min1.x() > max2.xx() {return false;}; [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/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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 43 - dest_size: Some(Vec2::new(sprite.texture.width() * sprite.scale.x(), sprite.texture.height() * sprite.scale.y())), [INFO] [stdout] 43 + dest_size: Some(Vec2::new(sprite.texture.width() * sprite.scale.x(), sprite.texture.height() * sprite.scale.y)), [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 43 | dest_size: Some(Vec2::new(sprite.texture.width() * sprite.scale.x(), sprite.texture.height() * sprite.scale.xy())), [INFO] [stdout] | + [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] error[E0308]: mismatched types [INFO] [stdout] --> src/sprite.rs:48:37 [INFO] [stdout] | [INFO] [stdout] 48 | draw_texture_ex(sprite.texture, x, y, sprite.color, params); [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^ expected `&Texture2D`, found `Texture2D` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/macroquad-6a5b769e841fec7a/9b38581/src/texture.rs:507:8 [INFO] [stdout] | [INFO] [stdout] 507 | pub fn draw_texture_ex( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 48 | draw_texture_ex(&sprite.texture, x, y, sprite.color, params); [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 151 - if max1.y() < min2.y() || min1.y() > max2.y() {return false;}; [INFO] [stdout] 151 + if max1.y < min2.y() || min1.y() > max2.y() {return false;}; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 151 | if max1.xy() < min2.y() || min1.y() > max2.y() {return false;}; [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 151 - if max1.y() < min2.y() || min1.y() > max2.y() {return false;}; [INFO] [stdout] 151 + if max1.y() < min2.y || min1.y() > max2.y() {return false;}; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 151 | if max1.y() < min2.xy() || min1.y() > max2.y() {return false;}; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `zero` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | velocity: Vec2::zero(), [INFO] [stdout] | ^^^^ function or associated item not found in `Vec2` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec2` consider using one of the following associated functions: [INFO] [stdout] Vec2::new [INFO] [stdout] Vec2::splat [INFO] [stdout] Vec2::select [INFO] [stdout] Vec2::from_array [INFO] [stdout] and 2 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/glam-0.27.0/src/f32/vec2.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub const fn new(x: f32, y: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub const fn splat(v: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn select(mask: BVec2, if_true: Self, if_false: Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub const fn from_array(a: [f32; 2]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `zero` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:57:36 [INFO] [stdout] | [INFO] [stdout] 57 | external_forces: Vec2::zero(), [INFO] [stdout] | ^^^^ function or associated item not found in `Vec2` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec2` consider using one of the following associated functions: [INFO] [stdout] Vec2::new [INFO] [stdout] Vec2::splat [INFO] [stdout] Vec2::select [INFO] [stdout] Vec2::from_array [INFO] [stdout] and 2 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/glam-0.27.0/src/f32/vec2.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub const fn new(x: f32, y: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub const fn splat(v: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn select(mask: BVec2, if_true: Self, if_false: Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub const fn from_array(a: [f32; 2]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 151 - if max1.y() < min2.y() || min1.y() > max2.y() {return false;}; [INFO] [stdout] 151 + if max1.y() < min2.y() || min1.y > max2.y() {return false;}; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 151 | if max1.y() < min2.y() || min1.xy() > max2.y() {return false;}; [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `index_mut` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/d2eadb7a94ef8c9deb5137695df33cd1fc5aee92/library/core/src/ops/index.rs:177:5 [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 151 - if max1.y() < min2.y() || min1.y() > max2.y() {return false;}; [INFO] [stdout] 151 + if max1.y() < min2.y() || min1.y() > max2.y {return false;}; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 151 | if max1.y() < min2.y() || min1.y() > max2.xy() {return false;}; [INFO] [stdout] | + [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] 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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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::prelude::WHITE); [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::prelude::WHITE); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 156 | macroquad::prelude::draw_rectangle(pos.xx() - half_e.x(), pos.y() - half_e.y(), half_e.x() * 2.0, half_e.y() * 2.0, macroquad::prelude::WHITE); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `zero` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:114:35 [INFO] [stdout] | [INFO] [stdout] 114 | pos: Mutex::new(Vec2::zero()), [INFO] [stdout] | ^^^^ function or associated item not found in `Vec2` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec2` consider using one of the following associated functions: [INFO] [stdout] Vec2::new [INFO] [stdout] Vec2::splat [INFO] [stdout] Vec2::select [INFO] [stdout] Vec2::from_array [INFO] [stdout] and 2 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/glam-0.27.0/src/f32/vec2.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub const fn new(x: f32, y: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub const fn splat(v: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn select(mask: BVec2, if_true: Self, if_false: Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub const fn from_array(a: [f32; 2]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `zero` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:115:27 [INFO] [stdout] | [INFO] [stdout] 115 | half_e: Vec2::zero(), [INFO] [stdout] | ^^^^ function or associated item not found in `Vec2` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec2` consider using one of the following associated functions: [INFO] [stdout] Vec2::new [INFO] [stdout] Vec2::splat [INFO] [stdout] Vec2::select [INFO] [stdout] Vec2::from_array [INFO] [stdout] and 2 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/glam-0.27.0/src/f32/vec2.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub const fn new(x: f32, y: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub const fn splat(v: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn select(mask: BVec2, if_true: Self, if_false: Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub const fn from_array(a: [f32; 2]) -> Self { [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: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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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::prelude::WHITE); [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::prelude::WHITE); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 156 | macroquad::prelude::draw_rectangle(pos.x() - half_e.xx(), pos.y() - half_e.y(), half_e.x() * 2.0, half_e.y() * 2.0, macroquad::prelude::WHITE); [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 144 - if (pos1.x() - pos2.x()).abs() > half_e1.x() + half_e2.x() {return false;}; [INFO] [stdout] 144 + if (pos1.x - pos2.x()).abs() > half_e1.x() + half_e2.x() {return false;}; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 144 | if (pos1.xx() - pos2.x()).abs() > half_e1.x() + half_e2.x() {return false;}; [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:29 [INFO] [stdout] | [INFO] [stdout] 144 | if (pos1.x() - pos2.x()).abs() > half_e1.x() + half_e2.x() {return false;}; [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 144 - if (pos1.x() - pos2.x()).abs() > half_e1.x() + half_e2.x() {return false;}; [INFO] [stdout] 144 + if (pos1.x() - pos2.x).abs() > half_e1.x() + half_e2.x() {return false;}; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 144 | if (pos1.x() - pos2.xx()).abs() > half_e1.x() + half_e2.x() {return false;}; [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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::prelude::WHITE); [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::prelude::WHITE); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 156 | macroquad::prelude::draw_rectangle(pos.x() - half_e.x(), pos.xy() - half_e.y(), half_e.x() * 2.0, half_e.y() * 2.0, macroquad::prelude::WHITE); [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:50 [INFO] [stdout] | [INFO] [stdout] 144 | if (pos1.x() - pos2.x()).abs() > half_e1.x() + half_e2.x() {return false;}; [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 144 - if (pos1.x() - pos2.x()).abs() > half_e1.x() + half_e2.x() {return false;}; [INFO] [stdout] 144 + if (pos1.x() - pos2.x()).abs() > half_e1.x + half_e2.x() {return false;}; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 144 | if (pos1.x() - pos2.x()).abs() > half_e1.xx() + half_e2.x() {return false;}; [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:64 [INFO] [stdout] | [INFO] [stdout] 144 | if (pos1.x() - pos2.x()).abs() > half_e1.x() + half_e2.x() {return false;}; [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 144 - if (pos1.x() - pos2.x()).abs() > half_e1.x() + half_e2.x() {return false;}; [INFO] [stdout] 144 + if (pos1.x() - pos2.x()).abs() > half_e1.x() + half_e2.x {return false;}; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 144 | if (pos1.x() - pos2.x()).abs() > half_e1.x() + half_e2.xx() {return false;}; [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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::prelude::WHITE); [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::prelude::WHITE); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 156 | macroquad::prelude::draw_rectangle(pos.x() - half_e.x(), pos.y() - half_e.xy(), half_e.x() * 2.0, half_e.y() * 2.0, macroquad::prelude::WHITE); [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 145 - if (pos1.y() - pos2.y()).abs() > half_e1.y() + half_e2.y() {return false;}; [INFO] [stdout] 145 + if (pos1.y - pos2.y()).abs() > half_e1.y() + half_e2.y() {return false;}; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 145 | if (pos1.xy() - pos2.y()).abs() > half_e1.y() + half_e2.y() {return false;}; [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 145 - if (pos1.y() - pos2.y()).abs() > half_e1.y() + half_e2.y() {return false;}; [INFO] [stdout] 145 + if (pos1.y() - pos2.y).abs() > half_e1.y() + half_e2.y() {return false;}; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 145 | if (pos1.y() - pos2.xy()).abs() > half_e1.y() + half_e2.y() {return false;}; [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 145 - if (pos1.y() - pos2.y()).abs() > half_e1.y() + half_e2.y() {return false;}; [INFO] [stdout] 145 + if (pos1.y() - pos2.y()).abs() > half_e1.y + half_e2.y() {return false;}; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 145 | if (pos1.y() - pos2.y()).abs() > half_e1.xy() + half_e2.y() {return false;}; [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: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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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::prelude::WHITE); [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::prelude::WHITE); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 156 | macroquad::prelude::draw_rectangle(pos.x() - half_e.x(), pos.y() - half_e.y(), half_e.xx() * 2.0, half_e.y() * 2.0, macroquad::prelude::WHITE); [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 145 - if (pos1.y() - pos2.y()).abs() > half_e1.y() + half_e2.y() {return false;}; [INFO] [stdout] 145 + if (pos1.y() - pos2.y()).abs() > half_e1.y() + half_e2.y {return false;}; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 145 | if (pos1.y() - pos2.y()).abs() > half_e1.y() + half_e2.xy() {return false;}; [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:150:17 [INFO] [stdout] | [INFO] [stdout] 150 | if max1.x() < min2.x() || min1.x() > max2.x() {return false;}; [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 150 - if max1.x() < min2.x() || min1.x() > max2.x() {return false;}; [INFO] [stdout] 150 + if max1.x < min2.x() || min1.x() > max2.x() {return false;}; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 150 | if max1.xx() < min2.x() || min1.x() > max2.x() {return false;}; [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:150:28 [INFO] [stdout] | [INFO] [stdout] 150 | if max1.x() < min2.x() || min1.x() > max2.x() {return false;}; [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 150 - if max1.x() < min2.x() || min1.x() > max2.x() {return false;}; [INFO] [stdout] 150 + if max1.x() < min2.x || min1.x() > max2.x() {return false;}; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 150 | if max1.x() < min2.xx() || min1.x() > max2.x() {return false;}; [INFO] [stdout] | + [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 | ... 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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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::prelude::WHITE); [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::prelude::WHITE); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [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.xy() * 2.0, macroquad::prelude::WHITE); [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:150:40 [INFO] [stdout] | [INFO] [stdout] 150 | if max1.x() < min2.x() || min1.x() > max2.x() {return false;}; [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 150 - if max1.x() < min2.x() || min1.x() > max2.x() {return false;}; [INFO] [stdout] 150 + if max1.x() < min2.x() || min1.x > max2.x() {return false;}; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 150 | if max1.x() < min2.x() || min1.xx() > max2.x() {return false;}; [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:150:51 [INFO] [stdout] | [INFO] [stdout] 150 | if max1.x() < min2.x() || min1.x() > max2.x() {return false;}; [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 150 - if max1.x() < min2.x() || min1.x() > max2.x() {return false;}; [INFO] [stdout] 150 + if max1.x() < min2.x() || min1.x() > max2.x {return false;}; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 150 | if max1.x() < min2.x() || min1.x() > max2.xx() {return false;}; [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 151 - if max1.y() < min2.y() || min1.y() > max2.y() {return false;}; [INFO] [stdout] 151 + if max1.y < min2.y() || min1.y() > max2.y() {return false;}; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 151 | if max1.xy() < min2.y() || min1.y() > max2.y() {return false;}; [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 151 - if max1.y() < min2.y() || min1.y() > max2.y() {return false;}; [INFO] [stdout] 151 + if max1.y() < min2.y || min1.y() > max2.y() {return false;}; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 151 | if max1.y() < min2.xy() || min1.y() > max2.y() {return false;}; [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:224:23 [INFO] [stdout] | [INFO] [stdout] 224 | let x1 = pos1.x(); [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 224 - let x1 = pos1.x(); [INFO] [stdout] 224 + let x1 = pos1.x; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 224 | let x1 = pos1.xx(); [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 151 - if max1.y() < min2.y() || min1.y() > max2.y() {return false;}; [INFO] [stdout] 151 + if max1.y() < min2.y() || min1.y > max2.y() {return false;}; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 151 | if max1.y() < min2.y() || min1.xy() > max2.y() {return false;}; [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 225 - let y1 = pos1.y(); [INFO] [stdout] 225 + let y1 = pos1.y; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 225 | let y1 = pos1.xy(); [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 151 - if max1.y() < min2.y() || min1.y() > max2.y() {return false;}; [INFO] [stdout] 151 + if max1.y() < min2.y() || min1.y() > max2.y {return false;}; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 151 | if max1.y() < min2.y() || min1.y() > max2.xy() {return false;}; [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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::prelude::WHITE); [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::prelude::WHITE); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 156 | macroquad::prelude::draw_rectangle(pos.xx() - half_e.x(), pos.y() - half_e.y(), half_e.x() * 2.0, half_e.y() * 2.0, macroquad::prelude::WHITE); [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:226:26 [INFO] [stdout] | [INFO] [stdout] 226 | let w1 = half_e1.x(); [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 226 - let w1 = half_e1.x(); [INFO] [stdout] 226 + let w1 = half_e1.x; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 226 | let w1 = half_e1.xx(); [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: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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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::prelude::WHITE); [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::prelude::WHITE); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 156 | macroquad::prelude::draw_rectangle(pos.x() - half_e.xx(), pos.y() - half_e.y(), half_e.x() * 2.0, half_e.y() * 2.0, macroquad::prelude::WHITE); [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 227 - let h1 = half_e1.y(); [INFO] [stdout] 227 + let h1 = half_e1.y; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 227 | let h1 = half_e1.xy(); [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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::prelude::WHITE); [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::prelude::WHITE); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 156 | macroquad::prelude::draw_rectangle(pos.x() - half_e.x(), pos.xy() - half_e.y(), half_e.x() * 2.0, half_e.y() * 2.0, macroquad::prelude::WHITE); [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:229:23 [INFO] [stdout] | [INFO] [stdout] 229 | let x2 = pos2.x(); [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 229 - let x2 = pos2.x(); [INFO] [stdout] 229 + let x2 = pos2.x; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 229 | let x2 = pos2.xx(); [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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::prelude::WHITE); [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::prelude::WHITE); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 156 | macroquad::prelude::draw_rectangle(pos.x() - half_e.x(), pos.y() - half_e.xy(), half_e.x() * 2.0, half_e.y() * 2.0, macroquad::prelude::WHITE); [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 230 - let y2 = pos2.y(); [INFO] [stdout] 230 + let y2 = pos2.y; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 230 | let y2 = pos2.xy(); [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: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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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::prelude::WHITE); [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::prelude::WHITE); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 156 | macroquad::prelude::draw_rectangle(pos.x() - half_e.x(), pos.y() - half_e.y(), half_e.xx() * 2.0, half_e.y() * 2.0, macroquad::prelude::WHITE); [INFO] [stdout] | + [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 | ... 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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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::prelude::WHITE); [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::prelude::WHITE); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [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.xy() * 2.0, macroquad::prelude::WHITE); [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:231:26 [INFO] [stdout] | [INFO] [stdout] 231 | let w2 = half_e2.x(); [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 231 - let w2 = half_e2.x(); [INFO] [stdout] 231 + let w2 = half_e2.x; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 231 | let w2 = half_e2.xx(); [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 232 - let h2 = half_e2.y(); [INFO] [stdout] 232 + let h2 = half_e2.y; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 232 | let h2 = half_e2.xy(); [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:224:23 [INFO] [stdout] | [INFO] [stdout] 224 | let x1 = pos1.x(); [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 224 - let x1 = pos1.x(); [INFO] [stdout] 224 + let x1 = pos1.x; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 224 | let x1 = pos1.xx(); [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:234:22 [INFO] [stdout] | [INFO] [stdout] 234 | let vx = vel.x(); [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 234 - let vx = vel.x(); [INFO] [stdout] 234 + let vx = vel.x; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 234 | let vx = vel.xx(); [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 225 - let y1 = pos1.y(); [INFO] [stdout] 225 + let y1 = pos1.y; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 225 | let y1 = pos1.xy(); [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 235 - let vy = vel.y(); [INFO] [stdout] 235 + let vy = vel.y; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 235 | let vy = vel.xy(); [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:226:26 [INFO] [stdout] | [INFO] [stdout] 226 | let w1 = half_e1.x(); [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 226 - let w1 = half_e1.x(); [INFO] [stdout] 226 + let w1 = half_e1.x; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 226 | let w1 = half_e1.xx(); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `zero` found for struct `Vec2` in the current scope [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] | ^^^^ function or associated item not found in `Vec2` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec2` consider using one of the following associated functions: [INFO] [stdout] Vec2::new [INFO] [stdout] Vec2::splat [INFO] [stdout] Vec2::select [INFO] [stdout] Vec2::from_array [INFO] [stdout] and 2 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/glam-0.27.0/src/f32/vec2.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub const fn new(x: f32, y: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub const fn splat(v: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn select(mask: BVec2, if_true: Self, if_false: Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub const fn from_array(a: [f32; 2]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 227 - let h1 = half_e1.y(); [INFO] [stdout] 227 + let h1 = half_e1.y; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 227 | let h1 = half_e1.xy(); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `zero` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:351:46 [INFO] [stdout] | [INFO] [stdout] 351 | moveable.external_forces = Vec2::zero(); [INFO] [stdout] | ^^^^ function or associated item not found in `Vec2` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec2` consider using one of the following associated functions: [INFO] [stdout] Vec2::new [INFO] [stdout] Vec2::splat [INFO] [stdout] Vec2::select [INFO] [stdout] Vec2::from_array [INFO] [stdout] and 2 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/glam-0.27.0/src/f32/vec2.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub const fn new(x: f32, y: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub const fn splat(v: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn select(mask: BVec2, if_true: Self, if_false: Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub const fn from_array(a: [f32; 2]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `zero` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:361:25 [INFO] [stdout] | [INFO] [stdout] 361 | vel = Vec2::zero(); [INFO] [stdout] | ^^^^ function or associated item not found in `Vec2` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec2` consider using one of the following associated functions: [INFO] [stdout] Vec2::new [INFO] [stdout] Vec2::splat [INFO] [stdout] Vec2::select [INFO] [stdout] Vec2::from_array [INFO] [stdout] and 2 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/glam-0.27.0/src/f32/vec2.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub const fn new(x: f32, y: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub const fn splat(v: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn select(mask: BVec2, if_true: Self, if_false: Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub const fn from_array(a: [f32; 2]) -> Self { [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:229:23 [INFO] [stdout] | [INFO] [stdout] 229 | let x2 = pos2.x(); [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 229 - let x2 = pos2.x(); [INFO] [stdout] 229 + let x2 = pos2.x; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 229 | let x2 = pos2.xx(); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `zero` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:368:40 [INFO] [stdout] | [INFO] [stdout] 368 | let mut closest_normal = Vec2::zero(); [INFO] [stdout] | ^^^^ function or associated item not found in `Vec2` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec2` consider using one of the following associated functions: [INFO] [stdout] Vec2::new [INFO] [stdout] Vec2::splat [INFO] [stdout] Vec2::select [INFO] [stdout] Vec2::from_array [INFO] [stdout] and 2 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/glam-0.27.0/src/f32/vec2.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub const fn new(x: f32, y: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub const fn splat(v: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn select(mask: BVec2, if_true: Self, if_false: Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub const fn from_array(a: [f32; 2]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 230 - let y2 = pos2.y(); [INFO] [stdout] 230 + let y2 = pos2.y; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 230 | let y2 = pos2.xy(); [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 376 - let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [INFO] [stdout] 376 + let min2 = Vec2::new(pos2.x - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 376 | let min2 = Vec2::new(pos2.xx() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [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:231:26 [INFO] [stdout] | [INFO] [stdout] 231 | let w2 = half_e2.x(); [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 231 - let w2 = half_e2.x(); [INFO] [stdout] 231 + let w2 = half_e2.x; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 231 | let w2 = half_e2.xx(); [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 376 - let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [INFO] [stdout] 376 + let min2 = Vec2::new(pos2.x() - aabb2.half_e.x, pos2.y() - aabb2.half_e.y()); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 376 | let min2 = Vec2::new(pos2.x() - aabb2.half_e.xx(), pos2.y() - aabb2.half_e.y()); [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: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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 376 - let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [INFO] [stdout] 376 + let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y - aabb2.half_e.y()); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 376 | let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.xy() - aabb2.half_e.y()); [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 232 - let h2 = half_e2.y(); [INFO] [stdout] 232 + let h2 = half_e2.y; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 232 | let h2 = half_e2.xy(); [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: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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 376 - let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [INFO] [stdout] 376 + let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 376 | let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.xy()); [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:377:42 [INFO] [stdout] | [INFO] [stdout] 377 | if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.y() { continue; }; [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 377 - if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.y() { continue; }; [INFO] [stdout] 377 + if aabb2.one_way && pos1.y + aabb1.half_e.y() > min2.y() { continue; }; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 377 | if aabb2.one_way && pos1.xy() + aabb1.half_e.y() > min2.y() { continue; }; [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:234:22 [INFO] [stdout] | [INFO] [stdout] 234 | let vx = vel.x(); [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 234 - let vx = vel.x(); [INFO] [stdout] 234 + let vx = vel.x; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 234 | let vx = vel.xx(); [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:377:61 [INFO] [stdout] | [INFO] [stdout] 377 | if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.y() { continue; }; [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 377 - if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.y() { continue; }; [INFO] [stdout] 377 + if aabb2.one_way && pos1.y() + aabb1.half_e.y > min2.y() { continue; }; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 377 | if aabb2.one_way && pos1.y() + aabb1.half_e.xy() > min2.y() { continue; }; [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 235 - let vy = vel.y(); [INFO] [stdout] 235 + let vy = vel.y; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 235 | let vy = vel.xy(); [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:377:72 [INFO] [stdout] | [INFO] [stdout] 377 | if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.y() { continue; }; [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 377 - if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.y() { continue; }; [INFO] [stdout] 377 + if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.y { continue; }; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 377 | if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.xy() { continue; }; [INFO] [stdout] | + [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `index_mut` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/d2eadb7a94ef8c9deb5137695df33cd1fc5aee92/library/core/src/ops/index.rs:177:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `zero` found for struct `Vec2` in the current scope [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] | ^^^^ function or associated item not found in `Vec2` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec2` consider using one of the following associated functions: [INFO] [stdout] Vec2::new [INFO] [stdout] Vec2::splat [INFO] [stdout] Vec2::select [INFO] [stdout] Vec2::from_array [INFO] [stdout] and 2 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/glam-0.27.0/src/f32/vec2.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub const fn new(x: f32, y: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub const fn splat(v: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn select(mask: BVec2, if_true: Self, if_false: Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub const fn from_array(a: [f32; 2]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `zero` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:351:46 [INFO] [stdout] | [INFO] [stdout] 351 | moveable.external_forces = Vec2::zero(); [INFO] [stdout] | ^^^^ function or associated item not found in `Vec2` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec2` consider using one of the following associated functions: [INFO] [stdout] Vec2::new [INFO] [stdout] Vec2::splat [INFO] [stdout] Vec2::select [INFO] [stdout] Vec2::from_array [INFO] [stdout] and 2 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/glam-0.27.0/src/f32/vec2.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub const fn new(x: f32, y: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub const fn splat(v: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn select(mask: BVec2, if_true: Self, if_false: Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub const fn from_array(a: [f32; 2]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 387 - *pos1.x_mut() += vel.x() * max_t + closest_normal.x() * MARGIN; [INFO] [stdout] 387 + *pos1.x_mut() += vel.x * max_t + closest_normal.x() * MARGIN; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 387 | *pos1.x_mut() += vel.xx() * max_t + closest_normal.x() * MARGIN; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `zero` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:361:25 [INFO] [stdout] | [INFO] [stdout] 361 | vel = Vec2::zero(); [INFO] [stdout] | ^^^^ function or associated item not found in `Vec2` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec2` consider using one of the following associated functions: [INFO] [stdout] Vec2::new [INFO] [stdout] Vec2::splat [INFO] [stdout] Vec2::select [INFO] [stdout] Vec2::from_array [INFO] [stdout] and 2 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/glam-0.27.0/src/f32/vec2.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub const fn new(x: f32, y: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub const fn splat(v: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn select(mask: BVec2, if_true: Self, if_false: Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub const fn from_array(a: [f32; 2]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 function or associated item named `zero` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/aabb.rs:368:40 [INFO] [stdout] | [INFO] [stdout] 368 | let mut closest_normal = Vec2::zero(); [INFO] [stdout] | ^^^^ function or associated item not found in `Vec2` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec2` consider using one of the following associated functions: [INFO] [stdout] Vec2::new [INFO] [stdout] Vec2::splat [INFO] [stdout] Vec2::select [INFO] [stdout] Vec2::from_array [INFO] [stdout] and 2 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/glam-0.27.0/src/f32/vec2.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub const fn new(x: f32, y: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub const fn splat(v: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn select(mask: BVec2, if_true: Self, if_false: Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub const fn from_array(a: [f32; 2]) -> Self { [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:388:30 [INFO] [stdout] | [INFO] [stdout] 388 | *pos1.y_mut() += vel.y() * max_t + closest_normal.y() * MARGIN; [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 388 - *pos1.y_mut() += vel.y() * max_t + closest_normal.y() * MARGIN; [INFO] [stdout] 388 + *pos1.y_mut() += vel.y * max_t + closest_normal.y() * MARGIN; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 388 | *pos1.y_mut() += vel.xy() * max_t + closest_normal.y() * MARGIN; [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 376 - let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [INFO] [stdout] 376 + let min2 = Vec2::new(pos2.x - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 376 | let min2 = Vec2::new(pos2.xx() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 401 - let dotporod = (vel.x() * closest_normal.y() + vel.y() * closest_normal.x()) * (1.0 - max_t); [INFO] [stdout] 401 + let dotporod = (vel.x * closest_normal.y() + vel.y() * closest_normal.x()) * (1.0 - max_t); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 401 | let dotporod = (vel.xx() * closest_normal.y() + vel.y() * closest_normal.x()) * (1.0 - max_t); [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 376 - let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [INFO] [stdout] 376 + let min2 = Vec2::new(pos2.x() - aabb2.half_e.x, pos2.y() - aabb2.half_e.y()); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 376 | let min2 = Vec2::new(pos2.x() - aabb2.half_e.xx(), pos2.y() - aabb2.half_e.y()); [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: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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 401 - let dotporod = (vel.x() * closest_normal.y() + vel.y() * closest_normal.x()) * (1.0 - max_t); [INFO] [stdout] 401 + let dotporod = (vel.x() * closest_normal.y() + vel.y * closest_normal.x()) * (1.0 - max_t); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 401 | let dotporod = (vel.x() * closest_normal.y() + vel.xy() * closest_normal.x()) * (1.0 - max_t); [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: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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 376 - let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [INFO] [stdout] 376 + let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y - aabb2.half_e.y()); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 376 | let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.xy() - aabb2.half_e.y()); [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: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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 409 - let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [INFO] [stdout] 409 + let min2 = Vec2::new(pos2.x - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 409 | let min2 = Vec2::new(pos2.xx() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 409 - let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [INFO] [stdout] 409 + let min2 = Vec2::new(pos2.x() - aabb2.half_e.x, pos2.y() - aabb2.half_e.y()); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 409 | let min2 = Vec2::new(pos2.x() - aabb2.half_e.xx(), pos2.y() - aabb2.half_e.y()); [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: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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 376 - let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [INFO] [stdout] 376 + let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 376 | let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.xy()); [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: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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 409 - let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [INFO] [stdout] 409 + let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y - aabb2.half_e.y()); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 409 | let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.xy() - aabb2.half_e.y()); [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: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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 409 - let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [INFO] [stdout] 409 + let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 409 | let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.xy()); [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:377:42 [INFO] [stdout] | [INFO] [stdout] 377 | if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.y() { continue; }; [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 377 - if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.y() { continue; }; [INFO] [stdout] 377 + if aabb2.one_way && pos1.y + aabb1.half_e.y() > min2.y() { continue; }; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 377 | if aabb2.one_way && pos1.xy() + aabb1.half_e.y() > min2.y() { continue; }; [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 410 - if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.y() { continue; }; [INFO] [stdout] 410 + if aabb2.one_way && pos1.y + aabb1.half_e.y() > min2.y() { continue; }; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 410 | if aabb2.one_way && pos1.xy() + aabb1.half_e.y() > min2.y() { continue; }; [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:377:61 [INFO] [stdout] | [INFO] [stdout] 377 | if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.y() { continue; }; [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 377 - if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.y() { continue; }; [INFO] [stdout] 377 + if aabb2.one_way && pos1.y() + aabb1.half_e.y > min2.y() { continue; }; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 377 | if aabb2.one_way && pos1.y() + aabb1.half_e.xy() > min2.y() { continue; }; [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:377:72 [INFO] [stdout] | [INFO] [stdout] 377 | if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.y() { continue; }; [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 377 - if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.y() { continue; }; [INFO] [stdout] 377 + if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.y { continue; }; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 377 | if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.xy() { continue; }; [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:69 [INFO] [stdout] | [INFO] [stdout] 410 | if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.y() { continue; }; [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 410 - if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.y() { continue; }; [INFO] [stdout] 410 + if aabb2.one_way && pos1.y() + aabb1.half_e.y > min2.y() { continue; }; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 410 | if aabb2.one_way && pos1.y() + aabb1.half_e.xy() > min2.y() { continue; }; [INFO] [stdout] | + [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `index_mut` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/d2eadb7a94ef8c9deb5137695df33cd1fc5aee92/library/core/src/ops/index.rs:177:5 [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 410 - if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.y() { continue; }; [INFO] [stdout] 410 + if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.y { continue; }; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 410 | if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.xy() { continue; }; [INFO] [stdout] | + [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `index_mut` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/d2eadb7a94ef8c9deb5137695df33cd1fc5aee92/library/core/src/ops/index.rs:177:5 [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 387 - *pos1.x_mut() += vel.x() * max_t + closest_normal.x() * MARGIN; [INFO] [stdout] 387 + *pos1.x_mut() += vel.x * max_t + closest_normal.x() * MARGIN; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 387 | *pos1.x_mut() += vel.xx() * max_t + closest_normal.x() * MARGIN; [INFO] [stdout] | + [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 `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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 420 - *pos1.x_mut() += vel.x() * max_t + closest_normal.x() * MARGIN; [INFO] [stdout] 420 + *pos1.x_mut() += vel.x * max_t + closest_normal.x() * MARGIN; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 420 | *pos1.x_mut() += vel.xx() * max_t + closest_normal.x() * MARGIN; [INFO] [stdout] | + [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:388:30 [INFO] [stdout] | [INFO] [stdout] 388 | *pos1.y_mut() += vel.y() * max_t + closest_normal.y() * MARGIN; [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 388 - *pos1.y_mut() += vel.y() * max_t + closest_normal.y() * MARGIN; [INFO] [stdout] 388 + *pos1.y_mut() += vel.y * max_t + closest_normal.y() * MARGIN; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 388 | *pos1.y_mut() += vel.xy() * max_t + closest_normal.y() * MARGIN; [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:421:38 [INFO] [stdout] | [INFO] [stdout] 421 | *pos1.y_mut() += vel.y() * max_t + closest_normal.y() * MARGIN; [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 421 - *pos1.y_mut() += vel.y() * max_t + closest_normal.y() * MARGIN; [INFO] [stdout] 421 + *pos1.y_mut() += vel.y * max_t + closest_normal.y() * MARGIN; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 421 | *pos1.y_mut() += vel.xy() * max_t + closest_normal.y() * MARGIN; [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 401 - let dotporod = (vel.x() * closest_normal.y() + vel.y() * closest_normal.x()) * (1.0 - max_t); [INFO] [stdout] 401 + let dotporod = (vel.x * closest_normal.y() + vel.y() * closest_normal.x()) * (1.0 - max_t); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 401 | let dotporod = (vel.xx() * closest_normal.y() + vel.y() * closest_normal.x()) * (1.0 - max_t); [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:438:21 [INFO] [stdout] | [INFO] [stdout] 438 | *sprite.pos.x_mut() = pos.x(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `index_mut` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/d2eadb7a94ef8c9deb5137695df33cd1fc5aee92/library/core/src/ops/index.rs:177:5 [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 401 - let dotporod = (vel.x() * closest_normal.y() + vel.y() * closest_normal.x()) * (1.0 - max_t); [INFO] [stdout] 401 + let dotporod = (vel.x() * closest_normal.y() + vel.y * closest_normal.x()) * (1.0 - max_t); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 401 | let dotporod = (vel.x() * closest_normal.y() + vel.xy() * closest_normal.x()) * (1.0 - max_t); [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:438:35 [INFO] [stdout] | [INFO] [stdout] 438 | *sprite.pos.x_mut() = pos.x(); [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 438 - *sprite.pos.x_mut() = pos.x(); [INFO] [stdout] 438 + *sprite.pos.x_mut() = pos.x; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 438 | *sprite.pos.x_mut() = pos.xx(); [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 439 - *sprite.pos.y_mut() = pos.y(); [INFO] [stdout] 439 + *sprite.pos.y_mut() = pos.y; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 439 | *sprite.pos.y_mut() = pos.xy(); [INFO] [stdout] | + [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] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 471 - color.0[3] = 128; [INFO] [stdout] 471 + color.r[3] = 128; [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: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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 409 - let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [INFO] [stdout] 409 + let min2 = Vec2::new(pos2.x - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 409 | let min2 = Vec2::new(pos2.xx() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [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:474:27 [INFO] [stdout] | [INFO] [stdout] 474 | let (x, y) = (pos.x() - aabb.half_e.x(), pos.y() - aabb.half_e.y()); [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 474 - let (x, y) = (pos.x() - aabb.half_e.x(), pos.y() - aabb.half_e.y()); [INFO] [stdout] 474 + let (x, y) = (pos.x - aabb.half_e.x(), pos.y() - aabb.half_e.y()); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 474 | let (x, y) = (pos.xx() - aabb.half_e.x(), pos.y() - aabb.half_e.y()); [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 474 - let (x, y) = (pos.x() - aabb.half_e.x(), pos.y() - aabb.half_e.y()); [INFO] [stdout] 474 + let (x, y) = (pos.x() - aabb.half_e.x, pos.y() - aabb.half_e.y()); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 474 | let (x, y) = (pos.x() - aabb.half_e.xx(), pos.y() - aabb.half_e.y()); [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:474:54 [INFO] [stdout] | [INFO] [stdout] 474 | let (x, y) = (pos.x() - aabb.half_e.x(), pos.y() - aabb.half_e.y()); [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 474 - let (x, y) = (pos.x() - aabb.half_e.x(), pos.y() - aabb.half_e.y()); [INFO] [stdout] 474 + let (x, y) = (pos.x() - aabb.half_e.x(), pos.y - aabb.half_e.y()); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 474 | let (x, y) = (pos.x() - aabb.half_e.x(), pos.xy() - aabb.half_e.y()); [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 409 - let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [INFO] [stdout] 409 + let min2 = Vec2::new(pos2.x() - aabb2.half_e.x, pos2.y() - aabb2.half_e.y()); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 409 | let min2 = Vec2::new(pos2.x() - aabb2.half_e.xx(), pos2.y() - aabb2.half_e.y()); [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:474:72 [INFO] [stdout] | [INFO] [stdout] 474 | let (x, y) = (pos.x() - aabb.half_e.x(), pos.y() - aabb.half_e.y()); [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 474 - let (x, y) = (pos.x() - aabb.half_e.x(), pos.y() - aabb.half_e.y()); [INFO] [stdout] 474 + let (x, y) = (pos.x() - aabb.half_e.x(), pos.y() - aabb.half_e.y); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 474 | let (x, y) = (pos.x() - aabb.half_e.x(), pos.y() - aabb.half_e.xy()); [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 475 - draw_rectangle(x, y, aabb.half_e.x() * 2.0, aabb.half_e.y() * 2.0, color); [INFO] [stdout] 475 + draw_rectangle(x, y, aabb.half_e.x * 2.0, aabb.half_e.y() * 2.0, color); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 475 | draw_rectangle(x, y, aabb.half_e.xx() * 2.0, aabb.half_e.y() * 2.0, color); [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: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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 409 - let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [INFO] [stdout] 409 + let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y - aabb2.half_e.y()); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 409 | let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.xy() - aabb2.half_e.y()); [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: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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 475 - draw_rectangle(x, y, aabb.half_e.x() * 2.0, aabb.half_e.y() * 2.0, color); [INFO] [stdout] 475 + draw_rectangle(x, y, aabb.half_e.x() * 2.0, aabb.half_e.y * 2.0, color); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 475 | draw_rectangle(x, y, aabb.half_e.x() * 2.0, aabb.half_e.xy() * 2.0, color); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `zero` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/camera.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | offset: Vec2::zero(), [INFO] [stdout] | ^^^^ function or associated item not found in `Vec2` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec2` consider using one of the following associated functions: [INFO] [stdout] Vec2::new [INFO] [stdout] Vec2::splat [INFO] [stdout] Vec2::select [INFO] [stdout] Vec2::from_array [INFO] [stdout] and 2 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/glam-0.27.0/src/f32/vec2.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub const fn new(x: f32, y: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub const fn splat(v: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn select(mask: BVec2, if_true: Self, if_false: Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub const fn from_array(a: [f32; 2]) -> Self { [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] | ---------- ^^^^^^^^^^^ expected `&dyn Camera`, found `Camera2D` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&dyn macroquad::camera::Camera` [INFO] [stdout] found struct `Camera2D` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/macroquad-6a5b769e841fec7a/9b38581/src/camera.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn set_camera(camera: &dyn Camera) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 37 | set_camera(&self.camera); [INFO] [stdout] | + [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `set` with a similar name [INFO] [stdout] | [INFO] [stdout] 61 - self.camera.offset.set_x(-x * self.scale); [INFO] [stdout] 61 + self.camera.offset.set(-x * self.scale); [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: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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 409 - let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y()); [INFO] [stdout] 409 + let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.y); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 409 | let min2 = Vec2::new(pos2.x() - aabb2.half_e.x(), pos2.y() - aabb2.half_e.xy()); [INFO] [stdout] | + [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `set` with a similar name [INFO] [stdout] | [INFO] [stdout] 62 - self.camera.offset.set_y(-y * self.scale); [INFO] [stdout] 62 + self.camera.offset.set(-y * self.scale); [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 410 - if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.y() { continue; }; [INFO] [stdout] 410 + if aabb2.one_way && pos1.y + aabb1.half_e.y() > min2.y() { continue; }; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 410 | if aabb2.one_way && pos1.xy() + aabb1.half_e.y() > min2.y() { continue; }; [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/camera.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | *self.camera.offset.x_mut() -= movement.x() * self.scale; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `index_mut` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/d2eadb7a94ef8c9deb5137695df33cd1fc5aee92/library/core/src/ops/index.rs:177:5 [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 410 - if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.y() { continue; }; [INFO] [stdout] 410 + if aabb2.one_way && pos1.y() + aabb1.half_e.y > min2.y() { continue; }; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 410 | if aabb2.one_way && pos1.y() + aabb1.half_e.xy() > min2.y() { continue; }; [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 66 - *self.camera.offset.x_mut() -= movement.x() * self.scale; [INFO] [stdout] 66 + *self.camera.offset.x_mut() -= movement.x * self.scale; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 66 | *self.camera.offset.x_mut() -= movement.xx() * self.scale; [INFO] [stdout] | + [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/aabb.rs:410:80 [INFO] [stdout] | [INFO] [stdout] 410 | if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.y() { continue; }; [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 410 - if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.y() { continue; }; [INFO] [stdout] 410 + if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.y { continue; }; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 410 | if aabb2.one_way && pos1.y() + aabb1.half_e.y() > min2.xy() { continue; }; [INFO] [stdout] | + [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `index_mut` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/d2eadb7a94ef8c9deb5137695df33cd1fc5aee92/library/core/src/ops/index.rs:177:5 [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 67 - *self.camera.offset.y_mut() -= movement.y() * self.scale; [INFO] [stdout] 67 + *self.camera.offset.y_mut() -= movement.y * self.scale; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 67 | *self.camera.offset.y_mut() -= movement.xy() * self.scale; [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/camera.rs:71:29 [INFO] [stdout] | [INFO] [stdout] 71 | *self.camera.offset.x_mut() -= x * self.scale; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `index_mut` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/d2eadb7a94ef8c9deb5137695df33cd1fc5aee92/library/core/src/ops/index.rs:177:5 [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 420 - *pos1.x_mut() += vel.x() * max_t + closest_normal.x() * MARGIN; [INFO] [stdout] 420 + *pos1.x_mut() += vel.x * max_t + closest_normal.x() * MARGIN; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 420 | *pos1.x_mut() += vel.xx() * max_t + closest_normal.x() * MARGIN; [INFO] [stdout] | + [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 `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 `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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 31 - (placeholder.call_fn)(game, placeholder.pos.x(), placeholder.pos.y()); [INFO] [stdout] 31 + (placeholder.call_fn)(game, placeholder.pos.x, placeholder.pos.y()); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 31 | (placeholder.call_fn)(game, placeholder.pos.xx(), placeholder.pos.y()); [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:421:38 [INFO] [stdout] | [INFO] [stdout] 421 | *pos1.y_mut() += vel.y() * max_t + closest_normal.y() * MARGIN; [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 421 - *pos1.y_mut() += vel.y() * max_t + closest_normal.y() * MARGIN; [INFO] [stdout] 421 + *pos1.y_mut() += vel.y * max_t + closest_normal.y() * MARGIN; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 421 | *pos1.y_mut() += vel.xy() * max_t + closest_normal.y() * MARGIN; [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/placeholder.rs:31:78 [INFO] [stdout] | [INFO] [stdout] 31 | (placeholder.call_fn)(game, placeholder.pos.x(), placeholder.pos.y()); [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 31 - (placeholder.call_fn)(game, placeholder.pos.x(), placeholder.pos.y()); [INFO] [stdout] 31 + (placeholder.call_fn)(game, placeholder.pos.x(), placeholder.pos.y); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 31 | (placeholder.call_fn)(game, placeholder.pos.x(), placeholder.pos.xy()); [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:438:21 [INFO] [stdout] | [INFO] [stdout] 438 | *sprite.pos.x_mut() = pos.x(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `index_mut` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/d2eadb7a94ef8c9deb5137695df33cd1fc5aee92/library/core/src/ops/index.rs:177:5 [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 438 - *sprite.pos.x_mut() = pos.x(); [INFO] [stdout] 438 + *sprite.pos.x_mut() = pos.x; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 438 | *sprite.pos.x_mut() = pos.xx(); [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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] 40 + Some( Rect::new(frame_number as f32 * self.frame_size.x, 0.0, self.frame_size.x(), self.frame_size.y()) ) [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 40 | Some( Rect::new(frame_number as f32 * self.frame_size.xx(), 0.0, self.frame_size.x(), self.frame_size.y()) ) [INFO] [stdout] | + [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 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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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] 40 + Some( Rect::new(frame_number as f32 * self.frame_size.x(), 0.0, self.frame_size.x, self.frame_size.y()) ) [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 40 | Some( Rect::new(frame_number as f32 * self.frame_size.x(), 0.0, self.frame_size.xx(), self.frame_size.y()) ) [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:439:35 [INFO] [stdout] | [INFO] [stdout] 439 | *sprite.pos.y_mut() = pos.y(); [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 439 - *sprite.pos.y_mut() = pos.y(); [INFO] [stdout] 439 + *sprite.pos.y_mut() = pos.y; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 439 | *sprite.pos.y_mut() = pos.xy(); [INFO] [stdout] | + [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] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 471 - color.0[3] = 128; [INFO] [stdout] 471 + color.r[3] = 128; [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/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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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] 40 + Some( Rect::new(frame_number as f32 * self.frame_size.x(), 0.0, self.frame_size.x(), self.frame_size.y) ) [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [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.xy()) ) [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:474:27 [INFO] [stdout] | [INFO] [stdout] 474 | let (x, y) = (pos.x() - aabb.half_e.x(), pos.y() - aabb.half_e.y()); [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 474 - let (x, y) = (pos.x() - aabb.half_e.x(), pos.y() - aabb.half_e.y()); [INFO] [stdout] 474 + let (x, y) = (pos.x - aabb.half_e.x(), pos.y() - aabb.half_e.y()); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 474 | let (x, y) = (pos.xx() - aabb.half_e.x(), pos.y() - aabb.half_e.y()); [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 474 - let (x, y) = (pos.x() - aabb.half_e.x(), pos.y() - aabb.half_e.y()); [INFO] [stdout] 474 + let (x, y) = (pos.x() - aabb.half_e.x, pos.y() - aabb.half_e.y()); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 474 | let (x, y) = (pos.x() - aabb.half_e.xx(), pos.y() - aabb.half_e.y()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.camera` which is behind a shared reference [INFO] [stdout] --> src/camera.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | self.camera [INFO] [stdout] | ^^^^^^^^^^^ move occurs because `self.camera` has type `Camera2D`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/frames.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | for (e, (mut sprite, mut frames)) in world.query::<(&mut KaSprite, &mut KaFrames)>().iter() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/frames.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 83 | for (e, (mut sprite, mut frames)) in world.query::<(&mut KaSprite, &mut KaFrames)>().iter() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 474 - let (x, y) = (pos.x() - aabb.half_e.x(), pos.y() - aabb.half_e.y()); [INFO] [stdout] 474 + let (x, y) = (pos.x() - aabb.half_e.x(), pos.y - aabb.half_e.y()); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 474 | let (x, y) = (pos.x() - aabb.half_e.x(), pos.xy() - aabb.half_e.y()); [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:474:72 [INFO] [stdout] | [INFO] [stdout] 474 | let (x, y) = (pos.x() - aabb.half_e.x(), pos.y() - aabb.half_e.y()); [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 474 - let (x, y) = (pos.x() - aabb.half_e.x(), pos.y() - aabb.half_e.y()); [INFO] [stdout] 474 + let (x, y) = (pos.x() - aabb.half_e.x(), pos.y() - aabb.half_e.y); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 474 | let (x, y) = (pos.x() - aabb.half_e.x(), pos.y() - aabb.half_e.xy()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0308, E0432, E0507, E0599, E0603, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 475 - draw_rectangle(x, y, aabb.half_e.x() * 2.0, aabb.half_e.y() * 2.0, color); [INFO] [stdout] 475 + draw_rectangle(x, y, aabb.half_e.x * 2.0, aabb.half_e.y() * 2.0, color); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 475 | draw_rectangle(x, y, aabb.half_e.xx() * 2.0, aabb.half_e.y() * 2.0, color); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `macro_kako_tools` (lib test) due to 124 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 475 - draw_rectangle(x, y, aabb.half_e.x() * 2.0, aabb.half_e.y() * 2.0, color); [INFO] [stdout] 475 + draw_rectangle(x, y, aabb.half_e.x() * 2.0, aabb.half_e.y * 2.0, color); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 475 | draw_rectangle(x, y, aabb.half_e.x() * 2.0, aabb.half_e.xy() * 2.0, color); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `zero` found for struct `Vec2` in the current scope [INFO] [stdout] --> src/camera.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | offset: Vec2::zero(), [INFO] [stdout] | ^^^^ function or associated item not found in `Vec2` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec2` consider using one of the following associated functions: [INFO] [stdout] Vec2::new [INFO] [stdout] Vec2::splat [INFO] [stdout] Vec2::select [INFO] [stdout] Vec2::from_array [INFO] [stdout] and 2 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/glam-0.27.0/src/f32/vec2.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub const fn new(x: f32, y: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub const fn splat(v: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn select(mask: BVec2, if_true: Self, if_false: Self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub const fn from_array(a: [f32; 2]) -> Self { [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] | ---------- ^^^^^^^^^^^ expected `&dyn Camera`, found `Camera2D` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&dyn macroquad::camera::Camera` [INFO] [stdout] found struct `Camera2D` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/macroquad-6a5b769e841fec7a/9b38581/src/camera.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn set_camera(camera: &dyn Camera) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 37 | set_camera(&self.camera); [INFO] [stdout] | + [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `set` with a similar name [INFO] [stdout] | [INFO] [stdout] 61 - self.camera.offset.set_x(-x * self.scale); [INFO] [stdout] 61 + self.camera.offset.set(-x * self.scale); [INFO] [stdout] | [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `set` with a similar name [INFO] [stdout] | [INFO] [stdout] 62 - self.camera.offset.set_y(-y * self.scale); [INFO] [stdout] 62 + self.camera.offset.set(-y * self.scale); [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/camera.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | *self.camera.offset.x_mut() -= movement.x() * self.scale; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `index_mut` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/d2eadb7a94ef8c9deb5137695df33cd1fc5aee92/library/core/src/ops/index.rs:177:5 [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 66 - *self.camera.offset.x_mut() -= movement.x() * self.scale; [INFO] [stdout] 66 + *self.camera.offset.x_mut() -= movement.x * self.scale; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 66 | *self.camera.offset.x_mut() -= movement.xx() * self.scale; [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 67 - *self.camera.offset.y_mut() -= movement.y() * self.scale; [INFO] [stdout] 67 + *self.camera.offset.y_mut() -= movement.y * self.scale; [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 67 | *self.camera.offset.y_mut() -= movement.xy() * self.scale; [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/camera.rs:71:29 [INFO] [stdout] | [INFO] [stdout] 71 | *self.camera.offset.x_mut() -= x * self.scale; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `index_mut` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/d2eadb7a94ef8c9deb5137695df33cd1fc5aee92/library/core/src/ops/index.rs:177:5 [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 31 - (placeholder.call_fn)(game, placeholder.pos.x(), placeholder.pos.y()); [INFO] [stdout] 31 + (placeholder.call_fn)(game, placeholder.pos.x, placeholder.pos.y()); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 31 | (placeholder.call_fn)(game, placeholder.pos.xx(), placeholder.pos.y()); [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/placeholder.rs:31:78 [INFO] [stdout] | [INFO] [stdout] 31 | (placeholder.call_fn)(game, placeholder.pos.x(), placeholder.pos.y()); [INFO] [stdout] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 31 - (placeholder.call_fn)(game, placeholder.pos.x(), placeholder.pos.y()); [INFO] [stdout] 31 + (placeholder.call_fn)(game, placeholder.pos.x(), placeholder.pos.y); [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [INFO] [stdout] | [INFO] [stdout] 31 | (placeholder.call_fn)(game, placeholder.pos.x(), placeholder.pos.xy()); [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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] 40 + Some( Rect::new(frame_number as f32 * self.frame_size.x, 0.0, self.frame_size.x(), self.frame_size.y()) ) [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 40 | Some( Rect::new(frame_number as f32 * self.frame_size.xx(), 0.0, self.frame_size.x(), self.frame_size.y()) ) [INFO] [stdout] | + [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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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] 40 + Some( Rect::new(frame_number as f32 * self.frame_size.x(), 0.0, self.frame_size.x, self.frame_size.y()) ) [INFO] [stdout] | [INFO] [stdout] help: there is a method `xx` with a similar name [INFO] [stdout] | [INFO] [stdout] 40 | Some( Rect::new(frame_number as f32 * self.frame_size.x(), 0.0, self.frame_size.xx(), self.frame_size.y()) ) [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/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] | ^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [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] 40 + Some( Rect::new(frame_number as f32 * self.frame_size.x(), 0.0, self.frame_size.x(), self.frame_size.y) ) [INFO] [stdout] | [INFO] [stdout] help: there is a method `xy` with a similar name [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.xy()) ) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.camera` which is behind a shared reference [INFO] [stdout] --> src/camera.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | self.camera [INFO] [stdout] | ^^^^^^^^^^^ move occurs because `self.camera` has type `Camera2D`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/frames.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | for (e, (mut sprite, mut frames)) in world.query::<(&mut KaSprite, &mut KaFrames)>().iter() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/frames.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 83 | for (e, (mut sprite, mut frames)) in world.query::<(&mut KaSprite, &mut KaFrames)>().iter() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0308, E0432, E0507, 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` (lib) due to 124 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5b74a02f9cd772a05f272813c0b4b570f49af9ab2d69e947ee0e694052fdc79b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b74a02f9cd772a05f272813c0b4b570f49af9ab2d69e947ee0e694052fdc79b", kill_on_drop: false }` [INFO] [stdout] 5b74a02f9cd772a05f272813c0b4b570f49af9ab2d69e947ee0e694052fdc79b