[INFO] cloning repository https://github.com/zenathark/learnopengl-rust [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zenathark/learnopengl-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzenathark%2Flearnopengl-rust"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzenathark%2Flearnopengl-rust'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 68dc3976ded907f6cb2fd2c31e8b4c1fe0226ef9 [INFO] checking zenathark/learnopengl-rust against try#38f08371587f97c145dedb2c055ac7b01bf1e788 for pr-65294 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzenathark%2Flearnopengl-rust" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zenathark/learnopengl-rust on toolchain 38f08371587f97c145dedb2c055ac7b01bf1e788 [INFO] running `"/workspace/cargo-home/bin/cargo" "+38f08371587f97c145dedb2c055ac7b01bf1e788" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/zenathark/learnopengl-rust [INFO] finished tweaking git repo https://github.com/zenathark/learnopengl-rust [INFO] tweaked toml for git repo https://github.com/zenathark/learnopengl-rust written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/zenathark/learnopengl-rust 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-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" "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] [stdout] 4cda31892395aecd07d7c70e22f1397b30c2b044135706b8b86e5bf905bfa1ac [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "4cda31892395aecd07d7c70e22f1397b30c2b044135706b8b86e5bf905bfa1ac"` [INFO] [stderr] Compiling gl_generator v0.13.0 [INFO] [stderr] Checking glfw-sys v3.3.0 [INFO] [stderr] Checking glfw v0.30.0 [INFO] [stderr] error[E0518]: attribute should be applied to function or closure [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/glfw-0.30.0/src/lib.rs:1715:1 [INFO] [stderr] | [INFO] [stderr] 1715 | / bitflags! { [INFO] [stderr] 1716 | | #[doc = "Key modifiers (e.g., Shift, Control, Alt, Super)"] [INFO] [stderr] 1717 | | pub struct Modifiers: ::libc::c_int { [INFO] [stderr] 1718 | | const Shift = ::ffi::MOD_SHIFT; [INFO] [stderr] ... | [INFO] [stderr] 1724 | | } [INFO] [stderr] 1725 | | } [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/glfw-0.30.0/src/lib.rs:2693:1 [INFO] [stderr] | [INFO] [stderr] 2693 | / bitflags! { [INFO] [stderr] 2694 | | #[doc = "Joystick hats."] [INFO] [stderr] 2695 | | pub struct JoystickHats: ::libc::c_int { [INFO] [stderr] 2696 | | const Centered = ::ffi::HAT_CENTERED; [INFO] [stderr] ... | [INFO] [stderr] 2701 | | } [INFO] [stderr] 2702 | | } [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/glfw-0.30.0/src/lib.rs:1715:1 [INFO] [stderr] | [INFO] [stderr] 1715 | / bitflags! { [INFO] [stderr] 1716 | | #[doc = "Key modifiers (e.g., Shift, Control, Alt, Super)"] [INFO] [stderr] 1717 | | pub struct Modifiers: ::libc::c_int { [INFO] [stderr] 1718 | | const Shift = ::ffi::MOD_SHIFT; [INFO] [stderr] ... | [INFO] [stderr] 1724 | | } [INFO] [stderr] 1725 | | } [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/glfw-0.30.0/src/lib.rs:1715:1 [INFO] [stderr] | [INFO] [stderr] 1715 | / bitflags! { [INFO] [stderr] 1716 | | #[doc = "Key modifiers (e.g., Shift, Control, Alt, Super)"] [INFO] [stderr] 1717 | | pub struct Modifiers: ::libc::c_int { [INFO] [stderr] 1718 | | const Shift = ::ffi::MOD_SHIFT; [INFO] [stderr] ... | [INFO] [stderr] 1724 | | } [INFO] [stderr] 1725 | | } [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/glfw-0.30.0/src/lib.rs:1715:1 [INFO] [stderr] | [INFO] [stderr] 1715 | / bitflags! { [INFO] [stderr] 1716 | | #[doc = "Key modifiers (e.g., Shift, Control, Alt, Super)"] [INFO] [stderr] 1717 | | pub struct Modifiers: ::libc::c_int { [INFO] [stderr] 1718 | | const Shift = ::ffi::MOD_SHIFT; [INFO] [stderr] ... | [INFO] [stderr] 1724 | | } [INFO] [stderr] 1725 | | } [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/glfw-0.30.0/src/lib.rs:1715:1 [INFO] [stderr] | [INFO] [stderr] 1715 | / bitflags! { [INFO] [stderr] 1716 | | #[doc = "Key modifiers (e.g., Shift, Control, Alt, Super)"] [INFO] [stderr] 1717 | | pub struct Modifiers: ::libc::c_int { [INFO] [stderr] 1718 | | const Shift = ::ffi::MOD_SHIFT; [INFO] [stderr] ... | [INFO] [stderr] 1724 | | } [INFO] [stderr] 1725 | | } [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/glfw-0.30.0/src/lib.rs:1715:1 [INFO] [stderr] | [INFO] [stderr] 1715 | / bitflags! { [INFO] [stderr] 1716 | | #[doc = "Key modifiers (e.g., Shift, Control, Alt, Super)"] [INFO] [stderr] 1717 | | pub struct Modifiers: ::libc::c_int { [INFO] [stderr] 1718 | | const Shift = ::ffi::MOD_SHIFT; [INFO] [stderr] ... | [INFO] [stderr] 1724 | | } [INFO] [stderr] 1725 | | } [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/glfw-0.30.0/src/lib.rs:1715:1 [INFO] [stderr] | [INFO] [stderr] 1715 | / bitflags! { [INFO] [stderr] 1716 | | #[doc = "Key modifiers (e.g., Shift, Control, Alt, Super)"] [INFO] [stderr] 1717 | | pub struct Modifiers: ::libc::c_int { [INFO] [stderr] 1718 | | const Shift = ::ffi::MOD_SHIFT; [INFO] [stderr] ... | [INFO] [stderr] 1724 | | } [INFO] [stderr] 1725 | | } [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/glfw-0.30.0/src/lib.rs:2693:1 [INFO] [stderr] | [INFO] [stderr] 2693 | / bitflags! { [INFO] [stderr] 2694 | | #[doc = "Joystick hats."] [INFO] [stderr] 2695 | | pub struct JoystickHats: ::libc::c_int { [INFO] [stderr] 2696 | | const Centered = ::ffi::HAT_CENTERED; [INFO] [stderr] ... | [INFO] [stderr] 2701 | | } [INFO] [stderr] 2702 | | } [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/glfw-0.30.0/src/lib.rs:2693:1 [INFO] [stderr] | [INFO] [stderr] 2693 | / bitflags! { [INFO] [stderr] 2694 | | #[doc = "Joystick hats."] [INFO] [stderr] 2695 | | pub struct JoystickHats: ::libc::c_int { [INFO] [stderr] 2696 | | const Centered = ::ffi::HAT_CENTERED; [INFO] [stderr] ... | [INFO] [stderr] 2701 | | } [INFO] [stderr] 2702 | | } [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/glfw-0.30.0/src/lib.rs:2693:1 [INFO] [stderr] | [INFO] [stderr] 2693 | / bitflags! { [INFO] [stderr] 2694 | | #[doc = "Joystick hats."] [INFO] [stderr] 2695 | | pub struct JoystickHats: ::libc::c_int { [INFO] [stderr] 2696 | | const Centered = ::ffi::HAT_CENTERED; [INFO] [stderr] ... | [INFO] [stderr] 2701 | | } [INFO] [stderr] 2702 | | } [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/glfw-0.30.0/src/lib.rs:2693:1 [INFO] [stderr] | [INFO] [stderr] 2693 | / bitflags! { [INFO] [stderr] 2694 | | #[doc = "Joystick hats."] [INFO] [stderr] 2695 | | pub struct JoystickHats: ::libc::c_int { [INFO] [stderr] 2696 | | const Centered = ::ffi::HAT_CENTERED; [INFO] [stderr] ... | [INFO] [stderr] 2701 | | } [INFO] [stderr] 2702 | | } [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/glfw-0.30.0/src/lib.rs:2693:1 [INFO] [stderr] | [INFO] [stderr] 2693 | / bitflags! { [INFO] [stderr] 2694 | | #[doc = "Joystick hats."] [INFO] [stderr] 2695 | | pub struct JoystickHats: ::libc::c_int { [INFO] [stderr] 2696 | | const Centered = ::ffi::HAT_CENTERED; [INFO] [stderr] ... | [INFO] [stderr] 2701 | | } [INFO] [stderr] 2702 | | } [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 13 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0518`. [INFO] [stderr] error: could not compile `glfw`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "4cda31892395aecd07d7c70e22f1397b30c2b044135706b8b86e5bf905bfa1ac"` [INFO] running `"docker" "rm" "-f" "4cda31892395aecd07d7c70e22f1397b30c2b044135706b8b86e5bf905bfa1ac"` [INFO] [stdout] 4cda31892395aecd07d7c70e22f1397b30c2b044135706b8b86e5bf905bfa1ac