[INFO] cloning repository https://github.com/Connicpu/rgame [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Connicpu/rgame" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FConnicpu%2Frgame", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FConnicpu%2Frgame'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 37fc1527615a187f7d7e297317f760033476db93 [INFO] checking Connicpu/rgame against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FConnicpu%2Frgame" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Connicpu/rgame on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Connicpu/rgame [INFO] finished tweaking git repo https://github.com/Connicpu/rgame [INFO] tweaked toml for git repo https://github.com/Connicpu/rgame written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/Connicpu/rgame already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded downcast-rs v1.2.0 [INFO] [stderr] Downloaded ndk-macro v0.2.0 [INFO] [stderr] Downloaded lock_api v0.4.1 [INFO] [stderr] Downloaded darling_macro v0.10.2 [INFO] [stderr] Downloaded toml v0.5.6 [INFO] [stderr] Downloaded proc-macro-crate v0.1.5 [INFO] [stderr] Downloaded instant v0.1.7 [INFO] [stderr] Downloaded nom v5.1.2 [INFO] [stderr] Downloaded ndk-sys v0.2.0 [INFO] [stderr] Downloaded ndk-glue v0.2.0 [INFO] [stderr] Downloaded mio-extras v2.0.6 [INFO] [stderr] Downloaded core-graphics v0.19.2 [INFO] [stderr] Downloaded cocoa-foundation v0.1.0 [INFO] [stderr] Downloaded glutin_egl_sys v0.1.5 [INFO] [stderr] Downloaded glutin_emscripten_sys v0.1.1 [INFO] [stderr] Downloaded thiserror-impl v1.0.21 [INFO] [stderr] Downloaded core-foundation v0.7.0 [INFO] [stderr] Downloaded cgl v0.3.2 [INFO] [stderr] Downloaded glutin_wgl_sys v0.1.5 [INFO] [stderr] Downloaded takeable-option v0.5.0 [INFO] [stderr] Downloaded core-graphics v0.22.1 [INFO] [stderr] Downloaded miniz_oxide v0.4.3 [INFO] [stderr] Downloaded vec_map v0.4.0 [INFO] [stderr] Downloaded addr2line v0.13.0 [INFO] [stderr] Downloaded png v0.16.7 [INFO] [stderr] Downloaded wayland-commons v0.28.0 [INFO] [stderr] Downloaded libloading v0.6.3 [INFO] [stderr] Downloaded dlib v0.4.2 [INFO] [stderr] Downloaded adler32 v1.2.0 [INFO] [stderr] Downloaded xml-rs v0.8.3 [INFO] [stderr] Downloaded cc v1.0.61 [INFO] [stderr] Downloaded standback v0.2.11 [INFO] [stderr] Downloaded glutin v0.25.0 [INFO] [stderr] Downloaded stdweb-derive v0.5.3 [INFO] [stderr] Downloaded time v0.2.22 [INFO] [stderr] Downloaded wayland-client v0.28.0 [INFO] [stderr] Downloaded time-macros-impl v0.1.1 [INFO] [stderr] Downloaded wayland-egl v0.28.0 [INFO] [stderr] Downloaded khronos_api v3.1.0 [INFO] [stderr] Downloaded glium v0.28.0 [INFO] [stderr] Downloaded object v0.20.0 [INFO] [stderr] Downloaded adler v0.2.3 [INFO] [stderr] Downloaded core-foundation-sys v0.7.0 [INFO] [stderr] Downloaded pkg-config v0.3.18 [INFO] [stderr] Downloaded gimli v0.22.0 [INFO] [stderr] Downloaded ecs v0.23.1 [INFO] [stderr] Downloaded owned_ttf_parser v0.6.0 [INFO] [stderr] Downloaded weezl v0.1.1 [INFO] [stderr] Downloaded mio v0.6.22 [INFO] [stderr] Downloaded nix v0.18.0 [INFO] [stderr] Downloaded stdweb-internal-runtime v0.1.5 [INFO] [stderr] Downloaded jpeg-decoder v0.1.20 [INFO] [stderr] Downloaded image v0.23.10 [INFO] [stderr] Downloaded stdweb v0.4.20 [INFO] [stderr] Downloaded miniz_oxide v0.3.7 [INFO] [stderr] Downloaded time-macros v0.1.1 [INFO] [stderr] Downloaded x11-dl v2.18.5 [INFO] [stderr] Downloaded const_fn v0.4.2 [INFO] [stderr] Downloaded base-x v0.2.6 [INFO] [stderr] Downloaded num-iter v0.1.41 [INFO] [stderr] Downloaded wayland-scanner v0.28.0 [INFO] [stderr] Downloaded wayland-sys v0.28.0 [INFO] [stderr] Downloaded bytemuck v1.4.1 [INFO] [stderr] Downloaded gif v0.11.1 [INFO] [stderr] Downloaded deflate v0.8.6 [INFO] [stderr] Downloaded tiff v0.5.0 [INFO] [stderr] Downloaded discard v1.0.4 [INFO] [stderr] Downloaded stdweb-internal-macros v0.2.9 [INFO] [stderr] Downloaded rustc-demangle v0.1.17 [INFO] [stderr] Downloaded backtrace v0.3.52 [INFO] [stderr] Downloaded version_check v0.9.2 [INFO] [stderr] Downloaded core-foundation-sys v0.8.1 [INFO] [stderr] Downloaded core-foundation v0.9.1 [INFO] [stderr] Downloaded dispatch v0.2.0 [INFO] [stderr] Downloaded strsim v0.9.3 [INFO] [stderr] Downloaded jni-sys v0.3.0 [INFO] [stderr] Downloaded glutin_gles2_sys v0.1.5 [INFO] [stderr] Downloaded rusttype v0.9.2 [INFO] [stderr] Downloaded lazycell v1.3.0 [INFO] [stderr] Downloaded fnv v1.0.7 [INFO] [stderr] Downloaded darling_core v0.10.2 [INFO] [stderr] Downloaded thiserror v1.0.21 [INFO] [stderr] Downloaded glutin_glx_sys v0.1.7 [INFO] [stderr] Downloaded gl_generator v0.14.0 [INFO] [stderr] Downloaded cocoa v0.23.0 [INFO] [stderr] Downloaded core-graphics-types v0.1.1 [INFO] [stderr] Downloaded ndk v0.2.0 [INFO] [stderr] Downloaded core-video-sys v0.1.4 [INFO] [stderr] Downloaded derivative v2.1.1 [INFO] [stderr] Downloaded num_enum_derive v0.4.3 [INFO] [stderr] Downloaded num_enum v0.4.3 [INFO] [stderr] Downloaded ident_case v1.0.1 [INFO] [stderr] Downloaded darling v0.10.2 [INFO] [stderr] Downloaded ab_glyph_rasterizer v0.1.3 [INFO] [stderr] Downloaded calloop v0.6.5 [INFO] [stderr] Downloaded cloudabi v0.1.0 [INFO] [stderr] Downloaded smithay-client-toolkit v0.12.0 [INFO] [stderr] Downloaded parking_lot v0.11.0 [INFO] [stderr] Downloaded parking_lot_core v0.8.0 [INFO] [stderr] Downloaded ttf-parser v0.6.2 [INFO] [stderr] Downloaded scoped-tls v1.0.0 [INFO] [stderr] Downloaded xcursor v0.3.2 [INFO] [stderr] Downloaded wayland-cursor v0.28.0 [INFO] [stderr] Downloaded wayland-protocols v0.28.0 [INFO] [stderr] Downloaded objc v0.2.7 [INFO] [stderr] Downloaded raw-window-handle v0.3.3 [INFO] [stderr] Downloaded line_drawing v0.8.0 [INFO] [stderr] Downloaded andrew v0.3.0 [INFO] [stderr] Downloaded winit v0.23.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b57d5728efd335def9dddc25d165a96e2b4d6ec1e64dba9805831f75493cfe94 [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" "b57d5728efd335def9dddc25d165a96e2b4d6ec1e64dba9805831f75493cfe94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b57d5728efd335def9dddc25d165a96e2b4d6ec1e64dba9805831f75493cfe94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b57d5728efd335def9dddc25d165a96e2b4d6ec1e64dba9805831f75493cfe94", kill_on_drop: false }` [INFO] [stdout] b57d5728efd335def9dddc25d165a96e2b4d6ec1e64dba9805831f75493cfe94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79d2e42b015d0b63902ac24e9dbc46549bcfa896876d8cf4fd4c13f2a8dd0d5b [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" "79d2e42b015d0b63902ac24e9dbc46549bcfa896876d8cf4fd4c13f2a8dd0d5b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling libloading v0.6.3 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Compiling rayon-core v1.8.1 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Compiling winit v0.23.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking rustc-demangle v0.1.17 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking vec_map v0.4.0 [INFO] [stderr] Checking takeable-option v0.5.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling standback v0.2.11 [INFO] [stderr] Compiling time v0.2.22 [INFO] [stderr] Checking instant v0.1.7 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking ecs v0.23.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling rayon v1.4.1 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling wayland-sys v0.28.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Compiling wayland-scanner v0.28.0 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glium v0.28.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking line_drawing v0.8.0 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking andrew v0.3.0 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking xcursor v0.3.2 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Compiling wayland-client v0.28.0 [INFO] [stderr] Compiling wayland-protocols v0.28.0 [INFO] [stderr] Checking backtrace v0.3.52 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking wayland-commons v0.28.0 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking image v0.23.10 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking wayland-cursor v0.28.0 [INFO] [stderr] Checking wayland-egl v0.28.0 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking smithay-client-toolkit v0.12.0 [INFO] [stderr] Checking glutin v0.25.0 [INFO] [stderr] Checking rgame v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: no rules expected the token `Components` [INFO] [stdout] --> src/components/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Components { [INFO] [stdout] | ^^^^^^^^^^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/systems/acceleration_physics.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | impl System for AccelerationPhysics { system_boilerplate!(); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ missing tokens in macro arguments [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | macro_rules! system_boilerplate { [INFO] [stdout] | ------------------------------- when calling this macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/systems/graphics/sprites.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | impl System for SpriteSystem { system_boilerplate!(); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ missing tokens in macro arguments [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | macro_rules! system_boilerplate { [INFO] [stdout] | ------------------------------- when calling this macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/systems/graphics/mod.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | impl System for GraphicsSystem { system_boilerplate!(); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ missing tokens in macro arguments [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | macro_rules! system_boilerplate { [INFO] [stdout] | ------------------------------- when calling this macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/systems/quit.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | impl System for QuitSystem { system_boilerplate!(); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ missing tokens in macro arguments [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | macro_rules! system_boilerplate { [INFO] [stdout] | ------------------------------- when calling this macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/systems/time.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | impl System for TimeSystem { system_boilerplate!(); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ missing tokens in macro arguments [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | macro_rules! system_boilerplate { [INFO] [stdout] | ------------------------------- when calling this macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `Systems` [INFO] [stdout] --> src/systems/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Systems { [INFO] [stdout] | ^^^^^^^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/main.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | use std::old_io::BufReader; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `glium::index::TriangleStrip` [INFO] [stdout] --> src/components/graphics.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use glium::index::TriangleStrip; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `TriangleStrip` in `index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `glium::DisplayBuild` [INFO] [stdout] --> src/systems/graphics/mod.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use glium::DisplayBuild; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `DisplayBuild` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `old_io` in `std` [INFO] [stdout] --> src/systems/quit.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::old_io::timer::sleep; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `glutin::Event` [INFO] [stdout] --> src/systems/graphics/mod.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | use glutin::Event; [INFO] [stdout] | ^^^^^^^^----- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `event` [INFO] [stdout] | no `Event` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::time::duration` [INFO] [stdout] --> src/systems/quit.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::duration::Duration; [INFO] [stdout] | ^^^^^^^^ could not find `duration` in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `components::Components` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use components::Components; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `Components` in `components` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::Components` [INFO] [stdout] --> src/components/graphics.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use super::Components; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Components` in `components` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `components::Components` [INFO] [stdout] --> src/systems/mod.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use components::{Components, core}; [INFO] [stdout] | ^^^^^^^^^^ no `Components` in `components` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `systems::Systems`, `systems::Services` [INFO] [stdout] --> src/main.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | use systems::{Systems, Services}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ no `Services` in `systems` [INFO] [stdout] | | [INFO] [stdout] | no `Systems` in `systems` [INFO] [stdout] | help: a similar name exists in the module: `System` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `services` in this scope [INFO] [stdout] --> src/systems/mod.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | services! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `Components` [INFO] [stdout] --> src/components/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Components { [INFO] [stdout] | ^^^^^^^^^^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `WindowBuilder` in `glutin` [INFO] [stdout] --> src/systems/graphics/mod.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | let display = glutin::WindowBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use glutin::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sleep` in this scope [INFO] [stdout] --> src/systems/quit.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | sleep(Duration::milliseconds(10)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use libc::sleep; [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::sleep; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Components` in module `$crate::components` [INFO] [stdout] --> src/main.rs:27:51 [INFO] [stdout] | [INFO] [stdout] 27 | type Components = $crate::components::Components; [INFO] [stdout] | ^^^^^^^^^^ not found in `$crate::components` [INFO] [stdout] | [INFO] [stdout] ::: src/systems/velocity_physics.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | system_boilerplate!(VelocityPhysics); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Components; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Services` in module `$crate::systems` [INFO] [stdout] --> src/main.rs:28:46 [INFO] [stdout] | [INFO] [stdout] 28 | type Services = $crate::systems::Services; [INFO] [stdout] | ^^^^^^^^ not found in `$crate::systems` [INFO] [stdout] | [INFO] [stdout] ::: src/systems/velocity_physics.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | system_boilerplate!(VelocityPhysics); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PNG` in crate `image` [INFO] [stdout] --> src/main.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | image::PNG).unwrap(); [INFO] [stdout] | ^^^ not found in `image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/systems/acceleration_physics.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | impl System for AccelerationPhysics { system_boilerplate!(); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ missing tokens in macro arguments [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | macro_rules! system_boilerplate { [INFO] [stdout] | ------------------------------- when calling this macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/systems/graphics/sprites.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | impl System for SpriteSystem { system_boilerplate!(); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ missing tokens in macro arguments [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | macro_rules! system_boilerplate { [INFO] [stdout] | ------------------------------- when calling this macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/systems/graphics/mod.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | impl System for GraphicsSystem { system_boilerplate!(); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ missing tokens in macro arguments [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | macro_rules! system_boilerplate { [INFO] [stdout] | ------------------------------- when calling this macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/systems/quit.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | impl System for QuitSystem { system_boilerplate!(); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ missing tokens in macro arguments [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | macro_rules! system_boilerplate { [INFO] [stdout] | ------------------------------- when calling this macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/systems/time.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | impl System for TimeSystem { system_boilerplate!(); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ missing tokens in macro arguments [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | macro_rules! system_boilerplate { [INFO] [stdout] | ------------------------------- when calling this macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `Systems` [INFO] [stdout] --> src/systems/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Systems { [INFO] [stdout] | ^^^^^^^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/main.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | use std::old_io::BufReader; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `glium::index::TriangleStrip` [INFO] [stdout] --> src/components/graphics.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use glium::index::TriangleStrip; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `TriangleStrip` in `index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `glium::DisplayBuild` [INFO] [stdout] --> src/systems/graphics/mod.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use glium::DisplayBuild; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `DisplayBuild` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `old_io` in `std` [INFO] [stdout] --> src/systems/quit.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::old_io::timer::sleep; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ecs::System` [INFO] [stdout] --> src/systems/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ecs::System; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `glutin::Event` [INFO] [stdout] --> src/systems/graphics/mod.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | use glutin::Event; [INFO] [stdout] | ^^^^^^^^----- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `event` [INFO] [stdout] | no `Event` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ecs::system::EntitySystem` [INFO] [stdout] --> src/systems/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ecs::system::EntitySystem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::time::duration` [INFO] [stdout] --> src/systems/quit.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::duration::Duration; [INFO] [stdout] | ^^^^^^^^ could not find `duration` in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `components::Components` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use components::Components; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `Components` in `components` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core` [INFO] [stdout] --> src/systems/mod.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use components::{Components, core}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::Components` [INFO] [stdout] --> src/components/graphics.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use super::Components; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Components` in `components` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `components::Components` [INFO] [stdout] --> src/systems/mod.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use components::{Components, core}; [INFO] [stdout] | ^^^^^^^^^^ no `Components` in `components` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::velocity_physics as vp` [INFO] [stdout] --> src/systems/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use self::velocity_physics as vp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `systems::Systems`, `systems::Services` [INFO] [stdout] --> src/main.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | use systems::{Systems, Services}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ no `Services` in `systems` [INFO] [stdout] | | [INFO] [stdout] | no `Systems` in `systems` [INFO] [stdout] | help: a similar name exists in the module: `System` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `services` in this scope [INFO] [stdout] --> src/systems/mod.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | services! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::acceleration_physics as ap` [INFO] [stdout] --> src/systems/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use self::acceleration_physics as ap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `components as comps` [INFO] [stdout] --> src/systems/acceleration_physics.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use components as comps; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `components as comps` [INFO] [stdout] --> src/systems/graphics/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use components as comps; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `components as comps` [INFO] [stdout] --> src/systems/graphics/sprites.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use components as comps; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `glutin` is imported redundantly [INFO] [stdout] --> src/systems/graphics/mod.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use glutin; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate glutin; [INFO] [stdout] | -------------------- the item `glutin` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/systems/graphics/mod.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | use libc; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate libc; [INFO] [stdout] | ------------------ the item `libc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `components as comps` [INFO] [stdout] --> src/systems/quit.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use components as comps; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `components as comps` [INFO] [stdout] --> src/systems/time.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use components as comps; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ecs::System` [INFO] [stdout] --> src/systems/velocity_physics.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ecs::System; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `components as comps` [INFO] [stdout] --> src/systems/velocity_physics.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use components as comps; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate libc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/systems/graphics/mod.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | use libc; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/systems/graphics/mod.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | libc::exit(0); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `WindowBuilder` in `glutin` [INFO] [stdout] --> src/systems/graphics/mod.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | let display = glutin::WindowBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use glutin::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sleep` in this scope [INFO] [stdout] --> src/systems/quit.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | sleep(Duration::milliseconds(10)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use libc::sleep; [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::sleep; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Components` in module `$crate::components` [INFO] [stdout] --> src/main.rs:27:51 [INFO] [stdout] | [INFO] [stdout] 27 | type Components = $crate::components::Components; [INFO] [stdout] | ^^^^^^^^^^ not found in `$crate::components` [INFO] [stdout] | [INFO] [stdout] ::: src/systems/velocity_physics.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | system_boilerplate!(VelocityPhysics); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Components; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Services` in module `$crate::systems` [INFO] [stdout] --> src/main.rs:28:46 [INFO] [stdout] | [INFO] [stdout] 28 | type Services = $crate::systems::Services; [INFO] [stdout] | ^^^^^^^^ not found in `$crate::systems` [INFO] [stdout] | [INFO] [stdout] ::: src/systems/velocity_physics.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | system_boilerplate!(VelocityPhysics); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PNG` in crate `image` [INFO] [stdout] --> src/main.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | image::PNG).unwrap(); [INFO] [stdout] | ^^^ not found in `image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ecs::System` [INFO] [stdout] --> src/systems/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ecs::System; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ecs::system::EntitySystem` [INFO] [stdout] --> src/systems/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ecs::system::EntitySystem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core` [INFO] [stdout] --> src/systems/mod.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use components::{Components, core}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::velocity_physics as vp` [INFO] [stdout] --> src/systems/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use self::velocity_physics as vp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::acceleration_physics as ap` [INFO] [stdout] --> src/systems/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use self::acceleration_physics as ap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `components as comps` [INFO] [stdout] --> src/systems/acceleration_physics.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use components as comps; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `components as comps` [INFO] [stdout] --> src/systems/graphics/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use components as comps; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `components as comps` [INFO] [stdout] --> src/systems/graphics/sprites.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use components as comps; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `glutin` is imported redundantly [INFO] [stdout] --> src/systems/graphics/mod.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use glutin; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate glutin; [INFO] [stdout] | -------------------- the item `glutin` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/systems/graphics/mod.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | use libc; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate libc; [INFO] [stdout] | ------------------ the item `libc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `components as comps` [INFO] [stdout] --> src/systems/quit.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use components as comps; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `components as comps` [INFO] [stdout] --> src/systems/time.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use components as comps; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ecs::System` [INFO] [stdout] --> src/systems/velocity_physics.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ecs::System; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `components as comps` [INFO] [stdout] --> src/systems/velocity_physics.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use components as comps; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate libc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/systems/graphics/mod.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | use libc; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/systems/graphics/mod.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | libc::exit(0); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_s`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/systems/time.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use time::precise_time_s; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_s`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/systems/time.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | let ctime = precise_time_s(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_s`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/systems/time.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | self.curr_time = precise_time_s(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_s`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/systems/time.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use time::precise_time_s; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_s`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/systems/time.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | let ctime = precise_time_s(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_s`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/systems/time.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | self.curr_time = precise_time_s(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Components`, `Services` [INFO] [stdout] --> src/systems/acceleration_physics.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | impl System for AccelerationPhysics { system_boilerplate!(); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Components`, `Services` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Components = Type;` [INFO] [stdout] = help: implement the missing item: `type Services = Type;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Components`, `Services` [INFO] [stdout] --> src/systems/graphics/mod.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | impl System for GraphicsSystem { system_boilerplate!(); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Components`, `Services` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Components = Type;` [INFO] [stdout] = help: implement the missing item: `type Services = Type;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Components`, `Services` [INFO] [stdout] --> src/systems/graphics/sprites.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | impl System for SpriteSystem { system_boilerplate!(); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Components`, `Services` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Components = Type;` [INFO] [stdout] = help: implement the missing item: `type Services = Type;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Components`, `Services` [INFO] [stdout] --> src/systems/quit.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl System for QuitSystem { system_boilerplate!(); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Components`, `Services` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Components = Type;` [INFO] [stdout] = help: implement the missing item: `type Services = Type;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Components`, `Services` [INFO] [stdout] --> src/systems/time.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | impl System for TimeSystem { system_boilerplate!(); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Components`, `Services` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Components = Type;` [INFO] [stdout] = help: implement the missing item: `type Services = Type;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Components`, `Services` [INFO] [stdout] --> src/systems/acceleration_physics.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | impl System for AccelerationPhysics { system_boilerplate!(); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Components`, `Services` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Components = Type;` [INFO] [stdout] = help: implement the missing item: `type Services = Type;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Components`, `Services` [INFO] [stdout] --> src/systems/graphics/mod.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | impl System for GraphicsSystem { system_boilerplate!(); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Components`, `Services` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Components = Type;` [INFO] [stdout] = help: implement the missing item: `type Services = Type;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Components`, `Services` [INFO] [stdout] --> src/systems/graphics/sprites.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | impl System for SpriteSystem { system_boilerplate!(); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Components`, `Services` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Components = Type;` [INFO] [stdout] = help: implement the missing item: `type Services = Type;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Components`, `Services` [INFO] [stdout] --> src/systems/quit.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl System for QuitSystem { system_boilerplate!(); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Components`, `Services` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Components = Type;` [INFO] [stdout] = help: implement the missing item: `type Services = Type;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Components`, `Services` [INFO] [stdout] --> src/systems/time.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | impl System for TimeSystem { system_boilerplate!(); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Components`, `Services` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Components = Type;` [INFO] [stdout] = help: implement the missing item: `type Services = Type;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 1, found 0 [INFO] [stdout] --> src/main.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | |entity: BuildData, data: &mut Components| { [INFO] [stdout] | ^^^^^^^^^ expected 1 type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 1, found 0 [INFO] [stdout] --> src/main.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | |entity: BuildData, data: &mut Components| { [INFO] [stdout] | ^^^^^^^^^ expected 1 type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DynamicImage: Texture2dDataSource<'_>` is not satisfied [INFO] [stdout] --> src/main.rs:55:50 [INFO] [stdout] | [INFO] [stdout] 55 | let sprite = Texture2d::new(display, img); [INFO] [stdout] | ^^^ the trait `Texture2dDataSource<'_>` is not implemented for `DynamicImage` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/target/debug/build/glium-e9ea4aa42b882713/out/textures.rs:2860:40 [INFO] [stdout] | [INFO] [stdout] 2860 | ... where T: Texture2dDataSource<'a>, F: Facade [INFO] [stdout] | ----------------------- required by this bound in `glium::Texture2d::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DynamicImage: Texture2dDataSource<'_>` is not satisfied [INFO] [stdout] --> src/main.rs:55:50 [INFO] [stdout] | [INFO] [stdout] 55 | let sprite = Texture2d::new(display, img); [INFO] [stdout] | ^^^ the trait `Texture2dDataSource<'_>` is not implemented for `DynamicImage` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/target/debug/build/glium-e9ea4aa42b882713/out/textures.rs:2860:40 [INFO] [stdout] | [INFO] [stdout] 2860 | ... where T: Texture2dDataSource<'a>, F: Facade [INFO] [stdout] | ----------------------- required by this bound in `glium::Texture2d::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:56:65 [INFO] [stdout] | [INFO] [stdout] 56 | data.sprite.add(&entity, Sprite { texture: Arc::new(sprite) }); [INFO] [stdout] | ^^^^^^ expected struct `glium::Texture2d`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `glium::Texture2d` [INFO] [stdout] found enum `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 1, found 2 [INFO] [stdout] --> src/main.rs:62:41 [INFO] [stdout] | [INFO] [stdout] 62 | let mut world = World::::new(); [INFO] [stdout] | ^^^^^^^ unexpected type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/components/graphics.rs:56:50 [INFO] [stdout] | [INFO] [stdout] 56 | let vbuffer = VertexBuffer::new(display, vertices.to_vec()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[_]`, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&vertices.to_vec()` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[_]` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/components/graphics.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | let ibuffer = IndexBuffer::new(display, TriangleStrip(vec![0, 1, 2, 3u8])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ------- --------------------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `blending_function` on type `DrawParameters<'_>` [INFO] [stdout] --> src/components/graphics.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | draw_params.blending_function = Some( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `depth`, `stencil`, `blend`, `color_mask`, `line_width` ... and 19 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `VerticesSource<'_>: From<&std::result::Result, glium::vertex::BufferCreationError>>` is not satisfied [INFO] [stdout] --> src/components/graphics.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | target.draw(&vbuffer, &ibuffer, program, &uniforms, &draw_params).unwrap(); [INFO] [stdout] | ^^^^ the trait `From<&std::result::Result, glium::vertex::BufferCreationError>>` is not implemented for `VerticesSource<'_>` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `&std::result::Result, glium::vertex::BufferCreationError>` [INFO] [stdout] = note: required because of the requirements on the impl of `MultiVerticesSource<'_>` for `&std::result::Result, glium::vertex::BufferCreationError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `IndicesSource<'_>: From<&std::result::Result, glium::index::BufferCreationError>>` is not satisfied [INFO] [stdout] --> src/components/graphics.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | target.draw(&vbuffer, &ibuffer, program, &uniforms, &draw_params).unwrap(); [INFO] [stdout] | ^^^^ the trait `From<&std::result::Result, glium::index::BufferCreationError>>` is not implemented for `IndicesSource<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as From<&'a IndexBufferAny>> [INFO] [stdout] as From<&'a glium::IndexBuffer>> [INFO] [stdout] as From<&'b glium::index::NoIndices>> [INFO] [stdout] as From<&'r IndexBufferSlice<'a, T>>> [INFO] [stdout] and 2 others [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `&std::result::Result, glium::index::BufferCreationError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_events` found for struct `glium::Display` in the current scope [INFO] [stdout] --> src/systems/graphics/mod.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | for event in self.display.poll_events() { [INFO] [stdout] | ^^^^^^^^^^^ method not found in `glium::Display` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 41 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0061, E0107, E0277, E0308, E0412, E0425, E0432, E0433... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rgame` [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:56:65 [INFO] [stdout] | [INFO] [stdout] 56 | data.sprite.add(&entity, Sprite { texture: Arc::new(sprite) }); [INFO] [stdout] | ^^^^^^ expected struct `glium::Texture2d`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `glium::Texture2d` [INFO] [stdout] found enum `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 1, found 2 [INFO] [stdout] --> src/main.rs:62:41 [INFO] [stdout] | [INFO] [stdout] 62 | let mut world = World::::new(); [INFO] [stdout] | ^^^^^^^ unexpected type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/components/graphics.rs:56:50 [INFO] [stdout] | [INFO] [stdout] 56 | let vbuffer = VertexBuffer::new(display, vertices.to_vec()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[_]`, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&vertices.to_vec()` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[_]` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/components/graphics.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | let ibuffer = IndexBuffer::new(display, TriangleStrip(vec![0, 1, 2, 3u8])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ------- --------------------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `blending_function` on type `DrawParameters<'_>` [INFO] [stdout] --> src/components/graphics.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | draw_params.blending_function = Some( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `depth`, `stencil`, `blend`, `color_mask`, `line_width` ... and 19 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `VerticesSource<'_>: From<&std::result::Result, glium::vertex::BufferCreationError>>` is not satisfied [INFO] [stdout] --> src/components/graphics.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | target.draw(&vbuffer, &ibuffer, program, &uniforms, &draw_params).unwrap(); [INFO] [stdout] | ^^^^ the trait `From<&std::result::Result, glium::vertex::BufferCreationError>>` is not implemented for `VerticesSource<'_>` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `&std::result::Result, glium::vertex::BufferCreationError>` [INFO] [stdout] = note: required because of the requirements on the impl of `MultiVerticesSource<'_>` for `&std::result::Result, glium::vertex::BufferCreationError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `IndicesSource<'_>: From<&std::result::Result, glium::index::BufferCreationError>>` is not satisfied [INFO] [stdout] --> src/components/graphics.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | target.draw(&vbuffer, &ibuffer, program, &uniforms, &draw_params).unwrap(); [INFO] [stdout] | ^^^^ the trait `From<&std::result::Result, glium::index::BufferCreationError>>` is not implemented for `IndicesSource<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as From<&'a IndexBufferAny>> [INFO] [stdout] as From<&'a glium::IndexBuffer>> [INFO] [stdout] as From<&'b glium::index::NoIndices>> [INFO] [stdout] as From<&'r IndexBufferSlice<'a, T>>> [INFO] [stdout] and 2 others [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `&std::result::Result, glium::index::BufferCreationError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_events` found for struct `glium::Display` in the current scope [INFO] [stdout] --> src/systems/graphics/mod.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | for event in self.display.poll_events() { [INFO] [stdout] | ^^^^^^^^^^^ method not found in `glium::Display` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 41 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0061, E0107, E0277, E0308, E0412, E0425, E0432, E0433... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "79d2e42b015d0b63902ac24e9dbc46549bcfa896876d8cf4fd4c13f2a8dd0d5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79d2e42b015d0b63902ac24e9dbc46549bcfa896876d8cf4fd4c13f2a8dd0d5b", kill_on_drop: false }` [INFO] [stdout] 79d2e42b015d0b63902ac24e9dbc46549bcfa896876d8cf4fd4c13f2a8dd0d5b