[INFO] crate orbclient 0.3.27 is already in cache [INFO] checking orbclient-0.3.27 against try#38f08371587f97c145dedb2c055ac7b01bf1e788 for pr-65294 [INFO] extracting crate orbclient 0.3.27 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate orbclient 0.3.27 on toolchain 38f08371587f97c145dedb2c055ac7b01bf1e788 [INFO] running `"/workspace/cargo-home/bin/cargo" "+38f08371587f97c145dedb2c055ac7b01bf1e788" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate orbclient 0.3.27 [INFO] finished tweaking crates.io crate orbclient 0.3.27 [INFO] tweaked toml for crates.io crate orbclient 0.3.27 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate orbclient 0.3.27 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+38f08371587f97c145dedb2c055ac7b01bf1e788" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+38f08371587f97c145dedb2c055ac7b01bf1e788" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b91f9ff36cbb9f8c9fc6273d704b84a80e12a76a3e1cbb330860b1165ae01322 [INFO] running `"docker" "start" "-a" "b91f9ff36cbb9f8c9fc6273d704b84a80e12a76a3e1cbb330860b1165ae01322"` [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sdl2-0.32.2/src/sdl2/keyboard/mod.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | / bitflags! { [INFO] [stderr] 14 | | pub struct Mod: u16 { [INFO] [stderr] 15 | | const NOMOD = 0x0000; [INFO] [stderr] 16 | | const LSHIFTMOD = 0x0001; [INFO] [stderr] ... | [INFO] [stderr] 28 | | } [INFO] [stderr] 29 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sdl2-0.32.2/src/sdl2/keyboard/mod.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | / bitflags! { [INFO] [stderr] 14 | | pub struct Mod: u16 { [INFO] [stderr] 15 | | const NOMOD = 0x0000; [INFO] [stderr] 16 | | const LSHIFTMOD = 0x0001; [INFO] [stderr] ... | [INFO] [stderr] 28 | | } [INFO] [stderr] 29 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sdl2-0.32.2/src/sdl2/keyboard/mod.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | / bitflags! { [INFO] [stderr] 14 | | pub struct Mod: u16 { [INFO] [stderr] 15 | | const NOMOD = 0x0000; [INFO] [stderr] 16 | | const LSHIFTMOD = 0x0001; [INFO] [stderr] ... | [INFO] [stderr] 28 | | } [INFO] [stderr] 29 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sdl2-0.32.2/src/sdl2/keyboard/mod.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | / bitflags! { [INFO] [stderr] 14 | | pub struct Mod: u16 { [INFO] [stderr] 15 | | const NOMOD = 0x0000; [INFO] [stderr] 16 | | const LSHIFTMOD = 0x0001; [INFO] [stderr] ... | [INFO] [stderr] 28 | | } [INFO] [stderr] 29 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sdl2-0.32.2/src/sdl2/keyboard/mod.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | / bitflags! { [INFO] [stderr] 14 | | pub struct Mod: u16 { [INFO] [stderr] 15 | | const NOMOD = 0x0000; [INFO] [stderr] 16 | | const LSHIFTMOD = 0x0001; [INFO] [stderr] ... | [INFO] [stderr] 28 | | } [INFO] [stderr] 29 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sdl2-0.32.2/src/sdl2/keyboard/mod.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | / bitflags! { [INFO] [stderr] 14 | | pub struct Mod: u16 { [INFO] [stderr] 15 | | const NOMOD = 0x0000; [INFO] [stderr] 16 | | const LSHIFTMOD = 0x0001; [INFO] [stderr] ... | [INFO] [stderr] 28 | | } [INFO] [stderr] 29 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sdl2-0.32.2/src/sdl2/keyboard/mod.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | / bitflags! { [INFO] [stderr] 14 | | pub struct Mod: u16 { [INFO] [stderr] 15 | | const NOMOD = 0x0000; [INFO] [stderr] 16 | | const LSHIFTMOD = 0x0001; [INFO] [stderr] ... | [INFO] [stderr] 28 | | } [INFO] [stderr] 29 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sdl2-0.32.2/src/sdl2/keyboard/mod.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | / bitflags! { [INFO] [stderr] 14 | | pub struct Mod: u16 { [INFO] [stderr] 15 | | const NOMOD = 0x0000; [INFO] [stderr] 16 | | const LSHIFTMOD = 0x0001; [INFO] [stderr] ... | [INFO] [stderr] 28 | | } [INFO] [stderr] 29 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sdl2-0.32.2/src/sdl2/keyboard/mod.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | / bitflags! { [INFO] [stderr] 14 | | pub struct Mod: u16 { [INFO] [stderr] 15 | | const NOMOD = 0x0000; [INFO] [stderr] 16 | | const LSHIFTMOD = 0x0001; [INFO] [stderr] ... | [INFO] [stderr] 28 | | } [INFO] [stderr] 29 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sdl2-0.32.2/src/sdl2/keyboard/mod.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | / bitflags! { [INFO] [stderr] 14 | | pub struct Mod: u16 { [INFO] [stderr] 15 | | const NOMOD = 0x0000; [INFO] [stderr] 16 | | const LSHIFTMOD = 0x0001; [INFO] [stderr] ... | [INFO] [stderr] 28 | | } [INFO] [stderr] 29 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sdl2-0.32.2/src/sdl2/keyboard/mod.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | / bitflags! { [INFO] [stderr] 14 | | pub struct Mod: u16 { [INFO] [stderr] 15 | | const NOMOD = 0x0000; [INFO] [stderr] 16 | | const LSHIFTMOD = 0x0001; [INFO] [stderr] ... | [INFO] [stderr] 28 | | } [INFO] [stderr] 29 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sdl2-0.32.2/src/sdl2/keyboard/mod.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | / bitflags! { [INFO] [stderr] 14 | | pub struct Mod: u16 { [INFO] [stderr] 15 | | const NOMOD = 0x0000; [INFO] [stderr] 16 | | const LSHIFTMOD = 0x0001; [INFO] [stderr] ... | [INFO] [stderr] 28 | | } [INFO] [stderr] 29 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sdl2-0.32.2/src/sdl2/keyboard/mod.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | / bitflags! { [INFO] [stderr] 14 | | pub struct Mod: u16 { [INFO] [stderr] 15 | | const NOMOD = 0x0000; [INFO] [stderr] 16 | | const LSHIFTMOD = 0x0001; [INFO] [stderr] ... | [INFO] [stderr] 28 | | } [INFO] [stderr] 29 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sdl2-0.32.2/src/sdl2/keyboard/mod.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | / bitflags! { [INFO] [stderr] 14 | | pub struct Mod: u16 { [INFO] [stderr] 15 | | const NOMOD = 0x0000; [INFO] [stderr] 16 | | const LSHIFTMOD = 0x0001; [INFO] [stderr] ... | [INFO] [stderr] 28 | | } [INFO] [stderr] 29 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sdl2-0.32.2/src/sdl2/messagebox.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | / bitflags! { [INFO] [stderr] 13 | | pub struct MessageBoxFlag: u32 { [INFO] [stderr] 14 | | const ERROR = [INFO] [stderr] 15 | | sys::SDL_MessageBoxFlags::SDL_MESSAGEBOX_ERROR as u32; [INFO] [stderr] ... | [INFO] [stderr] 20 | | } [INFO] [stderr] 21 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sdl2-0.32.2/src/sdl2/messagebox.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / bitflags! { [INFO] [stderr] 24 | | pub struct MessageBoxButtonFlag: u32 { [INFO] [stderr] 25 | | const ESCAPEKEY_DEFAULT = [INFO] [stderr] 26 | | sys::SDL_MessageBoxButtonFlags::SDL_MESSAGEBOX_BUTTON_ESCAPEKEY_DEFAULT as u32; [INFO] [stderr] ... | [INFO] [stderr] 30 | | } [INFO] [stderr] 31 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sdl2-0.32.2/src/sdl2/messagebox.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | / bitflags! { [INFO] [stderr] 13 | | pub struct MessageBoxFlag: u32 { [INFO] [stderr] 14 | | const ERROR = [INFO] [stderr] 15 | | sys::SDL_MessageBoxFlags::SDL_MESSAGEBOX_ERROR as u32; [INFO] [stderr] ... | [INFO] [stderr] 20 | | } [INFO] [stderr] 21 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sdl2-0.32.2/src/sdl2/messagebox.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | / bitflags! { [INFO] [stderr] 13 | | pub struct MessageBoxFlag: u32 { [INFO] [stderr] 14 | | const ERROR = [INFO] [stderr] 15 | | sys::SDL_MessageBoxFlags::SDL_MESSAGEBOX_ERROR as u32; [INFO] [stderr] ... | [INFO] [stderr] 20 | | } [INFO] [stderr] 21 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sdl2-0.32.2/src/sdl2/messagebox.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | / bitflags! { [INFO] [stderr] 13 | | pub struct MessageBoxFlag: u32 { [INFO] [stderr] 14 | | const ERROR = [INFO] [stderr] 15 | | sys::SDL_MessageBoxFlags::SDL_MESSAGEBOX_ERROR as u32; [INFO] [stderr] ... | [INFO] [stderr] 20 | | } [INFO] [stderr] 21 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sdl2-0.32.2/src/sdl2/messagebox.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / bitflags! { [INFO] [stderr] 24 | | pub struct MessageBoxButtonFlag: u32 { [INFO] [stderr] 25 | | const ESCAPEKEY_DEFAULT = [INFO] [stderr] 26 | | sys::SDL_MessageBoxButtonFlags::SDL_MESSAGEBOX_BUTTON_ESCAPEKEY_DEFAULT as u32; [INFO] [stderr] ... | [INFO] [stderr] 30 | | } [INFO] [stderr] 31 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sdl2-0.32.2/src/sdl2/messagebox.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / bitflags! { [INFO] [stderr] 24 | | pub struct MessageBoxButtonFlag: u32 { [INFO] [stderr] 25 | | const ESCAPEKEY_DEFAULT = [INFO] [stderr] 26 | | sys::SDL_MessageBoxButtonFlags::SDL_MESSAGEBOX_BUTTON_ESCAPEKEY_DEFAULT as u32; [INFO] [stderr] ... | [INFO] [stderr] 30 | | } [INFO] [stderr] 31 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sdl2-0.32.2/src/sdl2/messagebox.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / bitflags! { [INFO] [stderr] 24 | | pub struct MessageBoxButtonFlag: u32 { [INFO] [stderr] 25 | | const ESCAPEKEY_DEFAULT = [INFO] [stderr] 26 | | sys::SDL_MessageBoxButtonFlags::SDL_MESSAGEBOX_BUTTON_ESCAPEKEY_DEFAULT as u32; [INFO] [stderr] ... | [INFO] [stderr] 30 | | } [INFO] [stderr] 31 | | } [INFO] [stderr] | |_^ not a function or closure [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 22 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0518`. [INFO] [stderr] error: could not compile `sdl2`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "b91f9ff36cbb9f8c9fc6273d704b84a80e12a76a3e1cbb330860b1165ae01322"` [INFO] running `"docker" "rm" "-f" "b91f9ff36cbb9f8c9fc6273d704b84a80e12a76a3e1cbb330860b1165ae01322"` [INFO] [stdout] b91f9ff36cbb9f8c9fc6273d704b84a80e12a76a3e1cbb330860b1165ae01322