[INFO] cloning repository https://github.com/Connicpu/ecs-game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Connicpu/ecs-game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FConnicpu%2Fecs-game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FConnicpu%2Fecs-game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9feb1f0459b324808dfa6edae8239b050cb183ed [INFO] checking Connicpu/ecs-game against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FConnicpu%2Fecs-game" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Connicpu/ecs-game on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Connicpu/ecs-game [INFO] finished tweaking git repo https://github.com/Connicpu/ecs-game [INFO] tweaked toml for git repo https://github.com/Connicpu/ecs-game written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/Connicpu/ecs-game already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-5/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 365b60de80b0a15fa3effb6258665e03c0f96c6b4ad84e8ac0bcd53a675984dc [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" "365b60de80b0a15fa3effb6258665e03c0f96c6b4ad84e8ac0bcd53a675984dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "365b60de80b0a15fa3effb6258665e03c0f96c6b4ad84e8ac0bcd53a675984dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "365b60de80b0a15fa3effb6258665e03c0f96c6b4ad84e8ac0bcd53a675984dc", kill_on_drop: false }` [INFO] [stdout] 365b60de80b0a15fa3effb6258665e03c0f96c6b4ad84e8ac0bcd53a675984dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40a2ef9b83e244196d525c9632313f8e873a0f48180acf9f7be3670a23d43181 [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" "40a2ef9b83e244196d525c9632313f8e873a0f48180acf9f7be3670a23d43181", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking smallvec v1.6.0 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking weezl v0.1.3 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking takeable-option v0.5.0 [INFO] [stderr] Checking vec_map v0.4.0 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Compiling wayland-sys v0.28.3 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking libloading v0.6.6 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking ecs v0.23.1 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Compiling nom v6.0.1 [INFO] [stderr] Compiling standback v0.2.14 [INFO] [stderr] Compiling time v0.2.23 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Compiling wayland-scanner v0.28.3 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glium v0.29.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Compiling wayland-client v0.28.3 [INFO] [stderr] Compiling wayland-protocols v0.28.3 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking wayland-commons v0.28.3 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking image v0.23.12 [INFO] [stderr] Checking wayland-cursor v0.28.3 [INFO] [stderr] Checking wayland-egl v0.28.3 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking smithay-client-toolkit v0.12.2 [INFO] [stderr] Checking winit v0.24.0 [INFO] [stderr] Checking glutin v0.26.0 [INFO] [stderr] Checking ecs-game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: no rules expected the token `time` [INFO] [stdout] --> src/systems/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | time: time::Time = time::Time, [INFO] [stdout] | ^^^^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cgmath::rad` [INFO] [stdout] --> src/components/sprite.rs:4:72 [INFO] [stdout] | [INFO] [stdout] 4 | use cgmath::{Point2, Vector2, Vector3, Matrix4, Quaternion, Rotation3, rad}; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | no `rad` in the root [INFO] [stdout] | help: a similar name exists in the module: `Rad` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `glium::backend::glutin_backend` [INFO] [stdout] --> src/components/sprite.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use glium::backend::glutin_backend::GlutinFacade; [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `glutin_backend` in `backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `glium::backend::glutin_backend` [INFO] [stdout] --> src/systems/mod.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use glium::backend::glutin_backend::GlutinFacade; [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `glutin_backend` in `backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cgmath::Point` [INFO] [stdout] --> src/systems/gameplay/camera_follow.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use cgmath::Point; [INFO] [stdout] | ^^^^^^^^----- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `point` [INFO] [stdout] | no `Point` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `glium::glutin::Event` [INFO] [stdout] --> src/systems/input.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use glium::glutin::Event; [INFO] [stdout] | ^^^^^^^^^^^^^^^----- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `event` [INFO] [stdout] | no `Event` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `glium::DisplayBuild` [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | use glium::DisplayBuild; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `DisplayBuild` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `time` [INFO] [stdout] --> src/systems/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | time: time::Time = time::Time, [INFO] [stdout] | ^^^^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cgmath::rad` [INFO] [stdout] --> src/components/sprite.rs:4:72 [INFO] [stdout] | [INFO] [stdout] 4 | use cgmath::{Point2, Vector2, Vector3, Matrix4, Quaternion, Rotation3, rad}; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | no `rad` in the root [INFO] [stdout] | help: a similar name exists in the module: `Rad` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `glium::backend::glutin_backend` [INFO] [stdout] --> src/components/sprite.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use glium::backend::glutin_backend::GlutinFacade; [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `glutin_backend` in `backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `glium::backend::glutin_backend` [INFO] [stdout] --> src/systems/mod.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use glium::backend::glutin_backend::GlutinFacade; [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `glutin_backend` in `backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cgmath::Point` [INFO] [stdout] --> src/systems/gameplay/camera_follow.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use cgmath::Point; [INFO] [stdout] | ^^^^^^^^----- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `point` [INFO] [stdout] | no `Point` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `glium::glutin::Event` [INFO] [stdout] --> src/systems/input.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use glium::glutin::Event; [INFO] [stdout] | ^^^^^^^^^^^^^^^----- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `event` [INFO] [stdout] | no `Event` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `glium::DisplayBuild` [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | use glium::DisplayBuild; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `DisplayBuild` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `CharsError` in `io` [INFO] [stdout] --> src/world/tilemap.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | io::CharsError::NotUtf8 => Error::NotUtf8, [INFO] [stdout] | ^^^^^^^^^^ could not find `CharsError` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `CharsError` in `io` [INFO] [stdout] --> src/world/tilemap.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | io::CharsError::Other(e) => From::from(e), [INFO] [stdout] | ^^^^^^^^^^ could not find `CharsError` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CharsError` in module `io` [INFO] [stdout] --> src/world/tilemap.rs:189:15 [INFO] [stdout] | [INFO] [stdout] 189 | impl From for Error { [INFO] [stdout] | ^^^^^^^^^^ not found in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CharsError` in module `io` [INFO] [stdout] --> src/world/tilemap.rs:190:20 [INFO] [stdout] | [INFO] [stdout] 190 | fn from(e: io::CharsError) -> Error { [INFO] [stdout] | ^^^^^^^^^^ not found in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GameSystems` in module `systems` [INFO] [stdout] --> src/main.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | pub type GameWorld = ecs::World; [INFO] [stdout] | ^^^^^^^^^^^ not found in `systems` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `WindowBuilder` in `glutin` [INFO] [stdout] --> src/main.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | let display = glium::glutin::WindowBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `glium::glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 | use glium::glutin::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/world/tilemap.rs:61:44 [INFO] [stdout] | [INFO] [stdout] 61 | let (width, height, input_tiles) = try!(Tilemap::parse_text_map_input(reader)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/world/tilemap.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | let result = try!(Tilemap::parse_text_map_input(reader)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/world/tilemap.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | let result = try!(<(u32, u32, Vec) as Decodable>::decode(decoder)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/world/tilemap.rs:113:23 [INFO] [stdout] | [INFO] [stdout] 113 | tile_map: try!(tile_map), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/world/tilemap.rs:114:21 [INFO] [stdout] | [INFO] [stdout] 114 | spawns: try!(spawns), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/world/tilemap.rs:93:56 [INFO] [stdout] | [INFO] [stdout] 93 | InputTile::Item(id) => Tile::Breakable(try!(Item::parse(id))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/world/tilemap.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 105 | let entity = try!(EntityType::parse(id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/world/tilemap.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | try!(reader.read_line(&mut line)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/world/tilemap.rs:127:28 [INFO] [stdout] | [INFO] [stdout] 127 | let height_s = try!(split.next().ok_or(Error::BadMapData)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/world/tilemap.rs:128:27 [INFO] [stdout] | [INFO] [stdout] 128 | let width_s = try!(split.next().ok_or(Error::BadMapData)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/world/tilemap.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | width = try!(u32::from_str(width_s).map_err(|_| Error::BadMapData)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/world/tilemap.rs:130:22 [INFO] [stdout] | [INFO] [stdout] 130 | height = try!(u32::from_str(height_s).map_err(|_| Error::BadMapData)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/world/tilemap.rs:136:21 [INFO] [stdout] | [INFO] [stdout] 136 | let c = try!(c); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/components/sprite.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | let tex = try!(Sprite::load_spriteset(image_paths, display)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/components/sprite.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | let image = try!(image::open(image_path)).to_rgba(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ecs::system::entity::EntitySystem` [INFO] [stdout] --> src/systems/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ecs::system::entity::EntitySystem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `components::GameComponents` [INFO] [stdout] --> src/systems/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use components::GameComponents; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `CharsError` in `io` [INFO] [stdout] --> src/world/tilemap.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | io::CharsError::NotUtf8 => Error::NotUtf8, [INFO] [stdout] | ^^^^^^^^^^ could not find `CharsError` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `CharsError` in `io` [INFO] [stdout] --> src/world/tilemap.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | io::CharsError::Other(e) => From::from(e), [INFO] [stdout] | ^^^^^^^^^^ could not find `CharsError` in `io` [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:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | let new_time = time::precise_time_s(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CharsError` in module `io` [INFO] [stdout] --> src/world/tilemap.rs:189:15 [INFO] [stdout] | [INFO] [stdout] 189 | impl From for Error { [INFO] [stdout] | ^^^^^^^^^^ not found in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CharsError` in module `io` [INFO] [stdout] --> src/world/tilemap.rs:190:20 [INFO] [stdout] | [INFO] [stdout] 190 | fn from(e: io::CharsError) -> Error { [INFO] [stdout] | ^^^^^^^^^^ not found in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GameSystems` in module `systems` [INFO] [stdout] --> src/main.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | pub type GameWorld = ecs::World; [INFO] [stdout] | ^^^^^^^^^^^ not found in `systems` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `WindowBuilder` in `glutin` [INFO] [stdout] --> src/main.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | let display = glium::glutin::WindowBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `glium::glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 | use glium::glutin::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/world/tilemap.rs:61:44 [INFO] [stdout] | [INFO] [stdout] 61 | let (width, height, input_tiles) = try!(Tilemap::parse_text_map_input(reader)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/world/tilemap.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | let result = try!(Tilemap::parse_text_map_input(reader)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/world/tilemap.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | let result = try!(<(u32, u32, Vec) as Decodable>::decode(decoder)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/world/tilemap.rs:113:23 [INFO] [stdout] | [INFO] [stdout] 113 | tile_map: try!(tile_map), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/world/tilemap.rs:114:21 [INFO] [stdout] | [INFO] [stdout] 114 | spawns: try!(spawns), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/world/tilemap.rs:93:56 [INFO] [stdout] | [INFO] [stdout] 93 | InputTile::Item(id) => Tile::Breakable(try!(Item::parse(id))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/world/tilemap.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 105 | let entity = try!(EntityType::parse(id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/world/tilemap.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | try!(reader.read_line(&mut line)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/world/tilemap.rs:127:28 [INFO] [stdout] | [INFO] [stdout] 127 | let height_s = try!(split.next().ok_or(Error::BadMapData)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/world/tilemap.rs:128:27 [INFO] [stdout] | [INFO] [stdout] 128 | let width_s = try!(split.next().ok_or(Error::BadMapData)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/world/tilemap.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | width = try!(u32::from_str(width_s).map_err(|_| Error::BadMapData)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/world/tilemap.rs:130:22 [INFO] [stdout] | [INFO] [stdout] 130 | height = try!(u32::from_str(height_s).map_err(|_| Error::BadMapData)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/world/tilemap.rs:136:21 [INFO] [stdout] | [INFO] [stdout] 136 | let c = try!(c); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/components/sprite.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | let tex = try!(Sprite::load_spriteset(image_paths, display)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/components/sprite.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | let image = try!(image::open(image_path)).to_rgba(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ecs::system::entity::EntitySystem` [INFO] [stdout] --> src/systems/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ecs::system::entity::EntitySystem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `components::GameComponents` [INFO] [stdout] --> src/systems/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use components::GameComponents; [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:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | let new_time = time::precise_time_s(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `chars` found for type parameter `R` in the current scope [INFO] [stdout] --> src/world/tilemap.rs:135:25 [INFO] [stdout] | [INFO] [stdout] 135 | for c in reader.chars() { [INFO] [stdout] | ^^^^^ method not found in `R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `image::DynamicImage::to_rgba`: replaced by `to_rgba8` [INFO] [stdout] --> src/components/sprite.rs:45:55 [INFO] [stdout] | [INFO] [stdout] 45 | let image = try!(image::open(image_path)).to_rgba(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `chars` found for type parameter `R` in the current scope [INFO] [stdout] --> src/world/tilemap.rs:135:25 [INFO] [stdout] | [INFO] [stdout] 135 | for c in reader.chars() { [INFO] [stdout] | ^^^^^ method not found in `R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `image::DynamicImage::to_rgba`: replaced by `to_rgba8` [INFO] [stdout] --> src/components/sprite.rs:45:55 [INFO] [stdout] | [INFO] [stdout] 45 | let image = try!(image::open(image_path)).to_rgba(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_vec` found for struct `Point2` in the current scope [INFO] [stdout] --> src/systems/gameplay/camera_follow.rs:13:60 [INFO] [stdout] | [INFO] [stdout] 13 | let pos = data.components.position[e].position.to_vec(); [INFO] [stdout] | ^^^^^^ method not found in `Point2` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use cgmath::EuclideanSpace;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glium::Surface` [INFO] [stdout] --> src/systems/graphics/draw.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use glium::Surface; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_vec` found for struct `Point2` in the current scope [INFO] [stdout] --> src/systems/gameplay/camera_follow.rs:13:60 [INFO] [stdout] | [INFO] [stdout] 13 | let pos = data.components.position[e].position.to_vec(); [INFO] [stdout] | ^^^^^^ method not found in `Point2` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use cgmath::EuclideanSpace;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ecs-game` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `glium::Surface` [INFO] [stdout] --> src/systems/graphics/draw.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use glium::Surface; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "40a2ef9b83e244196d525c9632313f8e873a0f48180acf9f7be3670a23d43181", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40a2ef9b83e244196d525c9632313f8e873a0f48180acf9f7be3670a23d43181", kill_on_drop: false }` [INFO] [stdout] 40a2ef9b83e244196d525c9632313f8e873a0f48180acf9f7be3670a23d43181