[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] building sumjingangcat/rust_with_minecraft against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsumjingangcat%2Frust_with_minecraft" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 79% (800/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 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-4-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xml-rs v0.8.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ab8178aa4dd02e509a94b89135aa9c6e99a38e4f1ae3bacd0135b11888546cd [INFO] running `Command { std: "docker" "start" "-a" "0ab8178aa4dd02e509a94b89135aa9c6e99a38e4f1ae3bacd0135b11888546cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ab8178aa4dd02e509a94b89135aa9c6e99a38e4f1ae3bacd0135b11888546cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ab8178aa4dd02e509a94b89135aa9c6e99a38e4f1ae3bacd0135b11888546cd", kill_on_drop: false }` [INFO] [stdout] 0ab8178aa4dd02e509a94b89135aa9c6e99a38e4f1ae3bacd0135b11888546cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2136b14ad24487e1f5bfeeb1ade645bcb443ed14af735e92de5072547cebf693 [INFO] running `Command { std: "docker" "start" "-a" "2136b14ad24487e1f5bfeeb1ade645bcb443ed14af735e92de5072547cebf693", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [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] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling glfw-sys v4.0.0+3.3.5 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling glfw v0.51.0 [INFO] [stderr] Compiling 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] ... | [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: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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.23s [INFO] running `Command { std: "docker" "inspect" "2136b14ad24487e1f5bfeeb1ade645bcb443ed14af735e92de5072547cebf693", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2136b14ad24487e1f5bfeeb1ade645bcb443ed14af735e92de5072547cebf693", kill_on_drop: false }` [INFO] [stdout] 2136b14ad24487e1f5bfeeb1ade645bcb443ed14af735e92de5072547cebf693 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b74323a2ff0936dce0aecfd8a9612b37b3695960a4ab8d9c193a2613a5a78015 [INFO] running `Command { std: "docker" "start" "-a" "b74323a2ff0936dce0aecfd8a9612b37b3695960a4ab8d9c193a2613a5a78015", kill_on_drop: false }` [INFO] [stderr] Compiling 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] ... | [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: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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.56s [INFO] running `Command { std: "docker" "inspect" "b74323a2ff0936dce0aecfd8a9612b37b3695960a4ab8d9c193a2613a5a78015", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b74323a2ff0936dce0aecfd8a9612b37b3695960a4ab8d9c193a2613a5a78015", kill_on_drop: false }` [INFO] [stdout] b74323a2ff0936dce0aecfd8a9612b37b3695960a4ab8d9c193a2613a5a78015