[INFO] cloning repository https://github.com/emersceen/arcade [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/emersceen/arcade" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femersceen%2Farcade", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femersceen%2Farcade'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f3430c39675fce54123379016dedb1606ac09309 [INFO] checking emersceen/arcade against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femersceen%2Farcade" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/emersceen/arcade 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/emersceen/arcade [INFO] finished tweaking git repo https://github.com/emersceen/arcade [INFO] tweaked toml for git repo https://github.com/emersceen/arcade written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/emersceen/arcade 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-1/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 sdl2 v0.34.3 [INFO] [stderr] Downloaded sdl2-sys v0.34.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 515cbb82018c0ab13f3149c6f9c7bf3edc5b324e9b20ab1a51464fbab196267c [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" "515cbb82018c0ab13f3149c6f9c7bf3edc5b324e9b20ab1a51464fbab196267c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "515cbb82018c0ab13f3149c6f9c7bf3edc5b324e9b20ab1a51464fbab196267c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "515cbb82018c0ab13f3149c6f9c7bf3edc5b324e9b20ab1a51464fbab196267c", kill_on_drop: false }` [INFO] [stdout] 515cbb82018c0ab13f3149c6f9c7bf3edc5b324e9b20ab1a51464fbab196267c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] cb9799519550703c588d235b1e0a5e63d49087f747a3de89569e22ff1487ba90 [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" "cb9799519550703c588d235b1e0a5e63d49087f747a3de89569e22ff1487ba90", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling sdl2 v0.34.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling sdl2-sys v0.34.3 [INFO] [stderr] Checking arcade v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this file contains an unclosed delimiter [INFO] [stdout] --> src/events.rs:50:2 [INFO] [stdout] | [INFO] [stdout] 1 | macro_rules! struct_events { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 41 | match event{ [INFO] [stdout] | - this delimiter might not be properly closed... [INFO] [stdout] ... [INFO] [stdout] 46 | } [INFO] [stdout] | - ...as it matches this but it has different indentation [INFO] [stdout] ... [INFO] [stdout] 50 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this file contains an unclosed delimiter [INFO] [stdout] --> src/events.rs:50:2 [INFO] [stdout] | [INFO] [stdout] 1 | macro_rules! struct_events { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 41 | match event{ [INFO] [stdout] | - this delimiter might not be properly closed... [INFO] [stdout] ... [INFO] [stdout] 46 | } [INFO] [stdout] | - ...as it matches this but it has different indentation [INFO] [stdout] ... [INFO] [stdout] 50 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `events` is defined multiple times [INFO] [stdout] --> src/main.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 1 | mod events; [INFO] [stdout] | ----------- previous definition of the module `events` here [INFO] [stdout] ... [INFO] [stdout] 4 | #[macro_use] mod events; [INFO] [stdout] | ^^^^^^^^^^^ `events` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `events` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `events` is defined multiple times [INFO] [stdout] --> src/main.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 1 | mod events; [INFO] [stdout] | ----------- previous definition of the module `events` here [INFO] [stdout] ... [INFO] [stdout] 4 | #[macro_use] mod events; [INFO] [stdout] | ^^^^^^^^^^^ `events` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `events` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing `fn` for function definition [INFO] [stdout] --> src/events.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 11 | impl ImmediateEvents{ [INFO] [stdout] | _________________________- [INFO] [stdout] | |_________________________| [INFO] [stdout] | | [INFO] [stdout] 12 | | pub new() -> ImmediateEvents{ [INFO] [stdout] | | ^ [INFO] [stdout] 13 | | ImmediateEvents { [INFO] [stdout] 14 | | $($k_alias: None),* [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_____| [INFO] [stdout] | |_____while parsing this item list starting here [INFO] [stdout] | the item list ends here [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / struct_events!( [INFO] [stdout] 7 | | keyboard: { [INFO] [stdout] 8 | | key_escape: Escape [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | ); [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: add `fn` here to parse `new` as a public function [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new() -> ImmediateEvents{ [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing `fn` for function definition [INFO] [stdout] --> src/events.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 11 | impl ImmediateEvents{ [INFO] [stdout] | _________________________- [INFO] [stdout] | |_________________________| [INFO] [stdout] | | [INFO] [stdout] 12 | | pub new() -> ImmediateEvents{ [INFO] [stdout] | | ^ [INFO] [stdout] 13 | | ImmediateEvents { [INFO] [stdout] 14 | | $($k_alias: None),* [INFO] [stdout] 15 | | } [INFO] [stdout] 16 | | } [INFO] [stdout] 17 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_____| [INFO] [stdout] | |_____while parsing this item list starting here [INFO] [stdout] | the item list ends here [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / struct_events!( [INFO] [stdout] 7 | | keyboard: { [INFO] [stdout] 8 | | key_escape: Escape [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | ); [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: add `fn` here to parse `new` as a public function [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new() -> ImmediateEvents{ [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `,`, `.`, `?`, `}`, or an operator, found `;` [INFO] [stdout] --> src/events.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 27 | Events{ [INFO] [stdout] | ------ while parsing this struct [INFO] [stdout] 28 | pump: pump, [INFO] [stdout] 29 | now: ImmediateEvents::new(); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected one of `,`, `.`, `?`, `}`, or an operator [INFO] [stdout] | help: try adding a comma: `,` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / struct_events!( [INFO] [stdout] 7 | | keyboard: { [INFO] [stdout] 8 | | key_escape: Escape [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | ); [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: expected one of `,`, `.`, `?`, `}`, or an operator, found `;` [INFO] [stdout] --> src/events.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 27 | Events{ [INFO] [stdout] | ------ while parsing this struct [INFO] [stdout] 28 | pump: pump, [INFO] [stdout] 29 | now: ImmediateEvents::new(); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected one of `,`, `.`, `?`, `}`, or an operator [INFO] [stdout] | help: try adding a comma: `,` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / struct_events!( [INFO] [stdout] 7 | | keyboard: { [INFO] [stdout] 8 | | key_escape: Escape [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | ); [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[E0433]: failed to resolve: maybe a missing crate `sdl2`? [INFO] [stdout] --> src/events.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use self::sdl2::event::EventPump; [INFO] [stdout] | ^^^^ maybe a missing crate `sdl2`? [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / struct_events!( [INFO] [stdout] 7 | | keyboard: { [INFO] [stdout] 8 | | key_escape: Escape [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | ); [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[E0433]: failed to resolve: maybe a missing crate `sdl2`? [INFO] [stdout] --> src/events.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use self::sdl2::event::EventPump; [INFO] [stdout] | ^^^^ maybe a missing crate `sdl2`? [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / struct_events!( [INFO] [stdout] 7 | | keyboard: { [INFO] [stdout] 8 | | key_escape: Escape [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | ); [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[E0433]: failed to resolve: could not find `Events` in `events` [INFO] [stdout] --> src/main.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | let mut events = events::Events::new(sdl.event_pump()); [INFO] [stdout] | ^^^^^^ could not find `Events` in `events` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Events` in `events` [INFO] [stdout] --> src/main.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | let mut events = events::Events::new(sdl.event_pump()); [INFO] [stdout] | ^^^^^^ could not find `Events` in `events` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventPump` in this scope [INFO] [stdout] --> src/events.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pump: EventPump<'a>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / struct_events!( [INFO] [stdout] 7 | | keyboard: { [INFO] [stdout] 8 | | key_escape: Escape [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | ); [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] 12 | use sdl::EventPump; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventPump` in this scope [INFO] [stdout] --> src/events.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pump: EventPump<'a>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / struct_events!( [INFO] [stdout] 7 | | keyboard: { [INFO] [stdout] 8 | | key_escape: Escape [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | ); [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] 12 | use sdl::EventPump; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventPump` in this scope [INFO] [stdout] --> src/events.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(pump: EventPump<'a>) -> Events<'a> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / struct_events!( [INFO] [stdout] 7 | | keyboard: { [INFO] [stdout] 8 | | key_escape: Escape [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | ); [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] 12 | use sdl::EventPump; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventPump` in this scope [INFO] [stdout] --> src/events.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(pump: EventPump<'a>) -> Events<'a> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / struct_events!( [INFO] [stdout] 7 | | keyboard: { [INFO] [stdout] 8 | | key_escape: Escape [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | ); [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] 12 | use sdl::EventPump; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KeyCode` in this scope [INFO] [stdout] --> src/events.rs:42:6 [INFO] [stdout] | [INFO] [stdout] 42 | KeyCode{keycode, ..} => match keycode { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / struct_events!( [INFO] [stdout] 7 | | keyboard: { [INFO] [stdout] 8 | | key_escape: Escape [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | ); [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 type alias [INFO] [stdout] | [INFO] [stdout] 12 | use sdl::sys::KeyCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/events.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / macro_rules! struct_events { [INFO] [stdout] 2 | | ( [INFO] [stdout] 3 | | keyboard: { $( $k_alias:ident : $k_sdl:ident ),* } [INFO] [stdout] 4 | | ) => { [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KeyCode` in this scope [INFO] [stdout] --> src/events.rs:42:6 [INFO] [stdout] | [INFO] [stdout] 42 | KeyCode{keycode, ..} => match keycode { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / struct_events!( [INFO] [stdout] 7 | | keyboard: { [INFO] [stdout] 8 | | key_escape: Escape [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | ); [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 type alias [INFO] [stdout] | [INFO] [stdout] 12 | use sdl::sys::KeyCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/events.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / macro_rules! struct_events { [INFO] [stdout] 2 | | ( [INFO] [stdout] 3 | | keyboard: { $( $k_alias:ident : $k_sdl:ident ),* } [INFO] [stdout] 4 | | ) => { [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::sdl::event::Event::*` [INFO] [stdout] --> src/events.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | use ::sdl::event::Event::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / struct_events!( [INFO] [stdout] 7 | | keyboard: { [INFO] [stdout] 8 | | key_escape: Escape [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::sdl::event::Event::*` [INFO] [stdout] --> src/events.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | use ::sdl::event::Event::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / struct_events!( [INFO] [stdout] 7 | | keyboard: { [INFO] [stdout] 8 | | key_escape: Escape [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::sdl::keyboard::Keycode::*` [INFO] [stdout] --> src/events.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | use ::sdl::keyboard::Keycode::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / struct_events!( [INFO] [stdout] 7 | | keyboard: { [INFO] [stdout] 8 | | key_escape: Escape [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::sdl::keyboard::Keycode::*` [INFO] [stdout] --> src/events.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | use ::sdl::keyboard::Keycode::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / struct_events!( [INFO] [stdout] 7 | | keyboard: { [INFO] [stdout] 8 | | key_escape: Escape [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `video` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/main.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | let mut sdl = sdl::init().video() [INFO] [stdout] | ^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `video` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/main.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | let mut sdl = sdl::init().video() [INFO] [stdout] | ^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `key_escape` in initializer of `Events<'_>` [INFO] [stdout] --> src/events.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | Events{ [INFO] [stdout] | ^^^^^^ missing `key_escape` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / struct_events!( [INFO] [stdout] 7 | | keyboard: { [INFO] [stdout] 8 | | key_escape: Escape [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | ); [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[E0063]: missing field `key_escape` in initializer of `Events<'_>` [INFO] [stdout] --> src/events.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | Events{ [INFO] [stdout] | ^^^^^^ missing `key_escape` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / struct_events!( [INFO] [stdout] 7 | | keyboard: { [INFO] [stdout] 8 | | key_escape: Escape [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | ); [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[E0599]: no function or associated item named `new` found for struct `ImmediateEvents` in the current scope [INFO] [stdout] --> src/events.rs:35:32 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ImmediateEvents{ [INFO] [stdout] | -------------------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 35 | self.now = ImmediateEvents::new(); [INFO] [stdout] | ^^^ function or associated item not found in `ImmediateEvents` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / struct_events!( [INFO] [stdout] 7 | | keyboard: { [INFO] [stdout] 8 | | key_escape: Escape [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | ); [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[E0599]: no function or associated item named `new` found for struct `ImmediateEvents` in the current scope [INFO] [stdout] --> src/events.rs:35:32 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ImmediateEvents{ [INFO] [stdout] | -------------------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 35 | self.now = ImmediateEvents::new(); [INFO] [stdout] | ^^^ function or associated item not found in `ImmediateEvents` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / struct_events!( [INFO] [stdout] 7 | | keyboard: { [INFO] [stdout] 8 | | key_escape: Escape [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | ); [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: aborting due to 12 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0412, E0422, E0428, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0412, E0422, E0428, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `arcade` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "cb9799519550703c588d235b1e0a5e63d49087f747a3de89569e22ff1487ba90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb9799519550703c588d235b1e0a5e63d49087f747a3de89569e22ff1487ba90", kill_on_drop: false }` [INFO] [stdout] cb9799519550703c588d235b1e0a5e63d49087f747a3de89569e22ff1487ba90