[INFO] cloning repository https://github.com/FreeFull/joyevent.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FreeFull/joyevent.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFreeFull%2Fjoyevent.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFreeFull%2Fjoyevent.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c6ce913394ac8b26bb3e68f2a8dca95eaa3baad0 [INFO] checking FreeFull/joyevent.rs against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFreeFull%2Fjoyevent.rs" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FreeFull/joyevent.rs on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/FreeFull/joyevent.rs [INFO] finished tweaking git repo https://github.com/FreeFull/joyevent.rs [INFO] tweaked toml for git repo https://github.com/FreeFull/joyevent.rs written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/FreeFull/joyevent.rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ec839c6cb6ab6b51262a194ee3addfd2e9e01138c59d6edfd48b68134a6f6a6 [INFO] running `Command { std: "docker" "start" "-a" "8ec839c6cb6ab6b51262a194ee3addfd2e9e01138c59d6edfd48b68134a6f6a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ec839c6cb6ab6b51262a194ee3addfd2e9e01138c59d6edfd48b68134a6f6a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ec839c6cb6ab6b51262a194ee3addfd2e9e01138c59d6edfd48b68134a6f6a6", kill_on_drop: false }` [INFO] [stdout] 8ec839c6cb6ab6b51262a194ee3addfd2e9e01138c59d6edfd48b68134a6f6a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d3cc1e47e2f39c397687959e5185dec480274a3179a7f68bb4e1ab046de561c [INFO] running `Command { std: "docker" "start" "-a" "9d3cc1e47e2f39c397687959e5185dec480274a3179a7f68bb4e1ab046de561c", kill_on_drop: false }` [INFO] [stderr] Checking sdl2 v0.0.1-alpha.1 (https://github.com/AngryLawyer/rust-sdl2#93cc0d41) [INFO] [stdout] error: expected identifier, found keyword `mod` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/keycode.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::{mod, Hash}; [INFO] [stdout] | ^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: you can escape reserved keywords to use them as identifiers [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::{r#mod, Hash}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `mod` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/scancode.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::{mod, Hash}; [INFO] [stdout] | ^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: you can escape reserved keywords to use them as identifiers [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::{r#mod, Hash}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/macros.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | macro_rules! impl_raw_accessors( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 4 | | ($($t:ty, $raw:ty);+) => ( [INFO] [stdout] 5 | | $( [INFO] [stdout] 6 | | impl $t { [INFO] [stdout] ... | [INFO] [stdout] 11 | | ) [INFO] [stdout] 12 | | ) [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 3 | macro_rules! impl_raw_accessors{ [INFO] [stdout] 4 | ($($t:ty, $raw:ty);+) => ( [INFO] [stdout] 5 | $( [INFO] [stdout] 6 | impl $t { [INFO] [stdout] 7 | #[inline] [INFO] [stdout] 8 | pub fn raw(&self) -> $raw { self.raw } [INFO] [stdout] ... [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 12 | ); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/macros.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | macro_rules! impl_owned_accessors( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 15 | | ($($t:ty, $owned:ident);+) => ( [INFO] [stdout] 16 | | $( [INFO] [stdout] 17 | | impl $t { [INFO] [stdout] ... | [INFO] [stdout] 22 | | ) [INFO] [stdout] 23 | | ) [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 14 | macro_rules! impl_owned_accessors{ [INFO] [stdout] 15 | ($($t:ty, $owned:ident);+) => ( [INFO] [stdout] 16 | $( [INFO] [stdout] 17 | impl $t { [INFO] [stdout] 18 | #[inline] [INFO] [stdout] 19 | pub fn $owned(&self) -> bool { self.$owned } [INFO] [stdout] ... [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 23 | ); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/macros.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | macro_rules! impl_raw_constructor( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 26 | | ($($t:ty -> $te:ident ($($r:ident:$rt:ty),+));+) => ( [INFO] [stdout] 27 | | $( [INFO] [stdout] 28 | | impl $t { [INFO] [stdout] ... | [INFO] [stdout] 35 | | ) [INFO] [stdout] 36 | | ) [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 25 | macro_rules! impl_raw_constructor{ [INFO] [stdout] 26 | ($($t:ty -> $te:ident ($($r:ident:$rt:ty),+));+) => ( [INFO] [stdout] 27 | $( [INFO] [stdout] 28 | impl $t { [INFO] [stdout] 29 | #[inline] [INFO] [stdout] 30 | pub unsafe fn from_ll($($r:$rt),+) -> $t { [INFO] [stdout] ... [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 36 | ); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/event.rs:125:26 [INFO] [stdout] | [INFO] [stdout] 125 | pub text: [c_char, ..32u], [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/event.rs:135:26 [INFO] [stdout] | [INFO] [stdout] 135 | pub text: [c_char, ..32u], [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/event.rs:337:27 [INFO] [stdout] | [INFO] [stdout] 337 | pub data: [uint8_t, ..56u], [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/joystick.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | data: [uint8_t, ..16u], [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/controller.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | data: [c_uchar, ..8u], [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/surface.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | impl_raw_accessors!(Surface, *const ll::SDL_Surface) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 109 | impl_raw_accessors!{Surface, *const ll::SDL_Surface} [INFO] [stdout] | ^ ^ [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 109 | impl_raw_accessors!(Surface, *const ll::SDL_Surface); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/surface.rs:110:22 [INFO] [stdout] | [INFO] [stdout] 110 | impl_owned_accessors!(Surface, owned) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 110 | impl_owned_accessors!{Surface, owned} [INFO] [stdout] | ^ ^ [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 110 | impl_owned_accessors!(Surface, owned); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/surface.rs:111:22 [INFO] [stdout] | [INFO] [stdout] 111 | impl_raw_constructor!(Surface -> Surface (raw: *const ll::SDL_Surface, owned: bool)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 111 | impl_raw_constructor!{Surface -> Surface (raw: *const ll::SDL_Surface, owned: bool)} [INFO] [stdout] | ^ ^ [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 111 | impl_raw_constructor!(Surface -> Surface (raw: *const ll::SDL_Surface, owned: bool)); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/surface.rs:180:39 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn with_lock(&mut self, f: |pixels: &mut [u8]| -> R) -> R { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/pixels.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | pub padding: [uint8_t, ..2], [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/pixels.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | impl_raw_accessors!(Palette, *const ll::SDL_Palette) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 98 | impl_raw_accessors!{Palette, *const ll::SDL_Palette} [INFO] [stdout] | ^ ^ [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 98 | impl_raw_accessors!(Palette, *const ll::SDL_Palette); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/pixels.rs:150:20 [INFO] [stdout] | [INFO] [stdout] 150 | impl_raw_accessors!(PixelFormat, *const ll::SDL_PixelFormat) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 150 | impl_raw_accessors!{PixelFormat, *const ll::SDL_PixelFormat} [INFO] [stdout] | ^ ^ [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 150 | impl_raw_accessors!(PixelFormat, *const ll::SDL_PixelFormat); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/pixels.rs:151:22 [INFO] [stdout] | [INFO] [stdout] 151 | impl_raw_constructor!(PixelFormat -> PixelFormat (raw: *const ll::SDL_PixelFormat)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 151 | impl_raw_constructor!{PixelFormat -> PixelFormat (raw: *const ll::SDL_PixelFormat)} [INFO] [stdout] | ^ ^ [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 151 | impl_raw_constructor!(PixelFormat -> PixelFormat (raw: *const ll::SDL_PixelFormat)); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/video.rs:326:20 [INFO] [stdout] | [INFO] [stdout] 326 | impl_raw_accessors!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 327 | | GLContext, ll::SDL_GLContext; [INFO] [stdout] 328 | | Window, *const ll::SDL_Window [INFO] [stdout] 329 | | ) [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 326 | impl_raw_accessors!{ [INFO] [stdout] 327 | GLContext, ll::SDL_GLContext; [INFO] [stdout] 328 | Window, *const ll::SDL_Window [INFO] [stdout] 329 | } [INFO] [stdout] | [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 329 | ); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/video.rs:331:22 [INFO] [stdout] | [INFO] [stdout] 331 | impl_owned_accessors!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 332 | | GLContext, owned; [INFO] [stdout] 333 | | Window, owned [INFO] [stdout] 334 | | ) [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 331 | impl_owned_accessors!{ [INFO] [stdout] 332 | GLContext, owned; [INFO] [stdout] 333 | Window, owned [INFO] [stdout] 334 | } [INFO] [stdout] | [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 334 | ); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/video.rs:336:22 [INFO] [stdout] | [INFO] [stdout] 336 | impl_raw_constructor!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 337 | | Window -> Window (raw: *const ll::SDL_Window, owned: bool) [INFO] [stdout] 338 | | ) [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 336 | impl_raw_constructor!{ [INFO] [stdout] 337 | Window -> Window (raw: *const ll::SDL_Window, owned: bool) [INFO] [stdout] 338 | } [INFO] [stdout] | [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 338 | ); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/video.rs:571:51 [INFO] [stdout] | [INFO] [stdout] 571 | pub fn set_gamma_ramp(&self, red: Option<&[u16, ..256]>, green: Option<&[u16, ..256]>, blue: Option<&[u16, ..256]>) -> bool { [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:` or `|`, found `]` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/video.rs:571:58 [INFO] [stdout] | [INFO] [stdout] 571 | pub fn set_gamma_ramp(&self, red: Option<&[u16, ..256]>, green: Option<&[u16, ..256]>, blue: Option<&[u16, ..256]>) -> bool { [INFO] [stdout] | ^ expected one of `:` or `|` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `->`, `:`, `;`, `where`, `{`, `|`, or identifier, found `]` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/video.rs:571:58 [INFO] [stdout] | [INFO] [stdout] 350 | impl Window { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] ... [INFO] [stdout] 571 | pub fn set_gamma_ramp(&self, red: Option<&[u16, ..256]>, green: Option<&[u16, ..256]>, blue: Option<&[u16, ..256]>) -> bool { [INFO] [stdout] | ^ expected one of 9 possible tokens [INFO] [stdout] ... [INFO] [stdout] 617 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `||` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/timer.rs:50:43 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new<'a>(delay: uint, callback: ||: 'a -> uint, remove_on_drop: bool) -> Timer<'a> { [INFO] [stdout] | ^^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `||` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/timer.rs:86:18 [INFO] [stdout] | [INFO] [stdout] 86 | let f : &mut || -> uint = unsafe { mem::transmute(param) }; [INFO] [stdout] | - ^^ expected type [INFO] [stdout] | | [INFO] [stdout] | while parsing the type for `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/render.rs:47:39 [INFO] [stdout] | [INFO] [stdout] 47 | pub texture_formats: [uint32_t, ..16], [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/render.rs:587:72 [INFO] [stdout] | [INFO] [stdout] 587 | Ok(CVec::new_with_dtor(pixels as *mut u8, size, proc() { [INFO] [stdout] | -^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/render.rs:729:55 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn with_lock(&self, rect: Option, func: |CVec, i32| -> ()) -> SdlResult<()> { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected parameter name, found `->` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/render.rs:729:71 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn with_lock(&self, rect: Option, func: |CVec, i32| -> ()) -> SdlResult<()> { [INFO] [stdout] | --- ^^ expected parameter name [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/render.rs:763:38 [INFO] [stdout] | [INFO] [stdout] 763 | pub fn gl_with_bind(&self, f: |tex_w: f64, tex_h: f64| -> R) -> R { [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected parameter name, found `->` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/render.rs:763:63 [INFO] [stdout] | [INFO] [stdout] 763 | pub fn gl_with_bind(&self, f: |tex_w: f64, tex_h: f64| -> R) -> R { [INFO] [stdout] | ^^ expected parameter name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `)`, `+`, `,`, `::`, or `<`, found `|` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/render.rs:763:61 [INFO] [stdout] | [INFO] [stdout] 763 | pub fn gl_with_bind(&self, f: |tex_w: f64, tex_h: f64| -> R) -> R { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected one of 7 possible tokens [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/rwops.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | data: [c_uchar, ..24], [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/rwops.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | impl_raw_accessors!(RWops, *const ll::SDL_RWops) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 55 | impl_raw_accessors!{RWops, *const ll::SDL_RWops} [INFO] [stdout] | ^ ^ [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 55 | impl_raw_accessors!(RWops, *const ll::SDL_RWops); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/rwops.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | impl_owned_accessors!(RWops, close_on_drop) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 56 | impl_owned_accessors!{RWops, close_on_drop} [INFO] [stdout] | ^ ^ [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 56 | impl_owned_accessors!(RWops, close_on_drop); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/audio.rs:74:34 [INFO] [stdout] | [INFO] [stdout] 74 | filters: [SDL_AudioFilter, ..10u], [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/audio.rs:208:30 [INFO] [stdout] | [INFO] [stdout] 208 | pub callback: Option<&'a |&mut [u8]|:'a>, // same size as *c_void [INFO] [stdout] | ^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `|` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/audio.rs:213:22 [INFO] [stdout] | [INFO] [stdout] 213 | let f : &mut |&mut [u8]| = mem::transmute(userdata); [INFO] [stdout] | - ^ expected type [INFO] [stdout] | | [INFO] [stdout] | while parsing the type for `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/audio.rs:241:93 [INFO] [stdout] | [INFO] [stdout] 241 | let v = CVec::new_with_dtor(audio_buf as *mut u8, audio_len as uint, proc() { [INFO] [stdout] | -^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/audio.rs:328:20 [INFO] [stdout] | [INFO] [stdout] 328 | impl_raw_accessors!(AudioCVT, *mut ll::SDL_AudioCVT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 328 | impl_raw_accessors!{AudioCVT, *mut ll::SDL_AudioCVT} [INFO] [stdout] | ^ ^ [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 328 | impl_raw_accessors!(AudioCVT, *mut ll::SDL_AudioCVT); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/audio.rs:329:22 [INFO] [stdout] | [INFO] [stdout] 329 | impl_owned_accessors!(AudioCVT, owned) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 329 | impl_owned_accessors!{AudioCVT, owned} [INFO] [stdout] | ^ ^ [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 329 | impl_owned_accessors!(AudioCVT, owned); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/audio.rs:375:48 [INFO] [stdout] | [INFO] [stdout] 375 | ... proc() { libc::free(p) }) [INFO] [stdout] | -^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `collections` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sdl2-aa1d9d20b5a2d833/93cc0d4/src/sdl2/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate collections; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 44 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sdl2` due to 45 previous errors [INFO] running `Command { std: "docker" "inspect" "9d3cc1e47e2f39c397687959e5185dec480274a3179a7f68bb4e1ab046de561c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d3cc1e47e2f39c397687959e5185dec480274a3179a7f68bb4e1ab046de561c", kill_on_drop: false }` [INFO] [stdout] 9d3cc1e47e2f39c397687959e5185dec480274a3179a7f68bb4e1ab046de561c