[INFO] cloning repository https://github.com/sumjingangcat/rust_with_minecraft [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sumjingangcat/rust_with_minecraft" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsumjingangcat%2Frust_with_minecraft", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsumjingangcat%2Frust_with_minecraft'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 15714fac75313f5a131dbf40173708f35819e2e3 [INFO] checking sumjingangcat/rust_with_minecraft against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsumjingangcat%2Frust_with_minecraft" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 74% (749/1004) Updating files: 75% (753/1004) Updating files: 76% (764/1004) Updating files: 77% (774/1004) Updating files: 78% (784/1004) Updating files: 79% (794/1004) Updating files: 80% (804/1004) Updating files: 81% (814/1004) Updating files: 82% (824/1004) Updating files: 83% (834/1004) Updating files: 84% (844/1004) Updating files: 85% (854/1004) Updating files: 86% (864/1004) Updating files: 87% (874/1004) Updating files: 88% (884/1004) Updating files: 89% (894/1004) Updating files: 90% (904/1004) Updating files: 91% (914/1004) Updating files: 92% (924/1004) Updating files: 93% (934/1004) Updating files: 94% (944/1004) Updating files: 95% (954/1004) Updating files: 96% (964/1004) Updating files: 97% (974/1004) Updating files: 98% (984/1004) Updating files: 99% (994/1004) Updating files: 100% (1004/1004) Updating files: 100% (1004/1004), done. [INFO] validating manifest of git repo https://github.com/sumjingangcat/rust_with_minecraft on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sumjingangcat/rust_with_minecraft [INFO] finished tweaking git repo https://github.com/sumjingangcat/rust_with_minecraft [INFO] tweaked toml for git repo https://github.com/sumjingangcat/rust_with_minecraft written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sumjingangcat/rust_with_minecraft already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glfw v0.51.0 [INFO] [stderr] Downloaded xml-rs v0.8.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 12e5c9470fc67df00a648d4c02b30200ed6cdf0956ee42959abd70cc09a705f5 [INFO] running `Command { std: "docker" "start" "-a" "12e5c9470fc67df00a648d4c02b30200ed6cdf0956ee42959abd70cc09a705f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12e5c9470fc67df00a648d4c02b30200ed6cdf0956ee42959abd70cc09a705f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12e5c9470fc67df00a648d4c02b30200ed6cdf0956ee42959abd70cc09a705f5", kill_on_drop: false }` [INFO] [stdout] 12e5c9470fc67df00a648d4c02b30200ed6cdf0956ee42959abd70cc09a705f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce0a4eb3b17f138b9aad0026b0dce6096d7077bf9a42b1fa2b014a2d16aad7b9 [INFO] running `Command { std: "docker" "start" "-a" "ce0a4eb3b17f138b9aad0026b0dce6096d7077bf9a42b1fa2b014a2d16aad7b9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.144 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling xml-rs v0.8.9 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling glfw-sys v4.0.0+3.3.5 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking glfw v0.51.0 [INFO] [stderr] Checking minecraft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | gl_call!(gl::CreateBuffers(1, &mut vbo)); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | / gl_call!(gl::NamedBufferData( [INFO] [stdout] 31 | | vbo, [INFO] [stdout] 32 | | (capacity * std::mem::size_of::()) as isize, // size of buffer [INFO] [stdout] 33 | | // why isize? , Find it! [INFO] [stdout] 34 | | std::ptr::null(), [INFO] [stdout] 35 | | gl::DYNAMIC_DRAW, [INFO] [stdout] 36 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | gl_call!(gl::CreateVertexArrays(1, &mut vao)); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | gl_call!(gl::EnableVertexArrayAttrib(vao, 0)); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / gl_call!(gl::VertexArrayAttribFormat( [INFO] [stdout] 50 | | vao, [INFO] [stdout] 51 | | 0, // index [INFO] [stdout] 52 | | 2, // size [INFO] [stdout] ... | [INFO] [stdout] 55 | | 0, // offset [INFO] [stdout] 56 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | gl_call!(gl::VertexArrayAttribBinding(vao, 0, binding_index_pos)); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | / gl_call!(gl::VertexArrayVertexBuffer( // binding buffer to VAO [INFO] [stdout] 60 | | vao, [INFO] [stdout] 61 | | binding_index_pos, [INFO] [stdout] 62 | | vbo, [INFO] [stdout] 63 | | 0, [INFO] [stdout] 64 | | (6 * std::mem::size_of::()) as i32, // stride [INFO] [stdout] 65 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | gl_call!(gl::EnableVertexArrayAttrib(vao, 1)); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | / gl_call!(gl::VertexArrayAttribFormat( [INFO] [stdout] 70 | | vao, [INFO] [stdout] 71 | | 1, // index [INFO] [stdout] 72 | | 4, // size [INFO] [stdout] ... | [INFO] [stdout] 75 | | (2 * std::mem::size_of::()) as u32, // offset [INFO] [stdout] 76 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | gl_call!(gl::VertexArrayAttribBinding(vao, 1, binding_index_color)); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | / gl_call!(gl::VertexArrayVertexBuffer( [INFO] [stdout] 80 | | vao, [INFO] [stdout] 81 | | binding_index_color, [INFO] [stdout] 82 | | vbo, [INFO] [stdout] 83 | | 0, [INFO] [stdout] 84 | | (6 * std::mem::size_of::()) as i32, // stride [INFO] [stdout] 85 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | / gl_call!(gl::NamedBufferSubData( [INFO] [stdout] 112 | | self.vbo, [INFO] [stdout] 113 | | 0, [INFO] [stdout] 114 | | (self.vertices.len() * std::mem::size_of::()) as isize, [INFO] [stdout] 115 | | self.vertices.as_ptr() as *mut c_void, [INFO] [stdout] 116 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | gl_call!(gl::BindVertexArray(self.vao)); // vao binding : must be called before draw call [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | gl_call!(gl::CreateBuffers(1, &mut vbo)); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | / gl_call!(gl::DrawArrays( [INFO] [stdout] 120 | | gl::TRIANGLES, [INFO] [stdout] 121 | | 0, [INFO] [stdout] 122 | | self.vertices.len() as i32, [INFO] [stdout] 123 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | / gl_call!(gl::NamedBufferData( [INFO] [stdout] 31 | | vbo, [INFO] [stdout] 32 | | (capacity * std::mem::size_of::()) as isize, // size of buffer [INFO] [stdout] 33 | | // why isize? , Find it! [INFO] [stdout] 34 | | std::ptr::null(), [INFO] [stdout] 35 | | gl::DYNAMIC_DRAW, [INFO] [stdout] 36 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | gl_call!(gl::CreateVertexArrays(1, &mut vao)); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | gl_call!(gl::EnableVertexArrayAttrib(vao, 0)); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / gl_call!(gl::VertexArrayAttribFormat( [INFO] [stdout] 50 | | vao, [INFO] [stdout] 51 | | 0, // index [INFO] [stdout] 52 | | 2, // size [INFO] [stdout] ... | [INFO] [stdout] 55 | | 0, // offset [INFO] [stdout] 56 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | gl_call!(gl::VertexArrayAttribBinding(vao, 0, binding_index_pos)); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | / gl_call!(gl::VertexArrayVertexBuffer( // binding buffer to VAO [INFO] [stdout] 60 | | vao, [INFO] [stdout] 61 | | binding_index_pos, [INFO] [stdout] 62 | | vbo, [INFO] [stdout] 63 | | 0, [INFO] [stdout] 64 | | (6 * std::mem::size_of::()) as i32, // stride [INFO] [stdout] 65 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | gl_call!(gl::EnableVertexArrayAttrib(vao, 1)); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | gl_call!(gl::DeleteShader(self.id)); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | let id : u32 = gl_call!(gl::CreateShader(kind)); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | gl_call!(gl::ShaderSource(id, 1, &source.as_ptr(), std::ptr::null())); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | gl_call!(gl::CompileShader(id)); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | gl_call!(gl::GetShaderiv(id, gl::COMPILE_STATUS, &mut success)); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | gl_call!(gl::GetShaderiv(id, gl::INFO_LOG_LENGTH, &mut len)); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | / gl_call!(gl::VertexArrayAttribFormat( [INFO] [stdout] 70 | | vao, [INFO] [stdout] 71 | | 1, // index [INFO] [stdout] 72 | | 4, // size [INFO] [stdout] ... | [INFO] [stdout] 75 | | (2 * std::mem::size_of::()) as u32, // offset [INFO] [stdout] 76 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | gl_call!(gl::VertexArrayAttribBinding(vao, 1, binding_index_color)); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | / gl_call!(gl::VertexArrayVertexBuffer( [INFO] [stdout] 80 | | vao, [INFO] [stdout] 81 | | binding_index_color, [INFO] [stdout] 82 | | vbo, [INFO] [stdout] 83 | | 0, [INFO] [stdout] 84 | | (6 * std::mem::size_of::()) as i32, // stride [INFO] [stdout] 85 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | / gl_call!(gl::NamedBufferSubData( [INFO] [stdout] 112 | | self.vbo, [INFO] [stdout] 113 | | 0, [INFO] [stdout] 114 | | (self.vertices.len() * std::mem::size_of::()) as isize, [INFO] [stdout] 115 | | self.vertices.as_ptr() as *mut c_void, [INFO] [stdout] 116 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | gl_call!(gl::BindVertexArray(self.vao)); // vao binding : must be called before draw call [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | / gl_call!(gl::DrawArrays( [INFO] [stdout] 120 | | gl::TRIANGLES, [INFO] [stdout] 121 | | 0, [INFO] [stdout] 122 | | self.vertices.len() as i32, [INFO] [stdout] 123 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | gl_call!(gl::DeleteShader(self.id)); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | let id : u32 = gl_call!(gl::CreateShader(kind)); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | gl_call!(gl::ShaderSource(id, 1, &source.as_ptr(), std::ptr::null())); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | gl_call!(gl::CompileShader(id)); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | gl_call!(gl::GetShaderiv(id, gl::COMPILE_STATUS, &mut success)); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | gl_call!(gl::GetShaderiv(id, gl::INFO_LOG_LENGTH, &mut len)); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | / gl_call!(gl::GetShaderInfoLog( [INFO] [stdout] 54 | | id, [INFO] [stdout] 55 | | len, [INFO] [stdout] 56 | | std::ptr::null_mut(), [INFO] [stdout] 57 | | error.as_ptr() as *mut gl::types::GLchar, [INFO] [stdout] 58 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | gl_call!(gl::UseProgram(self.id)); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:86:26 [INFO] [stdout] | [INFO] [stdout] 86 | let program_id = gl_call!(gl::CreateProgram()); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | gl_call!(gl::AttachShader(program_id, vertex.id)); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | gl_call!(gl::AttachShader(program_id, fragment.id)); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | gl_call!(gl::LinkProgram(program_id)); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | gl_call!(gl::GetProgramiv(program_id, gl::LINK_STATUS, &mut success)); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | gl_call!(gl::GetProgramiv(program_id, gl::INFO_LOG_LENGTH, &mut len)); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | / gl_call!(gl::GetProgramInfoLog( [INFO] [stdout] 102 | | program_id, [INFO] [stdout] 103 | | len, [INFO] [stdout] 104 | | std::ptr::null_mut(), [INFO] [stdout] 105 | | error.as_ptr() as *mut gl::types::GLchar, [INFO] [stdout] 106 | | )); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | gl_call!(gl::DetachShader(program_id, vertex.id)); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | gl_call!(gl::DetachShader(program_id, fragment.id)); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | gl_call!(gl::DeleteProgram(self.id)); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WindowEvent` [INFO] [stdout] --> src/main.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use glfw::{Key, WindowEvent}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::Receiver` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::mpsc::Receiver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | gl_call!(gl::ClearColor(1.0, 1.0, 1.0, 1.0)); // RGBA [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | gl_call!(gl::Clear(gl::COLOR_BUFFER_BIT)); // clear color buffer [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | / gl_call!(gl::GetShaderInfoLog( [INFO] [stdout] 54 | | id, [INFO] [stdout] 55 | | len, [INFO] [stdout] 56 | | std::ptr::null_mut(), [INFO] [stdout] 57 | | error.as_ptr() as *mut gl::types::GLchar, [INFO] [stdout] 58 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | gl_call!(gl::UseProgram(self.id)); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:86:26 [INFO] [stdout] | [INFO] [stdout] 86 | let program_id = gl_call!(gl::CreateProgram()); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | gl_call!(gl::AttachShader(program_id, vertex.id)); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | gl_call!(gl::AttachShader(program_id, fragment.id)); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | gl_call!(gl::LinkProgram(program_id)); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | gl_call!(gl::GetProgramiv(program_id, gl::LINK_STATUS, &mut success)); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | gl_call!(gl::GetProgramiv(program_id, gl::INFO_LOG_LENGTH, &mut len)); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | / gl_call!(gl::GetProgramInfoLog( [INFO] [stdout] 102 | | program_id, [INFO] [stdout] 103 | | len, [INFO] [stdout] 104 | | std::ptr::null_mut(), [INFO] [stdout] 105 | | error.as_ptr() as *mut gl::types::GLchar, [INFO] [stdout] 106 | | )); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | gl_call!(gl::DetachShader(program_id, vertex.id)); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | gl_call!(gl::DetachShader(program_id, fragment.id)); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | gl_call!(gl::DeleteProgram(self.id)); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WindowEvent` [INFO] [stdout] --> src/main.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use glfw::{Key, WindowEvent}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::Receiver` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::mpsc::Receiver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | gl_call!(gl::ClearColor(1.0, 1.0, 1.0, 1.0)); // RGBA [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | gl_call!(gl::Clear(gl::COLOR_BUFFER_BIT)); // clear color buffer [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/renderer.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut binding_index_pos = 0; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/renderer.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut binding_index_color = 1; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/renderer.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut binding_index_pos = 0; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/renderer.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut binding_index_color = 1; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `uniform_cache` is never read [INFO] [stdout] --> src/shader.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct ShaderProgram{ [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 76 | id: u32, [INFO] [stdout] 77 | uniform_cache: RefCell>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShaderProgram` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `uniform_cache` is never read [INFO] [stdout] --> src/shader.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct ShaderProgram{ [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 76 | id: u32, [INFO] [stdout] 77 | uniform_cache: RefCell>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShaderProgram` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.73s [INFO] running `Command { std: "docker" "inspect" "ce0a4eb3b17f138b9aad0026b0dce6096d7077bf9a42b1fa2b014a2d16aad7b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce0a4eb3b17f138b9aad0026b0dce6096d7077bf9a42b1fa2b014a2d16aad7b9", kill_on_drop: false }` [INFO] [stdout] ce0a4eb3b17f138b9aad0026b0dce6096d7077bf9a42b1fa2b014a2d16aad7b9 [INFO] checking sumjingangcat/rust_with_minecraft against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsumjingangcat%2Frust_with_minecraft" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 75% (761/1004) Updating files: 76% (764/1004) Updating files: 77% (774/1004) Updating files: 78% (784/1004) Updating files: 79% (794/1004) Updating files: 80% (804/1004) Updating files: 81% (814/1004) Updating files: 82% (824/1004) Updating files: 83% (834/1004) Updating files: 84% (844/1004) Updating files: 85% (854/1004) Updating files: 86% (864/1004) Updating files: 87% (874/1004) Updating files: 88% (884/1004) Updating files: 89% (894/1004) Updating files: 90% (904/1004) Updating files: 91% (914/1004) Updating files: 92% (924/1004) Updating files: 93% (934/1004) Updating files: 94% (944/1004) Updating files: 95% (954/1004) Updating files: 96% (964/1004) Updating files: 97% (974/1004) Updating files: 98% (984/1004) Updating files: 99% (994/1004) Updating files: 100% (1004/1004) Updating files: 100% (1004/1004), done. [INFO] validating manifest of git repo https://github.com/sumjingangcat/rust_with_minecraft on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sumjingangcat/rust_with_minecraft [INFO] finished tweaking git repo https://github.com/sumjingangcat/rust_with_minecraft [INFO] tweaked toml for git repo https://github.com/sumjingangcat/rust_with_minecraft written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sumjingangcat/rust_with_minecraft already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 396b0b4d8ae156654c64c295da8e2349ca65e63eac1284b616eca256321b512b [INFO] running `Command { std: "docker" "start" "-a" "396b0b4d8ae156654c64c295da8e2349ca65e63eac1284b616eca256321b512b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "396b0b4d8ae156654c64c295da8e2349ca65e63eac1284b616eca256321b512b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "396b0b4d8ae156654c64c295da8e2349ca65e63eac1284b616eca256321b512b", kill_on_drop: false }` [INFO] [stdout] 396b0b4d8ae156654c64c295da8e2349ca65e63eac1284b616eca256321b512b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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 -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52740ad9629a98fad37b113accfb95b1c6aa4147aba0785197099c37b8d2e966 [INFO] running `Command { std: "docker" "start" "-a" "52740ad9629a98fad37b113accfb95b1c6aa4147aba0785197099c37b8d2e966", kill_on_drop: false }` [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling libc v0.2.144 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling xml-rs v0.8.9 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling glfw-sys v4.0.0+3.3.5 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking glfw v0.51.0 [INFO] [stderr] Checking minecraft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | gl_call!(gl::CreateBuffers(1, &mut vbo)); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | gl_call!(gl::CreateBuffers(1, &mut vbo)); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | / gl_call!(gl::NamedBufferData( [INFO] [stdout] 31 | | vbo, [INFO] [stdout] 32 | | (capacity * std::mem::size_of::()) as isize, // size of buffer [INFO] [stdout] 33 | | // why isize? , Find it! [INFO] [stdout] 34 | | std::ptr::null(), [INFO] [stdout] 35 | | gl::DYNAMIC_DRAW, [INFO] [stdout] 36 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | gl_call!(gl::CreateVertexArrays(1, &mut vao)); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | gl_call!(gl::EnableVertexArrayAttrib(vao, 0)); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | / gl_call!(gl::NamedBufferData( [INFO] [stdout] 31 | | vbo, [INFO] [stdout] 32 | | (capacity * std::mem::size_of::()) as isize, // size of buffer [INFO] [stdout] 33 | | // why isize? , Find it! [INFO] [stdout] 34 | | std::ptr::null(), [INFO] [stdout] 35 | | gl::DYNAMIC_DRAW, [INFO] [stdout] 36 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / gl_call!(gl::VertexArrayAttribFormat( [INFO] [stdout] 50 | | vao, [INFO] [stdout] 51 | | 0, // index [INFO] [stdout] 52 | | 2, // size [INFO] [stdout] ... | [INFO] [stdout] 55 | | 0, // offset [INFO] [stdout] 56 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | gl_call!(gl::CreateVertexArrays(1, &mut vao)); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | gl_call!(gl::VertexArrayAttribBinding(vao, 0, binding_index_pos)); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | gl_call!(gl::EnableVertexArrayAttrib(vao, 0)); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | / gl_call!(gl::VertexArrayVertexBuffer( // binding buffer to VAO [INFO] [stdout] 60 | | vao, [INFO] [stdout] 61 | | binding_index_pos, [INFO] [stdout] 62 | | vbo, [INFO] [stdout] 63 | | 0, [INFO] [stdout] 64 | | (6 * std::mem::size_of::()) as i32, // stride [INFO] [stdout] 65 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / gl_call!(gl::VertexArrayAttribFormat( [INFO] [stdout] 50 | | vao, [INFO] [stdout] 51 | | 0, // index [INFO] [stdout] 52 | | 2, // size [INFO] [stdout] ... | [INFO] [stdout] 55 | | 0, // offset [INFO] [stdout] 56 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | gl_call!(gl::EnableVertexArrayAttrib(vao, 1)); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | gl_call!(gl::VertexArrayAttribBinding(vao, 0, binding_index_pos)); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | / gl_call!(gl::VertexArrayAttribFormat( [INFO] [stdout] 70 | | vao, [INFO] [stdout] 71 | | 1, // index [INFO] [stdout] 72 | | 4, // size [INFO] [stdout] ... | [INFO] [stdout] 75 | | (2 * std::mem::size_of::()) as u32, // offset [INFO] [stdout] 76 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | / gl_call!(gl::VertexArrayVertexBuffer( // binding buffer to VAO [INFO] [stdout] 60 | | vao, [INFO] [stdout] 61 | | binding_index_pos, [INFO] [stdout] 62 | | vbo, [INFO] [stdout] 63 | | 0, [INFO] [stdout] 64 | | (6 * std::mem::size_of::()) as i32, // stride [INFO] [stdout] 65 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | gl_call!(gl::VertexArrayAttribBinding(vao, 1, binding_index_color)); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | gl_call!(gl::EnableVertexArrayAttrib(vao, 1)); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | / gl_call!(gl::VertexArrayVertexBuffer( [INFO] [stdout] 80 | | vao, [INFO] [stdout] 81 | | binding_index_color, [INFO] [stdout] 82 | | vbo, [INFO] [stdout] 83 | | 0, [INFO] [stdout] 84 | | (6 * std::mem::size_of::()) as i32, // stride [INFO] [stdout] 85 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | / gl_call!(gl::VertexArrayAttribFormat( [INFO] [stdout] 70 | | vao, [INFO] [stdout] 71 | | 1, // index [INFO] [stdout] 72 | | 4, // size [INFO] [stdout] ... | [INFO] [stdout] 75 | | (2 * std::mem::size_of::()) as u32, // offset [INFO] [stdout] 76 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | / gl_call!(gl::NamedBufferSubData( [INFO] [stdout] 112 | | self.vbo, [INFO] [stdout] 113 | | 0, [INFO] [stdout] 114 | | (self.vertices.len() * std::mem::size_of::()) as isize, [INFO] [stdout] 115 | | self.vertices.as_ptr() as *mut c_void, [INFO] [stdout] 116 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | gl_call!(gl::VertexArrayAttribBinding(vao, 1, binding_index_color)); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | gl_call!(gl::BindVertexArray(self.vao)); // vao binding : must be called before draw call [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | / gl_call!(gl::DrawArrays( [INFO] [stdout] 120 | | gl::TRIANGLES, [INFO] [stdout] 121 | | 0, [INFO] [stdout] 122 | | self.vertices.len() as i32, [INFO] [stdout] 123 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | / gl_call!(gl::VertexArrayVertexBuffer( [INFO] [stdout] 80 | | vao, [INFO] [stdout] 81 | | binding_index_color, [INFO] [stdout] 82 | | vbo, [INFO] [stdout] 83 | | 0, [INFO] [stdout] 84 | | (6 * std::mem::size_of::()) as i32, // stride [INFO] [stdout] 85 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | gl_call!(gl::DeleteShader(self.id)); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | / gl_call!(gl::NamedBufferSubData( [INFO] [stdout] 112 | | self.vbo, [INFO] [stdout] 113 | | 0, [INFO] [stdout] 114 | | (self.vertices.len() * std::mem::size_of::()) as isize, [INFO] [stdout] 115 | | self.vertices.as_ptr() as *mut c_void, [INFO] [stdout] 116 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | let id : u32 = gl_call!(gl::CreateShader(kind)); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | gl_call!(gl::BindVertexArray(self.vao)); // vao binding : must be called before draw call [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | gl_call!(gl::ShaderSource(id, 1, &source.as_ptr(), std::ptr::null())); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/renderer.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | / gl_call!(gl::DrawArrays( [INFO] [stdout] 120 | | gl::TRIANGLES, [INFO] [stdout] 121 | | 0, [INFO] [stdout] 122 | | self.vertices.len() as i32, [INFO] [stdout] 123 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | gl_call!(gl::CompileShader(id)); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | gl_call!(gl::DeleteShader(self.id)); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | gl_call!(gl::GetShaderiv(id, gl::COMPILE_STATUS, &mut success)); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | let id : u32 = gl_call!(gl::CreateShader(kind)); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | gl_call!(gl::GetShaderiv(id, gl::INFO_LOG_LENGTH, &mut len)); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | gl_call!(gl::ShaderSource(id, 1, &source.as_ptr(), std::ptr::null())); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | / gl_call!(gl::GetShaderInfoLog( [INFO] [stdout] 54 | | id, [INFO] [stdout] 55 | | len, [INFO] [stdout] 56 | | std::ptr::null_mut(), [INFO] [stdout] 57 | | error.as_ptr() as *mut gl::types::GLchar, [INFO] [stdout] 58 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | gl_call!(gl::CompileShader(id)); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | gl_call!(gl::UseProgram(self.id)); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | gl_call!(gl::GetShaderiv(id, gl::COMPILE_STATUS, &mut success)); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:86:26 [INFO] [stdout] | [INFO] [stdout] 86 | let program_id = gl_call!(gl::CreateProgram()); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | gl_call!(gl::AttachShader(program_id, vertex.id)); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | gl_call!(gl::GetShaderiv(id, gl::INFO_LOG_LENGTH, &mut len)); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | gl_call!(gl::AttachShader(program_id, fragment.id)); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | / gl_call!(gl::GetShaderInfoLog( [INFO] [stdout] 54 | | id, [INFO] [stdout] 55 | | len, [INFO] [stdout] 56 | | std::ptr::null_mut(), [INFO] [stdout] 57 | | error.as_ptr() as *mut gl::types::GLchar, [INFO] [stdout] 58 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | gl_call!(gl::LinkProgram(program_id)); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | gl_call!(gl::UseProgram(self.id)); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | gl_call!(gl::GetProgramiv(program_id, gl::LINK_STATUS, &mut success)); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | gl_call!(gl::GetProgramiv(program_id, gl::INFO_LOG_LENGTH, &mut len)); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:86:26 [INFO] [stdout] | [INFO] [stdout] 86 | let program_id = gl_call!(gl::CreateProgram()); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | gl_call!(gl::AttachShader(program_id, vertex.id)); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | / gl_call!(gl::GetProgramInfoLog( [INFO] [stdout] 102 | | program_id, [INFO] [stdout] 103 | | len, [INFO] [stdout] 104 | | std::ptr::null_mut(), [INFO] [stdout] 105 | | error.as_ptr() as *mut gl::types::GLchar, [INFO] [stdout] 106 | | )); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | gl_call!(gl::DetachShader(program_id, vertex.id)); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | gl_call!(gl::AttachShader(program_id, fragment.id)); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | gl_call!(gl::DetachShader(program_id, fragment.id)); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | gl_call!(gl::LinkProgram(program_id)); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | gl_call!(gl::GetProgramiv(program_id, gl::LINK_STATUS, &mut success)); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | gl_call!(gl::DeleteProgram(self.id)); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WindowEvent` [INFO] [stdout] --> src/main.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use glfw::{Key, WindowEvent}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | gl_call!(gl::GetProgramiv(program_id, gl::INFO_LOG_LENGTH, &mut len)); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::Receiver` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::mpsc::Receiver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | gl_call!(gl::ClearColor(1.0, 1.0, 1.0, 1.0)); // RGBA [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | / gl_call!(gl::GetProgramInfoLog( [INFO] [stdout] 102 | | program_id, [INFO] [stdout] 103 | | len, [INFO] [stdout] 104 | | std::ptr::null_mut(), [INFO] [stdout] 105 | | error.as_ptr() as *mut gl::types::GLchar, [INFO] [stdout] 106 | | )); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | gl_call!(gl::Clear(gl::COLOR_BUFFER_BIT)); // clear color buffer [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | gl_call!(gl::DetachShader(program_id, vertex.id)); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | gl_call!(gl::DetachShader(program_id, fragment.id)); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/shader.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | gl_call!(gl::DeleteProgram(self.id)); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WindowEvent` [INFO] [stdout] --> src/main.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use glfw::{Key, WindowEvent}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::Receiver` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::mpsc::Receiver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | gl_call!(gl::ClearColor(1.0, 1.0, 1.0, 1.0)); // RGBA [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `gl_debug` [INFO] [stdout] --> src/debugging.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | if !cfg!(feature = "gl_debug") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | gl_call!(gl::Clear(gl::COLOR_BUFFER_BIT)); // clear color buffer [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `gl_debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `gl_call` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/renderer.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut binding_index_pos = 0; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/renderer.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut binding_index_color = 1; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/renderer.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut binding_index_pos = 0; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/renderer.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut binding_index_color = 1; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `uniform_cache` is never read [INFO] [stdout] --> src/shader.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct ShaderProgram{ [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 76 | id: u32, [INFO] [stdout] 77 | uniform_cache: RefCell>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShaderProgram` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shader.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn from_shaders(vertex: ShaderPart, fragment: ShaderPart) -> Result{ [INFO] [stdout] | ------------------ -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | Ok(ShaderProgram {id : program_id, uniform_cache: RefCell::new(HashMap::new())}) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `minecraft` (bin "minecraft" test) due to 2 previous errors; 39 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `uniform_cache` is never read [INFO] [stdout] --> src/shader.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct ShaderProgram{ [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 76 | id: u32, [INFO] [stdout] 77 | uniform_cache: RefCell>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShaderProgram` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shader.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn from_shaders(vertex: ShaderPart, fragment: ShaderPart) -> Result{ [INFO] [stdout] | ------------------ -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | Ok(ShaderProgram {id : program_id, uniform_cache: RefCell::new(HashMap::new())}) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `minecraft` (bin "minecraft") due to 2 previous errors; 39 warnings emitted [INFO] running `Command { std: "docker" "inspect" "52740ad9629a98fad37b113accfb95b1c6aa4147aba0785197099c37b8d2e966", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52740ad9629a98fad37b113accfb95b1c6aa4147aba0785197099c37b8d2e966", kill_on_drop: false }` [INFO] [stdout] 52740ad9629a98fad37b113accfb95b1c6aa4147aba0785197099c37b8d2e966