[INFO] updating cached repository https://github.com/Connicpu/rgame [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 37fc1527615a187f7d7e297317f760033476db93 [INFO] testing Connicpu/rgame against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FConnicpu%2Frgame" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Connicpu/rgame on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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-0/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" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-0/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" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 712f03ea910910f17cb69b48302548fbaa1376984e05fbc3100d370f6474699a [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" "712f03ea910910f17cb69b48302548fbaa1376984e05fbc3100d370f6474699a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "712f03ea910910f17cb69b48302548fbaa1376984e05fbc3100d370f6474699a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "712f03ea910910f17cb69b48302548fbaa1376984e05fbc3100d370f6474699a", kill_on_drop: false }` [INFO] [stdout] 712f03ea910910f17cb69b48302548fbaa1376984e05fbc3100d370f6474699a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5e4e769029ba24fff0844404d1cad016b13f0ec3d0cf5e41995975d5db3e676 [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" "d5e4e769029ba24fff0844404d1cad016b13f0ec3d0cf5e41995975d5db3e676", kill_on_drop: false }` [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling instant v0.1.6 [INFO] [stderr] Compiling takeable-option v0.5.0 [INFO] [stderr] Compiling vec_map v0.4.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytemuck v1.3.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling ecs v0.23.1 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling tiff v0.5.0 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling png v0.16.7 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling glium v0.27.0 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling calloop v0.4.4 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling image v0.23.8 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.6 [INFO] [stderr] Compiling winit v0.22.2 [INFO] [stderr] Compiling glutin v0.24.1 [INFO] [stderr] Compiling 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[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] | ^^^^^^^^^^^^^ could not find `WindowBuilder` in `glutin` [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[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(old_io, std_misc, libc)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] [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] [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item '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 item '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[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 `image::DynamicImage: glium::texture::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 `glium::texture::Texture2dDataSource<'_>` is not implemented for `image::DynamicImage` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/target/debug/build/glium-045f942fb3c91ee9/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 `std::vec::Vec` [INFO] [stdout] | help: consider borrowing here: `&vertices.to_vec()` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[_]` [INFO] [stdout] found struct `std::vec::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 `glium::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 `glium::vertex::VerticesSource<'_>: std::convert::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 `std::convert::From<&std::result::Result, glium::vertex::BufferCreationError>>` is not implemented for `glium::vertex::VerticesSource<'_>` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `std::convert::Into>` for `&std::result::Result, glium::vertex::BufferCreationError>` [INFO] [stdout] = note: required because of the requirements on the impl of `glium::vertex::MultiVerticesSource<'_>` for `&std::result::Result, glium::vertex::BufferCreationError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `glium::index::IndicesSource<'_>: std::convert::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 `std::convert::From<&std::result::Result, glium::index::BufferCreationError>>` is not implemented for `glium::index::IndicesSource<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as std::convert::From<&'a glium::IndexBuffer>> [INFO] [stdout] as std::convert::From<&'a glium::index::IndexBufferAny>> [INFO] [stdout] as std::convert::From<&'b glium::index::NoIndices>> [INFO] [stdout] as std::convert::From<&'r glium::index::IndexBufferSlice<'a, T>>> [INFO] [stdout] and 2 others [INFO] [stdout] = note: required because of the requirements on the impl of `std::convert::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 42 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] running `Command { std: "docker" "inspect" "d5e4e769029ba24fff0844404d1cad016b13f0ec3d0cf5e41995975d5db3e676", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5e4e769029ba24fff0844404d1cad016b13f0ec3d0cf5e41995975d5db3e676", kill_on_drop: false }` [INFO] [stdout] d5e4e769029ba24fff0844404d1cad016b13f0ec3d0cf5e41995975d5db3e676