[INFO] cloning repository https://github.com/weshardee/peg-game-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/weshardee/peg-game-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweshardee%2Fpeg-game-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweshardee%2Fpeg-game-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ac57978765938db9a153b72c58ce61e266929c50 [INFO] checking weshardee/peg-game-rust against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweshardee%2Fpeg-game-rust" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/weshardee/peg-game-rust on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/weshardee/peg-game-rust [INFO] removed path dependency kit from git repo https://github.com/weshardee/peg-game-rust [INFO] finished tweaking git repo https://github.com/weshardee/peg-game-rust [INFO] tweaked toml for git repo https://github.com/weshardee/peg-game-rust written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/weshardee/peg-game-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded shortid v1.0.6 [INFO] [stderr] Downloaded sokol v0.3.0 [INFO] [stderr] Downloaded kit v0.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b461017ff8f1fc8cc9490923d56659f3a348abe844fff80054b9faa09a7a5859 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b461017ff8f1fc8cc9490923d56659f3a348abe844fff80054b9faa09a7a5859", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b461017ff8f1fc8cc9490923d56659f3a348abe844fff80054b9faa09a7a5859", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b461017ff8f1fc8cc9490923d56659f3a348abe844fff80054b9faa09a7a5859", kill_on_drop: false }` [INFO] [stdout] b461017ff8f1fc8cc9490923d56659f3a348abe844fff80054b9faa09a7a5859 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1eed657c2ec9d07b1fcb72c3e65273a686f0644821cd811eb406ffba89c5f2c7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1eed657c2ec9d07b1fcb72c3e65273a686f0644821cd811eb406ffba89c5f2c7", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling rayon-core v1.8.1 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling syn v1.0.43 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Checking weezl v0.1.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.4.1 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling sokol v0.3.0 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking image v0.23.10 [INFO] [stderr] Checking thiserror v1.0.21 [INFO] [stderr] Checking shortid v1.0.6 [INFO] [stderr] Checking kit v0.0.2 [INFO] [stderr] Checking peg-game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `load_img` in this scope [INFO] [stdout] --> src/assets.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | state.assets.tile = Some(load_img(ctx, "assets/images/tile.png")); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::load_img; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::load_img; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `load_img` in this scope [INFO] [stdout] --> src/assets.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | state.assets.shadow = Some(load_img(ctx, "assets/images/shadow.png")); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::load_img; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::load_img; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `load_img` in this scope [INFO] [stdout] --> src/assets.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | state.assets.peg_beige = Some(load_img(ctx, "assets/images/peg_beige.png")); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::load_img; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::load_img; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `load_img` in this scope [INFO] [stdout] --> src/assets.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | state.assets.peg_blue = Some(load_img(ctx, "assets/images/peg_blue.png")); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::load_img; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::load_img; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `load_img` in this scope [INFO] [stdout] --> src/assets.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | state.assets.peg_green = Some(load_img(ctx, "assets/images/peg_green.png")); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::load_img; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::load_img; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `load_img` in this scope [INFO] [stdout] --> src/assets.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | state.assets.peg_pink = Some(load_img(ctx, "assets/images/peg_pink.png")); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::load_img; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::load_img; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `load_img` in this scope [INFO] [stdout] --> src/assets.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | state.assets.peg_yellow = Some(load_img(ctx, "assets/images/peg_yellow.png")); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::load_img; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::load_img; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `draw_circ` in this scope [INFO] [stdout] --> src/draw/debug.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | draw_circ(ctx, Circle { center, r: 10.0 }, red()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::draw_circ; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::draw_circ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Circle` in this scope [INFO] [stdout] --> src/draw/debug.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | draw_circ(ctx, Circle { center, r: 10.0 }, red()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::geometry::Circle; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::Circle; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::Shape::Circle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `red` in this scope [INFO] [stdout] --> src/draw/debug.rs:18:46 [INFO] [stdout] | [INFO] [stdout] 18 | draw_circ(ctx, Circle { center, r: 10.0 }, red()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `white` in this scope [INFO] [stdout] --> src/draw/debug.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | white() [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `red` in this scope [INFO] [stdout] --> src/draw/debug.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | red() [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `white` in this scope [INFO] [stdout] --> src/draw/debug.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let color = white(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec4` in this scope [INFO] [stdout] --> src/draw/debug.rs:53:78 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn draw_peg_bounds(ctx: &mut Ctx, pos: Coords, peg_type: PegType, color: Vec4) { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `draw_circ` in this scope [INFO] [stdout] --> src/draw/debug.rs:56:3 [INFO] [stdout] | [INFO] [stdout] 56 | draw_circ(ctx, head, color); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::draw_circ; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::draw_circ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `draw_circ` in this scope [INFO] [stdout] --> src/draw/debug.rs:57:3 [INFO] [stdout] | [INFO] [stdout] 57 | draw_circ(ctx, feet, color); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::draw_circ; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::draw_circ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `draw_rect` in this scope [INFO] [stdout] --> src/draw/debug.rs:58:3 [INFO] [stdout] | [INFO] [stdout] 58 | draw_rect(ctx, body, color); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::draw_rect; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::draw_rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec4` in this scope [INFO] [stdout] --> src/draw/debug.rs:61:60 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn draw_tile_bounds(ctx: &mut Ctx, pos: Coords, color: Vec4) { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `draw_circ` in this scope [INFO] [stdout] --> src/draw/debug.rs:64:3 [INFO] [stdout] | [INFO] [stdout] 64 | draw_circ(ctx, c, color); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::draw_circ; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::draw_circ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/draw/pegs.rs:29:61 [INFO] [stdout] | [INFO] [stdout] 29 | fn draw_shadow(ctx: &mut Ctx, state: &State, i: usize, pos: Vec2) { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `clampf` in this scope [INFO] [stdout] --> src/draw/pegs.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | let shadow_scale = 1.0 - clampf(peg_z / PEG_SHADOW_FADE_DIST, 0.0, 1.0); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `draw_image` in crate `kit` [INFO] [stdout] --> src/draw/pegs.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | kit::draw_image(ctx, shadow_img_id, pos, shadow_scale, shadow_pivot); [INFO] [stdout] | ^^^^^^^^^^ not found in `kit` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::draw_image; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::draw_image; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/draw/pegs.rs:43:61 [INFO] [stdout] | [INFO] [stdout] 43 | fn draw_sprite(ctx: &mut Ctx, state: &State, i: usize, pos: Vec2) { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `vec2` in this scope [INFO] [stdout] --> src/draw/pegs.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let pos = vec2(pos.x(), pos.y() + z); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `draw_sprite` in crate `kit` [INFO] [stdout] --> src/draw/pegs.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | kit::draw_sprite(ctx, sprite, pos, 1.0); [INFO] [stdout] | ^^^^^^^^^^^ not found in `kit` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::draw_sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::draw_sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `draw_image` in crate `kit` [INFO] [stdout] --> src/draw/tiles.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | kit::draw_image(ctx, texture_id, screen_pos, SCALE, pivot_px()); [INFO] [stdout] | ^^^^^^^^^^ not found in `kit` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::draw_image; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::draw_image; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `default_projection_2d` in this scope [INFO] [stdout] --> src/draw.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | default_projection_2d(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_beige.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | jump: sprite(ctx, id, 1, 1, 66, 93, Pivot::Px(33.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_beige.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | hurt: sprite(ctx, id, 1, 96, 67, 92, Pivot::Px(40.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_beige.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | front: sprite(ctx, id, 1, 190, 66, 92, Pivot::Px(32.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_beige.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | lean: sprite(ctx, id, 1, 284, 66, 92, Pivot::Px(29.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_beige.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | duck: sprite(ctx, id, 1, 378, 67, 72, Pivot::Px(28.0, 1.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_blue.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | jump: sprite(ctx, id, 1, 1, 66, 93, Pivot::Px(31.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_blue.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | hurt: sprite(ctx, id, 1, 96, 67, 92, Pivot::Px(41.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_blue.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | front: sprite(ctx, id, 1, 190, 66, 92, Pivot::Px(32.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_blue.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | lean: sprite(ctx, id, 1, 284, 66, 92, Pivot::Px(29.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_blue.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | duck: sprite(ctx, id, 1, 377, 67, 72, Pivot::Px(28.0, 1.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_green.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | jump: sprite(ctx, id, 1, 1, 67, 93, Pivot::Px(29.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_green.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | hurt: sprite(ctx, id, 1, 96, 69, 92, Pivot::Px(46.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_green.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | front: sprite(ctx, id, 1, 190, 66, 92, Pivot::Px(32.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_green.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | lean: sprite(ctx, id, 1, 284, 66, 92, Pivot::Px(27.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_green.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | duck: sprite(ctx, id, 1, 378, 69, 71, Pivot::Px(28.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_pink.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | jump: sprite(ctx, id, 1, 1, 67, 93, Pivot::Px(30.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_pink.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | hurt: sprite(ctx, id, 1, 96, 69, 93, Pivot::Px(45.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_pink.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | front: sprite(ctx, id, 1, 190, 66, 92, Pivot::Px(32.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_pink.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | lean: sprite(ctx, id, 1, 284, 66, 92, Pivot::Px(28.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_pink.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | duck: sprite(ctx, id, 1, 378, 69, 71, Pivot::Px(28.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_yellow.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | hurt: sprite(ctx, id, 1, 1, 69, 81, Pivot::Px(43.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_yellow.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | jump: sprite(ctx, id, 1, 153, 67, 83, Pivot::Px(30.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_yellow.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | front: sprite(ctx, id, 1, 238, 66, 82, Pivot::Px(32.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_yellow.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | lean: sprite(ctx, id, 1, 322, 66, 82, Pivot::Px(28.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_yellow.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | duck: sprite(ctx, id, 1, 84, 68, 67, Pivot::Px(27.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/types.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | impl Into for Coords { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 76 | impl Into for Coords { [INFO] [stdout] | ^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 76 | impl Into for Coords { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/types.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | fn into(self) -> Vec2 { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `vec2` in this scope [INFO] [stdout] --> src/types.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | vec2(self.x as f32, self.y as f32) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/types.rs:160:18 [INFO] [stdout] | [INFO] [stdout] 160 | pub mouse_pos: Vec2, // mouse position in world space [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_point_v_circle` in this scope [INFO] [stdout] --> src/update/phase_excited.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | if test_point_v_circle(click_pos, tile_bounds) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::geometry::test_point_v_circle; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::test_point_v_circle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `clampf` in this scope [INFO] [stdout] --> src/update.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | let mut z_vel = clampf(z_vel, -DROP_TERMINAL_VEL, DROP_TERMINAL_VEL); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/utils.rs:73:49 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn board_to_screen_position(pos: Coords) -> Vec2 { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `vec2` in this scope [INFO] [stdout] --> src/utils.rs:76:3 [INFO] [stdout] | [INFO] [stdout] 76 | vec2( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/utils.rs:82:45 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn screen_to_board_position(screen_pos: Vec2) -> Coords { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/utils.rs:90:69 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn test_peg(ctx: &Ctx, board_pos: Coords, peg_type: PegType, p: Vec2) -> bool { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_point_v_circle` in this scope [INFO] [stdout] --> src/utils.rs:92:3 [INFO] [stdout] | [INFO] [stdout] 92 | test_point_v_circle(p, head) || test_point_v_circle(p, feet) || test_point_v_aabb(p, body) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::geometry::test_point_v_circle; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::test_point_v_circle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_point_v_circle` in this scope [INFO] [stdout] --> src/utils.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | test_point_v_circle(p, head) || test_point_v_circle(p, feet) || test_point_v_aabb(p, body) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::geometry::test_point_v_circle; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::test_point_v_circle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_point_v_aabb` in this scope [INFO] [stdout] --> src/utils.rs:92:67 [INFO] [stdout] | [INFO] [stdout] 92 | test_point_v_circle(p, head) || test_point_v_circle(p, feet) || test_point_v_aabb(p, body) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::geometry::test_point_v_aabb; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::test_point_v_aabb; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Circle` in this scope [INFO] [stdout] --> src/utils.rs:95:66 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn peg_bounds(ctx: &Ctx, pos: Coords, peg_type: PegType) -> (Circle, Rect, Circle) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::geometry::Circle; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::Circle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rect` in this scope [INFO] [stdout] --> src/utils.rs:95:74 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn peg_bounds(ctx: &Ctx, pos: Coords, peg_type: PegType) -> (Circle, Rect, Circle) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::geometry::Rect; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::Rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Circle` in this scope [INFO] [stdout] --> src/utils.rs:95:80 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn peg_bounds(ctx: &Ctx, pos: Coords, peg_type: PegType) -> (Circle, Rect, Circle) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::geometry::Circle; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::Circle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `vec2` in this scope [INFO] [stdout] --> src/utils.rs:105:46 [INFO] [stdout] | [INFO] [stdout] 105 | let base = board_to_screen_position(pos) + vec2(0.0, bottom_offset); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `vec2` in this scope [INFO] [stdout] --> src/utils.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | let top = base + vec2(0.0, height); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Circle` in this scope [INFO] [stdout] --> src/utils.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 110 | let head = Circle { r, center: top }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::geometry::Circle; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::Circle; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::Shape::Circle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Circle` in this scope [INFO] [stdout] --> src/utils.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 111 | let feet = Circle { r, center: base }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::geometry::Circle; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::Circle; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::Shape::Circle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Rect` in this scope [INFO] [stdout] --> src/utils.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | let body = Rect { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::geometry::Rect; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::Rect; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::Shape::Rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Circle` in this scope [INFO] [stdout] --> src/utils.rs:122:47 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn tile_bounds(ctx: &Ctx, pos: Coords) -> Circle { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::geometry::Circle; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::Circle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Circle` in this scope [INFO] [stdout] --> src/utils.rs:123:3 [INFO] [stdout] | [INFO] [stdout] 123 | Circle { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::geometry::Circle; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::Circle; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::Shape::Circle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/utils.rs:129:39 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn window_center_px(ctx: &Ctx) -> Vec2 { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `vec2` in this scope [INFO] [stdout] --> src/utils.rs:130:3 [INFO] [stdout] | [INFO] [stdout] 130 | vec2(window_width(ctx) as f32, window_height(ctx) as f32) / 2.0 [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `window_width` in this scope [INFO] [stdout] --> src/utils.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | vec2(window_width(ctx) as f32, window_height(ctx) as f32) / 2.0 [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::window_width; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::window_width; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `window_height` in this scope [INFO] [stdout] --> src/utils.rs:130:34 [INFO] [stdout] | [INFO] [stdout] 130 | vec2(window_width(ctx) as f32, window_height(ctx) as f32) / 2.0 [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::window_height; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::window_height; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/utils.rs:133:38 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn window_to_world(ctx: &Ctx, p: Vec2) -> Vec2 { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/utils.rs:133:47 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn window_to_world(ctx: &Ctx, p: Vec2) -> Vec2 { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `window_width` in this scope [INFO] [stdout] --> src/utils.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | let window_width = window_width(ctx) as f32; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::window_width; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::window_width; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `window_height` in this scope [INFO] [stdout] --> src/utils.rs:135:23 [INFO] [stdout] | [INFO] [stdout] 135 | let window_height = window_height(ctx) as f32; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::window_height; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::window_height; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `vec2` in this scope [INFO] [stdout] --> src/utils.rs:136:19 [INFO] [stdout] | [INFO] [stdout] 136 | let world_pos = vec2(p.x() - window_width / 2.0, window_height / 2.0 - p.y()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `load_img` in this scope [INFO] [stdout] --> src/assets.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | state.assets.tile = Some(load_img(ctx, "assets/images/tile.png")); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::load_img; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::load_img; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `load_img` in this scope [INFO] [stdout] --> src/assets.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | state.assets.shadow = Some(load_img(ctx, "assets/images/shadow.png")); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::load_img; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::load_img; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `load_img` in this scope [INFO] [stdout] --> src/assets.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | state.assets.peg_beige = Some(load_img(ctx, "assets/images/peg_beige.png")); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::load_img; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::load_img; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `load_img` in this scope [INFO] [stdout] --> src/assets.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | state.assets.peg_blue = Some(load_img(ctx, "assets/images/peg_blue.png")); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::load_img; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::load_img; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `load_img` in this scope [INFO] [stdout] --> src/assets.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | state.assets.peg_green = Some(load_img(ctx, "assets/images/peg_green.png")); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::load_img; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::load_img; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `load_img` in this scope [INFO] [stdout] --> src/assets.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | state.assets.peg_pink = Some(load_img(ctx, "assets/images/peg_pink.png")); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::load_img; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::load_img; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `load_img` in this scope [INFO] [stdout] --> src/assets.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | state.assets.peg_yellow = Some(load_img(ctx, "assets/images/peg_yellow.png")); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::load_img; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::load_img; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `draw_circ` in this scope [INFO] [stdout] --> src/draw/debug.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | draw_circ(ctx, Circle { center, r: 10.0 }, red()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::draw_circ; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::draw_circ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Circle` in this scope [INFO] [stdout] --> src/draw/debug.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | draw_circ(ctx, Circle { center, r: 10.0 }, red()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::geometry::Circle; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::Circle; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::Shape::Circle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `red` in this scope [INFO] [stdout] --> src/draw/debug.rs:18:46 [INFO] [stdout] | [INFO] [stdout] 18 | draw_circ(ctx, Circle { center, r: 10.0 }, red()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `white` in this scope [INFO] [stdout] --> src/draw/debug.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | white() [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `red` in this scope [INFO] [stdout] --> src/draw/debug.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | red() [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `white` in this scope [INFO] [stdout] --> src/draw/debug.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let color = white(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec4` in this scope [INFO] [stdout] --> src/draw/debug.rs:53:78 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn draw_peg_bounds(ctx: &mut Ctx, pos: Coords, peg_type: PegType, color: Vec4) { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `draw_circ` in this scope [INFO] [stdout] --> src/draw/debug.rs:56:3 [INFO] [stdout] | [INFO] [stdout] 56 | draw_circ(ctx, head, color); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::draw_circ; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::draw_circ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `draw_circ` in this scope [INFO] [stdout] --> src/draw/debug.rs:57:3 [INFO] [stdout] | [INFO] [stdout] 57 | draw_circ(ctx, feet, color); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::draw_circ; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::draw_circ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `draw_rect` in this scope [INFO] [stdout] --> src/draw/debug.rs:58:3 [INFO] [stdout] | [INFO] [stdout] 58 | draw_rect(ctx, body, color); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::draw_rect; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::draw_rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec4` in this scope [INFO] [stdout] --> src/draw/debug.rs:61:60 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn draw_tile_bounds(ctx: &mut Ctx, pos: Coords, color: Vec4) { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `draw_circ` in this scope [INFO] [stdout] --> src/draw/debug.rs:64:3 [INFO] [stdout] | [INFO] [stdout] 64 | draw_circ(ctx, c, color); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::draw_circ; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::draw_circ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/draw/pegs.rs:29:61 [INFO] [stdout] | [INFO] [stdout] 29 | fn draw_shadow(ctx: &mut Ctx, state: &State, i: usize, pos: Vec2) { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `clampf` in this scope [INFO] [stdout] --> src/draw/pegs.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | let shadow_scale = 1.0 - clampf(peg_z / PEG_SHADOW_FADE_DIST, 0.0, 1.0); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `draw_image` in crate `kit` [INFO] [stdout] --> src/draw/pegs.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | kit::draw_image(ctx, shadow_img_id, pos, shadow_scale, shadow_pivot); [INFO] [stdout] | ^^^^^^^^^^ not found in `kit` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::draw_image; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::draw_image; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/draw/pegs.rs:43:61 [INFO] [stdout] | [INFO] [stdout] 43 | fn draw_sprite(ctx: &mut Ctx, state: &State, i: usize, pos: Vec2) { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `vec2` in this scope [INFO] [stdout] --> src/draw/pegs.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let pos = vec2(pos.x(), pos.y() + z); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `draw_sprite` in crate `kit` [INFO] [stdout] --> src/draw/pegs.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | kit::draw_sprite(ctx, sprite, pos, 1.0); [INFO] [stdout] | ^^^^^^^^^^^ not found in `kit` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::draw_sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::draw_sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `draw_image` in crate `kit` [INFO] [stdout] --> src/draw/tiles.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | kit::draw_image(ctx, texture_id, screen_pos, SCALE, pivot_px()); [INFO] [stdout] | ^^^^^^^^^^ not found in `kit` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::draw_image; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::draw_image; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `default_projection_2d` in this scope [INFO] [stdout] --> src/draw.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | default_projection_2d(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_beige.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | jump: sprite(ctx, id, 1, 1, 66, 93, Pivot::Px(33.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_beige.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | hurt: sprite(ctx, id, 1, 96, 67, 92, Pivot::Px(40.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_beige.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | front: sprite(ctx, id, 1, 190, 66, 92, Pivot::Px(32.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_beige.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | lean: sprite(ctx, id, 1, 284, 66, 92, Pivot::Px(29.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_beige.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | duck: sprite(ctx, id, 1, 378, 67, 72, Pivot::Px(28.0, 1.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_blue.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | jump: sprite(ctx, id, 1, 1, 66, 93, Pivot::Px(31.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_blue.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | hurt: sprite(ctx, id, 1, 96, 67, 92, Pivot::Px(41.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_blue.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | front: sprite(ctx, id, 1, 190, 66, 92, Pivot::Px(32.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_blue.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | lean: sprite(ctx, id, 1, 284, 66, 92, Pivot::Px(29.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_blue.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | duck: sprite(ctx, id, 1, 377, 67, 72, Pivot::Px(28.0, 1.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_green.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | jump: sprite(ctx, id, 1, 1, 67, 93, Pivot::Px(29.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_green.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | hurt: sprite(ctx, id, 1, 96, 69, 92, Pivot::Px(46.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_green.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | front: sprite(ctx, id, 1, 190, 66, 92, Pivot::Px(32.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_green.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | lean: sprite(ctx, id, 1, 284, 66, 92, Pivot::Px(27.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_green.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | duck: sprite(ctx, id, 1, 378, 69, 71, Pivot::Px(28.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_pink.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | jump: sprite(ctx, id, 1, 1, 67, 93, Pivot::Px(30.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_pink.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | hurt: sprite(ctx, id, 1, 96, 69, 93, Pivot::Px(45.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_pink.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | front: sprite(ctx, id, 1, 190, 66, 92, Pivot::Px(32.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_pink.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | lean: sprite(ctx, id, 1, 284, 66, 92, Pivot::Px(28.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_pink.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | duck: sprite(ctx, id, 1, 378, 69, 71, Pivot::Px(28.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_yellow.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | hurt: sprite(ctx, id, 1, 1, 69, 81, Pivot::Px(43.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_yellow.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | jump: sprite(ctx, id, 1, 153, 67, 83, Pivot::Px(30.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_yellow.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | front: sprite(ctx, id, 1, 238, 66, 82, Pivot::Px(32.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_yellow.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | lean: sprite(ctx, id, 1, 322, 66, 82, Pivot::Px(28.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sprite` in this scope [INFO] [stdout] --> src/sprites/peg_yellow.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | duck: sprite(ctx, id, 1, 84, 68, 67, Pivot::Px(27.0, 0.0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::sprite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/types.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | impl Into for Coords { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 76 | impl Into for Coords { [INFO] [stdout] | ^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 76 | impl Into for Coords { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/types.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | fn into(self) -> Vec2 { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `vec2` in this scope [INFO] [stdout] --> src/types.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | vec2(self.x as f32, self.y as f32) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/types.rs:160:18 [INFO] [stdout] | [INFO] [stdout] 160 | pub mouse_pos: Vec2, // mouse position in world space [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_point_v_circle` in this scope [INFO] [stdout] --> src/update/phase_excited.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | if test_point_v_circle(click_pos, tile_bounds) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::geometry::test_point_v_circle; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::test_point_v_circle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `clampf` in this scope [INFO] [stdout] --> src/update.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | let mut z_vel = clampf(z_vel, -DROP_TERMINAL_VEL, DROP_TERMINAL_VEL); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/utils.rs:73:49 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn board_to_screen_position(pos: Coords) -> Vec2 { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `vec2` in this scope [INFO] [stdout] --> src/utils.rs:76:3 [INFO] [stdout] | [INFO] [stdout] 76 | vec2( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/utils.rs:82:45 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn screen_to_board_position(screen_pos: Vec2) -> Coords { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/utils.rs:90:69 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn test_peg(ctx: &Ctx, board_pos: Coords, peg_type: PegType, p: Vec2) -> bool { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_point_v_circle` in this scope [INFO] [stdout] --> src/utils.rs:92:3 [INFO] [stdout] | [INFO] [stdout] 92 | test_point_v_circle(p, head) || test_point_v_circle(p, feet) || test_point_v_aabb(p, body) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::geometry::test_point_v_circle; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::test_point_v_circle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_point_v_circle` in this scope [INFO] [stdout] --> src/utils.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | test_point_v_circle(p, head) || test_point_v_circle(p, feet) || test_point_v_aabb(p, body) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::geometry::test_point_v_circle; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::test_point_v_circle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_point_v_aabb` in this scope [INFO] [stdout] --> src/utils.rs:92:67 [INFO] [stdout] | [INFO] [stdout] 92 | test_point_v_circle(p, head) || test_point_v_circle(p, feet) || test_point_v_aabb(p, body) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::geometry::test_point_v_aabb; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::test_point_v_aabb; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Circle` in this scope [INFO] [stdout] --> src/utils.rs:95:66 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn peg_bounds(ctx: &Ctx, pos: Coords, peg_type: PegType) -> (Circle, Rect, Circle) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::geometry::Circle; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::Circle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rect` in this scope [INFO] [stdout] --> src/utils.rs:95:74 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn peg_bounds(ctx: &Ctx, pos: Coords, peg_type: PegType) -> (Circle, Rect, Circle) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::geometry::Rect; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::Rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Circle` in this scope [INFO] [stdout] --> src/utils.rs:95:80 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn peg_bounds(ctx: &Ctx, pos: Coords, peg_type: PegType) -> (Circle, Rect, Circle) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::geometry::Circle; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::Circle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `vec2` in this scope [INFO] [stdout] --> src/utils.rs:105:46 [INFO] [stdout] | [INFO] [stdout] 105 | let base = board_to_screen_position(pos) + vec2(0.0, bottom_offset); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `vec2` in this scope [INFO] [stdout] --> src/utils.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | let top = base + vec2(0.0, height); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Circle` in this scope [INFO] [stdout] --> src/utils.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 110 | let head = Circle { r, center: top }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::geometry::Circle; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::Circle; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::Shape::Circle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Circle` in this scope [INFO] [stdout] --> src/utils.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 111 | let feet = Circle { r, center: base }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::geometry::Circle; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::Circle; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::Shape::Circle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Rect` in this scope [INFO] [stdout] --> src/utils.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | let body = Rect { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::geometry::Rect; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::Rect; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::Shape::Rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Circle` in this scope [INFO] [stdout] --> src/utils.rs:122:47 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn tile_bounds(ctx: &Ctx, pos: Coords) -> Circle { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::geometry::Circle; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::Circle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Circle` in this scope [INFO] [stdout] --> src/utils.rs:123:3 [INFO] [stdout] | [INFO] [stdout] 123 | Circle { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::geometry::Circle; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::Circle; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::Shape::Circle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/utils.rs:129:39 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn window_center_px(ctx: &Ctx) -> Vec2 { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `vec2` in this scope [INFO] [stdout] --> src/utils.rs:130:3 [INFO] [stdout] | [INFO] [stdout] 130 | vec2(window_width(ctx) as f32, window_height(ctx) as f32) / 2.0 [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `window_width` in this scope [INFO] [stdout] --> src/utils.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | vec2(window_width(ctx) as f32, window_height(ctx) as f32) / 2.0 [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::window_width; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::window_width; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `window_height` in this scope [INFO] [stdout] --> src/utils.rs:130:34 [INFO] [stdout] | [INFO] [stdout] 130 | vec2(window_width(ctx) as f32, window_height(ctx) as f32) / 2.0 [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::window_height; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::window_height; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/utils.rs:133:38 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn window_to_world(ctx: &Ctx, p: Vec2) -> Vec2 { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/utils.rs:133:47 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn window_to_world(ctx: &Ctx, p: Vec2) -> Vec2 { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `window_width` in this scope [INFO] [stdout] --> src/utils.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | let window_width = window_width(ctx) as f32; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::window_width; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::window_width; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `window_height` in this scope [INFO] [stdout] --> src/utils.rs:135:23 [INFO] [stdout] | [INFO] [stdout] 135 | let window_height = window_height(ctx) as f32; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::graphics::window_height; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::graphics::window_height; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `vec2` in this scope [INFO] [stdout] --> src/utils.rs:136:19 [INFO] [stdout] | [INFO] [stdout] 136 | let world_pos = vec2(p.x() - window_width / 2.0, window_height / 2.0 - p.y()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `flip_x` found for struct `kit::Sprite` in the current scope [INFO] [stdout] --> src/draw/pegs.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | sprite.flip_x() [INFO] [stdout] | ^^^^^^ method not found in `kit::Sprite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/draw/tiles.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | Pivot::Px(0.5 * TILE_WIDTH as f32, 0.625 * TILE_HEIGHT as f32) [INFO] [stdout] | ^^^^^^^^^ ----------------------- -------------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_beige.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 9 | jump: sprite(ctx, id, 1, 1, 66, 93, Pivot::Px(33.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_beige.rs:10:42 [INFO] [stdout] | [INFO] [stdout] 10 | hurt: sprite(ctx, id, 1, 96, 67, 92, Pivot::Px(40.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_beige.rs:11:44 [INFO] [stdout] | [INFO] [stdout] 11 | front: sprite(ctx, id, 1, 190, 66, 92, Pivot::Px(32.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_beige.rs:12:43 [INFO] [stdout] | [INFO] [stdout] 12 | lean: sprite(ctx, id, 1, 284, 66, 92, Pivot::Px(29.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_beige.rs:13:43 [INFO] [stdout] | [INFO] [stdout] 13 | duck: sprite(ctx, id, 1, 378, 67, 72, Pivot::Px(28.0, 1.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_blue.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | jump: sprite(ctx, id, 1, 1, 66, 93, Pivot::Px(31.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_blue.rs:8:42 [INFO] [stdout] | [INFO] [stdout] 8 | hurt: sprite(ctx, id, 1, 96, 67, 92, Pivot::Px(41.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_blue.rs:9:44 [INFO] [stdout] | [INFO] [stdout] 9 | front: sprite(ctx, id, 1, 190, 66, 92, Pivot::Px(32.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_blue.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 10 | lean: sprite(ctx, id, 1, 284, 66, 92, Pivot::Px(29.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_blue.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | duck: sprite(ctx, id, 1, 377, 67, 72, Pivot::Px(28.0, 1.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_green.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | jump: sprite(ctx, id, 1, 1, 67, 93, Pivot::Px(29.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_green.rs:8:42 [INFO] [stdout] | [INFO] [stdout] 8 | hurt: sprite(ctx, id, 1, 96, 69, 92, Pivot::Px(46.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_green.rs:9:44 [INFO] [stdout] | [INFO] [stdout] 9 | front: sprite(ctx, id, 1, 190, 66, 92, Pivot::Px(32.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_green.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 10 | lean: sprite(ctx, id, 1, 284, 66, 92, Pivot::Px(27.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_green.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | duck: sprite(ctx, id, 1, 378, 69, 71, Pivot::Px(28.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_pink.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | jump: sprite(ctx, id, 1, 1, 67, 93, Pivot::Px(30.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_pink.rs:8:42 [INFO] [stdout] | [INFO] [stdout] 8 | hurt: sprite(ctx, id, 1, 96, 69, 93, Pivot::Px(45.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_pink.rs:9:44 [INFO] [stdout] | [INFO] [stdout] 9 | front: sprite(ctx, id, 1, 190, 66, 92, Pivot::Px(32.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_pink.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 10 | lean: sprite(ctx, id, 1, 284, 66, 92, Pivot::Px(28.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_pink.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | duck: sprite(ctx, id, 1, 378, 69, 71, Pivot::Px(28.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_yellow.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | hurt: sprite(ctx, id, 1, 1, 69, 81, Pivot::Px(43.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_yellow.rs:8:43 [INFO] [stdout] | [INFO] [stdout] 8 | jump: sprite(ctx, id, 1, 153, 67, 83, Pivot::Px(30.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_yellow.rs:9:44 [INFO] [stdout] | [INFO] [stdout] 9 | front: sprite(ctx, id, 1, 238, 66, 82, Pivot::Px(32.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_yellow.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 10 | lean: sprite(ctx, id, 1, 322, 66, 82, Pivot::Px(28.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_yellow.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | duck: sprite(ctx, id, 1, 84, 68, 67, Pivot::Px(27.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types.rs:160:3 [INFO] [stdout] | [INFO] [stdout] 160 | pub mouse_pos: Vec2, // mouse position in world space [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] = note: required by `std::default::Default::default` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `mouse` on type `InputCtx` [INFO] [stdout] --> src/update.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | let mouse_pos = ctx.input.mouse.pos; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `l_stick`, `r_stick`, `quit`, `dir_u`, `dir_d` ... and 7 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `mouse` on type `InputCtx` [INFO] [stdout] --> src/update/phase_excited.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | let click = ctx.input.mouse.left.down > 0; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `l_stick`, `r_stick`, `quit`, `dir_u`, `dir_d` ... and 7 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `mouse` on type `InputCtx` [INFO] [stdout] --> src/update/phase_excited.rs:8:52 [INFO] [stdout] | [INFO] [stdout] 8 | let click_pos = window_to_world(ctx, ctx.input.mouse.pos); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `l_stick`, `r_stick`, `quit`, `dir_u`, `dir_d` ... and 7 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `mouse` on type `InputCtx` [INFO] [stdout] --> src/update/phase_picking.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | let click = ctx.input.mouse.left.down > 0; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `l_stick`, `r_stick`, `quit`, `dir_u`, `dir_d` ... and 7 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 116 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0283, E0412, E0422, E0425, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `peg-game` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `flip_x` found for struct `kit::Sprite` in the current scope [INFO] [stdout] --> src/draw/pegs.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | sprite.flip_x() [INFO] [stdout] | ^^^^^^ method not found in `kit::Sprite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/draw/tiles.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | Pivot::Px(0.5 * TILE_WIDTH as f32, 0.625 * TILE_HEIGHT as f32) [INFO] [stdout] | ^^^^^^^^^ ----------------------- -------------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_beige.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 9 | jump: sprite(ctx, id, 1, 1, 66, 93, Pivot::Px(33.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_beige.rs:10:42 [INFO] [stdout] | [INFO] [stdout] 10 | hurt: sprite(ctx, id, 1, 96, 67, 92, Pivot::Px(40.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_beige.rs:11:44 [INFO] [stdout] | [INFO] [stdout] 11 | front: sprite(ctx, id, 1, 190, 66, 92, Pivot::Px(32.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_beige.rs:12:43 [INFO] [stdout] | [INFO] [stdout] 12 | lean: sprite(ctx, id, 1, 284, 66, 92, Pivot::Px(29.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_beige.rs:13:43 [INFO] [stdout] | [INFO] [stdout] 13 | duck: sprite(ctx, id, 1, 378, 67, 72, Pivot::Px(28.0, 1.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_blue.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | jump: sprite(ctx, id, 1, 1, 66, 93, Pivot::Px(31.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_blue.rs:8:42 [INFO] [stdout] | [INFO] [stdout] 8 | hurt: sprite(ctx, id, 1, 96, 67, 92, Pivot::Px(41.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_blue.rs:9:44 [INFO] [stdout] | [INFO] [stdout] 9 | front: sprite(ctx, id, 1, 190, 66, 92, Pivot::Px(32.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_blue.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 10 | lean: sprite(ctx, id, 1, 284, 66, 92, Pivot::Px(29.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_blue.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | duck: sprite(ctx, id, 1, 377, 67, 72, Pivot::Px(28.0, 1.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_green.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | jump: sprite(ctx, id, 1, 1, 67, 93, Pivot::Px(29.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_green.rs:8:42 [INFO] [stdout] | [INFO] [stdout] 8 | hurt: sprite(ctx, id, 1, 96, 69, 92, Pivot::Px(46.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_green.rs:9:44 [INFO] [stdout] | [INFO] [stdout] 9 | front: sprite(ctx, id, 1, 190, 66, 92, Pivot::Px(32.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_green.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 10 | lean: sprite(ctx, id, 1, 284, 66, 92, Pivot::Px(27.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_green.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | duck: sprite(ctx, id, 1, 378, 69, 71, Pivot::Px(28.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_pink.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | jump: sprite(ctx, id, 1, 1, 67, 93, Pivot::Px(30.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_pink.rs:8:42 [INFO] [stdout] | [INFO] [stdout] 8 | hurt: sprite(ctx, id, 1, 96, 69, 93, Pivot::Px(45.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_pink.rs:9:44 [INFO] [stdout] | [INFO] [stdout] 9 | front: sprite(ctx, id, 1, 190, 66, 92, Pivot::Px(32.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_pink.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 10 | lean: sprite(ctx, id, 1, 284, 66, 92, Pivot::Px(28.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_pink.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | duck: sprite(ctx, id, 1, 378, 69, 71, Pivot::Px(28.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_yellow.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | hurt: sprite(ctx, id, 1, 1, 69, 81, Pivot::Px(43.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_yellow.rs:8:43 [INFO] [stdout] | [INFO] [stdout] 8 | jump: sprite(ctx, id, 1, 153, 67, 83, Pivot::Px(30.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_yellow.rs:9:44 [INFO] [stdout] | [INFO] [stdout] 9 | front: sprite(ctx, id, 1, 238, 66, 82, Pivot::Px(32.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_yellow.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 10 | lean: sprite(ctx, id, 1, 322, 66, 82, Pivot::Px(28.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sprites/peg_yellow.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | duck: sprite(ctx, id, 1, 84, 68, 67, Pivot::Px(27.0, 0.0)), [INFO] [stdout] | ^^^^^^^^^ ---- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types.rs:160:3 [INFO] [stdout] | [INFO] [stdout] 160 | pub mouse_pos: Vec2, // mouse position in world space [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] = note: required by `std::default::Default::default` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `mouse` on type `InputCtx` [INFO] [stdout] --> src/update.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | let mouse_pos = ctx.input.mouse.pos; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `l_stick`, `r_stick`, `quit`, `dir_u`, `dir_d` ... and 7 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `mouse` on type `InputCtx` [INFO] [stdout] --> src/update/phase_excited.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | let click = ctx.input.mouse.left.down > 0; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `l_stick`, `r_stick`, `quit`, `dir_u`, `dir_d` ... and 7 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `mouse` on type `InputCtx` [INFO] [stdout] --> src/update/phase_excited.rs:8:52 [INFO] [stdout] | [INFO] [stdout] 8 | let click_pos = window_to_world(ctx, ctx.input.mouse.pos); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `l_stick`, `r_stick`, `quit`, `dir_u`, `dir_d` ... and 7 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `mouse` on type `InputCtx` [INFO] [stdout] --> src/update/phase_picking.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | let click = ctx.input.mouse.left.down > 0; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `l_stick`, `r_stick`, `quit`, `dir_u`, `dir_d` ... and 7 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 116 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0283, E0412, E0422, E0425, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1eed657c2ec9d07b1fcb72c3e65273a686f0644821cd811eb406ffba89c5f2c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1eed657c2ec9d07b1fcb72c3e65273a686f0644821cd811eb406ffba89c5f2c7", kill_on_drop: false }` [INFO] [stdout] 1eed657c2ec9d07b1fcb72c3e65273a686f0644821cd811eb406ffba89c5f2c7