[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] documenting emersceen/arcade against beta-2020-10-09 for beta-1.48-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femersceen%2Farcade" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/emersceen/arcade on toolchain beta-2020-10-09
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "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-3/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" "+beta-2020-10-09" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] error: the lock file /workspace/builds/worker-3/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" "+beta-2020-10-09" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+beta-2020-10-09" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6c493c8aef2292e66ccc535fff0056a2737f5e8ffbcea71bdce3502a2ec98719
[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" "6c493c8aef2292e66ccc535fff0056a2737f5e8ffbcea71bdce3502a2ec98719", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6c493c8aef2292e66ccc535fff0056a2737f5e8ffbcea71bdce3502a2ec98719", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6c493c8aef2292e66ccc535fff0056a2737f5e8ffbcea71bdce3502a2ec98719", kill_on_drop: false }`
[INFO] [stdout] 6c493c8aef2292e66ccc535fff0056a2737f5e8ffbcea71bdce3502a2ec98719
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2020-10-09" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4ddb6ea9a5448948647af3c966e95af3e0e7e1849cab324bdb4f5ed4525f032a
[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" "4ddb6ea9a5448948647af3c966e95af3e0e7e1849cab324bdb4f5ed4525f032a", kill_on_drop: false }`
[INFO] [stderr]    Compiling sdl2 v0.34.3
[INFO] [stderr]    Compiling sdl2-sys v0.34.3
[INFO] [stderr]  Documenting 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[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: 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[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] [stderr] error: could not document `arcade`
[INFO] [stdout] error: Compilation failed, aborting rustdoc
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] Caused by:
[INFO] [stdout] Some errors have detailed explanations: E0412, E0428, E0433.
[INFO] [stdout] 
[INFO] [stderr]   process didn't exit successfully: `rustdoc --crate-type bin --crate-name arcade src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern sdl2=/opt/rustwide/target/debug/deps/libsdl2-4a113c4ede1cf562.rmeta --cap-lints=warn --crate-version 0.1.0` (exit code: 1)
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "4ddb6ea9a5448948647af3c966e95af3e0e7e1849cab324bdb4f5ed4525f032a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4ddb6ea9a5448948647af3c966e95af3e0e7e1849cab324bdb4f5ed4525f032a", kill_on_drop: false }`
[INFO] [stdout] 4ddb6ea9a5448948647af3c966e95af3e0e7e1849cab324bdb4f5ed4525f032a
