[INFO] fetching crate cat_engine 1.0.0-alpha7... [INFO] testing cat_engine-1.0.0-alpha7 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate cat_engine 1.0.0-alpha7 into /workspace/builds/worker-0-tc1/source [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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cat_engine 1.0.0-alpha7 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cpal v0.11.0 [INFO] [stderr] Downloaded alsa-sys v0.1.2 [INFO] [stderr] Downloaded pkg-config v0.3.21 [INFO] [stderr] Downloaded libloading v0.7.1 [INFO] [stderr] Downloaded cat_audio v0.0.4 [INFO] [stderr] Downloaded clang-sys v1.2.2 [INFO] [stderr] Downloaded cat_engine_basement v0.0.0-alpha7 [INFO] [stderr] Downloaded ttf-parser v0.12.3 [INFO] [stderr] Downloaded coreaudio-rs v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e7137d236ee2f818f7e94e2989afd872a418381eba2f8f0ccc1c0eeea9f5c2f [INFO] running `Command { std: "docker" "start" "-a" "4e7137d236ee2f818f7e94e2989afd872a418381eba2f8f0ccc1c0eeea9f5c2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e7137d236ee2f818f7e94e2989afd872a418381eba2f8f0ccc1c0eeea9f5c2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e7137d236ee2f818f7e94e2989afd872a418381eba2f8f0ccc1c0eeea9f5c2f", kill_on_drop: false }` [INFO] [stdout] 4e7137d236ee2f818f7e94e2989afd872a418381eba2f8f0ccc1c0eeea9f5c2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9987bdaa28e8ccf8cd557beabdfaf6e36efb57a5ed6d57b8803f96f59ad48798 [INFO] running `Command { std: "docker" "start" "-a" "9987bdaa28e8ccf8cd557beabdfaf6e36efb57a5ed6d57b8803f96f59ad48798", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.105 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling ttf-parser v0.12.3 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling cat_engine_basement v0.0.0-alpha7 [INFO] [stderr] Compiling 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: creating a shared reference to mutable static [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)]` (part of `#[warn(rust_2024_compatibility)]`) 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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/text/font.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn face(&self)->&Face{ [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 105 | pub fn face(&self)->&Face<'_>{ [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.99s [INFO] running `Command { std: "docker" "inspect" "9987bdaa28e8ccf8cd557beabdfaf6e36efb57a5ed6d57b8803f96f59ad48798", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9987bdaa28e8ccf8cd557beabdfaf6e36efb57a5ed6d57b8803f96f59ad48798", kill_on_drop: false }` [INFO] [stdout] 9987bdaa28e8ccf8cd557beabdfaf6e36efb57a5ed6d57b8803f96f59ad48798 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] deb283d3ff77c4ddc932927b729aff1c16c369134d8d7d1baa0f34cf20d516e6 [INFO] running `Command { std: "docker" "start" "-a" "deb283d3ff77c4ddc932927b729aff1c16c369134d8d7d1baa0f34cf20d516e6", kill_on_drop: false }` [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 [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)]` (part of `#[warn(rust_2024_compatibility)]`) 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 [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 [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 [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] [stderr] Compiling cat_engine v1.0.0-alpha7 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/text/font.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn face(&self)->&Face{ [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 105 | pub fn face(&self)->&Face<'_>{ [INFO] [stdout] | ++++ [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 [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)]` (part of `#[warn(rust_2024_compatibility)]`) 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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/text/font.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn face(&self)->&Face{ [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 105 | pub fn face(&self)->&Face<'_>{ [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.83s [INFO] running `Command { std: "docker" "inspect" "deb283d3ff77c4ddc932927b729aff1c16c369134d8d7d1baa0f34cf20d516e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "deb283d3ff77c4ddc932927b729aff1c16c369134d8d7d1baa0f34cf20d516e6", kill_on_drop: false }` [INFO] [stdout] deb283d3ff77c4ddc932927b729aff1c16c369134d8d7d1baa0f34cf20d516e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6984408e759e1356febcc760e692a443bb42f4581234d7fd94a60dc75f5ed6fc [INFO] running `Command { std: "docker" "start" "-a" "6984408e759e1356febcc760e692a443bb42f4581234d7fd94a60dc75f5ed6fc", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `unsafe_release_heap_memmory_system` [INFO] [stderr] --> src/graphics/object_allocation/heap_mem_system.rs:389:11 [INFO] [stderr] | [INFO] [stderr] 389 | #[cfg(not(feature="unsafe_release_heap_memmory_system"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = help: consider adding `unsafe_release_heap_memmory_system` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `unsafe_release_heap_memmory_system` [INFO] [stderr] --> src/graphics/object_allocation/heap_mem_system.rs:430:7 [INFO] [stderr] | [INFO] [stderr] 430 | #[cfg(feature="unsafe_release_heap_memmory_system")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = help: consider adding `unsafe_release_heap_memmory_system` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `unsafe_release_stack_memmory_system` [INFO] [stderr] --> src/graphics/object_allocation/stack_mem_system.rs:199:11 [INFO] [stderr] | [INFO] [stderr] 199 | #[cfg(not(feature="unsafe_release_stack_memmory_system"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = help: consider adding `unsafe_release_stack_memmory_system` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `unsafe_release_stack_memmory_system` [INFO] [stderr] --> src/graphics/object_allocation/stack_mem_system.rs:217:7 [INFO] [stderr] | [INFO] [stderr] 217 | #[cfg(feature="unsafe_release_stack_memmory_system")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = help: consider adding `unsafe_release_stack_memmory_system` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/graphics/mod.rs:99:9 [INFO] [stderr] | [INFO] [stderr] 99 | &GLCore [INFO] [stderr] | ^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 99 | &raw const GLCore [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/graphics/mod.rs:106:13 [INFO] [stderr] | [INFO] [stderr] 106 | GLCore.parameters.set_clear_colour(colour); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/graphics/mod.rs:107:13 [INFO] [stderr] | [INFO] [stderr] 107 | GLCore.clear(ClearMask::Colour) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/graphics/objects.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | / GLCore.vertex_array.attribute_pointer( [INFO] [stderr] 41 | | 0, [INFO] [stderr] 42 | | 0, [INFO] [stderr] 43 | | VertexComponents::Two, [INFO] [stderr] ... | [INFO] [stderr] 46 | | false [INFO] [stderr] 47 | | ); [INFO] [stderr] | |_____________^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/graphics/objects.rs:48:13 [INFO] [stderr] | [INFO] [stderr] 48 | GLCore.vertex_array.enable_attribute(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/graphics/objects.rs:50:13 [INFO] [stderr] | [INFO] [stderr] 50 | / GLCore.vertex_array.attribute_pointer( [INFO] [stderr] 51 | | 1, [INFO] [stderr] 52 | | 8, [INFO] [stderr] 53 | | VertexComponents::Four, [INFO] [stderr] ... | [INFO] [stderr] 56 | | false [INFO] [stderr] 57 | | ); [INFO] [stderr] | |_____________^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/graphics/objects.rs:58:13 [INFO] [stderr] | [INFO] [stderr] 58 | GLCore.vertex_array.enable_attribute(1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/graphics/objects.rs:84:13 [INFO] [stderr] | [INFO] [stderr] 84 | / GLCore.vertex_array.attribute_pointer( [INFO] [stderr] 85 | | 0, [INFO] [stderr] 86 | | 0, [INFO] [stderr] 87 | | VertexComponents::Two, [INFO] [stderr] ... | [INFO] [stderr] 90 | | false [INFO] [stderr] 91 | | ); [INFO] [stderr] | |_____________^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/graphics/objects.rs:92:13 [INFO] [stderr] | [INFO] [stderr] 92 | GLCore.vertex_array.enable_attribute(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/graphics/objects.rs:94:13 [INFO] [stderr] | [INFO] [stderr] 94 | / GLCore.vertex_array.attribute_pointer( [INFO] [stderr] 95 | | 1, [INFO] [stderr] 96 | | 8, [INFO] [stderr] 97 | | VertexComponents::Two, [INFO] [stderr] ... | [INFO] [stderr] 100 | | false [INFO] [stderr] 101 | | ); [INFO] [stderr] | |_____________^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/graphics/objects.rs:102:13 [INFO] [stderr] | [INFO] [stderr] 102 | GLCore.vertex_array.enable_attribute(1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/graphics/objects.rs:104:13 [INFO] [stderr] | [INFO] [stderr] 104 | / GLCore.vertex_array.attribute_pointer( [INFO] [stderr] 105 | | 2, [INFO] [stderr] 106 | | 16, [INFO] [stderr] 107 | | VertexComponents::Four, [INFO] [stderr] ... | [INFO] [stderr] 110 | | false [INFO] [stderr] 111 | | ); [INFO] [stderr] | |_____________^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/graphics/objects.rs:112:13 [INFO] [stderr] | [INFO] [stderr] 112 | GLCore.vertex_array.enable_attribute(2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/graphics/objects.rs:137:13 [INFO] [stderr] | [INFO] [stderr] 137 | / GLCore.vertex_array.attribute_pointer( [INFO] [stderr] 138 | | 0, [INFO] [stderr] 139 | | 0, [INFO] [stderr] 140 | | VertexComponents::Two, [INFO] [stderr] ... | [INFO] [stderr] 143 | | false [INFO] [stderr] 144 | | ); [INFO] [stderr] | |_____________^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/graphics/objects.rs:145:13 [INFO] [stderr] | [INFO] [stderr] 145 | GLCore.vertex_array.enable_attribute(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/graphics/objects.rs:147:13 [INFO] [stderr] | [INFO] [stderr] 147 | / GLCore.vertex_array.attribute_pointer( [INFO] [stderr] 148 | | 1, [INFO] [stderr] 149 | | 8, [INFO] [stderr] 150 | | VertexComponents::Two, [INFO] [stderr] ... | [INFO] [stderr] 153 | | false [INFO] [stderr] 154 | | ); [INFO] [stderr] | |_____________^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/graphics/objects.rs:155:13 [INFO] [stderr] | [INFO] [stderr] 155 | GLCore.vertex_array.enable_attribute(1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/graphics/simple_graphics.rs:147:21 [INFO] [stderr] | [INFO] [stderr] 147 | GLCore.drawing.multi_draw_arrays(&first,&object.count,object.primitive_type) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/graphics/simple_graphics.rs:151:21 [INFO] [stderr] | [INFO] [stderr] 151 | / GLCore.drawing.multi_draw_elements_typed::( [INFO] [stderr] 152 | | &indices, [INFO] [stderr] 153 | | &object.count, [INFO] [stderr] 154 | | object.primitive_type [INFO] [stderr] 155 | | ) [INFO] [stderr] | |_____________________^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/graphics/simple_graphics.rs:224:21 [INFO] [stderr] | [INFO] [stderr] 224 | GLCore.drawing.draw_arrays(first,object.count,object.primitive_type) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/graphics/simple_graphics.rs:228:21 [INFO] [stderr] | [INFO] [stderr] 228 | / GLCore.drawing.draw_elements_typed::( [INFO] [stderr] 229 | | first, [INFO] [stderr] 230 | | object.count, [INFO] [stderr] 231 | | object.primitive_type [INFO] [stderr] 232 | | ) [INFO] [stderr] | |_____________________^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/graphics/texture_graphics.rs:156:21 [INFO] [stderr] | [INFO] [stderr] 156 | GLCore.drawing.multi_draw_arrays(&first,&object.count,object.primitive_type) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/graphics/texture_graphics.rs:160:20 [INFO] [stderr] | [INFO] [stderr] 160 | / GLCore.drawing.multi_draw_elements_typed::( [INFO] [stderr] 161 | | &indices, [INFO] [stderr] 162 | | &object.count, [INFO] [stderr] 163 | | object.primitive_type [INFO] [stderr] 164 | | ) [INFO] [stderr] | |_____________________^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/graphics/texture_graphics.rs:240:21 [INFO] [stderr] | [INFO] [stderr] 240 | GLCore.drawing.draw_arrays(first,drawable.count,object.primitive_type) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/graphics/texture_graphics.rs:244:21 [INFO] [stderr] | [INFO] [stderr] 244 | / GLCore.drawing.draw_elements_typed::( [INFO] [stderr] 245 | | first, [INFO] [stderr] 246 | | drawable.count, [INFO] [stderr] 247 | | object.primitive_type [INFO] [stderr] 248 | | ) [INFO] [stderr] | |_____________________^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/graphics/text_graphics.rs:101:16 [INFO] [stderr] | [INFO] [stderr] 101 | unsafe{GLCore.parameters.set_pixel_storage_modei(UNPACK_ALIGNMENT,1)} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/graphics/text_graphics.rs:103:16 [INFO] [stderr] | [INFO] [stderr] 103 | unsafe{GLCore.parameters.set_pixel_storage_modei(UNPACK_ALIGNMENT,4)} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/graphics/text_graphics.rs:191:13 [INFO] [stderr] | [INFO] [stderr] 191 | GLCore.drawing.draw_arrays(0,4,PrimitiveType::TriangleStrip) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/graphics/text_graphics.rs:239:13 [INFO] [stderr] | [INFO] [stderr] 239 | GLCore.drawing.draw_arrays(0,4,PrimitiveType::TriangleStrip) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/text/glyph_cache.rs:153:16 [INFO] [stderr] | [INFO] [stderr] 153 | unsafe{GLCore.parameters.set_pixel_storage_modei(UNPACK_ALIGNMENT,1)} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/text/glyph_cache.rs:164:16 [INFO] [stderr] | [INFO] [stderr] 164 | unsafe{GLCore.parameters.set_pixel_storage_modei(UNPACK_ALIGNMENT,4)} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/text/font.rs:105:17 [INFO] [stderr] | [INFO] [stderr] 105 | pub fn face(&self)->&Face{ [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] | | || [INFO] [stderr] | | |the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 105 | pub fn face(&self)->&Face<'_>{ [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `cat_engine` (lib) generated 36 warnings (run `cargo fix --lib -p cat_engine` to apply 1 suggestion) [INFO] [stderr] warning: `cat_engine` (lib test) generated 36 warnings (36 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cat_engine-51b5077a26b1018f) [INFO] [stderr] Doc-tests cat_engine [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/text/glyph_cache.rs - text::glyph_cache::GlyphCache::insert_str (line 120) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/text/glyph_cache.rs - text::glyph_cache::GlyphCache::insert_str (line 120) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `alphabet` in this scope [INFO] [stdout] --> src/text/glyph_cache.rs:121:18 [INFO] [stdout] | [INFO] [stdout] 121 | for character in alphabet.chars(){ [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/text/glyph_cache.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 120 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_text_glyph_cache_rs_120_0() { [INFO] [stdout] | ------------------------------------------- this function can't have a `self` parameter [INFO] [stdout] 121 | for character in alphabet.chars(){ [INFO] [stdout] 122 | self.insert_char(character,font,scale); [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `font` in this scope [INFO] [stdout] --> src/text/glyph_cache.rs:122:32 [INFO] [stdout] | [INFO] [stdout] 122 | self.insert_char(character,font,scale); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `scale` in this scope [INFO] [stdout] --> src/text/glyph_cache.rs:122:37 [INFO] [stdout] | [INFO] [stdout] 122 | self.insert_char(character,font,scale); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0424, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0424`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/text/glyph_cache.rs - text::glyph_cache::GlyphCache::insert_str (line 120) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "6984408e759e1356febcc760e692a443bb42f4581234d7fd94a60dc75f5ed6fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6984408e759e1356febcc760e692a443bb42f4581234d7fd94a60dc75f5ed6fc", kill_on_drop: false }` [INFO] [stdout] 6984408e759e1356febcc760e692a443bb42f4581234d7fd94a60dc75f5ed6fc