[INFO] cloning repository https://github.com/chrisf1337/feg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chrisf1337/feg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrisf1337%2Ffeg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrisf1337%2Ffeg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b9c8d02dfc37260e55edcd2195330d522949d501 [INFO] checking chrisf1337/feg against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrisf1337%2Ffeg" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chrisf1337/feg on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chrisf1337/feg [INFO] finished tweaking git repo https://github.com/chrisf1337/feg [INFO] tweaked toml for git repo https://github.com/chrisf1337/feg written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/chrisf1337/feg already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/ggez/ggez.git` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4cc4394ddebb3d9567aeca2fa31dd01a9830d75f12c0762baad540d9048cf56d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4cc4394ddebb3d9567aeca2fa31dd01a9830d75f12c0762baad540d9048cf56d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4cc4394ddebb3d9567aeca2fa31dd01a9830d75f12c0762baad540d9048cf56d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cc4394ddebb3d9567aeca2fa31dd01a9830d75f12c0762baad540d9048cf56d", kill_on_drop: false }` [INFO] [stdout] 4cc4394ddebb3d9567aeca2fa31dd01a9830d75f12c0762baad540d9048cf56d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29301df9b8e163a867f1f78b7ac8f7a8262ac3a7504e2b310839405fcd8bea90 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "29301df9b8e163a867f1f78b7ac8f7a8262ac3a7504e2b310839405fcd8bea90", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking ttf-parser v0.12.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Compiling cpal v0.13.3 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Compiling wayland-sys v0.28.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking lock_api v0.4.3 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking glam v0.12.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Checking gif v0.11.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Checking owned_ttf_parser v0.12.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking gfx_core v0.9.2 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Checking ab_glyph v0.2.10 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling wayland-scanner v0.28.5 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Checking euclid v0.22.3 [INFO] [stderr] Checking sid v0.6.1 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking ordered-float v2.1.1 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking glyph_brush_layout v0.2.1 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking slice-deque v0.3.0 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Compiling jobserver v0.1.22 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking gfx v0.18.2 [INFO] [stderr] Checking lyon_geom v0.16.2 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking directories v3.0.1 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling wayland-client v0.28.5 [INFO] [stderr] Compiling wayland-protocols v0.28.5 [INFO] [stderr] Checking lyon_path v0.16.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking lyon_algorithms v0.16.0 [INFO] [stderr] Checking lyon_tessellation v0.16.2 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking twox-hash v1.6.0 [INFO] [stderr] Checking lyon v0.16.2 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling bzip2-sys v0.1.10+1.0.8 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking wayland-commons v0.28.5 [INFO] [stderr] Checking alsa v0.5.0 [INFO] [stderr] Checking gilrs-core v0.3.1 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking glyph_brush_draw_cache v0.1.4 [INFO] [stderr] Checking glyph_brush v0.7.2 [INFO] [stderr] Checking gilrs v0.8.1 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling smart-default v0.6.0 [INFO] [stderr] Checking gfx_device_gl v0.16.2 [INFO] [stderr] Checking wayland-cursor v0.28.5 [INFO] [stderr] Checking wayland-egl v0.28.5 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking minimp3 v0.5.1 [INFO] [stderr] Checking zip v0.5.12 [INFO] [stderr] Checking rodio v0.13.1 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking winit v0.24.0 [INFO] [stderr] Checking glutin v0.26.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking old_school_gfx_glutin_ext v0.26.0 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling cargo-platform v0.1.1 [INFO] [stderr] Compiling cargo_metadata v0.12.3 [INFO] [stderr] Compiling skeptic v0.13.6 [INFO] [stderr] Compiling ggez v0.6.0-rc1 (https://github.com/ggez/ggez.git?branch=master#63e246d6) [INFO] [stderr] Checking feg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `ggez::event::MouseState` [INFO] [stdout] --> src/main.rs:20:46 [INFO] [stdout] | [INFO] [stdout] 20 | use ggez::event::{EventHandler, MouseButton, MouseState}; [INFO] [stdout] | ^^^^^^^^^^ no `MouseState` in `event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ggez::event::MouseState` [INFO] [stdout] --> src/main.rs:20:46 [INFO] [stdout] | [INFO] [stdout] 20 | use ggez::event::{EventHandler, MouseButton, MouseState}; [INFO] [stdout] | ^^^^^^^^^^ no `MouseState` in `event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `line` in module `graphics` [INFO] [stdout] --> src/mainstate.rs:137:23 [INFO] [stdout] | [INFO] [stdout] 137 | graphics::line( [INFO] [stdout] | ^^^^ not found in `graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `line` in module `graphics` [INFO] [stdout] --> src/mainstate.rs:153:23 [INFO] [stdout] | [INFO] [stdout] 153 | graphics::line( [INFO] [stdout] | ^^^^ not found in `graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_fps` in module `ggez::timer` [INFO] [stdout] --> src/main.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | let fps = (ggez::timer::get_fps(ctx) as u32).to_string(); [INFO] [stdout] | ^^^^^^^ not found in `ggez::timer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_color` in module `graphics` [INFO] [stdout] --> src/main.rs:61:39 [INFO] [stdout] | [INFO] [stdout] 61 | let old_color = graphics::get_color(ctx); [INFO] [stdout] | ^^^^^^^^^ not found in `graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_color` in module `graphics` [INFO] [stdout] --> src/main.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | graphics::set_color(ctx, Color::from_rgba(255, 84, 163, 60))?; [INFO] [stdout] | ^^^^^^^^^ not found in `graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `rectangle` in module `graphics` [INFO] [stdout] --> src/main.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | graphics::rectangle( [INFO] [stdout] | ^^^^^^^^^ not found in `graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_color` in module `graphics` [INFO] [stdout] --> src/main.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | graphics::set_color(ctx, old_color)?; [INFO] [stdout] | ^^^^^^^^^ not found in `graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_color` in module `graphics` [INFO] [stdout] --> src/main.rs:81:43 [INFO] [stdout] | [INFO] [stdout] 81 | let old_color = graphics::get_color(ctx); [INFO] [stdout] | ^^^^^^^^^ not found in `graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_color` in module `graphics` [INFO] [stdout] --> src/main.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | graphics::set_color(ctx, graphics::Color::from_rgb(255, 255, 0))?; [INFO] [stdout] | ^^^^^^^^^ not found in `graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_color` in module `graphics` [INFO] [stdout] --> src/main.rs:85:27 [INFO] [stdout] | [INFO] [stdout] 85 | graphics::set_color(ctx, old_color)?; [INFO] [stdout] | ^^^^^^^^^ not found in `graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `line` in module `graphics` [INFO] [stdout] --> src/main.rs:100:35 [INFO] [stdout] | [INFO] [stdout] 100 | graphics::line( [INFO] [stdout] | ^^^^ not found in `graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_color` in module `graphics` [INFO] [stdout] --> src/main.rs:111:43 [INFO] [stdout] | [INFO] [stdout] 111 | let old_color = graphics::get_color(ctx); [INFO] [stdout] | ^^^^^^^^^ not found in `graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_color` in module `graphics` [INFO] [stdout] --> src/main.rs:112:27 [INFO] [stdout] | [INFO] [stdout] 112 | graphics::set_color(ctx, graphics::Color::from_rgb(255, 0, 0))?; [INFO] [stdout] | ^^^^^^^^^ not found in `graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_color` in module `graphics` [INFO] [stdout] --> src/main.rs:115:27 [INFO] [stdout] | [INFO] [stdout] 115 | graphics::set_color(ctx, old_color)?; [INFO] [stdout] | ^^^^^^^^^ not found in `graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: type alias `Point2` is private [INFO] [stdout] --> src/mainstate.rs:2:56 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::graphics::{DrawParam, Drawable, Font, Image, Point2, Text}; [INFO] [stdout] | ^^^^^^ private type alias [INFO] [stdout] | [INFO] [stdout] note: the type alias `Point2` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ggez-ed9d3cec31fdee53/63e246d/src/graphics/mod.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub use crate::graphics::types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: type alias `Point2` is private [INFO] [stdout] --> src/main.rs:21:67 [INFO] [stdout] | [INFO] [stdout] 21 | use ggez::graphics::{Color, DrawMode, DrawParam, Drawable, Image, Point2}; [INFO] [stdout] | ^^^^^^ private type alias [INFO] [stdout] | [INFO] [stdout] note: the type alias `Point2` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ggez-ed9d3cec31fdee53/63e246d/src/graphics/mod.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub use crate::graphics::types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `line` in module `graphics` [INFO] [stdout] --> src/mainstate.rs:137:23 [INFO] [stdout] | [INFO] [stdout] 137 | graphics::line( [INFO] [stdout] | ^^^^ not found in `graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `line` in module `graphics` [INFO] [stdout] --> src/mainstate.rs:153:23 [INFO] [stdout] | [INFO] [stdout] 153 | graphics::line( [INFO] [stdout] | ^^^^ not found in `graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_fps` in module `ggez::timer` [INFO] [stdout] --> src/main.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | let fps = (ggez::timer::get_fps(ctx) as u32).to_string(); [INFO] [stdout] | ^^^^^^^ not found in `ggez::timer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_color` in module `graphics` [INFO] [stdout] --> src/main.rs:61:39 [INFO] [stdout] | [INFO] [stdout] 61 | let old_color = graphics::get_color(ctx); [INFO] [stdout] | ^^^^^^^^^ not found in `graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_color` in module `graphics` [INFO] [stdout] --> src/main.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | graphics::set_color(ctx, Color::from_rgba(255, 84, 163, 60))?; [INFO] [stdout] | ^^^^^^^^^ not found in `graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `rectangle` in module `graphics` [INFO] [stdout] --> src/main.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | graphics::rectangle( [INFO] [stdout] | ^^^^^^^^^ not found in `graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_color` in module `graphics` [INFO] [stdout] --> src/main.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | graphics::set_color(ctx, old_color)?; [INFO] [stdout] | ^^^^^^^^^ not found in `graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_color` in module `graphics` [INFO] [stdout] --> src/main.rs:81:43 [INFO] [stdout] | [INFO] [stdout] 81 | let old_color = graphics::get_color(ctx); [INFO] [stdout] | ^^^^^^^^^ not found in `graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_color` in module `graphics` [INFO] [stdout] --> src/main.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | graphics::set_color(ctx, graphics::Color::from_rgb(255, 255, 0))?; [INFO] [stdout] | ^^^^^^^^^ not found in `graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_color` in module `graphics` [INFO] [stdout] --> src/main.rs:85:27 [INFO] [stdout] | [INFO] [stdout] 85 | graphics::set_color(ctx, old_color)?; [INFO] [stdout] | ^^^^^^^^^ not found in `graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `line` in module `graphics` [INFO] [stdout] --> src/main.rs:100:35 [INFO] [stdout] | [INFO] [stdout] 100 | graphics::line( [INFO] [stdout] | ^^^^ not found in `graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_color` in module `graphics` [INFO] [stdout] --> src/main.rs:111:43 [INFO] [stdout] | [INFO] [stdout] 111 | let old_color = graphics::get_color(ctx); [INFO] [stdout] | ^^^^^^^^^ not found in `graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_color` in module `graphics` [INFO] [stdout] --> src/main.rs:112:27 [INFO] [stdout] | [INFO] [stdout] 112 | graphics::set_color(ctx, graphics::Color::from_rgb(255, 0, 0))?; [INFO] [stdout] | ^^^^^^^^^ not found in `graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_color` in module `graphics` [INFO] [stdout] --> src/main.rs:115:27 [INFO] [stdout] | [INFO] [stdout] 115 | graphics::set_color(ctx, old_color)?; [INFO] [stdout] | ^^^^^^^^^ not found in `graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: type alias `Point2` is private [INFO] [stdout] --> src/mainstate.rs:2:56 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::graphics::{DrawParam, Drawable, Font, Image, Point2, Text}; [INFO] [stdout] | ^^^^^^ private type alias [INFO] [stdout] | [INFO] [stdout] note: the type alias `Point2` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ggez-ed9d3cec31fdee53/63e246d/src/graphics/mod.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub use crate::graphics::types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: type alias `Point2` is private [INFO] [stdout] --> src/main.rs:21:67 [INFO] [stdout] | [INFO] [stdout] 21 | use ggez::graphics::{Color, DrawMode, DrawParam, Drawable, Image, Point2}; [INFO] [stdout] | ^^^^^^ private type alias [INFO] [stdout] | [INFO] [stdout] note: the type alias `Point2` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ggez-ed9d3cec31fdee53/63e246d/src/graphics/mod.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub use crate::graphics::types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `num::Rational`: it's better to use a specific size, like `Rational32` or `Rational64` [INFO] [stdout] --> src/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num::Rational; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `num::Rational`: it's better to use a specific size, like `Rational32` or `Rational64` [INFO] [stdout] --> src/utils.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn rat_to_f32(rat: &Rational) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `num::Rational`: it's better to use a specific size, like `Rational32` or `Rational64` [INFO] [stdout] --> src/pathfinding.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use num::Rational; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `num::Rational`: it's better to use a specific size, like `Rational32` or `Rational64` [INFO] [stdout] --> src/pathfinding.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 53 | ) -> Vec<((u32, u32), Rational)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `num::Rational`: it's better to use a specific size, like `Rational32` or `Rational64` [INFO] [stdout] --> src/pathfinding.rs:129:25 [INFO] [stdout] | [INFO] [stdout] 129 | HashMap<(u32, u32), Rational>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `num::Rational`: it's better to use a specific size, like `Rational32` or `Rational64` [INFO] [stdout] --> src/pathfinding.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | dist: Rational, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `num::Rational`: it's better to use a specific size, like `Rational32` or `Rational64` [INFO] [stdout] --> src/pathfinding.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | fn new(dist: Rational, pos: (u32, u32)) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `num::Rational`: it's better to use a specific size, like `Rational32` or `Rational64` [INFO] [stdout] --> src/terrain.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use num::{One, Rational}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `num::Rational`: it's better to use a specific size, like `Rational32` or `Rational64` [INFO] [stdout] --> src/terrain.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn cost(&self) -> Rational { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `num::Rational`: it's better to use a specific size, like `Rational32` or `Rational64` [INFO] [stdout] --> src/unit.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num::Rational; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `num::Rational`: it's better to use a specific size, like `Rational32` or `Rational64` [INFO] [stdout] --> src/unit.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | pub costs: HashMap<(u32, u32), Rational>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `num::Rational`: it's better to use a specific size, like `Rational32` or `Rational64` [INFO] [stdout] --> src/unit.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | costs: HashMap<(u32, u32), Rational>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `num::Rational`: it's better to use a specific size, like `Rational32` or `Rational64` [INFO] [stdout] --> src/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num::Rational; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `num::Rational`: it's better to use a specific size, like `Rational32` or `Rational64` [INFO] [stdout] --> src/utils.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn rat_to_f32(rat: &Rational) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `num::Rational`: it's better to use a specific size, like `Rational32` or `Rational64` [INFO] [stdout] --> src/pathfinding.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use num::Rational; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `num::Rational`: it's better to use a specific size, like `Rational32` or `Rational64` [INFO] [stdout] --> src/pathfinding.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 53 | ) -> Vec<((u32, u32), Rational)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `num::Rational`: it's better to use a specific size, like `Rational32` or `Rational64` [INFO] [stdout] --> src/pathfinding.rs:129:25 [INFO] [stdout] | [INFO] [stdout] 129 | HashMap<(u32, u32), Rational>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `num::Rational`: it's better to use a specific size, like `Rational32` or `Rational64` [INFO] [stdout] --> src/pathfinding.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | dist: Rational, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `num::Rational`: it's better to use a specific size, like `Rational32` or `Rational64` [INFO] [stdout] --> src/pathfinding.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | fn new(dist: Rational, pos: (u32, u32)) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `num::Rational`: it's better to use a specific size, like `Rational32` or `Rational64` [INFO] [stdout] --> src/terrain.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use num::{One, Rational}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `num::Rational`: it's better to use a specific size, like `Rational32` or `Rational64` [INFO] [stdout] --> src/terrain.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn cost(&self) -> Rational { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `num::Rational`: it's better to use a specific size, like `Rational32` or `Rational64` [INFO] [stdout] --> src/unit.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num::Rational; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `num::Rational`: it's better to use a specific size, like `Rational32` or `Rational64` [INFO] [stdout] --> src/unit.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | pub costs: HashMap<(u32, u32), Rational>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `num::Rational`: it's better to use a specific size, like `Rational32` or `Rational64` [INFO] [stdout] --> src/unit.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | costs: HashMap<(u32, u32), Rational>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `mouse_motion_event` has 7 parameters but the declaration in trait `mouse_motion_event` has 6 [INFO] [stdout] --> src/main.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | / &mut self, [INFO] [stdout] 136 | | _ctx: &mut Context, [INFO] [stdout] 137 | | _state: MouseState, [INFO] [stdout] 138 | | x: i32, [INFO] [stdout] 139 | | y: i32, [INFO] [stdout] 140 | | _xrel: i32, [INFO] [stdout] 141 | | _yrel: i32, [INFO] [stdout] | |__________________^ expected 6 parameters, found 7 [INFO] [stdout] | [INFO] [stdout] = note: `mouse_motion_event` from trait: `fn(&mut Self, &mut ggez::Context, f32, f32, f32, f32)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `mouse_button_up_event` has an incompatible type for trait [INFO] [stdout] --> src/main.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | fn mouse_button_up_event(&mut self, _ctx: &mut Context, button: MouseButton, x: i32, y: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `f32`, found `i32` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut mainstate::MainState, &mut ggez::Context, MouseButton, f32, f32)` [INFO] [stdout] found fn pointer `fn(&mut mainstate::MainState, &mut ggez::Context, MouseButton, i32, i32)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | graphics::clear(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^ --- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ggez-ed9d3cec31fdee53/63e246d/src/graphics/mod.rs:454:8 [INFO] [stdout] | [INFO] [stdout] 454 | pub fn clear(ctx: &mut Context, color: Color) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | let fps_txt = graphics::Text::new(ctx, &fps, &self.font)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ --- ---- ---------- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ggez-ed9d3cec31fdee53/63e246d/src/graphics/text.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn new(fragment: F) -> Text [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `mouse_motion_event` has 7 parameters but the declaration in trait `mouse_motion_event` has 6 [INFO] [stdout] --> src/main.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | / &mut self, [INFO] [stdout] 136 | | _ctx: &mut Context, [INFO] [stdout] 137 | | _state: MouseState, [INFO] [stdout] 138 | | x: i32, [INFO] [stdout] 139 | | y: i32, [INFO] [stdout] 140 | | _xrel: i32, [INFO] [stdout] 141 | | _yrel: i32, [INFO] [stdout] | |__________________^ expected 6 parameters, found 7 [INFO] [stdout] | [INFO] [stdout] = note: `mouse_motion_event` from trait: `fn(&mut Self, &mut ggez::Context, f32, f32, f32, f32)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `mouse_button_up_event` has an incompatible type for trait [INFO] [stdout] --> src/main.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | fn mouse_button_up_event(&mut self, _ctx: &mut Context, button: MouseButton, x: i32, y: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `f32`, found `i32` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut mainstate::MainState, &mut ggez::Context, MouseButton, f32, f32)` [INFO] [stdout] found fn pointer `fn(&mut mainstate::MainState, &mut ggez::Context, MouseButton, i32, i32)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | graphics::clear(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^ --- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ggez-ed9d3cec31fdee53/63e246d/src/graphics/mod.rs:454:8 [INFO] [stdout] | [INFO] [stdout] 454 | pub fn clear(ctx: &mut Context, color: Color) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | let fps_txt = graphics::Text::new(ctx, &fps, &self.font)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ --- ---- ---------- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ggez-ed9d3cec31fdee53/63e246d/src/graphics/text.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn new(fragment: F) -> Text [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/main.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | let fps_txt = graphics::Text::new(ctx, &fps, &self.font)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `ggez::graphics::Text` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `ggez::graphics::Text` [INFO] [stdout] = note: required by `into_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | self.wall_sb.draw(ctx, Point2::new(0.0, 0.0), 0.0)?; [INFO] [stdout] | ^^^^ --- --------------------- --- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ggez-ed9d3cec31fdee53/63e246d/src/graphics/mod.rs:837:8 [INFO] [stdout] | [INFO] [stdout] 837 | fn draw(&self, ctx: &mut Context, param: DrawParam) -> GameResult; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | self.sand_sb.draw(ctx, Point2::new(0.0, 0.0), 0.0)?; [INFO] [stdout] | ^^^^ --- --------------------- --- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ggez-ed9d3cec31fdee53/63e246d/src/graphics/mod.rs:837:8 [INFO] [stdout] | [INFO] [stdout] 837 | fn draw(&self, ctx: &mut Context, param: DrawParam) -> GameResult; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | .draw(ctx, Point2::new(screen_x as f32, screen_y as f32), 0.0)?; [INFO] [stdout] | ^^^^ --- --------------------------------------------- --- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ggez-ed9d3cec31fdee53/63e246d/src/graphics/mod.rs:837:8 [INFO] [stdout] | [INFO] [stdout] 837 | fn draw(&self, ctx: &mut Context, param: DrawParam) -> GameResult; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/main.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | let fps_txt = graphics::Text::new(ctx, &fps, &self.font)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `ggez::graphics::Text` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `ggez::graphics::Text` [INFO] [stdout] = note: required by `into_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | self.wall_sb.draw(ctx, Point2::new(0.0, 0.0), 0.0)?; [INFO] [stdout] | ^^^^ --- --------------------- --- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ggez-ed9d3cec31fdee53/63e246d/src/graphics/mod.rs:837:8 [INFO] [stdout] | [INFO] [stdout] 837 | fn draw(&self, ctx: &mut Context, param: DrawParam) -> GameResult; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | self.sand_sb.draw(ctx, Point2::new(0.0, 0.0), 0.0)?; [INFO] [stdout] | ^^^^ --- --------------------- --- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ggez-ed9d3cec31fdee53/63e246d/src/graphics/mod.rs:837:8 [INFO] [stdout] | [INFO] [stdout] 837 | fn draw(&self, ctx: &mut Context, param: DrawParam) -> GameResult; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:114:22 [INFO] [stdout] | [INFO] [stdout] 114 | .draw(ctx, Point2::new(rect_x as f32, rect_y as f32), 0.0)?; [INFO] [stdout] | ^^^^ --- ----------------------------------------- --- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ggez-ed9d3cec31fdee53/63e246d/src/graphics/mod.rs:837:8 [INFO] [stdout] | [INFO] [stdout] 837 | fn draw(&self, ctx: &mut Context, param: DrawParam) -> GameResult; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | .draw(ctx, Point2::new(screen_x as f32, screen_y as f32), 0.0)?; [INFO] [stdout] | ^^^^ --- --------------------------------------------- --- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ggez-ed9d3cec31fdee53/63e246d/src/graphics/mod.rs:837:8 [INFO] [stdout] | [INFO] [stdout] 837 | fn draw(&self, ctx: &mut Context, param: DrawParam) -> GameResult; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/main.rs:114:22 [INFO] [stdout] | [INFO] [stdout] 114 | .draw(ctx, Point2::new(rect_x as f32, rect_y as f32), 0.0)?; [INFO] [stdout] | ^^^^ --- ----------------------------------------- --- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ggez-ed9d3cec31fdee53/63e246d/src/graphics/mod.rs:837:8 [INFO] [stdout] | [INFO] [stdout] 837 | fn draw(&self, ctx: &mut Context, param: DrawParam) -> GameResult; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw_ex` found for struct `ImageGeneric` in the current scope [INFO] [stdout] --> src/main.rs:122:62 [INFO] [stdout] | [INFO] [stdout] 122 | unit.animation_sprites[unit.animation_tick as usize].draw_ex( [INFO] [stdout] | ^^^^^^^ method not found in `ImageGeneric` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `DrawParam` has no field named `dest` [INFO] [stdout] --> src/main.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | dest: Point2::new(screen_coord.0 as f32, screen_coord.1 as f32), [INFO] [stdout] | ^^^^ `DrawParam` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `src`, `color`, `trans` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw_ex` found for struct `ImageGeneric` in the current scope [INFO] [stdout] --> src/main.rs:122:62 [INFO] [stdout] | [INFO] [stdout] 122 | unit.animation_sprites[unit.animation_tick as usize].draw_ex( [INFO] [stdout] | ^^^^^^^ method not found in `ImageGeneric` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `DrawParam` has no field named `dest` [INFO] [stdout] --> src/main.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | dest: Point2::new(screen_coord.0 as f32, screen_coord.1 as f32), [INFO] [stdout] | ^^^^ `DrawParam` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `src`, `color`, `trans` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:168:55 [INFO] [stdout] | [INFO] [stdout] 168 | .window_mode(WindowMode::default().dimensions(window_width, window_height)); [INFO] [stdout] | ^^^^^^^^^^^^ expected `f32`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:168:55 [INFO] [stdout] | [INFO] [stdout] 168 | .window_mode(WindowMode::default().dimensions(window_width, window_height)); [INFO] [stdout] | ^^^^^^^^^^^^ expected `f32`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:168:69 [INFO] [stdout] | [INFO] [stdout] 168 | .window_mode(WindowMode::default().dimensions(window_width, window_height)); [INFO] [stdout] | ^^^^^^^^^^^^^ expected `f32`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:168:69 [INFO] [stdout] | [INFO] [stdout] 168 | .window_mode(WindowMode::default().dimensions(window_width, window_height)); [INFO] [stdout] | ^^^^^^^^^^^^^ expected `f32`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:181:37 [INFO] [stdout] | [INFO] [stdout] 181 | let state = &mut MainState::new(ctx, window_width, window_height).unwrap(); [INFO] [stdout] | ^^^ expected struct `ggez::Context`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut ggez::Context` [INFO] [stdout] found mutable reference `&mut (ggez::Context, EventLoop<()>)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:181:37 [INFO] [stdout] | [INFO] [stdout] 181 | let state = &mut MainState::new(ctx, window_width, window_height).unwrap(); [INFO] [stdout] | ^^^ expected struct `ggez::Context`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut ggez::Context` [INFO] [stdout] found mutable reference `&mut (ggez::Context, EventLoop<()>)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:187:24 [INFO] [stdout] | [INFO] [stdout] 187 | Image::new(ctx, "/konrad-commander.png"), [INFO] [stdout] | ^^^ expected struct `ggez::Context`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut ggez::Context` [INFO] [stdout] found mutable reference `&mut (ggez::Context, EventLoop<()>)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:187:24 [INFO] [stdout] | [INFO] [stdout] 187 | Image::new(ctx, "/konrad-commander.png"), [INFO] [stdout] | ^^^ expected struct `ggez::Context`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut ggez::Context` [INFO] [stdout] found mutable reference `&mut (ggez::Context, EventLoop<()>)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:188:24 [INFO] [stdout] | [INFO] [stdout] 188 | Image::new(ctx, "/konrad-commander-attack-1.png"), [INFO] [stdout] | ^^^ expected struct `ggez::Context`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut ggez::Context` [INFO] [stdout] found mutable reference `&mut (ggez::Context, EventLoop<()>)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:188:24 [INFO] [stdout] | [INFO] [stdout] 188 | Image::new(ctx, "/konrad-commander-attack-1.png"), [INFO] [stdout] | ^^^ expected struct `ggez::Context`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut ggez::Context` [INFO] [stdout] found mutable reference `&mut (ggez::Context, EventLoop<()>)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:189:24 [INFO] [stdout] | [INFO] [stdout] 189 | Image::new(ctx, "/konrad-commander-attack-2.png"), [INFO] [stdout] | ^^^ expected struct `ggez::Context`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut ggez::Context` [INFO] [stdout] found mutable reference `&mut (ggez::Context, EventLoop<()>)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:189:24 [INFO] [stdout] | [INFO] [stdout] 189 | Image::new(ctx, "/konrad-commander-attack-2.png"), [INFO] [stdout] | ^^^ expected struct `ggez::Context`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut ggez::Context` [INFO] [stdout] found mutable reference `&mut (ggez::Context, EventLoop<()>)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:190:24 [INFO] [stdout] | [INFO] [stdout] 190 | Image::new(ctx, "/konrad-commander-attack-3.png"), [INFO] [stdout] | ^^^ expected struct `ggez::Context`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut ggez::Context` [INFO] [stdout] found mutable reference `&mut (ggez::Context, EventLoop<()>)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:191:24 [INFO] [stdout] | [INFO] [stdout] 191 | Image::new(ctx, "/konrad-commander-attack-4.png"), [INFO] [stdout] | ^^^ expected struct `ggez::Context`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut ggez::Context` [INFO] [stdout] found mutable reference `&mut (ggez::Context, EventLoop<()>)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | event::run(ctx, state).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ --- ----- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ggez-ed9d3cec31fdee53/63e246d/src/event.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn run(mut ctx: Context, event_loop: EventLoop<()>, mut state: S) -> ! [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for type `!` in the current scope [INFO] [stdout] --> src/main.rs:226:28 [INFO] [stdout] | [INFO] [stdout] 226 | event::run(ctx, state).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `!` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/main.rs:226:28 [INFO] [stdout] | [INFO] [stdout] 226 | event::run(ctx, state).unwrap(); [INFO] [stdout] | ---------------------- ^^^^^^ unreachable call [INFO] [stdout] | | [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `remove_item` found for struct `Vec` in the current scope [INFO] [stdout] --> src/pathfinding.rs:249:32 [INFO] [stdout] | [INFO] [stdout] 249 | directions.remove_item(&relative_adj_dir((x, y), *neighbor)); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/mainstate.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | let font = Font::new(ctx, "/DejaVuSerif.ttf", 10)?; [INFO] [stdout] | ^^^^^^^^^ --- ------------------ -- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ggez-ed9d3cec31fdee53/63e246d/src/graphics/text.rs:439:12 [INFO] [stdout] | [INFO] [stdout] 439 | pub fn new

(context: &mut Context, path: P) -> GameResult [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 3 arguments were supplied [INFO] [stdout] --> src/mainstate.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | .map(|i| Text::new(ctx, &i.to_string(), &font).unwrap()) [INFO] [stdout] | ^^^^^^^^^ --- -------------- ----- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ggez-ed9d3cec31fdee53/63e246d/src/graphics/text.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn new(fragment: F) -> Text [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `ggez::graphics::Text` in the current scope [INFO] [stdout] --> src/mainstate.rs:51:60 [INFO] [stdout] | [INFO] [stdout] 51 | .map(|i| Text::new(ctx, &i.to_string(), &font).unwrap()) [INFO] [stdout] | ^^^^^^ method not found in `ggez::graphics::Text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `DrawParam` has no field named `dest` [INFO] [stdout] --> src/mainstate.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | ... dest: Point2::new(rect_x as f32, rect_y as f32), [INFO] [stdout] | ^^^^ `DrawParam` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `src`, `color`, `trans` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `DrawParam` has no field named `dest` [INFO] [stdout] --> src/mainstate.rs:96:29 [INFO] [stdout] | [INFO] [stdout] 96 | ... dest: Point2::new(rect_x as f32, rect_y as f32), [INFO] [stdout] | ^^^^ `DrawParam` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `src`, `color`, `trans` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/mainstate.rs:171:34 [INFO] [stdout] | [INFO] [stdout] 171 | self.number_texts[x].draw( [INFO] [stdout] | ^^^^ expected 2 arguments [INFO] [stdout] 172 | ctx, [INFO] [stdout] | --- [INFO] [stdout] 173 | / Point2::new( [INFO] [stdout] 174 | | (self.horizontal_padding + self.grid_cell_dim / 2 - 3 [INFO] [stdout] 175 | | + x as u32 * self.grid_cell_dim) as f32, [INFO] [stdout] 176 | | (self.vertical_padding - 20) as f32, [INFO] [stdout] 177 | | ), [INFO] [stdout] | |_________________- [INFO] [stdout] 178 | 0.0, [INFO] [stdout] | --- supplied 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ggez-ed9d3cec31fdee53/63e246d/src/graphics/mod.rs:837:8 [INFO] [stdout] | [INFO] [stdout] 837 | fn draw(&self, ctx: &mut Context, param: DrawParam) -> GameResult; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/mainstate.rs:182:34 [INFO] [stdout] | [INFO] [stdout] 182 | self.number_texts[y].draw( [INFO] [stdout] | ^^^^ expected 2 arguments [INFO] [stdout] 183 | ctx, [INFO] [stdout] | --- [INFO] [stdout] 184 | / Point2::new( [INFO] [stdout] 185 | | (self.horizontal_padding - 20) as f32, [INFO] [stdout] 186 | | (self.vertical_padding + self.grid_cell_dim / 2 - 2 [INFO] [stdout] 187 | | + y as u32 * self.grid_cell_dim) as f32, [INFO] [stdout] 188 | | ), [INFO] [stdout] | |_________________- [INFO] [stdout] 189 | 0.0, [INFO] [stdout] | --- supplied 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ggez-ed9d3cec31fdee53/63e246d/src/graphics/mod.rs:837:8 [INFO] [stdout] | [INFO] [stdout] 837 | fn draw(&self, ctx: &mut Context, param: DrawParam) -> GameResult; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:190:24 [INFO] [stdout] | [INFO] [stdout] 190 | Image::new(ctx, "/konrad-commander-attack-3.png"), [INFO] [stdout] | ^^^ expected struct `ggez::Context`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut ggez::Context` [INFO] [stdout] found mutable reference `&mut (ggez::Context, EventLoop<()>)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 46 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0050, E0053, E0061, E0277, E0308, E0425, E0432, E0560, E0599... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0050`. [INFO] [stdout] [INFO] [stderr] error: could not compile `feg` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:191:24 [INFO] [stdout] | [INFO] [stdout] 191 | Image::new(ctx, "/konrad-commander-attack-4.png"), [INFO] [stdout] | ^^^ expected struct `ggez::Context`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut ggez::Context` [INFO] [stdout] found mutable reference `&mut (ggez::Context, EventLoop<()>)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | event::run(ctx, state).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ --- ----- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ggez-ed9d3cec31fdee53/63e246d/src/event.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn run(mut ctx: Context, event_loop: EventLoop<()>, mut state: S) -> ! [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for type `!` in the current scope [INFO] [stdout] --> src/main.rs:226:28 [INFO] [stdout] | [INFO] [stdout] 226 | event::run(ctx, state).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `!` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/main.rs:226:28 [INFO] [stdout] | [INFO] [stdout] 226 | event::run(ctx, state).unwrap(); [INFO] [stdout] | ---------------------- ^^^^^^ unreachable call [INFO] [stdout] | | [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `remove_item` found for struct `Vec` in the current scope [INFO] [stdout] --> src/pathfinding.rs:249:32 [INFO] [stdout] | [INFO] [stdout] 249 | directions.remove_item(&relative_adj_dir((x, y), *neighbor)); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/mainstate.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | let font = Font::new(ctx, "/DejaVuSerif.ttf", 10)?; [INFO] [stdout] | ^^^^^^^^^ --- ------------------ -- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ggez-ed9d3cec31fdee53/63e246d/src/graphics/text.rs:439:12 [INFO] [stdout] | [INFO] [stdout] 439 | pub fn new

(context: &mut Context, path: P) -> GameResult [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 3 arguments were supplied [INFO] [stdout] --> src/mainstate.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | .map(|i| Text::new(ctx, &i.to_string(), &font).unwrap()) [INFO] [stdout] | ^^^^^^^^^ --- -------------- ----- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ggez-ed9d3cec31fdee53/63e246d/src/graphics/text.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn new(fragment: F) -> Text [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `ggez::graphics::Text` in the current scope [INFO] [stdout] --> src/mainstate.rs:51:60 [INFO] [stdout] | [INFO] [stdout] 51 | .map(|i| Text::new(ctx, &i.to_string(), &font).unwrap()) [INFO] [stdout] | ^^^^^^ method not found in `ggez::graphics::Text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `DrawParam` has no field named `dest` [INFO] [stdout] --> src/mainstate.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | ... dest: Point2::new(rect_x as f32, rect_y as f32), [INFO] [stdout] | ^^^^ `DrawParam` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `src`, `color`, `trans` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `DrawParam` has no field named `dest` [INFO] [stdout] --> src/mainstate.rs:96:29 [INFO] [stdout] | [INFO] [stdout] 96 | ... dest: Point2::new(rect_x as f32, rect_y as f32), [INFO] [stdout] | ^^^^ `DrawParam` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `src`, `color`, `trans` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/mainstate.rs:171:34 [INFO] [stdout] | [INFO] [stdout] 171 | self.number_texts[x].draw( [INFO] [stdout] | ^^^^ expected 2 arguments [INFO] [stdout] 172 | ctx, [INFO] [stdout] | --- [INFO] [stdout] 173 | / Point2::new( [INFO] [stdout] 174 | | (self.horizontal_padding + self.grid_cell_dim / 2 - 3 [INFO] [stdout] 175 | | + x as u32 * self.grid_cell_dim) as f32, [INFO] [stdout] 176 | | (self.vertical_padding - 20) as f32, [INFO] [stdout] 177 | | ), [INFO] [stdout] | |_________________- [INFO] [stdout] 178 | 0.0, [INFO] [stdout] | --- supplied 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ggez-ed9d3cec31fdee53/63e246d/src/graphics/mod.rs:837:8 [INFO] [stdout] | [INFO] [stdout] 837 | fn draw(&self, ctx: &mut Context, param: DrawParam) -> GameResult; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/mainstate.rs:182:34 [INFO] [stdout] | [INFO] [stdout] 182 | self.number_texts[y].draw( [INFO] [stdout] | ^^^^ expected 2 arguments [INFO] [stdout] 183 | ctx, [INFO] [stdout] | --- [INFO] [stdout] 184 | / Point2::new( [INFO] [stdout] 185 | | (self.horizontal_padding - 20) as f32, [INFO] [stdout] 186 | | (self.vertical_padding + self.grid_cell_dim / 2 - 2 [INFO] [stdout] 187 | | + y as u32 * self.grid_cell_dim) as f32, [INFO] [stdout] 188 | | ), [INFO] [stdout] | |_________________- [INFO] [stdout] 189 | 0.0, [INFO] [stdout] | --- supplied 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/ggez-ed9d3cec31fdee53/63e246d/src/graphics/mod.rs:837:8 [INFO] [stdout] | [INFO] [stdout] 837 | fn draw(&self, ctx: &mut Context, param: DrawParam) -> GameResult; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 46 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0050, E0053, E0061, E0277, E0308, E0425, E0432, E0560, E0599... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0050`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "29301df9b8e163a867f1f78b7ac8f7a8262ac3a7504e2b310839405fcd8bea90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29301df9b8e163a867f1f78b7ac8f7a8262ac3a7504e2b310839405fcd8bea90", kill_on_drop: false }` [INFO] [stdout] 29301df9b8e163a867f1f78b7ac8f7a8262ac3a7504e2b310839405fcd8bea90