[INFO] cloning repository https://github.com/VoxWave/dot-dodger [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VoxWave/dot-dodger" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVoxWave%2Fdot-dodger", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVoxWave%2Fdot-dodger'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 884321de53c2e4146ee58bdba50df9631b8c16c3 [INFO] checking VoxWave/dot-dodger/884321de53c2e4146ee58bdba50df9631b8c16c3 against master#040e2f8b9ff2d76fbe2146d6003e297ed4532088 for pr-143619 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVoxWave%2Fdot-dodger" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/VoxWave/dot-dodger [INFO] finished tweaking git repo https://github.com/VoxWave/dot-dodger [INFO] tweaked toml for git repo https://github.com/VoxWave/dot-dodger written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/VoxWave/dot-dodger on toolchain 040e2f8b9ff2d76fbe2146d6003e297ed4532088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/VoxWave/dot-dodger already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/WaDelma/kolli-desu` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded metrohash v1.0.6 [INFO] [stderr] Downloaded ordered-float v2.0.1 [INFO] [stderr] Downloaded calloop v0.10.2 [INFO] [stderr] Downloaded skeptic v0.13.5 [INFO] [stderr] Downloaded tynm v0.1.10 [INFO] [stderr] Downloaded alga v0.5.4 [INFO] [stderr] Downloaded nom v6.1.0 [INFO] [stderr] Downloaded modulator v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 193ba11b96d4aaac264e36807f59d12c4e3ffa422b65b3255e77442beb1d116c [INFO] running `Command { std: "docker" "start" "-a" "193ba11b96d4aaac264e36807f59d12c4e3ffa422b65b3255e77442beb1d116c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "193ba11b96d4aaac264e36807f59d12c4e3ffa422b65b3255e77442beb1d116c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "193ba11b96d4aaac264e36807f59d12c4e3ffa422b65b3255e77442beb1d116c", kill_on_drop: false }` [INFO] [stdout] 193ba11b96d4aaac264e36807f59d12c4e3ffa422b65b3255e77442beb1d116c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dba4f99997acaf113f8e87a7dd480026d29fb52fd4aa0c1872a9f988eb71a6fb [INFO] running `Command { std: "docker" "start" "-a" "dba4f99997acaf113f8e87a7dd480026d29fb52fd4aa0c1872a9f988eb71a6fb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking libloading v0.7.2 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling nom v6.1.0 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking ttf-parser v0.24.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling pulldown-cmark v0.2.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling syn v2.0.69 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking euclid v0.22.6 [INFO] [stderr] Checking spirv v0.2.0+1.5.4 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Checking gpu-alloc-types v0.2.0 [INFO] [stderr] Checking lyon_geom v1.0.5 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling rand_core v0.6.1 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Checking owned_ttf_parser v0.24.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking ab_glyph v0.2.28 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking lyon_path v1.0.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Checking gpu-descriptor v0.2.3 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking gpu-alloc v0.5.4 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling zstd-sys v2.0.12+zstd.1.5.6 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking wgpu-types v0.16.1 [INFO] [stderr] Checking libloading v0.8.4 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking glow v0.12.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking inotify v0.10.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking alsa v0.9.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking approx v0.5.0 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Compiling gilrs v0.10.8 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking float_next_after v1.0.0 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking mint v0.5.9 [INFO] [stderr] Checking uuid v1.9.1 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.1.3 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking alga v0.8.2 [INFO] [stderr] Checking twox-hash v1.6.0 [INFO] [stderr] Checking glyph_brush_layout v0.2.1 [INFO] [stderr] Checking tynm v0.1.10 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking gilrs-core v0.5.13 [INFO] [stderr] Checking glyph_brush_draw_cache v0.1.4 [INFO] [stderr] Checking lyon_tessellation v1.0.15 [INFO] [stderr] Compiling bytemuck_derive v1.7.0 [INFO] [stderr] Checking macro_rules_attribute v0.1.3 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking lyon_algorithms v1.0.4 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking matrixmultiply v0.2.4 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking ordered-float v2.0.1 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking claxon v0.4.3 [INFO] [stderr] Checking atomic_refcell v0.1.13 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking alga v0.5.4 [INFO] [stderr] Checking lyon v1.0.1 [INFO] [stderr] Checking shred v0.15.0 [INFO] [stderr] Checking glyph_brush v0.7.2 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking clap_builder v4.5.8 [INFO] [stderr] Checking glam v0.24.2 [INFO] [stderr] Compiling smart-default v0.7.1 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking hibitset v0.6.4 [INFO] [stderr] Checking nalgebra v0.17.3 [INFO] [stderr] Checking ordered-float v3.9.2 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking tuple_utils v0.4.0 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking mopa v0.2.2 [INFO] [stderr] Checking metrohash v1.0.6 [INFO] [stderr] Checking shrev v1.1.1 [INFO] [stderr] Checking bytemuck v1.16.1 [INFO] [stderr] Checking symphonia-core v0.5.4 [INFO] [stderr] Checking tiny-skia-path v0.8.4 [INFO] [stderr] Checking safe_arch v0.7.2 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling nougat-proc_macros v0.2.4 [INFO] [stderr] Checking wide v0.7.25 [INFO] [stderr] Compiling crevice-derive v0.10.0 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking tiny-skia v0.8.4 [INFO] [stderr] Checking clap v4.5.8 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Checking modulator v0.4.0 [INFO] [stderr] Checking nougat v0.2.4 [INFO] [stderr] Checking crevice v0.13.0 [INFO] [stderr] Checking symphonia-metadata v0.5.4 [INFO] [stderr] Checking specs v0.20.0 [INFO] [stderr] Checking symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Checking simba v0.9.0 [INFO] [stderr] Checking symphonia v0.5.4 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking rodio v0.17.3 [INFO] [stderr] Checking naga v0.12.3 [INFO] [stderr] Checking calloop v0.10.2 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling cargo_metadata v0.10.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Compiling skeptic v0.13.5 [INFO] [stderr] Compiling ggez v0.9.3 [INFO] [stderr] Checking wgpu-hal v0.16.2 [INFO] [stderr] Checking kolli-desu v0.1.0 (https://github.com/WaDelma/kolli-desu#d3a5efad) [INFO] [stderr] Checking nalgebra v0.33.0 [INFO] [stderr] Checking wgpu-core v0.16.1 [INFO] [stderr] Checking wgpu v0.16.3 [INFO] [stderr] Checking sctk-adwaita v0.5.4 [INFO] [stderr] Checking dot-dodger v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `ggez::graphics::spritebatch` [INFO] [stdout] --> src/rendering.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | graphics::{draw, spritebatch::SpriteBatch, Canvas, DrawParam, Image}, [INFO] [stdout] | ^^^^^^^^^^^ could not find `spritebatch` in `graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ggez::graphics::spritebatch` [INFO] [stdout] --> src/rendering.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | graphics::{draw, spritebatch::SpriteBatch, Canvas, DrawParam, Image}, [INFO] [stdout] | ^^^^^^^^^^^ could not find `spritebatch` in `graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `clear` in module `graphics` [INFO] [stdout] --> src/game/state/main_menu.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | graphics::clear(ctx, graphics::Color::BLACK); [INFO] [stdout] | ^^^^^ not found in `graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `present` in module `graphics` [INFO] [stdout] --> src/game/state/main_menu.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | graphics::present(ctx) [INFO] [stdout] | ^^^^^^^ not found in `graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `quit` in module `ggez::event` [INFO] [stdout] --> src/game.rs:43:34 [INFO] [stdout] | [INFO] [stdout] 43 | ggez::event::quit(ctx); [INFO] [stdout] | ^^^^ not found in `ggez::event` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use ggez::context::quit; [INFO] [stdout] | [INFO] [stdout] help: if you import `quit`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 43 - ggez::event::quit(ctx); [INFO] [stdout] 43 + quit(ctx); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `quit` in module `ggez::event` [INFO] [stdout] --> src/game.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | ggez::event::quit(ctx); [INFO] [stdout] | ^^^^ not found in `ggez::event` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use ggez::context::quit; [INFO] [stdout] | [INFO] [stdout] help: if you import `quit`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 47 - ggez::event::quit(ctx); [INFO] [stdout] 47 + quit(ctx); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `quit` in module `ggez::event` [INFO] [stdout] --> src/game.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | ggez::event::quit(ctx); [INFO] [stdout] | ^^^^ not found in `ggez::event` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use ggez::context::quit; [INFO] [stdout] | [INFO] [stdout] help: if you import `quit`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 66 - ggez::event::quit(ctx); [INFO] [stdout] 66 + quit(ctx); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ctx` in this scope [INFO] [stdout] --> src/rendering.rs:61:46 [INFO] [stdout] | [INFO] [stdout] 61 | ... draw(ctx, sprite, DrawParam::default().offset([0.5, 0.5]).scale([*scale, *scale]).dest([x, y])).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ctx` in this scope [INFO] [stdout] --> src/rendering.rs:64:46 [INFO] [stdout] | [INFO] [stdout] 64 | ... None => draw(ctx, sprite, DrawParam::default().offset([0.5, 0.5]).scale([*scale, *scale]).dest([x, y])).unwrap(), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ctx` in this scope [INFO] [stdout] --> src/rendering.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | draw(ctx, &bullet_batch, DrawParam::default()).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `clear` in module `graphics` [INFO] [stdout] --> src/game/state/main_menu.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | graphics::clear(ctx, graphics::Color::BLACK); [INFO] [stdout] | ^^^^^ not found in `graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `present` in module `graphics` [INFO] [stdout] --> src/game/state/main_menu.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | graphics::present(ctx) [INFO] [stdout] | ^^^^^^^ not found in `graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `quit` in module `ggez::event` [INFO] [stdout] --> src/game.rs:43:34 [INFO] [stdout] | [INFO] [stdout] 43 | ggez::event::quit(ctx); [INFO] [stdout] | ^^^^ not found in `ggez::event` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use ggez::context::quit; [INFO] [stdout] | [INFO] [stdout] help: if you import `quit`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 43 - ggez::event::quit(ctx); [INFO] [stdout] 43 + quit(ctx); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `quit` in module `ggez::event` [INFO] [stdout] --> src/game.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | ggez::event::quit(ctx); [INFO] [stdout] | ^^^^ not found in `ggez::event` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use ggez::context::quit; [INFO] [stdout] | [INFO] [stdout] help: if you import `quit`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 47 - ggez::event::quit(ctx); [INFO] [stdout] 47 + quit(ctx); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `quit` in module `ggez::event` [INFO] [stdout] --> src/game.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | ggez::event::quit(ctx); [INFO] [stdout] | ^^^^ not found in `ggez::event` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use ggez::context::quit; [INFO] [stdout] | [INFO] [stdout] help: if you import `quit`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 66 - ggez::event::quit(ctx); [INFO] [stdout] 66 + quit(ctx); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ctx` in this scope [INFO] [stdout] --> src/rendering.rs:61:46 [INFO] [stdout] | [INFO] [stdout] 61 | ... draw(ctx, sprite, DrawParam::default().offset([0.5, 0.5]).scale([*scale, *scale]).dest([x, y])).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ctx` in this scope [INFO] [stdout] --> src/rendering.rs:64:46 [INFO] [stdout] | [INFO] [stdout] 64 | ... None => draw(ctx, sprite, DrawParam::default().offset([0.5, 0.5]).scale([*scale, *scale]).dest([x, y])).unwrap(), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ctx` in this scope [INFO] [stdout] --> src/rendering.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | draw(ctx, &bullet_batch, DrawParam::default()).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: enum `KeyCode` is private [INFO] [stdout] --> src/game/state/main_menu.rs:1:75 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::{Context, GameResult, graphics::{self, DrawParam, Text}, event::KeyCode}; [INFO] [stdout] | ^^^^^^^ private enum [INFO] [stdout] | [INFO] [stdout] note: the enum `KeyCode` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ggez-0.9.3/src/event.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | use crate::input::keyboard::{KeyCode, KeyInput, KeyMods}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: import `KeyCode` directly [INFO] [stdout] | [INFO] [stdout] 1 - use ggez::{Context, GameResult, graphics::{self, DrawParam, Text}, event::KeyCode}; [INFO] [stdout] 1 + use ggez::{Context, GameResult, graphics::{self, DrawParam, Text}, winit::event::VirtualKeyCode}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: enum `KeyCode` is private [INFO] [stdout] --> src/input.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | event::{self, Button, KeyCode}, [INFO] [stdout] | ^^^^^^^ private enum [INFO] [stdout] | [INFO] [stdout] note: the enum `KeyCode` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ggez-0.9.3/src/event.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | use crate::input::keyboard::{KeyCode, KeyInput, KeyMods}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: import `KeyCode` directly [INFO] [stdout] | [INFO] [stdout] 2 | event::{self, Button, winit::event::VirtualKeyCode}, [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Join` and `Write` [INFO] [stdout] --> src/bullet.rs:4:94 [INFO] [stdout] | [INFO] [stdout] 4 | Builder, Component, Entities, Entity, LazyUpdate, NullStorage, Read, ReadExpect, System, Write, ReadStorage, ParJoin, Join, [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::Into` [INFO] [stdout] --> src/collision.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::Into; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReadExpect` [INFO] [stdout] --> src/collision.rs:8:63 [INFO] [stdout] | [INFO] [stdout] 8 | use specs::{Component, DenseVecStorage, ParJoin, ReadStorage, ReadExpect, WriteStorage, System, Join}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `downcast_vector` [INFO] [stdout] --> src/collision.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::utils::{downcast_point, downcast_vector}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Tick` [INFO] [stdout] --> src/collision.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::Tick; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReadStorage` [INFO] [stdout] --> src/enemy.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use specs::{ReadStorage, System, ReadExpect, Entities, Builder, Entity, LazyUpdate, Read}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NormalBullet` and `collision::Hitbox` [INFO] [stdout] --> src/enemy.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{collision::Hitbox, physics::Position, bullet::{NormalBullet, SpiralSprayer}, Tick, rendering::Visual}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/game/state/ingame.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | use ggez::{graphics::{self, Canvas, Color}, Context, GameResult}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SoundMessage` [INFO] [stdout] --> src/game/state/ingame.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | sound::{SoundChannel, SoundMessage, SoundPlayer}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::mint::Point2` [INFO] [stdout] --> src/rendering.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use ggez::mint::Point2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: enum `KeyCode` is private [INFO] [stdout] --> src/game/state/main_menu.rs:1:75 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::{Context, GameResult, graphics::{self, DrawParam, Text}, event::KeyCode}; [INFO] [stdout] | ^^^^^^^ private enum [INFO] [stdout] | [INFO] [stdout] note: the enum `KeyCode` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ggez-0.9.3/src/event.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | use crate::input::keyboard::{KeyCode, KeyInput, KeyMods}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: import `KeyCode` directly [INFO] [stdout] | [INFO] [stdout] 1 - use ggez::{Context, GameResult, graphics::{self, DrawParam, Text}, event::KeyCode}; [INFO] [stdout] 1 + use ggez::{Context, GameResult, graphics::{self, DrawParam, Text}, winit::event::VirtualKeyCode}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: enum `KeyCode` is private [INFO] [stdout] --> src/input.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | event::{self, Button, KeyCode}, [INFO] [stdout] | ^^^^^^^ private enum [INFO] [stdout] | [INFO] [stdout] note: the enum `KeyCode` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ggez-0.9.3/src/event.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | use crate::input::keyboard::{KeyCode, KeyInput, KeyMods}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: import `KeyCode` directly [INFO] [stdout] | [INFO] [stdout] 2 | event::{self, Button, winit::event::VirtualKeyCode}, [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Join` and `Write` [INFO] [stdout] --> src/bullet.rs:4:94 [INFO] [stdout] | [INFO] [stdout] 4 | Builder, Component, Entities, Entity, LazyUpdate, NullStorage, Read, ReadExpect, System, Write, ReadStorage, ParJoin, Join, [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::Into` [INFO] [stdout] --> src/collision.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::Into; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReadExpect` [INFO] [stdout] --> src/collision.rs:8:63 [INFO] [stdout] | [INFO] [stdout] 8 | use specs::{Component, DenseVecStorage, ParJoin, ReadStorage, ReadExpect, WriteStorage, System, Join}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `downcast_vector` [INFO] [stdout] --> src/collision.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::utils::{downcast_point, downcast_vector}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Tick` [INFO] [stdout] --> src/collision.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::Tick; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReadStorage` [INFO] [stdout] --> src/enemy.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use specs::{ReadStorage, System, ReadExpect, Entities, Builder, Entity, LazyUpdate, Read}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NormalBullet` and `collision::Hitbox` [INFO] [stdout] --> src/enemy.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{collision::Hitbox, physics::Position, bullet::{NormalBullet, SpiralSprayer}, Tick, rendering::Visual}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/game/state/ingame.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | use ggez::{graphics::{self, Canvas, Color}, Context, GameResult}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SoundMessage` [INFO] [stdout] --> src/game/state/ingame.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | sound::{SoundChannel, SoundMessage, SoundPlayer}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::mint::Point2` [INFO] [stdout] --> src/rendering.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use ggez::mint::Point2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ggez::graphics::draw`: Use `drawable.draw` or `canvas.draw` instead. [INFO] [stdout] --> src/game/state/main_menu.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | graphics::draw(ctx, &self.text, DrawParam::default()).unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ggez::graphics::draw`: Use `drawable.draw` or `canvas.draw` instead. [INFO] [stdout] --> src/rendering.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | graphics::{draw, spritebatch::SpriteBatch, Canvas, DrawParam, Image}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ggez::graphics::draw`: Use `drawable.draw` or `canvas.draw` instead. [INFO] [stdout] --> src/rendering.rs:61:41 [INFO] [stdout] | [INFO] [stdout] 61 | ... draw(ctx, sprite, DrawParam::default().offset([0.5, 0.5]).scale([*scale, *scale]).dest([x, y])).unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ggez::graphics::draw`: Use `drawable.draw` or `canvas.draw` instead. [INFO] [stdout] --> src/rendering.rs:64:41 [INFO] [stdout] | [INFO] [stdout] 64 | ... None => draw(ctx, sprite, DrawParam::default().offset([0.5, 0.5]).scale([*scale, *scale]).dest([x, y])).unwrap(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ggez::graphics::draw`: Use `drawable.draw` or `canvas.draw` instead. [INFO] [stdout] --> src/rendering.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | draw(ctx, &bullet_batch, DrawParam::default()).unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ggez::graphics::draw`: Use `drawable.draw` or `canvas.draw` instead. [INFO] [stdout] --> src/game/state/main_menu.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | graphics::draw(ctx, &self.text, DrawParam::default()).unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ggez::graphics::draw`: Use `drawable.draw` or `canvas.draw` instead. [INFO] [stdout] --> src/rendering.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | graphics::{draw, spritebatch::SpriteBatch, Canvas, DrawParam, Image}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ggez::graphics::draw`: Use `drawable.draw` or `canvas.draw` instead. [INFO] [stdout] --> src/rendering.rs:61:41 [INFO] [stdout] | [INFO] [stdout] 61 | ... draw(ctx, sprite, DrawParam::default().offset([0.5, 0.5]).scale([*scale, *scale]).dest([x, y])).unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ggez::graphics::draw`: Use `drawable.draw` or `canvas.draw` instead. [INFO] [stdout] --> src/rendering.rs:64:41 [INFO] [stdout] | [INFO] [stdout] 64 | ... None => draw(ctx, sprite, DrawParam::default().offset([0.5, 0.5]).scale([*scale, *scale]).dest([x, y])).unwrap(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ggez::graphics::draw`: Use `drawable.draw` or `canvas.draw` instead. [INFO] [stdout] --> src/rendering.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | draw(ctx, &bullet_batch, DrawParam::default()).unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `start` has an incompatible type for trait [INFO] [stdout] --> src/collision.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | fn start(&self) -> Vector2 { [INFO] [stdout] | ^^^^^^^^^^^^ expected `Matrix`, found `Matrix, Const<1>, ...>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&Hitbox) -> nalgebra::base::matrix::Matrix>` [INFO] [stdout] found signature `fn(&Hitbox) -> nalgebra::Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 24 - fn start(&self) -> Vector2 { [INFO] [stdout] 24 + fn start(&self) -> nalgebra::base::matrix::Matrix> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `farthest_in_dir` has an incompatible type for trait [INFO] [stdout] --> src/collision.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | fn farthest_in_dir(&self, dir: Vector2) -> Vector2 { [INFO] [stdout] | ^^^^^^^^^^^^ expected `Matrix`, found `Matrix, Const<1>, ...>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&Hitbox, nalgebra::base::matrix::Matrix>) -> nalgebra::base::matrix::Matrix>` [INFO] [stdout] found signature `fn(&Hitbox, nalgebra::Matrix, Const<1>, ArrayStorage>) -> nalgebra::Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 33 - fn farthest_in_dir(&self, dir: Vector2) -> Vector2 { [INFO] [stdout] 33 + fn farthest_in_dir(&self, dir: nalgebra::base::matrix::Matrix>) -> Vector2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `start` has an incompatible type for trait [INFO] [stdout] --> src/collision.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | fn start(&self) -> Vector2 { [INFO] [stdout] | ^^^^^^^^^^^^ expected `Matrix`, found `Matrix, Const<1>, ...>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&Hitbox) -> nalgebra::base::matrix::Matrix>` [INFO] [stdout] found signature `fn(&Hitbox) -> nalgebra::Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 24 - fn start(&self) -> Vector2 { [INFO] [stdout] 24 + fn start(&self) -> nalgebra::base::matrix::Matrix> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `farthest_in_dir` has an incompatible type for trait [INFO] [stdout] --> src/collision.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | fn farthest_in_dir(&self, dir: Vector2) -> Vector2 { [INFO] [stdout] | ^^^^^^^^^^^^ expected `Matrix`, found `Matrix, Const<1>, ...>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&Hitbox, nalgebra::base::matrix::Matrix>) -> nalgebra::base::matrix::Matrix>` [INFO] [stdout] found signature `fn(&Hitbox, nalgebra::Matrix, Const<1>, ArrayStorage>) -> nalgebra::Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 33 - fn farthest_in_dir(&self, dir: Vector2) -> Vector2 { [INFO] [stdout] 33 + fn farthest_in_dir(&self, dir: nalgebra::base::matrix::Matrix>) -> Vector2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `key_down_event` has 5 parameters but the declaration in trait `key_down_event` has 4 [INFO] [stdout] --> src/game.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | / &mut self, [INFO] [stdout] 60 | | ctx: &mut Context, [INFO] [stdout] 61 | | keycode: KeyCode, [INFO] [stdout] 62 | | _keymods: KeyMods, [INFO] [stdout] 63 | | repeat: bool, [INFO] [stdout] | |____________________^ expected 4 parameters, found 5 [INFO] [stdout] | [INFO] [stdout] = note: `key_down_event` from trait: `fn(&mut Self, &mut ggez::Context, KeyInput, bool) -> Result<(), E>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `key_up_event` has 4 parameters but the declaration in trait `key_up_event` has 3 [INFO] [stdout] --> src/game.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | fn key_up_event(&mut self, ctx: &mut Context, keycode: KeyCode, _keymods: KeyMods) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters, found 4 [INFO] [stdout] | [INFO] [stdout] = note: `key_up_event` from trait: `fn(&mut Self, &mut ggez::Context, KeyInput) -> Result<(), E>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `key_down_event` has 5 parameters but the declaration in trait `key_down_event` has 4 [INFO] [stdout] --> src/game.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | / &mut self, [INFO] [stdout] 60 | | ctx: &mut Context, [INFO] [stdout] 61 | | keycode: KeyCode, [INFO] [stdout] 62 | | _keymods: KeyMods, [INFO] [stdout] 63 | | repeat: bool, [INFO] [stdout] | |____________________^ expected 4 parameters, found 5 [INFO] [stdout] | [INFO] [stdout] = note: `key_down_event` from trait: `fn(&mut Self, &mut ggez::Context, KeyInput, bool) -> Result<(), E>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `key_up_event` has 4 parameters but the declaration in trait `key_up_event` has 3 [INFO] [stdout] --> src/game.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | fn key_up_event(&mut self, ctx: &mut Context, keycode: KeyCode, _keymods: KeyMods) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters, found 4 [INFO] [stdout] | [INFO] [stdout] = note: `key_up_event` from trait: `fn(&mut Self, &mut ggez::Context, KeyInput) -> Result<(), E>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bullet.rs:54:42 [INFO] [stdout] | [INFO] [stdout] 54 | .with(Hitbox::Circle(Circle::new(Point2::new(0., 0.), rad as f32))) [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^ expected `Point`, found `OPoint<{float}, Const<2>>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nalgebra::geometry::point::Point` [INFO] [stdout] found struct `OPoint<{float}, Const<2>>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kolli-desu-740cbdde33d0e12c/d3a5efa/src/shapes.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn new(center: Point, radius: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bullet.rs:54:42 [INFO] [stdout] | [INFO] [stdout] 54 | .with(Hitbox::Circle(Circle::new(Point2::new(0., 0.), rad as f32))) [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^ expected `Point`, found `OPoint<{float}, Const<2>>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nalgebra::geometry::point::Point` [INFO] [stdout] found struct `OPoint<{float}, Const<2>>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kolli-desu-740cbdde33d0e12c/d3a5efa/src/shapes.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn new(center: Point, radius: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/collision.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 24 | fn start(&self) -> Vector2 { [INFO] [stdout] | ------------ expected `nalgebra::Matrix, Const<1>, ArrayStorage>` because of return type [INFO] [stdout] ... [INFO] [stdout] 27 | Circle(c) => c.start(), [INFO] [stdout] | ^^^^^^^^^ expected `Matrix, Const<1>, ...>`, found `Matrix` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `nalgebra` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nalgebra-0.33.0/src/base/matrix.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 174 | pub struct Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `nalgebra::Matrix` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nalgebra-0.17.3/src/base/matrix.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `nalgebra::base::matrix::Matrix` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use nalgebra as na; [INFO] [stdout] | -------- one version of crate `nalgebra` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/bullet.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use kolli_desu::shapes::Circle; [INFO] [stdout] | ---------- one version of crate `nalgebra` used here, as a dependency of crate `kolli_desu` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/dot_dodger-f04d3f5ad9eb8cac.long-type-4705399120190323880.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/collision.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 24 | fn start(&self) -> Vector2 { [INFO] [stdout] | ------------ expected `nalgebra::Matrix, Const<1>, ArrayStorage>` because of return type [INFO] [stdout] ... [INFO] [stdout] 27 | Circle(c) => c.start(), [INFO] [stdout] | ^^^^^^^^^ expected `Matrix, Const<1>, ...>`, found `Matrix` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `nalgebra` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nalgebra-0.33.0/src/base/matrix.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 174 | pub struct Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `nalgebra::Matrix` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nalgebra-0.17.3/src/base/matrix.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `nalgebra::base::matrix::Matrix` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use nalgebra as na; [INFO] [stdout] | -------- one version of crate `nalgebra` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/bullet.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use kolli_desu::shapes::Circle; [INFO] [stdout] | ---------- one version of crate `nalgebra` used here, as a dependency of crate `kolli_desu` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/dot_dodger-79a909e4d375e760.long-type-4628150143792371438.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `start` exists for reference `&OPoint>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/collision.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | Point(p) => p.start(), [INFO] [stdout] | ^^^^^ method cannot be called on `&OPoint>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nalgebra-0.33.0/src/geometry/point.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct OPoint [INFO] [stdout] | ---------------------------------------- doesn't satisfy `OPoint>: Shape` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `OPoint>: Shape` [INFO] [stdout] which is required by `&OPoint>: Shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `start` exists for reference `&OPoint>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/collision.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | Point(p) => p.start(), [INFO] [stdout] | ^^^^^ method cannot be called on `&OPoint>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nalgebra-0.33.0/src/geometry/point.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct OPoint [INFO] [stdout] | ---------------------------------------- doesn't satisfy `OPoint>: Shape` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `OPoint>: Shape` [INFO] [stdout] which is required by `&OPoint>: Shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/collision.rs:36:44 [INFO] [stdout] | [INFO] [stdout] 36 | Circle(c) => c.farthest_in_dir(dir), [INFO] [stdout] | --------------- ^^^ expected `Matrix`, found `Matrix, Const<1>, ...>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `nalgebra` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nalgebra-0.33.0/src/base/matrix.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 174 | pub struct Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `nalgebra::Matrix` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nalgebra-0.17.3/src/base/matrix.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `nalgebra::base::matrix::Matrix` [INFO] [stdout] | [INFO] [stdout] ::: src/bullet.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use kolli_desu::shapes::Circle; [INFO] [stdout] | ---------- one version of crate `nalgebra` used here, as a dependency of crate `kolli_desu` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use nalgebra as na; [INFO] [stdout] | -------- one version of crate `nalgebra` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kolli-desu-740cbdde33d0e12c/d3a5efa/src/shapes.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | fn farthest_in_dir(&self, dir: Vector) -> Vector; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/dot_dodger-79a909e4d375e760.long-type-4628150143792371438.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/collision.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 33 | fn farthest_in_dir(&self, dir: Vector2) -> Vector2 { [INFO] [stdout] | ------------ expected `nalgebra::Matrix, Const<1>, ArrayStorage>` because of return type [INFO] [stdout] ... [INFO] [stdout] 36 | Circle(c) => c.farthest_in_dir(dir), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected `Matrix, Const<1>, ...>`, found `Matrix` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `nalgebra` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nalgebra-0.33.0/src/base/matrix.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 174 | pub struct Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `nalgebra::Matrix` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nalgebra-0.17.3/src/base/matrix.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `nalgebra::base::matrix::Matrix` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use nalgebra as na; [INFO] [stdout] | -------- one version of crate `nalgebra` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/bullet.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use kolli_desu::shapes::Circle; [INFO] [stdout] | ---------- one version of crate `nalgebra` used here, as a dependency of crate `kolli_desu` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/dot_dodger-79a909e4d375e760.long-type-4628150143792371438.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/collision.rs:36:44 [INFO] [stdout] | [INFO] [stdout] 36 | Circle(c) => c.farthest_in_dir(dir), [INFO] [stdout] | --------------- ^^^ expected `Matrix`, found `Matrix, Const<1>, ...>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `nalgebra` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nalgebra-0.33.0/src/base/matrix.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 174 | pub struct Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `nalgebra::Matrix` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nalgebra-0.17.3/src/base/matrix.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `nalgebra::base::matrix::Matrix` [INFO] [stdout] | [INFO] [stdout] ::: src/bullet.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use kolli_desu::shapes::Circle; [INFO] [stdout] | ---------- one version of crate `nalgebra` used here, as a dependency of crate `kolli_desu` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use nalgebra as na; [INFO] [stdout] | -------- one version of crate `nalgebra` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kolli-desu-740cbdde33d0e12c/d3a5efa/src/shapes.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | fn farthest_in_dir(&self, dir: Vector) -> Vector; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/dot_dodger-f04d3f5ad9eb8cac.long-type-4705399120190323880.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/collision.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 33 | fn farthest_in_dir(&self, dir: Vector2) -> Vector2 { [INFO] [stdout] | ------------ expected `nalgebra::Matrix, Const<1>, ArrayStorage>` because of return type [INFO] [stdout] ... [INFO] [stdout] 36 | Circle(c) => c.farthest_in_dir(dir), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected `Matrix, Const<1>, ...>`, found `Matrix` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `nalgebra` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nalgebra-0.33.0/src/base/matrix.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 174 | pub struct Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `nalgebra::Matrix` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nalgebra-0.17.3/src/base/matrix.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `nalgebra::base::matrix::Matrix` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use nalgebra as na; [INFO] [stdout] | -------- one version of crate `nalgebra` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/bullet.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use kolli_desu::shapes::Circle; [INFO] [stdout] | ---------- one version of crate `nalgebra` used here, as a dependency of crate `kolli_desu` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/dot_dodger-f04d3f5ad9eb8cac.long-type-4705399120190323880.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/collision.rs:37:53 [INFO] [stdout] | [INFO] [stdout] 37 | ConvexPolygon(cp) => cp.farthest_in_dir(dir), [INFO] [stdout] | --------------- ^^^ expected `Matrix`, found `Matrix, Const<1>, ...>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `nalgebra` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nalgebra-0.33.0/src/base/matrix.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 174 | pub struct Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `nalgebra::Matrix` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nalgebra-0.17.3/src/base/matrix.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `nalgebra::base::matrix::Matrix` [INFO] [stdout] | [INFO] [stdout] ::: src/bullet.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use kolli_desu::shapes::Circle; [INFO] [stdout] | ---------- one version of crate `nalgebra` used here, as a dependency of crate `kolli_desu` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use nalgebra as na; [INFO] [stdout] | -------- one version of crate `nalgebra` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kolli-desu-740cbdde33d0e12c/d3a5efa/src/shapes.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | fn farthest_in_dir(&self, dir: Vector) -> Vector; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/dot_dodger-79a909e4d375e760.long-type-4628150143792371438.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/collision.rs:37:53 [INFO] [stdout] | [INFO] [stdout] 37 | ConvexPolygon(cp) => cp.farthest_in_dir(dir), [INFO] [stdout] | --------------- ^^^ expected `Matrix`, found `Matrix, Const<1>, ...>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `nalgebra` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nalgebra-0.33.0/src/base/matrix.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 174 | pub struct Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `nalgebra::Matrix` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nalgebra-0.17.3/src/base/matrix.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `nalgebra::base::matrix::Matrix` [INFO] [stdout] | [INFO] [stdout] ::: src/bullet.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use kolli_desu::shapes::Circle; [INFO] [stdout] | ---------- one version of crate `nalgebra` used here, as a dependency of crate `kolli_desu` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use nalgebra as na; [INFO] [stdout] | -------- one version of crate `nalgebra` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/kolli-desu-740cbdde33d0e12c/d3a5efa/src/shapes.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | fn farthest_in_dir(&self, dir: Vector) -> Vector; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/dot_dodger-f04d3f5ad9eb8cac.long-type-4705399120190323880.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `farthest_in_dir` exists for reference `&OPoint>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/collision.rs:38:27 [INFO] [stdout] | [INFO] [stdout] 38 | Point(p) => p.farthest_in_dir(dir), [INFO] [stdout] | ^^^^^^^^^^^^^^^ method cannot be called on `&OPoint>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nalgebra-0.33.0/src/geometry/point.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct OPoint [INFO] [stdout] | ---------------------------------------- doesn't satisfy `OPoint>: Shape` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `OPoint>: Shape` [INFO] [stdout] which is required by `&OPoint>: Shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `farthest_in_dir` exists for reference `&OPoint>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/collision.rs:38:27 [INFO] [stdout] | [INFO] [stdout] 38 | Point(p) => p.farthest_in_dir(dir), [INFO] [stdout] | ^^^^^^^^^^^^^^^ method cannot be called on `&OPoint>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nalgebra-0.33.0/src/geometry/point.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct OPoint [INFO] [stdout] | ---------------------------------------- doesn't satisfy `OPoint>: Shape` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `OPoint>: Shape` [INFO] [stdout] which is required by `&OPoint>: Shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/collision.rs:66:39 [INFO] [stdout] | [INFO] [stdout] 66 | ... (*hitbox, downcast_point(position.0)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Point`, found `OPoint>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nalgebra::geometry::point::Point` [INFO] [stdout] found struct `OPoint>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/collision.rs:66:39 [INFO] [stdout] | [INFO] [stdout] 66 | ... (*hitbox, downcast_point(position.0)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Point`, found `OPoint>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nalgebra::geometry::point::Point` [INFO] [stdout] found struct `OPoint>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/collision.rs:67:40 [INFO] [stdout] | [INFO] [stdout] 67 | ... (p_hitbox, downcast_point(p_pos.0)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `Point`, found `OPoint>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nalgebra::geometry::point::Point` [INFO] [stdout] found struct `OPoint>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/collision.rs:67:40 [INFO] [stdout] | [INFO] [stdout] 67 | ... (p_hitbox, downcast_point(p_pos.0)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `Point`, found `OPoint>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nalgebra::geometry::point::Point` [INFO] [stdout] found struct `OPoint>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/game/state/ingame.rs:118:29 [INFO] [stdout] | [INFO] [stdout] 118 | renderer.render(ctx, s); [INFO] [stdout] | ------ ^^^ expected `&mut Canvas`, found `&mut Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Canvas` [INFO] [stdout] found mutable reference `&mut ggez::Context` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/rendering.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn render( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 39 | &self, [INFO] [stdout] 40 | canvas: &mut Canvas, [INFO] [stdout] | ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/game/state/main_menu.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | graphics::draw(ctx, &self.text, DrawParam::default()).unwrap(); [INFO] [stdout] | -------------- ^^^ expected `&mut Canvas`, found `&mut Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Canvas` [INFO] [stdout] found mutable reference `&mut ggez::Context` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ggez-0.9.3/src/graphics/mod.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn draw(canvas: &mut Canvas, drawable: &impl Drawable, param: impl Into) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/game/state/ingame.rs:118:29 [INFO] [stdout] | [INFO] [stdout] 118 | renderer.render(ctx, s); [INFO] [stdout] | ------ ^^^ expected `&mut Canvas`, found `&mut Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Canvas` [INFO] [stdout] found mutable reference `&mut ggez::Context` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/rendering.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn render( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 39 | &self, [INFO] [stdout] 40 | canvas: &mut Canvas, [INFO] [stdout] | ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> src/game/state/main_menu.rs:34:63 [INFO] [stdout] | [INFO] [stdout] 34 | graphics::draw(ctx, &self.text, DrawParam::default()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/game/state/main_menu.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | graphics::draw(ctx, &self.text, DrawParam::default()).unwrap(); [INFO] [stdout] | -------------- ^^^ expected `&mut Canvas`, found `&mut Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Canvas` [INFO] [stdout] found mutable reference `&mut ggez::Context` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ggez-0.9.3/src/graphics/mod.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn draw(canvas: &mut Canvas, drawable: &impl Drawable, param: impl Into) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> src/game/state/main_menu.rs:34:63 [INFO] [stdout] | [INFO] [stdout] 34 | graphics::draw(ctx, &self.text, DrawParam::default()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/player.rs:95:36 [INFO] [stdout] | [INFO] [stdout] 95 | if new_velocity == zero() { [INFO] [stdout] | -- ^^^^ cannot infer type of the type parameter `T` declared on the function `zero` [INFO] [stdout] | | [INFO] [stdout] | type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Dim` [INFO] [stdout] note: there are multiple different versions of crate `nalgebra` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nalgebra-0.33.0/src/base/dimension.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub unsafe trait Dim: Any + Debug + Copy + PartialEq + Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use nalgebra as na; [INFO] [stdout] | -------- one version of crate `nalgebra` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/bullet.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use kolli_desu::shapes::Circle; [INFO] [stdout] | ---------- one version of crate `nalgebra` used here, as a dependency of crate `kolli_desu` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nalgebra-0.17.3/src/base/allocator.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait Allocator: Any + Sized { [INFO] [stdout] | ---------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `nalgebra::Matrix, Const<1>, ArrayStorage>` to implement `PartialEq>` [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 95 | if new_velocity == zero::>() { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/player.rs:95:36 [INFO] [stdout] | [INFO] [stdout] 95 | if new_velocity == zero() { [INFO] [stdout] | -- ^^^^ cannot infer type of the type parameter `T` declared on the function `zero` [INFO] [stdout] | | [INFO] [stdout] | type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `_: RawStorage` found in the `nalgebra` crate: [INFO] [stdout] - impl<'a, T, R, C, RStride, CStride> RawStorage for ViewStorage<'a, T, R, C, RStride, CStride> [INFO] [stdout] where R: Dim, C: Dim, RStride: Dim, CStride: Dim; [INFO] [stdout] - impl<'a, T, R, C, RStride, CStride> RawStorage for ViewStorageMut<'a, T, R, C, RStride, CStride> [INFO] [stdout] where R: Dim, C: Dim, RStride: Dim, CStride: Dim; [INFO] [stdout] - impl RawStorage for nalgebra::VecStorage [INFO] [stdout] where C: Dim; [INFO] [stdout] - impl RawStorage, Const> for ArrayStorage [INFO] [stdout] where the constant `R` has type `usize`, the constant `C` has type `usize`; [INFO] [stdout] - impl RawStorage for nalgebra::VecStorage [INFO] [stdout] where R: DimName; [INFO] [stdout] = note: required for `nalgebra::Matrix, Const<1>, ArrayStorage>` to implement `PartialEq>` [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 95 | if new_velocity == zero::>() { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/player.rs:95:36 [INFO] [stdout] | [INFO] [stdout] 95 | if new_velocity == zero() { [INFO] [stdout] | ^^^^ cannot infer type of the type parameter `T` declared on the function `zero` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `DefaultAllocator: nalgebra::allocator::Allocator<_, _>` found in the `nalgebra` crate: [INFO] [stdout] - impl nalgebra::allocator::Allocator for DefaultAllocator [INFO] [stdout] where C: Dim; [INFO] [stdout] - impl nalgebra::allocator::Allocator, Const> for DefaultAllocator [INFO] [stdout] where the constant `R` has type `usize`, the constant `C` has type `usize`; [INFO] [stdout] - impl nalgebra::allocator::Allocator for DefaultAllocator [INFO] [stdout] where R: DimName; [INFO] [stdout] = note: required for `nalgebra::Matrix` to implement `num_traits::identities::Zero` [INFO] [stdout] note: required by a bound in `zero` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nalgebra-0.33.0/src/lib.rs:191:16 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn zero() -> T { [INFO] [stdout] | ^^^^ required by this bound in `zero` [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 95 | if new_velocity == zero::>() { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `new` is private [INFO] [stdout] --> src/rendering.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | Image::new(c.gfx.wgpu(), "/sprites/bullet.png").unwrap(), [INFO] [stdout] | ^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ggez-0.9.3/src/graphics/image.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | / fn new( [INFO] [stdout] 162 | | wgpu: &WgpuContext, [INFO] [stdout] 163 | | format: ImageFormat, [INFO] [stdout] 164 | | width: u32, [INFO] [stdout] ... | [INFO] [stdout] 167 | | usage: wgpu::TextureUsages, [INFO] [stdout] 168 | | ) -> Self { [INFO] [stdout] | |_____________- private associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 2 arguments were supplied [INFO] [stdout] --> src/rendering.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | Image::new(c.gfx.wgpu(), "/sprites/bullet.png").unwrap(), [INFO] [stdout] | ^^^^^^^^^^------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | expected `TextureFormat`, found `&str` [INFO] [stdout] | multiple arguments are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ggez-0.9.3/src/graphics/image.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 31 - Image::new(c.gfx.wgpu(), "/sprites/bullet.png").unwrap(), [INFO] [stdout] 31 + Image::new(c.gfx.wgpu(), /* wgpu_types::TextureFormat */, /* u32 */, /* u32 */, /* u32 */, /* wgpu_types::TextureUsages */).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `Image` in the current scope [INFO] [stdout] --> src/rendering.rs:31:61 [INFO] [stdout] | [INFO] [stdout] 31 | Image::new(c.gfx.wgpu(), "/sprites/bullet.png").unwrap(), [INFO] [stdout] | ^^^^^^ method not found in `Image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/player.rs:95:36 [INFO] [stdout] | [INFO] [stdout] 95 | if new_velocity == zero() { [INFO] [stdout] | -- ^^^^ cannot infer type of the type parameter `T` declared on the function `zero` [INFO] [stdout] | | [INFO] [stdout] | type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Dim` [INFO] [stdout] note: there are multiple different versions of crate `nalgebra` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nalgebra-0.33.0/src/base/dimension.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub unsafe trait Dim: Any + Debug + Copy + PartialEq + Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use nalgebra as na; [INFO] [stdout] | -------- one version of crate `nalgebra` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/bullet.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use kolli_desu::shapes::Circle; [INFO] [stdout] | ---------- one version of crate `nalgebra` used here, as a dependency of crate `kolli_desu` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nalgebra-0.17.3/src/base/allocator.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait Allocator: Any + Sized { [INFO] [stdout] | ---------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `nalgebra::Matrix, Const<1>, ArrayStorage>` to implement `PartialEq>` [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 95 | if new_velocity == zero::>() { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/player.rs:95:36 [INFO] [stdout] | [INFO] [stdout] 95 | if new_velocity == zero() { [INFO] [stdout] | -- ^^^^ cannot infer type of the type parameter `T` declared on the function `zero` [INFO] [stdout] | | [INFO] [stdout] | type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `_: RawStorage` found in the `nalgebra` crate: [INFO] [stdout] - impl<'a, T, R, C, RStride, CStride> RawStorage for ViewStorage<'a, T, R, C, RStride, CStride> [INFO] [stdout] where R: Dim, C: Dim, RStride: Dim, CStride: Dim; [INFO] [stdout] - impl<'a, T, R, C, RStride, CStride> RawStorage for ViewStorageMut<'a, T, R, C, RStride, CStride> [INFO] [stdout] where R: Dim, C: Dim, RStride: Dim, CStride: Dim; [INFO] [stdout] - impl RawStorage for nalgebra::VecStorage [INFO] [stdout] where C: Dim; [INFO] [stdout] - impl RawStorage, Const> for ArrayStorage [INFO] [stdout] where the constant `R` has type `usize`, the constant `C` has type `usize`; [INFO] [stdout] - impl RawStorage for nalgebra::VecStorage [INFO] [stdout] where R: DimName; [INFO] [stdout] = note: required for `nalgebra::Matrix, Const<1>, ArrayStorage>` to implement `PartialEq>` [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 95 | if new_velocity == zero::>() { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/player.rs:95:36 [INFO] [stdout] | [INFO] [stdout] 95 | if new_velocity == zero() { [INFO] [stdout] | ^^^^ cannot infer type of the type parameter `T` declared on the function `zero` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `DefaultAllocator: nalgebra::allocator::Allocator<_, _>` found in the `nalgebra` crate: [INFO] [stdout] - impl nalgebra::allocator::Allocator for DefaultAllocator [INFO] [stdout] where C: Dim; [INFO] [stdout] - impl nalgebra::allocator::Allocator, Const> for DefaultAllocator [INFO] [stdout] where the constant `R` has type `usize`, the constant `C` has type `usize`; [INFO] [stdout] - impl nalgebra::allocator::Allocator for DefaultAllocator [INFO] [stdout] where R: DimName; [INFO] [stdout] = note: required for `nalgebra::Matrix` to implement `num_traits::identities::Zero` [INFO] [stdout] note: required by a bound in `zero` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nalgebra-0.33.0/src/lib.rs:191:16 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn zero() -> T { [INFO] [stdout] | ^^^^ required by this bound in `zero` [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 95 | if new_velocity == zero::>() { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `new` is private [INFO] [stdout] --> src/rendering.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | Image::new(c.gfx.wgpu(), "/sprites/bullet.png").unwrap(), [INFO] [stdout] | ^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ggez-0.9.3/src/graphics/image.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | / fn new( [INFO] [stdout] 162 | | wgpu: &WgpuContext, [INFO] [stdout] 163 | | format: ImageFormat, [INFO] [stdout] 164 | | width: u32, [INFO] [stdout] ... | [INFO] [stdout] 167 | | usage: wgpu::TextureUsages, [INFO] [stdout] 168 | | ) -> Self { [INFO] [stdout] | |_____________- private associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `new` is private [INFO] [stdout] --> src/rendering.rs:33:62 [INFO] [stdout] | [INFO] [stdout] 33 | sprites.insert(String::from("spiral_turret"), Image::new(c, "/sprites/spiral_turret.png").unwrap()); [INFO] [stdout] | ^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ggez-0.9.3/src/graphics/image.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | / fn new( [INFO] [stdout] 162 | | wgpu: &WgpuContext, [INFO] [stdout] 163 | | format: ImageFormat, [INFO] [stdout] 164 | | width: u32, [INFO] [stdout] ... | [INFO] [stdout] 167 | | usage: wgpu::TextureUsages, [INFO] [stdout] 168 | | ) -> Self { [INFO] [stdout] | |_____________- private associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 2 arguments were supplied [INFO] [stdout] --> src/rendering.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | Image::new(c.gfx.wgpu(), "/sprites/bullet.png").unwrap(), [INFO] [stdout] | ^^^^^^^^^^------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | expected `TextureFormat`, found `&str` [INFO] [stdout] | multiple arguments are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ggez-0.9.3/src/graphics/image.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 31 - Image::new(c.gfx.wgpu(), "/sprites/bullet.png").unwrap(), [INFO] [stdout] 31 + Image::new(c.gfx.wgpu(), /* wgpu_types::TextureFormat */, /* u32 */, /* u32 */, /* u32 */, /* wgpu_types::TextureUsages */).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 2 arguments were supplied [INFO] [stdout] --> src/rendering.rs:33:55 [INFO] [stdout] | [INFO] [stdout] 33 | sprites.insert(String::from("spiral_turret"), Image::new(c, "/sprites/spiral_turret.png").unwrap()); [INFO] [stdout] | ^^^^^^^^^^--------------------------------- [INFO] [stdout] | || | [INFO] [stdout] | || expected `TextureFormat`, found `&str` [INFO] [stdout] | |expected `&WgpuContext`, found `&mut Context` [INFO] [stdout] | multiple arguments are missing [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&WgpuContext` [INFO] [stdout] found mutable reference `&mut ggez::Context` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ggez-0.9.3/src/graphics/image.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 33 - sprites.insert(String::from("spiral_turret"), Image::new(c, "/sprites/spiral_turret.png").unwrap()); [INFO] [stdout] 33 + sprites.insert(String::from("spiral_turret"), Image::new(/* &WgpuContext */, /* wgpu_types::TextureFormat */, /* u32 */, /* u32 */, /* u32 */, /* wgpu_types::TextureUsages */).unwrap()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `Image` in the current scope [INFO] [stdout] --> src/rendering.rs:33:99 [INFO] [stdout] | [INFO] [stdout] 33 | sprites.insert(String::from("spiral_turret"), Image::new(c, "/sprites/spiral_turret.png").unwrap()); [INFO] [stdout] | ^^^^^^ method not found in `Image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `Image` in the current scope [INFO] [stdout] --> src/rendering.rs:31:61 [INFO] [stdout] | [INFO] [stdout] 31 | Image::new(c.gfx.wgpu(), "/sprites/bullet.png").unwrap(), [INFO] [stdout] | ^^^^^^ method not found in `Image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `new` is private [INFO] [stdout] --> src/rendering.rs:34:55 [INFO] [stdout] | [INFO] [stdout] 34 | sprites.insert(String::from("player"), Image::new(c, "/sprites/ship.png").unwrap()); [INFO] [stdout] | ^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ggez-0.9.3/src/graphics/image.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | / fn new( [INFO] [stdout] 162 | | wgpu: &WgpuContext, [INFO] [stdout] 163 | | format: ImageFormat, [INFO] [stdout] 164 | | width: u32, [INFO] [stdout] ... | [INFO] [stdout] 167 | | usage: wgpu::TextureUsages, [INFO] [stdout] 168 | | ) -> Self { [INFO] [stdout] | |_____________- private associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 2 arguments were supplied [INFO] [stdout] --> src/rendering.rs:34:48 [INFO] [stdout] | [INFO] [stdout] 34 | sprites.insert(String::from("player"), Image::new(c, "/sprites/ship.png").unwrap()); [INFO] [stdout] | ^^^^^^^^^^------------------------ [INFO] [stdout] | || | [INFO] [stdout] | || expected `TextureFormat`, found `&str` [INFO] [stdout] | |expected `&WgpuContext`, found `&mut Context` [INFO] [stdout] | multiple arguments are missing [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&WgpuContext` [INFO] [stdout] found mutable reference `&mut ggez::Context` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ggez-0.9.3/src/graphics/image.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 34 - sprites.insert(String::from("player"), Image::new(c, "/sprites/ship.png").unwrap()); [INFO] [stdout] 34 + sprites.insert(String::from("player"), Image::new(/* &WgpuContext */, /* wgpu_types::TextureFormat */, /* u32 */, /* u32 */, /* u32 */, /* wgpu_types::TextureUsages */).unwrap()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `new` is private [INFO] [stdout] --> src/rendering.rs:33:62 [INFO] [stdout] | [INFO] [stdout] 33 | sprites.insert(String::from("spiral_turret"), Image::new(c, "/sprites/spiral_turret.png").unwrap()); [INFO] [stdout] | ^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ggez-0.9.3/src/graphics/image.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | / fn new( [INFO] [stdout] 162 | | wgpu: &WgpuContext, [INFO] [stdout] 163 | | format: ImageFormat, [INFO] [stdout] 164 | | width: u32, [INFO] [stdout] ... | [INFO] [stdout] 167 | | usage: wgpu::TextureUsages, [INFO] [stdout] 168 | | ) -> Self { [INFO] [stdout] | |_____________- private associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 2 arguments were supplied [INFO] [stdout] --> src/rendering.rs:33:55 [INFO] [stdout] | [INFO] [stdout] 33 | sprites.insert(String::from("spiral_turret"), Image::new(c, "/sprites/spiral_turret.png").unwrap()); [INFO] [stdout] | ^^^^^^^^^^--------------------------------- [INFO] [stdout] | || | [INFO] [stdout] | || expected `TextureFormat`, found `&str` [INFO] [stdout] | |expected `&WgpuContext`, found `&mut Context` [INFO] [stdout] | multiple arguments are missing [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&WgpuContext` [INFO] [stdout] found mutable reference `&mut ggez::Context` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ggez-0.9.3/src/graphics/image.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 33 - sprites.insert(String::from("spiral_turret"), Image::new(c, "/sprites/spiral_turret.png").unwrap()); [INFO] [stdout] 33 + sprites.insert(String::from("spiral_turret"), Image::new(/* &WgpuContext */, /* wgpu_types::TextureFormat */, /* u32 */, /* u32 */, /* u32 */, /* wgpu_types::TextureUsages */).unwrap()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `Image` in the current scope [INFO] [stdout] --> src/rendering.rs:34:83 [INFO] [stdout] | [INFO] [stdout] 34 | sprites.insert(String::from("player"), Image::new(c, "/sprites/ship.png").unwrap()); [INFO] [stdout] | ^^^^^^ method not found in `Image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `w` on type `Option` [INFO] [stdout] --> src/rendering.rs:47:45 [INFO] [stdout] | [INFO] [stdout] 47 | let x = (pos.0.x + (screen_rect.w as f64) / 2.) as f32; [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 47 | let x = (pos.0.x + (screen_rect.unwrap().w as f64) / 2.) as f32; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `h` on type `Option` [INFO] [stdout] --> src/rendering.rs:48:46 [INFO] [stdout] | [INFO] [stdout] 48 | let y = (-pos.0.y + (screen_rect.h as f64) / 2.) as f32; [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 48 | let y = (-pos.0.y + (screen_rect.unwrap().h as f64) / 2.) as f32; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `Image` in the current scope [INFO] [stdout] --> src/rendering.rs:33:99 [INFO] [stdout] | [INFO] [stdout] 33 | sprites.insert(String::from("spiral_turret"), Image::new(c, "/sprites/spiral_turret.png").unwrap()); [INFO] [stdout] | ^^^^^^ method not found in `Image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> src/rendering.rs:61:137 [INFO] [stdout] | [INFO] [stdout] 61 | ... draw(ctx, sprite, DrawParam::default().offset([0.5, 0.5]).scale([*scale, *scale]).dest([x, y])).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `new` is private [INFO] [stdout] --> src/rendering.rs:34:55 [INFO] [stdout] | [INFO] [stdout] 34 | sprites.insert(String::from("player"), Image::new(c, "/sprites/ship.png").unwrap()); [INFO] [stdout] | ^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ggez-0.9.3/src/graphics/image.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | / fn new( [INFO] [stdout] 162 | | wgpu: &WgpuContext, [INFO] [stdout] 163 | | format: ImageFormat, [INFO] [stdout] 164 | | width: u32, [INFO] [stdout] ... | [INFO] [stdout] 167 | | usage: wgpu::TextureUsages, [INFO] [stdout] 168 | | ) -> Self { [INFO] [stdout] | |_____________- private associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 2 arguments were supplied [INFO] [stdout] --> src/rendering.rs:34:48 [INFO] [stdout] | [INFO] [stdout] 34 | sprites.insert(String::from("player"), Image::new(c, "/sprites/ship.png").unwrap()); [INFO] [stdout] | ^^^^^^^^^^------------------------ [INFO] [stdout] | || | [INFO] [stdout] | || expected `TextureFormat`, found `&str` [INFO] [stdout] | |expected `&WgpuContext`, found `&mut Context` [INFO] [stdout] | multiple arguments are missing [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&WgpuContext` [INFO] [stdout] found mutable reference `&mut ggez::Context` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ggez-0.9.3/src/graphics/image.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 34 - sprites.insert(String::from("player"), Image::new(c, "/sprites/ship.png").unwrap()); [INFO] [stdout] 34 + sprites.insert(String::from("player"), Image::new(/* &WgpuContext */, /* wgpu_types::TextureFormat */, /* u32 */, /* u32 */, /* u32 */, /* wgpu_types::TextureUsages */).unwrap()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> src/rendering.rs:64:137 [INFO] [stdout] | [INFO] [stdout] 64 | ... None => draw(ctx, sprite, DrawParam::default().offset([0.5, 0.5]).scale([*scale, *scale]).dest([x, y])).unwrap(), [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> src/rendering.rs:71:56 [INFO] [stdout] | [INFO] [stdout] 71 | draw(ctx, &bullet_batch, DrawParam::default()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `Image` in the current scope [INFO] [stdout] --> src/rendering.rs:34:83 [INFO] [stdout] | [INFO] [stdout] 34 | sprites.insert(String::from("player"), Image::new(c, "/sprites/ship.png").unwrap()); [INFO] [stdout] | ^^^^^^ method not found in `Image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `w` on type `Option` [INFO] [stdout] --> src/rendering.rs:47:45 [INFO] [stdout] | [INFO] [stdout] 47 | let x = (pos.0.x + (screen_rect.w as f64) / 2.) as f32; [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 47 | let x = (pos.0.x + (screen_rect.unwrap().w as f64) / 2.) as f32; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `h` on type `Option` [INFO] [stdout] --> src/rendering.rs:48:46 [INFO] [stdout] | [INFO] [stdout] 48 | let y = (-pos.0.y + (screen_rect.h as f64) / 2.) as f32; [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 48 | let y = (-pos.0.y + (screen_rect.unwrap().h as f64) / 2.) as f32; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shared_data` [INFO] [stdout] --> src/game/state/main_menu.rs:23:45 [INFO] [stdout] | [INFO] [stdout] 23 | fn update(&mut self, ctx: &mut Context, shared_data: &mut SharedData) -> Transition { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> src/rendering.rs:61:137 [INFO] [stdout] | [INFO] [stdout] 61 | ... draw(ctx, sprite, DrawParam::default().offset([0.5, 0.5]).scale([*scale, *scale]).dest([x, y])).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> src/rendering.rs:64:137 [INFO] [stdout] | [INFO] [stdout] 64 | ... None => draw(ctx, sprite, DrawParam::default().offset([0.5, 0.5]).scale([*scale, *scale]).dest([x, y])).unwrap(), [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0050, E0053, E0061, E0283, E0308, E0425, E0432, E0599, E0603... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0050`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> src/rendering.rs:71:56 [INFO] [stdout] | [INFO] [stdout] 71 | draw(ctx, &bullet_batch, DrawParam::default()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dot-dodger` (bin "dot-dodger" test) due to 44 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `shared_data` [INFO] [stdout] --> src/game/state/main_menu.rs:23:45 [INFO] [stdout] | [INFO] [stdout] 23 | fn update(&mut self, ctx: &mut Context, shared_data: &mut SharedData) -> Transition { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shared_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0050, E0053, E0061, E0283, E0308, E0425, E0432, E0599, E0603... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0050`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dot-dodger` (bin "dot-dodger") due to 44 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "dba4f99997acaf113f8e87a7dd480026d29fb52fd4aa0c1872a9f988eb71a6fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dba4f99997acaf113f8e87a7dd480026d29fb52fd4aa0c1872a9f988eb71a6fb", kill_on_drop: false }` [INFO] [stdout] dba4f99997acaf113f8e87a7dd480026d29fb52fd4aa0c1872a9f988eb71a6fb