[INFO] fetching crate cat_engine 1.0.0-alpha7... [INFO] checking cat_engine-1.0.0-alpha7 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate cat_engine 1.0.0-alpha7 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate cat_engine 1.0.0-alpha7 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cat_engine 1.0.0-alpha7 [INFO] finished tweaking crates.io crate cat_engine 1.0.0-alpha7 [INFO] tweaked toml for crates.io crate cat_engine 1.0.0-alpha7 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate cat_engine 1.0.0-alpha7 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b49d3c19299965b0bd441d1c4398dffd3a6a01ca55289cad2a2718adb6b951d8 [INFO] running `Command { std: "docker" "start" "-a" "b49d3c19299965b0bd441d1c4398dffd3a6a01ca55289cad2a2718adb6b951d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b49d3c19299965b0bd441d1c4398dffd3a6a01ca55289cad2a2718adb6b951d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b49d3c19299965b0bd441d1c4398dffd3a6a01ca55289cad2a2718adb6b951d8", kill_on_drop: false }` [INFO] [stdout] b49d3c19299965b0bd441d1c4398dffd3a6a01ca55289cad2a2718adb6b951d8 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40e6a7165fb3f51968cc260f5a87cf79f54f11af6a90c81d2f225db823dc914d [INFO] running `Command { std: "docker" "start" "-a" "40e6a7165fb3f51968cc260f5a87cf79f54f11af6a90c81d2f225db823dc914d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling libc v0.2.105 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Checking ttf-parser v0.12.3 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking gif v0.11.3 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking cat_engine_basement v0.0.0-alpha7 [INFO] [stderr] Checking cat_engine v1.0.0-alpha7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `unsafe_release_heap_memmory_system` [INFO] [stdout] --> src/graphics/object_allocation/heap_mem_system.rs:389:11 [INFO] [stdout] | [INFO] [stdout] 389 | #[cfg(not(feature="unsafe_release_heap_memmory_system"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ab_glyph_rasterizer`, `audio`, `cat_audio`, `default`, `extended_audio`, `raw_audio`, `set_cursor_event`, `simple_graphics`, `text_graphics`, `texture_graphics`, `ttf-parser`, and `wnd_proc_catch_panic` [INFO] [stdout] = help: consider adding `unsafe_release_heap_memmory_system` 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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unsafe_release_heap_memmory_system` [INFO] [stdout] --> src/graphics/object_allocation/heap_mem_system.rs:430:7 [INFO] [stdout] | [INFO] [stdout] 430 | #[cfg(feature="unsafe_release_heap_memmory_system")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ab_glyph_rasterizer`, `audio`, `cat_audio`, `default`, `extended_audio`, `raw_audio`, `set_cursor_event`, `simple_graphics`, `text_graphics`, `texture_graphics`, `ttf-parser`, and `wnd_proc_catch_panic` [INFO] [stdout] = help: consider adding `unsafe_release_heap_memmory_system` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unsafe_release_stack_memmory_system` [INFO] [stdout] --> src/graphics/object_allocation/stack_mem_system.rs:199:11 [INFO] [stdout] | [INFO] [stdout] 199 | #[cfg(not(feature="unsafe_release_stack_memmory_system"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ab_glyph_rasterizer`, `audio`, `cat_audio`, `default`, `extended_audio`, `raw_audio`, `set_cursor_event`, `simple_graphics`, `text_graphics`, `texture_graphics`, `ttf-parser`, and `wnd_proc_catch_panic` [INFO] [stdout] = help: consider adding `unsafe_release_stack_memmory_system` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unsafe_release_stack_memmory_system` [INFO] [stdout] --> src/graphics/object_allocation/stack_mem_system.rs:217:7 [INFO] [stdout] | [INFO] [stdout] 217 | #[cfg(feature="unsafe_release_stack_memmory_system")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ab_glyph_rasterizer`, `audio`, `cat_audio`, `default`, `extended_audio`, `raw_audio`, `set_cursor_event`, `simple_graphics`, `text_graphics`, `texture_graphics`, `ttf-parser`, and `wnd_proc_catch_panic` [INFO] [stdout] = help: consider adding `unsafe_release_stack_memmory_system` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unsafe_release_heap_memmory_system` [INFO] [stdout] --> src/graphics/object_allocation/heap_mem_system.rs:389:11 [INFO] [stdout] | [INFO] [stdout] 389 | #[cfg(not(feature="unsafe_release_heap_memmory_system"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ab_glyph_rasterizer`, `audio`, `cat_audio`, `default`, `extended_audio`, `raw_audio`, `set_cursor_event`, `simple_graphics`, `text_graphics`, `texture_graphics`, `ttf-parser`, and `wnd_proc_catch_panic` [INFO] [stdout] = help: consider adding `unsafe_release_heap_memmory_system` 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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unsafe_release_heap_memmory_system` [INFO] [stdout] --> src/graphics/object_allocation/heap_mem_system.rs:430:7 [INFO] [stdout] | [INFO] [stdout] 430 | #[cfg(feature="unsafe_release_heap_memmory_system")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ab_glyph_rasterizer`, `audio`, `cat_audio`, `default`, `extended_audio`, `raw_audio`, `set_cursor_event`, `simple_graphics`, `text_graphics`, `texture_graphics`, `ttf-parser`, and `wnd_proc_catch_panic` [INFO] [stdout] = help: consider adding `unsafe_release_heap_memmory_system` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unsafe_release_stack_memmory_system` [INFO] [stdout] --> src/graphics/object_allocation/stack_mem_system.rs:199:11 [INFO] [stdout] | [INFO] [stdout] 199 | #[cfg(not(feature="unsafe_release_stack_memmory_system"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ab_glyph_rasterizer`, `audio`, `cat_audio`, `default`, `extended_audio`, `raw_audio`, `set_cursor_event`, `simple_graphics`, `text_graphics`, `texture_graphics`, `ttf-parser`, and `wnd_proc_catch_panic` [INFO] [stdout] = help: consider adding `unsafe_release_stack_memmory_system` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unsafe_release_stack_memmory_system` [INFO] [stdout] --> src/graphics/object_allocation/stack_mem_system.rs:217:7 [INFO] [stdout] | [INFO] [stdout] 217 | #[cfg(feature="unsafe_release_stack_memmory_system")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ab_glyph_rasterizer`, `audio`, `cat_audio`, `default`, `extended_audio`, `raw_audio`, `set_cursor_event`, `simple_graphics`, `text_graphics`, `texture_graphics`, `ttf-parser`, and `wnd_proc_catch_panic` [INFO] [stdout] = help: consider adding `unsafe_release_stack_memmory_system` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/mod.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | &GLCore [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 99 | &raw const GLCore [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/mod.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | &GLCore [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 99 | &raw const GLCore [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/mod.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | GLCore.parameters.set_clear_colour(colour); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/mod.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | GLCore.parameters.set_clear_colour(colour); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/mod.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | GLCore.clear(ClearMask::Colour) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/mod.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | GLCore.clear(ClearMask::Colour) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/objects.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | / GLCore.vertex_array.attribute_pointer( [INFO] [stdout] 41 | | 0, [INFO] [stdout] 42 | | 0, [INFO] [stdout] 43 | | VertexComponents::Two, [INFO] [stdout] ... | [INFO] [stdout] 46 | | false [INFO] [stdout] 47 | | ); [INFO] [stdout] | |_____________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/objects.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | GLCore.vertex_array.enable_attribute(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/objects.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | / GLCore.vertex_array.attribute_pointer( [INFO] [stdout] 41 | | 0, [INFO] [stdout] 42 | | 0, [INFO] [stdout] 43 | | VertexComponents::Two, [INFO] [stdout] ... | [INFO] [stdout] 46 | | false [INFO] [stdout] 47 | | ); [INFO] [stdout] | |_____________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/objects.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | / GLCore.vertex_array.attribute_pointer( [INFO] [stdout] 51 | | 1, [INFO] [stdout] 52 | | 8, [INFO] [stdout] 53 | | VertexComponents::Four, [INFO] [stdout] ... | [INFO] [stdout] 56 | | false [INFO] [stdout] 57 | | ); [INFO] [stdout] | |_____________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/objects.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | GLCore.vertex_array.enable_attribute(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/objects.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | GLCore.vertex_array.enable_attribute(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/objects.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | / GLCore.vertex_array.attribute_pointer( [INFO] [stdout] 51 | | 1, [INFO] [stdout] 52 | | 8, [INFO] [stdout] 53 | | VertexComponents::Four, [INFO] [stdout] ... | [INFO] [stdout] 56 | | false [INFO] [stdout] 57 | | ); [INFO] [stdout] | |_____________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/objects.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / GLCore.vertex_array.attribute_pointer( [INFO] [stdout] 85 | | 0, [INFO] [stdout] 86 | | 0, [INFO] [stdout] 87 | | VertexComponents::Two, [INFO] [stdout] ... | [INFO] [stdout] 90 | | false [INFO] [stdout] 91 | | ); [INFO] [stdout] | |_____________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/objects.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | GLCore.vertex_array.enable_attribute(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/objects.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | GLCore.vertex_array.enable_attribute(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/objects.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / GLCore.vertex_array.attribute_pointer( [INFO] [stdout] 85 | | 0, [INFO] [stdout] 86 | | 0, [INFO] [stdout] 87 | | VertexComponents::Two, [INFO] [stdout] ... | [INFO] [stdout] 90 | | false [INFO] [stdout] 91 | | ); [INFO] [stdout] | |_____________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/objects.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | / GLCore.vertex_array.attribute_pointer( [INFO] [stdout] 95 | | 1, [INFO] [stdout] 96 | | 8, [INFO] [stdout] 97 | | VertexComponents::Two, [INFO] [stdout] ... | [INFO] [stdout] 100 | | false [INFO] [stdout] 101 | | ); [INFO] [stdout] | |_____________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/objects.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | GLCore.vertex_array.enable_attribute(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/objects.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | GLCore.vertex_array.enable_attribute(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/objects.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | / GLCore.vertex_array.attribute_pointer( [INFO] [stdout] 95 | | 1, [INFO] [stdout] 96 | | 8, [INFO] [stdout] 97 | | VertexComponents::Two, [INFO] [stdout] ... | [INFO] [stdout] 100 | | false [INFO] [stdout] 101 | | ); [INFO] [stdout] | |_____________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/objects.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | / GLCore.vertex_array.attribute_pointer( [INFO] [stdout] 105 | | 2, [INFO] [stdout] 106 | | 16, [INFO] [stdout] 107 | | VertexComponents::Four, [INFO] [stdout] ... | [INFO] [stdout] 110 | | false [INFO] [stdout] 111 | | ); [INFO] [stdout] | |_____________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/objects.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | GLCore.vertex_array.enable_attribute(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/objects.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | GLCore.vertex_array.enable_attribute(2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/objects.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | / GLCore.vertex_array.attribute_pointer( [INFO] [stdout] 105 | | 2, [INFO] [stdout] 106 | | 16, [INFO] [stdout] 107 | | VertexComponents::Four, [INFO] [stdout] ... | [INFO] [stdout] 110 | | false [INFO] [stdout] 111 | | ); [INFO] [stdout] | |_____________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/objects.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | / GLCore.vertex_array.attribute_pointer( [INFO] [stdout] 138 | | 0, [INFO] [stdout] 139 | | 0, [INFO] [stdout] 140 | | VertexComponents::Two, [INFO] [stdout] ... | [INFO] [stdout] 143 | | false [INFO] [stdout] 144 | | ); [INFO] [stdout] | |_____________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/objects.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | GLCore.vertex_array.enable_attribute(2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/objects.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | GLCore.vertex_array.enable_attribute(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/objects.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | / GLCore.vertex_array.attribute_pointer( [INFO] [stdout] 148 | | 1, [INFO] [stdout] 149 | | 8, [INFO] [stdout] 150 | | VertexComponents::Two, [INFO] [stdout] ... | [INFO] [stdout] 153 | | false [INFO] [stdout] 154 | | ); [INFO] [stdout] | |_____________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/objects.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | / GLCore.vertex_array.attribute_pointer( [INFO] [stdout] 138 | | 0, [INFO] [stdout] 139 | | 0, [INFO] [stdout] 140 | | VertexComponents::Two, [INFO] [stdout] ... | [INFO] [stdout] 143 | | false [INFO] [stdout] 144 | | ); [INFO] [stdout] | |_____________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/objects.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | GLCore.vertex_array.enable_attribute(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/objects.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | GLCore.vertex_array.enable_attribute(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/simple_graphics.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | GLCore.drawing.multi_draw_arrays(&first,&object.count,object.primitive_type) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/simple_graphics.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 151 | / GLCore.drawing.multi_draw_elements_typed::( [INFO] [stdout] 152 | | &indices, [INFO] [stdout] 153 | | &object.count, [INFO] [stdout] 154 | | object.primitive_type [INFO] [stdout] 155 | | ) [INFO] [stdout] | |_____________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/objects.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | / GLCore.vertex_array.attribute_pointer( [INFO] [stdout] 148 | | 1, [INFO] [stdout] 149 | | 8, [INFO] [stdout] 150 | | VertexComponents::Two, [INFO] [stdout] ... | [INFO] [stdout] 153 | | false [INFO] [stdout] 154 | | ); [INFO] [stdout] | |_____________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/simple_graphics.rs:224:21 [INFO] [stdout] | [INFO] [stdout] 224 | GLCore.drawing.draw_arrays(first,object.count,object.primitive_type) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/simple_graphics.rs:228:21 [INFO] [stdout] | [INFO] [stdout] 228 | / GLCore.drawing.draw_elements_typed::( [INFO] [stdout] 229 | | first, [INFO] [stdout] 230 | | object.count, [INFO] [stdout] 231 | | object.primitive_type [INFO] [stdout] 232 | | ) [INFO] [stdout] | |_____________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/objects.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | GLCore.vertex_array.enable_attribute(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/texture_graphics.rs:156:21 [INFO] [stdout] | [INFO] [stdout] 156 | GLCore.drawing.multi_draw_arrays(&first,&object.count,object.primitive_type) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/simple_graphics.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | GLCore.drawing.multi_draw_arrays(&first,&object.count,object.primitive_type) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/texture_graphics.rs:160:20 [INFO] [stdout] | [INFO] [stdout] 160 | / GLCore.drawing.multi_draw_elements_typed::( [INFO] [stdout] 161 | | &indices, [INFO] [stdout] 162 | | &object.count, [INFO] [stdout] 163 | | object.primitive_type [INFO] [stdout] 164 | | ) [INFO] [stdout] | |_____________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/simple_graphics.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 151 | / GLCore.drawing.multi_draw_elements_typed::( [INFO] [stdout] 152 | | &indices, [INFO] [stdout] 153 | | &object.count, [INFO] [stdout] 154 | | object.primitive_type [INFO] [stdout] 155 | | ) [INFO] [stdout] | |_____________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/texture_graphics.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 240 | GLCore.drawing.draw_arrays(first,drawable.count,object.primitive_type) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/simple_graphics.rs:224:21 [INFO] [stdout] | [INFO] [stdout] 224 | GLCore.drawing.draw_arrays(first,object.count,object.primitive_type) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/texture_graphics.rs:244:21 [INFO] [stdout] | [INFO] [stdout] 244 | / GLCore.drawing.draw_elements_typed::( [INFO] [stdout] 245 | | first, [INFO] [stdout] 246 | | drawable.count, [INFO] [stdout] 247 | | object.primitive_type [INFO] [stdout] 248 | | ) [INFO] [stdout] | |_____________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/simple_graphics.rs:228:21 [INFO] [stdout] | [INFO] [stdout] 228 | / GLCore.drawing.draw_elements_typed::( [INFO] [stdout] 229 | | first, [INFO] [stdout] 230 | | object.count, [INFO] [stdout] 231 | | object.primitive_type [INFO] [stdout] 232 | | ) [INFO] [stdout] | |_____________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/text_graphics.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 101 | unsafe{GLCore.parameters.set_pixel_storage_modei(UNPACK_ALIGNMENT,1)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/texture_graphics.rs:156:21 [INFO] [stdout] | [INFO] [stdout] 156 | GLCore.drawing.multi_draw_arrays(&first,&object.count,object.primitive_type) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/text_graphics.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 103 | unsafe{GLCore.parameters.set_pixel_storage_modei(UNPACK_ALIGNMENT,4)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/texture_graphics.rs:160:20 [INFO] [stdout] | [INFO] [stdout] 160 | / GLCore.drawing.multi_draw_elements_typed::( [INFO] [stdout] 161 | | &indices, [INFO] [stdout] 162 | | &object.count, [INFO] [stdout] 163 | | object.primitive_type [INFO] [stdout] 164 | | ) [INFO] [stdout] | |_____________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/text_graphics.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | GLCore.drawing.draw_arrays(0,4,PrimitiveType::TriangleStrip) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/texture_graphics.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 240 | GLCore.drawing.draw_arrays(first,drawable.count,object.primitive_type) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/text_graphics.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | GLCore.drawing.draw_arrays(0,4,PrimitiveType::TriangleStrip) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/texture_graphics.rs:244:21 [INFO] [stdout] | [INFO] [stdout] 244 | / GLCore.drawing.draw_elements_typed::( [INFO] [stdout] 245 | | first, [INFO] [stdout] 246 | | drawable.count, [INFO] [stdout] 247 | | object.primitive_type [INFO] [stdout] 248 | | ) [INFO] [stdout] | |_____________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/text_graphics.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 101 | unsafe{GLCore.parameters.set_pixel_storage_modei(UNPACK_ALIGNMENT,1)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/text_graphics.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 103 | unsafe{GLCore.parameters.set_pixel_storage_modei(UNPACK_ALIGNMENT,4)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/text_graphics.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | GLCore.drawing.draw_arrays(0,4,PrimitiveType::TriangleStrip) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/graphics/text_graphics.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | GLCore.drawing.draw_arrays(0,4,PrimitiveType::TriangleStrip) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/text/glyph_cache.rs:153:16 [INFO] [stdout] | [INFO] [stdout] 153 | unsafe{GLCore.parameters.set_pixel_storage_modei(UNPACK_ALIGNMENT,1)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/text/glyph_cache.rs:164:16 [INFO] [stdout] | [INFO] [stdout] 164 | unsafe{GLCore.parameters.set_pixel_storage_modei(UNPACK_ALIGNMENT,4)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/text/glyph_cache.rs:153:16 [INFO] [stdout] | [INFO] [stdout] 153 | unsafe{GLCore.parameters.set_pixel_storage_modei(UNPACK_ALIGNMENT,1)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/text/glyph_cache.rs:164:16 [INFO] [stdout] | [INFO] [stdout] 164 | unsafe{GLCore.parameters.set_pixel_storage_modei(UNPACK_ALIGNMENT,4)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.82s [INFO] running `Command { std: "docker" "inspect" "40e6a7165fb3f51968cc260f5a87cf79f54f11af6a90c81d2f225db823dc914d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40e6a7165fb3f51968cc260f5a87cf79f54f11af6a90c81d2f225db823dc914d", kill_on_drop: false }` [INFO] [stdout] 40e6a7165fb3f51968cc260f5a87cf79f54f11af6a90c81d2f225db823dc914d