[INFO] cloning repository https://github.com/caswang0117/2D-Game-Engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/caswang0117/2D-Game-Engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaswang0117%2F2D-Game-Engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaswang0117%2F2D-Game-Engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2dbc15c717eaadc3e76ab3fc4332ffb9cdcec4c8 [INFO] checking caswang0117/2D-Game-Engine against master#195ad4830e11a544391abe296b146450dea8411b for pr-82781 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaswang0117%2F2D-Game-Engine" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/caswang0117/2D-Game-Engine on toolchain 195ad4830e11a544391abe296b146450dea8411b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/caswang0117/2D-Game-Engine [INFO] finished tweaking git repo https://github.com/caswang0117/2D-Game-Engine [INFO] tweaked toml for git repo https://github.com/caswang0117/2D-Game-Engine written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/caswang0117/2D-Game-Engine already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38ffe493d24751cf392cef8e0ca681086314fabf87840b6054f13e4dce8d44d5 [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" "38ffe493d24751cf392cef8e0ca681086314fabf87840b6054f13e4dce8d44d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38ffe493d24751cf392cef8e0ca681086314fabf87840b6054f13e4dce8d44d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38ffe493d24751cf392cef8e0ca681086314fabf87840b6054f13e4dce8d44d5", kill_on_drop: false }` [INFO] [stdout] 38ffe493d24751cf392cef8e0ca681086314fabf87840b6054f13e4dce8d44d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90602c17ad8c0784d9d55c4196f9e4d6ee46d4ea59fb10a5885e4b350e695dd2 [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" "90602c17ad8c0784d9d55c4196f9e4d6ee46d4ea59fb10a5885e4b350e695dd2", kill_on_drop: false }` [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking pin-project-lite v0.2.4 [INFO] [stderr] Checking futures-core v0.3.12 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking futures-sink v0.3.12 [INFO] [stderr] Checking futures-io v0.3.12 [INFO] [stderr] Compiling wide v0.4.6 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Checking pollster v0.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling num-bigint v0.3.1 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking wgpu-types v0.6.1 [INFO] [stderr] Checking x11 v2.18.2 [INFO] [stderr] Checking x11-dl v2.18.5 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking spirv_headers v1.5.0 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking futures-task v0.3.12 [INFO] [stderr] Checking futures-channel v0.3.12 [INFO] [stderr] Checking gfx-hal v0.6.0 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking tracing v0.1.24 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking ultraviolet v0.4.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking rayon v1.5.0 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking gfx-descriptor v0.2.0 [INFO] [stderr] Checking gfx-memory v0.2.2 [INFO] [stderr] Checking gfx-backend-empty v0.6.0 [INFO] [stderr] Checking gfx-backend-vulkan v0.6.5 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.13 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling futures-macro v0.3.12 [INFO] [stderr] Checking futures-util v0.3.12 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking naga v0.2.0 [INFO] [stderr] Checking smithay-client-toolkit v0.6.6 [INFO] [stderr] Checking wgpu-core v0.6.5 [INFO] [stderr] Checking winit v0.22.2 [INFO] [stderr] Checking futures-executor v0.3.12 [INFO] [stderr] Checking futures v0.3.12 [INFO] [stderr] Checking winit_input_helper v0.6.0 [INFO] [stderr] Checking wgpu v0.6.2 [INFO] [stderr] Checking pixels v0.2.0 [INFO] [stderr] Checking anim2d v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected expression, found `}` [INFO] [stdout] --> src/obstacle.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 16 | Obstacle{ [INFO] [stdout] | -------- while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 19 | } [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `}` [INFO] [stdout] --> src/obstacle.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 16 | Obstacle{ [INFO] [stdout] | -------- while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 19 | } [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::collision::Mobile` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::collision::Mobile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::*` [INFO] [stdout] --> src/collision.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Rc` [INFO] [stdout] --> src/collision.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Rc; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::texture::Texture` [INFO] [stdout] --> src/obstacle.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::texture::Texture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/obstacle.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::collision::Mobile` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::collision::Mobile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::*` [INFO] [stdout] --> src/collision.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Rc` [INFO] [stdout] --> src/collision.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Rc; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::texture::Texture` [INFO] [stdout] --> src/obstacle.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::texture::Texture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/obstacle.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `obstacle::Obstacle` has no field named `image` [INFO] [stdout] --> src/main.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | image: None, [INFO] [stdout] | ^^^^^ `obstacle::Obstacle` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `tile_id`, `rect`, `destroyed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `obstacle::Obstacle` has no field named `frame` [INFO] [stdout] --> src/main.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | frame: None, [INFO] [stdout] | ^^^^^ `obstacle::Obstacle` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `tile_id`, `rect`, `destroyed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `obstacle::Obstacle` has no field named `image` [INFO] [stdout] --> src/main.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | image: None, [INFO] [stdout] | ^^^^^ `obstacle::Obstacle` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `tile_id`, `rect`, `destroyed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `obstacle::Obstacle` has no field named `frame` [INFO] [stdout] --> src/main.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | frame: None, [INFO] [stdout] | ^^^^^ `obstacle::Obstacle` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `tile_id`, `rect`, `destroyed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:221:15 [INFO] [stdout] | [INFO] [stdout] 221 | rect: Rect { [INFO] [stdout] | _______________^ [INFO] [stdout] 222 | | x: 0, [INFO] [stdout] 223 | | y: 200, [INFO] [stdout] 224 | | h: 56, [INFO] [stdout] 225 | | w: 2048, [INFO] [stdout] 226 | | }, [INFO] [stdout] | |_________^ expected enum `Option`, found struct `types::Rect` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `types::Rect` [INFO] [stdout] help: try using a variant of the expected enum [INFO] [stdout] | [INFO] [stdout] 221 | rect: Some(Rect { [INFO] [stdout] 222 | x: 0, [INFO] [stdout] 223 | y: 200, [INFO] [stdout] 224 | h: 56, [INFO] [stdout] 225 | w: 2048, [INFO] [stdout] 226 | }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:221:15 [INFO] [stdout] | [INFO] [stdout] 221 | rect: Rect { [INFO] [stdout] | _______________^ [INFO] [stdout] 222 | | x: 0, [INFO] [stdout] 223 | | y: 200, [INFO] [stdout] 224 | | h: 56, [INFO] [stdout] 225 | | w: 2048, [INFO] [stdout] 226 | | }, [INFO] [stdout] | |_________^ expected enum `Option`, found struct `types::Rect` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `types::Rect` [INFO] [stdout] help: try using a variant of the expected enum [INFO] [stdout] | [INFO] [stdout] 221 | rect: Some(Rect { [INFO] [stdout] 222 | x: 0, [INFO] [stdout] 223 | y: 200, [INFO] [stdout] 224 | h: 56, [INFO] [stdout] 225 | w: 2048, [INFO] [stdout] 226 | }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/collision.rs:90:73 [INFO] [stdout] | [INFO] [stdout] 90 | let displacement = Collision::rect_displacement(a.rect, b.rect); [INFO] [stdout] | ^^^^^^ expected struct `types::Rect`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `types::Rect` [INFO] [stdout] found enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/collision.rs:90:73 [INFO] [stdout] | [INFO] [stdout] 90 | let displacement = Collision::rect_displacement(a.rect, b.rect); [INFO] [stdout] | ^^^^^^ expected struct `types::Rect`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `types::Rect` [INFO] [stdout] found enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/collision.rs:219:77 [INFO] [stdout] | [INFO] [stdout] 219 | ... Collision::rect_displacement(dynamics[ai].rect, statics[bi].rect) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `types::Rect`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `types::Rect` [INFO] [stdout] found enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/collision.rs:219:77 [INFO] [stdout] | [INFO] [stdout] 219 | ... Collision::rect_displacement(dynamics[ai].rect, statics[bi].rect) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `types::Rect`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `types::Rect` [INFO] [stdout] found enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `destroyed` and `rect` in initializer of `obstacle::Obstacle` [INFO] [stdout] --> src/obstacle.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | Obstacle{ [INFO] [stdout] | ^^^^^^^^ missing `destroyed` and `rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `destroyed` and `rect` in initializer of `obstacle::Obstacle` [INFO] [stdout] --> src/obstacle.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | Obstacle{ [INFO] [stdout] | ^^^^^^^^ missing `destroyed` and `rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/obstacle.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(tile_id: Option, rect: Rect){ [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] ... [INFO] [stdout] 16 | / Obstacle{ [INFO] [stdout] 17 | | tile_id: tile_id, [INFO] [stdout] 18 | | rect: [INFO] [stdout] 19 | | } [INFO] [stdout] | |_________________^ expected `()`, found struct `obstacle::Obstacle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `destroyed`, `rect` and `tile_id` in initializer of `obstacle::Obstacle` [INFO] [stdout] --> src/obstacle.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | None => Obstacle { [INFO] [stdout] | ^^^^^^^^ missing `destroyed`, `rect` and `tile_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `frame` on type `&obstacle::Obstacle` [INFO] [stdout] --> src/obstacle.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | let frame = o.frame.unwrap(); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `tile_id`, `rect`, `destroyed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/obstacle.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | self.bitblt(&i, frame, Vec2i(frame.x, frame.y)); [INFO] [stdout] | ^^ expected struct `texture::Texture`, found `&tiles::TileID` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&texture::Texture` [INFO] [stdout] found reference `&&tiles::TileID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/obstacle.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | None => self.rect(o.rect, Rgba(200, 200, 200, 255)), [INFO] [stdout] | ^^^^^^ expected struct `types::Rect`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `types::Rect` [INFO] [stdout] found enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0308, E0560, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `anim2d` [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/obstacle.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(tile_id: Option, rect: Rect){ [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] ... [INFO] [stdout] 16 | / Obstacle{ [INFO] [stdout] 17 | | tile_id: tile_id, [INFO] [stdout] 18 | | rect: [INFO] [stdout] 19 | | } [INFO] [stdout] | |_________________^ expected `()`, found struct `obstacle::Obstacle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `destroyed`, `rect` and `tile_id` in initializer of `obstacle::Obstacle` [INFO] [stdout] --> src/obstacle.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | None => Obstacle { [INFO] [stdout] | ^^^^^^^^ missing `destroyed`, `rect` and `tile_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `frame` on type `&obstacle::Obstacle` [INFO] [stdout] --> src/obstacle.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | let frame = o.frame.unwrap(); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `tile_id`, `rect`, `destroyed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/obstacle.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | self.bitblt(&i, frame, Vec2i(frame.x, frame.y)); [INFO] [stdout] | ^^ expected struct `texture::Texture`, found `&tiles::TileID` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&texture::Texture` [INFO] [stdout] found reference `&&tiles::TileID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/obstacle.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | None => self.rect(o.rect, Rgba(200, 200, 200, 255)), [INFO] [stdout] | ^^^^^^ expected struct `types::Rect`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `types::Rect` [INFO] [stdout] found enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0308, E0560, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "90602c17ad8c0784d9d55c4196f9e4d6ee46d4ea59fb10a5885e4b350e695dd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90602c17ad8c0784d9d55c4196f9e4d6ee46d4ea59fb10a5885e4b350e695dd2", kill_on_drop: false }` [INFO] [stdout] 90602c17ad8c0784d9d55c4196f9e4d6ee46d4ea59fb10a5885e4b350e695dd2